2 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4 * texrow.[Ch] (increasePos): remove function
5 * exporter.C (export): removed unused var and outdated comment
7 2003-05-23 Angus Leeming <leeming@lyx.org>
9 * latexrunparams.h: rename fragile as moving_arg.
10 * paragraph.C (simpleTeXOnePar): ditto.
11 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
13 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
17 (textUndoOrRedo): comment out a currently unused var.
19 * paragraph.h (NO_NEXT): enable NO_NEXT
21 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
23 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
25 * exporter.C (Export): adjust for removeAutoInsets removal.
27 * buffer.C (runChktex): adjust for removeAutoInsets removal.
29 * LyXAction.C (init): remove LFUN_REMOVEERRORS
31 * BufferView.[Ch] (removeAutoInsets): delete function
33 2003-05-22 Angus Leeming <leeming@lyx.org>
35 * latexrunparams.h: add a free_spacing variable.
37 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
38 to pass moving_arg, as the data is stored in runparams.fragile.
40 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
41 to Inset::latexOptional or to simpleTeXOnePar.
43 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
44 free_spacing arg to Inset::latexOptional.
46 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
49 2003-05-22 Angus Leeming <leeming@lyx.org>
51 * latexrunparams.h: add fragile and use_babel variables.
53 * bufferparams.[Ch] (writeLaTeX): return use_babel.
54 * buffer.C (makeLaTeXFile): store this returned value in
55 runparams.use_babel, thus passing it to the inset::latex methods.
57 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
58 simpleTeXSpecialChars as it is now stored in runparams.fragile.
60 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
61 longer has a fragile arg, as it is stored in runparams.fragile.
63 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
64 moving_arg parameter as the data is stored in runparams.fragile.
66 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
67 a fragile parameter as the data is stored in runparams.fragile.
69 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
71 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
73 2003-05-22 Angus Leeming <leeming@lyx.org>
75 * latexrunparams.h: add a 'bool nice' which defaults to false.
77 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
78 now encapsulated within runparams.
80 * bufferlist.C (updateIncludedTeXfiles):
81 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
83 2003-05-22 Angus Leeming <leeming@lyx.org>
85 * latexrunparams.h: new file containing struct LatexRunParams.
86 * Makefile.am: add new file.
88 * LaTeX.[Ch] (c-tor, run):
89 * buffer.[Ch] (makeLaTeXFile):
90 * bufferlist.[Ch] (updateIncludedTeXfiles):
91 * converter.C (convert, scanLog):
92 * converter.[Ch] (runLaTeX):
93 * exporter.C (Export):
94 * paragraph.[Ch] (simpleTeXOnePar):
95 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
96 * paragraph_funcs.[Ch] (latexParagraphs):
97 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
98 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
99 pass around a LatexRunParams parameter.
101 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
103 * paragraph.[Ch]: remove unused constructor
105 * ParagraphList.C (erase): new function, taking two iterators
107 2003-05-22 André Pönitz <poenitz@gmx.net>
109 * undo_funcs.C: remove duplicated code
111 * iterator.[Ch]: operator=
113 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
115 * tabular.C (SetMultiColumn): ws changes
117 * rowpainter.C (paintFirst): get rid of a ->previous
119 * lyx_cb.C (getPossibleLabel): parlist simplification
121 * BufferView.C (ChangeInsets): simplify slightly.
123 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
125 * LyXAction.C: new lfun space-insert, kill protected-space-insert
126 * lfuns.h: new LFUN_SPACE
127 * lyxfunc.C: protected space has a new lfun
128 * paragraph_funcs.C: read new space insets
130 * factory.C: handle new space insets
132 2003-05-22 André Pönitz <poenitz@gmx.net>
135 * BufferView_pimpl.C:
138 * undo_funcs.C: return a ParIterator from getParFromID.
140 * iterators.[Ch]: add two const's
142 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
144 * toc.C (getTocList): adjust
146 * iterators.[Ch]: rework for parlist
148 * buffer.C (par_iterator_begin): adjust
149 (par_iterator_end): adjust
151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
153 * BufferView.C (removeAutoInsets): adjust
154 (ChangeInsets): adjust
156 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
158 * text.C (top_y): fix bug 1110
160 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
162 * errorlist.[Ch]: added
165 * BufferView_pimpl.C:
166 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
169 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
171 * Makefile.am: ensure that lyx is relinked upon changes to the
172 various "convenience" libs.
174 2003-05-20 Angus Leeming <leeming@lyx.org>
176 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
177 files are compiled in alphabetical order again.
179 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
181 2003-05-19 Angus Leeming <leeming@lyx.org>
183 * gettext.[Ch]: remove "char const * _(char const *)".
185 2003-05-19 André Pönitz <poenitz@gmx.net>
187 * dimension.[Ch]: promote from mathed/dimension.[Ch]
196 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
198 2003-05-19 André Pönitz <poenitz@gmx.net>
204 * paragraph_funcs.[Ch]:
206 * text3.C: more insetenv work
208 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
210 * ParagraphParameters.C (params2string): small bug fixed
212 2003-05-16 André Pönitz <poenitz@gmx.net>
215 * bufferview_funcs.C: patch from Kornel Benko to prevent
216 crash when _(...) is called twice in a statement
218 2003-05-16 André Pönitz <poenitz@gmx.net>
225 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
227 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
229 * lyx_main.C (init): remove spurious static_cast
231 2003-05-14 André Pönitz <poenitz@gmx.net>
233 * BufferView.C: fix format string
235 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
237 * BufferView.[Ch] (insertErrors): removed
238 * BufferView.[Ch] (showErrorList): added
239 * buffer.C (runChkTeX):
240 * converter.C (scanLog): call showErrorList instead of inserterrors
242 2003-05-13 André Pönitz <poenitz@gmx.net>
244 * BufferView_pimpl.C:
253 * tabular_funcs.h: tostr() from its own header
255 * ParagraphParameters.C:
262 2003-05-12 André Pönitz <poenitz@gmx.net>
265 * BufferView_pimpl.C:
269 * ParagraphParameters.C:
273 * bufferview_funcs.C:
290 * text3.C: boost::format -> bformat all over the place
293 2003-05-09 André Pönitz <poenitz@gmx.net>
295 * LColor.[Ch]: Pimpl the #include <map> away
297 2003-05-09 John Levon <levon@movementarian.org>
299 * bufferlist.C: never remove emergency saves
301 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * Makefile.am: better lib building
305 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
307 * texrow.[Ch]: remove dependency on Paragraph and just store a id
309 * paragraph_pimpl.C (simpleTeXBlanks): adjust
310 (simpleTeXSpecialChars): adjust
311 (simpleTeXSpecialChars): adjust
312 * paragraph.C (simpleTeXOnePar): adjust
313 * buffer.C (makeLaTeXFile): adjust
315 * Makefile.am (BOOST_LIBS): allow boost as system lib.
317 * text2.C (changeDepth): parlist cleanup
318 (getColumnNearX): ditto
320 * rowpainter.C (getLabelFont): parlist cleanup
322 * bufferlist.C (newFile): parlist cleanup
324 * CutAndPaste.C (eraseSelection): parlist cleanup
326 * BufferView_pimpl.C (trackChanges): parlist cleanup
329 * BufferView.C (lockInset): parlist cleanup.
330 (ChangeInsets): ditto
332 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * CutAndPaste.h: Update file header.
336 * CutAndPaste.C: Update file header.
337 Store the parts cut out of the Document in a limited_stack.
338 (copySelection): adjust
339 (pasteSelection): new function, takes the index in the limited stack.
340 (nrOfParagraphs): adjust
341 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
342 simplify error inset insertion.
343 (checkPastePossible): adjust
345 2003-05-06 John Levon <levon@movementarian.org>
347 * text2.C: don't cast wrap inset to float
349 2003-05-05 André Pönitz <poenitz@gmx.net>
352 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
354 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
355 few naked Paragraph *.
357 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
359 * bufferparams.C: Output warning if a document with missing
360 TeX document class is loaded
361 * exporter.C: Disable TeX exports if the document class is missing
364 * lyxtextclasslist.C: Handle new textclass.lst format; new method
365 isTeXClassAvailable()
367 2003-05-03 John Levon <levon@movementarian.org>
370 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
371 explicit cursor show/hide
373 * BufferView_pimpl.h:
374 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
375 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
377 * lyxfunc.C: hide cursor before dispatching.
382 * text3.C: remove explicit cursor hides
384 2003-05-02 André Pönitz <poenitz@gmx.net>
386 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
389 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
392 * text2.C: tiny whitespace
394 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
396 * undo_funcs.C: almost only ws changes.
398 * ParagraphList.C (splice): just return if pl is empty.
400 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
402 * ParagraphList.C (splice): new function.
404 * CutAndPaste.C (pasteSelection): use it
406 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
408 * CutAndPaste.C (pasteSelection): remove the last next and
409 previous from this file.
411 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * CutAndPaste.C (pasteSelection): more clean up, user proper
414 ParagraphList functions for pasteing.
416 * ParagraphList.C (insert): new function, three arg insert
418 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
420 * ParagraphList.C (insert): new function, three arg insert
422 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
425 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
427 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
429 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
431 * CutAndPaste.C (pasteSelection): remove some unneeded code.
433 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
435 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
436 (copySelection): clean up a bit.
437 (pasteSelection): use make_pair
439 * ParagraphList.C (ParagraphList): implement copy constructor
440 (operator=): implement, base on copy constructor.
443 * paragraph.C (erase): return a bool
445 * paragraph_pimpl.C (erasePos): remove function, move contents...
446 (erase): ... here. Return a bool.
447 (erase): call erase instead of erasePos.
449 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
451 * ParagraphList.h: define PitPosPair
452 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
453 ParagraphList, fix a bug on pasting multiple pars
454 * text2.C: change interface to C&P
456 2003-04-30 André Pönitz <poenitz@gmx.net>
458 * undo_func.C: revert part of yesterday's patch 2
460 2003-04-30 John Levon <levon@movementarian.org>
462 * LColor.C: s/tabular/table/
464 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
466 * text3.C (dispatch): do not convert iterator -> pointer
467 * undo_funcs.C (setCursorParUndo): ditto
468 * text_funcs.C (transposeChars): ditto
470 * text2.C (setLayout): ws changes only
472 * text.C (breakParagraph): do not convert iterator -> pointer
474 (acceptChange): ditto
475 (rejectChange): ditto
480 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
483 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
485 * text3.C (gotoInset): YABG (yet another bad getChar)
487 2003-04-29 André Pönitz <poenitz@gmx.net>
489 * paragraph.h: make operator= private unimplemented as long as
492 * ParagraphList.C: whitespace
495 * paragraph_pimpl.[Ch]:
498 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
501 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
503 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
505 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
506 * paragraph.[Ch] (erase):
507 * paragraph_pimpl.[Ch] (erase): change return type and value
508 * text2.C (cutSelection): some rework
510 2003-04-28 John Levon <levon@movementarian.org>
512 * bufferlist.C: changes for unsaved changes dialog
514 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * bufferlist.C (newFile): set language (messages_) for new
519 * buffer.C (readFile): ws changes only.
521 2003-04-28 André Pönitz <poenitz@gmx.net>
526 * BufferView_pimpl.C:
527 * BufferView.C: getParFromID related ParagraphList::iterator changes
529 2003-04-28 André Pönitz <poenitz@gmx.net>
531 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
534 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
536 * messages.C: remove one more localedir class variable.
538 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
540 * messages.C (getLocaleDir): singleton generation function
542 (Messages): add a default constructor.
544 * main.C (main): do not setup localedir here, do not call
547 * gettext.C (_): use it.
548 (gettext_init): delete funciton
550 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * gettext.C (getLyXMessages): new singleton generating function.
554 * buffer.C (updateDocLang): adjust
556 * Makefile.am (messages.o): add target
557 (main.o): remove target
559 2003-04-27 John Levon <levon@movementarian.org>
564 * lyxvc.C: specify cancel button in Alert::prompt
566 2003-04-26 John Levon <levon@movementarian.org>
571 * LyXAction.C: add LFUN_INSET_SETTINGS
573 * lyxfunc.C: don't enable tabular-feature when there's
574 just any locking inset
576 2003-04-26 John Levon <levon@movementarian.org>
578 * bufferlist.C: re-add Cancel to buffer close question
580 * lyxfunc.C: fix import UI a bit
582 2003-04-25 John Levon <levon@movementarian.org>
584 * gettext.C: remove the broken asserts for now
586 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
588 * messages.C: make case where setlocale cannot comply work better.
590 * buffer.C (updateDocLang): new function
591 (changeLanguage): use it
594 * text2.C (setCounter): use B_ a bit.
596 * lyxlayout.C (Read): be sure to trim the label strings.
598 * messages.C (Messages): fix typo in comment
600 * buffer.C (readFile): set message_ after file is loaded.
601 (makeDocBookFile): remove double return
602 (changeLanguage): reset message_ upon language change.
603 (B_): new func, use this to get translated buffer strings.
605 * main.C: add myself and Jean Marc as authors.
607 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * messages.[hC]: pimplify Messages, and three different pimpls to be
610 used in different circumstances.
612 * gettext.[Ch]: change for use with new message code.
614 2003-04-24 André Pönitz <poenitz@gmx.net>
616 * factory.C: support for eqref
618 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
620 * messages.[Ch]: add missing char
622 * Makefile.am (lyx_SOURCES): add messages.[Ch]
624 * messages.[Ch]: New files
626 2003-04-18 John Levon <levon@movementarian.org>
630 * BufferView_pimpl.C:
634 * text2.C: remove layout-copy/paste (bug 778)
636 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
638 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
640 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
642 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
643 if they succeed. Act accordingly.
645 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * text2.C (setCharFont): adjust
649 (insertStringAsLines): adjust
651 * text.C (leftMargin): adjust
652 (setHeightOfRow): adjust
654 * rowpainter.C (paintFirst): adjust
657 * paragraph_funcs.C (depthHook): ParagraphList::iterators
659 (isFirstInSequence): ditto
663 * paragraph.C (getParLanguage): comment out some hard stuff.
665 * buffer.C (insertStringAsLines): take a ParagraphList as arg
667 (simpleDocBookOnePar): ditto
668 (makeDocBookFile): use ParagraphList::iterator
670 * CutAndPaste.C (pasteSelection): adjust
672 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
674 * text2.C (getFont): adjust
675 (getLayoutFont): adjust
676 (getLabelFont): adjust
678 * paragraph_funcs.C (TeXOnePar): adjust
680 * buffer.C (simpleLinuxDocOnePar): adjust
681 (simpleDocBookOnePar): adjust
683 * CutAndPaste.C (pasteSelection): adjust
685 * BufferView.C (getEncoding): adjust
687 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
689 2003-04-16 John Levon <levon@movementarian.org>
691 * lyxfind.C: use parlist stuff for search/changes
693 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
695 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
697 * text2.C (deleteEmptyParagraphMechanism): adjust
699 * text2.[Ch] (ownerParagraph): delete func (both of them
701 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
705 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
707 * ParagraphList.C: prepare for NO_NEXT
709 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
711 * text2.C (getFont): adjust
712 (getLayoutFont): adjust
713 (getLabelFont): adjust
715 * paragraph.C (getFont): adjust
716 (getLabelFont): adjust
717 (getLayoutFont): adjust
719 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
721 2003-04-15 John Levon <levon@movementarian.org>
725 * lyx_main.C: handle Include in .ui files
727 2003-04-15 John Levon <levon@movementarian.org>
729 * MenuBackend.C: make the doc files length shorter
732 * ToolbarBackend.C: handle toolbar placement flags,
735 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
737 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
740 * paragraph_funcs.C (TeXOnePar): adjust
742 * paragraph.C (getLabelFont): add outerfont arg, adjust
743 (getLayoutFont): ditto
744 (simpleTeXOnePar): adjust
746 * paragraph_pimpl.C (realizeFont): delete func
748 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
750 * text2.C (beforeFullRowInset): added a bad getchar check, removed
751 row argument, constify cur argument.
753 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
755 * text2.C (getFont): adjust
756 (getLayoutFont): adjust
757 (getLabelFont): adjust
759 * paragraph_funcs.C (TeXOnePar): adjust
760 (outerFont): new func...
761 (realizeFont): ...moved out from here, changed this to facilitate
764 * paragraph.C (getFont): take outerfont as arg, adjust
765 (simpleTeXOnePar): add outerfont arg, adjust
767 * buffer.C (simpleLinuxDocOnePar): adjust
768 (simpleDocBookOnePar): adjust
770 * CutAndPaste.C (pasteSelection): adjust
772 * BufferView.C (getEncoding): adjust
774 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * text2.C (setCharFont): adjust
779 * text.C (leftMargin): adjust
780 (setHeightOfRow): adjust
782 * rowpainter.C (paintFirst): adjust
785 * paragraph_pimpl.C (realizeFont): adjust
787 * paragraph.C (isFirstInSequence): move from here...
788 * paragraph_funcs.C (isFirstInSequence): ...to here
790 * paragraph.C (outerHook): move from here...
791 * paragraph_funcs.C (outerHook): ...to here
793 * paragraph.C (depthHook): move from here...
794 * paragraph_funcs.C (depthHook): ...to here
796 * paragraph.C (getEndLabel): move from here...
797 * paragraph_funcs.C (getEndLabel): ...to here
799 * text2.C (realizeFont): move from here...
800 * paragraph_funcs.C (realizeFont): ...to here
802 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
806 2003-04-14 Angus Leeming <leeming@lyx.org>
808 * LColor.[Ch]: scrap LColor mathcursor.
810 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
812 * lyxlex.[Ch] (text): delete function
813 * trans.C (Load): adjust
814 * paragraph_funcs.C (readParToken): adjust
816 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
818 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
819 vector<char> instead of a char[].
821 * lyxlex_pimpl.C (getString): adjust
827 * lyxlex.C (text): use pimpl_->getString()
831 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
833 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
834 (makeFontEntriesLayoutSpecific): temp var for par.size()
835 (setLayout): temp var for ownerParagraphs().end()
836 (fullRebreak): temp var for rows().end()
837 (selectionAsString): temp var for boost::next(startpit), realize
838 that the while really is a regular for loop.
839 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
840 setCursor in one place.
841 (setParagraph): temp vr for ownerParagraphs().end()
842 (updateCounters): make the while loop a for loop
843 (cutSelection): temp var for ownerParagraphs().end()
844 (updateInset): make the do {} while() a regular for loop
845 (getCursorX): use temp vars
846 (setCurrentFont): use temp vars
847 (getColumnNearX): use temp vars
849 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
851 * text.C (transformChar): use temp var for getChar
852 (computeBidiTables): use temp var for row->par()
853 (fill): move temp vars for row->par() and pit->layout() earlier in
855 (labelFill): use temp var for row->par()
856 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
857 asc and desc, realize that pit never changes and that firstpit is
858 just a duplicate and not needed. Exchange rit->par() with pit in a
860 (breakAgain): use a temp var for boost::next(rit)
861 (breakAgainOneRow): ditto
862 (breakParagraph): use a temp var for rows().begin()
863 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
864 (cursorRightOneWord): use temp var for cursor.par() and
865 cursor.pos(), remove usage of tmpcursor.
866 (cursorLeftOneWord): use temp var for cursor.par() and
867 cursor.pos() only set cur at end of function.
869 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * text.C, text2.C: exchange all usage of Paragraph::next with
872 boost::next(ParagraphList::iterator)
874 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
876 * text2.C (cursorTop): simplify implementation
877 (cursorBottom): ditto
878 (setParagraph): use ParagraphList::iterator
879 (setCurrentFont): adjust
880 (getColumnNearX): adjust
881 (cursorRight): adjust
882 (cursorLeft): remove usage of Paragraph::previous
883 (cursorUpParagraph): ditto
884 (deleteEmptyParagraphMechanism): slight cleanup
886 * text.C (isBoundary): take a Paragraph const & instead of a
888 (addressBreakPoint): ditto
889 (leftMargin): remove usage of Paragraph::previous.
890 (setHeightOfRow): ditto
891 (cursorLeftOneWord): ditto
892 (selectNextWordToSpellcheck): ditto
895 (breakParagraph): remove one usage of Paragraph::next
896 (redoParagraph): ditto
897 (acceptChange): ditto
899 (rowBreakPoint): adjust
901 * bufferview_funcs.C (toggleAndShow): adjust
903 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
905 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
906 methods to access it.
908 * text.C: Added updateRowPositions to compute all row positions.
909 Make top_y and getRowNearY() to use the cached y position
911 2003-04-11 John Levon <levon@movementarian.org>
913 * text.C (rowBreakPoint): reintroduce the labelEnd
914 checks, code copied from the row fill stuff. Deep voodoo.
916 * text.C (fill): add a comment and debugging for the
919 2003-04-11 John Levon <levon@movementarian.org>
921 * text.C: make sure fullrow insets get wrapped to the next line,
922 even when they're in a manual label
924 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * text2.C (insertParagraph): make it take ParagraphList::iterator
928 (setLayout): make it return ParagraphList::iterator
929 (redoParagraphs): ditto
931 (checkParagraph): ditto
933 * text.C (getRow): make getrow take ParagraphList::iterator as arg
935 * text2.C: adjust several funcs.
936 (realizeFont): take a ParagraphList::iterator as arg.
937 (getLayoutFont): ditto
938 (getLabelFont): ditto
941 * text.C: adjust several funcs.
943 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
945 * text.C (selectNextWordToSpellcheck): don't accidentally
948 2003-04-10 John Levon <levon@movementarian.org>
950 * ToolbarBackend.C (getIcon): special handling for
953 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
955 * text2.C (cursorRight): a getChar assert fixed
957 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * text2.C (getFont): change to take a ParagraphList::iterator
960 instead of Paragraph*
961 Adjust several functions.
963 * text.C (transformChar): change to take a ParagraphList::iterator
964 instead of Paragraph*
966 Adjust several functions.
968 * rowpainter.C: adjust several functions
969 * rowpainter.h:store a ParagraphList::iterator and not a
973 2003-04-09 John Levon <levon@movementarian.org>
978 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
979 and the "help" bits as well
981 2003-04-09 John Levon <levon@movementarian.org>
984 * ToolbarBackend.C: allow multiple toolbars
986 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * undo_funcs.C (setCursorParUndo): adjust
990 * text_funcs.C (transposeChars): adjust
992 * text3.C (gotoNextInset): adjust
995 * text2.C (setLayout): adjust
996 (changeDepth): adjust
998 (redoParagraphs): adjust
999 (selectionAsString): adjust
1000 (setParagraph): adjust
1001 (insertInset): adjust
1002 (cutSelection): adjust
1003 (copySelection): adjust
1004 (pasteSelection): adjust
1005 (insertStringAsLines): adjust
1006 (updateInset): adjust
1007 (setCursor): change to take a ParagraphList::iterator parameter
1008 (setCursorIntern): change to take a ParagraphList::iterator parameter
1009 (setCurrentFont): adjust
1010 (cursorLeft): adjust
1011 (cursorRight): adjust
1012 (deleteEmptyParagraphMechanism): adjust
1014 * text.C (breakParagraph): adjust
1015 (insertChar): adjust
1016 (acceptChange): adjust
1017 (rejectChange): adjust
1018 (selectNextWordToSpellcheck): adjust
1019 (changeCase): adjust
1023 * lyxfind.C (SearchForward): adjust
1024 (SearchBackward): adjust
1025 (nextChange): adjust
1027 * lyxcursor.C (par): adjust
1029 * lyxcursor.h: store a ParagraphList::iterator instead of a
1032 * lyx_cb.C (getPossibleLabel): adjust
1034 * bufferview_funcs.C (toggleAndShow): adjust
1036 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1039 * BufferView.C (removeAutoInsets): adjust
1040 (lockedInsetStoreUndo): adjust
1042 2003-04-09 John Levon <levon@movementarian.org>
1044 * ToolbarBackend.C: try icon without argument
1045 if with argument fails
1047 2003-04-08 John Levon <levon@movementarian.org>
1050 * ToolbarBackend.C: add getIcon(), handle tooltip,
1051 and change from "Icon" to "Item".
1053 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1055 * BufferView.C (lockInset): another bad getchar crunched
1057 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1059 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1062 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1064 * lyxfind.C (searchForward, searchBackwards): bug 782
1066 2003-04-07 John Levon <levon@movementarian.org>
1068 * paragraph.C: remove dead comment
1070 * text.C: remove troublesome depth-fiddling code
1071 in leftMargin() and rightMargin() (bug 1017)
1073 * text.C: fix breaking of rows in nested lists
1076 * text2.C (updateCounters): fix up depth values
1079 2003-04-07 John Levon <levon@movementarian.org>
1081 * BufferView_pimpl.C: clear message when doc finishes resizing,
1082 and after a mouse event
1084 * lyxfunc.C: clear message after exiting inset
1086 2003-04-07 John Levon <levon@movementarian.org>
1088 * bufferview_funcs.C: show math status not outside
1089 status in the statusbar
1091 2003-04-07 John Levon <levon@movementarian.org>
1093 * lyxfunc.C: note status changed after a depth change
1095 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1097 * LaTeX.h: move AuxInfo operator==, != out of line.
1098 Remove LaTeX virtual destructor; nothing derives from it.
1099 Move operator()() out of public area and rename it startscript().
1100 Change protected for private.
1102 2003-04-04 Angus Leeming <leeming@lyx.org>
1105 * text2.C: remove unneeded #includes.
1107 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1109 * text2.C (dEPM): fix the heigth of the next row
1111 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1113 * text.C: squashed an invalid getChar requester + some ws changes
1115 2003-04-03 John Levon <levon@movementarian.org>
1117 * bufferview_funcs.h:
1118 * bufferview_funcs.C:
1121 * text2.C: make getStatus work for the env depth lfuns
1123 2003-04-03 John Levon <levon@movementarian.org>
1125 * bufferview_funcs.h:
1126 * bufferview_funcs.C:
1129 * text2.C: parlistize decDepth(), by merging it with incDepth()
1131 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1133 * lyxrow.h: store a ParagraphList::iterator instead of a
1134 Paragraph* and adjust other class functions to suit.
1136 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1139 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1141 * text2.C (setCursor): do not anchor to cursor row for the time being
1143 2003-04-02 John Levon <levon@movementarian.org>
1150 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1152 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * paragraph.h: make ParagraphList and ParagraphList::iterator
1155 friends of Paragraph.
1157 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1159 * ParagraphList.C: Use the private next_ and previous_ from
1162 2003-04-01 John Levon <levon@movementarian.org>
1166 * Makefile.am: rename, remove defaults gunk
1169 * MenuBackend.C: remove defaults gunk
1172 * Languages.C: remove defaults gunk
1175 * lyx_main.C: error out if files couldn't be found.
1177 2003-04-02 John Levon <levon@movementarian.org>
1179 * text2.C: make incDepth() use parlist
1181 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * undo_funcs.C (firstUndoParagraph): adjust
1185 * text3.C (gotoInset): adjust
1186 (dispatch): adjust, and rewrite loop.
1188 * text2.C (init): adjust, and rewrite loop.
1189 (redoParagraphs): adjust
1190 (updateInset): adjust, and rewrite loop.
1191 (deleteEmptyParagraphMechanism): adjust
1193 * tabular.C (LyXTabular): adjust
1194 (SetMultiColumn): adjust
1197 * lyxtext.[Ch] (ownerParagraph): delete function
1198 (ownerParagraphs): new function returns a ParagraphList.
1200 * BufferView.C (removeAutoInsets): adjust
1201 (insertErrors): adjust
1202 (setCursorFromRow): adjust
1204 2003-04-01 Angus Leeming <leeming@lyx.org>
1206 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1209 2003-04-02 John Levon <levon@movementarian.org>
1215 * text_funcs.C: make transposeChars a free function
1217 * lyxrow_funcs.C: remove wrong comment
1219 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * rowpainter.C: adjust
1227 * lyxrow_funcs. [Ch]: new files
1229 * lyxrow.[Ch]: remove next and previous pointers
1230 (next,previous): remove accessor functions
1231 (isParEnd): move to lyxrow_funcs
1232 (lastPos): move to lyxrow_funcs
1233 (nextRowIsAllInset): move to lyxrow_funcs
1234 (lastPrintablePos): move to lyxrow_funcs
1235 (numberOfSeparators): move to lyxrow_funcs
1236 (numberOfHfills): move to lyxrow_funcs
1237 (numberOfLabelHfills): move to lyxrow_funcs
1238 (hfillExpansion): move to lyxrow_funcs
1242 * bufferview_funcs.C (toggleAndShow): adjust
1244 * RowList.h: Remove class RowList from file leave just a
1247 * RowList.C: delete file
1249 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1252 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1254 * text3.C (cursorPrevious): adjust
1255 (cursorNext): adjust
1258 * text2.C (redoHeightOfParagraph): adjust
1259 (redoDrawingOfParagraph): adjust
1262 * text.C (breakParagraph): adjust
1263 (insertChar): adjust
1266 * rowpainter.C (RowPainter): adjust
1267 (leftMargin): simplify and adjust
1268 (most rowpainter functions): adjust.
1270 * rowpainter.h: store the row as RowList::iterator not as Row*
1272 * lyxcursor.C (row): taka RowList::iterator as arg
1275 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1278 2003-04-01 Angus Leeming <leeming@lyx.org>
1280 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1281 stuff like bool Bool.
1283 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1285 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1288 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1290 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1293 * lyxtext.h (rows): drop one version and leve a const variant that
1294 returns a RowList::iterator.
1296 2003-03-31 Angus Leeming <leeming@lyx.org>
1298 * text.C (fill): ensure that the signature is the same as that in the
1301 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * text2.C (redoParagraphs): adjust
1304 (updateCounters): adjust
1305 (checkParagraph): adjust
1306 (getColumnNearX): adjust and reformat a bit.
1308 * text.C (top_y): adjust
1310 (leftMargin): adjust
1311 (prepareToPrint): adjust
1313 (getRowNearY): adjust
1315 * lyxtext.h: make rowlist_ mutable.
1317 * RowList.h: add const_iterator
1318 * RowList.C: adjust for RowList::const_iterator.
1320 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1323 2003-03-31 John Levon <levon@movementarian.org>
1326 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1328 * lyx_main.C: set default fonts from using lyx_gui funcs
1330 * exporter.C: pdf_mode moved from lyxrc
1333 * lyxfunc.C: changes from above
1335 2003-03-31 John Levon <levon@movementarian.org>
1337 * lyx_main.C: fix to the last fix
1339 2003-03-31 John Levon <levon@movementarian.org>
1341 * bufferlist.C: "Load original" -> "Load Original"
1347 * format.C: more Alert cleanups
1349 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * text2.C (removeParagraph): make it take a RowList::iterator as
1353 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1354 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1356 * text.C (anchor_row): make it take a RowList::iterator as arg,
1358 (computeBidiTables): make it take a const reference to Row instead
1359 of Row pointer, adjust.
1360 (leftMargin): make it take a RowList::iterator as arg, adjust.
1361 (rowBreakPoint): adjust
1362 (breakAgainOneRow): make it take a RowList::iterator as arg,
1364 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1366 * bufferview_funcs.C (toggleAndShow): adjust
1368 2003-03-30 John Levon <levon@movementarian.org>
1372 * boost-inst.C: moved to support
1374 * several files: changes as a result
1376 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1378 * text2.C (LyXText): adjust.
1380 (removeRow): make it take a RowList::iterator as arg, adjust.
1381 (fullRebreak): adjust
1382 (deleteEmptyParagraphMechanism): adjust
1383 (clearPaint): adjust
1386 * text.C (top_y): adjust
1387 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1388 (breakAgain): make it take a RowList::iterator as arg, adjust.
1389 (breakParagraph): adjust
1390 (insertChar): adjust
1393 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1394 need_break_row, and refresh_row.
1396 * text3.C (dispatch): adjust
1398 * text2.C (checkParagraph): adjust
1400 (setCursorFromCoordinates): adjust
1402 * text.C (top_y): adjust
1404 (getRow): make it return a RowList::iterator, adjust
1405 (getRowNearY): make it return a RowList::iterator, adjust
1407 * text2.C (init): adjust
1408 (insertRow): remove function
1409 (insertParagraph): adjust
1410 (redoParagraphs): adjust
1411 (fullRebreak): adjust
1412 (updateCounters): adjust
1414 * text.C (top_y): rewrite to use RowList iterators.
1416 (setHeightOfRow): rewrite to sue RowList iterators.
1417 (appendParagraph): adjust
1418 (breakAgain): adjust
1419 (breakAgainOneRow): adjust
1420 (breakParagraph): adjust
1422 (getRowNearY): adjust, and remove commented code.
1424 * lyxtext.h (firstRow): delete function
1425 (lastRow): delete function
1426 (rows): new function (const and non-const versions.)
1427 (insertRow): delete function
1429 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1431 2003-03-29 John Levon <levon@movementarian.org>
1433 * BufferView_pimpl.C: always update scrollbar top
1434 because pasting text when we're anchored could mean we
1435 miss an update altogether
1437 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1439 * text2.C (init): use rowlist_.end() and not 0.
1440 (insertRow): change to take a RowList::iterator as arg, adjust
1442 (insertParagraph): change to take a RowList::iterator as arg,
1444 (redoParagraphs): remove some debug msgs.
1446 * text.C (appendParagraph): change to take a RowList::iterator
1447 arg, adjust for this.
1448 (breakAgain): add an assert
1449 (breakAgainOneRow): ditto
1451 2003-03-29 John Levon <levon@movementarian.org>
1453 * text2.C: do not clear selection after inc/decDepth
1456 2003-03-29 John Levon <levon@movementarian.org>
1459 * buffer.C: fix broken strerrors according to Lars
1461 2003-03-29 John Levon <levon@movementarian.org>
1463 * converters.C: more Alert cleanups
1465 2003-03-29 John Levon <levon@movementarian.org>
1467 * bufferview_funcs.C: remove pointless Alert
1469 * buffer.C: fix confusing error message when
1470 a template is chmoded 000
1472 2003-03-29 John Levon <levon@movementarian.org>
1476 * BufferView_pimpl.C: Alert fixes
1480 * tabular-old.C: remove unused table compat reading
1482 2003-03-29 John Levon <levon@movementarian.org>
1487 * lyx_cb.C: more Alert cleanups
1489 * lyxfunc.C: don't allow chktex if not latex document
1491 2003-03-29 John Levon <levon@movementarian.org>
1495 * buffer.C: warnings pushed down from support/,
1498 2003-03-29 John Levon <levon@movementarian.org>
1500 * lyxfunc.C: safety check for C-r (revert)
1502 2003-03-29 John Levon <levon@movementarian.org>
1505 * bufferlist.C: several UI fixes using Alert::prompt.
1506 Fix the pointless looping quit code. Fix stupid revert
1511 * lyx_cb.C: use Alert::prompt
1513 * lyx_main.C: remove a silly question
1515 * lyxfunc.C: remove a couple of silly questions,
1518 2003-03-28 John Levon <levon@movementarian.org>
1520 * text2.C: fix bug 974 (End on empty par)
1522 2003-03-28 John Levon <levon@movementarian.org>
1524 * BufferView_pimpl.C:
1526 * lfuns.h: remove do-nothing math greek lfuns
1528 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1530 * lyxgluelength.h (isValidGlueLength): add default arg on
1531 parameter 2. Remove default arg from friend in class.
1533 * lyxlength.h (isValidLength): add default arg on parameter 2.
1534 Remove default arg from friend in class.
1536 * text2.C (LyXText): adjust, initialize refresh_row.
1540 (insertParagraph): adjst
1541 (redoParagraphs): adjust
1542 (fullRebreak): adjust
1543 (updateCounters): adjust
1544 (deleteEmptyParagraphMechanism): first attempt at fixing a
1547 * text.C (top_y): adjust
1548 (setHeightOfRow): adjust
1550 (getRowNearY): adjust
1552 * lyxtext.h: include RowList.h
1553 (~LyXText): not needed anymore, deleted.
1554 (firstRow): modify for RowList
1555 (lastRow): new function
1556 Delete firstrow and lastrow class variables, add a Rowlist
1557 rowlist_ class variable.
1559 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1562 * RowList.C (insert): fix case where it == begin().
1564 2003-03-26 Angus Leeming <leeming@lyx.org>
1566 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1567 the thesaurus dialog.
1569 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1573 * RowList.[Ch]: new files
1575 * ParagraphList.C (erase): handle the case where it == begin
1578 2003-03-25 John Levon <levon@movementarian.org>
1582 * aspell.C: add new aspell support
1585 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1588 2003-03-25 Angus Leeming <leeming@lyx.org>
1591 * LyXAction.C (init): new LFUN_INSET_INSERT.
1593 * BufferView_pimpl.C (dispatch): split out part of the
1594 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1596 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1599 2003-03-25 Angus Leeming <leeming@lyx.org>
1601 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1603 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1606 * text3.C: remove useless row->height(0)
1608 2003-03-25 John Levon <levon@movementarian.org>
1612 * text3.C: rename the refreshing stuff to better names
1614 2003-03-24 John Levon <levon@movementarian.org>
1616 * BufferView_pimpl.h:
1617 * BufferView_pimpl.C: update layout choice on a mouse
1620 2003-03-23 John Levon <levon@movementarian.org>
1622 * Makefile.am: fix commandtags.h reference
1624 2003-03-22 John Levon <levon@movementarian.org>
1626 * BufferView_pimpl.C:
1631 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1633 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1636 * text.C: take the rtl methods out of line
1638 2003-03-21 André Pönitz <poenitz@gmx.net>
1640 * metricsinfo.[Ch]: new files containing structures to be passed around
1641 during the two-phase-drawing...
1643 2003-03-21 André Pönitz <poenitz@gmx.net>
1645 * lyxtextclass.C: read 'environment' tag.
1647 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1649 * text2.C (removeRow): fix bug 964
1651 2003-03-20 John Levon <levon@movementarian.org>
1655 * text2.C: paint cleanups. Inset::update() dropped font
1658 2003-03-19 John Levon <levon@movementarian.org>
1660 * lyxfunc.C: only fitcursor/markDirty if available()
1662 2003-03-19 John Levon <levon@movementarian.org>
1664 * commandtags.h: rename to ...
1666 * lfuns.h: ... this, and renumber / cleanup
1668 2003-03-19 John Levon <levon@movementarian.org>
1670 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1671 fit the cursor after an lfun
1675 * BufferView_pimpl.h:
1676 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1678 * LyXAction.C: layout-character should have ReadOnly
1680 * ParagraphParameters.C:
1682 * bufferview_funcs.C:
1689 * undo_funcs.C: changes from above
1691 2003-03-18 John Levon <levon@movementarian.org>
1693 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1694 remove it from update()
1696 * lyxfunc.C: update layout choice after an lfun
1698 * text3.C: remove extra updateLayoutChoice()s
1700 2003-03-18 John Levon <levon@movementarian.org>
1702 * text.C: top_y change means full repaint, fix
1703 a drawing bug with cursor movement
1705 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1709 * text2.C: anchor row on setCursor
1711 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1713 * lyxtext.h: remove almost all mutable keywords
1716 * text3.C: remove const keywords accordingly
1718 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1720 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1722 (TeXEnvironment): ditto
1725 2003-03-17 John Levon <levon@movementarian.org>
1727 * text.C (rowBreakPoint): remove attempt to fix displayed
1728 math insets inside a manual label
1730 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * lyxtext.h: remove BufferView* as first arg from almost all class
1734 * other files: adjust.
1736 2003-03-17 John Levon <levon@movementarian.org>
1740 * text2.C: more paint cleanups
1742 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1745 * rowpainter.C: remove "smart" background painting code
1747 2003-03-16 John Levon <levon@movementarian.org>
1752 * text3.C: add helper functions for setting refresh_row/y
1754 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1756 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1757 newline inset which *can* get inserted in the pass_thru layouts.
1758 This is primarily for literate documents.
1760 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1762 * buffer.C: increment LYX_FORMAT to 223
1764 2003-03-14 André Pönitz <poenitz@gmx.net>
1766 * textclass.h: prepare for environment handling, ws changes
1767 * lyxlayout.C: read latexheader and latexfooter tags
1769 2003-03-14 John Levon <levon@movementarian.org>
1771 * text2.C: rewrite ::status() a bit
1773 2003-03-13 John Levon <levon@movementarian.org>
1775 * lyxtext.h: add some docs
1777 2003-03-13 John Levon <levon@movementarian.org>
1782 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1784 2003-03-13 John Levon <levon@movementarian.org>
1786 * text3.C: fix appendix redrawing
1788 2003-03-13 John Levon <levon@movementarian.org>
1790 * text.C (setHeightOfRow):
1792 * rowpainter.C: make appendix mark have the text
1793 "Appendix" so the user knows what it is
1796 * LColor.C: s/appendixline/appendix/ from above
1798 2003-03-13 John Levon <levon@movementarian.org>
1800 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1802 * text.C: fix a getChar(pos) bug properly
1804 2003-03-13 Angus Leeming <leeming@lyx.org>
1807 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1808 Probably only temporary. Let's see how things pan out.
1810 * BufferView.C (unlockInset):
1811 * BufferView_pimpl.C (fitCursor):
1812 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1814 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1815 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1817 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1818 new functions that convert ParagraphParameters to and from a string.
1820 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1821 BufferView::Pimpl's dispatch.
1822 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1824 2003-03-13 André Pönitz <poenitz@gmx.net>
1828 * factory.C: make it aware of InsetEnv
1830 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1832 * text2.C (setCursor): never ask for one past last
1833 (setCursor): add some debugging messages.
1835 * text.C (singleWidth): never ask for one past last
1836 (singleWidth): ditto
1838 (rightMargin): ditto
1839 (rowBreakPoint): ditto
1840 (setHeightOfRow): ditto
1841 (prepareToPrint): ditto
1843 * rowpainter.C (paintBackground): never ask for one past last
1844 (paintText): never ask for one past last
1846 * paragraph_pimpl.C (getChar): make the assert stricter, never
1847 allow the one past last pos to be taken
1849 * paragraph.C (getChar): ws changes only
1851 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1852 (numberOfSeparators): ditto
1853 (numberOfHfills): ditto
1855 2003-03-12 John Levon <levon@movementarian.org>
1861 * paragraph_funcs.C: fix per-buffer authorlists
1863 2003-03-12 John Levon <levon@movementarian.org>
1865 * text.C: fix newline in right address
1867 2003-03-12 Angus Leeming <leeming@lyx.org>
1869 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1870 duplicate those in LyXFunc::dispatch.
1874 * ToolbarDefaults.C:
1875 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1876 Add LFUN_FONTFREE_UPDATE.
1878 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1879 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1881 * bufferview_func.[Ch]: several new functions to facilliate
1882 transfer of data to and from the character dialog.
1884 2003-03-12 John Levon <levon@movementarian.org>
1889 * paragraph_funcs.C:
1890 * paragraph_pimpl.C:
1894 * text3.C: remove META_NEWLINE in favour of an inset
1897 * rowpainter.C: remove paintNewline (done by inset)
1899 2003-03-12 John Levon <levon@movementarian.org>
1901 * paragraph_pimpl.C: complain about bad getChar()s
1902 for a while at least
1904 2003-03-12 John Levon <levon@movementarian.org>
1907 * buffer.C: move paragraph read into a separate function,
1908 a little renaming to reflect that.
1911 * bufferparams.C: remove the author_ids map, not necessary now
1914 * factory.C: moved Buffer::readInset to here
1916 * paragraph_funcs.h:
1917 * paragraph_funcs.C: readParagraph free function moved from
1920 * tabular.C: name change
1922 2003-03-12 John Levon <levon@movementarian.org>
1925 * ParagraphParameters.C: move par params input to
1928 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1929 behave like a normal read from the stream wrt reading
1930 a line vs. a \\token
1932 2003-03-12 John Levon <levon@movementarian.org>
1935 * ParagraphParameters.h:
1936 * ParagraphParameters.C: move output code to a
1939 2003-03-12 John Levon <levon@movementarian.org>
1941 * BufferView.C (insertLyXFile):
1944 * tabular.C: use a parlist iterator for creating the
1947 2003-03-12 John Levon <levon@movementarian.org>
1949 * buffer.C: make current_change static local not
1952 2003-03-12 John Levon <levon@movementarian.org>
1954 * buffer.C: fix insertStringAsLines for change tracking
1956 2003-03-12 John Levon <levon@movementarian.org>
1963 * bufferparams.C: move author list into params. Rename some
1964 functions. Move the header reading into a separate token
1965 loop. Move the header token reading into BufferParams.
1967 2003-03-12 John Levon <levon@movementarian.org>
1969 * changes.C: put debug inside lyxerr.debugging() checks
1971 2003-03-11 André Pönitz <poenitz@gmx.net>
1973 * factory.C: make it aware of InsetHFill
1975 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1977 * buffer.C (latexParagraphs): move function from here...
1978 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1981 2003-03-10 Angus Leeming <leeming@lyx.org>
1983 * LyXAction.C (init): fix bug in poplating array with multiple entries
1984 with the same LFUN (spotted by JMarc).
1986 2003-03-10 John Levon <levon@movementarian.org>
1989 * text2.C: move getColumnNearX() near its
1992 2003-03-10 John Levon <levon@movementarian.org>
1994 * text.C: fix break before a minipage
1996 2003-03-10 John Levon <levon@movementarian.org>
1998 * text.C: fix the last commit
2000 2003-03-09 John Levon <levon@movementarian.org>
2004 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2005 bug 365 (don't break before insets unless needed). Don't
2006 return a value > last under any circumstances.
2008 2003-03-09 Angus Leeming <leeming@lyx.org>
2010 * BufferView_pimpl.C (trackChanges, dispatch): call
2011 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2013 2003-03-09 Angus Leeming <leeming@lyx.org>
2015 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2016 than Dialogs::showAboutlyx().
2018 2003-03-09 Angus Leeming <leeming@lyx.org>
2020 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2021 than Dialogs::showTabularCreate().
2023 2003-03-09 John Levon <levon@movementarian.org>
2027 * text2.C: 3rd arg to nextBreakPoint was always the same.
2030 2003-03-08 John Levon <levon@movementarian.org>
2037 * text2.C: Remove the "main" bit from the "main body"
2040 2003-03-08 John Levon <levon@movementarian.org>
2042 * text.C (leftMargin): The left margin of an empty
2043 manual label paragraph should not include the label width
2046 * text.C (prepareToPrint): don't attempt to measure hfills
2047 for empty manual label paragraphs - the answer should be 0
2049 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2051 * CutAndPaste.C: remove commented code and reindent.
2053 2003-03-08 John Levon <levon@movementarian.org>
2056 * lyxfunc.C: move reloadBuffer()
2059 * BufferView.C: to here
2061 * lyxvc.C: add comment
2064 * vc-backend.C: call bv->reload() to avoid
2065 getStatus() check on MENURELOAD
2067 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2069 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2070 to an old format .dep file.
2072 2003-03-07 Angus Leeming <leeming@lyx.org>
2074 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2075 when the LFUN_MOUSE_RELEASE should have been handled by
2076 inset->localDispatch.
2078 2003-03-07 Angus Leeming <leeming@lyx.org>
2080 * BufferView_pimpl.C (dispatch):
2081 * LyXAction.C (init):
2082 * ToolbarDefaults.C (init):
2084 * lyxfunc.C (getStatus):
2085 remove LFUN_INSET_GRAPHICS.
2087 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2089 2003-03-07 Angus Leeming <leeming@lyx.org>
2092 * LyXAction.C (init):
2093 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2095 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2098 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2100 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2101 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2103 2003-03-07 Angus Leeming <leeming@lyx.org>
2105 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2108 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * ParagraphList.C (front): new function
2113 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2115 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2116 and top_row_offset_. removed var first_y.
2118 * text2.C (LyXText, removeRow):
2120 * BufferView_pimpl.C:
2121 use these methods instead of using first_y
2123 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * text2.C (pasteSelection): adjust for checkPastePossible
2127 * CutAndPaste.C: remove Paragraph * buf and replace with
2128 ParagraphList paragraphs.
2129 (DeleteBuffer): delete
2130 (cutSelection): change the tc type to textclass_type
2131 (copySelection): change the tc type to textclass_type
2132 (copySelection): adjust for ParagraphList
2133 (pasteSelection): change the tc type to textclass_type
2134 (pasteSelection): adjust for Paragraphlist
2135 (nrOfParagraphs): simplify for ParagraphList
2136 (checkPastePossible): simplify for ParagraphList
2137 (checkPastePossible): remove unused arg
2139 * ParagraphList.C (insert): handle the case where there are no
2142 * CutAndPaste.h: make CutAndPaste a namespace.
2144 * text3.C (dispatch): adjust
2146 * text.C (breakParagraph): add a ParagraphList as arg
2148 * paragraph_funcs.C (breakParagraph): change to take a
2149 BufferParams and a ParagraphList as args.
2150 (breakParagraphConservative): ditto
2151 (mergeParagraph): ditto
2152 (TeXDeeper): add a ParagraphList arg
2153 (TeXEnvironment): ditto
2156 * buffer.C (readLyXformat2): adjust
2157 (insertStringAsLines): adjust
2158 (latexParagraphs): adjust
2160 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2161 (cutSelection): adjust
2162 (pasteSelection): adjust
2164 * BufferView_pimpl.C (insertInset): adjust
2166 2003-03-05 Angus Leeming <leeming@lyx.org>
2169 * LyXAction.C (init):
2170 * BufferView_pimpl.C (dispatch):
2171 * lyxfunc.C (getStatus):
2172 remove LFUN_CHILD_INSERT.
2174 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2176 2003-03-05 Angus Leeming <leeming@lyx.org>
2179 * LyXAction.C (init):
2180 * src/factory.C (createInset):
2181 * lyxfunc.C (getStatus):
2182 * text3.C (dispatch):
2183 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2185 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2187 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * ParagraphList.C (insert): handle insert right before end()
2190 (erase): fix cases where it can be first or last paragraph.
2192 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2195 Paragraph::next and Paragraph::previous
2198 * text.C (breakParagraph): adjust
2200 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2201 BufferParams& as arg.
2202 (breakParagraph): use ParagraphList::insert
2203 (breakParagraphConservative): take a Buffer* instead of a
2204 BufferParams& as arg.
2205 (breakParagraphConservative): use ParagraphList::insert.
2207 * buffer.C (insertStringAsLines): un-const it
2208 (insertStringAsLines): adjust
2210 * ParagraphList.C (insert): new function
2212 * CutAndPaste.C (pasteSelection): adjust
2214 * text.C (backspace): adjust
2216 * tabular.C (SetMultiColumn): adjust
2218 * CutAndPaste.C (cutSelection): adjust
2219 (pasteSelection): adjust
2221 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2222 Buffer const * as arg
2224 * ParagraphList.C (erase): new function
2225 * paragraph_funcs.C (mergeParagraph): use it
2226 (mergeParagraph): make it take a Buffer* instead of a
2227 BufferParams* as arg
2229 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2231 (breakParagraphConservative): ditto
2233 * paragraph.h: remove the breakParagraph friend
2235 * paragraph.C (eraseIntern): new function
2236 (setChange): new function
2238 * paragraph_funcs.C (mergeParagraph): make it take a
2239 ParagraphList::iterator instead of a Paragraph *, adjust
2242 * paragraph.h: move an #endif so that the change tracking stuff
2243 also works in the NO_NEXT case.
2245 2003-03-04 Angus Leeming <leeming@lyx.org>
2248 * LyXAction.C: new LFUN_INSET_MODIFY.
2250 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2251 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2253 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * several files: ws changes only
2257 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2258 (TeXEnvironment): ditto
2261 * buffer.C (makeLaTeXFile): adjust
2262 (latexParagraphs): make it take ParagraphList::iterator as args
2264 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2266 * buffer.C (latexParagraphs): adjust
2268 * paragraph.C (TeXOnePar): move function...
2269 (optArgInset): move function...
2270 (TeXEnvironment): move function...
2271 * paragraph_pimpl.C (TeXDeeper): move function...
2272 * paragraph_funcs.C: ...here
2274 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2276 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2278 * buffer.C (readInset): remove compability code for old Figure and
2281 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2283 * buffer.C: ws changes
2286 * BufferView_pimpl.C: ditto
2289 * bufferlist.h: ditto
2293 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2295 * converter.[Ch]: split into itself +
2298 * Makefile.am: += graph.[Ch] + format.[Ch]
2305 * lyxrc.C: added #include "format.h"
2307 2003-02-27 Angus Leeming <leeming@lyx.org>
2309 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2312 * factory.C (createInset): add "label" to the factory.
2314 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2315 string and do no more.
2317 2003-02-27 Angus Leeming <leeming@lyx.org>
2320 * LyXAction.C (init):
2321 * factory.C (createInset):
2322 * BufferView_pimpl.C (dispatch):
2323 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2325 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2327 * lyxfunc.C (dispatch):
2328 * text3.C (dispatch): pass name to params2string.
2330 2003-02-26 Angus Leeming <leeming@lyx.org>
2332 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2334 Rearrange the ~includes. Strip out the unnecessary ones.
2336 * factory.C (createInset): reformat.
2337 create new insets for the various LFUN_XYZ_APPLY lfuns.
2339 2003-02-26 John Levon <levon@movementarian.org>
2342 * lyxrow.C: add isParStart,isParEnd helpers
2344 * paragraph.h: make isInserted/DeletedText take refs
2346 * paragraph_funcs.h:
2347 * paragraph_funcs.C: remove #if 0'd code
2352 * text.C: use lyxrow helpers above.
2353 Move draw and paint routines to RowPainter.
2354 Make several methods use refs not pointers.
2355 Make backgroundColor() const.
2356 Add markChangeInDraw(), isInInset().
2357 Merge changeRegionCase into changeCase.
2358 Make workWidth() shouldn't-happen code into an Assert.
2361 * rowpainter.C: new class for painting a row.
2364 * vspace.C: make inPixels take a ref
2366 2003-02-26 Angus Leeming <leeming@lyx.org>
2368 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2371 2003-02-25 John Levon <levon@movementarian.org>
2373 * ispell.C: give the forked command a more accurate name
2375 2003-02-22 John Levon <levon@movementarian.org>
2378 * toc.C: make TocItem store an id not a Paragraph *
2381 2003-02-21 Angus Leeming <leeming@lyx.org>
2383 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2384 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2385 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2386 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2387 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2388 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2390 * BufferView_pimpl.C (dispatch):
2391 * LyXAction.C (init):
2392 * factory.C (createInset):
2393 * lyxfunc.C (getStatus, dispatch):
2394 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2396 2003-02-21 Angus Leeming <leeming@lyx.org>
2398 * BufferView_pimpl.C (MenuInsertLyXFile):
2399 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2400 * lyxfunc.C (menuNew, open, doImport):
2401 no longer pass a LyXView & to fileDlg.
2403 2003-02-21 Angus Leeming <leeming@lyx.org>
2405 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2406 * LyXAction.C: change, BIBKEY to BIBITEM.
2407 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2408 Change InsetBibKey to InsetBibitem.
2409 Change BIBKEY_CODE to BIBITEM_CODE.
2410 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2411 * factory.C: replace insetbib.h with insetbibitem.h.
2412 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2413 * paragraph.C: replace insetbib.h with insetbibitem.h.
2414 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2415 Change bibkey() to bibitem().
2416 * text.C: remove insetbib.h.
2417 * text2.C: replace insetbib.h with insetbibitem.h.
2418 change bibkey() to bibitem().
2419 * text3.C: remove insetbib.h.
2420 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2422 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2424 * lyxrc.C (output): enclose user email in quotes (in case there are
2427 2003-02-18 John Levon <levon@movementarian.org>
2429 * buffer.h: add std::
2431 2003-02-17 John Levon <levon@movementarian.org>
2437 * pspell.C: reworking. Especially in ispell, a large
2438 number of clean ups and bug fixes.
2440 * lyxfunc.C: fix revert to behave sensibly
2442 2003-02-17 André Pönitz <poenitz@gmx.net>
2445 * commandtags.h: new LFUN_INSERT_BIBKEY
2455 * paragraph_func.C: remove special bibkey handling
2457 2003-02-17 John Levon <levon@movementarian.org>
2459 * text.C (Delete): fix case where delete at the end of
2460 the very first paragraph would not merge the pars
2462 2003-02-17 John Levon <levon@movementarian.org>
2464 * lyxrow.C: fix lastPrintablePos()
2466 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2468 * bufferparams.C (writeLaTeX): add a std:here
2470 * buffer.C: and remove a using directive there
2472 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2474 * buffer.C (makeLaTeXFile): move the code that generates the
2477 * bufferparams.C (writeLaTeX): ... in this new method
2479 * LaTeXFeatures.C (getEncodingSet): make const
2480 (getLanguages): make const
2482 * MenuBackend.C (binding): returns the binding associated to this
2484 (add): sets the status of each item by calling getStatus. Adds
2486 (read): add support for OptSubMenu
2487 (expand): remove extra separator at the end of expanded menu
2489 2003-02-15 John Levon <levon@movementarian.org>
2492 * BufferView_pimpl.C:
2494 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2495 inset code that had no actual effect. Remove unneeded status
2498 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2500 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2503 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2505 * text.C (drawLengthMarker): also draw an arrow marker for
2506 symbolic lengths (medskip...)
2508 2003-02-14 John Levon <levon@movementarian.org>
2511 * tabular.C: better method names
2513 2003-02-14 John Levon <levon@movementarian.org>
2515 * BufferView_pimpl.C:
2520 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2521 it's a more accurate name. Remove some pointless uses.
2523 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2525 * text2.C (LyXText): change order of initilizers to shut off
2528 2003-02-14 John Levon <levon@movementarian.org>
2530 * buffer.C: use ParIterator for getParFromID()
2534 * paragraph_pimpl.h:
2535 * paragraph_pimpl.C: remove unused getParFromID()
2537 2003-02-14 John Levon <levon@movementarian.org>
2539 * buffer.C: remove some very old #if 0'd parse code
2541 2003-02-13 John Levon <levon@movementarian.org>
2545 * text2.C: move hfillExpansion(), numberOfSeparators(),
2546 rowLast(), rowLastPrintable(), numberofHfills(),
2547 numberOfLabelHfills() ...
2550 * lyxrow.C: ... to member functions here.
2555 * text.C: remove LyXText::beginningOfMainBody(), and call
2556 p->beginningOfMainBody() directly. Move the check for
2557 LABEL_MANUAL into the latter.
2564 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2570 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2571 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2573 2003-02-13 John Levon <levon@movementarian.org>
2575 * CutAndPaste.C: remove debug
2577 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2579 * paragraph.C (asString): remove two unused variables
2581 * lyxtextclass.C (readTitleType):
2583 (LyXTextClass): handle new members titletype_ and titlename_
2585 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2587 2003-02-09 John Levon <levon@movementarian.org>
2590 * buffer.C: replace hand-coded list with a map for the dep clean
2592 2003-02-08 John Levon <levon@movementarian.org>
2594 * LaTeX.C: consolidate code into showRunMessage() helper
2596 2003-02-08 John Levon <levon@movementarian.org>
2601 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2602 and pass the size in explicitly
2604 * BufferView_pimpl.h:
2605 * BufferView_pimpl.C:
2607 * BufferView.C: add getCurrentChange()
2609 * BufferView_pimpl.h:
2610 * BufferView_pimpl.C: handle change lfuns
2612 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2613 for changes. Mark pasted paragraphs as new.
2615 * support/lyxtime.h:
2616 * support/lyxtime.C:
2617 * DepTable.C: abstract time_t as lyx::time_type
2620 * LColor.C: add colours for new text, deleted text, changebars
2622 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2623 package use "usenames" option.
2627 * LyXAction.C: add change lfuns
2631 * author.C: author handling
2634 * buffer.C: add a per-buffer author list, with first entry as
2635 current author. Handle new .lyx tokens for change tracking. Output
2636 author list to .lyx file. Output dvipost stuff to .tex preamble.
2637 Bump lyx format to 222.
2640 * bufferlist.C: add setCurrentAuthor() to reset current author details
2644 * bufferparams.C: add param for tracking
2646 * bufferview_funcs.C: output change info in minibuffer
2650 * changes.C: add change-tracking structure
2653 * debug.C: add CHANGES debug flag
2656 * lyxfind.C: add code for finding the next change piece
2659 * lyxrc.C: add user_name and user_email
2662 * lyxrow.C: add a metric for the top of the text line
2665 * text.C: implement accept/rejectChange()
2668 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2669 Strike through deleted text.
2673 * paragraph_pimpl.h:
2674 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2675 to the insert functions. Rework erase to mark text as deleted, adding
2676 an eraseIntern() and a range-based erase(). Implement
2677 per-paragraph change lookup and accept/reject.
2679 * paragraph_funcs.C: Fixup paste for change tracking.
2681 * tabular.C: mark added row/columns as new.
2683 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2684 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2686 * text2.C: leave cursor at end of selection after a cut.
2688 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2690 * text.C (getLengthMarkerHeight):
2691 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2692 visible on screen too.
2694 2003-02-07 John Levon <levon@movementarian.org>
2696 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2698 2003-02-05 Angus Leeming <leeming@lyx.org>
2700 * lyxserver.C (read_ready): revert my patch of 11 September last year
2701 as it sends PC cpu through the roof. Presumably this means that
2702 the lyxserver will no longer run on an Alpha...
2704 2003-01-30 Angus Leeming <leeming@lyx.org>
2706 * factory.C (createInset): create an InsetCommandParam of type "index"
2707 and use it to 'do the right thing'.
2709 * text2.C (getStringToIndex): ensure that cursor position is always
2710 reset to the reset_cursor position.
2712 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2714 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2717 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2721 * lyxfunc.C: Output messages with identical spelling, punctuation,
2724 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2726 * MenuBackend.C (expandFormats): List only viewable export formats
2729 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2732 * lyxfunc.C (getStatus): Make sure that formats other than
2733 "fax" can also be disabled
2735 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2737 * text3.C (dispatch): put the lfuns that insert insets in 3
2738 groups, and call doInsertInset with appropriate arguments.
2739 (doInsertInset): new function, that creates an inset and inserts
2740 it according to some boolean parameters.
2742 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2744 * buffer.C (readFile): remember to pass on 'par' when calling
2745 readFile recursively.
2747 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2749 * MenuBackend.C (expandFormats): add "..." to import formats.
2751 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2753 * paragraph.C (asString): Remove XForms RTL hacks.
2755 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2756 * buffer.C: fix typo
2758 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * Makefile.am (LIBS): delete var
2761 (lyx_LDADD): add @LIBS@ here instead.
2763 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2765 * Clarify the meaning of "wheel mouse jump"
2767 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2769 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2772 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2774 * importer.C (Loaders): do not preallocate 3 elements in the
2775 vector, since one ends up with 6 elements otherwise
2777 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2779 * DepTable.C (write): write the file name as last element of the
2780 .dep file (because it may contain spaces)
2781 (read): read info in the right order
2783 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2785 * paragraph_pimpl.C (simpleTeXBlanks):
2786 (simpleTeXSpecialChars):
2787 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2789 * tabular.C (latex): add some missing case statements. Reindent.
2791 * MenuBackend.C (expandToc): remove unused variable.
2793 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2802 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2805 2003-01-05 John Levon <levon@movementarian.org>
2808 * BufferView.C: add getEncoding()
2811 * kbsequence.C: do not store last keypress
2814 * lyxfunc.C: store last keypress here instead. Pass encoding
2817 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2819 * lyx_main.C (init): remove annoying error message when following
2820 symbolic links (bug #780)
2822 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2824 * text.C (insertChar):
2825 * lyxrc.C (getDescription): remove extra spaces
2827 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2829 * lyxrc.C (getDescription): remove extra spaces
2831 2002-12-20 John Levon <levon@movementarian.org>
2833 * text3.C: hack fix for page up/down across tall rows
2835 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2837 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2840 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2842 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2843 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2844 thesaurus is not compiled in
2846 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2848 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2850 2002-12-16 Angus Leeming <leeming@lyx.org>
2853 * lyx_main.C (init): remove override_x_deadkeys stuff.
2855 2002-12-12 John Levon <levon@movementarian.org>
2857 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2858 insert. Only remove shift modifier under strict
2861 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * MenuBackend.C (expandToc): fix crash.
2865 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * MenuBackend.C (expandToc): gettext on float names.
2869 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2871 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2872 implement bool empty() [bug 490]
2874 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2876 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2878 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * several files: ws changes
2882 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * text2.C (setCounter): clean up a bit, use boost.format.
2885 (updateCounters): initialize par upon declaration.
2887 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2888 if the layout exists. We do not just store the layout any more.
2889 (SwitchLayoutsBetweenClasses): use boost.format
2891 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2893 * converter.C (convert): if from and to files are the same, use a
2894 temporary files as intermediary
2896 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2899 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2901 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2903 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2905 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * tabular.C (asciiPrintCell): use string(size, char) instead of
2910 * sgml.C (openTag): fix order of arguments to string constructor
2913 * lyxfunc.C (dispatch): use boost.format
2915 * lots of files: change "c" -> 'c'
2917 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2919 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2921 2002-11-25 Angus Leeming <leeming@lyx.org>
2923 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2925 * lyx_main.C (init): compile fix.
2927 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2929 * lyx_cb.C (start): boost.formatify
2930 do not include <iostream>
2932 * lengthcommon.C: ws only
2934 * boost-inst.C,BoostFormat.h: add more explict instantations
2936 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * lots of files: handle USE_BOOST_FORMAT
2940 2002-11-21 John Levon <levon@movementarian.org>
2942 * pspell.C: fix compile
2944 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2946 * lyxfunc.C (dispatch): use boost::format
2950 * lyxfont.C (stateText): use boost::format
2952 * lyx_main.C (LyX): use boost::format
2954 (queryUserLyXDir): ditto
2957 (typedef boost::function): use the recommened syntax.
2959 * importer.C (Import): use boost::format
2961 * debug.C (showLevel): use boost::format
2963 * converter.C (view): use boost::format
2968 * bufferview_funcs.C (currentState): use boost::format
2970 * bufferlist.C (emergencyWrite): use boost::format
2972 * buffer.C (readLyXformat2): use boost::format
2973 (parseSingleLyXformat2Token): ditto
2975 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2977 * LaTeX.C (run): use boost::format
2979 * Chktex.C (scanLogFile): use boost::format
2981 * BufferView_pimpl.C (savePosition): use boost::format
2982 (restorePosition): ditto
2983 (MenuInsertLyXFile): ditto
2985 * BoostFormat.h: help file for explicit instation.
2987 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2989 * tabular.C (latex): Support for block alignment in fixed width
2992 2002-11-17 John Levon <levon@movementarian.org>
2994 * BufferView_pimpl.C:
2996 * lyxfunc.C: split filedialog into open/save
2998 2002-11-08 Juergen Vigna <jug@sad.it>
3000 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3001 by my last patch (hopefully).
3003 2002-11-08 John Levon <levon@movementarian.org>
3012 * toc.C: ParConstIterator, and use it (from Lars)
3014 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3016 * lyxtextclass.[Ch]: revise and add doxygen comments
3018 2002-11-07 John Levon <levon@movementarian.org>
3020 * text.C: fix progress value for spellchecker
3022 * toc.C: fix navigate menu for insetwrap inside minipage
3024 * paragraph_funcs.C: added FIXME for suspect code
3026 2002-11-07 John Levon <levon@movementarian.org>
3028 * BufferView_pimpl.C: fix redrawing of insets
3031 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3033 * text2.C (updateCounters): fix bug 668
3035 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3037 * text3.C (dispatch): Do not make the buffer dirty when moving the
3040 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3042 * vc-backend.C: STRCONV
3045 * text2.C (setCounter): STRCONV
3047 * paragraph.C (asString): STRCONV
3049 * lyxlength.C (asString): STRCONV
3050 (asLatexString): ditto
3052 * lyxgluelength.C (asString): STRCONV
3053 (asLatexString): ditto
3055 * lyxfunc.C (dispatch): STRCONV
3058 * lyxfont.C (stateText): STRCONV
3060 * importer.C (Import): STRCONV
3062 * counters.C (labelItem): STRCONV
3063 (numberLabel): ditto
3064 (numberLabel): remove unused ostringstream o
3069 * bufferview_funcs.C (currentState): STRCONV
3071 * buffer.C (readFile): STRCONV
3072 (asciiParagraph): ditto
3073 (makeLaTeXFile): ditto
3075 * Spacing.C (writeEnvirBegin): STRCONV
3077 * LaTeXFeatures.C (getLanguages): STRCONV
3078 (getPackages): ditto
3080 (getBabelOptions): ditto
3081 (getTClassPreamble): ditto
3082 (getLyXSGMLEntities): ditto
3083 (getIncludedFiles): ditto
3087 (scanAuxFile): ditto
3090 * LString.h: add the STRCONV macros
3092 * BufferView_pimpl.C (savePosition): STRCONV
3093 (restorePosition): ditto
3094 (MenuInsertLyXFile): ditto
3096 * vc-backend.C (scanMaster): change from submatch[...] to
3099 * funcrequest.C: include config.h
3101 * factory.C: include config.h
3103 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3105 * box.C: include config.h
3107 * LaTeX.C (scanAuxFile): change from submatch[...] to
3111 2002-10-25 Angus Leeming <leeming@lyx.org>
3113 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3115 * ispell.[Ch] (setError): new method.
3116 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3117 Use setError() insetead of goto END.
3119 * lyx_cb.C (AutoSave): move out child process into new class
3122 2002-10-30 John Levon <levon@movementarian.org>
3124 * text3.C: make start appendix undoable
3126 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3128 * lyxlength.C (inPixels): Fix returned value.
3130 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3133 2002-10-24 Angus Leeming <leeming@lyx.org>
3135 * lyxgluelength.h: no need to forward declare BufferParams
3136 or BufferView, so don't.
3138 2002-10-21 John Levon <levon@movementarian.org>
3140 * BufferView.C: menuUndo ->undo, redo
3142 * BufferView.h: document, remove dead, make some methods private
3144 * paragraph_funcs.h:
3145 * paragraph_funcs.C:
3146 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3151 * sgml.C: move sgml open/close tag into sgml.C
3153 * bufferview_funcs.h: unused prototype
3156 * lyxfunc.C: remove unused
3159 * text.C: remove unused
3161 2002-10-21 John Levon <levon@movementarian.org>
3165 * BufferView_pimpl.h:
3166 * BufferView_pimpl.C: fix mouse wheel handling based on
3167 patch from Darren Freeman
3169 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3171 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3173 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3175 * lyxlength.C (inPixels): Fix hanfling of negative length.
3176 Fix LyXLength::MU case.
3178 2002-10-16 John Levon <levon@movementarian.org>
3180 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3182 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3184 * converter.C (view): add support for $$i (file name) and $$p
3185 (file path) for the viewer command. If $$i is not specified, then
3186 it is appended to the command (for compatibility with old syntax)
3188 2002-10-14 Juergen Vigna <jug@sad.it>
3190 * undo_funcs.C (textHandleUndo): alter the order in which the
3191 new undopar is added to the LyXText, as we have to set first
3192 the right prev/next and then add it as otherwise the rebuild of
3193 LyXText is not correct. Also reset the cursor to the right paragraph,
3194 with this IMO we could remove the hack in "redoParagraphs()".
3196 2002-10-09 Angus Leeming <leeming@lyx.org>
3198 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3199 to turn off an optimisation if a new inset is to be inserted.
3201 2002-10-11 André Pönitz <poenitz@gmx.net>
3203 * lyxtext.h: make some functions public to allow access
3204 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3206 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3208 * text3.C (dispatch): when changing layout, avoid an infinite loop
3211 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3213 * lyxrc.C (read): treat a viewer or converter command of "none" as
3216 * MenuBackend.C (expandFormats): for an update, also allow the
3217 formats that are not viewable
3219 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3220 script if it is newer than the lyxrc.defaults in user directory
3222 2002-10-07 André Pönitz <poenitz@gmx.net>
3224 * text.C: Vitaly Lipatov's small i18n fix
3226 2002-09-25 Angus Leeming <leeming@lyx.org>
3228 * ispell.h: doxygen fix.
3230 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3232 * buffer.h (readFile): Add a new argument to the method, to allow
3233 reading of old-format templates.
3235 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3237 * toc.C (getTocList): Get TOC from InsetWrap.
3239 2002-09-16 John Levon <levon@movementarian.org>
3241 * lyxfunc.C: check tabular for cut/copy too
3243 2002-09-12 John Levon <levon@movementarian.org>
3248 * factory.C: add header
3250 * paragraph_funcs.h:
3251 * paragraph_funcs.C: cleanup
3253 2002-09-11 John Levon <levon@movementarian.org>
3255 * PrinterParams.h: odd/even default to true
3257 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3259 * PrinterParams.h: update printer parameters for new xforms dialog
3261 2002-09-11 Angus Leeming <leeming@lyx.org>
3263 * lyxserver.C (read_ready): re-write to make it more transparent
3264 and to make it work in coherent fashion under Tru64 Unix.
3266 2002-09-11 André Pönitz <poenitz@gmx.net>
3270 * text3.C: implement LFUN_WORDSEL
3272 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3275 make floatlist_ a boost::shared_ptr<FloatList>
3277 * lyxtextclass.C: include FloatList.h
3278 (LyXTextClass): initialize floatlist_
3279 (TextClassTags): add TC_NOFLOAT
3280 (Read): match "nofloat" to TC_NOFLOAT and use it.
3281 (readFloat): modify call to floatlist_
3285 * FloatList.[Ch] (FloatList): remove commented out float
3287 (erase): new function
3289 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3291 * MenuBackend.C (expandToc): fix crash when there is no document
3294 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3296 * many files: Add insetwrap.
3298 2002-09-09 John Levon <levon@movementarian.org>
3300 * text2.C: remove confusing and awkward depth wraparound
3302 2002-09-09 John Levon <levon@movementarian.org>
3304 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3307 * buffer.C: remove getIncludeonlyList()
3310 * lyxfunc.C: remove headers
3312 2002-09-09 Juergen Vigna <jug@sad.it>
3314 * text.C (getColumnNearX): fix form Michael this is most
3315 probably a cut&paste bug.
3317 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3321 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3322 references, ws changes.
3324 * text2.C (init): update counters after init
3325 (insertParagraph): no need to set counter on idividual paragraphs.
3326 (setCounter): access the counters object in the textclass object
3327 on in the buffer object.
3328 (updateCounters): ditto
3330 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3331 shared_ptr<Counters> to avoid loading counters.h in all
3333 (LyXTextClass): initialize ctrs_
3334 (TextClassTags): add TC_COUNTER, and ...
3335 (Read): use it here.
3336 (CounterTags): new tags
3337 (readCounter): new function
3338 (counters): new funtion
3339 (defaultLayoutName): return a const reference
3341 * counters.C (Counters): remove contructor
3342 (newCounter): remove a couple of unneeded statements.
3343 (newCounter): simplify a bit.
3344 (numberLabel): some small formatting changes.
3346 * buffer.[Ch]: remove all traces of counters, move the Counters
3347 object to the LyXTextClass.
3349 2002-09-06 Alain Castera <castera@in2p3.fr>
3351 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3352 package to set the horizontal alignment on fixed width columns.
3355 * lyx_sty.h: added tabularnewline macro def.
3357 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3359 2002-09-06 John Levon <levon@movementarian.org>
3361 * LyXAction.C: tooltips for sub/superscript
3363 * MenuBackend.C: a bit more verbose
3365 * lyxfunc.C: tiny clean
3367 * undo_funcs.C: document undo_frozen
3369 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * counters.C (Counters): add missing algorithm counter.
3373 * text2.C (setCounter): lookup the counter with layouts latexname
3374 instead of by section number.
3375 (setCounter): use a hackish way to lookup the correct enum
3377 a float name->type change
3378 reset enum couners with counter name directly instead of depth value.
3380 * counters.C (Counters): remove the push_backs, change to use the
3381 float type not the float name.
3382 (labelItem): remove unused string, float name->type change
3384 * counters.h: don't include vector, loose the enums and sects vectors
3386 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3388 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3389 (Read): add float->TC_FLOAT to textclassTags
3390 (Read): and handle it in the switch
3391 (readFloat): new function
3393 * FloatList.C (FloatList): comment out the hardcoded float
3396 * lyxlayout.h: ws change.
3398 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3400 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3402 2002-09-03 Angus Leeming <leeming@lyx.org>
3404 * BufferView_pimpl.h: qualified name is not allowed in member
3405 declaration: WorkArea & Pimpl::workarea() const;
3407 * factory.C: added using std::endl directive.
3409 * text3.C: added using std::find and std::vector directives.
3411 2002-08-29 André Pönitz <poenitz@gmx.net>
3414 * text2.C: remove unused member number_of_rows
3417 * BufferView2.C: remove file, move contents to...
3418 * BufferView.C: ... here
3420 * BufferView_pimpl.C:
3421 * factory.C: move more inset creation to factory
3423 * vspace.C: avoid direct usage of LyXText, ws changes
3426 don't provide direct access to WorkArea, use two simple
3427 acessors haveSelction() and workHeight() instead
3430 2002-08-29 John Levon <levon@movementarian.org>
3432 * BufferView_pimpl.C (dispatch): do not continue when
3435 2002-08-28 André Pönitz <poenitz@gmx.net>
3437 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3440 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3442 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3444 * buffer.C: increment LYX_FORMAT to 221
3446 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3447 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3449 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3451 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3453 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3455 * factory.C (createInset): use LyXTextClass::floats
3457 * MenuBackend.C (expandFloatListInsert):
3458 (expandFloatInsert):
3461 * text2.C (setCounter):
3463 * LaTeXFeatures.C (useFloat):
3464 (getFloatDefinitions):
3466 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3468 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3469 floatlist_, with accessor floats().
3471 * FloatList.h: remove global FloatList
3473 2002-08-26 André Pönitz <poenitz@gmx.net>
3475 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3479 * BufferView_pimpl.C:
3480 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3482 2002-08-25 John Levon <levon@movementarian.org>
3484 * LyXAction.C: fix margin note description
3486 2002-08-24 John Levon <levon@movementarian.org>
3490 * bufferview_funcs.C:
3492 * undo_funcs.C: cleanups
3494 * lyxfunc.C: disable CUT/COPY when no selection
3496 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3498 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3499 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3501 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3502 Add backward compatibility to "mono", "gray" and "no".
3504 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3506 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3507 (and file_format >= 200).
3509 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3511 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3513 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3515 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3517 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3519 * BufferView_pimpl.C:
3526 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3527 inset and code to make it work with the paragraph code. The inset
3528 can be anywhere in the paragraph, but will only do the expected
3529 thing in LaTeX if the layout file contains the parameter line
3531 (or more generally, a nonzero value) for that layout.
3533 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * paragraph.h: remove the declaration of undefined counters class
3538 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3540 * text2.C (setCounter): fixed enumeration mis-count as reported by
3541 Dr. Richard Hawkins.
3543 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3545 * paragraph_funcs.h: remove some unneeded includes
3547 * text.C (backspace): pasteParagraph now in global scipe
3549 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3550 (pasteSelection): ditto
3552 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3553 * paragraph_funcs.C (pasteParagraph): ... here
3555 2002-08-20 André Pönitz <poenitz@gmx.net>
3557 * commandtags.h: new LFUNs for swapping/copying table row/colums
3560 * lyxfunc.C: support for new lfuns
3562 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * buffer.[Ch]: remove NO_COMPABILITY stuff
3567 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * boost.C (throw_exception): new file, with helper function for
3570 boost compiled without exceptions.
3575 * ParameterStruct.h:
3576 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3578 * bufferlist.C (emergencyWriteAll): use boost bind
3580 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3582 * text.C: include paragraph_funcs.h
3583 (breakParagraph): breakParagraph is now in global scope
3585 * paragraph_funcs.[Ch]: new files
3587 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3590 * buffer.C: include paragraph_funcs.h
3591 (insertStringAsLines): breakParagraph is now in global scope
3593 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3596 * CutAndPaste.C: include paragraph_funcs.h
3597 (cutSelection): breakParagraphConservative is now in global scope
3598 (pasteSelection): ditto
3600 * buffer.h: declare oprator== and operator!= for
3601 Buffer::inset_iterator
3603 * bufferlist.C (emergencyWrite): don't use fmt(...)
3605 * text3.C: add using std::endl
3607 * BufferView.C (moveCursorUpdate): remove default arg
3609 2002-08-20 André Pönitz <poenitz@gmx.net>
3611 * buffer.[Ch]: move inline functions to .C
3614 * BufferView_pimpl.C:
3616 * buffer.[Ch]: use improved inset_iterator
3619 * paragraph.[Ch]: write one paragraph at a time
3621 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3623 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3624 style if style is not specified.
3626 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3628 * text2.C (setCounter): when searching for right label for a
3629 caption, make sure to recurse to parent insets (so that a caption
3630 in a minipage in a figure float works) (bug #568)
3632 2002-08-20 André Pönitz <poenitz@gmx.net>
3634 * text3.C: new file for LyXText::dispatch() and helpers
3636 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3638 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3640 2002-08-19 André Pönitz <poenitz@gmx.net>
3643 * text.C: new LyXText::dispatch()
3645 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3647 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3649 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3651 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3654 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3656 * Makefile.am: use $(variables) instead of @substitutions@
3658 2002-08-15 André Pönitz <poenitz@gmx.net>
3661 * BufferView_pimpl.C: streamlining mathed <-> outer world
3665 * LyXAction.C: remove unused LFUN_MATH
3667 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3671 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3673 * paragraph.C (Paragraph): reformat a bit
3674 (cutIntoMinibuffer): use builtin InsetList function instad of
3678 * buffer.C: include boost/bind.hpp, add using std::for_each
3679 (writeFileAscii): use ParagraphList iterators
3680 (validate): use for_each for validate traversal of paragraphs
3681 (getBibkeyList): use ParagraphList iterators
3682 (resizeInsets): use for_each to resizeInsetsLyXText for all
3684 (getParFromID): use ParagraphList iterators
3686 * BufferView2.C (lockInset): use paragraph list and iterators
3688 2002-08-14 John Levon <levon@movementarian.org>
3690 * lyxserver.C: remove spurious xforms include
3692 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3694 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3696 2002-08-13 André Pönitz <poenitz@gmx.net>
3699 * lyxfunc.C: further cleaning
3701 2002-08-13 André Pönitz <poenitz@gmx.net>
3703 * funcrequest.h: new constructor
3705 * funcrequest.C: move stuff here from .h
3708 * BufferView_pimpl.C:
3711 * lyxfunc.C: subsequent changes
3713 * lyxfunc.h: new view() member function
3715 * lyxfunc.C: subsequent changes
3717 2002-08-13 Angus Leeming <leeming@lyx.org>
3720 * BufferView_pimpl.C:
3728 changes due to the changed LyXView interface that now returns references
3729 to member variables not pointers.
3731 2002-08-13 Angus Leeming <leeming@lyx.org>
3733 * WordLangTuple (word, lang_code): return references to strings,
3738 * lyxtext.h: forward-declare WordLangTuple.
3743 * text.C: #include "WordLangTuple.h".
3746 * text.C: (selectNextWordToSpellcheck): constify return type.
3748 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3754 * paragraph_pimpl.h:
3757 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3759 Made updateCounter always count from start of buffer, and removed
3760 second argument (par).
3761 Reverted floats number display to '#'. Perhaps I'll try again when the
3762 code base is sanitized a bit.
3764 2002-08-12 Angus Leeming <leeming@lyx.org>
3766 * buffer.[Ch] (getLabelList): constify.
3768 2002-08-07 André Pönitz <poenitz@gmx.net>
3770 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3772 * funcrequest.h: extension to keep mouse (x,y) position
3774 2002-08-12 Juergen Vigna <jug@sad.it>
3776 * BufferView2.C (insertErrors): forbid undo when inserting error
3779 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3781 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3783 * ParagraphList.[Ch]: new files
3785 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3787 * BufferView2.C (lockInset): ParagraphList changes
3790 * bufferlist.C: ditto
3794 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3797 unused class variable counter_,
3799 * paragraph.[Ch] (getFirstCounter): delete unused function
3801 * counters.C: include LAssert.h
3802 (reset): add a new function with no arg, change other version to
3803 not have def. arg and to not allow empty arg.
3805 * text2.C (setCounter): remove empty arg from call to Counters::reset
3807 2002-08-11 John Levon <levon@movementarian.org>
3809 * Makefile.am: add WordLangTuple.h
3811 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3814 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3816 * insets/insettext.C: InsetList changes
3818 * graphics/GraphicsSupport.C (operator()): InsetList changes
3820 * toc.C (getTocList): InsetList changes
3822 * paragraph_pimpl.[Ch]: InsetList changes
3824 * paragraph.[Ch]: InsetList changes
3826 * buffer.C (inset_iterator): InsetList changes
3827 (setParagraph): ditto
3828 * buffer.h (inset_iterator): ditto
3829 * iterators.C (operator++): ditto
3830 * iterators.h: ditto
3832 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3834 * InsetList.[Ch]: new files, most InsetList handling moved out of
3837 * BufferView2.C (removeAutoInsets): InsetList changes
3839 (ChangeInsets): ditto
3841 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * paragraph_pimpl.h (empty): new function
3845 * paragraph.[Ch] (empty): new function
3847 * other files: use the new Paragraph::empty function
3849 2002-08-09 John Levon <levon@movementarian.org>
3851 * lyxtext.h: remove unused refresh_height
3853 2002-08-09 John Levon <levon@movementarian.org>
3860 * paragraph.C: move sgml char escaping out of paragraph
3863 * paragraph.C: remove id setter
3867 * paragraph_pimpl.C: remove dead tex_code_break_column
3869 * bufferview_funcs.C: small cleanup
3871 * lyxfunc.C: remove dead proto
3873 * lyxtext.h: make some stuff private. Remove some dead stuff.
3875 * lyxgluelength.C: make as[LyX]String() readable
3877 2002-08-08 John Levon <levon@movementarian.org>
3882 * ToolbarDefaults.C:
3885 * toc.C: lyxaction cleanup
3887 2002-08-08 John Levon <levon@movementarian.org>
3889 * BufferView2.C: small cleanup
3892 * lyxfind.C: move unnecessary header into the .C
3894 2002-08-08 John Levon <levon@movementarian.org>
3896 * funcrequest.h: just tedious nonsense
3899 * lyx_main.C: cleanups
3902 * vspace.C: remove dead header lyx_main.h
3904 2002-08-07 Angus Leeming <leeming@lyx.org>
3907 * paragraph_pimpl.h:
3908 Forward declare class Counters in paragraph.h by moving the ctrs member
3909 variable into Paragraph::Pimpl.
3910 (counters): new method, returning a reference to pimpl_->ctrs.
3912 * text2.C: ensuing changes.
3914 2002-08-07 John Levon <levon@movementarian.org>
3916 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3918 * BufferView_pimpl.C: announce X selection on double/triple
3921 * lyx_main.C: use correct bool in batch dispatch
3923 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3925 2002-08-07 André Pönitz <poenitz@gmx.net>
3927 * funcrequest.h: new class to wrap a kb_action and its argument
3930 * BufferView_pimpl[Ch]:
3934 * lyxrc.C: subsequent changes
3937 2002-08-07 John Levon <levon@movementarian.org>
3939 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3940 document options change.
3942 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3947 * makefile.am: move counters functionality over from
3948 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3950 2002-08-06 John Levon <levon@movementarian.org>
3952 * WordLangTuple.h: new file for word + language code tuple
3963 * BufferView2.C: use WordLangTuple
3966 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3968 2002-08-06 John Levon <levon@movementarian.org>
3970 * lyx_main.C: fix cmdline batch handling
3972 2002-08-06 André Pönitz <poenitz@gmx.net>
3974 * lyxrc.C: set default for show_banner to true
3976 2002-08-06 John Levon <levon@movementarian.org>
3978 * pspell.C: fix a crash, and allow new aspell to work
3980 2002-08-06 John Levon <levon@movementarian.org>
3983 * kbmap.C: small cleanup
3986 * vspace.C: add const
3988 2002-08-05 John Levon <levon@movementarian.org>
3990 * LyXAction.C: back to tabular-insert
3992 2002-08-04 John Levon <levon@movementarian.org>
3995 * BufferView.C: cosmetic change
3997 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4007 * BufferView2.C: purge all "Lyx" not "LyX" strings
4010 * lyxcursor.C: attempt to add some documentation
4015 * ToolbarDefaults.C:
4016 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4017 merge with LFUN_TABULAR_INSERT
4024 * pspell.C: split up i/pspell implementations into separate
4025 files, many cleanups
4027 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4029 * text2.C: some cleanup
4031 * lyxfunc.C: don't check for isp_command == "none" any more, it
4032 didn't make any sense
4034 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4039 * makefile.am: move counters functionality over
4040 from text2.C/paragraph.[Ch] to counters.[Ch], and
4042 2002-08-02 John Levon <levon@movementarian.org>
4044 * buffer.C: s/lyxconvert/lyx2lyx/
4046 2002-08-02 Angus Leeming <leeming@lyx.org>
4048 * lyxlex.C: revert John's change as it breaks reading of the user
4051 2002-08-02 Angus Leeming <leeming@lyx.org>
4053 * importer.C (Import):
4054 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4055 changes due to LyXView::view() now returning a boost::shared_ptr.
4057 2002-08-02 John Levon <levon@movementarian.org>
4059 * lyxlex.C: small cleanup
4061 2002-08-02 John Levon <levon@movementarian.org>
4063 * text2.C (status): small cleanup, no logic change
4065 2002-08-01 John Levon <levon@movementarian.org>
4068 * buffer.C (writeFile): don't output alerts, caller
4072 * lyx_cb.C: from above
4074 * lyxfunc.C: allow to open non-existent files
4076 2002-07-31 John Levon <levon@movementarian.org>
4078 * lyxserver.C: don't let incidental errors get
4081 2002-07-30 John Levon <levon@movementarian.org>
4083 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4085 2002-07-30 John Levon <levon@movementarian.org>
4088 * lyxserver.C: remove I/O callback too
4090 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4092 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4095 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * many files: strip,frontStrip -> trim,ltrim,rtrim
4099 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * PrinterParams.h: remove extern containsOnly, and include
4102 support/lstrings.h instead.
4104 * LaTeX.C (scanAuxFile): modify because of strip changes
4106 * buffer.C (makeLaTeXFile): ditto
4107 * bufferparams.C (writeFile): ditt
4108 * lyxfont.C (stateText): ditto
4109 * lyxserver.C (read_ready): ditto
4110 * vc-backend.C (scanMaster): ditto
4112 * BufferView_pimpl.h: ws changes
4114 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4116 2002-07-26 André Pönitz <poenitz@gmx.net>
4118 * kb_sequence.C: remove unnedred usings
4120 2002-07-26 Juergen Vigna <jug@sad.it>
4122 * lyxfind.C (LyXReplace): we have to check better if the returned
4123 text is not of theLockingInset()->getLockingInset().
4125 2002-07-25 Juergen Vigna <jug@sad.it>
4127 * lyxfind.C (LyXReplace): don't replace if we don't get the
4130 * undo_funcs.C (createUndo): remove debugging code.
4132 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4134 * buffer.C (parseSingleLyXformat2Token): Use default placement
4135 when reading old floats.
4137 * FloatList.C (FloatList): Change the default placement of figure
4138 and tables to "tbp".
4140 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4142 * MenuBackend.C: using std::max
4144 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4146 * MenuBackend.C (expandToc):
4147 (expandToc2): code moved from xforms menu frontend. It is now
4148 generic and TOCs are transparent to menu frontends.
4150 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4152 * toc.C (getTocList): protect against buf=0
4154 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4155 Menu as first parameter. Now, this calls itself recursively to
4156 expand a whole tree (this will be useful for TOC handling)
4157 (expandFloatInsert): remove 'wide' version of floats
4159 * MenuBackend.h (submenuname): returns the name of the submenu.
4160 (submenu): returns the submenu itself, provided it has been
4161 created by MenuBackend::expand
4163 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4165 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4166 insets which have noFontChange == true. (bug #172)
4168 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4170 * BufferView_pimpl.C: add connection objects and use them...
4173 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4175 * MenuBackend.C (expandLastfiles):
4178 (expandFloatListInsert):
4179 (expandFloatInsert):
4180 (expand): split expand in parts
4182 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4184 * lyx_gui.C: use lyx_gui::exit()
4186 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4188 * LyXAction.C: show the failing pseudo action
4190 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4192 * buffer.C (readFile): Run the lyxconvert script in order to read
4195 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4199 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4201 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4205 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4207 2002-07-22 Herbert Voss <voss@lyx.org>
4210 * lyxlength.[Ch]: add support for the vertical lengths
4212 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4214 * toc.[Ch]: std:: fixes
4216 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4218 * lyxrc.C: do not include lyx_main.h
4220 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4226 * BufferView2.C: include "lyxlex.h"
4229 * bufferparams.h: do not #include "lyxlex.h"
4231 * lyxtextclasslist.C (Add): remove method
4232 (classlist): renamed to classlist_
4234 * paragraph_pimpl.C:
4238 * bufferview_funcs.C:
4243 * toc.C (getTocList): use BufferParams::getLyXTextClass
4245 * toc.C (getTocList): use InsetFloat::addToToc
4247 * toc.[Ch]: new files, containing helper functions to handle table
4250 * lyxfunc.C (dispatch): no need to remove spaces around command
4252 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4253 first command of the sequence; it is not very clever, but I do not
4254 have a better idea, actually
4256 * LyXAction.C (LookupFunc): make sure to remove space at the
4257 beginning and end of the command
4259 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4261 * MenuBackend.C (getMenubar): new method: return the menubar of
4263 (read): treat differently reading of menu and menubar (in
4264 particular, the menubar has no name now)
4265 (Menu::menubar): remove
4267 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4270 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4272 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4273 a bibitem inset in a RTL paragraph.
4275 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4277 * paragraph_pimpl.C: constify
4279 * BufferView_pimpl.C:
4281 * lyxfunc.C: fix dispatch in a nicer way
4283 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4285 * lyxfunc.C (dispatch):
4286 * BufferView_pimpl.C:
4287 * BufferView_pimpl.h:
4289 * BufferView.h: rename Dispatch() to dispatch()
4291 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4293 * lyxlayout.C (Read): honor DependsOn tag
4295 * lyxlayout.[Ch] (depends_on): new method
4297 * version.C.in: update lyx_docversion
4299 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4301 * paragraph.C (validate): remove from here...
4302 * paragraph_pimpl.C (validate): ... and move here
4303 (isTextAt): make it const
4305 * buffer.C (getLists): ws cleanup
4307 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4309 * language.C (read): Use iso8859-1 encoding in latex_lang
4310 (this prevents LyX from crashing when using iso10646-1 encoding).
4312 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4314 * text2.C (toggleInset): if cursor is inside an inset, close the
4315 inset and leave cursor _after_ it
4317 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4319 * lyxfunc.C: move minibuffer completion handling out of here
4321 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4323 * BufferView_pimpl.C:
4324 * LaTeX.C: fix dispatch calls
4326 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4328 * text.C (drawChars): Fix Arabic text rendering.
4330 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4334 * lyxfunc.C: remove message-push/pop
4338 * lyxfunc.C: rationalise some code by removing verboseDispatch
4339 in favour of a bool argument to dispatch()
4341 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4343 * lyx_main.C (init): make sure to read symlinks as absolute paths
4345 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4348 * lyxfunc.C: no need for commandshortcut to be a member
4350 2002-07-15 André Pönitz <poenitz@gmx.net>
4352 * converter.C: add support for $$s (scripts from lib/scripts dir)
4353 * lyx_main.C: white space
4355 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4359 * lyxrc.C: remove second exit confirmation
4361 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4366 * BufferView_pimpl.h:
4367 * BufferView_pimpl.C:
4368 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4370 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4372 * MenuBackend.C (expand): add numeric shortcuts to document menu
4374 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4376 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4378 * lyxfont.C (setLyXFamily):
4385 * buffer.C (asciiParagraph): use ascii_lowercase
4387 2002-07-15 Mike Fabian <mfabian@suse.de>
4389 * lyxlex_pimpl.C (search_kw):
4390 * lyxlex.C (getLongString):
4391 * converter.h (operator<):
4392 * converter.C (operator<):
4393 * buffer.C (parseSingleLyXformat2Token):
4395 * ToolbarDefaults.C (read):
4396 * MenuBackend.C (checkShortcuts):
4398 * LColor.C (getFromGUIName):
4399 (getFromLyXName): use the compare_ascii_no_case instead of
4400 compare_no_case, because in turkish, 'i' is not the lowercase
4401 version of 'I', and thus turkish locale breaks parsing of tags.
4403 2002-07-16 Angus Leeming <leeming@lyx.org>
4405 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4406 now takes a Buffer const & argument.
4408 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4410 * BufferView.C (resize): check there's a buffer to resize
4412 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4414 * lyxfunc.C: remove dead code
4417 * lyxserver.C: use lyx_guii::set_read_callback
4419 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4421 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4422 an inset in a RTL paragraph.
4424 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4426 * lyxfunc.C: repaint after a font size update
4428 2002-07-15 André Pönitz <poenitz@gmx.net>
4430 * lyxlength.C: inBP should be able to return negative values
4432 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4434 * lyxfunc.C: use lyx_gui::update_fonts()
4436 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4438 * lyxfunc.C: use lyx_gui::update_color()
4440 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4446 * lyxrc.C: remove file->new asks for name option, and let
4447 buffer-new take an argument
4449 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4451 * BufferView_pimpl.C: remove unneeded extra repaint()
4453 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4455 * LyXAction.C: allow command-sequence with NoBuffer
4457 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4459 2002-07-10 Angus Leeming <leeming@lyx.org>
4461 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4463 2002-07-09 Angus Leeming <leeming@lyx.org>
4465 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4467 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4469 * lengthcommon.h: whitespace
4471 * lyxfunc.C: update scrollbar after goto paragraph
4473 * lyxtext.h: factor out page break drawing, and fix it so
4474 page break/added space paints as selected nicely
4476 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4478 * BufferView_pimpl.C: add FIXMEs, clean up a little
4480 2002-07-09 André Pönitz <poenitz@gmx.net>
4482 * lyxfont.[Ch]: support for wasy symbols
4484 2002-07-08 André Pönitz <poenitz@gmx.net>
4486 * BufferView_pimpl.C: apply John's patch for #93.
4488 2002-07-05 Angus Leeming <leeming@lyx.org>
4490 * BufferView_pimpl.C (buffer): generate previews if desired.
4492 * LColor.h: add "preview" to the color enum.
4494 * LColor.C (LColor): add a corresponding entry to the items array.
4496 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4499 2002-07-05 Angus Leeming <leeming@lyx.org>
4501 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4502 The body of the code is now in the method that is passed an ostream &
4503 rather than a file name.
4504 Pass an additional only_preamble parameter, useful for the forthcoming
4507 2002-07-03 André Pönitz <poenitz@gmx.net>
4509 * lyxfunc.C: simplify getStatus() a bit for math stuff
4511 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4513 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4515 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4517 * text.C (changeRegionCase): do not change case of all the
4518 document when region ends at paragraph end (bug #461)
4520 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4522 * paragraph.C (startTeXParParams):
4523 (endTeXParParams): add \protect when necessary
4525 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4527 * BufferView_pimpl.C (workAreaExpose): remove warning
4529 2002-06-27 Angus Leeming <leeming@lyx.org>
4531 * Makefile.am: add lyxlayout_ptr_fwd.h.
4533 2002-06-26 André Pönitz <poenitz@gmx.net>
4535 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4537 2002-06-25 Angus Leeming <leeming@lyx.org>
4539 * lyxfunc.C (dispatch): Comment out the call to
4540 grfx::GCache::changeDisplay. The method no longer exists now that the
4541 pixmap generation part of the graphics loader has been moved into
4544 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4546 * text2.C: layout as layout
4548 * text.C: layout as layout
4550 * tabular.C (OldFormatRead): layout as layout
4552 * paragraph_pimpl.C (TeXDeeper): layout as layout
4553 (realizeFont): layout as layout
4555 * paragraph.C (writeFile): layout as layout
4556 (validate): layout as layout
4557 (getFont): layout as layout
4558 (getLabelFont): layout as layout
4559 (getLayoutFont): layout as layout
4560 (breakParagraph): layout as layout
4561 (stripLeadingSpaces): layout as layout
4562 (getEndLabel): layout as layout
4563 (getMaxDepthAfter): layout as layout
4564 (applyLayout): layout as layout
4565 (TeXOnePar): layout as layout
4566 (simpleTeXOnePar): layout as layout
4567 (TeXEnvironment): layout as layout
4568 (layout): layout as layout
4569 (layout): layout as layout
4571 * lyxtextclass.C (compare_name): new functor to work with
4572 shared_ptr, layout as layout
4573 (Read): layout as layout
4574 (hasLayout): layout as layout
4575 (operator): layout as layout
4576 (delete_layout): layout as layout
4577 (defaultLayout): layout as layout
4579 * lyxlayout_ptr_fwd.h: new file
4581 * lyxlayout.C (Read): layout as layout
4583 * lyx_cb.C (MenuInsertLabel): layout as layout
4585 * bufferlist.C (newFile): layout as layout
4587 * buffer.C (readLyXformat2): layout as layout
4588 (parseSingleLyXformat2Token): layout as layout
4589 (insertStringAsLines): layout as layout
4590 (asciiParagraph): layout as layout
4591 (latexParagraphs): layout as layout
4592 (makeLinuxDocFile): layout as layout
4593 (simpleLinuxDocOnePar): layout as layout
4594 (makeDocBookFile): layout as layout
4595 (simpleDocBookOnePar): layout as layout
4596 (getLists): layout as layout
4598 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4600 * CutAndPaste.C (cutSelection): layout as layout
4601 (pasteSelection): layout as layout
4602 (SwitchLayoutsBetweenClasses): layout as layout
4604 * BufferView_pimpl.C (Dispatch): layout as layout
4605 (smartQuote): layout as layout
4607 * BufferView2.C (unlockInset): layout as layout
4609 2002-06-24 André Pönitz <poenitz@gmx.net>
4611 * lyxfunc.C: fix #487
4613 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4617 * lyxfunc.C: remove display_shortcuts, show_banner
4619 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4621 * Buffer_pimpl.C: oops, update on resize
4623 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4630 * BufferView.C: use repaint()
4632 * BufferView_pimpl.h:
4633 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4634 as it's a clearer description. Remove superfluous
4637 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4639 * text.C: fix bug 488. Not ideal, but getting
4640 getWord() to work properly for the insets that
4641 matter is more difficult ...
4643 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4645 * BufferView_pimpl.C:
4648 * lyxfunc.C: remove the six million index lyxfuncs to just
4649 one, and DTRT (bug 458)
4651 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4655 * BufferView_pimpl.h:
4656 * BufferView_pimpl.C: clean up resize() stuff,
4657 and unnecessary updateScreen()s
4659 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4663 * BufferView_pimpl.h:
4664 * BufferView_pimpl.C:
4667 * minibuffer.C: remove focus management of workarea,
4668 not needed. Use screen's greyOut()
4670 2002-06-17 Herbert Voss <voss@lyx.org>
4672 * converter.C: (convert) do not post a message, when converting
4673 fails, let the calling function decide what to do in this case
4675 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4677 * lyxfunc.C: tidy up a little
4679 2002-06-16 <alstrup@diku.dk>
4681 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4682 Got rid of FORMS_H_LOCATION include. Now we are
4685 2002-06-15 LyX Development team <lyx@rilke>
4687 * buffer.[Ch] (sgmlOpenTag):
4688 (sgmlCloseTag): Added support for avoiding pernicious mixed
4689 content. Return number of lines written.
4692 (makeDocBookFile): Fixed calls to sgml*Tag.
4693 Simple white space clean.
4695 (simpleDocBookOnePar): Simple white space clean.
4697 * tabular.[Ch] (docBook): Renamed to docbook and got another
4698 argument to related with the pernicious mixed content.
4700 (docbookRow): Fixed calls for docbook inset method.
4702 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4704 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4705 so it's X11 independent.
4709 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4711 2002-06-15 Lyx Development team <lyx@electronia>
4713 * intl.h: Renamed getTrans to getTransManager.
4715 2002-06-14 Angus Leeming <leeming@lyx.org>
4717 * Makefile.am: nuke forgotten stl_string_fwd.h.
4719 2002-06-12 Angus Leeming <leeming@lyx.org>
4721 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4723 2002-06-13 Angus Leeming <leeming@lyx.org>
4726 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4728 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4730 * kbmap.C (getiso): add support for cyrillic and greek
4732 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4736 * BufferView_pimpl.h:
4737 * BufferView_pimpl.C: move bogus scrolling logic
4740 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4743 * BufferView_pimpl.C: view->resize() change
4745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4747 * BufferView_pimpl.C: topCursorVisible
4750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4754 * lyx_gui.C: move to frontends/
4758 * lyx_main.C: changes from above
4760 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4767 * lyx_main.C: minor tidy
4769 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4771 * BufferView_pimpl.h:
4772 * BufferView_pimpl.C:
4774 * BufferView.C: make painter() const,
4777 * BufferView2.C: use screen() accessor
4780 * lyx_main.C: some minor cleanup
4782 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4784 * BufferView_pimpl.h:
4785 * BufferView_pimpl.C: remove enter/leaveView,
4788 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4793 * BufferView_pimpl.h:
4794 * BufferView_pimpl.C: only construct screen once,
4797 * lyxrc.C: remove pointless comment
4799 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4802 * BufferView.C: remove active() and belowMouse()
4804 * BufferView_pimpl.h:
4805 * BufferView_pimpl.C: use workarea() not workarea_,
4806 and make it use a scoped_ptr instead
4808 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4810 * lyx_gui.C: add debug message on BadWindow
4812 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4814 * sp_spell.C: fdopen is not part of the C++ standard.
4816 * paragraph.C (InsetIterator): use >= instead of ==
4818 2002-06-07 Angus Leeming <leeming@lyx.org>
4820 Fixes needed to compile with Compaq cxx 6.5.
4821 * BufferView_pimpl.C:
4828 * lyxtextclasslist.C:
4833 all c-library variables have been moved into namespace std. Wrap
4834 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4839 Add a using std::abs declaration.
4841 * kbmap.h (modifier_pair):
4842 * paragraph.h (InsetTable, InsetList):
4843 * lyxfont.h (FontBits):
4844 type definition made public.
4846 * bufferlist.C (emergencyWriteAll): the compiler complains that
4847 there is more than one possible lyx::class_fun template to choose from.
4848 I re-named the void specialisation as lyx::void_class_fun.
4850 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4852 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4853 the compiler is is unable to find tostr in write_attribute.
4855 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4857 * buffer.C (sgmlError): hide #warning
4859 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4861 * xtl/*: get rid of xtl, which is not in use anyway
4863 * LyXAction.C (init):
4864 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4865 were unimplemented xtl experimentation
4867 2002-06-04 André Pönitz <poenitz@gmx.net>
4869 * lyxfunc.C: disable array operation on simple formulae
4871 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4873 * converter.C: constify a bit
4875 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4877 * lyx_gui.C: check xforms version correctly
4879 2002-04-30 Herbert Voss <voss@lyx.org>
4881 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4884 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4886 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4887 attempt to register it with a VCS)
4889 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4891 * lyx_main.C (init): honor variables LYX_DIR_13x and
4894 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4898 * lyx_main.C: fix a crash on bad command line,
4899 and give a useful exit status on error
4901 * lyxfunc.C (doImport): allow -i lyx to work
4903 2002-03-30 André Pönitz <poenitz@gmx.net>
4905 * lyxfunc.C: mathed font changes
4907 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4922 * trans_mgr.h: srcdocs, and some minor cleanups
4924 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4926 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4927 call getFont all the time)
4929 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4931 * switch from SigC signals to boost::signals
4933 2002-05-29 André Pönitz <poenitz@gmx.net>
4935 * paragraph_pimpl.C (getChar): don't call size() too often...
4937 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4939 * paragraph_pimpl.C (insertChar): do not try to update tables when
4940 appending (pos == size())
4942 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4943 in order to reduce drastically the number of comparisons needed to
4944 parse a large document
4946 2002-05-29 André Pönitz <poenitz@gmx.net>
4952 * textclasslist.[Ch]:
4953 * sp_ispell.h: whitespace change
4955 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4957 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4958 lyxaction directly now.
4960 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4964 * lyxvc.C: remove unused headers
4966 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4973 * undo_funcs.C: some cleanups. Use shared_ptr
4974 and a template for the undo stacks.
4976 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4978 * BufferView_pimpl.h:
4979 * BufferView_pimpl.C:
4986 * text2.C: use key_state/mouse_state
4988 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4990 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4993 * chset.C: change include order
4994 (loadFile): use boost regex and get rid of LRegex and LSubstring
4996 * Makefile.am (BOOST_LIBS): new variable
4999 * LaTeX.C: change include order.
5000 (scanAuxFile): use boost regex and get rid of LRegex and
5004 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5009 * FontInfo.C: moved to frontends/xforms/
5012 * FontLoader.C: moved into frontends for GUIIzation
5017 * lyxfunc.C: changes from above
5019 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5021 * LColor.C: remove spurious X include
5023 * BufferView_pimpl.C:
5028 * text2.C: move font metrics to frontends/
5030 2002-05-24 Juergen Vigna <jug@sad.it>
5032 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5033 setting the undo_cursor.
5035 * ParagraphParameters.h: include local includes first.
5037 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5039 * BufferView_pimpl.C:
5040 * BufferView_pimpl.h:
5044 * screen.C: move WorkArea into frontends/
5050 * BufferView2.C: move LyXScreen into frontends/
5054 * lyx_gui.C: move lyxlookup into frontends/xforms/
5056 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5059 * BufferView_pimpl.C:
5069 * bufferview_funcs.C:
5082 * vc-backend.C: move LyX/XFormsView into frontends/
5084 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5096 * text2.C: move Painter to frontends/
5098 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5100 * buffer.C: comment out some some code that depend upon lyx_format
5103 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5104 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5106 * buffer.h (NO_COMPABILITY): turn off compability
5108 * ColorHandler.C: include scoped_array.hpp
5110 * font.C: Use more specific smart_ptr header.
5113 * ShareContainer.h: ditto
5117 * BufferView_pimpl.h: ditto
5118 * ColorHandler.h: ditto
5120 * kbmap.C (defkey): change call to shared_ptr::reset
5122 2002-05-21 Juergen Vigna <jug@sad.it>
5124 * buffer.C (insertErtContents): fix to insert ert asis if it is
5125 non empty. Skip it completely if it contains only whitespaces.
5127 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5129 * BufferView_pimpl.C:
5130 * BufferView2.C: clear selection on paste (bug 393)
5132 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5134 * DepTable.C: include ctime
5136 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5138 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5140 2002-05-14 Juergen Vigna <jug@sad.it>
5142 * text.C (breakParagraph): fixed function to honor the keepempty
5143 layout in the right maner and also to permit the right breaking
5144 algorithm on empty or non empyt keepempty paragraphs.
5146 * paragraph.C (breakParagraph): we have to check also if the par
5147 is really empty (!size()) for isempty otherwise we do the wrong
5150 2002-05-10 Juergen Vigna <jug@sad.it>
5152 * buffer.[Ch] : The following are only changes to the ert
5153 compatibility read reading old LaTeX layout and font stuff and
5154 convert it to ERTInsets.
5156 * buffer.h: added isErtInset().
5158 * buffer.C (struct ErtComp): add a fromlayout bool to check
5159 if we're inside a LaTeX layout.
5160 (isErtInset): new helper function.
5161 (insertErtContents): look for other ert insets before this one
5162 and insert the contents there, so that we don't have subsequent
5163 ERT insets with nothing between them. This way we create only one
5164 inset with multiple paragraphs. Also check if we don't insert only
5165 spaces ' ' as they are ignored anyway afterwards in the .tex file
5166 so if we have only spaces we will ignore this latex part in the
5168 (parseSingleLyXformat2Token \\layout): better compatibility when
5169 reading layout-latex stuff.
5170 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5172 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5173 stuff after reading the inset only get the information back from
5176 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5178 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5180 * LaTeXFeatures.C (getBabelOptions): New method.
5182 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5184 * BufferView_pimpl.C (Dispatch): work around missing argument for
5187 2002-05-08 Juergen Vigna <jug@sad.it>
5189 * text.C (leftMargin): handle paragraph leftindent.
5191 * paragraph.C (writeFile): write the new \\leftindent tag.
5192 (validate): handle leftindent code.
5193 (TeXEnvironment): handle paragraphleftindent code again.
5195 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5197 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5198 for paragrap_extra indent code and new token \\leftindent.
5199 (latexParagraphs): handle the leftindent as environment.
5201 * ParameterStruct.h: added leftindent support.
5203 * ParagraphParameters.C (leftIndent): added support functions for
5204 the paragraph left indent.
5206 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5209 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5211 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5214 * text.C (computeBidiTables): No bidi in insetERT.
5216 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5219 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5221 * version.C.in: pre 5
5223 2002-05-02 José Matos <jamatos@fep.up.pt>
5224 * buffer.C (makeDocBookFile): white space changes, add newline to
5226 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5228 * tabular.C (docBook): fix typo.
5230 2002-05-03 Juergen Vigna <jug@sad.it>
5232 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5233 change in LyXText as we can not be sure it was not freed.
5234 (drawOneRow): remove unused code.
5236 * text.C (drawInset): redo the calculation of the need_break_row as
5237 it could have a row which was already freed.
5238 (draw): look at the return value of drawInset and return false if
5239 it also returned false.
5240 (paintRowText): look at the return value of draw and return false if
5241 it also returned false.
5243 * lyxtext.h: added bool return type to drawInset() and draw() so that
5244 if we have a change in the row so that the rowbreak has to be redone
5245 we abort drawing as it will be called again.
5247 2002-05-02 Juergen Vigna <jug@sad.it>
5249 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5250 a change in the maintext also if we're inside an inset.
5251 (Dispatch): set the cursor again after a break line and after the
5252 screen has been updated as it could be we're in a different row.
5254 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5255 to set the cursor behind the pargraph with > size().
5256 (setCursor): check also for the same paragraph when checking where
5257 to put the cursor if we have a NFR inset.
5259 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5260 parts of layout read further up as it still was in the wrong
5263 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5265 * screen.C (drawFromTo): change sine fullRebreak always return
5268 * buffer.C (parseSingleLyXformat2Token): reindent some
5270 * BufferView_pimpl.C (update): change since fullRebreak always
5272 (Dispatch): git rid of the last hardcoded "Standard"s.
5274 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5276 * text2.[Ch] (fullRebreak): make it return void now that we always
5279 2002-04-30 Juergen Vigna <jug@sad.it>
5281 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5282 ert compatibility check for "latex" layout.
5284 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5286 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5287 minipages: use col% instead of p%, and also use the current font.
5288 (makeLaTeXFile): Fix use babel condition.
5289 (parseSingleLyXformat2Token): Correct font when reading old floats.
5291 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5293 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5294 inserting list of floats.
5296 2002-04-25 Herbert Voss <voss@lyx.org>
5298 * MenuBackend.C (expand): don't add the graphics extensions to the
5301 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5303 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5304 non-existing layout, do not complain if it was the default layout
5305 of the original class (bug #342)
5307 2002-04-24 Juergen Vigna <jug@sad.it>
5309 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5310 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5312 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5314 * buffer.C (getBibkeyList): If using \bibliography, return the
5315 option field with the reference itself. Enables us to provide natbib
5316 support when using \bibliography.
5318 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5320 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5322 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5323 natbib is provided by the LaTeX class.
5325 2002-04-23 Juergen Vigna <jug@sad.it>
5327 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5330 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5332 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5334 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5336 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5337 ensuremath around textordmasculine, textordfeminine and
5340 2002-04-19 Juergen Vigna <jug@sad.it>
5342 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5343 reinitializing the buffer otherwise row-dimensions may be wrong.
5344 (update): reset also the selection cursors if they do exits otherwise
5345 their x/y positions may be wrong.
5347 * text2.C (cursorDown): don't enter the inset if we came from a row
5348 above and are one row over the inset.
5350 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5351 really leaving an inset.
5353 2002-04-18 Juergen Vigna <jug@sad.it>
5355 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5356 of the selected paragraph does not have the selected layout also if
5359 * text2.C (setLayout): fixed bug which did not change last selected
5362 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5363 changed the read and substituted \\end_float with \\end_inset!
5365 * BufferView_pimpl.C (cursorPrevious):
5366 (cursorNext): fixed to make it work with rows heigher than the work
5367 area without moving the cursor only the draw of the row.
5368 (workAreaMotionNotify): fix jumping over high rows.
5370 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5372 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5375 2002-04-16 Juergen Vigna <jug@sad.it>
5377 * text2.C (setCursor): set also the irow().
5378 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5380 (cursorDown): support for locking an inset if the x_fix value goes
5381 inside it. That way I can transverse insets too with cursor up/down.
5383 * lyxrow.h: added irow helper function same as other (i) functions.
5385 * BufferView_pimpl.C (cursorPrevious):
5386 (cursorNext): fixed for insets!
5388 2002-04-15 Juergen Vigna <jug@sad.it>
5390 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5391 position otherwise it is wrong in some cases.
5393 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5394 inside the inset before the call.
5396 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5398 * buffer.[Ch] (getBibkeyList): make it const.
5400 2002-04-12 Juergen Vigna <jug@sad.it>
5402 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5404 * text2.C (getCursorX): new helper function
5405 (setCursor): compute also ix_
5406 (setCursorFromCoordinates): set also ix.
5408 * lyxcursor.h: added ix_ and helper functions.
5410 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5412 * buffer.C (insertStringAsLines): dont break paragraph if the this
5413 paragraph is inside an inset which does not permit it!
5415 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5416 also with no chars on this paragraph.
5417 (paintRowText): only paint stuff if it's inside the workarea!
5419 * paragraph.C (breakParagraph): honor keepempty flag and break the
5420 paragraph always below not above.
5422 * BufferView2.C (unlockInset): update the paragraph layout on inset
5423 unlock as we changed paragraph in such a case.
5425 * lyxfind.C (LyXFind): clear the former selection if not found!
5427 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5428 again called in insertChar().
5430 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5431 an inset which uses the whole row!
5432 (rightMargin): ditto.
5433 (insertChar): force a rebreak if we inserted an inset!
5435 2002-03-28 Herbert Voss <voss@lyx.org>
5437 * lyxlength.[Ch]: add inBP() to get the right PS-point
5438 units (BigPoint). With inPixels we have rounding errors
5440 2002-04-11 Juergen Vigna <jug@sad.it>
5442 * text2.C (setCursorFromCoordinates): set iy to the right value.
5443 (setCursor): add check if row->previous exists!
5445 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5446 an old float_type as this was the case in the old code!
5448 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5450 * BufferView2.C (showLockedInsetCursor): use iy
5451 (fitLockedInsetCursor): ditto
5453 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5454 locked insets as there we have the right value now.
5456 * lyxcursor.C: added iy_ variable and iy functions to set to the
5457 baseline of cursor-y of the locked inset.
5459 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5460 (setCursor): fixed for insets which need a full row.
5462 * text.C (rowLastPrintable): don't ignore the last space when before
5463 an inset which needs a full row.
5464 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5465 as last character of a row when before a inset which needs a full row.
5467 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5469 * version.C.in: update date
5471 * text2.C (fullRebreak): try to always return true and see what
5474 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5476 * MenuBackend.C (expand): use Floating::listName
5478 * FloatList.C (FloatList): add listName argument to the built-in
5481 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5482 text associated with the float.
5484 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5486 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5488 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5490 * ShareContainer.h: add a couple of missing typenames.
5492 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5494 * lyxrc.C (getDescription): use _() correctly rather than N_().
5496 2002-03-28 Herbert Voss <voss@lyx.org>
5498 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5499 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5501 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5503 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5504 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5506 2002-03-29 Juergen Vigna <jug@sad.it>
5508 * lyxfunc.C (dispatch): add a missing fitCursor call.
5510 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5511 it was scrolled by a cursor move, so return the bool status.
5513 * BufferView.C (fitCursor): return the bool flag also to the outside
5514 world as this is needed.
5516 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5518 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5519 call the edit() as it is not needed (and wrong) IMO.
5520 (workAreaButtonPress): set the screen_first variable before evt.
5521 unlock the inset as this may change screen_first and then we have
5522 a wrong y position for the click!
5524 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5526 * MenuBackend.C (expand): another translation that I missed
5528 2002-03-28 Juergen Vigna <jug@sad.it>
5530 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5532 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5534 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5536 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5538 * MenuBackend.C (expand): fix export/view/update when there is no
5541 2002-03-27 Herbert Voss <voss@lyx.org>
5543 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5546 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5548 * bufferview_funcs.C (currentState): only show paragraph number
5549 for is DEVEL_VERSION is set.
5551 * lyxfunc.C (dispatch): put warning in INFO channel
5553 * MenuBackend.C (expand): translate the name of floats
5555 * FloatList.C (FloatList): mark the float names for translation
5557 * converter.C (convert): use LibScriptSearch
5559 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5561 * MenuBackend.C (defaults): fix default menu (we might as well get
5564 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5566 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5569 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5571 * lyxvc.C: reorder includes.
5573 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5575 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5578 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5580 * CutAndPaste.C: change layouts earlier on paste
5581 to avoid crashing when calling getFont()
5583 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5585 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5588 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5590 * WorkArea.C: remove 'Pending' debug message.
5592 * most files: ws cleanup
5594 * buffer.[Ch]: ws changes
5596 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5598 2002-03-21 Juergen Vigna <jug@sad.it>
5600 * tabular.C (SetMultiColumn): collapse also the contents of the
5601 cells and set the last border right. Added a Buffer const * param.
5603 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5605 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5608 2002-03-19 Juergen Vigna <jug@sad.it>
5610 * text2.C (clearSelection): reset also xsel_cache.
5612 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5613 where it needs to be called (John tells us to do so too :)
5614 (selectionLost): reset sel_cache.
5616 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5618 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5620 * text2.C (setCursorIntern): put debuging code in INSETS channel
5622 2002-03-19 André Pönitz <poenitz@gmx.net>
5624 * lyxfunc.C: tiny whitespace change
5626 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5628 * ToolbarDefaults.C (init):
5629 * LyXAction.C (init):
5631 * BufferView_pimpl.C (Dispatch):
5632 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5634 2002-03-19 Allan Rae <rae@lyx.org>
5636 * exporter.C (Export): removeAutoInsets before doing anything else.
5637 While I've just introduced a dependency on BufferView this really is
5638 the best place to clean the buffer otherwise you need to cleanup in
5639 a dozen places before calling export or cleanup in a dozen functions
5642 * converter.C (runLaTeX):
5643 (scanLog): Better handling of removeAutoInsets and screen updates.
5645 * lyxfunc.C (dispatch): small whitespace changes
5647 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5649 * WorkArea.C (C_WorkAreaEvent): return a value.
5650 (event_cb): return 1 if we handled the event, 0 otherwise.
5652 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5654 2002-03-18 Juergen Vigna <jug@sad.it>
5656 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5657 (GetAdditionalWidth): ditto.
5661 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5662 inset if we're there actually (probably not used right now but this
5663 is the direction to go for unifying code).
5664 (paste): disable code to clear the selection.
5666 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5667 inside an InsetText and move the check further up as it is in the
5670 * text2.C (pasteSelection): set a selection over the pasted text.
5672 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5674 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5675 and libgraphics to build on Cygwin.
5677 2002-03-15 Juergen Vigna <jug@sad.it>
5679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5680 inserting an Inset into the paragraph. I know this is not the best
5681 fix but we already use current_view in CutAndPaste so we will remove
5682 all of it's using at the same time.
5684 * buffer.C (sgmlError): deactivated function till it is rewritten in
5685 the right mode, now it can create problems.
5687 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5688 before accessing it.
5690 2002-03-14 Juergen Vigna <jug@sad.it>
5692 * undo_funcs.C (textHandleUndo): do the right thing when updating
5693 the inset after the undo/redo.
5695 * text2.C (setCursor): just some testcode for #44 not ready yet.
5697 * undo_funcs.C (textHandleUndo): set the next() and previous()
5698 pointers of the paragraph to 0 before deleting otherwise we have
5699 problems with the Paragraph::[destructor].
5701 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5702 on a paragraph insertion.
5704 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5706 * buffer.C (asciiParagraph): use += operator for char append to
5709 * paragraph.C (getFontSettings): compare >= not just >
5710 (highestFontInRange): ditto
5713 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5715 * paragraph.C: change several algorithm to be more appripriate for
5716 the problem domain. This is lookip in FontList and in the InsetList.
5718 2002-03-13 André Pönitz <poenitz@gmx.net>
5721 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5723 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5728 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5730 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5732 * Painter.C (display): anon helper function, adjust code for this
5734 (pixmap): remove function.
5736 * Painter.h: remove private display variable.
5738 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5740 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5742 * WorkArea.[Ch]: remove figinset_canvas cruft.
5744 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5746 * lyxtextclass.C (operator): add one item cache optimization.
5748 * bufferlist.h: doxy changes
5750 * bufferlist.C: ws changes
5752 * DepTable.[Ch] (ext_exist): place const in the right spot.
5754 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5756 (workAreaExpose): call resizeInsets when the with BufferView changes.
5757 (Dispatch): adjust for protectedBlank removal
5758 (specialChar): call updateInset if the insert went ok.
5760 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5761 specialChar instead.
5763 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5765 * BufferView.h: doxy change
5767 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5769 * lyxtextclass.C (operator[]): remove non-const version
5770 (defaultLayout): remove non-const version
5772 2002-03-12 Juergen Vigna <jug@sad.it>
5774 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5775 did resize the LyXText too.
5777 * buffer.C (readLyXformat2): set layout information on newly allocated
5780 * tabular.C (OldFormatRead): set layout information on the paragraph.
5782 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5784 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5786 2002-03-11 Juergen Vigna <jug@sad.it>
5788 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5790 (resizeCurrentBuffer): force also the insets to resize themselfes.
5791 (moveCursorUpdate): fixed up for InsetText.
5793 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5796 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5797 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5798 value of Dialogs::tooltipsEnabled().
5799 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5801 2002-03-08 Juergen Vigna <jug@sad.it>
5803 * BufferView_pimpl.C (updateInset): update inset inside inset also
5804 if it isn't inside theLockingInset().
5806 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5808 * buffer.C (asciiParagraph): redo some of the word and line length
5810 (getLists): look for Caption instead of caption.
5812 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5814 * buffer.C (Buffer): initialize niceFile to true
5817 (makeDocBookFile): make sure niceFile is true on exit
5819 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5821 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5823 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5825 * LyXSendto.C: remove.
5826 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5827 * lyx_gui.C: remove now-redundant comment.
5828 * ColorHandler.h: remove forward declaration of class WorkArea.
5829 * lyxfunc.C: remove #include "WorkArea.h".
5831 2002-03-07 Juergen Vigna <jug@sad.it>
5833 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5834 got moved away with the DEPM and also set the inset_owner always
5835 right which before could have been omitted.
5837 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5839 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5840 wanted layout is not found.
5842 2002-03-07 Juergen Vigna <jug@sad.it>
5844 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5846 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5848 * paragraph.C (breakParagraph): use default layout not layout of
5850 (Paragraph): clear ParagraphParameters.
5852 2002-03-06 Juergen Vigna <jug@sad.it>
5854 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5855 otherwise it would not be a valid lenght. Fixed a special case in
5856 the minipage compatibility read where we end the document with a
5859 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5860 was set as it could be 0 for InsetTexts first entry.
5862 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5864 * paragraph.C (writeFile): if layout is empty write out
5865 defaultLayoutName().
5867 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5868 file without named layout we set layout to defaultLayoutName().
5870 2002-03-06 Juergen Vigna <jug@sad.it>
5872 * CutAndPaste.C (copySelection): set layout for new paragraph.
5874 * text.C (prepareToPrint): leave ERT inset left aligned
5875 (leftMargin): don't indent paragraphs inside ERT insets
5877 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5879 * paragraph.C (breakParagraph): dont call clear do the work manually
5881 * paragraph.[Ch] (clear): remove function
5883 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * paragraph.C (Paragraph): dont call clear, the work has already
5888 * lyxtextclass.C (operator): assert if n is empty
5890 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5891 work manually instead.
5893 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5895 * BufferView_pimpl.C: protect selectionLost against text == 0
5897 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5899 * text.C (breakParagraph): fix a setting layout to '0' problem.
5901 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5903 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5904 final location of file, for the included files, and graphics.
5906 2002-03-05 Juergen Vigna <jug@sad.it>
5908 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5910 2002-03-04 Juergen Vigna <jug@sad.it>
5912 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5914 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5915 last column of multicolumn cells.
5916 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5918 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5920 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5921 file if it doesn't go to a temporary file.
5923 * buffer.C (sgmlOpenTag):
5924 (sgmlCloseTag): remove extra newline insertion.
5926 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5928 * text.C (getRowNearY): comment out debug msg
5930 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5932 * text2.C: first -> first_y
5934 * text.C (getRowNearY): add some attemts at a possible
5935 optimization, not working.
5937 * tabular.[Ch]: add BufferParams to several function so that newly
5938 created paragraph can be initialized to he default layotu for the
5941 * tabular-old.C (ReadOld): add buf->params to call of Init
5943 * screen.C: rename text->first to text->first_y
5945 * paragraph.C (breakParagraph): always set layout in the broken
5948 * lyxtextclass.C (Read): remove lowercase
5951 (delete_layout): ditto
5953 * lyxtext.h: rename first -> first_y
5955 * lyxlayout.C (Read): remove lowercase
5958 (obsoleted_by): ditto
5960 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5962 * buffer.C (insertErtContents): add params are to InsetERT
5963 (parseSingleLyXformat2Token): add code to check if a paragraphs
5964 layout really exist.
5965 (parseSingleLyXformat2Token): add params to several inset
5967 (asciiParagraph): remove lowercase, do the layout comparisons with
5970 * BufferView_pimpl.C (cursorNext): first -> first_y
5971 (resizeCurrentBuffer): first -> first_y
5972 (updateScrollbar): first -> first_y
5973 (scrollCB): first -> first_y
5974 (workAreaMotionNotify): first -> first_y
5975 (workAreaButtonPress): first -> first_y
5976 (checkInsetHit): first -> first_y
5977 (cursorPrevious): first -> first_y
5978 (cursorNext): first -> first_y
5979 (Dispatch): add buffer_->params to severl inset contructors
5981 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5983 * lyxlayout.C (Read): remove some debug info that I forgot.
5985 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5986 clean up the code slightly.
5987 (makeLinuxDocFile): ditto
5988 (makeDocBookFile): ditto
5990 * text2.C: layout as string
5992 * text.C: layout as string
5994 * paragraph_pimpl.C: layout as string
5996 * paragraph.[Ch]: layout as string
5998 * lyxtextclasslist.[Ch]: layout as string
6000 * lyxtextclass.[Ch]: layout as string
6002 * lyxtext.h: layout as string
6004 * lyxlayout.[Ch]: layout as string
6006 * lyx_cb.C: layout as string
6008 * bufferview_funcs.C: layout as string
6010 * bufferparams.C: layout as string
6012 * buffer.C: layout as string
6014 * LyXView.[Ch]: layout as string
6016 * LaTeXFeatures.[Ch]: layout as string
6018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6020 * BufferView_pimpl.C: change current_layout to string, remove
6025 (workAreaButtonRelease): layout as string
6027 * BufferView2.C (unlockInset): adjust
6029 * vspace.C (asLatexCommand): use an explict temp variable.
6031 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6033 * Makefile.am: use FRONTEND_*
6035 2002-03-01 Juergen Vigna <jug@sad.it>
6037 * tabular.C (SetWidthOfMulticolCell): changed to something better
6038 I hope but still work in progress.
6039 (recalculateMulticolumnsOfColumn): renamed function from
6040 recalculateMulticolCells as it is more appropriate now.
6041 (SetWidthOfCell): calculate multicols better.
6043 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6045 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6047 * lyxfunc.C (processKeySym): print sequence also if it is
6048 `deleted' (complete)
6050 * kbsequence.C (print): print sequence even if it is deleted
6051 (complete would be a better word, actually).
6053 * lyxfunc.C (dispatch): print complete options after a prefix key
6055 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6057 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6059 * text2.C (setCharFont): eliminate setCharFont code duplication.
6061 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6063 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6064 LFUN_TABULAR_FEATURE (bug #177)
6066 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6068 * Makefile.am: remove figure.h
6070 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6072 * Bufferview_pimpl.C:
6084 * text2.C: remove #include "lyx_gui_misc.h".
6086 * LaTeX.C: added #include <cstdio>
6088 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6090 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6091 that the paragraph following this one can have.
6093 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6095 * vspace.C (asLatexCommand): fix bogus gcc warning
6097 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6099 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6101 * text2.C (setLayout): get rid of redundant code
6103 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6105 * text2.C (incDepth): make sure depth cannot be increased beyond
6108 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6110 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6111 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6113 * PainterBase.h (image):
6114 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6117 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6121 * BufferView_pimpl.C:
6122 * BufferView_pimpl.h:
6142 * sp_spell.C: remove fig inset, and the crap house of
6143 cards that follows it
6145 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6151 * nt_defines.h: move .h into support/
6153 * vms_defines.h: remove
6155 * WorkArea.C: add space in debug output
6159 * buffer.C: add WITH_WARNINGS
6163 * bufferlist.C: s/retrive/retrieve/, add docs
6174 * lyxgui.C: add ID to X error handler
6176 * lyxtestclass.c: fix typo
6178 2002-02-26 Juergen Vigna <jug@sad.it>
6180 * tabular_funcs.C (write_attribute): changed so that some default
6181 attributes are not written at all.
6182 (getTokenValue): set default values before trying to read the
6183 value so we have the return value always set as default if we don't
6184 find the token we search for.
6186 * tabular.C (Write): write bools as bools not as strings!
6188 2002-02-22 Juergen Vigna <jug@sad.it>
6190 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6191 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6193 * text.C (leftMargin): don't add an indent for paragraphs inside
6194 tabular cells (fix #208).
6196 2002-02-21 José Matos <jamatos@fep.up.pt>
6198 * tabular.C (docBook): fixed support for long tables.
6200 2002-02-20 Juergen Vigna <jug@sad.it>
6202 * text2.C (getFont): get the drawing font of the Inset if this
6203 paragraph is inside an inset (only important for InsetERT for now).
6205 * buffer.C (insertErtContents): use new lanugage params in ERT
6208 * CutAndPaste.C: commenting out seemingly uneeded code.
6210 2002-02-19 Allan Rae <rae@lyx.org>
6212 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6213 Iterators might be simple to use but they also get invalidated.
6214 (removeAutoInsets): renamed saved cursor tracking variables and added
6215 some comments to clarify what everything does.
6217 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6224 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6225 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6228 * vc-backend.h: remove #include "support/syscall.h"
6232 * converter.C: rearrange #includes in Lars' approved fashion.
6234 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6235 forward declare class Timeout in the header file.
6237 * XFormsView.C: changes due to the above.
6239 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6242 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6243 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6245 2002-02-18 José Matos <jamatos@fep.up.pt>
6247 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6250 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6252 * a lot of small ws changes
6253 * add a lot of using std::XXX
6254 * use std construcs some places where approp.
6255 * use some exisint stuff from lyxfunctional where approp.
6256 * Make file changes to use partial linking (lets test this now...)
6258 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6262 remove #include "support/syscontr.h" as it's redundant. Always has been.
6270 change Systemcalls::System to Systemcalls::Wait and
6271 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6272 No change of functionality, just reflects the stripped down Systemcalls
6275 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6277 * debug.[Ch]: add a GRAPHICS type to the enum.
6279 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6281 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6283 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6286 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6288 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6289 match the changes below.
6291 * text2.C (toggleInset): if there is not editable inset at cursor
6292 position, try to see if cursor is _inside_ a collapsable inset
6295 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6297 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6298 document menu has a nice checkbox
6300 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6302 * lyxlength.C (asLatexString): change PW to output as percent of
6305 * lengthcommon.C: change '%' to 't%'
6307 * lyxfunc.C (dispatch): a few comments from Martin
6309 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6313 * BufferView_pimpl.h:
6314 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6317 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6319 * vspace.C (inPixels): fix compiler warning
6321 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6323 * lyxfunc.C (getStatus): fix status message for disabled commands.
6325 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6327 * BufferView_pimpl.C: fix crash on close buffer
6328 during selection (#227)
6330 2002-01-27 Herbert Voss <voss@lyx.org>
6332 * buffer.C: link old Figure to new graphic inset
6334 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6336 * FontLoader.C (getFontinfo): Change the latex font names in order
6337 to match the names of type1inst.
6339 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6343 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6346 (remove_files_with_extension): ditto
6347 (remove_file): ditto
6350 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6351 document is smaller than the work area height. Do not initialize
6352 static variables to 0.
6354 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6356 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6358 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6359 LFUN_LAYOUT_PARAGRAPHS.
6361 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6362 tabular. It is possible to provide a possible cell, which will
6363 typically be the actcell from the corresponding insettabular
6365 * lyxfunc.C (getStatus): small cleanup; disable
6366 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6369 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6371 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6373 * paragraph.C (startTeXParParams):
6374 (endTeXParParams): new methods. The LaTeX code to
6375 start/end paragraph formatting
6376 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6377 empty (fixes bug #200)
6379 * vspace.C (inPixels): adapt to the change below
6380 (inPixels): [later] more cleanups (remove unused variables)
6382 * lyxlength.C (inPixels): change to use a width and a height as
6385 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6387 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6388 Replaced with \paperwidth
6390 * DepTable.C (insert): add std:: qualifier
6392 2002-01-18 Allan Rae <rae@lyx.org>
6394 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6397 * text.C (drawInset): Turned out I didn't know enough about how
6398 rebreaking worked. This fixes most of the redraw problems. I see
6399 an occasional cursor trail when a line is broken now and the cursor
6400 placement can seem out by a few pixels also after a rebreak.
6402 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6404 * buffer.C (parseSingleLyXformat2Token): update because minipage
6405 width is now a LyXLength
6407 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6409 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6412 2002-01-17 Juergen Vigna <jug@sad.it>
6414 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6416 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6417 is set correctly and the inset is updated correctly.
6419 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6421 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6422 the beginning of the loop.
6424 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6426 * lyxrc.C: improve help for use_scalable_fonts
6428 2002-01-17 Allan Rae <rae@lyx.org>
6430 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6432 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6434 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6435 make sure to set their inset_owner to the right value (bug #171)
6437 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6440 * DepTable.C: Implement mtime checking to reduce time spent doing
6443 2002-01-16 Juergen Vigna <jug@sad.it>
6445 * tabular.C (GetAdditionalHeight): one of error fixed.
6447 * lyxrc.C (output): small fix in writing use_pspell.
6449 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6451 * sp_base.h: #include LString.h
6453 2002-01-16 Allan Rae <rae@lyx.org>
6455 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6456 Can someone check this please?
6458 * text.C (drawInset): It was possible that p.row would be removed by
6459 breakAgainOneRow upsetting a few other settings. There may be another
6460 small tweak possible by setting need_break_row = 0 when p.row has been
6461 removed but I don't know enough about the logic here.
6463 2002-01-15 Allan Rae <rae@lyx.org>
6465 * text.C (insertChar): removed conditional truism.
6467 * BufferView2.C (removeAutoInsets): More tweaks.
6468 cur_par_prev could be a stray pointer. Check for trailing empty line
6469 in case last line was cur_par and only had an error inset on it.
6471 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6473 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6476 * vc-backend.C (most methods):
6477 * exporter.C (Export):
6478 * converter.C (convert):
6480 * LyXSendto.C (SendtoApplyCB):
6481 * lyxfunc.C (dispatch):
6485 * lyx_cb.C (AutoSave):
6487 * BufferView_pimpl.C (MenuInsertLyXFile):
6488 * buffer.C (runChktex): use Buffer::filePath().
6490 * buffer.h: rename filename to filename_; rename filepath to
6491 filepath_ and make it private
6492 (filePath): new method
6494 * buffer.C (writeFile): use fileName()
6497 * lyx_main.C (init): fix starting of LyX when the binary is a
6498 link from so,ewhere else.
6500 * minibuffer.C: include <cctype> for isprint
6502 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6504 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6505 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6506 name clash with InsetCollapsable's width function.
6508 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6510 * lastfiles.C: include <iterator>
6512 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6514 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6517 * buffer.C (makeLaTeXFile): ditto.
6518 Also make loop operation more transparent.
6520 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6522 * ToolbarDefaults.C: remove trailing comma closing namespace.
6524 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6526 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6529 * trans.C (Load): comment out unused variable, allowed.
6531 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6533 * minibuffer.[Ch] (append_char): new method to recieve input from the
6534 drop-down completion browser. If a key was pressed, then recieve this
6535 char and append it to the existing string.
6536 (peek_event): modify the positioning data passed to the completion
6537 browser so that it can be placed above the minibuffer rather than below.
6538 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6540 * LyXAction.C (init): alloe error-next for readonly documents.
6542 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6545 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6547 * bufferlist.C (readFile): create the buffer _after_ checking that
6550 * lyxfunc.C (verboseDispatch): fix handling of arguments
6552 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6554 * lyxrc.C: use string::erase() instead of initializing to "".
6557 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6559 * BufferView_pimpl.h:
6560 * BufferView_pimpl.C:
6563 * text2.C: tell X when we have made a selection for copying
6565 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6567 * BufferView_pimpl.C (MenuInsertLyXFile):
6568 * lyxfunc.C (menuNew):
6570 (doImport): add shortcuts to directory buttons
6572 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6575 * lyxfunc.C (setStatusMessage):
6576 (getStatusMessage): new methods
6577 (getStatus):use setStatusMessage instead of setErrorMessage
6578 (dispatch): when function is disabled, set error message here
6579 [instead of in getStatus previously]
6581 * BufferView_pimpl.C (workAreaButtonRelease): update
6582 toolbar/menubar here too.
6584 2002-01-13 Allan Rae <rae@lyx.org>
6586 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6587 Now seems indestructible. Remaining task is to audit all other
6588 code affected by deleteEmptyParagraphMechanism. One small quirk
6589 left is that an empty document with an error in the preamble can
6590 be made to report an error but no error box appears. I don't know
6592 (removeAutoInsets): Improved comments.
6594 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6597 * Thesaurus.C: update for Aiksaurus 0.14
6599 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6601 * text2.C (firstParagraph): removed member function, all uses
6602 replaces with ownerParagraph
6603 (redoParagraphs): here
6605 (toggleAppendix): here
6606 * BufferView2.C (insertErrors): here
6607 (setCursorFromRow): here
6609 2002-01-13 Allan Rae <rae@lyx.org>
6611 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6612 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6613 There is still a way to segfault this although you may have to do this
6614 multiple times: Have an InsetERT with an unknown command in it.
6615 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6616 <down-arrow>, <Enter> again, View->DVI, BANG!
6618 * text2.C (setCursor):
6619 (deleteEmptyParagraphMechanism):
6620 * lyxtext.h (setCursor):
6621 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6622 Making use of the return value may help fix other bugs.
6624 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6626 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6628 * LyXView.C (updateMenubar): call MenuBar::update here
6629 (updateToolbar): but not here
6630 (showState): do not update toolbar/menubar
6632 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6633 should need to care about that.
6635 * lyxfunc.C (verboseDispatch): simplify a bit
6636 (getStatus): have a version which takes a pseudoaction, and
6637 another which requires a (kb_action,string).
6639 * LyXAction.C (retrieveActionArg): make it work also when action
6640 is not a pseudo-action.
6641 (getActionName): simplify a bit
6644 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6646 * lyxfunc.C (verboseDispatch): new families of methods with
6647 several ways to specify a command and a bool to indicate whether
6648 the command name and shortcut should be displayed in minibuffer
6649 (eventually, we could extend that to a finer bitmask like
6650 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6651 (dispatch): the pristine dispatch command which just, well,
6652 dispatchs! Note it still sets its result to minibuffer; I'm not
6655 * lyxfunc.h: remove setHintMessage
6657 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6659 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6661 * BufferView_pimpl.C (specialChar): delete new inset if we have
6662 not been able to insert it.
6664 * kbmap.C: revert to using int instead of kb_action, since all we
6665 are dealing with is pseudo-actions.
6667 * LyXAction.C (searchActionArg): change to return int instead of
6668 kb_action, since the result is a pseudoaction.
6670 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6672 * buffer.C (insertErtContents): Fix (partially) the font bug.
6674 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6676 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6677 as the other one is broken on my machine!
6679 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6682 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6684 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6686 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6687 reflect their actual use. Provide compatibility code for older lyxrc
6690 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6692 change names of popup font variables in line with the changes to lyxrc.C
6694 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6696 * buffer.C (asciiParagraph): avoid outputing a word twice after
6699 * lyxrc.C (getDescription): document that document_path and
6700 template_path can be empty.
6702 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6704 * LaTeXFeatures.C (getMacros):
6705 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6707 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6709 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6711 (getPackages): rename feature "floats" to "float". Use an array to
6712 iterate over 'simple' features (i.e. just a \usepackage). Add
6713 handling of "amsmath" (renamed from "amsstyle").
6715 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6717 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6720 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6722 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6723 FuncStaus::FuncStatus & FuncStaus::some_method().
6725 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6727 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6728 of the func_satus stuff. Edited and massaged in various ways by
6731 * lyxfunc.C (getStatus): use FuncStatus
6733 2002-01-08 Juergen Vigna <jug@sad.it>
6735 * text.C (nextBreakPoint): use function Inset::isChar().
6737 * paragraph.C (TeXOnePar): use function
6738 Inset::forceDefaultParagraphs.
6740 * buffer.C (latexParagraphs): use function
6741 Inset::forceDefaultParagraphs.
6743 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6745 * lyx_gui.C (init): set the style of the menu popups to
6746 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6748 2002-01-07 Juergen Vigna <jug@sad.it>
6750 * text.C (setHeightOfRow): small fix
6751 (prepareToPrint): don't look at alignment if we don't have the place
6754 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6756 * box.C: New file. Move the Box methods and functions out of box.h,
6757 following Lars' suggestion.
6759 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6761 * box.h: #include "support/LOstream.h", needed for inlined function.
6764 * lyxtextclasslist.C: added some using std declarations.
6766 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6768 * box.h: make signed dimensions to allow insets wider than
6769 the screen (bug #162)
6771 * BufferView_pimpl.C: add some insetHit debug
6773 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6775 * vc-backend.C: add FIXME
6777 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6779 * lyxfunc.C (getStatus): enable code for showing math font status
6782 2002-01-07 Juergen Vigna <jug@sad.it>
6784 * text.C (nextBreakPoint): removed debug output not needed anymore.
6786 2002-01-06 Juergen Vigna <jug@sad.it>
6788 * text.C (nextBreakPoint): fixed up this function we had this bug
6789 since ever but now hopefully we break row better.
6790 (insertChar): we have to check if an inset is the next char as it
6791 could now happen that a large inset is causing a break.
6793 2002-01-05 Juergen Vigna <jug@sad.it>
6795 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6796 if it doesn't like to be drawed.
6798 2002-01-04 Juergen Vigna <jug@sad.it>
6800 * BufferView2.C (lockInset): forgot to set a cursor.
6802 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6804 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6809 * form_maths_panel.C:
6810 * form_maths_panel.h:
6811 * form_maths_panel.fd: implemented sub- and super- buttons in math
6814 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6815 (or ^ space) to be used as in TeX (req'd by André).
6817 * lyxfunc.C: Allow ^ and _ again to be used both as
6818 super/subscript (mathed) and as themselves (in text).
6820 2002-01-03 Allan Rae <rae@lyx.org>
6822 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6823 "LyX" or the filename of the current buffer if it has one. This is a
6824 modified form of John Levon's patch.
6826 * XFormsView.C (setWindowTitle): also set icon title.
6828 * LyXView.h (setWindowTitle): signature changed.
6829 * XFormsView.h (setWindowTitle): ditto.
6831 2002-01-02 Juergen Vigna <jug@sad.it>
6833 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6835 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6837 * screen.C (topCursorVisible): introduce a temp var for
6838 text->cursor.row(), handle the case where this row is null. (kindo
6841 * text2.C (setCursor): add a couple of asserts.
6843 * paragraph.h (inset_iterator): add -> operator
6845 * paragraph.[Ch] (autoDeleteInsets): remove member function
6847 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6848 cursor pos correctly and handle inset deletion by itself.
6849 (insertErrors): move iterator declaration out of for expression
6851 * lyxtextclass.C: add <algorithm>
6853 * Makefile.am: added the new files to sources, removed layout.C
6855 * layout.C: removed file
6857 * layout.h: remove LYX_DUMMY_LAYOUT
6859 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6863 * lyxtextclass.[Ch]:
6864 * lyxtextclasslist.[Ch]: new files
6866 * include order changes to a lot of files, also changes because of
6869 2001-12-27 Juergen Vigna <jug@sad.it>
6871 * buffer.C (asciiParagraph): more fixes.
6873 * tabular.C (ascii): make ascii export support export of only the
6874 data separated by a column-delimiter.
6875 (ascii): better support for ascii export.
6877 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6879 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6881 * tabular_funcs.C: use a "using std::getline" instead of the
6882 previous fix from Angus (necessary for cxx + lyxstring)
6884 2001-12-24 Juergen Vigna <jug@sad.it>
6886 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6888 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6889 problems. First check a minipage also if we have some ert-contents
6890 (not only on par->size(), second set the right depth of the paragraph
6891 on the relink to the root-paragraph-list!
6893 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6894 which then did not anymore update the main paragraphs on undo/redo!
6896 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6898 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6899 code. Support all font-changing funcs (even those which are not in
6900 menu currently). Support for reporting font settings in
6901 mathed (disabled until Andre provides a function on mathed's side).
6903 * func_status.h (toggle): small helper function to set toggle
6906 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6908 * tabular_funcs.C: getline -> std::getline
6910 2001-12-21 Juergen Vigna <jug@sad.it>
6912 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6913 accessed and could be 0 (I couldn't generate this but it seems
6916 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6918 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6919 * tabular_funcs.h: here and include iosfwd
6921 2001-12-20 Juergen Vigna <jug@sad.it>
6923 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6924 inside inset but undo_par was.
6926 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6928 * Thesaurus.C: always include <config.h> in sources.
6932 * box.h: do not include <config.h> in header files
6934 * text.C (paintLastRow): remove unused variable
6936 * text.C (transformChar):
6938 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6941 * font.C (width): rewrite to use uppercase() instead of
6944 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6946 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6948 * lyxfind.C: clean up of find failure position change
6950 2001-12-20 Juergen Vigna <jug@sad.it>
6952 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6954 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6955 (TeXRow): added to LaTeX a single tabular row.
6956 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6957 (Latex): simplified and finally good LT-h/f support.
6958 (various_functions): just small adaptions for LT-h/f support.
6960 * tabular_funcs.[hC]: added and moved here all not classfunctions
6963 2001-12-19 Juergen Vigna <jug@sad.it>
6965 * tabular.[Ch]: better support for longtabular options (not finished
6968 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6970 * text.C (paintLastRow): use the label font instead of the font of
6971 the last character to compute the size of *_BOX. This makes more
6972 sense and avoids a crash with empty paragraphs.
6973 Use Painter::rectangle to draw EMPTY_BOX.
6975 2001-12-19 Juergen Vigna <jug@sad.it>
6977 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6978 the paragraphs if the replaced paragraph is not the first one!
6979 Tried to delete not used paragraphs but does not work yet so for
6980 now it's inside #ifdef's and by default off!
6982 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6984 * MenuBackend.C: include "lyx_main.h" instead of declaring
6985 lastfiles (actually was declared as LastFiles* instead of a
6988 2001-12-17 Juergen Vigna <jug@sad.it>
6990 * tabular.C (AppendColumn): applied John's fix
6992 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6996 * BufferView_pimpl.h:
6997 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7000 * box.h: new start of class for above
7002 * lyxfunc.C: ignore space-only minibuffer dispatches.
7003 Show the command name when it doesn't exist
7005 * minibuffer.C: don't add empty lines to the history
7007 * minibuffer.C: add a space on dropdown completion
7009 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7011 * text.C: fix line above/below drawing in insets
7013 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7015 * lyxlength.C (LyXLength): Initialize private variables.
7017 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7019 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7020 when inserting error insets.
7022 2001-12-13 Juergen Vigna <jug@sad.it>
7024 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7025 actually sometimes the before-paragraph.
7026 (setUndo): don't clear the redostack if we're not actually undoing!
7028 2001-12-06 Juergen Vigna <jug@sad.it>
7030 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7031 and fixed redoing of main paragraph, so we can use it now ;)
7033 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7035 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7037 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7040 2001-12-13 André Pönitz <poenitz@gmx.net>
7043 * undo_func.C: minor cleanup
7045 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7047 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7048 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7049 font in urw-fonts package which is marked as -urw-fontspecific and
7050 does not work (incidentally, changing the encoding in the
7051 fonts.dir of this package to -adobe-fontspecific fixes the
7054 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7055 is a crash when undoing first paragraph (Juergen, please take a
7056 look). THis does not mean the undo fix is wrong, just that it
7059 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7060 the (Paragraph*) version when needed instead of duplicating the
7063 * text.C (workWidth): use Inset::parOwner to find out where the
7064 inset has been inserted. This is a huge performance gain for large
7065 documents with lots of insets. If Inset::parOwner is not set, fall
7066 back on the brute force method
7068 * paragraph_pimpl.C (insertInset):
7069 * paragraph.C (Paragraph):
7070 (cutIntoMinibuffer): set parOwner of insets when
7071 inserting/removing them
7073 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7075 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7081 * mathed/formulabase.C:
7082 * mathed/math_cursor.[Ch]:
7083 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7086 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7088 * lyxlength.[Ch] (operator!=): new function
7090 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7092 * text.C (workWidth): use Inset::parOwner to find out where the
7093 inset has been inserted. This is a huge performance gain for large
7094 documents with lots of insets. If Inset::parOwner is not set, fall
7095 back on the brute force method
7097 * paragraph_pimpl.C (insertInset):
7098 * paragraph.C (Paragraph):
7099 (cutIntoMinibuffer): set parOwner of insets when
7100 inserting/removing them
7102 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7104 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7106 * tabular-old.C (getTokenValue):
7107 * tabular.C (getTokenValue):
7108 (write_attribute): new versions for LyXLength
7109 (everywhere): adjust the use of widths
7111 * tabular.h: change the type of widths from string to LyXLength
7113 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7115 * paragraph.C: fixed missing line number count when exporting
7116 Environments to LaTeX file
7118 * buffer.C: added informational message for checking line numbers.
7120 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7122 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7123 paragraph, do the 'double space' part, but not the 'empty
7126 * text.C (workWidth): small optimization
7127 (getLengthMarkerHeight): use minimal size for negative lengths.
7129 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7131 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7133 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7135 2001-12-11 André Pönitz <poenitz@gmx.net>
7138 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7140 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7142 * text2.C: keep selection on a setFont()
7144 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7146 * lyx_cb.C: another bv->text misuse, from insert label
7148 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7151 * kbsequence.C: re-instate nmodifier mask
7153 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7155 * lyx_main.h: make lyxGUI private.
7157 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7159 * lyxfind.C: place the cursor correctly on failed search
7161 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7163 * text.C (getLengthMarkerHeight): for small heights, the arrows
7164 are not always on top/bottom of the text
7165 (drawLengthMarker): smaller arrows; take the left margin in
7166 account; draw also vfills.
7168 (paintLastRow): remove special code for vfill and standard spaces,
7169 since everything is handled in drawLengthMarker now.
7171 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7173 * buffer.C (insertErtContents): try to handle font and language
7174 interaction a bit better.g
7176 * ColorHandler.C (updateColor): change the hash to cover the whole
7177 LColor enum, ws cleanup
7178 (getGCLinepars): ditto
7179 (getGCLinepars): only lookup in the linecache once.
7181 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7183 * iterators.C (operator++): Make the iterator more robust
7185 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7187 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7189 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7192 * text.C: better added space drawing
7194 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7197 * BufferView2.C: fix layout combo update on inset unlock
7199 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7201 * Makefile.am: don't compile unused files
7203 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7207 * LyXAction.C: remove old LFUN_LAYOUTNO
7209 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7211 * paragraph_pimpl.h:
7212 * paragraph_pimpl.C: isTextAt() doesn't need font param
7214 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7217 * lyxlex.C: little cleanup
7219 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7221 * BufferView_pimpl.C: fix insertAscii for insets
7223 2001-12-05 Juergen Vigna <jug@sad.it>
7225 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7226 set the right font on the "multi" paragraph paste!
7228 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7234 * lyxlength.C: remove out-commented code.
7250 * vc-backend.C: change "while(" to "while ("
7252 * lyxlength.[Ch]: add zero function to check if length is zero or
7254 * lyxgluelength.C: use it
7256 2001-12-05 Allan Rae <rae@lyx.org>
7258 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7259 Works for 2.95.3, from what I understand of Garst's reports this should
7260 work for other g++ versions. We're screwed if the abs(int) definition
7261 changed between bugfix releases of gcc.
7263 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7265 * text.C: fix chapter label offset !
7267 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7270 * text.C: fix hfill at end of line, clean up
7272 2001-12-04 Juergen Vigna <jug@sad.it>
7274 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7275 that we force an update of the inset and it's owners if neccessary.
7277 2001-12-03 Juergen Vigna <jug@sad.it>
7279 * text.C (rowLast): simplified code
7281 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7283 * lyxfunc.C: fix show options on timeout
7285 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7287 * screen.C (topCursorVisible): scroll half a page when the cursor
7288 reached top of bottom of screen
7290 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7292 * minibuffer.C: deactivate on loss of focus
7294 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7296 * vspace.[Ch] (operator!=): add operator.
7298 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7300 * BufferView_pimpl.C: refuse to open an inset when
7301 there's a selection.
7303 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7305 * BufferView_pimpl.C: allow to click on RHS of full row insets
7307 2001-11-30 Juergen Vigna <jug@sad.it>
7309 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7310 insets for undo reasons.
7312 2001-11-28 André Pönitz <poenitz@gmx.net>
7314 * vspace.[Ch]: cosmetical changes
7316 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7326 * kbsequence.C: part re-write of old kb code
7329 * WorkArea.C: remove Lgb_bug_find_hack
7331 2001-11-30 José Matos <jamatos@fep.up.pt>
7333 * buffer.C (makeDocBookFile): add a comment to point a hack.
7334 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7335 Fixed a double write of labels.
7337 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7340 * LaTeX.h Fixed bug in LaTeX class where it would not
7341 re-run latex if no depfiles were changed, but the .dvi was removed.
7343 2001-11-28 André Pönitz <poenitz@gmx.net>
7345 * all the files from the change on 2001/11/26:
7346 use lyx::layout_type instead of LyXTextClass::size_type
7347 use lyx::textclass_type instead of LyXTextClassList::size_type
7349 2001-11-29 Juergen Vigna <jug@sad.it>
7351 * text.C: added support for paragraph::isFreeSpacing()
7353 * buffer.C: same as above
7355 * paragraph.h: inserted isFreeSpacing() function to enable
7356 FreeSpacing inside InsetERT.
7358 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7359 of the paragraph's in the cut/copy buffer to 0!
7361 * text2.C (removeRow): remove the assert as it can!
7363 * lyxtext.h: added helper function firstRow returning firstrow and
7364 made firstrow private again.
7366 * BufferView2.C (lockInset): don't relock if we're already locked!
7368 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7370 (removeRow): added Assert::(firstrow)
7372 * debug.C: forgot to add INSETTEXT here.
7374 2001-11-28 Juergen Vigna <jug@sad.it>
7376 * sp_spell.C (initialize): changed error text to more general
7377 spellchecker command use (not only ispell!)
7379 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7381 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7383 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7385 * vspace.C: initialise lyxgluelength on failure
7387 2001-11-28 Allan Rae <rae@lyx.org>
7389 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7390 declaration & definition that looks like a function declaration.
7392 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7394 * BufferView2.C (copy):
7395 (copyEnvironment): do not clear the selection when doing a copy.
7397 * text.C (paintFirstRow): compilation fix
7399 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7401 * tabular.C (Latex): correct line count when writing latex.
7403 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7405 * paragraph_pimpl.h:
7406 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7409 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7413 * LColor.C: change vfillline->added_space
7415 * text.C: add markers and text for added space
7417 * vspace.C: fix comment
7419 2001-11-28 André Pönitz <poenitz@gmx.net>
7421 * paragraph.C: whitespace changes
7422 * all the other files from the change on 2001/11/26:
7423 change *::pos_type into lyx::pos_type
7425 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7427 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7428 language of the document when inserting error insets.
7430 2001-11-26 André Pönitz <poenitz@gmx.net>
7432 * BufferView_pimpl.[Ch]:
7440 * paragraph_pimpl.[Ch]:
7443 * text2.C: reduce header dependencies, introduce type for positions
7445 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7447 * <various>: change to use Alert.h
7449 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7451 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7452 when encountering an unknown token.
7453 (readLyXformat2): Show an error message if there were unknown tokens.
7455 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7458 * BufferView_pimpl.C:
7462 * text2.C: use par->isInset()
7464 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7466 * paragraph_pimpl.h:
7467 * paragraph_pimpl.C: cleanup
7469 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7471 * text2.C (removeRow):
7472 * text.C (setHeightOfRow): remove useless (and costly) call to
7475 2001-11-20 Allan Rae <rae@lyx.org>
7477 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7478 Now need Inset*::checkInsertChar() to return true for appropriate
7479 cases so that the characters in the minibuffer will actually be
7482 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * text.C: change the order of the includes.
7485 (workWidth): initialize it at once.
7486 (workWidth): make maxw unsigned
7487 (setHeightOfRow): remove unused variable (inset)
7488 (selectSelectedWord): remove unused variable (inset)
7489 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7491 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7493 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7494 server is not running.
7496 (closeConnection): add debug info when server is disabled.
7498 * ColorHandler.C (getGCForeground): send debug message to GUI
7501 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7503 * kbmap.C (bind): modify because return conventions of
7504 kb_sequence::parse have changed.
7506 * kbsequence.C (parse): only ignore spaces and not any stupid
7507 control character. This avoids tests like s[i] <= ' ', which are
7508 guaranteed to fail with 8bit characters and signed chars.
7509 Change return code to string::npos when there have been no error
7510 (0 was a bad idea when error is at first character)
7512 2001-11-14 José Matos <jamatos@fep.up.pt>
7515 * buffer.C (simpleDocBookOnePar): removed unused argument.
7517 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7519 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7520 insets which are part of a word. Paragraph::isLetter takes care of
7521 that now. Use Paragraph::isInset to identify insets.
7522 (selectSelectedWord): do not test for hyphenation break.
7524 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7525 that protected spaces are considered as spaces.
7527 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7530 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7533 * lyxserver.C: fix it. and small cleanup.
7535 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7537 * BufferView_pimpl.C: use inline helpers
7540 * LaTeXFeatures.C: fix typos
7543 * Spacing.C: move spacing_string into class
7545 * ToolbarDefaults.C: move stuff into namespace anon
7547 * layout.h: update enum
7549 * lyxfunc.C: use better debug
7551 * minibuffer.h: fix typo
7555 * WorkArea.C: add and use Debug::WORKAREA
7559 * text2.C: code re-organisation, inline helpers
7561 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7563 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7564 std::vector.empty().
7566 2001-11-09 Allan Rae <rae@lyx.org>
7568 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7569 '\n's after tables. Tabular and ERT inset work now makes this no
7572 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7575 * minibuffer.C: fix crash, improve drop-down completion
7577 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7580 * lyxserver.C: invalidate fd's when doing endPipe()
7582 2001-11-08 José Matos <jamatos@fep.up.pt>
7584 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7585 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7588 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7590 2001-11-07 José Matos <jamatos@fep.up.pt>
7593 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7596 * buffer.C (sgmlOpenTag):
7597 * buffer.C (sgmlCloseTag): removed debug info.
7599 * buffer.h (sgmlOpenTag):
7600 * buffer.h (sgmlCloseTag): made public.
7602 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7604 * buffer.C (saveParamsAsDefaults):
7605 * lyx_cb.C (MenuLayoutSave): remove
7607 * LyXAction.C (init):
7609 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7611 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7613 * buffer.C (setPaperStuff): removed from here...
7615 * bufferparams.C (setPaperStuff): ... and moved there.
7617 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7621 * XFormsView.C: add support for drop-down completion
7623 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7625 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7628 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7630 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7633 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7635 * lyx_main.C: change ref to known bugs
7637 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7639 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7640 to work around older babel problems.
7642 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7644 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7646 2001-10-24 Juergen Vigna <jug@sad.it>
7648 * tabular-old.C (ReadOld): below variable changes reflected.
7650 * tabular.[Ch]: added ltType struct for longtable header/footer
7651 defines and changed all instances where they are used. Added
7652 future support for double top/bottom rows.
7654 2001-10-24 José Matos <jamatos@fep.up.pt>
7656 * buffer.h (docbookHandleCaption):
7657 * buffer.C (docbookHandleCaption): removed unused function.
7658 (makeDocBookFile): moved docbook supported version to v4.1.
7660 2001-10-24 José Matos <jamatos@fep.up.pt>
7663 * tabular.C (docbookRow): new function to export docbook code of a row.
7664 (DocBook): now honors the longtable flags.
7666 2001-10-23 José Matos <jamatos@fep.up.pt>
7669 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7670 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7672 * buffer.C (makeLinuxDocFile):
7673 (makeDocBookFile): reworked the preamble, more clean, and with
7674 support for lyx defined entities. Changed the document declaration
7675 to be more XML friendly.
7677 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7678 if we need to output XML that should be done with a filter.
7680 2001-10-22 Juergen Vigna <jug@sad.it>
7682 * sp_pspell.h (class PSpell): add alive function needed in the
7683 controller to see if the spellchecker could be started.
7685 2001-10-22 Juergen Vigna <jug@sad.it>
7687 * buffer.C (insertStringAsLines): modify the font for inserting
7688 chars in certain conditions by calling checkInsertChar(font).
7690 2001-10-19 Juergen Vigna <jug@sad.it>
7692 * text.C (workWidth): use getRow instead of wrong algorithm.
7693 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7695 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7700 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7702 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7704 * text.C (workWidth): do not search for the exact row when
7705 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7706 optimization for big documents.
7708 2001-10-18 Juergen Vigna <jug@sad.it>
7710 * text.C (workWidth): new function with added Inset * parameter.
7712 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7714 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7716 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7717 change return type of getColumnNearX.
7720 * text.C (changeRegionCase): use uppercase/lowercase instead of
7723 (rightMargin): simplify code by factoring out the uses of
7728 (appendParagraph): use Paragraph::size_type
7730 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7732 * vspace.C (asLatexString): add a missing break
7734 2001-10-15 Herbert Voss <voss@perce.de>
7736 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7738 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7740 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7743 2001-10-10 André Pönitz <poenitz@gmx.net>
7745 * lyxfunc.C: removed greek_kb_flag.
7747 2001-10-10 Herbert Voss <voss@perce.de>
7749 * lyx_main.C: delete global string help_lyxdir.
7751 2001-10-09 Herbert Voss <voss@perce.de>
7753 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7755 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7757 * lyx_main.C: added global string help_lyxdir.
7759 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7761 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7763 * lyxrc.C (set_font_norm_type): support iso8859-4
7765 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7767 * LaTeX.C (deplog): add another regex for MikTeX
7769 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7771 * lyxrc.C (set_font_norm_type): support iso8859-3
7773 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7775 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7777 * LaTeXFeatures.C: remove special case of french and index
7779 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7780 before \begin{document}). This solves several incompatibilities.
7782 2001-10-03 Garst Reese <reese@isn.net>
7784 * lyx_cb.C: change CheckTex error msg.
7786 2001-10-03 José Matos <jamatos@fep.up.pt>
7788 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7790 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7792 * .cvsignore: update
7794 * lyx_main.C (commandLineVersionInfo): use new style version info.
7796 * buffer.C (writeFile):
7799 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7801 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7803 * version.h: update to use stuff in version.C
7805 * version.C.in: new file. Contains version information determined
7806 at compile time. This is a merging of version.h and
7809 2001-10-03 Juergen Vigna <jug@sad.it>
7811 * BufferView_pimpl.C (update): don't change "dirty" status in
7814 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7816 * WorkArea.C (c-tor): re-position version string slightly.
7818 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7820 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7821 revert to previous code.
7823 WorkArea.[Ch]: (show, destroySplash): methods removed.
7825 WorkArea.C: rework code so that it's an amalgam of the codes before and
7826 after the splash screen was moved to WorkArea.
7828 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7831 * vspace.C (inPixels):
7834 * buffer.C (insertStringAsLines):
7835 (asciiParagraph): fix types to be large enough
7837 * lyxlex_pimpl.h: change member status from short to int
7839 * layout.h: fix type of endlabeltype
7842 * kbsequence.C (parse): change return type to string::size_type
7844 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7847 * Bullet.C (bulletSize):
7848 (bulletEntry): do not use short ints as parameters
7850 * BufferView2.C (insertLyXFile): change a char to an int.
7852 * WorkArea.C (WorkArea): remove unneeded floats in computation
7854 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7856 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7858 * paragraph.C (asString): Do not ignore newline/hfill chars when
7859 copying to the clipboard.
7861 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7863 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7864 after a multi-line inset.
7866 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7868 * paragraph.C (validate): Set NeedLyXFootnoteCode
7870 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7872 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7873 and decrease-error to decrease.
7875 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7877 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7878 it more readable (should be equivalent)
7880 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7882 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7884 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7886 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7887 of a cursor (row, etc.) after a character has been deleted
7888 (deleteEmptyParagraphMechanism): call the method above on _all_
7889 cursors held by the LyXText when a double space has been
7892 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7894 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7896 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7898 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7899 background. Use greyOut() and the new show() methods to toggle between
7900 the foreground and background. Add code to remove the splash after
7901 its initial showing.
7903 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7904 (create_forms): no longer call Dialogs::showSplash.
7906 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7908 * .cvsignore: add version_info.h
7910 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7912 * version_info.h.in: new file
7914 * Makefile.am: add version_info.h.in
7916 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7917 version_info.h instead of VERSION_INFO
7919 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7921 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7922 The ERT inset now returns string().
7924 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7926 * lyxtext.h, text.C (selectNextWord): renamed as
7927 selectNextWordToSpellcheck.
7929 * text.C (selectNextWordToSpellcheck): Modified to not select
7930 words inside an ERT inset.
7932 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7934 * lyx_cb.C (MenuLayoutSave): change a bit the question
7936 * sp_base.h: include <sys/types.h>
7938 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7940 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7942 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7944 * several files: fix typos in user-visible strings
7946 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7948 * text2.C (pasteSelection): do not set the selection, since it
7949 will be cleared later. Actually, the intent was to fix the way the
7950 selection was set, but I figured rmoving the code was just as good.
7952 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7954 * FontLoader.C (available): Check if font is available without
7957 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7959 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7961 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7963 * lyxrc.[Ch]: added display_graphics variable and associated code.
7965 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7967 * bufferparams.C (hasClassDefaults): new method. Returns true if
7968 the buffer parameters correspond to known class defaults
7970 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7972 * XFormsView.C (show): set minimum size to the main window.
7974 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7976 * text2.C (copySelection):
7978 * lyxfind.C (LyXReplace):
7979 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7980 LyXText::selectionAsString.
7982 * paragraph.C (asString): add "label" argument to the second form
7984 * text2.C (selectionAsString): add "label" argument and pass it to
7985 Paragraph::asString.
7987 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7989 * lyx_main.C (commandLineHelp): remove version information
7991 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7993 * lyx_main.C: add -version commandline option
7995 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * paragraph.h: make the optional constructor arg required instead.
7998 some modifications to other files because of this.
8000 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8002 * lyxserver.C (C_LyXComm_callback): make it static
8004 * lyx_main.C (error_handler): make it static
8006 * lyx_gui.C (LyX_XErrHandler): make it static
8008 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8010 * WorkArea.C: make the extern "C" methods static.
8012 * Makefile.am (lyx_LDADD): simplify
8014 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8016 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8017 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8019 * LyXAction.C (init):
8020 * lyxfunc.C (dispatch): associated code removal.
8022 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8024 * lyxfont.h (isSymbolFont): shut off warning
8026 * text.C (setHeightOfRow):
8027 (getVisibleRow): fix crash with empty paragraphs which have a
8030 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8032 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8035 2001-09-04 José Matos <jamatos@fep.up.pt>
8038 * tabular.C (docbook): rename docBook method to docbook.
8040 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8042 * Makefile.am: add dependencies to main.o.
8044 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8046 * FontLoader.C (available): Return false if !lyxrc.use_gui
8048 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8050 * FontInfo.C (query):
8051 * converter.C (view):
8052 * importer.C (Import):
8053 * exporter.C (Export): Can not -> cannot.
8055 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8057 * BufferView_pimpl.C: allow to create index inset even if
8060 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8062 * buffer.C (getLists): replace boost::tie code with an explicit pair
8063 as boost::tie can break some compilers.
8065 * iterators.h: Added a std:: declaration to the return type of
8068 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8070 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8073 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8075 * iterators.[Ch]: New files. Provide paragraph iterators.
8077 * buffer.C (changeLanguage): Use paragraph iterators.
8078 (isMultiLingual): ditto
8080 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8082 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8084 * FontLoader.C: Support for cmr font.
8086 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8088 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8089 (available): New method.
8091 * FontInfo.C (getFontname): Use scalable fonts even when
8092 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8095 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8097 * converter.C (Formats::view): reverted! Incorrect fix.
8099 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8101 * converter.C (Formats::view): only output the -paper option
8102 if the dvi viewer is xdvi, thereby fixing bug #233429.
8104 2001-08-23 Herbert Voss <voss@perce>
8106 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8108 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8110 * Spacing.h (Spacing): Set space to Default on in the default
8113 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * vc-backend.h (RCS::versionString): add RCS to version
8116 (CVS::versionString): add CVS to version
8118 * vc-backend.C (scanMaster): do not add CVS to version.
8119 (scanMaster): do not add RCS to version
8121 * lyxvc.C (versionString): new method
8123 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8125 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8127 * Spacing.C (set): initialize fval
8129 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8131 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8134 2001-08-16 Juergen Vigna <jug@sad.it>
8136 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8138 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8140 * BufferView_pimpl.C:
8143 * text2.C: setParagraph takes linespacing now
8145 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8147 * LyxAction.C: add internal LFUN_CITATION_INSERT
8149 * LyXView.C: actually apply fix
8151 * bufferlist.C: fix open non-existent file
8153 * lyxfind.C: fix indentation
8155 * lyxfunc.C: remove unneeded assert, fix typo
8157 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8159 * MenuBackend.C: use "Floatname List"
8161 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8163 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8164 when converting LaTeX layout to insetERT.
8165 Generate a non-collapsed float when reading old float
8167 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8169 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8172 2001-08-13 Juergen Vigna <jug@sad.it>
8174 * text.C (fill): return 0 instead of 20 as this seems to be the more
8177 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8179 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8182 2001-08-13 Juergen Vigna <jug@sad.it>
8184 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8186 (SearchBackward): comment out the unlocking of the inset_owner this
8187 should not be needed!
8189 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8191 * Many files: Remove inherit_language, and add latex_language
8193 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8196 2001-08-10 Juergen Vigna <jug@sad.it>
8198 * text.C (prepareToPrint): fixed hfill-width in draw!
8200 * BufferView2.C (selectLastWord): save the selection cursor as this
8201 now is cleared in the function LyXText::clearSelection!
8203 2001-08-08 Juergen Vigna <jug@sad.it>
8205 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8206 BACKSPACE type functions.
8208 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8209 is only cutted from the document but not put in the cut-buffer, where
8210 still the old stuff should be.
8212 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8214 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8216 * tabular.C (SetWidthOfCell): fixed special case where the width
8218 (LeftLine): handle '|' in align_special.
8220 (LeftAlreadyDrawed): ditto
8221 (SetWidthOfCell): ditto
8223 2001-08-07 Juergen Vigna <jug@sad.it>
8225 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8227 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8229 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8230 * lyxlex.[hC]: ditto
8232 2001-08-06 Juergen Vigna <jug@sad.it>
8234 * text.C (getVisibleRow): fix up row clearing a bit.
8236 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8238 * minibuffer.C: make sure the X server sees the changes in the input.
8240 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * paragraph.C (getFont): split into...
8243 (getLabelFont): this
8244 (getLayoutFont): and this
8245 * paragraph_pimpl.C (realizeFont): calling this
8247 * text2.C (getFont): split into...
8248 (getLayoutFont): this
8249 (getLabelFont): and this
8250 (realizeFont): all three calling this
8252 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8255 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8257 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8259 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8261 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8262 layouts from the Quote inset insertion.
8264 2001-08-03 Juergen Vigna <jug@sad.it>
8266 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8268 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8269 only if status not is already CHANGED_IN_DRAW (second level).
8271 * text.C (draw): don't set the need_break_row when inside an
8274 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8276 * buffer.C (parseSingleLyXformat2Token): handle more latex
8279 * bufferview_funcs.[hC]: change function names to
8280 begin with small char, adjust other files.
8282 2001-08-02 André Pönitz <poenitz@gmx.net>
8285 BufferView_pimpl.C: remove broken special code for math-greek
8287 2001-08-02 Juergen Vigna <jug@sad.it>
8289 * BufferView_pimpl.C (update): redone this function so that we
8290 update the text again if there was a CHANGE_IN_DRAW.
8292 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8293 (drawFromTo): added a new internal bool which is used by draw() and
8295 (general): some cursor drawing problems fixed.
8297 2001-08-01 Juergen Vigna <jug@sad.it>
8299 * lyxfind.C (LyXFind): fixed
8300 (SearchForward): ditto
8301 (SearchBackward): ditto
8303 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8304 spurius drawing of the cursor in the main area.
8306 * text2.C (status): small fix which could lead to a segfault!
8307 (clearSelection): remove unneeded BufferView param.
8309 2001-08-01 André Pönitz <poenitz@gmx.net>
8311 * lyxfunc.C: small change due to changed mathed interface
8313 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8315 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8317 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8319 * lyxfunc.c: fail gracefully if file doesn't exist
8324 * BufferView_pimpl.C: IsDirWriteable() proto changed
8326 * LyXView.C: fix updateWindowTitle() to store the last title
8328 2001-07-31 Juergen Vigna <jug@sad.it>
8330 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8331 the font (wrong since using of Paragraph::highestFontInRange).
8333 * paragraph.C (highestFontInRange): added a default_size parameter.
8335 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8336 (setHeightOfRow): reformat
8338 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8340 * converter.[hC] + affected files: move to (inital-char)lowercase
8343 * ParagraphParameters.C (ParagraphParameters): remove commented code
8345 * PainterBase.[Ch]: remove commented code
8347 * LaTeXFeatures.h: add "bool floats" for float.sty
8349 * LaTeXFeatures.C (LaTeXFeatures): init floats
8350 (require): handle float
8351 (getPackages): do it with floats
8353 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8355 * BufferView_pimpl.C (Dispatch): improve handling of
8356 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8358 * commandtags.h: #include lyxfont.h here temporarily to avoid
8361 * bufferlist.h: include LString.h here.
8363 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8365 * text2.C (getStringToIndex): new method.
8367 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8369 * *: Reduced header file dependencies all over.
8371 2001-07-30 Baruch Even <baruch@lyx.org>
8373 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8375 2001-07-29 Baruch Even <baruch@lyx.org>
8377 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8379 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8381 * ParameterStruct.h (endif): add a default constructor to make
8382 sure that all variables is initialized.
8384 * ParagraphParameters.C (ParagraphParameters): adjust
8386 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8388 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8389 index; also, check that there is something to index, and that it
8390 does not span over several paragraphs.
8391 (doubleClick): use WHOLE_WORD_STRICT for double click.
8393 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8395 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8398 2001-07-26 Baruch Even <baruch@lyx.org>
8400 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8401 an InsetFig figure, backwards compatible reading of old figure code.
8403 2001-07-27 Juergen Vigna <jug@sad.it>
8405 * text2.C: font.realize function adaption.
8407 * text.C (draw): add a warnings lyxerr text if needed.
8409 * layout.C: font.realize function adaption.
8411 * language.C: add inherit_language and implement it's handlings
8413 * bufferview_funcs.C (StyleReset): remove language parameter from
8414 font creation (should be language_inherit now).
8416 * bufferparams.C (writeFile): handle ignore_language.
8418 * paragraph.C (getFontSettings): the language has to be resolved
8419 otherwise we have problems in LyXFont!
8421 * lyxfont.C (lyxWriteChanges): added document_language parameter
8422 (update): removed unneeded language parameter
8424 * paragraph.C (validate): fixed wrong output of color-package when
8425 using interface colors for certain fonts in certain environments,
8426 which should not seen as that on the final output.
8428 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8430 * BufferView_pimpl.C:
8435 * LyXAction.C: add thesaurus support
8438 * lyxfind.C: add "once" parameter, for thesaurus, to not
8439 move to the next match
8441 2001-07-26 Juergen Vigna <jug@sad.it>
8443 * lyxfont.C (realize): honor ignore_language too!
8446 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8448 * text.C (draw): one place more for ignore_language to not draw
8451 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8453 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8455 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8457 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8458 the minipage conversion problem.
8460 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8462 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8465 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8467 * BufferView.h: don't forward declare WorkArea
8469 * BufferView.C: don't include WorkArea.h
8471 2001-07-25 André Pönitz <poenitz@gmx.net>
8475 * lyxfunc.C: new LFUN 'math-space'
8477 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8479 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8481 * text2.C (toggleInset): call open/close
8483 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8485 * lyxfunc.C (dispatch): add debug for the disabled case
8487 * font.C (buttonText): make similar to rectText
8489 * buffer.C (readInset): comment out parsing of insetlist and
8492 * PainterBase.C (rectText): small correction
8494 * BufferView_pimpl.C: comment out insettheorem and insetlist
8495 * LyXAction.C: ditto
8496 * commandtags.h: ditto
8498 2001-07-24 Juergen Vigna <jug@sad.it>
8500 * text.C (draw): honor the ignore_language.
8502 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8504 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8506 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8509 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8511 * lyxtext.h: remove unused (and unimplemented) methods
8513 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8515 * text.C (getVisibleRow): honor background color
8518 * Painter.h: remove default color argument for fillRectangle
8520 * text.C (backgroundColor): new method
8522 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8524 * text.C (getVisibleRow): adjust
8526 * font.[Ch] (rectText): new method, metrics
8527 (buttonText): new method, metrics
8529 * PainterBase.[hC]: make rectText and buttonText always draw and take
8532 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8534 * ToolbarDefaults.C (read):
8535 * MenuBackend.C (read): allow escaping in all strings
8537 * BufferView_pimpl.C (insertAndEditInset): new method.
8538 (Dispatch): use insertAndEditInset whenever appropriate.
8540 * BufferView_pimpl.C (insertNote): removed
8542 * BufferView_pimpl.C (smartQuote): new method, moved from
8543 BufferView; if an insetquote cannot be inserted, insert a '"'
8546 * BufferView2.C: remove insertCorrectQuote();
8548 * lyxfunc.C (getStatus): Add support for all remaingin
8551 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8553 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8554 command (necessary to pass " as parameter of self-insert.
8556 * text.C (selectWordWhenUnderCursor):
8557 (selectWord): add word_location parameter
8558 (selectWordWhenUnderCursor): same + remove special code for word
8560 (selectNextWord): use kind() to guess type of insetspecialchar,
8563 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8564 (insertErtContents): create ert insets as collapsed.
8565 (readInset): better compatibility code for Info inset.
8567 2001-07-20 Juergen Vigna <jug@sad.it>
8569 * lyxfunc.C (dispatch): use always LyXFind now!
8571 * text2.C (init): add a reinit flag so that the LyXText can be
8572 reinited instead of deleted and reallocated (used in InsetText).
8574 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8580 2001-07-18 Juergen Vigna <jug@sad.it>
8582 * text.C (selectNextWord): handle insets inside inset by calling
8583 always the bv->text functions so that we can go up the_locking_inset!
8585 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8586 in strange locations when inside an inset!
8588 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8589 handling to include insets.
8591 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8593 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8595 * LyXAction.C (init):
8597 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8598 LIGATURE_BREAK, since the name is so stupid.
8600 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8602 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8605 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8607 * sp_form.[Ch]: remove.
8609 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8611 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8614 * src/buffer.C (readInset): ditto.
8616 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8618 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8619 menuSeparator(), endOfSentenceDot(), ldots() and
8620 hyphenationPoint(), which are therefore removed.
8621 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8623 * LyXAction.C (init):
8624 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8626 * paragraph.C (getWord): removed.
8628 * BufferView_pimpl.C (Dispatch): use last word or selection for
8629 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8631 * lyx_main.C (queryUserLyXDir): do not ask before creating
8632 user_dir, except if it has been named explicitely.
8634 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8636 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8637 a document of zero size.
8639 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8641 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8642 approriately in the c-tor and in require().
8643 (getPackages): output the appropriate LaTeX for natbib support.
8645 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8646 variables "use_natbib" and "use_numerical_citations" when reading the
8648 (readInset): read the various natbib cite commands.
8649 (validate): white-space change.
8651 * bufferparams.[Ch]: new variables "bool use_natbib" and
8652 "bool use_numerical_citations".
8653 (writeFile): output them in the LyX file.
8655 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8657 * lyxfunc.C (getStatus): add support for all the inset insertion
8660 * text2.C (insertInset):
8661 * paragraph.C (insetAllowed):
8662 * BufferView_pimpl.C (insertInset): update to take in account the
8663 renaming of insertInsetAllowed
8665 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8667 * text2.C (getInset): new method. returns inset at cursor position.
8669 * BufferView_pimpl.C (Dispatch): changes because of this.
8671 * LyXAction.C (init): rename open-stuff to inset-toggle.
8673 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8675 * text2.C (toggleInset): renamed from openStuff; use
8678 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8680 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8682 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8684 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8686 * buffer.C (readLyXformat2): Add filename to the error dialog
8688 2001-07-18 Juergen Vigna <jug@sad.it>
8690 * tabular.C (GetCellNumber): put an assert here instead of the check!
8692 2001-07-17 Juergen Vigna <jug@sad.it>
8694 * BufferView_pimpl.C (toggleSelection): adapted too.
8696 * text.C (selectNextWord): adapted for use with insets.
8697 (selectSelectedWord): ditto
8699 2001-07-17 Juergen Vigna <jug@sad.it>
8701 * sp_spell.C (PSpell): fix initialitation order.
8703 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8705 * paragraph.C: spacing
8707 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8709 * sp_spell.C: repair language selection for pspell
8711 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8713 * lyxfunc.h: change more methods to begin with lower char.
8715 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8717 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8718 for unknown layouts.
8720 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8722 * buffer.C (readLyXformat2): Generate an error dialog if there are
8725 2001-07-16 Juergen Vigna <jug@sad.it>
8727 * sp_spell.C: always compile ISpell part.
8729 * lyxrc.C: added use_pspell entry and it's handling.
8731 2001-07-13 Juergen Vigna <jug@sad.it>
8733 * sp_spell.C: removed double includes.
8735 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8737 Consistent use of Lsstream.h:
8738 * Lsstream.h: added using std::stringstream for consistencies sake.
8740 * buffer.C: removed using std::stringstream
8742 * lyxfont.C (stateText):
8743 * paragraph.C (asString):
8744 * text.C (selectNextWord, selectSelectedWord):
8745 * text2.C (setCounter):
8746 * vspace.C (asString, asLatexString):
8747 std::ostringstream -> ostringstream.
8749 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8751 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8752 * commandtags.h: add LFUN_HELP_ABOUTLYX
8753 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8755 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8757 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8759 * lyx_gui_misc.C: remove spellchecker
8760 * lyxfunc.C: showSpellchecker
8762 * sp_ispell.h: added
8763 * sp_pspell.h: added
8765 * sp_form.[Ch]: removed
8766 * spellchecker.[Ch]: removed
8768 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8770 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8772 (simpleTeXSpecialChars): Simply print the input character without
8773 any special translation if pass_thru is set.
8775 * layout.h: Added bool pass_thru to layout class for being able to
8776 implement pass through of a paragraph for Literate Programming.
8778 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8779 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8780 * layout.C (Read): add "passthru" to list of layout tags and add
8781 code to set the pass_thru boolean when it is read.
8783 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8785 * trans_decl.h: remove allowed from KmodInfo
8787 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8791 * paragraph_pimpl.C (erase): use boost::prior
8793 * Painter.C (text): use data() instead of c_str() when length is
8795 * WorkArea.C (putClipboard): ditto
8796 * font.h (width): ditto
8798 * BufferView2.C: use it-> instead of (*it). for iterators
8800 * paragraph_pimpl.C: ditto
8801 * paragraph.C: ditto
8802 * minibuffer.C: ditto
8807 * converter.C: ditto
8809 * Variables.C: ditto
8810 * TextCache.C: ditto
8811 * MenuBackend.C: ditto
8812 * LyXAction.C: ditto
8814 * FloatList.C: ditto
8816 * ColorHandler.C (LyXColorHandler): ditto
8818 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8820 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8822 * text2.C (openStuff): reintroduce this method (which had been
8823 nuked in NEW_INSETS frenzy).
8825 * lyxfunc.C (Dispatch): when an action has not been handled, use
8826 its name in the error message, not its number.
8828 * paragraph.C (inInset): change method name to begin with lowercase.
8831 * text2.C: updates because of this.
8833 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8835 * ToolbarDefaults.C (add): add spaces in error message
8837 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8840 (readLyXformat2): rename return_par to first_par, use lyxlex's
8841 pushToken and remove the manual push handling.
8842 (parseSingleLyXformat2Token): add another ert comp. variable:
8843 in_tabular, rename return_par to first_par. handle newlines better
8845 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8847 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8849 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8851 * text2.C (getParFromID): removed
8853 * buffer.C (getParFromID): new method moved form lyxtext.
8854 * BufferView2.C (insertErrors): adjust
8855 (setCursorFromRow): adjust
8856 * BufferView_pimpl.C (restorePosition): adjust
8857 * lyxfunc.C (Dispatch): adjust
8858 * undo_funcs.C (textUndo): adjust
8860 (textHandleUndo): adjust
8861 (textHandleUndo): adjust
8863 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8865 * buffer.C: up' the LYX_FORMAT
8867 * lyxfont.h: turn NO_LATEX on as default
8869 * buffer.C (insertErtContents): new methods of tex style compability.
8870 (parseSingleLyXformat2Token): use it several places.
8871 * tabular.C (OldFormatRead): and here
8873 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8875 * text2.C: remove some commented code.
8878 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8879 * trans.C: changes because of the above.
8881 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8883 * text2.C (setCounter): Fix counters bug with bibliography layout.
8885 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8887 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8888 own member functions
8889 (simpleTeXSpecialChars): ditto
8891 2001-07-06 Juergen Vigna <jug@sad.it>
8893 * a lot of files: changed the access to LyXText::status and the
8894 call of undo-functions.
8896 * undo.[Ch]: added a inset_id to the undo informations.
8898 * undo_funcs.[Ch]: added and moved here all undo functions.
8900 * lyxtext.h: give the status enum a weight, made status_ a private
8901 variable and made accessor functions for it, removed the whole bunch
8902 of undo-functions as they are now in their own file, make some
8903 functions publically available. Added function ownerParagraph with
8906 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8907 made InInset() a const function, added getParFromID() function.
8909 * buffer.[Ch]: added const version for inset_iterator functions,
8910 added getInsetFromID() function.
8912 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8913 changed undo functions for new version.
8915 2001-07-05 Juergen Vigna <jug@sad.it>
8917 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8918 unknow mechanism does not call the proper constructor but only this
8919 one also if I request the other!?
8921 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8923 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8925 * text2.C (LyXText): use initialization lists.
8927 * lyxtext.h (Selection): initialize set_ and mark_
8928 (init): remove method
8930 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8932 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8934 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8936 * screen.[Ch]: change method names to begin with lowercase
8938 * BufferView_pimpl.C (updateScrollbar): simplify further and
8939 hopefully make it a bit faster.
8941 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8943 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8944 calling directly xforms functions.
8946 * Painter.C (Painter):
8947 * lyx_cb.C (MenuWrite):
8948 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8951 * lyx_gui.C: remove bogus guiruntime extern declaration.
8953 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8955 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8957 (redoDrawingOfParagraph): ditto
8958 (redoParagraphs): ditto
8959 (cutSelection): don't create a object for CutAndPaste use the
8960 static method directly
8961 (pasteSelection): ditto
8963 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8966 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8968 * modifications to some other files because of this.
8970 * Makefile.am (lyx_SOURCES): add XFormsView
8972 * XFormsView.[Ch]: new files
8974 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8975 the main window. Move the gui dependent stuff to XFormsView
8977 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8979 * tabular.C (GetCellInset): update cur_cell also in the row/col
8980 version of this function.
8982 * lyxfunc.C: no need to include figure_form.h here.
8988 * lyxvc.C: no need to include forms.h here.
8990 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8992 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8994 * lyxfunc.C (Dispatch):
8996 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8997 constructor argument.
8999 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * paragraph.C (Paragraph): dont't clear, and just set layout.
9002 (makeSameLayout): use params's copy contructor.
9004 * ParagraphParameters.[Ch] (makeSame): delete method
9006 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9008 * Variables.[Ch]: fix indentation, rename set to isSet
9010 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * lyxfunc.C (Dispatch): fix typo
9014 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9019 * bufferlist.C: include assert.h for emergencyWrite().
9021 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9023 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9024 give up at last (bug #425202) !
9026 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9032 * spellchecker.C: strip spellchecker options and bring up
9033 preferences tab instead
9035 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9037 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9038 the istringstream constructor
9040 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9042 * paragraph.C (getLayout): fix return value
9044 * paragraph.h: do not declare getLayout as inline.
9046 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9048 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9050 * lyxcursor.h (operator<): new func
9051 (operator>): new func
9052 (operator>=): new func
9053 (operator<=): new func
9055 * text.C (changeCase): use selection.start and selection.end
9056 (changeRegionCase): require from to be <= to. Require par to be a
9059 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9061 2001-06-27 Juergen Vigna <jug@sad.it>
9063 * text.C (cursorLeftOneWord): changed to return the cursor and added
9064 overlay with BufferView * parameter which calls this one.
9066 (selectWord): use new getWord function.
9067 (changeCase): renamed from changeWordCase as and extended to work
9070 * lyxtext.h: added enum word_location
9072 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9073 changeCase as this operates now also on selections.
9075 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9077 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9079 * many files: send debug output to Debug::INFO instead of
9082 * converter.C (View):
9084 (Move): send debug output to Debug::FILES instead of console.
9086 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9088 * lyxfunc.C (getStatus): use func_status
9090 * func_status.h: new header, describing the results of
9093 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9096 2001-06-25 The LyX Project <jug@sad.it>
9098 * buffer.C (sgmlOpenTag):
9100 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9102 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9104 * text2.C: remove some dead code
9106 * tabular.C (GetCellInset): store the last cell checked (gotten)
9108 * tabular.h: add the helper for the speedup
9110 * lyxtext.h: remove some dead code
9112 2001-06-26 The LyX Project <Asger>
9114 * paragraph.C: Change export to LaTeX of alignment to
9115 \begin{center} and family for better roundtrip work with reLyX.
9117 * Tune the math drawing a bit.
9119 2001-06-25 The LyX Project <Asger>
9121 * LColor.C (LColor): New color for math background. New color
9124 2001-06-25 The LyX Project <jug@sad.it>
9126 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9129 * bufferlist.C (newFile): do not restrict to files ending with
9132 * BufferView_pimpl.C (MenuInsertLyXFile):
9134 2001-06-24 The LyX Project <jug@sad.it>
9136 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9139 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9141 * lyxtext.h: rename most methods to begin with a small char.
9142 Lots of changes because of this.
9144 * paragraph.C (Paragraph): do not call fitToSize
9145 (erase): call Pimpl::erase
9146 (insertChar): call Pimpl::insertChar
9147 (insertInset): call Pipl::insertInset
9148 (breakParagraph): do not call fitToSize
9149 (breakParagraphConservative): do not call fitToSize
9150 (fitToSize): remove method
9152 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9154 2001-06-24 The LyX Project <Asger>
9156 * Fix Qt compilation^2
9158 2001-06-24 The LyX Project <jug@sad.it>
9160 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9161 depthHook(getDepth()-1).
9164 * ParagraphParameters.h:
9165 * ParameterStruct.h: change type of depth to unsigned int ==
9166 depth_type. Many adaptations to other files before of that.
9168 2001-06-24 The LyX Project <Asger>
9170 * Fix Qt compilation.
9172 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9174 * paragraph.h: renamed several methods to begin with small letter.
9175 several changes to many parts of the code because of this.
9177 2001-06-23 The LyX Project <jug@sad.it>
9179 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9180 rewritten to discard all double spaces when KeepEmpty is off
9181 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9182 to only handle newlines but not fiddle with spaces and friends.
9184 * lyxfunc.C (MenuNew): when doing 'new from template', use
9185 template_path as default directory
9187 2001-06-23 The LyX Project <Asger>
9189 * Clean-up of header file includes all over
9190 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9192 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * paragraph.h: renamed from lyxparagraph.h
9196 2001-06-23 Asger <lyx@violet.home.sad.it>
9198 * Buffer.h: Removed Buffer::resize
9199 * BufferList.h: Removed BufferList::resize
9200 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9201 the document lazily when we change the width, or the font settings.
9203 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9205 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9207 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9209 * buffer.h: remove out of date comment
9211 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9214 * screen.C: fix "theoretical" GC leak
9216 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9218 * LaTeX.C (scanAuxFile):
9219 (deplog): remove trailing \r when reading stream (useful under
9222 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9224 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9225 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9226 and BufferView::theLockingInset(Inset*), so should use them and not
9227 access bv_->text->the_locking_inset directly.
9229 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9231 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9234 * tex-defs.h: remove old unused file
9236 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9238 * BufferView_pimpl.C: fix typo, remove minibuffer message
9239 when buffer has loaded
9241 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9243 * lyxfunc.C (Dispatch): use stringstream
9244 (MenuNew): use stringstream
9245 (Open): use stringstream
9247 * importer.C (Import): use stringstream
9249 * bufferview_funcs.C (CurrentState): use stringstream
9251 * LaTeX.C (run): use stringstream
9253 * BufferView_pimpl.C (savePosition): use stringstream
9254 (restorePosition): use stringstream
9255 (MenuInsertLyXFile): use stringstream
9257 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9270 * vspace.C: removed // -*- C++ -*- as first line.
9273 * version.h: added // -*- C++ -*- as first line.
9275 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9277 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9279 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9282 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9287 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9289 * gettext.C: include LString.h even when --disable-nls is on.
9291 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9293 * converter.h (Get): changed argument type from int to
9294 FormatList::size_type to avoid unnecessary conversion.
9296 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9299 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9301 * gettext.h: include LString.h even when --disable-nls is on.
9303 2001-06-07 Juergen Vigna <jug@sad.it>
9305 * text.C (BreakAgain): subst spaces with tabs.
9307 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9308 (resizeInsetsLyXText): set force on resizeLyXText.
9310 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9312 * gettext.h (gettext_init):
9313 (locale_init): use a real definition instead of a macro
9315 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9317 * Bufferview_pimpl.C:
9319 * LColor.C: further lcolor tidies
9321 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9323 * BufferView_pimpl.C (updateScrollbar): simplify.
9325 * BufferView2.C: don't include insets/insetinfo.h, change
9326 prototype for insertInset and call the Pimpl version. let
9327 updateInset call Pimpl version.
9329 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9330 gotoInset to BufferView::Pimpl
9332 2001-06-01 Juergen Vigna <jug@sad.it>
9334 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9335 inside a LockingInset (is the update needed at all?).
9337 2001-05-31 Juergen Vigna <jug@sad.it>
9339 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9340 here not the old one otherwise how should we compare it afterwards
9343 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9348 * FontInfo.C: bring C functions into global namespace when
9351 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9353 * LString.h: make sure config.h has been loaded before LString.h.
9355 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9356 (one for each char read by EatLine!).
9358 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9361 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9363 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9364 to the same as the par we break from
9366 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9368 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9370 * MenuBackend.C (expand): also create menu entries for wide
9371 versions of the floats.
9373 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9375 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9377 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9378 frontends/Makefile.am
9384 * tabular.C (getTokenValue): add std::
9386 * tabular-old.C (getTokenValue): add std::
9387 (getTokenValue): ditto
9388 (getTokenValue): ditto
9390 * screen.C (ToggleSelection): adjust
9392 * lyxtext.h: put selection cursors inside a Selection struct.
9394 * lyxfunc.C (moveCursorUpdate): adjust
9396 * lyxfont.C (latexWriteStartChanges): add std::
9400 * font.h: delete with(char const *, LyXFont const &)
9402 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9404 * FontInfo.C (getFontname): add std::
9406 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9407 (workAreaButtonPress): adjust
9408 (tripleClick): adjust
9410 (moveCursorUpdate): adjust
9413 * BufferView2.C (gotoInset): adjust
9415 2001-05-30 Juergen Vigna <jug@sad.it>
9417 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9418 to check pspell I add this as default as I now have new pspell
9419 libraries and they seem to use this.
9421 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9423 * text2.C (CutSelection): make the cursor valid before the call to
9426 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9428 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9429 relied on 0 terminated strings and other horrors. Bug found due to
9430 the new assert in lyxstring!
9432 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9435 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9437 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9440 * lyxfunc.C (processKeySym): change method of getting to the
9443 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9444 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9445 * BufferView_pimpl.[Ch]: here as private methods.
9447 2001-05-28 Juergen Vigna <jug@sad.it>
9449 * text.C (SetHeightOfRow): added the update() call again as it is
9450 needed to initialize inset dimensions!
9452 2001-05-16 Juergen Vigna <jug@sad.it>
9454 * text2.C (SetCharFont): Add new function with BufferView * and
9455 bool toggleall parameters for setting insets internal fonts.
9456 (SetFont): Freeze the undo as we may change fonts in Insets and
9457 all this change should be inside only one Undo!
9459 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9460 setting font's in insets as for them we have the SetFont function!
9462 2001-05-15 Juergen Vigna <jug@sad.it>
9464 * text2.C (ClearSelection): to be sure we REALLY don't have any
9467 * tabular.C (TeXCellPreamble): fixed the left border problem for
9470 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9472 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9475 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9477 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9478 LFUN_BREAKPARAGRAPH.
9480 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9481 help test to "internal only", similar for LFUN_INSERT_URL
9483 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9484 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9485 auto_region_delete and deadkeys.
9487 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9490 * LColor.C: remove some dead entries, tidy a little
9492 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9494 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9496 (Dispatch): implement LFUN_ESCAPE
9498 * commandtags.h: add LFUN_ESCAPE
9500 * LyXAction.C (init): add entry for LFUN_ESCAPE
9502 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9503 Remove commented code.
9504 (insertNote): moved here
9505 (open_new_inset): moved here
9507 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9510 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9512 * kbmap.C (findbinding): clean it up and make it work correctly.
9514 * lyx_main.C (init): do not pass argc and argv as parameters
9516 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9518 * buffer.C: fix path for OS/2 & Win32
9522 * lyx_main.C: Added os:: class.
9524 * os2_defines.h: update
9526 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9528 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9529 better by trying again with reduced state.
9531 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9533 * lyxrc.C (read): print error about invalid key sequence only when
9534 debugging (because not all latinX keysyms are known to some X
9537 * kbsequence.C (getiso): add a few std:: qualifiers
9538 (getiso): comment out extra return statement.
9540 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9542 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9544 (Dispatch): enhance the accent inset a bit. (not perfect)
9546 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9548 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9550 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9552 * bufferlist.C (emergencyWrite): fix assert() call
9554 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9556 * text.C (InsertChar): Added trivial patch to only send the "you
9557 can not do multiple spaces this way" message once during a
9560 2001-05-08 Baruch Even <baruch@lyx.org>
9562 * Makefile.am: Changed order of libraries to get LyX to link properly
9563 with the gnome frontend.
9565 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * LaTeXFeatures.h: add a std:: qualifier
9569 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * paragraph.C (String): use stringstream
9573 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * paragraph.C (writeFile): remove footflag arg
9577 * buffer.C (makeLaTeXFile): use stringstream
9578 (latexParagraphs): remove footnot gurba
9580 * LaTeXFeatures.C (getPackages): use stringstream
9581 (getMacros): likewise
9582 (getTClassPreamble): likewise
9583 (getFloatDefinitions): new method
9585 * paragraph.C (writeFile): reindent
9588 * WorkArea.h: revert the xpos + etc changes.
9590 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9592 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9594 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9595 (pasteSelection): likewise
9596 * text2.C (CreateUndo): likewise
9598 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9600 * minibuffer.C (peek_event): temporarily reduce the functionality
9601 of the minibuffer (to allow args on lfuns)
9603 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9604 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9606 * buffer.C (readInset): add compability reading of old float
9607 lists, add reading of new style float list.
9608 (readInset): avoid reevaluation of inscmd.getCmdName()
9609 (getLists): reindent
9611 * MenuBackend.C (MenuItem): implement parsing of
9612 md_floatlistinsert and md_floatinsert.
9613 (expand::LastFiles): move initalizaton of iterators out of loop,
9615 (expand::Documents): introduce typdedef vector<string> Strings,
9617 (expand::ExportFormats): introduce typedef vector<Format const *>
9618 Formats, and use it.
9619 (expand): implement FloatListInsert and FloatInsert.
9621 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9622 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9623 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9625 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9627 (Dispatch::LFUN_FLOAT_LIST): implement
9629 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9631 * LaTeX.C (run): Fix problem with --export code.
9633 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9635 * BufferView.[Ch] (workarea): removed.
9636 (getClipboard) new method; wrapper for workarea()->getClipboard()
9638 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9641 * WorkArea.h (width, height, xpos, ypos): These methods all
9642 returned the dimensions of the work_area sub-area of WorkArea,
9643 resulting in a position error if the WorkArea were resized. Now
9644 return the dimensions of the entire WorkArea.
9646 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9648 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9650 * LaTeX.C (deplog): correct the syntax of regex reg1
9652 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * undo.C: remove !NEW_INSETS cruft
9656 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9658 * text2.C: remove !NEW_INSETS cruft
9660 * text.C: remove !NEW_INSETS cruft
9662 * tabular.C: remove !NEW_INSETS cruft
9664 * spellchecker.C: remove !NEW_INSETS cruft
9666 * lyxtext.h: remove !NEW_INSETS cruft
9668 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9670 * lyxfunc.C: remove !NEW_INSETS cruft
9672 * lyxfind.C: remove !NEW_INSETS cruft
9674 * lyx_cb.C: remove !NEW_INSETS cruft
9676 * figureForm.C: remove !NEW_INSETS cruft
9678 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9680 * buffer.[Ch]: remove !NEW_INSETS cruft
9682 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9684 * CutAndPaste.C: remove !NEW_INSETS cruft
9686 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9688 * BufferView2.C: remove !NEW_INSETS cruft
9690 * BufferView.h: remove !NEW_INSETS cruft
9692 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * Lsstream.h: include LString.h before the sstream headers to
9695 fix problem with gcc 2.95.3 and lyxstring
9697 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9699 * lyx_main.C: add using directives when needed for C functions
9700 declared in std:: namespace.
9702 2001-04-27 Juergen Vigna <jug@sad.it>
9704 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9705 (SetHeightOfRow): comment out the update call should not be needed!
9707 2001-04-13 Juergen Vigna <jug@sad.it>
9709 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9710 (LyXTabular): tried to minimize operator= operations (and realized
9711 hopfully Lars wish).
9713 2001-04-27 Juergen Vigna <jug@sad.it>
9715 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9717 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9721 * buffer.C (readInset): hack to make listof algorithm work
9723 * BufferView_pimpl.C: hack to make listof algorithm work
9725 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9727 * LyXAction.C: removed all !NEW_INSETS cruft
9728 (init): moved lfun_item in method
9730 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9732 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9734 * BufferView2.C (theLockingInset): white space.
9736 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * minibuffer.C: include <iostream>
9740 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9742 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9744 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9746 * text.[Ch] (TransposeChars): new method
9748 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9750 * call message directly through LyXView instead of through LyXFunc
9751 * BufferView2.C: adjust
9752 * BufferView_pimpl.C: adjust
9753 * FontLoader.C: adjust
9755 * bufferview_funcs.C: adjust
9756 * converter.C: adjust
9757 * figureForm.C: adjust
9758 * importer.C: adjust
9760 * lyx_gui_misc.C: adjust
9764 + more files in subdirs
9766 * lyxparagraph.h (size): move up int file
9769 * adjust all uses of Assert to lyx::Assert.
9771 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9772 lyxfunctional in namespace lyx
9773 * layout.C (hasLayout): ditto
9776 (delete_layout): ditto
9777 (NumberOfClass): ditto
9778 * converter.C (GetFormat): ditto
9783 * bufferlist.C (getFileNames): ditto
9784 (emergencyWriteAll): ditto
9787 * MenuBackend.C (hasSubmenu): ditto
9790 * BufferView_pimpl.C (getInsetByCode): ditto
9792 2001-04-18 Juergen Vigna <jug@sad.it>
9794 * vspace.C (asLatexString): fixed the 100% problem.
9796 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9798 * lyxfunc.C (Dispatch):
9800 * minibuffer.h: add a few std:: qualifiers
9802 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9804 * minibuffer.[Ch]: reimplement so that commands is initiated and
9805 run from lyxfunc, simplified som handling, and made the completion
9806 and history code for complete. wip.
9808 * lyxfunc.C (processKeySym): call message
9809 (miniDispatch): new temporary method
9810 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9811 (LFUN_MESSAGE): implement
9812 (LFUN_MESSAGE_PUSH): implement
9813 (LFUN_MESSAGE_POP): implement
9814 (initMiniBuffer): the initial/defualt minibuffer message.
9816 * lyxfont.[Ch]: inline some more getters
9818 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9820 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9822 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9823 (AutoSave): use LFUN_MESSAGE
9824 (Reconfigure): ditto
9826 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9828 * figureForm.C: use LFUN_MESSAGE
9830 * converter.C (runLaTeX): use LFUN_MESSAGE
9832 * bufferview_funcs.C: use LFUN_MESSAGE
9834 (changeDepth): ditto
9836 * bufferparams.h: use boost::
9838 * bufferlist.h: inherit privately from noncopyable
9840 * bufferlist.C (loadLyXFile): remove some commented code.
9842 * buffer.C (runChktex): use LFUN_MESSAGE
9844 * ShareContainer.h: inherit privately from noncopyable
9846 * ParagraphParameters.[hC] (depth): inline it.
9848 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9850 (message): new method
9851 (messagePush): ditto
9853 (show): init minibuffer
9854 (showState): direct call
9856 * LaTeX.[Ch]: inherit privately from noncopyable
9857 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9858 instead of WriteStatus.
9860 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9862 * BufferView_pimpl.C (buffer): don't init minibuffer
9863 (workAreaButtonPress): use LFUN_MESSAGE
9864 (workAreaButtonRelease): ditto
9865 (savePosition): ditto
9866 (restorePosition): ditto
9867 (MenuInsertLyXFile): ditto
9868 (workAreaExpose): don't init minibuffer
9869 (update): remove commented code, simplify
9871 * BufferView2.C (openStuff): use LFUN_MESSAGE
9872 (toggleFloat): ditto
9875 (copyEnvironment): ditto
9876 (pasteEnvironment): ditto
9881 (updateInset): remove some commented code
9883 * lastfiles.h: inherit privately from noncopyable
9888 * lyxlex_pimpl.h: ditto
9890 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9891 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9892 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9894 * LyXAction.h: inherit privately from noncopyable, add methods
9895 func_begin, func_end, returning iterators to the func map.
9897 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9898 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9899 (func_begin): new method
9900 (func_end): new method
9902 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9904 (copySelection): ditto
9905 (pasteSelection): ditto
9907 * BufferView.C: whitespace change
9908 * BufferView.h: inherit privately from noncopyable
9910 2001-04-16 Allan Rae <rae@lyx.org>
9912 * tabular-old.C (l_getline):
9913 * spellchecker.C (sc_check_word):
9914 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9915 an unrecognised preprocessor directive. So ensure they're wrapped.
9917 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9919 * src/exporter.C (Export): Give an error message when path to file
9922 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9924 * LaTeX.C (deplog): Always check that foundfile exists.
9926 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9929 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9931 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * tabular.[Ch] (getLabelList): implement new method
9935 * minibuffer.h: comment ouf setTiimer
9937 * minibuffer.C (ExecutingCB): constify res
9938 (peek_event): constify s
9939 (Set): constify ntext
9940 (Init): constify nicename
9942 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9944 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9945 (savePosition): use two params to Minibuffer::Set
9946 (restorePosition): ditto
9948 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9950 * lyx_main.C: include language.h
9952 * Makefile.am (lyx_main.o): add language.h
9954 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9960 * CutAndPaste.C: include gettext.h
9962 * lyxfont.h: remove old hack with ON and OFF.
9965 * lyxfont.h: do not include language.h...
9970 * bufferview_funcs.C:
9976 * paragraph.C: ... but do it here instead
9978 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9980 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9982 * tabular.C: small reformat
9984 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9987 (BreakParagraph): ditto
9988 (SetOnlyLayout): ditto
9991 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9994 * lastfiles.C: removed most using decl, add std:: where needed
9996 * buffer.C: ws changes
9998 * MenuBackend.C (class compare_format): put into anon namespace
9999 (expand): constify label, names, action, action2
10002 * text.C (SingleWidth): constify font
10003 (IsBoundary): constify rtl2
10004 (GetVisibleRow): constify ww
10006 * LaTeX.C (deplog): constify logfile
10008 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10010 (workAreaExpose): constify widthChange, heightChange
10012 * lyxrow.C (par): moved
10015 * lyxrow.h: as inlines here
10017 * lyxfont.h (shape): moved from lyxfont.C
10018 (emph): moved from lyxfont.C
10020 * lyxfont.C (LyXFont): use initialization list for all
10022 (shape): move to lyxfont.h as inline
10023 (emph): move to lyxfont.h as inline
10026 2001-04-04 Juergen Vigna <jug@sad.it>
10028 * vspace.C: had to include stdio.h for use of sscanf
10030 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10033 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10034 independent of xforms.
10036 2001-04-02 Juergen Vigna <jug@sad.it>
10038 * spellchecker.C: fixed namespace placing!
10040 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10042 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10043 the LyXParagraph * is 0.
10045 2001-03-29 Juergen Vigna <jug@sad.it>
10047 * vspace.C: added support for %, c%, p%, l%.
10048 (stringFromUnit): added helper function.
10049 (asLatexString): changed to give right results for the %-values.
10051 * buffer.C: convert the widthp in a width%.
10053 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10055 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10058 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10059 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10061 * lyx_cb.[Ch]: see above.
10063 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10067 * lyx.[Ch]: replaced by figure_form.[Ch].
10071 * lyxfunc.C: changed headers associated with above changes.
10073 2001-03-27 Juergen Vigna <jug@sad.it>
10075 * BufferView_pimpl.C: set the temporary cursor right!
10077 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10079 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10081 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10083 * LString.h: removed "using std::getline"!
10085 * BufferView_pimpl.C (Dispatch): changes due to changes in
10086 InsetInclude::Params.
10088 * buffer.C (tag_name): removed redundant break statements as they were
10089 producing lots of warnings with my compiler.
10091 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10093 * LString.h: add "using std::getline" when using the real <string>.
10095 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10097 * buffer.C: removed bitset usage.
10098 PAR_TAG moved to an anonymous name space.
10099 (tag_name): new funtion, also in the anonymous namespace.
10100 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10101 (makeDocBookFile): clean code. Completed transition from string arrays
10103 (SimpleDocBookOnePar): code clean.
10105 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10107 * tabular.C: add some comments.
10109 2001-03-22 Juergen Vigna <jug@sad.it>
10111 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10112 compatibility read a bit and fixed bug with minipage in different
10115 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10117 * buffer.C (pop_tag): removed.
10118 (push_tag): removed.
10119 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10120 array replaced with vector. Added support for CDATA sections.
10121 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10123 (makeDocBookFile): XML conformant declaration of CDATA section,
10124 fixed bug related to <emphasis> in the first paragraph char.
10125 (sgmlOpenTag): exclude empty tags.
10126 (sgmlCloseTag): ditto.
10128 * buffer.h (pop_tag): removed.
10129 (push_tag): removed.
10131 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10133 * language.h (Languages): added size_type and size().
10135 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10137 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10138 response on compability reading of minipages. One probliem is that
10139 the old usage of minipages was «flertydig»
10141 * several files here and in subdirs: don't use static at file
10142 scope use anon namespaces instead.
10144 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10146 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10147 LaTeX output. This is necessary for Literate document
10150 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10152 * buffer.C: insert hfill when needed.
10154 * tabular.C (l_getline): use string::erase, small whitespace change.
10156 * BufferView_pimpl.C: try the anon namespace.
10157 * WorkArea.C: ditto
10159 2001-03-16 Juergen Vigna <jug@sad.it>
10161 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10162 otherwise it won't open options-dialogs.
10164 * buffer.C: honor pextraWidth(p) on converting minipages.
10166 * tabular.C (l_getline): changed the functions to strip trailing \r.
10168 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10170 * BufferView_pimpl.C:
10171 * minibuffer..C: added "using SigC::slot" declaration.
10173 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10175 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10181 * paragraph.C: ditto
10183 * lyxtext.h: NO_PEXTRA
10185 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10187 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10188 * ParameterStruct.h: ditto
10189 * ParagraphParameters.h: ditto
10190 * lyxparagraph.h: ditto
10192 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10194 * buffer.C: add compability for minipage alignment.
10195 (latexParagraphs): remove unwanted pextra check.
10197 * several files: remove CXX_WORKING_NAMESPACES
10199 * buffer.C (pop_tag): tie is in namespace boost
10201 * BufferView.h: noncopyable is in namespace boost
10203 * lyx_main.h: ditto
10206 * lastfiles.h: ditto
10207 * bufferlist.h: ditto
10208 * ShareContainer.h: ditto
10210 * LyXAction.h: ditto
10213 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10215 * Merging changes from BRANCH_MVC back into HEAD.
10217 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10219 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10221 * BufferView_pimpl.C: change from intl.C
10225 * Makefile.am: move combox.*
10231 * intl.C: remove dialog (covered by prefs)
10233 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10235 * lyxfunc.C (Dispatch): removed redundant break statement.
10237 2001-03-14 Juergen Vigna <jug@sad.it>
10239 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10241 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10243 * buffer.C: add hack to fix compability reading of minipages.
10245 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10247 * buffer.C (getLists): Cleanup.
10249 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * lyxfont.C (update): don't honor toggleall on font size.
10253 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10257 * Makefile.am: moved to frontends/xforms/
10261 * BufferView_pimpl.C: changes for moved mathpanel
10263 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10265 * gettext.h: fix gettext_init() in --disable-nls
10267 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10269 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10271 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10274 * lyx.h: strip external form
10276 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10278 * BufferView_pimpl.C: add comment, destroySplash()
10280 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10282 * BufferView_pimpl.C:
10286 * lyxfunc.C: use re-worked insetinclude
10288 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10290 * buffer.C: add using std::stringstream.
10292 * lyx_cb.C: readd using std::ios.
10294 * buffer.C: add using std::map.
10296 * BufferView_pimpl.C: add using std::vector.
10298 * ShareContainer.h: add std:: to swap.
10300 * buffer.h: add some typedefs
10301 * buffer.C (getLists): use them
10302 (getLists): renamed from getTocList.
10303 add a counter for the different float types and use it in the
10305 (getLists): use the same counter for the NEW_INSETS and the "non"
10308 * lyx_cb.h: remove unused items, includes, using etc.
10310 * ShareContainer.h: remove some commented code, add more comments
10311 and "documentation".
10313 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10315 * buffer.C (getTocList): make the list also when NEW_INSETS is
10318 * buffer.h: remove TocType
10320 * buffer.C (getTocList): change to return a map<string,
10321 vector<TocItem> >, implement for dynamic number of list.
10323 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10324 * text2.C (PasteSelection): adjust
10325 * CutAndPaste.C (pasteSelection): adjust
10327 * FloatList.C (FloatList): update from the new_insets branch.
10328 * Floating.[Ch]: ditto
10329 * LaTeXFeatures.C: ditto
10331 * lyxlex_pimpl.C: ditto
10333 * paragraph.C (Last): remove when NEW_INSETS is defined.
10335 * other file: changes because of the above.
10337 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10339 * lyxparagraph.h: rename next to next_, previous to previous_,
10340 make them private for NEW_INSETS. Rename Next() to next(),
10341 Previous() to previous().
10343 * other files: changes because of the above.
10345 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10348 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10351 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * main.C (main): pass lyx_localedir to gettext_init().
10355 * gettext.h: remove locale_init and gettext_init macros
10357 * gettext.C (locale_init): new function
10358 (gettext_init): new function
10360 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10363 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10365 * Moved credits to frontends:
10366 * credits.[Ch]: removed
10367 * credits_form.[Ch]: removed
10368 * lyx_gui_misc.C: remove credits stuff
10371 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10373 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10375 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10376 unneeded destructor.
10378 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10379 a standalone pointer again.
10381 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10383 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10389 * ToolbarDefaults.C:
10398 * BufferView_pimpl.C: use new file dialog in GUII
10401 * lyx_cb.C: remove LayoutsCB to Toolbar
10403 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10405 * ShareContainer.h (get): add std:: qualifier
10407 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10409 * ShareContainer.h: define a proper ShareContainer::value_type
10410 type (and use typename to please compaq cxx)
10412 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10414 * lyxparagraph.h: move serveral local vars to
10415 ParameterStruct/ParagraphParameters., use ShareContainer in
10416 FontTable., make vars in FontTable private and add getter and
10419 * paragraph.C: changes because of the above.
10421 * lyxfont.h: remove copy constructor and copy assignment. (the
10422 default ones is ok), move number inside FontBits. move inlines to
10425 * lyxfont.C: add number to initializaton of statics, move several
10426 inlines here. constify several local vars. some whitespace
10427 cleanup. Dont hide outerscope variables.
10429 * Spacing.h: add two new constructors to match the set methods.
10431 * ShareContainer.h: new file, will perhaps be moved to support
10433 * ParameterStruct.h: new file
10435 * ParagraphParameters.h: new file
10437 * ParagraphParameters.C: new file
10439 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10440 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10442 * BufferView_pimpl.C: ParagraphParameter changes.
10443 * buffer.C: Likewise.
10444 * bufferview_funcs.C: Likewise.
10445 * text.C: Likewise.
10446 * text2.C: Likewise.
10448 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10450 * lyxfind.C (LyXReplace): do not redefine default argument in
10452 (IsStringInText): ditto
10453 (SearchForward): ditto
10454 (SearchBackward): ditto
10456 2001-03-06 Juergen Vigna <jug@sad.it>
10458 * lyxfind.C (IsStringInText): put parentes around expressions.
10460 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10462 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10464 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10466 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10468 * stl_string_fwd.h: add comment
10470 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10473 * tabular.C: remove unused DocBook methods
10479 killed DO_USE_DEFAULT_LANGUAGE
10481 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * lyx_gui.C: do not include language.h.
10485 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10486 arguments in function implementation.
10488 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10490 * BufferView_pimpl.C: add <ctime>
10492 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10494 * BufferView_pimpl.C: add using std::find_if
10496 2001-02-27 José Matos <jamatos@fep.up.pt>
10498 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10501 2001-02-11 José Matos <jamatos@fep.up.pt>
10503 * buffer.C (makeDocBookFile): command styles now have a parameter as
10504 "title" by default.
10506 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10508 * layout_forms.[Ch]: removed
10509 * lyx_cb.[Ch]: out character
10510 * lyx_gui.C: out character
10511 * lyx_gui_misc.C: out character
10512 * bufferview_funcs.C: : out character,
10513 added toggleall as parameter in ToggleAndShow
10515 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10517 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10519 * text2.C (SetCurrentFont): Disable number property at boundary.
10521 2001-02-26 Juergen Vigna <jug@sad.it>
10523 * lyxfunc.C (getStatus): added a string argument override function so
10524 that this is correctly called from LyXFunc::Dispatch if it contains a
10525 do_not_use_argument which is used!
10526 (Dispatch): added check for "custom" export and call appropriate func.
10528 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10530 * lyxrc.C: Add language_command_local, language_use_babel and
10531 language_global_options.
10533 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10535 * buffer.C (makeLaTeXFile): Use language_use_babel and
10536 language_global_options.
10538 2001-02-23 Juergen Vigna <jug@sad.it>
10540 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10541 which works with LyXText and putted it inside BufferView. Here now we
10542 only call for that part the BufferView::Dispatch() function.
10544 * BufferView.C (Dispatch): added.
10546 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10547 functions which needs to use a LyXText over from LyXFunc.
10548 (MenuInsertLyXFile): added
10549 (getInsetByCode): added
10550 (moveCursorUpdate): added
10551 (static TEXT): added
10553 2001-02-22 Juergen Vigna <jug@sad.it>
10555 * BufferView_pimpl.C (update): call a status update to see if LyXText
10558 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10560 * vc-backend.C (revert): implement for CVS
10561 (getLog): implement for CVS
10563 2001-02-20 Juergen Vigna <jug@sad.it>
10565 * text2.C (ClearSelection): added BufferView param for inset_owner call
10567 * lyxfunc.C (TEXT): added this function and use it instead of
10568 directly owner->view()-text of getLyXText().
10570 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10572 * src/layout_forms.C: out preamble
10573 * src/layout_forms.h: out preamble
10574 * src/lyx_cb.C: out preamble
10575 * src/lyx_cb.h: out preamble
10576 * src/lyx_gui.C: out preamble
10577 * src/lyx_gui_misc.C: out preamble
10578 * src/lyxfunc.C: connect with guii preamble
10580 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10582 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10584 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10586 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10587 whether to run bibtex.
10589 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10591 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10593 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10595 * Makefile.am (lyx_SOURCES): removed bibforms.h
10597 * vspace.h: doxygen
10599 * text.C (GetVisibleRow): make several local vars const
10601 * tabular.C: small cleanup.
10603 * lyxserver.C (callback): use compare instead of strncmp
10605 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10606 inlines to after class or to paragraph.C
10608 * lyxfont.h: remove friend operator!=
10610 * converter.h: move friend bool operator< to non friend and after
10613 * combox.h: small cleanup
10615 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10616 to inlines after class def.
10618 * buffer.C (pop_tag): use string operations instead of strcmp
10620 * bmtable.c: doxygen, small cleanup
10622 * LaTeX.h: remove friend operator==
10624 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10636 * BufferView_pimpl.C:
10637 * BufferView.[Ch]: remove cruft
10639 2001-02-14 Juergen Vigna <jug@sad.it>
10641 * lyxfunc.C: removed #if 0 unused code
10643 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10645 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10647 * text2.C (SetSelection): added a BufferView * parameter
10649 2001-02-13 Juergen Vigna <jug@sad.it>
10651 * lyxfunc.C (Dispatch): fixed protected blank problem.
10652 * BufferView2.C (protectedBlank): added LyxText * parameter.
10654 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10655 (AppendColumn): same as above for column_info.
10657 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10658 (moveCursorUpdate): use a LyXText param for support of InsetText.
10660 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10661 (tripleClick): ditto
10663 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10665 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10667 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10669 * text2.C (SetSelection): set correct update status if inset_owner
10670 (ToggleFree): ditto
10672 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10674 * tabular.C: remove some commented code.
10676 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10678 * BufferView_pimpl.C: call hideSplash()
10680 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10683 * bibforms.h: remove
10686 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10687 add LFUN_CHILD_CREATE
10689 * counters.h: fix tiny typo
10694 * lyx.C: move splash to frontends/xforms/
10696 * lyx_gui_misc.C: move Include and Bibform to frontends
10698 * lyxvc.h: clarify comment
10700 * vspace.C: tiny housekeeping
10702 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10704 * text.C (PrepareToPrint): RTL Fix.
10706 * paragraph.C (GetUChar): New method.
10707 (String): Use GetUChar.
10709 * buffer.C (asciiParagraph): Use GetUChar.
10711 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10713 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10715 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10718 * buffer.C: rename to getLogName(), handle
10719 build log / latex log nicely
10721 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10724 * MenuBackend.h: remove support for reference menuitem type.
10726 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10728 * BufferView_pimpl.C: housekeeping
10729 * BufferView_pimpl.h:
10734 * minibuffer.h: move Timeout GUI-I
10736 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10738 * lyxrc.C (read): Update converters data-structures.
10740 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10742 * LaTeX.h (operator!=): add operator != for Aux_Info
10744 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10746 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10748 * LaTeXLog.C: deleted, useful code moved to Buffer
10751 * buffer.C: new function getLatexLogName()
10757 * lyxfunc.C: use frontends for LaTeX and VC logs
10759 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10761 * LaTeX.h: yet another std:: that Allan forgot.
10763 * Variables.C (set): renamed from isset(), because this clashes
10764 with some HP-UX macros (grr).
10766 2001-02-06 Allan Rae <rae@lyx.org>
10768 * LaTeX.h: Another bug fix. Missing std:: this time.
10770 2001-02-04 Allan Rae <rae@lyx.org>
10772 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10773 floats problem. I've left it commented out because it's not quite
10774 correct. It should also test that the current object is a table or
10775 figure inset. But I haven't gotten around to figuring out how to do
10776 that. I *think* it'll be something like: "table" == inset.type()
10778 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10781 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10783 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10784 all the citation/databases/styles in the auxilary file.
10785 (run): Rerun latex if there was a babel language error.
10787 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10789 * text.C (Backspace): Preserve the font when changing newline char
10791 (BreakParagraph): If the cursor is before a space, delete the space.
10793 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10795 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10797 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10798 new argument (code).
10799 (ChangeCitationsIfUnique): New method.
10801 * paragraph.C (GetPositionOfInset): Handle bibkey.
10803 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * BufferView_pimpl.h: change type of Position::par_pos to
10806 LyXParagraph::size_type.
10808 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10810 * BufferView_pimpl.C (savePosition, restorePosition): Write
10811 messages to minibuffer.
10813 2001-01-28 José Matos <jamatos@fep.up.pt>
10815 * buffer.C (makeDocBookFile): adds support for document language.
10816 A silly restriction on the name of LatexCommand types where removed.
10817 Added support for CDATA sections, allows to chars unescaped, used
10818 among others in code, to avoid escape < and >.
10820 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10822 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10823 saved positions instrad of a stack. Furthermore, a position is
10824 stored using paragraph id/paragraph position.
10826 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10827 Remove LFUN_REF_BACK.
10829 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10831 * converter.C (dvipdfm_options): New method.
10833 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10835 * vspace.C (isValidLength): Fix for empty input string.
10837 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10839 * LyXAction.C (init): change description of LFUN_FIGURE to
10842 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10844 * LaTeX.C: add using directive
10846 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10848 * MenuBackend.C (expand): Fix the sorting of the formats.
10850 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10852 * lyx_main.C: tiny error message fix
10854 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10856 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10857 calling fl_initialize(). This fixes the problem with ',' as
10858 decimal separator in text files.
10860 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10862 * trans.C (process): Fix the keymap bug.
10864 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10866 * LaTeX.C (scanAuxFiles): New method. Provides support for
10867 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10868 (scanLogFile) Scan for "run BibTeX" messages.
10870 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10871 OT1 font encoding. Also, load the aecompl package if the ae
10874 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10876 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10878 * texrow.C (increasePos): turn two error messages into debug
10881 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10883 * LaTeX.C (scanAux): Handle the \@input macro.
10884 (runBibTeX): Use scanAux().
10886 * language.C (latex_options_): New field.
10888 * LaTeXFeatures.C (getMacros): Add language macros.
10890 * buffer.C (makeLaTeXFile): Small fix.
10892 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10894 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10896 * text2.C: add a using directive.
10898 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10903 * lyxfunc.C: kill LyXBell.
10905 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10907 * text.C (IsBoundary): Remove the error message
10909 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10911 * lyxrc.C (setDefaults): Correct initialization value for
10914 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10916 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10919 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10920 and GotoNextNote().
10922 * src/LyXAction.C: Added reference-next.
10924 * text.C (InsertChar): Use contains instead of strchr.
10926 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10928 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10930 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10931 alignment commands (when needed).
10933 * text.C (InsertChar): Add ':' to number separator chars.