1 2003-06-07 John Levon <levon@movementarian.org>
9 * paragraph.C: allow InsetERT to freely space lines,
10 and some consolidation of code
12 2003-06-06 José Matos <jamatos@fep.up.pt>
14 * buffer.C (makeDocBookFile): fix bug #821
16 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
18 * BufferView_pimpl.C (dispatch): use Dialogs::visible
20 2003-06-04 Angus Leeming <leeming@lyx.org>
22 * buffer.C: bump format to 224.
24 2003-06-05 André Pönitz <poenitz@gmx.net>
26 * text2.C (redoParagraphs): remove two const_cast<>
28 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
30 * ParagraphList.h: remove last remnants of NO_STD_LIST
32 2003-06-03 Angus Leeming <leeming@lyx.org>
34 * factory.C (createInset): small change to the way InsetExternal's params
37 2003-06-04 André Pönitz <poenitz@gmx.net>
39 * buffer.h: use Undo directly instead of shared_ptr<Undo>
42 * paragraph.[Ch]: some Inset -> UpdatableInset changes
44 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
46 * undo_funcs.C: make some simple cases of undo work again
48 2003-06-03 John Levon <levon@movementarian.org>
50 * ispell.C: HPUX doesn't have sys/select.h
53 2003-06-03 John Levon <levon@movementarian.org>
55 * CutAndPaste.C: update tabular and include inset
60 * paragraph.C: remove owningBuffer(), don't pass Buffer
63 * factory.C: insetGraphicsParams changed
65 2003-06-02 John Levon <levon@movementarian.org>
71 * text3.C: remove insetparent
73 2003-06-02 John Levon <levon@movementarian.org>
76 * buffer.C: fix inset_iterator.end(), move out of line
79 2003-06-01 John Levon <levon@movementarian.org>
81 * text3.C: use a proper cut/paste when doing inset
82 insert (from Jürgen Spitzmüller)
84 2003-06-01 John Levon <levon@movementarian.org>
86 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
88 2003-05-30 André Pönitz <poenitz@gmx.net>
90 * rowpainter.C: unify second drawing phase
92 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
94 * trans_mgr.C: remove one case of current_view
96 * text2.C (cursorBottom): delete NO_STD_LIST stuff
98 * paragraph_funcs.h: remove paragraph.h include
100 * paragraph.h: delete NO_STD_LIST stuff
102 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
104 * buffer.h: remove paragraph.h include
106 * ParagraphList.C: delete file
108 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
110 * toc.C (getTocList): adjust
112 * paragraph_pimpl.C (validate): adjust
114 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
116 * paragraph.C (Paragraph): adjust
117 (getPositionOfInset): use const_iterator, adjust
118 (bibitem): use const_iterator, adjust
119 (setInsetOwner): adjust
121 * iterators.C (operator++): adjust
123 * InsetList.[Ch]: Replace selfmade iterator with standard
124 vector::iterator also introduce const_iterator. Remove getPos,
125 getInset and setInset from InsetTable. Adjust accordingly.
127 * BufferView.C (lockInset): adjust
128 (ChangeInsets): adjust
130 * tabular.[Ch]: delete commented same_id functions
132 2003-05-28 John Levon <levon@movementarian.org>
134 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
136 2003-05-28 André Pönitz <poenitz@gmx.net>
138 * metricsinfo.[Ch]: remove 'fullredraw' member
140 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
142 * lyxtextclass.C (operator): remove caching.
144 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
148 * text2.C (cursorBottom): adjust
149 (setCounter): use ParagraphList::find, adjust
151 * text.C (workWidth): use ParagraphList::find, adjust
153 * lyxcursor.C (LyXCursor): adjust
155 * buffer.C (inset_iterator): adjust
157 * ParagraphList.h: make iterator(value_type) private, make
158 ParagraphList a friend of iterator.
160 * ParagraphList.C (find): new function
162 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
164 2003-05-27 André Pönitz <poenitz@gmx.net>
166 * dimension.[Ch]: a -> asc, d -> des, w -> wid
168 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
172 2003-05-26 John Levon <levon@movementarian.org>
174 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
176 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
178 * remove same_id from function signatures, adjust.
180 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
182 * undo_funcs.C (createUndo): use the id functions directly, adjust.
184 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
186 * paragraph.C (Paragraph): get rid of same_ids parameter
188 * ParagraphList.C (insert): adjust
191 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * paragraph_funcs.C (breakParagraph): adjust
194 (breakParagraphConservative): adjust
196 * buffer.C (readParagraph): adjust
198 * ParagraphList.C (insert): take a reference instead of a pointer
201 * paragraph.[Ch] (id): new function
203 * bufferlist.C (newFile): adjust
205 * ParagraphList.C (ParagraphList): adjust
207 (push_back): take a reference instead of a pointer.
209 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
211 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
214 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
215 set else use old code.
217 * ParagraphList.C: remove all NO_NEXT code and only compile this
218 code of NO_STD_LIST is set.
220 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
222 * BufferView_pimpl.C:
232 * graphics/GraphicsConverter.C:
233 * graphics/PreviewLoader.C: header adjustment
235 2003-05-23 Angus Leeming <leeming@lyx.org>
237 * LaTeXFeatures.[Ch] (useBabel): new method.
238 * bufferparams.C (writeLaTeX): use it.
240 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * ParagraphList.h (set): remove unused function.
244 2003-05-23 André Pönitz <poenitz@gmx.net>
247 * BufferView_pimpl.C:
251 * undo_funcs.C: setUndo reworked
253 * iterators.[Ch]: add access to topmost ParagraphList
255 * lyxtext.[Ch] (workWidth): add a const
257 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
259 * texrow.[Ch] (increasePos): remove function
260 * exporter.C (export): removed unused var and outdated comment
262 2003-05-23 Angus Leeming <leeming@lyx.org>
264 * latexrunparams.h: rename fragile as moving_arg.
265 * paragraph.C (simpleTeXOnePar): ditto.
266 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
268 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
270 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
272 (textUndoOrRedo): comment out a currently unused var.
274 * paragraph.h (NO_NEXT): enable NO_NEXT
276 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
278 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
280 * exporter.C (Export): adjust for removeAutoInsets removal.
282 * buffer.C (runChktex): adjust for removeAutoInsets removal.
284 * LyXAction.C (init): remove LFUN_REMOVEERRORS
286 * BufferView.[Ch] (removeAutoInsets): delete function
288 2003-05-22 Angus Leeming <leeming@lyx.org>
290 * latexrunparams.h: add a free_spacing variable.
292 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
293 to pass moving_arg, as the data is stored in runparams.fragile.
295 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
296 to Inset::latexOptional or to simpleTeXOnePar.
298 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
299 free_spacing arg to Inset::latexOptional.
301 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
304 2003-05-22 Angus Leeming <leeming@lyx.org>
306 * latexrunparams.h: add fragile and use_babel variables.
308 * bufferparams.[Ch] (writeLaTeX): return use_babel.
309 * buffer.C (makeLaTeXFile): store this returned value in
310 runparams.use_babel, thus passing it to the inset::latex methods.
312 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
313 simpleTeXSpecialChars as it is now stored in runparams.fragile.
315 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
316 longer has a fragile arg, as it is stored in runparams.fragile.
318 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
319 moving_arg parameter as the data is stored in runparams.fragile.
321 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
322 a fragile parameter as the data is stored in runparams.fragile.
324 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
326 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
328 2003-05-22 Angus Leeming <leeming@lyx.org>
330 * latexrunparams.h: add a 'bool nice' which defaults to false.
332 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
333 now encapsulated within runparams.
335 * bufferlist.C (updateIncludedTeXfiles):
336 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
338 2003-05-22 Angus Leeming <leeming@lyx.org>
340 * latexrunparams.h: new file containing struct LatexRunParams.
341 * Makefile.am: add new file.
343 * LaTeX.[Ch] (c-tor, run):
344 * buffer.[Ch] (makeLaTeXFile):
345 * bufferlist.[Ch] (updateIncludedTeXfiles):
346 * converter.C (convert, scanLog):
347 * converter.[Ch] (runLaTeX):
348 * exporter.C (Export):
349 * paragraph.[Ch] (simpleTeXOnePar):
350 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
351 * paragraph_funcs.[Ch] (latexParagraphs):
352 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
353 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
354 pass around a LatexRunParams parameter.
356 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
358 * paragraph.[Ch]: remove unused constructor
360 * ParagraphList.C (erase): new function, taking two iterators
362 2003-05-22 André Pönitz <poenitz@gmx.net>
364 * undo_funcs.C: remove duplicated code
366 * iterator.[Ch]: operator=
368 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
370 * tabular.C (SetMultiColumn): ws changes
372 * rowpainter.C (paintFirst): get rid of a ->previous
374 * lyx_cb.C (getPossibleLabel): parlist simplification
376 * BufferView.C (ChangeInsets): simplify slightly.
378 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * LyXAction.C: new lfun space-insert, kill protected-space-insert
381 * lfuns.h: new LFUN_SPACE
382 * lyxfunc.C: protected space has a new lfun
383 * paragraph_funcs.C: read new space insets
385 * factory.C: handle new space insets
387 2003-05-22 André Pönitz <poenitz@gmx.net>
390 * BufferView_pimpl.C:
393 * undo_funcs.C: return a ParIterator from getParFromID.
395 * iterators.[Ch]: add two const's
397 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * toc.C (getTocList): adjust
401 * iterators.[Ch]: rework for parlist
403 * buffer.C (par_iterator_begin): adjust
404 (par_iterator_end): adjust
406 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
408 * BufferView.C (removeAutoInsets): adjust
409 (ChangeInsets): adjust
411 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
413 * text.C (top_y): fix bug 1110
415 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
417 * errorlist.[Ch]: added
420 * BufferView_pimpl.C:
421 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
424 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * Makefile.am: ensure that lyx is relinked upon changes to the
427 various "convenience" libs.
429 2003-05-20 Angus Leeming <leeming@lyx.org>
431 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
432 files are compiled in alphabetical order again.
434 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
436 2003-05-19 Angus Leeming <leeming@lyx.org>
438 * gettext.[Ch]: remove "char const * _(char const *)".
440 2003-05-19 André Pönitz <poenitz@gmx.net>
442 * dimension.[Ch]: promote from mathed/dimension.[Ch]
451 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
453 2003-05-19 André Pönitz <poenitz@gmx.net>
459 * paragraph_funcs.[Ch]:
461 * text3.C: more insetenv work
463 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
465 * ParagraphParameters.C (params2string): small bug fixed
467 2003-05-16 André Pönitz <poenitz@gmx.net>
470 * bufferview_funcs.C: patch from Kornel Benko to prevent
471 crash when _(...) is called twice in a statement
473 2003-05-16 André Pönitz <poenitz@gmx.net>
480 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
482 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
484 * lyx_main.C (init): remove spurious static_cast
486 2003-05-14 André Pönitz <poenitz@gmx.net>
488 * BufferView.C: fix format string
490 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
492 * BufferView.[Ch] (insertErrors): removed
493 * BufferView.[Ch] (showErrorList): added
494 * buffer.C (runChkTeX):
495 * converter.C (scanLog): call showErrorList instead of inserterrors
497 2003-05-13 André Pönitz <poenitz@gmx.net>
499 * BufferView_pimpl.C:
508 * tabular_funcs.h: tostr() from its own header
510 * ParagraphParameters.C:
517 2003-05-12 André Pönitz <poenitz@gmx.net>
520 * BufferView_pimpl.C:
524 * ParagraphParameters.C:
528 * bufferview_funcs.C:
545 * text3.C: boost::format -> bformat all over the place
548 2003-05-09 André Pönitz <poenitz@gmx.net>
550 * LColor.[Ch]: Pimpl the #include <map> away
552 2003-05-09 John Levon <levon@movementarian.org>
554 * bufferlist.C: never remove emergency saves
556 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
558 * Makefile.am: better lib building
560 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
562 * texrow.[Ch]: remove dependency on Paragraph and just store a id
564 * paragraph_pimpl.C (simpleTeXBlanks): adjust
565 (simpleTeXSpecialChars): adjust
566 (simpleTeXSpecialChars): adjust
567 * paragraph.C (simpleTeXOnePar): adjust
568 * buffer.C (makeLaTeXFile): adjust
570 * Makefile.am (BOOST_LIBS): allow boost as system lib.
572 * text2.C (changeDepth): parlist cleanup
573 (getColumnNearX): ditto
575 * rowpainter.C (getLabelFont): parlist cleanup
577 * bufferlist.C (newFile): parlist cleanup
579 * CutAndPaste.C (eraseSelection): parlist cleanup
581 * BufferView_pimpl.C (trackChanges): parlist cleanup
584 * BufferView.C (lockInset): parlist cleanup.
585 (ChangeInsets): ditto
587 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * CutAndPaste.h: Update file header.
591 * CutAndPaste.C: Update file header.
592 Store the parts cut out of the Document in a limited_stack.
593 (copySelection): adjust
594 (pasteSelection): new function, takes the index in the limited stack.
595 (nrOfParagraphs): adjust
596 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
597 simplify error inset insertion.
598 (checkPastePossible): adjust
600 2003-05-06 John Levon <levon@movementarian.org>
602 * text2.C: don't cast wrap inset to float
604 2003-05-05 André Pönitz <poenitz@gmx.net>
607 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
609 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
610 few naked Paragraph *.
612 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
614 * bufferparams.C: Output warning if a document with missing
615 TeX document class is loaded
616 * exporter.C: Disable TeX exports if the document class is missing
619 * lyxtextclasslist.C: Handle new textclass.lst format; new method
620 isTeXClassAvailable()
622 2003-05-03 John Levon <levon@movementarian.org>
625 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
626 explicit cursor show/hide
628 * BufferView_pimpl.h:
629 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
630 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
632 * lyxfunc.C: hide cursor before dispatching.
637 * text3.C: remove explicit cursor hides
639 2003-05-02 André Pönitz <poenitz@gmx.net>
641 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
644 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
647 * text2.C: tiny whitespace
649 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
651 * undo_funcs.C: almost only ws changes.
653 * ParagraphList.C (splice): just return if pl is empty.
655 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
657 * ParagraphList.C (splice): new function.
659 * CutAndPaste.C (pasteSelection): use it
661 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
663 * CutAndPaste.C (pasteSelection): remove the last next and
664 previous from this file.
666 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * CutAndPaste.C (pasteSelection): more clean up, user proper
669 ParagraphList functions for pasteing.
671 * ParagraphList.C (insert): new function, three arg insert
673 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * ParagraphList.C (insert): new function, three arg insert
677 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
680 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
682 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
684 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * CutAndPaste.C (pasteSelection): remove some unneeded code.
688 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
690 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
691 (copySelection): clean up a bit.
692 (pasteSelection): use make_pair
694 * ParagraphList.C (ParagraphList): implement copy constructor
695 (operator=): implement, base on copy constructor.
698 * paragraph.C (erase): return a bool
700 * paragraph_pimpl.C (erasePos): remove function, move contents...
701 (erase): ... here. Return a bool.
702 (erase): call erase instead of erasePos.
704 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
706 * ParagraphList.h: define PitPosPair
707 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
708 ParagraphList, fix a bug on pasting multiple pars
709 * text2.C: change interface to C&P
711 2003-04-30 André Pönitz <poenitz@gmx.net>
713 * undo_func.C: revert part of yesterday's patch 2
715 2003-04-30 John Levon <levon@movementarian.org>
717 * LColor.C: s/tabular/table/
719 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * text3.C (dispatch): do not convert iterator -> pointer
722 * undo_funcs.C (setCursorParUndo): ditto
723 * text_funcs.C (transposeChars): ditto
725 * text2.C (setLayout): ws changes only
727 * text.C (breakParagraph): do not convert iterator -> pointer
729 (acceptChange): ditto
730 (rejectChange): ditto
735 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
738 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
740 * text3.C (gotoInset): YABG (yet another bad getChar)
742 2003-04-29 André Pönitz <poenitz@gmx.net>
744 * paragraph.h: make operator= private unimplemented as long as
747 * ParagraphList.C: whitespace
750 * paragraph_pimpl.[Ch]:
753 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
756 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
758 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
760 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
761 * paragraph.[Ch] (erase):
762 * paragraph_pimpl.[Ch] (erase): change return type and value
763 * text2.C (cutSelection): some rework
765 2003-04-28 John Levon <levon@movementarian.org>
767 * bufferlist.C: changes for unsaved changes dialog
769 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
771 * bufferlist.C (newFile): set language (messages_) for new
774 * buffer.C (readFile): ws changes only.
776 2003-04-28 André Pönitz <poenitz@gmx.net>
781 * BufferView_pimpl.C:
782 * BufferView.C: getParFromID related ParagraphList::iterator changes
784 2003-04-28 André Pönitz <poenitz@gmx.net>
786 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
789 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * messages.C: remove one more localedir class variable.
793 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * messages.C (getLocaleDir): singleton generation function
797 (Messages): add a default constructor.
799 * main.C (main): do not setup localedir here, do not call
802 * gettext.C (_): use it.
803 (gettext_init): delete funciton
805 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
807 * gettext.C (getLyXMessages): new singleton generating function.
809 * buffer.C (updateDocLang): adjust
811 * Makefile.am (messages.o): add target
812 (main.o): remove target
814 2003-04-27 John Levon <levon@movementarian.org>
819 * lyxvc.C: specify cancel button in Alert::prompt
821 2003-04-26 John Levon <levon@movementarian.org>
826 * LyXAction.C: add LFUN_INSET_SETTINGS
828 * lyxfunc.C: don't enable tabular-feature when there's
829 just any locking inset
831 2003-04-26 John Levon <levon@movementarian.org>
833 * bufferlist.C: re-add Cancel to buffer close question
835 * lyxfunc.C: fix import UI a bit
837 2003-04-25 John Levon <levon@movementarian.org>
839 * gettext.C: remove the broken asserts for now
841 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * messages.C: make case where setlocale cannot comply work better.
845 * buffer.C (updateDocLang): new function
846 (changeLanguage): use it
849 * text2.C (setCounter): use B_ a bit.
851 * lyxlayout.C (Read): be sure to trim the label strings.
853 * messages.C (Messages): fix typo in comment
855 * buffer.C (readFile): set message_ after file is loaded.
856 (makeDocBookFile): remove double return
857 (changeLanguage): reset message_ upon language change.
858 (B_): new func, use this to get translated buffer strings.
860 * main.C: add myself and Jean Marc as authors.
862 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
864 * messages.[hC]: pimplify Messages, and three different pimpls to be
865 used in different circumstances.
867 * gettext.[Ch]: change for use with new message code.
869 2003-04-24 André Pönitz <poenitz@gmx.net>
871 * factory.C: support for eqref
873 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
875 * messages.[Ch]: add missing char
877 * Makefile.am (lyx_SOURCES): add messages.[Ch]
879 * messages.[Ch]: New files
881 2003-04-18 John Levon <levon@movementarian.org>
885 * BufferView_pimpl.C:
889 * text2.C: remove layout-copy/paste (bug 778)
891 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
893 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
895 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
897 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
898 if they succeed. Act accordingly.
900 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * text2.C (setCharFont): adjust
904 (insertStringAsLines): adjust
906 * text.C (leftMargin): adjust
907 (setHeightOfRow): adjust
909 * rowpainter.C (paintFirst): adjust
912 * paragraph_funcs.C (depthHook): ParagraphList::iterators
914 (isFirstInSequence): ditto
918 * paragraph.C (getParLanguage): comment out some hard stuff.
920 * buffer.C (insertStringAsLines): take a ParagraphList as arg
922 (simpleDocBookOnePar): ditto
923 (makeDocBookFile): use ParagraphList::iterator
925 * CutAndPaste.C (pasteSelection): adjust
927 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
929 * text2.C (getFont): adjust
930 (getLayoutFont): adjust
931 (getLabelFont): adjust
933 * paragraph_funcs.C (TeXOnePar): adjust
935 * buffer.C (simpleLinuxDocOnePar): adjust
936 (simpleDocBookOnePar): adjust
938 * CutAndPaste.C (pasteSelection): adjust
940 * BufferView.C (getEncoding): adjust
942 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
944 2003-04-16 John Levon <levon@movementarian.org>
946 * lyxfind.C: use parlist stuff for search/changes
948 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
952 * text2.C (deleteEmptyParagraphMechanism): adjust
954 * text2.[Ch] (ownerParagraph): delete func (both of them
956 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
960 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
962 * ParagraphList.C: prepare for NO_NEXT
964 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * text2.C (getFont): adjust
967 (getLayoutFont): adjust
968 (getLabelFont): adjust
970 * paragraph.C (getFont): adjust
971 (getLabelFont): adjust
972 (getLayoutFont): adjust
974 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
976 2003-04-15 John Levon <levon@movementarian.org>
980 * lyx_main.C: handle Include in .ui files
982 2003-04-15 John Levon <levon@movementarian.org>
984 * MenuBackend.C: make the doc files length shorter
987 * ToolbarBackend.C: handle toolbar placement flags,
990 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
992 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
995 * paragraph_funcs.C (TeXOnePar): adjust
997 * paragraph.C (getLabelFont): add outerfont arg, adjust
998 (getLayoutFont): ditto
999 (simpleTeXOnePar): adjust
1001 * paragraph_pimpl.C (realizeFont): delete func
1003 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1005 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1006 row argument, constify cur argument.
1008 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1010 * text2.C (getFont): adjust
1011 (getLayoutFont): adjust
1012 (getLabelFont): adjust
1014 * paragraph_funcs.C (TeXOnePar): adjust
1015 (outerFont): new func...
1016 (realizeFont): ...moved out from here, changed this to facilitate
1019 * paragraph.C (getFont): take outerfont as arg, adjust
1020 (simpleTeXOnePar): add outerfont arg, adjust
1022 * buffer.C (simpleLinuxDocOnePar): adjust
1023 (simpleDocBookOnePar): adjust
1025 * CutAndPaste.C (pasteSelection): adjust
1027 * BufferView.C (getEncoding): adjust
1029 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * text2.C (setCharFont): adjust
1032 (setCounter): adjust
1034 * text.C (leftMargin): adjust
1035 (setHeightOfRow): adjust
1037 * rowpainter.C (paintFirst): adjust
1040 * paragraph_pimpl.C (realizeFont): adjust
1042 * paragraph.C (isFirstInSequence): move from here...
1043 * paragraph_funcs.C (isFirstInSequence): ...to here
1045 * paragraph.C (outerHook): move from here...
1046 * paragraph_funcs.C (outerHook): ...to here
1048 * paragraph.C (depthHook): move from here...
1049 * paragraph_funcs.C (depthHook): ...to here
1051 * paragraph.C (getEndLabel): move from here...
1052 * paragraph_funcs.C (getEndLabel): ...to here
1054 * text2.C (realizeFont): move from here...
1055 * paragraph_funcs.C (realizeFont): ...to here
1057 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1061 2003-04-14 Angus Leeming <leeming@lyx.org>
1063 * LColor.[Ch]: scrap LColor mathcursor.
1065 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * lyxlex.[Ch] (text): delete function
1068 * trans.C (Load): adjust
1069 * paragraph_funcs.C (readParToken): adjust
1071 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1074 vector<char> instead of a char[].
1076 * lyxlex_pimpl.C (getString): adjust
1078 (lex): use getString
1082 * lyxlex.C (text): use pimpl_->getString()
1086 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1089 (makeFontEntriesLayoutSpecific): temp var for par.size()
1090 (setLayout): temp var for ownerParagraphs().end()
1091 (fullRebreak): temp var for rows().end()
1092 (selectionAsString): temp var for boost::next(startpit), realize
1093 that the while really is a regular for loop.
1094 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1095 setCursor in one place.
1096 (setParagraph): temp vr for ownerParagraphs().end()
1097 (updateCounters): make the while loop a for loop
1098 (cutSelection): temp var for ownerParagraphs().end()
1099 (updateInset): make the do {} while() a regular for loop
1100 (getCursorX): use temp vars
1101 (setCurrentFont): use temp vars
1102 (getColumnNearX): use temp vars
1104 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1106 * text.C (transformChar): use temp var for getChar
1107 (computeBidiTables): use temp var for row->par()
1108 (fill): move temp vars for row->par() and pit->layout() earlier in
1110 (labelFill): use temp var for row->par()
1111 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1112 asc and desc, realize that pit never changes and that firstpit is
1113 just a duplicate and not needed. Exchange rit->par() with pit in a
1115 (breakAgain): use a temp var for boost::next(rit)
1116 (breakAgainOneRow): ditto
1117 (breakParagraph): use a temp var for rows().begin()
1118 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1119 (cursorRightOneWord): use temp var for cursor.par() and
1120 cursor.pos(), remove usage of tmpcursor.
1121 (cursorLeftOneWord): use temp var for cursor.par() and
1122 cursor.pos() only set cur at end of function.
1124 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * text.C, text2.C: exchange all usage of Paragraph::next with
1127 boost::next(ParagraphList::iterator)
1129 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1131 * text2.C (cursorTop): simplify implementation
1132 (cursorBottom): ditto
1133 (setParagraph): use ParagraphList::iterator
1134 (setCurrentFont): adjust
1135 (getColumnNearX): adjust
1136 (cursorRight): adjust
1137 (cursorLeft): remove usage of Paragraph::previous
1138 (cursorUpParagraph): ditto
1139 (deleteEmptyParagraphMechanism): slight cleanup
1141 * text.C (isBoundary): take a Paragraph const & instead of a
1143 (addressBreakPoint): ditto
1144 (leftMargin): remove usage of Paragraph::previous.
1145 (setHeightOfRow): ditto
1146 (cursorLeftOneWord): ditto
1147 (selectNextWordToSpellcheck): ditto
1150 (breakParagraph): remove one usage of Paragraph::next
1151 (redoParagraph): ditto
1152 (acceptChange): ditto
1153 (insertChar): adjust
1154 (rowBreakPoint): adjust
1156 * bufferview_funcs.C (toggleAndShow): adjust
1158 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1160 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1161 methods to access it.
1163 * text.C: Added updateRowPositions to compute all row positions.
1164 Make top_y and getRowNearY() to use the cached y position
1166 2003-04-11 John Levon <levon@movementarian.org>
1168 * text.C (rowBreakPoint): reintroduce the labelEnd
1169 checks, code copied from the row fill stuff. Deep voodoo.
1171 * text.C (fill): add a comment and debugging for the
1174 2003-04-11 John Levon <levon@movementarian.org>
1176 * text.C: make sure fullrow insets get wrapped to the next line,
1177 even when they're in a manual label
1179 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * text2.C (insertParagraph): make it take ParagraphList::iterator
1183 (setLayout): make it return ParagraphList::iterator
1184 (redoParagraphs): ditto
1186 (checkParagraph): ditto
1188 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1190 * text2.C: adjust several funcs.
1191 (realizeFont): take a ParagraphList::iterator as arg.
1192 (getLayoutFont): ditto
1193 (getLabelFont): ditto
1194 (setCharFont): ditto
1196 * text.C: adjust several funcs.
1198 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1200 * text.C (selectNextWordToSpellcheck): don't accidentally
1203 2003-04-10 John Levon <levon@movementarian.org>
1205 * ToolbarBackend.C (getIcon): special handling for
1208 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1210 * text2.C (cursorRight): a getChar assert fixed
1212 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * text2.C (getFont): change to take a ParagraphList::iterator
1215 instead of Paragraph*
1216 Adjust several functions.
1218 * text.C (transformChar): change to take a ParagraphList::iterator
1219 instead of Paragraph*
1220 (singleWidth): ditto
1221 Adjust several functions.
1223 * rowpainter.C: adjust several functions
1224 * rowpainter.h:store a ParagraphList::iterator and not a
1228 2003-04-09 John Levon <levon@movementarian.org>
1233 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1234 and the "help" bits as well
1236 2003-04-09 John Levon <levon@movementarian.org>
1239 * ToolbarBackend.C: allow multiple toolbars
1241 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1243 * undo_funcs.C (setCursorParUndo): adjust
1245 * text_funcs.C (transposeChars): adjust
1247 * text3.C (gotoNextInset): adjust
1250 * text2.C (setLayout): adjust
1251 (changeDepth): adjust
1253 (redoParagraphs): adjust
1254 (selectionAsString): adjust
1255 (setParagraph): adjust
1256 (insertInset): adjust
1257 (cutSelection): adjust
1258 (copySelection): adjust
1259 (pasteSelection): adjust
1260 (insertStringAsLines): adjust
1261 (updateInset): adjust
1262 (setCursor): change to take a ParagraphList::iterator parameter
1263 (setCursorIntern): change to take a ParagraphList::iterator parameter
1264 (setCurrentFont): adjust
1265 (cursorLeft): adjust
1266 (cursorRight): adjust
1267 (deleteEmptyParagraphMechanism): adjust
1269 * text.C (breakParagraph): adjust
1270 (insertChar): adjust
1271 (acceptChange): adjust
1272 (rejectChange): adjust
1273 (selectNextWordToSpellcheck): adjust
1274 (changeCase): adjust
1278 * lyxfind.C (SearchForward): adjust
1279 (SearchBackward): adjust
1280 (nextChange): adjust
1282 * lyxcursor.C (par): adjust
1284 * lyxcursor.h: store a ParagraphList::iterator instead of a
1287 * lyx_cb.C (getPossibleLabel): adjust
1289 * bufferview_funcs.C (toggleAndShow): adjust
1291 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1294 * BufferView.C (removeAutoInsets): adjust
1295 (lockedInsetStoreUndo): adjust
1297 2003-04-09 John Levon <levon@movementarian.org>
1299 * ToolbarBackend.C: try icon without argument
1300 if with argument fails
1302 2003-04-08 John Levon <levon@movementarian.org>
1305 * ToolbarBackend.C: add getIcon(), handle tooltip,
1306 and change from "Icon" to "Item".
1308 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1310 * BufferView.C (lockInset): another bad getchar crunched
1312 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1314 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1317 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1319 * lyxfind.C (searchForward, searchBackwards): bug 782
1321 2003-04-07 John Levon <levon@movementarian.org>
1323 * paragraph.C: remove dead comment
1325 * text.C: remove troublesome depth-fiddling code
1326 in leftMargin() and rightMargin() (bug 1017)
1328 * text.C: fix breaking of rows in nested lists
1331 * text2.C (updateCounters): fix up depth values
1334 2003-04-07 John Levon <levon@movementarian.org>
1336 * BufferView_pimpl.C: clear message when doc finishes resizing,
1337 and after a mouse event
1339 * lyxfunc.C: clear message after exiting inset
1341 2003-04-07 John Levon <levon@movementarian.org>
1343 * bufferview_funcs.C: show math status not outside
1344 status in the statusbar
1346 2003-04-07 John Levon <levon@movementarian.org>
1348 * lyxfunc.C: note status changed after a depth change
1350 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1352 * LaTeX.h: move AuxInfo operator==, != out of line.
1353 Remove LaTeX virtual destructor; nothing derives from it.
1354 Move operator()() out of public area and rename it startscript().
1355 Change protected for private.
1357 2003-04-04 Angus Leeming <leeming@lyx.org>
1360 * text2.C: remove unneeded #includes.
1362 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1364 * text2.C (dEPM): fix the heigth of the next row
1366 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1368 * text.C: squashed an invalid getChar requester + some ws changes
1370 2003-04-03 John Levon <levon@movementarian.org>
1372 * bufferview_funcs.h:
1373 * bufferview_funcs.C:
1376 * text2.C: make getStatus work for the env depth lfuns
1378 2003-04-03 John Levon <levon@movementarian.org>
1380 * bufferview_funcs.h:
1381 * bufferview_funcs.C:
1384 * text2.C: parlistize decDepth(), by merging it with incDepth()
1386 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1388 * lyxrow.h: store a ParagraphList::iterator instead of a
1389 Paragraph* and adjust other class functions to suit.
1391 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1394 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1396 * text2.C (setCursor): do not anchor to cursor row for the time being
1398 2003-04-02 John Levon <levon@movementarian.org>
1405 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1407 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1409 * paragraph.h: make ParagraphList and ParagraphList::iterator
1410 friends of Paragraph.
1412 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1414 * ParagraphList.C: Use the private next_ and previous_ from
1417 2003-04-01 John Levon <levon@movementarian.org>
1421 * Makefile.am: rename, remove defaults gunk
1424 * MenuBackend.C: remove defaults gunk
1427 * Languages.C: remove defaults gunk
1430 * lyx_main.C: error out if files couldn't be found.
1432 2003-04-02 John Levon <levon@movementarian.org>
1434 * text2.C: make incDepth() use parlist
1436 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * undo_funcs.C (firstUndoParagraph): adjust
1440 * text3.C (gotoInset): adjust
1441 (dispatch): adjust, and rewrite loop.
1443 * text2.C (init): adjust, and rewrite loop.
1444 (redoParagraphs): adjust
1445 (updateInset): adjust, and rewrite loop.
1446 (deleteEmptyParagraphMechanism): adjust
1448 * tabular.C (LyXTabular): adjust
1449 (SetMultiColumn): adjust
1452 * lyxtext.[Ch] (ownerParagraph): delete function
1453 (ownerParagraphs): new function returns a ParagraphList.
1455 * BufferView.C (removeAutoInsets): adjust
1456 (insertErrors): adjust
1457 (setCursorFromRow): adjust
1459 2003-04-01 Angus Leeming <leeming@lyx.org>
1461 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1464 2003-04-02 John Levon <levon@movementarian.org>
1470 * text_funcs.C: make transposeChars a free function
1472 * lyxrow_funcs.C: remove wrong comment
1474 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1477 * rowpainter.C: adjust
1482 * lyxrow_funcs. [Ch]: new files
1484 * lyxrow.[Ch]: remove next and previous pointers
1485 (next,previous): remove accessor functions
1486 (isParEnd): move to lyxrow_funcs
1487 (lastPos): move to lyxrow_funcs
1488 (nextRowIsAllInset): move to lyxrow_funcs
1489 (lastPrintablePos): move to lyxrow_funcs
1490 (numberOfSeparators): move to lyxrow_funcs
1491 (numberOfHfills): move to lyxrow_funcs
1492 (numberOfLabelHfills): move to lyxrow_funcs
1493 (hfillExpansion): move to lyxrow_funcs
1497 * bufferview_funcs.C (toggleAndShow): adjust
1499 * RowList.h: Remove class RowList from file leave just a
1502 * RowList.C: delete file
1504 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1507 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * text3.C (cursorPrevious): adjust
1510 (cursorNext): adjust
1513 * text2.C (redoHeightOfParagraph): adjust
1514 (redoDrawingOfParagraph): adjust
1517 * text.C (breakParagraph): adjust
1518 (insertChar): adjust
1521 * rowpainter.C (RowPainter): adjust
1522 (leftMargin): simplify and adjust
1523 (most rowpainter functions): adjust.
1525 * rowpainter.h: store the row as RowList::iterator not as Row*
1527 * lyxcursor.C (row): taka RowList::iterator as arg
1530 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1533 2003-04-01 Angus Leeming <leeming@lyx.org>
1535 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1536 stuff like bool Bool.
1538 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1540 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1543 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1548 * lyxtext.h (rows): drop one version and leve a const variant that
1549 returns a RowList::iterator.
1551 2003-03-31 Angus Leeming <leeming@lyx.org>
1553 * text.C (fill): ensure that the signature is the same as that in the
1556 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1558 * text2.C (redoParagraphs): adjust
1559 (updateCounters): adjust
1560 (checkParagraph): adjust
1561 (getColumnNearX): adjust and reformat a bit.
1563 * text.C (top_y): adjust
1565 (leftMargin): adjust
1566 (prepareToPrint): adjust
1568 (getRowNearY): adjust
1570 * lyxtext.h: make rowlist_ mutable.
1572 * RowList.h: add const_iterator
1573 * RowList.C: adjust for RowList::const_iterator.
1575 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1578 2003-03-31 John Levon <levon@movementarian.org>
1581 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1583 * lyx_main.C: set default fonts from using lyx_gui funcs
1585 * exporter.C: pdf_mode moved from lyxrc
1588 * lyxfunc.C: changes from above
1590 2003-03-31 John Levon <levon@movementarian.org>
1592 * lyx_main.C: fix to the last fix
1594 2003-03-31 John Levon <levon@movementarian.org>
1596 * bufferlist.C: "Load original" -> "Load Original"
1602 * format.C: more Alert cleanups
1604 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * text2.C (removeParagraph): make it take a RowList::iterator as
1608 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1609 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1611 * text.C (anchor_row): make it take a RowList::iterator as arg,
1613 (computeBidiTables): make it take a const reference to Row instead
1614 of Row pointer, adjust.
1615 (leftMargin): make it take a RowList::iterator as arg, adjust.
1616 (rowBreakPoint): adjust
1617 (breakAgainOneRow): make it take a RowList::iterator as arg,
1619 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1621 * bufferview_funcs.C (toggleAndShow): adjust
1623 2003-03-30 John Levon <levon@movementarian.org>
1627 * boost-inst.C: moved to support
1629 * several files: changes as a result
1631 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * text2.C (LyXText): adjust.
1635 (removeRow): make it take a RowList::iterator as arg, adjust.
1636 (fullRebreak): adjust
1637 (deleteEmptyParagraphMechanism): adjust
1638 (clearPaint): adjust
1641 * text.C (top_y): adjust
1642 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1643 (breakAgain): make it take a RowList::iterator as arg, adjust.
1644 (breakParagraph): adjust
1645 (insertChar): adjust
1648 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1649 need_break_row, and refresh_row.
1651 * text3.C (dispatch): adjust
1653 * text2.C (checkParagraph): adjust
1655 (setCursorFromCoordinates): adjust
1657 * text.C (top_y): adjust
1659 (getRow): make it return a RowList::iterator, adjust
1660 (getRowNearY): make it return a RowList::iterator, adjust
1662 * text2.C (init): adjust
1663 (insertRow): remove function
1664 (insertParagraph): adjust
1665 (redoParagraphs): adjust
1666 (fullRebreak): adjust
1667 (updateCounters): adjust
1669 * text.C (top_y): rewrite to use RowList iterators.
1671 (setHeightOfRow): rewrite to sue RowList iterators.
1672 (appendParagraph): adjust
1673 (breakAgain): adjust
1674 (breakAgainOneRow): adjust
1675 (breakParagraph): adjust
1677 (getRowNearY): adjust, and remove commented code.
1679 * lyxtext.h (firstRow): delete function
1680 (lastRow): delete function
1681 (rows): new function (const and non-const versions.)
1682 (insertRow): delete function
1684 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1686 2003-03-29 John Levon <levon@movementarian.org>
1688 * BufferView_pimpl.C: always update scrollbar top
1689 because pasting text when we're anchored could mean we
1690 miss an update altogether
1692 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1694 * text2.C (init): use rowlist_.end() and not 0.
1695 (insertRow): change to take a RowList::iterator as arg, adjust
1697 (insertParagraph): change to take a RowList::iterator as arg,
1699 (redoParagraphs): remove some debug msgs.
1701 * text.C (appendParagraph): change to take a RowList::iterator
1702 arg, adjust for this.
1703 (breakAgain): add an assert
1704 (breakAgainOneRow): ditto
1706 2003-03-29 John Levon <levon@movementarian.org>
1708 * text2.C: do not clear selection after inc/decDepth
1711 2003-03-29 John Levon <levon@movementarian.org>
1714 * buffer.C: fix broken strerrors according to Lars
1716 2003-03-29 John Levon <levon@movementarian.org>
1718 * converters.C: more Alert cleanups
1720 2003-03-29 John Levon <levon@movementarian.org>
1722 * bufferview_funcs.C: remove pointless Alert
1724 * buffer.C: fix confusing error message when
1725 a template is chmoded 000
1727 2003-03-29 John Levon <levon@movementarian.org>
1731 * BufferView_pimpl.C: Alert fixes
1735 * tabular-old.C: remove unused table compat reading
1737 2003-03-29 John Levon <levon@movementarian.org>
1742 * lyx_cb.C: more Alert cleanups
1744 * lyxfunc.C: don't allow chktex if not latex document
1746 2003-03-29 John Levon <levon@movementarian.org>
1750 * buffer.C: warnings pushed down from support/,
1753 2003-03-29 John Levon <levon@movementarian.org>
1755 * lyxfunc.C: safety check for C-r (revert)
1757 2003-03-29 John Levon <levon@movementarian.org>
1760 * bufferlist.C: several UI fixes using Alert::prompt.
1761 Fix the pointless looping quit code. Fix stupid revert
1766 * lyx_cb.C: use Alert::prompt
1768 * lyx_main.C: remove a silly question
1770 * lyxfunc.C: remove a couple of silly questions,
1773 2003-03-28 John Levon <levon@movementarian.org>
1775 * text2.C: fix bug 974 (End on empty par)
1777 2003-03-28 John Levon <levon@movementarian.org>
1779 * BufferView_pimpl.C:
1781 * lfuns.h: remove do-nothing math greek lfuns
1783 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * lyxgluelength.h (isValidGlueLength): add default arg on
1786 parameter 2. Remove default arg from friend in class.
1788 * lyxlength.h (isValidLength): add default arg on parameter 2.
1789 Remove default arg from friend in class.
1791 * text2.C (LyXText): adjust, initialize refresh_row.
1795 (insertParagraph): adjst
1796 (redoParagraphs): adjust
1797 (fullRebreak): adjust
1798 (updateCounters): adjust
1799 (deleteEmptyParagraphMechanism): first attempt at fixing a
1802 * text.C (top_y): adjust
1803 (setHeightOfRow): adjust
1805 (getRowNearY): adjust
1807 * lyxtext.h: include RowList.h
1808 (~LyXText): not needed anymore, deleted.
1809 (firstRow): modify for RowList
1810 (lastRow): new function
1811 Delete firstrow and lastrow class variables, add a Rowlist
1812 rowlist_ class variable.
1814 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1817 * RowList.C (insert): fix case where it == begin().
1819 2003-03-26 Angus Leeming <leeming@lyx.org>
1821 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1822 the thesaurus dialog.
1824 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1828 * RowList.[Ch]: new files
1830 * ParagraphList.C (erase): handle the case where it == begin
1833 2003-03-25 John Levon <levon@movementarian.org>
1837 * aspell.C: add new aspell support
1840 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1843 2003-03-25 Angus Leeming <leeming@lyx.org>
1846 * LyXAction.C (init): new LFUN_INSET_INSERT.
1848 * BufferView_pimpl.C (dispatch): split out part of the
1849 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1851 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1854 2003-03-25 Angus Leeming <leeming@lyx.org>
1856 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1858 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1861 * text3.C: remove useless row->height(0)
1863 2003-03-25 John Levon <levon@movementarian.org>
1867 * text3.C: rename the refreshing stuff to better names
1869 2003-03-24 John Levon <levon@movementarian.org>
1871 * BufferView_pimpl.h:
1872 * BufferView_pimpl.C: update layout choice on a mouse
1875 2003-03-23 John Levon <levon@movementarian.org>
1877 * Makefile.am: fix commandtags.h reference
1879 2003-03-22 John Levon <levon@movementarian.org>
1881 * BufferView_pimpl.C:
1886 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1888 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1891 * text.C: take the rtl methods out of line
1893 2003-03-21 André Pönitz <poenitz@gmx.net>
1895 * metricsinfo.[Ch]: new files containing structures to be passed around
1896 during the two-phase-drawing...
1898 2003-03-21 André Pönitz <poenitz@gmx.net>
1900 * lyxtextclass.C: read 'environment' tag.
1902 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1904 * text2.C (removeRow): fix bug 964
1906 2003-03-20 John Levon <levon@movementarian.org>
1910 * text2.C: paint cleanups. Inset::update() dropped font
1913 2003-03-19 John Levon <levon@movementarian.org>
1915 * lyxfunc.C: only fitcursor/markDirty if available()
1917 2003-03-19 John Levon <levon@movementarian.org>
1919 * commandtags.h: rename to ...
1921 * lfuns.h: ... this, and renumber / cleanup
1923 2003-03-19 John Levon <levon@movementarian.org>
1925 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1926 fit the cursor after an lfun
1930 * BufferView_pimpl.h:
1931 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1933 * LyXAction.C: layout-character should have ReadOnly
1935 * ParagraphParameters.C:
1937 * bufferview_funcs.C:
1944 * undo_funcs.C: changes from above
1946 2003-03-18 John Levon <levon@movementarian.org>
1948 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1949 remove it from update()
1951 * lyxfunc.C: update layout choice after an lfun
1953 * text3.C: remove extra updateLayoutChoice()s
1955 2003-03-18 John Levon <levon@movementarian.org>
1957 * text.C: top_y change means full repaint, fix
1958 a drawing bug with cursor movement
1960 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1964 * text2.C: anchor row on setCursor
1966 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1968 * lyxtext.h: remove almost all mutable keywords
1971 * text3.C: remove const keywords accordingly
1973 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1975 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1977 (TeXEnvironment): ditto
1980 2003-03-17 John Levon <levon@movementarian.org>
1982 * text.C (rowBreakPoint): remove attempt to fix displayed
1983 math insets inside a manual label
1985 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1987 * lyxtext.h: remove BufferView* as first arg from almost all class
1989 * other files: adjust.
1991 2003-03-17 John Levon <levon@movementarian.org>
1995 * text2.C: more paint cleanups
1997 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2000 * rowpainter.C: remove "smart" background painting code
2002 2003-03-16 John Levon <levon@movementarian.org>
2007 * text3.C: add helper functions for setting refresh_row/y
2009 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2011 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2012 newline inset which *can* get inserted in the pass_thru layouts.
2013 This is primarily for literate documents.
2015 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2017 * buffer.C: increment LYX_FORMAT to 223
2019 2003-03-14 André Pönitz <poenitz@gmx.net>
2021 * textclass.h: prepare for environment handling, ws changes
2022 * lyxlayout.C: read latexheader and latexfooter tags
2024 2003-03-14 John Levon <levon@movementarian.org>
2026 * text2.C: rewrite ::status() a bit
2028 2003-03-13 John Levon <levon@movementarian.org>
2030 * lyxtext.h: add some docs
2032 2003-03-13 John Levon <levon@movementarian.org>
2037 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2039 2003-03-13 John Levon <levon@movementarian.org>
2041 * text3.C: fix appendix redrawing
2043 2003-03-13 John Levon <levon@movementarian.org>
2045 * text.C (setHeightOfRow):
2047 * rowpainter.C: make appendix mark have the text
2048 "Appendix" so the user knows what it is
2051 * LColor.C: s/appendixline/appendix/ from above
2053 2003-03-13 John Levon <levon@movementarian.org>
2055 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2057 * text.C: fix a getChar(pos) bug properly
2059 2003-03-13 Angus Leeming <leeming@lyx.org>
2062 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2063 Probably only temporary. Let's see how things pan out.
2065 * BufferView.C (unlockInset):
2066 * BufferView_pimpl.C (fitCursor):
2067 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2069 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2070 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2072 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2073 new functions that convert ParagraphParameters to and from a string.
2075 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2076 BufferView::Pimpl's dispatch.
2077 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2079 2003-03-13 André Pönitz <poenitz@gmx.net>
2083 * factory.C: make it aware of InsetEnv
2085 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * text2.C (setCursor): never ask for one past last
2088 (setCursor): add some debugging messages.
2090 * text.C (singleWidth): never ask for one past last
2091 (singleWidth): ditto
2093 (rightMargin): ditto
2094 (rowBreakPoint): ditto
2095 (setHeightOfRow): ditto
2096 (prepareToPrint): ditto
2098 * rowpainter.C (paintBackground): never ask for one past last
2099 (paintText): never ask for one past last
2101 * paragraph_pimpl.C (getChar): make the assert stricter, never
2102 allow the one past last pos to be taken
2104 * paragraph.C (getChar): ws changes only
2106 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2107 (numberOfSeparators): ditto
2108 (numberOfHfills): ditto
2110 2003-03-12 John Levon <levon@movementarian.org>
2116 * paragraph_funcs.C: fix per-buffer authorlists
2118 2003-03-12 John Levon <levon@movementarian.org>
2120 * text.C: fix newline in right address
2122 2003-03-12 Angus Leeming <leeming@lyx.org>
2124 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2125 duplicate those in LyXFunc::dispatch.
2129 * ToolbarDefaults.C:
2130 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2131 Add LFUN_FONTFREE_UPDATE.
2133 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2134 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2136 * bufferview_func.[Ch]: several new functions to facilliate
2137 transfer of data to and from the character dialog.
2139 2003-03-12 John Levon <levon@movementarian.org>
2144 * paragraph_funcs.C:
2145 * paragraph_pimpl.C:
2149 * text3.C: remove META_NEWLINE in favour of an inset
2152 * rowpainter.C: remove paintNewline (done by inset)
2154 2003-03-12 John Levon <levon@movementarian.org>
2156 * paragraph_pimpl.C: complain about bad getChar()s
2157 for a while at least
2159 2003-03-12 John Levon <levon@movementarian.org>
2162 * buffer.C: move paragraph read into a separate function,
2163 a little renaming to reflect that.
2166 * bufferparams.C: remove the author_ids map, not necessary now
2169 * factory.C: moved Buffer::readInset to here
2171 * paragraph_funcs.h:
2172 * paragraph_funcs.C: readParagraph free function moved from
2175 * tabular.C: name change
2177 2003-03-12 John Levon <levon@movementarian.org>
2180 * ParagraphParameters.C: move par params input to
2183 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2184 behave like a normal read from the stream wrt reading
2185 a line vs. a \\token
2187 2003-03-12 John Levon <levon@movementarian.org>
2190 * ParagraphParameters.h:
2191 * ParagraphParameters.C: move output code to a
2194 2003-03-12 John Levon <levon@movementarian.org>
2196 * BufferView.C (insertLyXFile):
2199 * tabular.C: use a parlist iterator for creating the
2202 2003-03-12 John Levon <levon@movementarian.org>
2204 * buffer.C: make current_change static local not
2207 2003-03-12 John Levon <levon@movementarian.org>
2209 * buffer.C: fix insertStringAsLines for change tracking
2211 2003-03-12 John Levon <levon@movementarian.org>
2218 * bufferparams.C: move author list into params. Rename some
2219 functions. Move the header reading into a separate token
2220 loop. Move the header token reading into BufferParams.
2222 2003-03-12 John Levon <levon@movementarian.org>
2224 * changes.C: put debug inside lyxerr.debugging() checks
2226 2003-03-11 André Pönitz <poenitz@gmx.net>
2228 * factory.C: make it aware of InsetHFill
2230 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2232 * buffer.C (latexParagraphs): move function from here...
2233 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2236 2003-03-10 Angus Leeming <leeming@lyx.org>
2238 * LyXAction.C (init): fix bug in poplating array with multiple entries
2239 with the same LFUN (spotted by JMarc).
2241 2003-03-10 John Levon <levon@movementarian.org>
2244 * text2.C: move getColumnNearX() near its
2247 2003-03-10 John Levon <levon@movementarian.org>
2249 * text.C: fix break before a minipage
2251 2003-03-10 John Levon <levon@movementarian.org>
2253 * text.C: fix the last commit
2255 2003-03-09 John Levon <levon@movementarian.org>
2259 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2260 bug 365 (don't break before insets unless needed). Don't
2261 return a value > last under any circumstances.
2263 2003-03-09 Angus Leeming <leeming@lyx.org>
2265 * BufferView_pimpl.C (trackChanges, dispatch): call
2266 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2268 2003-03-09 Angus Leeming <leeming@lyx.org>
2270 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2271 than Dialogs::showAboutlyx().
2273 2003-03-09 Angus Leeming <leeming@lyx.org>
2275 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2276 than Dialogs::showTabularCreate().
2278 2003-03-09 John Levon <levon@movementarian.org>
2282 * text2.C: 3rd arg to nextBreakPoint was always the same.
2285 2003-03-08 John Levon <levon@movementarian.org>
2292 * text2.C: Remove the "main" bit from the "main body"
2295 2003-03-08 John Levon <levon@movementarian.org>
2297 * text.C (leftMargin): The left margin of an empty
2298 manual label paragraph should not include the label width
2301 * text.C (prepareToPrint): don't attempt to measure hfills
2302 for empty manual label paragraphs - the answer should be 0
2304 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * CutAndPaste.C: remove commented code and reindent.
2308 2003-03-08 John Levon <levon@movementarian.org>
2311 * lyxfunc.C: move reloadBuffer()
2314 * BufferView.C: to here
2316 * lyxvc.C: add comment
2319 * vc-backend.C: call bv->reload() to avoid
2320 getStatus() check on MENURELOAD
2322 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2324 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2325 to an old format .dep file.
2327 2003-03-07 Angus Leeming <leeming@lyx.org>
2329 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2330 when the LFUN_MOUSE_RELEASE should have been handled by
2331 inset->localDispatch.
2333 2003-03-07 Angus Leeming <leeming@lyx.org>
2335 * BufferView_pimpl.C (dispatch):
2336 * LyXAction.C (init):
2337 * ToolbarDefaults.C (init):
2339 * lyxfunc.C (getStatus):
2340 remove LFUN_INSET_GRAPHICS.
2342 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2344 2003-03-07 Angus Leeming <leeming@lyx.org>
2347 * LyXAction.C (init):
2348 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2350 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2353 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2355 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2356 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2358 2003-03-07 Angus Leeming <leeming@lyx.org>
2360 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2363 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * ParagraphList.C (front): new function
2368 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2370 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2371 and top_row_offset_. removed var first_y.
2373 * text2.C (LyXText, removeRow):
2375 * BufferView_pimpl.C:
2376 use these methods instead of using first_y
2378 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2380 * text2.C (pasteSelection): adjust for checkPastePossible
2382 * CutAndPaste.C: remove Paragraph * buf and replace with
2383 ParagraphList paragraphs.
2384 (DeleteBuffer): delete
2385 (cutSelection): change the tc type to textclass_type
2386 (copySelection): change the tc type to textclass_type
2387 (copySelection): adjust for ParagraphList
2388 (pasteSelection): change the tc type to textclass_type
2389 (pasteSelection): adjust for Paragraphlist
2390 (nrOfParagraphs): simplify for ParagraphList
2391 (checkPastePossible): simplify for ParagraphList
2392 (checkPastePossible): remove unused arg
2394 * ParagraphList.C (insert): handle the case where there are no
2397 * CutAndPaste.h: make CutAndPaste a namespace.
2399 * text3.C (dispatch): adjust
2401 * text.C (breakParagraph): add a ParagraphList as arg
2403 * paragraph_funcs.C (breakParagraph): change to take a
2404 BufferParams and a ParagraphList as args.
2405 (breakParagraphConservative): ditto
2406 (mergeParagraph): ditto
2407 (TeXDeeper): add a ParagraphList arg
2408 (TeXEnvironment): ditto
2411 * buffer.C (readLyXformat2): adjust
2412 (insertStringAsLines): adjust
2413 (latexParagraphs): adjust
2415 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2416 (cutSelection): adjust
2417 (pasteSelection): adjust
2419 * BufferView_pimpl.C (insertInset): adjust
2421 2003-03-05 Angus Leeming <leeming@lyx.org>
2424 * LyXAction.C (init):
2425 * BufferView_pimpl.C (dispatch):
2426 * lyxfunc.C (getStatus):
2427 remove LFUN_CHILD_INSERT.
2429 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2431 2003-03-05 Angus Leeming <leeming@lyx.org>
2434 * LyXAction.C (init):
2435 * src/factory.C (createInset):
2436 * lyxfunc.C (getStatus):
2437 * text3.C (dispatch):
2438 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2440 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2442 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * ParagraphList.C (insert): handle insert right before end()
2445 (erase): fix cases where it can be first or last paragraph.
2447 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2449 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2450 Paragraph::next and Paragraph::previous
2453 * text.C (breakParagraph): adjust
2455 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2456 BufferParams& as arg.
2457 (breakParagraph): use ParagraphList::insert
2458 (breakParagraphConservative): take a Buffer* instead of a
2459 BufferParams& as arg.
2460 (breakParagraphConservative): use ParagraphList::insert.
2462 * buffer.C (insertStringAsLines): un-const it
2463 (insertStringAsLines): adjust
2465 * ParagraphList.C (insert): new function
2467 * CutAndPaste.C (pasteSelection): adjust
2469 * text.C (backspace): adjust
2471 * tabular.C (SetMultiColumn): adjust
2473 * CutAndPaste.C (cutSelection): adjust
2474 (pasteSelection): adjust
2476 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2477 Buffer const * as arg
2479 * ParagraphList.C (erase): new function
2480 * paragraph_funcs.C (mergeParagraph): use it
2481 (mergeParagraph): make it take a Buffer* instead of a
2482 BufferParams* as arg
2484 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2486 (breakParagraphConservative): ditto
2488 * paragraph.h: remove the breakParagraph friend
2490 * paragraph.C (eraseIntern): new function
2491 (setChange): new function
2493 * paragraph_funcs.C (mergeParagraph): make it take a
2494 ParagraphList::iterator instead of a Paragraph *, adjust
2497 * paragraph.h: move an #endif so that the change tracking stuff
2498 also works in the NO_NEXT case.
2500 2003-03-04 Angus Leeming <leeming@lyx.org>
2503 * LyXAction.C: new LFUN_INSET_MODIFY.
2505 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2506 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2508 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * several files: ws changes only
2512 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2513 (TeXEnvironment): ditto
2516 * buffer.C (makeLaTeXFile): adjust
2517 (latexParagraphs): make it take ParagraphList::iterator as args
2519 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * buffer.C (latexParagraphs): adjust
2523 * paragraph.C (TeXOnePar): move function...
2524 (optArgInset): move function...
2525 (TeXEnvironment): move function...
2526 * paragraph_pimpl.C (TeXDeeper): move function...
2527 * paragraph_funcs.C: ...here
2529 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2531 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2533 * buffer.C (readInset): remove compability code for old Figure and
2536 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2538 * buffer.C: ws changes
2541 * BufferView_pimpl.C: ditto
2544 * bufferlist.h: ditto
2548 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2550 * converter.[Ch]: split into itself +
2553 * Makefile.am: += graph.[Ch] + format.[Ch]
2560 * lyxrc.C: added #include "format.h"
2562 2003-02-27 Angus Leeming <leeming@lyx.org>
2564 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2567 * factory.C (createInset): add "label" to the factory.
2569 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2570 string and do no more.
2572 2003-02-27 Angus Leeming <leeming@lyx.org>
2575 * LyXAction.C (init):
2576 * factory.C (createInset):
2577 * BufferView_pimpl.C (dispatch):
2578 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2580 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2582 * lyxfunc.C (dispatch):
2583 * text3.C (dispatch): pass name to params2string.
2585 2003-02-26 Angus Leeming <leeming@lyx.org>
2587 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2589 Rearrange the ~includes. Strip out the unnecessary ones.
2591 * factory.C (createInset): reformat.
2592 create new insets for the various LFUN_XYZ_APPLY lfuns.
2594 2003-02-26 John Levon <levon@movementarian.org>
2597 * lyxrow.C: add isParStart,isParEnd helpers
2599 * paragraph.h: make isInserted/DeletedText take refs
2601 * paragraph_funcs.h:
2602 * paragraph_funcs.C: remove #if 0'd code
2607 * text.C: use lyxrow helpers above.
2608 Move draw and paint routines to RowPainter.
2609 Make several methods use refs not pointers.
2610 Make backgroundColor() const.
2611 Add markChangeInDraw(), isInInset().
2612 Merge changeRegionCase into changeCase.
2613 Make workWidth() shouldn't-happen code into an Assert.
2616 * rowpainter.C: new class for painting a row.
2619 * vspace.C: make inPixels take a ref
2621 2003-02-26 Angus Leeming <leeming@lyx.org>
2623 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2626 2003-02-25 John Levon <levon@movementarian.org>
2628 * ispell.C: give the forked command a more accurate name
2630 2003-02-22 John Levon <levon@movementarian.org>
2633 * toc.C: make TocItem store an id not a Paragraph *
2636 2003-02-21 Angus Leeming <leeming@lyx.org>
2638 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2639 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2640 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2641 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2642 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2643 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2645 * BufferView_pimpl.C (dispatch):
2646 * LyXAction.C (init):
2647 * factory.C (createInset):
2648 * lyxfunc.C (getStatus, dispatch):
2649 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2651 2003-02-21 Angus Leeming <leeming@lyx.org>
2653 * BufferView_pimpl.C (MenuInsertLyXFile):
2654 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2655 * lyxfunc.C (menuNew, open, doImport):
2656 no longer pass a LyXView & to fileDlg.
2658 2003-02-21 Angus Leeming <leeming@lyx.org>
2660 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2661 * LyXAction.C: change, BIBKEY to BIBITEM.
2662 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2663 Change InsetBibKey to InsetBibitem.
2664 Change BIBKEY_CODE to BIBITEM_CODE.
2665 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2666 * factory.C: replace insetbib.h with insetbibitem.h.
2667 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2668 * paragraph.C: replace insetbib.h with insetbibitem.h.
2669 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2670 Change bibkey() to bibitem().
2671 * text.C: remove insetbib.h.
2672 * text2.C: replace insetbib.h with insetbibitem.h.
2673 change bibkey() to bibitem().
2674 * text3.C: remove insetbib.h.
2675 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2677 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2679 * lyxrc.C (output): enclose user email in quotes (in case there are
2682 2003-02-18 John Levon <levon@movementarian.org>
2684 * buffer.h: add std::
2686 2003-02-17 John Levon <levon@movementarian.org>
2692 * pspell.C: reworking. Especially in ispell, a large
2693 number of clean ups and bug fixes.
2695 * lyxfunc.C: fix revert to behave sensibly
2697 2003-02-17 André Pönitz <poenitz@gmx.net>
2700 * commandtags.h: new LFUN_INSERT_BIBKEY
2710 * paragraph_func.C: remove special bibkey handling
2712 2003-02-17 John Levon <levon@movementarian.org>
2714 * text.C (Delete): fix case where delete at the end of
2715 the very first paragraph would not merge the pars
2717 2003-02-17 John Levon <levon@movementarian.org>
2719 * lyxrow.C: fix lastPrintablePos()
2721 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2723 * bufferparams.C (writeLaTeX): add a std:here
2725 * buffer.C: and remove a using directive there
2727 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2729 * buffer.C (makeLaTeXFile): move the code that generates the
2732 * bufferparams.C (writeLaTeX): ... in this new method
2734 * LaTeXFeatures.C (getEncodingSet): make const
2735 (getLanguages): make const
2737 * MenuBackend.C (binding): returns the binding associated to this
2739 (add): sets the status of each item by calling getStatus. Adds
2741 (read): add support for OptSubMenu
2742 (expand): remove extra separator at the end of expanded menu
2744 2003-02-15 John Levon <levon@movementarian.org>
2747 * BufferView_pimpl.C:
2749 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2750 inset code that had no actual effect. Remove unneeded status
2753 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2755 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2758 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2760 * text.C (drawLengthMarker): also draw an arrow marker for
2761 symbolic lengths (medskip...)
2763 2003-02-14 John Levon <levon@movementarian.org>
2766 * tabular.C: better method names
2768 2003-02-14 John Levon <levon@movementarian.org>
2770 * BufferView_pimpl.C:
2775 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2776 it's a more accurate name. Remove some pointless uses.
2778 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2780 * text2.C (LyXText): change order of initilizers to shut off
2783 2003-02-14 John Levon <levon@movementarian.org>
2785 * buffer.C: use ParIterator for getParFromID()
2789 * paragraph_pimpl.h:
2790 * paragraph_pimpl.C: remove unused getParFromID()
2792 2003-02-14 John Levon <levon@movementarian.org>
2794 * buffer.C: remove some very old #if 0'd parse code
2796 2003-02-13 John Levon <levon@movementarian.org>
2800 * text2.C: move hfillExpansion(), numberOfSeparators(),
2801 rowLast(), rowLastPrintable(), numberofHfills(),
2802 numberOfLabelHfills() ...
2805 * lyxrow.C: ... to member functions here.
2810 * text.C: remove LyXText::beginningOfMainBody(), and call
2811 p->beginningOfMainBody() directly. Move the check for
2812 LABEL_MANUAL into the latter.
2819 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2825 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2826 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2828 2003-02-13 John Levon <levon@movementarian.org>
2830 * CutAndPaste.C: remove debug
2832 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2834 * paragraph.C (asString): remove two unused variables
2836 * lyxtextclass.C (readTitleType):
2838 (LyXTextClass): handle new members titletype_ and titlename_
2840 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2842 2003-02-09 John Levon <levon@movementarian.org>
2845 * buffer.C: replace hand-coded list with a map for the dep clean
2847 2003-02-08 John Levon <levon@movementarian.org>
2849 * LaTeX.C: consolidate code into showRunMessage() helper
2851 2003-02-08 John Levon <levon@movementarian.org>
2856 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2857 and pass the size in explicitly
2859 * BufferView_pimpl.h:
2860 * BufferView_pimpl.C:
2862 * BufferView.C: add getCurrentChange()
2864 * BufferView_pimpl.h:
2865 * BufferView_pimpl.C: handle change lfuns
2867 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2868 for changes. Mark pasted paragraphs as new.
2870 * support/lyxtime.h:
2871 * support/lyxtime.C:
2872 * DepTable.C: abstract time_t as lyx::time_type
2875 * LColor.C: add colours for new text, deleted text, changebars
2877 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2878 package use "usenames" option.
2882 * LyXAction.C: add change lfuns
2886 * author.C: author handling
2889 * buffer.C: add a per-buffer author list, with first entry as
2890 current author. Handle new .lyx tokens for change tracking. Output
2891 author list to .lyx file. Output dvipost stuff to .tex preamble.
2892 Bump lyx format to 222.
2895 * bufferlist.C: add setCurrentAuthor() to reset current author details
2899 * bufferparams.C: add param for tracking
2901 * bufferview_funcs.C: output change info in minibuffer
2905 * changes.C: add change-tracking structure
2908 * debug.C: add CHANGES debug flag
2911 * lyxfind.C: add code for finding the next change piece
2914 * lyxrc.C: add user_name and user_email
2917 * lyxrow.C: add a metric for the top of the text line
2920 * text.C: implement accept/rejectChange()
2923 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2924 Strike through deleted text.
2928 * paragraph_pimpl.h:
2929 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2930 to the insert functions. Rework erase to mark text as deleted, adding
2931 an eraseIntern() and a range-based erase(). Implement
2932 per-paragraph change lookup and accept/reject.
2934 * paragraph_funcs.C: Fixup paste for change tracking.
2936 * tabular.C: mark added row/columns as new.
2938 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2939 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2941 * text2.C: leave cursor at end of selection after a cut.
2943 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2945 * text.C (getLengthMarkerHeight):
2946 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2947 visible on screen too.
2949 2003-02-07 John Levon <levon@movementarian.org>
2951 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2953 2003-02-05 Angus Leeming <leeming@lyx.org>
2955 * lyxserver.C (read_ready): revert my patch of 11 September last year
2956 as it sends PC cpu through the roof. Presumably this means that
2957 the lyxserver will no longer run on an Alpha...
2959 2003-01-30 Angus Leeming <leeming@lyx.org>
2961 * factory.C (createInset): create an InsetCommandParam of type "index"
2962 and use it to 'do the right thing'.
2964 * text2.C (getStringToIndex): ensure that cursor position is always
2965 reset to the reset_cursor position.
2967 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2969 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2972 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2976 * lyxfunc.C: Output messages with identical spelling, punctuation,
2979 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2981 * MenuBackend.C (expandFormats): List only viewable export formats
2984 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2987 * lyxfunc.C (getStatus): Make sure that formats other than
2988 "fax" can also be disabled
2990 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2992 * text3.C (dispatch): put the lfuns that insert insets in 3
2993 groups, and call doInsertInset with appropriate arguments.
2994 (doInsertInset): new function, that creates an inset and inserts
2995 it according to some boolean parameters.
2997 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * buffer.C (readFile): remember to pass on 'par' when calling
3000 readFile recursively.
3002 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3004 * MenuBackend.C (expandFormats): add "..." to import formats.
3006 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3008 * paragraph.C (asString): Remove XForms RTL hacks.
3010 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3011 * buffer.C: fix typo
3013 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * Makefile.am (LIBS): delete var
3016 (lyx_LDADD): add @LIBS@ here instead.
3018 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3020 * Clarify the meaning of "wheel mouse jump"
3022 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3024 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3027 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3029 * importer.C (Loaders): do not preallocate 3 elements in the
3030 vector, since one ends up with 6 elements otherwise
3032 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3034 * DepTable.C (write): write the file name as last element of the
3035 .dep file (because it may contain spaces)
3036 (read): read info in the right order
3038 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3040 * paragraph_pimpl.C (simpleTeXBlanks):
3041 (simpleTeXSpecialChars):
3042 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3044 * tabular.C (latex): add some missing case statements. Reindent.
3046 * MenuBackend.C (expandToc): remove unused variable.
3048 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3057 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3060 2003-01-05 John Levon <levon@movementarian.org>
3063 * BufferView.C: add getEncoding()
3066 * kbsequence.C: do not store last keypress
3069 * lyxfunc.C: store last keypress here instead. Pass encoding
3072 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3074 * lyx_main.C (init): remove annoying error message when following
3075 symbolic links (bug #780)
3077 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3079 * text.C (insertChar):
3080 * lyxrc.C (getDescription): remove extra spaces
3082 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3084 * lyxrc.C (getDescription): remove extra spaces
3086 2002-12-20 John Levon <levon@movementarian.org>
3088 * text3.C: hack fix for page up/down across tall rows
3090 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3092 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3095 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3097 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3098 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3099 thesaurus is not compiled in
3101 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3103 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3105 2002-12-16 Angus Leeming <leeming@lyx.org>
3108 * lyx_main.C (init): remove override_x_deadkeys stuff.
3110 2002-12-12 John Levon <levon@movementarian.org>
3112 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3113 insert. Only remove shift modifier under strict
3116 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * MenuBackend.C (expandToc): fix crash.
3120 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * MenuBackend.C (expandToc): gettext on float names.
3124 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3126 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3127 implement bool empty() [bug 490]
3129 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3133 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * several files: ws changes
3137 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * text2.C (setCounter): clean up a bit, use boost.format.
3140 (updateCounters): initialize par upon declaration.
3142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3143 if the layout exists. We do not just store the layout any more.
3144 (SwitchLayoutsBetweenClasses): use boost.format
3146 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3148 * converter.C (convert): if from and to files are the same, use a
3149 temporary files as intermediary
3151 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3154 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3156 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3158 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3160 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * tabular.C (asciiPrintCell): use string(size, char) instead of
3165 * sgml.C (openTag): fix order of arguments to string constructor
3168 * lyxfunc.C (dispatch): use boost.format
3170 * lots of files: change "c" -> 'c'
3172 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3174 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3176 2002-11-25 Angus Leeming <leeming@lyx.org>
3178 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3180 * lyx_main.C (init): compile fix.
3182 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3184 * lyx_cb.C (start): boost.formatify
3185 do not include <iostream>
3187 * lengthcommon.C: ws only
3189 * boost-inst.C,BoostFormat.h: add more explict instantations
3191 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * lots of files: handle USE_BOOST_FORMAT
3195 2002-11-21 John Levon <levon@movementarian.org>
3197 * pspell.C: fix compile
3199 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3201 * lyxfunc.C (dispatch): use boost::format
3205 * lyxfont.C (stateText): use boost::format
3207 * lyx_main.C (LyX): use boost::format
3209 (queryUserLyXDir): ditto
3212 (typedef boost::function): use the recommened syntax.
3214 * importer.C (Import): use boost::format
3216 * debug.C (showLevel): use boost::format
3218 * converter.C (view): use boost::format
3223 * bufferview_funcs.C (currentState): use boost::format
3225 * bufferlist.C (emergencyWrite): use boost::format
3227 * buffer.C (readLyXformat2): use boost::format
3228 (parseSingleLyXformat2Token): ditto
3230 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3232 * LaTeX.C (run): use boost::format
3234 * Chktex.C (scanLogFile): use boost::format
3236 * BufferView_pimpl.C (savePosition): use boost::format
3237 (restorePosition): ditto
3238 (MenuInsertLyXFile): ditto
3240 * BoostFormat.h: help file for explicit instation.
3242 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3244 * tabular.C (latex): Support for block alignment in fixed width
3247 2002-11-17 John Levon <levon@movementarian.org>
3249 * BufferView_pimpl.C:
3251 * lyxfunc.C: split filedialog into open/save
3253 2002-11-08 Juergen Vigna <jug@sad.it>
3255 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3256 by my last patch (hopefully).
3258 2002-11-08 John Levon <levon@movementarian.org>
3267 * toc.C: ParConstIterator, and use it (from Lars)
3269 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3271 * lyxtextclass.[Ch]: revise and add doxygen comments
3273 2002-11-07 John Levon <levon@movementarian.org>
3275 * text.C: fix progress value for spellchecker
3277 * toc.C: fix navigate menu for insetwrap inside minipage
3279 * paragraph_funcs.C: added FIXME for suspect code
3281 2002-11-07 John Levon <levon@movementarian.org>
3283 * BufferView_pimpl.C: fix redrawing of insets
3286 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3288 * text2.C (updateCounters): fix bug 668
3290 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3292 * text3.C (dispatch): Do not make the buffer dirty when moving the
3295 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * vc-backend.C: STRCONV
3300 * text2.C (setCounter): STRCONV
3302 * paragraph.C (asString): STRCONV
3304 * lyxlength.C (asString): STRCONV
3305 (asLatexString): ditto
3307 * lyxgluelength.C (asString): STRCONV
3308 (asLatexString): ditto
3310 * lyxfunc.C (dispatch): STRCONV
3313 * lyxfont.C (stateText): STRCONV
3315 * importer.C (Import): STRCONV
3317 * counters.C (labelItem): STRCONV
3318 (numberLabel): ditto
3319 (numberLabel): remove unused ostringstream o
3324 * bufferview_funcs.C (currentState): STRCONV
3326 * buffer.C (readFile): STRCONV
3327 (asciiParagraph): ditto
3328 (makeLaTeXFile): ditto
3330 * Spacing.C (writeEnvirBegin): STRCONV
3332 * LaTeXFeatures.C (getLanguages): STRCONV
3333 (getPackages): ditto
3335 (getBabelOptions): ditto
3336 (getTClassPreamble): ditto
3337 (getLyXSGMLEntities): ditto
3338 (getIncludedFiles): ditto
3342 (scanAuxFile): ditto
3345 * LString.h: add the STRCONV macros
3347 * BufferView_pimpl.C (savePosition): STRCONV
3348 (restorePosition): ditto
3349 (MenuInsertLyXFile): ditto
3351 * vc-backend.C (scanMaster): change from submatch[...] to
3354 * funcrequest.C: include config.h
3356 * factory.C: include config.h
3358 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3360 * box.C: include config.h
3362 * LaTeX.C (scanAuxFile): change from submatch[...] to
3366 2002-10-25 Angus Leeming <leeming@lyx.org>
3368 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3370 * ispell.[Ch] (setError): new method.
3371 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3372 Use setError() insetead of goto END.
3374 * lyx_cb.C (AutoSave): move out child process into new class
3377 2002-10-30 John Levon <levon@movementarian.org>
3379 * text3.C: make start appendix undoable
3381 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3383 * lyxlength.C (inPixels): Fix returned value.
3385 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3388 2002-10-24 Angus Leeming <leeming@lyx.org>
3390 * lyxgluelength.h: no need to forward declare BufferParams
3391 or BufferView, so don't.
3393 2002-10-21 John Levon <levon@movementarian.org>
3395 * BufferView.C: menuUndo ->undo, redo
3397 * BufferView.h: document, remove dead, make some methods private
3399 * paragraph_funcs.h:
3400 * paragraph_funcs.C:
3401 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3406 * sgml.C: move sgml open/close tag into sgml.C
3408 * bufferview_funcs.h: unused prototype
3411 * lyxfunc.C: remove unused
3414 * text.C: remove unused
3416 2002-10-21 John Levon <levon@movementarian.org>
3420 * BufferView_pimpl.h:
3421 * BufferView_pimpl.C: fix mouse wheel handling based on
3422 patch from Darren Freeman
3424 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3426 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3428 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3430 * lyxlength.C (inPixels): Fix hanfling of negative length.
3431 Fix LyXLength::MU case.
3433 2002-10-16 John Levon <levon@movementarian.org>
3435 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3437 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3439 * converter.C (view): add support for $$i (file name) and $$p
3440 (file path) for the viewer command. If $$i is not specified, then
3441 it is appended to the command (for compatibility with old syntax)
3443 2002-10-14 Juergen Vigna <jug@sad.it>
3445 * undo_funcs.C (textHandleUndo): alter the order in which the
3446 new undopar is added to the LyXText, as we have to set first
3447 the right prev/next and then add it as otherwise the rebuild of
3448 LyXText is not correct. Also reset the cursor to the right paragraph,
3449 with this IMO we could remove the hack in "redoParagraphs()".
3451 2002-10-09 Angus Leeming <leeming@lyx.org>
3453 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3454 to turn off an optimisation if a new inset is to be inserted.
3456 2002-10-11 André Pönitz <poenitz@gmx.net>
3458 * lyxtext.h: make some functions public to allow access
3459 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3461 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3463 * text3.C (dispatch): when changing layout, avoid an infinite loop
3466 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3468 * lyxrc.C (read): treat a viewer or converter command of "none" as
3471 * MenuBackend.C (expandFormats): for an update, also allow the
3472 formats that are not viewable
3474 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3475 script if it is newer than the lyxrc.defaults in user directory
3477 2002-10-07 André Pönitz <poenitz@gmx.net>
3479 * text.C: Vitaly Lipatov's small i18n fix
3481 2002-09-25 Angus Leeming <leeming@lyx.org>
3483 * ispell.h: doxygen fix.
3485 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3487 * buffer.h (readFile): Add a new argument to the method, to allow
3488 reading of old-format templates.
3490 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3492 * toc.C (getTocList): Get TOC from InsetWrap.
3494 2002-09-16 John Levon <levon@movementarian.org>
3496 * lyxfunc.C: check tabular for cut/copy too
3498 2002-09-12 John Levon <levon@movementarian.org>
3503 * factory.C: add header
3505 * paragraph_funcs.h:
3506 * paragraph_funcs.C: cleanup
3508 2002-09-11 John Levon <levon@movementarian.org>
3510 * PrinterParams.h: odd/even default to true
3512 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3514 * PrinterParams.h: update printer parameters for new xforms dialog
3516 2002-09-11 Angus Leeming <leeming@lyx.org>
3518 * lyxserver.C (read_ready): re-write to make it more transparent
3519 and to make it work in coherent fashion under Tru64 Unix.
3521 2002-09-11 André Pönitz <poenitz@gmx.net>
3525 * text3.C: implement LFUN_WORDSEL
3527 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3530 make floatlist_ a boost::shared_ptr<FloatList>
3532 * lyxtextclass.C: include FloatList.h
3533 (LyXTextClass): initialize floatlist_
3534 (TextClassTags): add TC_NOFLOAT
3535 (Read): match "nofloat" to TC_NOFLOAT and use it.
3536 (readFloat): modify call to floatlist_
3540 * FloatList.[Ch] (FloatList): remove commented out float
3542 (erase): new function
3544 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3546 * MenuBackend.C (expandToc): fix crash when there is no document
3549 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3551 * many files: Add insetwrap.
3553 2002-09-09 John Levon <levon@movementarian.org>
3555 * text2.C: remove confusing and awkward depth wraparound
3557 2002-09-09 John Levon <levon@movementarian.org>
3559 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3562 * buffer.C: remove getIncludeonlyList()
3565 * lyxfunc.C: remove headers
3567 2002-09-09 Juergen Vigna <jug@sad.it>
3569 * text.C (getColumnNearX): fix form Michael this is most
3570 probably a cut&paste bug.
3572 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3576 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3577 references, ws changes.
3579 * text2.C (init): update counters after init
3580 (insertParagraph): no need to set counter on idividual paragraphs.
3581 (setCounter): access the counters object in the textclass object
3582 on in the buffer object.
3583 (updateCounters): ditto
3585 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3586 shared_ptr<Counters> to avoid loading counters.h in all
3588 (LyXTextClass): initialize ctrs_
3589 (TextClassTags): add TC_COUNTER, and ...
3590 (Read): use it here.
3591 (CounterTags): new tags
3592 (readCounter): new function
3593 (counters): new funtion
3594 (defaultLayoutName): return a const reference
3596 * counters.C (Counters): remove contructor
3597 (newCounter): remove a couple of unneeded statements.
3598 (newCounter): simplify a bit.
3599 (numberLabel): some small formatting changes.
3601 * buffer.[Ch]: remove all traces of counters, move the Counters
3602 object to the LyXTextClass.
3604 2002-09-06 Alain Castera <castera@in2p3.fr>
3606 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3607 package to set the horizontal alignment on fixed width columns.
3610 * lyx_sty.h: added tabularnewline macro def.
3612 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3614 2002-09-06 John Levon <levon@movementarian.org>
3616 * LyXAction.C: tooltips for sub/superscript
3618 * MenuBackend.C: a bit more verbose
3620 * lyxfunc.C: tiny clean
3622 * undo_funcs.C: document undo_frozen
3624 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * counters.C (Counters): add missing algorithm counter.
3628 * text2.C (setCounter): lookup the counter with layouts latexname
3629 instead of by section number.
3630 (setCounter): use a hackish way to lookup the correct enum
3632 a float name->type change
3633 reset enum couners with counter name directly instead of depth value.
3635 * counters.C (Counters): remove the push_backs, change to use the
3636 float type not the float name.
3637 (labelItem): remove unused string, float name->type change
3639 * counters.h: don't include vector, loose the enums and sects vectors
3641 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3644 (Read): add float->TC_FLOAT to textclassTags
3645 (Read): and handle it in the switch
3646 (readFloat): new function
3648 * FloatList.C (FloatList): comment out the hardcoded float
3651 * lyxlayout.h: ws change.
3653 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3655 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3657 2002-09-03 Angus Leeming <leeming@lyx.org>
3659 * BufferView_pimpl.h: qualified name is not allowed in member
3660 declaration: WorkArea & Pimpl::workarea() const;
3662 * factory.C: added using std::endl directive.
3664 * text3.C: added using std::find and std::vector directives.
3666 2002-08-29 André Pönitz <poenitz@gmx.net>
3669 * text2.C: remove unused member number_of_rows
3672 * BufferView2.C: remove file, move contents to...
3673 * BufferView.C: ... here
3675 * BufferView_pimpl.C:
3676 * factory.C: move more inset creation to factory
3678 * vspace.C: avoid direct usage of LyXText, ws changes
3681 don't provide direct access to WorkArea, use two simple
3682 acessors haveSelction() and workHeight() instead
3685 2002-08-29 John Levon <levon@movementarian.org>
3687 * BufferView_pimpl.C (dispatch): do not continue when
3690 2002-08-28 André Pönitz <poenitz@gmx.net>
3692 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3695 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3697 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3699 * buffer.C: increment LYX_FORMAT to 221
3701 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3702 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3704 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3706 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3708 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3710 * factory.C (createInset): use LyXTextClass::floats
3712 * MenuBackend.C (expandFloatListInsert):
3713 (expandFloatInsert):
3716 * text2.C (setCounter):
3718 * LaTeXFeatures.C (useFloat):
3719 (getFloatDefinitions):
3721 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3723 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3724 floatlist_, with accessor floats().
3726 * FloatList.h: remove global FloatList
3728 2002-08-26 André Pönitz <poenitz@gmx.net>
3730 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3734 * BufferView_pimpl.C:
3735 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3737 2002-08-25 John Levon <levon@movementarian.org>
3739 * LyXAction.C: fix margin note description
3741 2002-08-24 John Levon <levon@movementarian.org>
3745 * bufferview_funcs.C:
3747 * undo_funcs.C: cleanups
3749 * lyxfunc.C: disable CUT/COPY when no selection
3751 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3753 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3754 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3756 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3757 Add backward compatibility to "mono", "gray" and "no".
3759 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3761 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3762 (and file_format >= 200).
3764 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3766 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3768 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3770 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3772 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3774 * BufferView_pimpl.C:
3781 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3782 inset and code to make it work with the paragraph code. The inset
3783 can be anywhere in the paragraph, but will only do the expected
3784 thing in LaTeX if the layout file contains the parameter line
3786 (or more generally, a nonzero value) for that layout.
3788 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * paragraph.h: remove the declaration of undefined counters class
3793 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3795 * text2.C (setCounter): fixed enumeration mis-count as reported by
3796 Dr. Richard Hawkins.
3798 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3800 * paragraph_funcs.h: remove some unneeded includes
3802 * text.C (backspace): pasteParagraph now in global scipe
3804 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3805 (pasteSelection): ditto
3807 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3808 * paragraph_funcs.C (pasteParagraph): ... here
3810 2002-08-20 André Pönitz <poenitz@gmx.net>
3812 * commandtags.h: new LFUNs for swapping/copying table row/colums
3815 * lyxfunc.C: support for new lfuns
3817 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * buffer.[Ch]: remove NO_COMPABILITY stuff
3822 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * boost.C (throw_exception): new file, with helper function for
3825 boost compiled without exceptions.
3830 * ParameterStruct.h:
3831 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3833 * bufferlist.C (emergencyWriteAll): use boost bind
3835 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3837 * text.C: include paragraph_funcs.h
3838 (breakParagraph): breakParagraph is now in global scope
3840 * paragraph_funcs.[Ch]: new files
3842 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3845 * buffer.C: include paragraph_funcs.h
3846 (insertStringAsLines): breakParagraph is now in global scope
3848 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3851 * CutAndPaste.C: include paragraph_funcs.h
3852 (cutSelection): breakParagraphConservative is now in global scope
3853 (pasteSelection): ditto
3855 * buffer.h: declare oprator== and operator!= for
3856 Buffer::inset_iterator
3858 * bufferlist.C (emergencyWrite): don't use fmt(...)
3860 * text3.C: add using std::endl
3862 * BufferView.C (moveCursorUpdate): remove default arg
3864 2002-08-20 André Pönitz <poenitz@gmx.net>
3866 * buffer.[Ch]: move inline functions to .C
3869 * BufferView_pimpl.C:
3871 * buffer.[Ch]: use improved inset_iterator
3874 * paragraph.[Ch]: write one paragraph at a time
3876 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3878 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3879 style if style is not specified.
3881 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3883 * text2.C (setCounter): when searching for right label for a
3884 caption, make sure to recurse to parent insets (so that a caption
3885 in a minipage in a figure float works) (bug #568)
3887 2002-08-20 André Pönitz <poenitz@gmx.net>
3889 * text3.C: new file for LyXText::dispatch() and helpers
3891 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3893 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3895 2002-08-19 André Pönitz <poenitz@gmx.net>
3898 * text.C: new LyXText::dispatch()
3900 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3902 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3904 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3906 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3909 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3911 * Makefile.am: use $(variables) instead of @substitutions@
3913 2002-08-15 André Pönitz <poenitz@gmx.net>
3916 * BufferView_pimpl.C: streamlining mathed <-> outer world
3920 * LyXAction.C: remove unused LFUN_MATH
3922 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3926 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * paragraph.C (Paragraph): reformat a bit
3929 (cutIntoMinibuffer): use builtin InsetList function instad of
3933 * buffer.C: include boost/bind.hpp, add using std::for_each
3934 (writeFileAscii): use ParagraphList iterators
3935 (validate): use for_each for validate traversal of paragraphs
3936 (getBibkeyList): use ParagraphList iterators
3937 (resizeInsets): use for_each to resizeInsetsLyXText for all
3939 (getParFromID): use ParagraphList iterators
3941 * BufferView2.C (lockInset): use paragraph list and iterators
3943 2002-08-14 John Levon <levon@movementarian.org>
3945 * lyxserver.C: remove spurious xforms include
3947 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3949 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3951 2002-08-13 André Pönitz <poenitz@gmx.net>
3954 * lyxfunc.C: further cleaning
3956 2002-08-13 André Pönitz <poenitz@gmx.net>
3958 * funcrequest.h: new constructor
3960 * funcrequest.C: move stuff here from .h
3963 * BufferView_pimpl.C:
3966 * lyxfunc.C: subsequent changes
3968 * lyxfunc.h: new view() member function
3970 * lyxfunc.C: subsequent changes
3972 2002-08-13 Angus Leeming <leeming@lyx.org>
3975 * BufferView_pimpl.C:
3983 changes due to the changed LyXView interface that now returns references
3984 to member variables not pointers.
3986 2002-08-13 Angus Leeming <leeming@lyx.org>
3988 * WordLangTuple (word, lang_code): return references to strings,
3993 * lyxtext.h: forward-declare WordLangTuple.
3998 * text.C: #include "WordLangTuple.h".
4001 * text.C: (selectNextWordToSpellcheck): constify return type.
4003 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4009 * paragraph_pimpl.h:
4012 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4014 Made updateCounter always count from start of buffer, and removed
4015 second argument (par).
4016 Reverted floats number display to '#'. Perhaps I'll try again when the
4017 code base is sanitized a bit.
4019 2002-08-12 Angus Leeming <leeming@lyx.org>
4021 * buffer.[Ch] (getLabelList): constify.
4023 2002-08-07 André Pönitz <poenitz@gmx.net>
4025 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4027 * funcrequest.h: extension to keep mouse (x,y) position
4029 2002-08-12 Juergen Vigna <jug@sad.it>
4031 * BufferView2.C (insertErrors): forbid undo when inserting error
4034 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4036 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * ParagraphList.[Ch]: new files
4040 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4042 * BufferView2.C (lockInset): ParagraphList changes
4045 * bufferlist.C: ditto
4049 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4052 unused class variable counter_,
4054 * paragraph.[Ch] (getFirstCounter): delete unused function
4056 * counters.C: include LAssert.h
4057 (reset): add a new function with no arg, change other version to
4058 not have def. arg and to not allow empty arg.
4060 * text2.C (setCounter): remove empty arg from call to Counters::reset
4062 2002-08-11 John Levon <levon@movementarian.org>
4064 * Makefile.am: add WordLangTuple.h
4066 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4069 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4071 * insets/insettext.C: InsetList changes
4073 * graphics/GraphicsSupport.C (operator()): InsetList changes
4075 * toc.C (getTocList): InsetList changes
4077 * paragraph_pimpl.[Ch]: InsetList changes
4079 * paragraph.[Ch]: InsetList changes
4081 * buffer.C (inset_iterator): InsetList changes
4082 (setParagraph): ditto
4083 * buffer.h (inset_iterator): ditto
4084 * iterators.C (operator++): ditto
4085 * iterators.h: ditto
4087 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4089 * InsetList.[Ch]: new files, most InsetList handling moved out of
4092 * BufferView2.C (removeAutoInsets): InsetList changes
4094 (ChangeInsets): ditto
4096 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * paragraph_pimpl.h (empty): new function
4100 * paragraph.[Ch] (empty): new function
4102 * other files: use the new Paragraph::empty function
4104 2002-08-09 John Levon <levon@movementarian.org>
4106 * lyxtext.h: remove unused refresh_height
4108 2002-08-09 John Levon <levon@movementarian.org>
4115 * paragraph.C: move sgml char escaping out of paragraph
4118 * paragraph.C: remove id setter
4122 * paragraph_pimpl.C: remove dead tex_code_break_column
4124 * bufferview_funcs.C: small cleanup
4126 * lyxfunc.C: remove dead proto
4128 * lyxtext.h: make some stuff private. Remove some dead stuff.
4130 * lyxgluelength.C: make as[LyX]String() readable
4132 2002-08-08 John Levon <levon@movementarian.org>
4137 * ToolbarDefaults.C:
4140 * toc.C: lyxaction cleanup
4142 2002-08-08 John Levon <levon@movementarian.org>
4144 * BufferView2.C: small cleanup
4147 * lyxfind.C: move unnecessary header into the .C
4149 2002-08-08 John Levon <levon@movementarian.org>
4151 * funcrequest.h: just tedious nonsense
4154 * lyx_main.C: cleanups
4157 * vspace.C: remove dead header lyx_main.h
4159 2002-08-07 Angus Leeming <leeming@lyx.org>
4162 * paragraph_pimpl.h:
4163 Forward declare class Counters in paragraph.h by moving the ctrs member
4164 variable into Paragraph::Pimpl.
4165 (counters): new method, returning a reference to pimpl_->ctrs.
4167 * text2.C: ensuing changes.
4169 2002-08-07 John Levon <levon@movementarian.org>
4171 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4173 * BufferView_pimpl.C: announce X selection on double/triple
4176 * lyx_main.C: use correct bool in batch dispatch
4178 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4180 2002-08-07 André Pönitz <poenitz@gmx.net>
4182 * funcrequest.h: new class to wrap a kb_action and its argument
4185 * BufferView_pimpl[Ch]:
4189 * lyxrc.C: subsequent changes
4192 2002-08-07 John Levon <levon@movementarian.org>
4194 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4195 document options change.
4197 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4202 * makefile.am: move counters functionality over from
4203 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4205 2002-08-06 John Levon <levon@movementarian.org>
4207 * WordLangTuple.h: new file for word + language code tuple
4218 * BufferView2.C: use WordLangTuple
4221 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4223 2002-08-06 John Levon <levon@movementarian.org>
4225 * lyx_main.C: fix cmdline batch handling
4227 2002-08-06 André Pönitz <poenitz@gmx.net>
4229 * lyxrc.C: set default for show_banner to true
4231 2002-08-06 John Levon <levon@movementarian.org>
4233 * pspell.C: fix a crash, and allow new aspell to work
4235 2002-08-06 John Levon <levon@movementarian.org>
4238 * kbmap.C: small cleanup
4241 * vspace.C: add const
4243 2002-08-05 John Levon <levon@movementarian.org>
4245 * LyXAction.C: back to tabular-insert
4247 2002-08-04 John Levon <levon@movementarian.org>
4250 * BufferView.C: cosmetic change
4252 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4262 * BufferView2.C: purge all "Lyx" not "LyX" strings
4265 * lyxcursor.C: attempt to add some documentation
4270 * ToolbarDefaults.C:
4271 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4272 merge with LFUN_TABULAR_INSERT
4279 * pspell.C: split up i/pspell implementations into separate
4280 files, many cleanups
4282 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4284 * text2.C: some cleanup
4286 * lyxfunc.C: don't check for isp_command == "none" any more, it
4287 didn't make any sense
4289 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4294 * makefile.am: move counters functionality over
4295 from text2.C/paragraph.[Ch] to counters.[Ch], and
4297 2002-08-02 John Levon <levon@movementarian.org>
4299 * buffer.C: s/lyxconvert/lyx2lyx/
4301 2002-08-02 Angus Leeming <leeming@lyx.org>
4303 * lyxlex.C: revert John's change as it breaks reading of the user
4306 2002-08-02 Angus Leeming <leeming@lyx.org>
4308 * importer.C (Import):
4309 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4310 changes due to LyXView::view() now returning a boost::shared_ptr.
4312 2002-08-02 John Levon <levon@movementarian.org>
4314 * lyxlex.C: small cleanup
4316 2002-08-02 John Levon <levon@movementarian.org>
4318 * text2.C (status): small cleanup, no logic change
4320 2002-08-01 John Levon <levon@movementarian.org>
4323 * buffer.C (writeFile): don't output alerts, caller
4327 * lyx_cb.C: from above
4329 * lyxfunc.C: allow to open non-existent files
4331 2002-07-31 John Levon <levon@movementarian.org>
4333 * lyxserver.C: don't let incidental errors get
4336 2002-07-30 John Levon <levon@movementarian.org>
4338 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4340 2002-07-30 John Levon <levon@movementarian.org>
4343 * lyxserver.C: remove I/O callback too
4345 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4347 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4350 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * many files: strip,frontStrip -> trim,ltrim,rtrim
4354 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * PrinterParams.h: remove extern containsOnly, and include
4357 support/lstrings.h instead.
4359 * LaTeX.C (scanAuxFile): modify because of strip changes
4361 * buffer.C (makeLaTeXFile): ditto
4362 * bufferparams.C (writeFile): ditt
4363 * lyxfont.C (stateText): ditto
4364 * lyxserver.C (read_ready): ditto
4365 * vc-backend.C (scanMaster): ditto
4367 * BufferView_pimpl.h: ws changes
4369 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4371 2002-07-26 André Pönitz <poenitz@gmx.net>
4373 * kb_sequence.C: remove unnedred usings
4375 2002-07-26 Juergen Vigna <jug@sad.it>
4377 * lyxfind.C (LyXReplace): we have to check better if the returned
4378 text is not of theLockingInset()->getLockingInset().
4380 2002-07-25 Juergen Vigna <jug@sad.it>
4382 * lyxfind.C (LyXReplace): don't replace if we don't get the
4385 * undo_funcs.C (createUndo): remove debugging code.
4387 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4389 * buffer.C (parseSingleLyXformat2Token): Use default placement
4390 when reading old floats.
4392 * FloatList.C (FloatList): Change the default placement of figure
4393 and tables to "tbp".
4395 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4397 * MenuBackend.C: using std::max
4399 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4401 * MenuBackend.C (expandToc):
4402 (expandToc2): code moved from xforms menu frontend. It is now
4403 generic and TOCs are transparent to menu frontends.
4405 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4407 * toc.C (getTocList): protect against buf=0
4409 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4410 Menu as first parameter. Now, this calls itself recursively to
4411 expand a whole tree (this will be useful for TOC handling)
4412 (expandFloatInsert): remove 'wide' version of floats
4414 * MenuBackend.h (submenuname): returns the name of the submenu.
4415 (submenu): returns the submenu itself, provided it has been
4416 created by MenuBackend::expand
4418 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4420 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4421 insets which have noFontChange == true. (bug #172)
4423 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4425 * BufferView_pimpl.C: add connection objects and use them...
4428 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4430 * MenuBackend.C (expandLastfiles):
4433 (expandFloatListInsert):
4434 (expandFloatInsert):
4435 (expand): split expand in parts
4437 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4439 * lyx_gui.C: use lyx_gui::exit()
4441 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4443 * LyXAction.C: show the failing pseudo action
4445 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4447 * buffer.C (readFile): Run the lyxconvert script in order to read
4450 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4454 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4456 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4460 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4462 2002-07-22 Herbert Voss <voss@lyx.org>
4465 * lyxlength.[Ch]: add support for the vertical lengths
4467 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4469 * toc.[Ch]: std:: fixes
4471 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4473 * lyxrc.C: do not include lyx_main.h
4475 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4481 * BufferView2.C: include "lyxlex.h"
4484 * bufferparams.h: do not #include "lyxlex.h"
4486 * lyxtextclasslist.C (Add): remove method
4487 (classlist): renamed to classlist_
4489 * paragraph_pimpl.C:
4493 * bufferview_funcs.C:
4498 * toc.C (getTocList): use BufferParams::getLyXTextClass
4500 * toc.C (getTocList): use InsetFloat::addToToc
4502 * toc.[Ch]: new files, containing helper functions to handle table
4505 * lyxfunc.C (dispatch): no need to remove spaces around command
4507 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4508 first command of the sequence; it is not very clever, but I do not
4509 have a better idea, actually
4511 * LyXAction.C (LookupFunc): make sure to remove space at the
4512 beginning and end of the command
4514 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4516 * MenuBackend.C (getMenubar): new method: return the menubar of
4518 (read): treat differently reading of menu and menubar (in
4519 particular, the menubar has no name now)
4520 (Menu::menubar): remove
4522 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4525 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4527 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4528 a bibitem inset in a RTL paragraph.
4530 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4532 * paragraph_pimpl.C: constify
4534 * BufferView_pimpl.C:
4536 * lyxfunc.C: fix dispatch in a nicer way
4538 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4540 * lyxfunc.C (dispatch):
4541 * BufferView_pimpl.C:
4542 * BufferView_pimpl.h:
4544 * BufferView.h: rename Dispatch() to dispatch()
4546 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4548 * lyxlayout.C (Read): honor DependsOn tag
4550 * lyxlayout.[Ch] (depends_on): new method
4552 * version.C.in: update lyx_docversion
4554 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4556 * paragraph.C (validate): remove from here...
4557 * paragraph_pimpl.C (validate): ... and move here
4558 (isTextAt): make it const
4560 * buffer.C (getLists): ws cleanup
4562 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4564 * language.C (read): Use iso8859-1 encoding in latex_lang
4565 (this prevents LyX from crashing when using iso10646-1 encoding).
4567 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4569 * text2.C (toggleInset): if cursor is inside an inset, close the
4570 inset and leave cursor _after_ it
4572 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4574 * lyxfunc.C: move minibuffer completion handling out of here
4576 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4578 * BufferView_pimpl.C:
4579 * LaTeX.C: fix dispatch calls
4581 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4583 * text.C (drawChars): Fix Arabic text rendering.
4585 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4589 * lyxfunc.C: remove message-push/pop
4593 * lyxfunc.C: rationalise some code by removing verboseDispatch
4594 in favour of a bool argument to dispatch()
4596 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4598 * lyx_main.C (init): make sure to read symlinks as absolute paths
4600 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4603 * lyxfunc.C: no need for commandshortcut to be a member
4605 2002-07-15 André Pönitz <poenitz@gmx.net>
4607 * converter.C: add support for $$s (scripts from lib/scripts dir)
4608 * lyx_main.C: white space
4610 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4614 * lyxrc.C: remove second exit confirmation
4616 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4621 * BufferView_pimpl.h:
4622 * BufferView_pimpl.C:
4623 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4625 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4627 * MenuBackend.C (expand): add numeric shortcuts to document menu
4629 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4631 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4633 * lyxfont.C (setLyXFamily):
4640 * buffer.C (asciiParagraph): use ascii_lowercase
4642 2002-07-15 Mike Fabian <mfabian@suse.de>
4644 * lyxlex_pimpl.C (search_kw):
4645 * lyxlex.C (getLongString):
4646 * converter.h (operator<):
4647 * converter.C (operator<):
4648 * buffer.C (parseSingleLyXformat2Token):
4650 * ToolbarDefaults.C (read):
4651 * MenuBackend.C (checkShortcuts):
4653 * LColor.C (getFromGUIName):
4654 (getFromLyXName): use the compare_ascii_no_case instead of
4655 compare_no_case, because in turkish, 'i' is not the lowercase
4656 version of 'I', and thus turkish locale breaks parsing of tags.
4658 2002-07-16 Angus Leeming <leeming@lyx.org>
4660 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4661 now takes a Buffer const & argument.
4663 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4665 * BufferView.C (resize): check there's a buffer to resize
4667 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4669 * lyxfunc.C: remove dead code
4672 * lyxserver.C: use lyx_guii::set_read_callback
4674 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4676 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4677 an inset in a RTL paragraph.
4679 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4681 * lyxfunc.C: repaint after a font size update
4683 2002-07-15 André Pönitz <poenitz@gmx.net>
4685 * lyxlength.C: inBP should be able to return negative values
4687 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4689 * lyxfunc.C: use lyx_gui::update_fonts()
4691 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4693 * lyxfunc.C: use lyx_gui::update_color()
4695 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4701 * lyxrc.C: remove file->new asks for name option, and let
4702 buffer-new take an argument
4704 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4706 * BufferView_pimpl.C: remove unneeded extra repaint()
4708 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4710 * LyXAction.C: allow command-sequence with NoBuffer
4712 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4714 2002-07-10 Angus Leeming <leeming@lyx.org>
4716 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4718 2002-07-09 Angus Leeming <leeming@lyx.org>
4720 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4722 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4724 * lengthcommon.h: whitespace
4726 * lyxfunc.C: update scrollbar after goto paragraph
4728 * lyxtext.h: factor out page break drawing, and fix it so
4729 page break/added space paints as selected nicely
4731 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4733 * BufferView_pimpl.C: add FIXMEs, clean up a little
4735 2002-07-09 André Pönitz <poenitz@gmx.net>
4737 * lyxfont.[Ch]: support for wasy symbols
4739 2002-07-08 André Pönitz <poenitz@gmx.net>
4741 * BufferView_pimpl.C: apply John's patch for #93.
4743 2002-07-05 Angus Leeming <leeming@lyx.org>
4745 * BufferView_pimpl.C (buffer): generate previews if desired.
4747 * LColor.h: add "preview" to the color enum.
4749 * LColor.C (LColor): add a corresponding entry to the items array.
4751 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4754 2002-07-05 Angus Leeming <leeming@lyx.org>
4756 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4757 The body of the code is now in the method that is passed an ostream &
4758 rather than a file name.
4759 Pass an additional only_preamble parameter, useful for the forthcoming
4762 2002-07-03 André Pönitz <poenitz@gmx.net>
4764 * lyxfunc.C: simplify getStatus() a bit for math stuff
4766 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4768 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4770 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4772 * text.C (changeRegionCase): do not change case of all the
4773 document when region ends at paragraph end (bug #461)
4775 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4777 * paragraph.C (startTeXParParams):
4778 (endTeXParParams): add \protect when necessary
4780 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4782 * BufferView_pimpl.C (workAreaExpose): remove warning
4784 2002-06-27 Angus Leeming <leeming@lyx.org>
4786 * Makefile.am: add lyxlayout_ptr_fwd.h.
4788 2002-06-26 André Pönitz <poenitz@gmx.net>
4790 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4792 2002-06-25 Angus Leeming <leeming@lyx.org>
4794 * lyxfunc.C (dispatch): Comment out the call to
4795 grfx::GCache::changeDisplay. The method no longer exists now that the
4796 pixmap generation part of the graphics loader has been moved into
4799 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4801 * text2.C: layout as layout
4803 * text.C: layout as layout
4805 * tabular.C (OldFormatRead): layout as layout
4807 * paragraph_pimpl.C (TeXDeeper): layout as layout
4808 (realizeFont): layout as layout
4810 * paragraph.C (writeFile): layout as layout
4811 (validate): layout as layout
4812 (getFont): layout as layout
4813 (getLabelFont): layout as layout
4814 (getLayoutFont): layout as layout
4815 (breakParagraph): layout as layout
4816 (stripLeadingSpaces): layout as layout
4817 (getEndLabel): layout as layout
4818 (getMaxDepthAfter): layout as layout
4819 (applyLayout): layout as layout
4820 (TeXOnePar): layout as layout
4821 (simpleTeXOnePar): layout as layout
4822 (TeXEnvironment): layout as layout
4823 (layout): layout as layout
4824 (layout): layout as layout
4826 * lyxtextclass.C (compare_name): new functor to work with
4827 shared_ptr, layout as layout
4828 (Read): layout as layout
4829 (hasLayout): layout as layout
4830 (operator): layout as layout
4831 (delete_layout): layout as layout
4832 (defaultLayout): layout as layout
4834 * lyxlayout_ptr_fwd.h: new file
4836 * lyxlayout.C (Read): layout as layout
4838 * lyx_cb.C (MenuInsertLabel): layout as layout
4840 * bufferlist.C (newFile): layout as layout
4842 * buffer.C (readLyXformat2): layout as layout
4843 (parseSingleLyXformat2Token): layout as layout
4844 (insertStringAsLines): layout as layout
4845 (asciiParagraph): layout as layout
4846 (latexParagraphs): layout as layout
4847 (makeLinuxDocFile): layout as layout
4848 (simpleLinuxDocOnePar): layout as layout
4849 (makeDocBookFile): layout as layout
4850 (simpleDocBookOnePar): layout as layout
4851 (getLists): layout as layout
4853 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4855 * CutAndPaste.C (cutSelection): layout as layout
4856 (pasteSelection): layout as layout
4857 (SwitchLayoutsBetweenClasses): layout as layout
4859 * BufferView_pimpl.C (Dispatch): layout as layout
4860 (smartQuote): layout as layout
4862 * BufferView2.C (unlockInset): layout as layout
4864 2002-06-24 André Pönitz <poenitz@gmx.net>
4866 * lyxfunc.C: fix #487
4868 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4872 * lyxfunc.C: remove display_shortcuts, show_banner
4874 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4876 * Buffer_pimpl.C: oops, update on resize
4878 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4885 * BufferView.C: use repaint()
4887 * BufferView_pimpl.h:
4888 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4889 as it's a clearer description. Remove superfluous
4892 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4894 * text.C: fix bug 488. Not ideal, but getting
4895 getWord() to work properly for the insets that
4896 matter is more difficult ...
4898 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4900 * BufferView_pimpl.C:
4903 * lyxfunc.C: remove the six million index lyxfuncs to just
4904 one, and DTRT (bug 458)
4906 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4910 * BufferView_pimpl.h:
4911 * BufferView_pimpl.C: clean up resize() stuff,
4912 and unnecessary updateScreen()s
4914 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4918 * BufferView_pimpl.h:
4919 * BufferView_pimpl.C:
4922 * minibuffer.C: remove focus management of workarea,
4923 not needed. Use screen's greyOut()
4925 2002-06-17 Herbert Voss <voss@lyx.org>
4927 * converter.C: (convert) do not post a message, when converting
4928 fails, let the calling function decide what to do in this case
4930 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4932 * lyxfunc.C: tidy up a little
4934 2002-06-16 <alstrup@diku.dk>
4936 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4937 Got rid of FORMS_H_LOCATION include. Now we are
4940 2002-06-15 LyX Development team <lyx@rilke>
4942 * buffer.[Ch] (sgmlOpenTag):
4943 (sgmlCloseTag): Added support for avoiding pernicious mixed
4944 content. Return number of lines written.
4947 (makeDocBookFile): Fixed calls to sgml*Tag.
4948 Simple white space clean.
4950 (simpleDocBookOnePar): Simple white space clean.
4952 * tabular.[Ch] (docBook): Renamed to docbook and got another
4953 argument to related with the pernicious mixed content.
4955 (docbookRow): Fixed calls for docbook inset method.
4957 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4959 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4960 so it's X11 independent.
4964 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4966 2002-06-15 Lyx Development team <lyx@electronia>
4968 * intl.h: Renamed getTrans to getTransManager.
4970 2002-06-14 Angus Leeming <leeming@lyx.org>
4972 * Makefile.am: nuke forgotten stl_string_fwd.h.
4974 2002-06-12 Angus Leeming <leeming@lyx.org>
4976 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4978 2002-06-13 Angus Leeming <leeming@lyx.org>
4981 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4983 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4985 * kbmap.C (getiso): add support for cyrillic and greek
4987 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4991 * BufferView_pimpl.h:
4992 * BufferView_pimpl.C: move bogus scrolling logic
4995 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4998 * BufferView_pimpl.C: view->resize() change
5000 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5002 * BufferView_pimpl.C: topCursorVisible
5005 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5009 * lyx_gui.C: move to frontends/
5013 * lyx_main.C: changes from above
5015 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5022 * lyx_main.C: minor tidy
5024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5026 * BufferView_pimpl.h:
5027 * BufferView_pimpl.C:
5029 * BufferView.C: make painter() const,
5032 * BufferView2.C: use screen() accessor
5035 * lyx_main.C: some minor cleanup
5037 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5039 * BufferView_pimpl.h:
5040 * BufferView_pimpl.C: remove enter/leaveView,
5043 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5048 * BufferView_pimpl.h:
5049 * BufferView_pimpl.C: only construct screen once,
5052 * lyxrc.C: remove pointless comment
5054 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5057 * BufferView.C: remove active() and belowMouse()
5059 * BufferView_pimpl.h:
5060 * BufferView_pimpl.C: use workarea() not workarea_,
5061 and make it use a scoped_ptr instead
5063 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5065 * lyx_gui.C: add debug message on BadWindow
5067 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5069 * sp_spell.C: fdopen is not part of the C++ standard.
5071 * paragraph.C (InsetIterator): use >= instead of ==
5073 2002-06-07 Angus Leeming <leeming@lyx.org>
5075 Fixes needed to compile with Compaq cxx 6.5.
5076 * BufferView_pimpl.C:
5083 * lyxtextclasslist.C:
5088 all c-library variables have been moved into namespace std. Wrap
5089 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5094 Add a using std::abs declaration.
5096 * kbmap.h (modifier_pair):
5097 * paragraph.h (InsetTable, InsetList):
5098 * lyxfont.h (FontBits):
5099 type definition made public.
5101 * bufferlist.C (emergencyWriteAll): the compiler complains that
5102 there is more than one possible lyx::class_fun template to choose from.
5103 I re-named the void specialisation as lyx::void_class_fun.
5105 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5107 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5108 the compiler is is unable to find tostr in write_attribute.
5110 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5112 * buffer.C (sgmlError): hide #warning
5114 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5116 * xtl/*: get rid of xtl, which is not in use anyway
5118 * LyXAction.C (init):
5119 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5120 were unimplemented xtl experimentation
5122 2002-06-04 André Pönitz <poenitz@gmx.net>
5124 * lyxfunc.C: disable array operation on simple formulae
5126 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5128 * converter.C: constify a bit
5130 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5132 * lyx_gui.C: check xforms version correctly
5134 2002-04-30 Herbert Voss <voss@lyx.org>
5136 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5139 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5141 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5142 attempt to register it with a VCS)
5144 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5146 * lyx_main.C (init): honor variables LYX_DIR_13x and
5149 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5153 * lyx_main.C: fix a crash on bad command line,
5154 and give a useful exit status on error
5156 * lyxfunc.C (doImport): allow -i lyx to work
5158 2002-03-30 André Pönitz <poenitz@gmx.net>
5160 * lyxfunc.C: mathed font changes
5162 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5177 * trans_mgr.h: srcdocs, and some minor cleanups
5179 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5181 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5182 call getFont all the time)
5184 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5186 * switch from SigC signals to boost::signals
5188 2002-05-29 André Pönitz <poenitz@gmx.net>
5190 * paragraph_pimpl.C (getChar): don't call size() too often...
5192 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5194 * paragraph_pimpl.C (insertChar): do not try to update tables when
5195 appending (pos == size())
5197 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5198 in order to reduce drastically the number of comparisons needed to
5199 parse a large document
5201 2002-05-29 André Pönitz <poenitz@gmx.net>
5207 * textclasslist.[Ch]:
5208 * sp_ispell.h: whitespace change
5210 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5212 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5213 lyxaction directly now.
5215 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5219 * lyxvc.C: remove unused headers
5221 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5228 * undo_funcs.C: some cleanups. Use shared_ptr
5229 and a template for the undo stacks.
5231 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5233 * BufferView_pimpl.h:
5234 * BufferView_pimpl.C:
5241 * text2.C: use key_state/mouse_state
5243 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5245 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5248 * chset.C: change include order
5249 (loadFile): use boost regex and get rid of LRegex and LSubstring
5251 * Makefile.am (BOOST_LIBS): new variable
5254 * LaTeX.C: change include order.
5255 (scanAuxFile): use boost regex and get rid of LRegex and
5259 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5264 * FontInfo.C: moved to frontends/xforms/
5267 * FontLoader.C: moved into frontends for GUIIzation
5272 * lyxfunc.C: changes from above
5274 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5276 * LColor.C: remove spurious X include
5278 * BufferView_pimpl.C:
5283 * text2.C: move font metrics to frontends/
5285 2002-05-24 Juergen Vigna <jug@sad.it>
5287 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5288 setting the undo_cursor.
5290 * ParagraphParameters.h: include local includes first.
5292 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5294 * BufferView_pimpl.C:
5295 * BufferView_pimpl.h:
5299 * screen.C: move WorkArea into frontends/
5305 * BufferView2.C: move LyXScreen into frontends/
5309 * lyx_gui.C: move lyxlookup into frontends/xforms/
5311 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5314 * BufferView_pimpl.C:
5324 * bufferview_funcs.C:
5337 * vc-backend.C: move LyX/XFormsView into frontends/
5339 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5351 * text2.C: move Painter to frontends/
5353 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5355 * buffer.C: comment out some some code that depend upon lyx_format
5358 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5359 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5361 * buffer.h (NO_COMPABILITY): turn off compability
5363 * ColorHandler.C: include scoped_array.hpp
5365 * font.C: Use more specific smart_ptr header.
5368 * ShareContainer.h: ditto
5372 * BufferView_pimpl.h: ditto
5373 * ColorHandler.h: ditto
5375 * kbmap.C (defkey): change call to shared_ptr::reset
5377 2002-05-21 Juergen Vigna <jug@sad.it>
5379 * buffer.C (insertErtContents): fix to insert ert asis if it is
5380 non empty. Skip it completely if it contains only whitespaces.
5382 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5384 * BufferView_pimpl.C:
5385 * BufferView2.C: clear selection on paste (bug 393)
5387 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5389 * DepTable.C: include ctime
5391 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5393 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5395 2002-05-14 Juergen Vigna <jug@sad.it>
5397 * text.C (breakParagraph): fixed function to honor the keepempty
5398 layout in the right maner and also to permit the right breaking
5399 algorithm on empty or non empyt keepempty paragraphs.
5401 * paragraph.C (breakParagraph): we have to check also if the par
5402 is really empty (!size()) for isempty otherwise we do the wrong
5405 2002-05-10 Juergen Vigna <jug@sad.it>
5407 * buffer.[Ch] : The following are only changes to the ert
5408 compatibility read reading old LaTeX layout and font stuff and
5409 convert it to ERTInsets.
5411 * buffer.h: added isErtInset().
5413 * buffer.C (struct ErtComp): add a fromlayout bool to check
5414 if we're inside a LaTeX layout.
5415 (isErtInset): new helper function.
5416 (insertErtContents): look for other ert insets before this one
5417 and insert the contents there, so that we don't have subsequent
5418 ERT insets with nothing between them. This way we create only one
5419 inset with multiple paragraphs. Also check if we don't insert only
5420 spaces ' ' as they are ignored anyway afterwards in the .tex file
5421 so if we have only spaces we will ignore this latex part in the
5423 (parseSingleLyXformat2Token \\layout): better compatibility when
5424 reading layout-latex stuff.
5425 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5427 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5428 stuff after reading the inset only get the information back from
5431 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5433 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5435 * LaTeXFeatures.C (getBabelOptions): New method.
5437 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5439 * BufferView_pimpl.C (Dispatch): work around missing argument for
5442 2002-05-08 Juergen Vigna <jug@sad.it>
5444 * text.C (leftMargin): handle paragraph leftindent.
5446 * paragraph.C (writeFile): write the new \\leftindent tag.
5447 (validate): handle leftindent code.
5448 (TeXEnvironment): handle paragraphleftindent code again.
5450 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5452 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5453 for paragrap_extra indent code and new token \\leftindent.
5454 (latexParagraphs): handle the leftindent as environment.
5456 * ParameterStruct.h: added leftindent support.
5458 * ParagraphParameters.C (leftIndent): added support functions for
5459 the paragraph left indent.
5461 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5464 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5466 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5469 * text.C (computeBidiTables): No bidi in insetERT.
5471 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5474 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5476 * version.C.in: pre 5
5478 2002-05-02 José Matos <jamatos@fep.up.pt>
5479 * buffer.C (makeDocBookFile): white space changes, add newline to
5481 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5483 * tabular.C (docBook): fix typo.
5485 2002-05-03 Juergen Vigna <jug@sad.it>
5487 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5488 change in LyXText as we can not be sure it was not freed.
5489 (drawOneRow): remove unused code.
5491 * text.C (drawInset): redo the calculation of the need_break_row as
5492 it could have a row which was already freed.
5493 (draw): look at the return value of drawInset and return false if
5494 it also returned false.
5495 (paintRowText): look at the return value of draw and return false if
5496 it also returned false.
5498 * lyxtext.h: added bool return type to drawInset() and draw() so that
5499 if we have a change in the row so that the rowbreak has to be redone
5500 we abort drawing as it will be called again.
5502 2002-05-02 Juergen Vigna <jug@sad.it>
5504 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5505 a change in the maintext also if we're inside an inset.
5506 (Dispatch): set the cursor again after a break line and after the
5507 screen has been updated as it could be we're in a different row.
5509 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5510 to set the cursor behind the pargraph with > size().
5511 (setCursor): check also for the same paragraph when checking where
5512 to put the cursor if we have a NFR inset.
5514 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5515 parts of layout read further up as it still was in the wrong
5518 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5520 * screen.C (drawFromTo): change sine fullRebreak always return
5523 * buffer.C (parseSingleLyXformat2Token): reindent some
5525 * BufferView_pimpl.C (update): change since fullRebreak always
5527 (Dispatch): git rid of the last hardcoded "Standard"s.
5529 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5531 * text2.[Ch] (fullRebreak): make it return void now that we always
5534 2002-04-30 Juergen Vigna <jug@sad.it>
5536 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5537 ert compatibility check for "latex" layout.
5539 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5541 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5542 minipages: use col% instead of p%, and also use the current font.
5543 (makeLaTeXFile): Fix use babel condition.
5544 (parseSingleLyXformat2Token): Correct font when reading old floats.
5546 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5548 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5549 inserting list of floats.
5551 2002-04-25 Herbert Voss <voss@lyx.org>
5553 * MenuBackend.C (expand): don't add the graphics extensions to the
5556 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5558 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5559 non-existing layout, do not complain if it was the default layout
5560 of the original class (bug #342)
5562 2002-04-24 Juergen Vigna <jug@sad.it>
5564 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5565 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5567 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5569 * buffer.C (getBibkeyList): If using \bibliography, return the
5570 option field with the reference itself. Enables us to provide natbib
5571 support when using \bibliography.
5573 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5575 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5577 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5578 natbib is provided by the LaTeX class.
5580 2002-04-23 Juergen Vigna <jug@sad.it>
5582 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5585 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5587 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5589 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5591 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5592 ensuremath around textordmasculine, textordfeminine and
5595 2002-04-19 Juergen Vigna <jug@sad.it>
5597 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5598 reinitializing the buffer otherwise row-dimensions may be wrong.
5599 (update): reset also the selection cursors if they do exits otherwise
5600 their x/y positions may be wrong.
5602 * text2.C (cursorDown): don't enter the inset if we came from a row
5603 above and are one row over the inset.
5605 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5606 really leaving an inset.
5608 2002-04-18 Juergen Vigna <jug@sad.it>
5610 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5611 of the selected paragraph does not have the selected layout also if
5614 * text2.C (setLayout): fixed bug which did not change last selected
5617 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5618 changed the read and substituted \\end_float with \\end_inset!
5620 * BufferView_pimpl.C (cursorPrevious):
5621 (cursorNext): fixed to make it work with rows heigher than the work
5622 area without moving the cursor only the draw of the row.
5623 (workAreaMotionNotify): fix jumping over high rows.
5625 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5627 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5630 2002-04-16 Juergen Vigna <jug@sad.it>
5632 * text2.C (setCursor): set also the irow().
5633 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5635 (cursorDown): support for locking an inset if the x_fix value goes
5636 inside it. That way I can transverse insets too with cursor up/down.
5638 * lyxrow.h: added irow helper function same as other (i) functions.
5640 * BufferView_pimpl.C (cursorPrevious):
5641 (cursorNext): fixed for insets!
5643 2002-04-15 Juergen Vigna <jug@sad.it>
5645 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5646 position otherwise it is wrong in some cases.
5648 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5649 inside the inset before the call.
5651 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5653 * buffer.[Ch] (getBibkeyList): make it const.
5655 2002-04-12 Juergen Vigna <jug@sad.it>
5657 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5659 * text2.C (getCursorX): new helper function
5660 (setCursor): compute also ix_
5661 (setCursorFromCoordinates): set also ix.
5663 * lyxcursor.h: added ix_ and helper functions.
5665 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5667 * buffer.C (insertStringAsLines): dont break paragraph if the this
5668 paragraph is inside an inset which does not permit it!
5670 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5671 also with no chars on this paragraph.
5672 (paintRowText): only paint stuff if it's inside the workarea!
5674 * paragraph.C (breakParagraph): honor keepempty flag and break the
5675 paragraph always below not above.
5677 * BufferView2.C (unlockInset): update the paragraph layout on inset
5678 unlock as we changed paragraph in such a case.
5680 * lyxfind.C (LyXFind): clear the former selection if not found!
5682 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5683 again called in insertChar().
5685 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5686 an inset which uses the whole row!
5687 (rightMargin): ditto.
5688 (insertChar): force a rebreak if we inserted an inset!
5690 2002-03-28 Herbert Voss <voss@lyx.org>
5692 * lyxlength.[Ch]: add inBP() to get the right PS-point
5693 units (BigPoint). With inPixels we have rounding errors
5695 2002-04-11 Juergen Vigna <jug@sad.it>
5697 * text2.C (setCursorFromCoordinates): set iy to the right value.
5698 (setCursor): add check if row->previous exists!
5700 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5701 an old float_type as this was the case in the old code!
5703 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5705 * BufferView2.C (showLockedInsetCursor): use iy
5706 (fitLockedInsetCursor): ditto
5708 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5709 locked insets as there we have the right value now.
5711 * lyxcursor.C: added iy_ variable and iy functions to set to the
5712 baseline of cursor-y of the locked inset.
5714 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5715 (setCursor): fixed for insets which need a full row.
5717 * text.C (rowLastPrintable): don't ignore the last space when before
5718 an inset which needs a full row.
5719 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5720 as last character of a row when before a inset which needs a full row.
5722 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5724 * version.C.in: update date
5726 * text2.C (fullRebreak): try to always return true and see what
5729 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5731 * MenuBackend.C (expand): use Floating::listName
5733 * FloatList.C (FloatList): add listName argument to the built-in
5736 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5737 text associated with the float.
5739 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5741 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5743 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5745 * ShareContainer.h: add a couple of missing typenames.
5747 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5749 * lyxrc.C (getDescription): use _() correctly rather than N_().
5751 2002-03-28 Herbert Voss <voss@lyx.org>
5753 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5754 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5756 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5758 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5759 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5761 2002-03-29 Juergen Vigna <jug@sad.it>
5763 * lyxfunc.C (dispatch): add a missing fitCursor call.
5765 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5766 it was scrolled by a cursor move, so return the bool status.
5768 * BufferView.C (fitCursor): return the bool flag also to the outside
5769 world as this is needed.
5771 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5773 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5774 call the edit() as it is not needed (and wrong) IMO.
5775 (workAreaButtonPress): set the screen_first variable before evt.
5776 unlock the inset as this may change screen_first and then we have
5777 a wrong y position for the click!
5779 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5781 * MenuBackend.C (expand): another translation that I missed
5783 2002-03-28 Juergen Vigna <jug@sad.it>
5785 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5787 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5789 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5791 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5793 * MenuBackend.C (expand): fix export/view/update when there is no
5796 2002-03-27 Herbert Voss <voss@lyx.org>
5798 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5801 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5803 * bufferview_funcs.C (currentState): only show paragraph number
5804 for is DEVEL_VERSION is set.
5806 * lyxfunc.C (dispatch): put warning in INFO channel
5808 * MenuBackend.C (expand): translate the name of floats
5810 * FloatList.C (FloatList): mark the float names for translation
5812 * converter.C (convert): use LibScriptSearch
5814 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5816 * MenuBackend.C (defaults): fix default menu (we might as well get
5819 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5821 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5824 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5826 * lyxvc.C: reorder includes.
5828 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5830 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5833 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5835 * CutAndPaste.C: change layouts earlier on paste
5836 to avoid crashing when calling getFont()
5838 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5840 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5843 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5845 * WorkArea.C: remove 'Pending' debug message.
5847 * most files: ws cleanup
5849 * buffer.[Ch]: ws changes
5851 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5853 2002-03-21 Juergen Vigna <jug@sad.it>
5855 * tabular.C (SetMultiColumn): collapse also the contents of the
5856 cells and set the last border right. Added a Buffer const * param.
5858 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5860 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5863 2002-03-19 Juergen Vigna <jug@sad.it>
5865 * text2.C (clearSelection): reset also xsel_cache.
5867 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5868 where it needs to be called (John tells us to do so too :)
5869 (selectionLost): reset sel_cache.
5871 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5873 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5875 * text2.C (setCursorIntern): put debuging code in INSETS channel
5877 2002-03-19 André Pönitz <poenitz@gmx.net>
5879 * lyxfunc.C: tiny whitespace change
5881 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * ToolbarDefaults.C (init):
5884 * LyXAction.C (init):
5886 * BufferView_pimpl.C (Dispatch):
5887 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5889 2002-03-19 Allan Rae <rae@lyx.org>
5891 * exporter.C (Export): removeAutoInsets before doing anything else.
5892 While I've just introduced a dependency on BufferView this really is
5893 the best place to clean the buffer otherwise you need to cleanup in
5894 a dozen places before calling export or cleanup in a dozen functions
5897 * converter.C (runLaTeX):
5898 (scanLog): Better handling of removeAutoInsets and screen updates.
5900 * lyxfunc.C (dispatch): small whitespace changes
5902 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5904 * WorkArea.C (C_WorkAreaEvent): return a value.
5905 (event_cb): return 1 if we handled the event, 0 otherwise.
5907 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5909 2002-03-18 Juergen Vigna <jug@sad.it>
5911 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5912 (GetAdditionalWidth): ditto.
5916 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5917 inset if we're there actually (probably not used right now but this
5918 is the direction to go for unifying code).
5919 (paste): disable code to clear the selection.
5921 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5922 inside an InsetText and move the check further up as it is in the
5925 * text2.C (pasteSelection): set a selection over the pasted text.
5927 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5929 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5930 and libgraphics to build on Cygwin.
5932 2002-03-15 Juergen Vigna <jug@sad.it>
5934 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5935 inserting an Inset into the paragraph. I know this is not the best
5936 fix but we already use current_view in CutAndPaste so we will remove
5937 all of it's using at the same time.
5939 * buffer.C (sgmlError): deactivated function till it is rewritten in
5940 the right mode, now it can create problems.
5942 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5943 before accessing it.
5945 2002-03-14 Juergen Vigna <jug@sad.it>
5947 * undo_funcs.C (textHandleUndo): do the right thing when updating
5948 the inset after the undo/redo.
5950 * text2.C (setCursor): just some testcode for #44 not ready yet.
5952 * undo_funcs.C (textHandleUndo): set the next() and previous()
5953 pointers of the paragraph to 0 before deleting otherwise we have
5954 problems with the Paragraph::[destructor].
5956 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5957 on a paragraph insertion.
5959 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5961 * buffer.C (asciiParagraph): use += operator for char append to
5964 * paragraph.C (getFontSettings): compare >= not just >
5965 (highestFontInRange): ditto
5968 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5970 * paragraph.C: change several algorithm to be more appripriate for
5971 the problem domain. This is lookip in FontList and in the InsetList.
5973 2002-03-13 André Pönitz <poenitz@gmx.net>
5976 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5978 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5983 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5985 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5987 * Painter.C (display): anon helper function, adjust code for this
5989 (pixmap): remove function.
5991 * Painter.h: remove private display variable.
5993 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5995 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5997 * WorkArea.[Ch]: remove figinset_canvas cruft.
5999 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6001 * lyxtextclass.C (operator): add one item cache optimization.
6003 * bufferlist.h: doxy changes
6005 * bufferlist.C: ws changes
6007 * DepTable.[Ch] (ext_exist): place const in the right spot.
6009 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6011 (workAreaExpose): call resizeInsets when the with BufferView changes.
6012 (Dispatch): adjust for protectedBlank removal
6013 (specialChar): call updateInset if the insert went ok.
6015 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6016 specialChar instead.
6018 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6020 * BufferView.h: doxy change
6022 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6024 * lyxtextclass.C (operator[]): remove non-const version
6025 (defaultLayout): remove non-const version
6027 2002-03-12 Juergen Vigna <jug@sad.it>
6029 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6030 did resize the LyXText too.
6032 * buffer.C (readLyXformat2): set layout information on newly allocated
6035 * tabular.C (OldFormatRead): set layout information on the paragraph.
6037 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6039 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6041 2002-03-11 Juergen Vigna <jug@sad.it>
6043 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6045 (resizeCurrentBuffer): force also the insets to resize themselfes.
6046 (moveCursorUpdate): fixed up for InsetText.
6048 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6051 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6052 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6053 value of Dialogs::tooltipsEnabled().
6054 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6056 2002-03-08 Juergen Vigna <jug@sad.it>
6058 * BufferView_pimpl.C (updateInset): update inset inside inset also
6059 if it isn't inside theLockingInset().
6061 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6063 * buffer.C (asciiParagraph): redo some of the word and line length
6065 (getLists): look for Caption instead of caption.
6067 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6069 * buffer.C (Buffer): initialize niceFile to true
6072 (makeDocBookFile): make sure niceFile is true on exit
6074 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6076 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6078 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6080 * LyXSendto.C: remove.
6081 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6082 * lyx_gui.C: remove now-redundant comment.
6083 * ColorHandler.h: remove forward declaration of class WorkArea.
6084 * lyxfunc.C: remove #include "WorkArea.h".
6086 2002-03-07 Juergen Vigna <jug@sad.it>
6088 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6089 got moved away with the DEPM and also set the inset_owner always
6090 right which before could have been omitted.
6092 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6094 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6095 wanted layout is not found.
6097 2002-03-07 Juergen Vigna <jug@sad.it>
6099 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6101 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6103 * paragraph.C (breakParagraph): use default layout not layout of
6105 (Paragraph): clear ParagraphParameters.
6107 2002-03-06 Juergen Vigna <jug@sad.it>
6109 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6110 otherwise it would not be a valid lenght. Fixed a special case in
6111 the minipage compatibility read where we end the document with a
6114 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6115 was set as it could be 0 for InsetTexts first entry.
6117 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6119 * paragraph.C (writeFile): if layout is empty write out
6120 defaultLayoutName().
6122 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6123 file without named layout we set layout to defaultLayoutName().
6125 2002-03-06 Juergen Vigna <jug@sad.it>
6127 * CutAndPaste.C (copySelection): set layout for new paragraph.
6129 * text.C (prepareToPrint): leave ERT inset left aligned
6130 (leftMargin): don't indent paragraphs inside ERT insets
6132 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6134 * paragraph.C (breakParagraph): dont call clear do the work manually
6136 * paragraph.[Ch] (clear): remove function
6138 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6140 * paragraph.C (Paragraph): dont call clear, the work has already
6143 * lyxtextclass.C (operator): assert if n is empty
6145 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6146 work manually instead.
6148 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6150 * BufferView_pimpl.C: protect selectionLost against text == 0
6152 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6154 * text.C (breakParagraph): fix a setting layout to '0' problem.
6156 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6158 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6159 final location of file, for the included files, and graphics.
6161 2002-03-05 Juergen Vigna <jug@sad.it>
6163 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6165 2002-03-04 Juergen Vigna <jug@sad.it>
6167 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6169 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6170 last column of multicolumn cells.
6171 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6173 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6175 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6176 file if it doesn't go to a temporary file.
6178 * buffer.C (sgmlOpenTag):
6179 (sgmlCloseTag): remove extra newline insertion.
6181 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6183 * text.C (getRowNearY): comment out debug msg
6185 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6187 * text2.C: first -> first_y
6189 * text.C (getRowNearY): add some attemts at a possible
6190 optimization, not working.
6192 * tabular.[Ch]: add BufferParams to several function so that newly
6193 created paragraph can be initialized to he default layotu for the
6196 * tabular-old.C (ReadOld): add buf->params to call of Init
6198 * screen.C: rename text->first to text->first_y
6200 * paragraph.C (breakParagraph): always set layout in the broken
6203 * lyxtextclass.C (Read): remove lowercase
6206 (delete_layout): ditto
6208 * lyxtext.h: rename first -> first_y
6210 * lyxlayout.C (Read): remove lowercase
6213 (obsoleted_by): ditto
6215 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6217 * buffer.C (insertErtContents): add params are to InsetERT
6218 (parseSingleLyXformat2Token): add code to check if a paragraphs
6219 layout really exist.
6220 (parseSingleLyXformat2Token): add params to several inset
6222 (asciiParagraph): remove lowercase, do the layout comparisons with
6225 * BufferView_pimpl.C (cursorNext): first -> first_y
6226 (resizeCurrentBuffer): first -> first_y
6227 (updateScrollbar): first -> first_y
6228 (scrollCB): first -> first_y
6229 (workAreaMotionNotify): first -> first_y
6230 (workAreaButtonPress): first -> first_y
6231 (checkInsetHit): first -> first_y
6232 (cursorPrevious): first -> first_y
6233 (cursorNext): first -> first_y
6234 (Dispatch): add buffer_->params to severl inset contructors
6236 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6238 * lyxlayout.C (Read): remove some debug info that I forgot.
6240 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6241 clean up the code slightly.
6242 (makeLinuxDocFile): ditto
6243 (makeDocBookFile): ditto
6245 * text2.C: layout as string
6247 * text.C: layout as string
6249 * paragraph_pimpl.C: layout as string
6251 * paragraph.[Ch]: layout as string
6253 * lyxtextclasslist.[Ch]: layout as string
6255 * lyxtextclass.[Ch]: layout as string
6257 * lyxtext.h: layout as string
6259 * lyxlayout.[Ch]: layout as string
6261 * lyx_cb.C: layout as string
6263 * bufferview_funcs.C: layout as string
6265 * bufferparams.C: layout as string
6267 * buffer.C: layout as string
6269 * LyXView.[Ch]: layout as string
6271 * LaTeXFeatures.[Ch]: layout as string
6273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6275 * BufferView_pimpl.C: change current_layout to string, remove
6280 (workAreaButtonRelease): layout as string
6282 * BufferView2.C (unlockInset): adjust
6284 * vspace.C (asLatexCommand): use an explict temp variable.
6286 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6288 * Makefile.am: use FRONTEND_*
6290 2002-03-01 Juergen Vigna <jug@sad.it>
6292 * tabular.C (SetWidthOfMulticolCell): changed to something better
6293 I hope but still work in progress.
6294 (recalculateMulticolumnsOfColumn): renamed function from
6295 recalculateMulticolCells as it is more appropriate now.
6296 (SetWidthOfCell): calculate multicols better.
6298 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6302 * lyxfunc.C (processKeySym): print sequence also if it is
6303 `deleted' (complete)
6305 * kbsequence.C (print): print sequence even if it is deleted
6306 (complete would be a better word, actually).
6308 * lyxfunc.C (dispatch): print complete options after a prefix key
6310 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6312 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6314 * text2.C (setCharFont): eliminate setCharFont code duplication.
6316 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6318 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6319 LFUN_TABULAR_FEATURE (bug #177)
6321 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6323 * Makefile.am: remove figure.h
6325 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6327 * Bufferview_pimpl.C:
6339 * text2.C: remove #include "lyx_gui_misc.h".
6341 * LaTeX.C: added #include <cstdio>
6343 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6345 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6346 that the paragraph following this one can have.
6348 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6350 * vspace.C (asLatexCommand): fix bogus gcc warning
6352 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6354 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6356 * text2.C (setLayout): get rid of redundant code
6358 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6360 * text2.C (incDepth): make sure depth cannot be increased beyond
6363 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6365 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6366 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6368 * PainterBase.h (image):
6369 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6372 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6376 * BufferView_pimpl.C:
6377 * BufferView_pimpl.h:
6397 * sp_spell.C: remove fig inset, and the crap house of
6398 cards that follows it
6400 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6406 * nt_defines.h: move .h into support/
6408 * vms_defines.h: remove
6410 * WorkArea.C: add space in debug output
6414 * buffer.C: add WITH_WARNINGS
6418 * bufferlist.C: s/retrive/retrieve/, add docs
6429 * lyxgui.C: add ID to X error handler
6431 * lyxtestclass.c: fix typo
6433 2002-02-26 Juergen Vigna <jug@sad.it>
6435 * tabular_funcs.C (write_attribute): changed so that some default
6436 attributes are not written at all.
6437 (getTokenValue): set default values before trying to read the
6438 value so we have the return value always set as default if we don't
6439 find the token we search for.
6441 * tabular.C (Write): write bools as bools not as strings!
6443 2002-02-22 Juergen Vigna <jug@sad.it>
6445 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6446 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6448 * text.C (leftMargin): don't add an indent for paragraphs inside
6449 tabular cells (fix #208).
6451 2002-02-21 José Matos <jamatos@fep.up.pt>
6453 * tabular.C (docBook): fixed support for long tables.
6455 2002-02-20 Juergen Vigna <jug@sad.it>
6457 * text2.C (getFont): get the drawing font of the Inset if this
6458 paragraph is inside an inset (only important for InsetERT for now).
6460 * buffer.C (insertErtContents): use new lanugage params in ERT
6463 * CutAndPaste.C: commenting out seemingly uneeded code.
6465 2002-02-19 Allan Rae <rae@lyx.org>
6467 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6468 Iterators might be simple to use but they also get invalidated.
6469 (removeAutoInsets): renamed saved cursor tracking variables and added
6470 some comments to clarify what everything does.
6472 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6479 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6480 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6483 * vc-backend.h: remove #include "support/syscall.h"
6487 * converter.C: rearrange #includes in Lars' approved fashion.
6489 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6490 forward declare class Timeout in the header file.
6492 * XFormsView.C: changes due to the above.
6494 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6497 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6498 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6500 2002-02-18 José Matos <jamatos@fep.up.pt>
6502 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6505 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6507 * a lot of small ws changes
6508 * add a lot of using std::XXX
6509 * use std construcs some places where approp.
6510 * use some exisint stuff from lyxfunctional where approp.
6511 * Make file changes to use partial linking (lets test this now...)
6513 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6517 remove #include "support/syscontr.h" as it's redundant. Always has been.
6525 change Systemcalls::System to Systemcalls::Wait and
6526 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6527 No change of functionality, just reflects the stripped down Systemcalls
6530 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6532 * debug.[Ch]: add a GRAPHICS type to the enum.
6534 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6536 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6538 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6541 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6543 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6544 match the changes below.
6546 * text2.C (toggleInset): if there is not editable inset at cursor
6547 position, try to see if cursor is _inside_ a collapsable inset
6550 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6552 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6553 document menu has a nice checkbox
6555 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6557 * lyxlength.C (asLatexString): change PW to output as percent of
6560 * lengthcommon.C: change '%' to 't%'
6562 * lyxfunc.C (dispatch): a few comments from Martin
6564 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6568 * BufferView_pimpl.h:
6569 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6572 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6574 * vspace.C (inPixels): fix compiler warning
6576 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6578 * lyxfunc.C (getStatus): fix status message for disabled commands.
6580 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6582 * BufferView_pimpl.C: fix crash on close buffer
6583 during selection (#227)
6585 2002-01-27 Herbert Voss <voss@lyx.org>
6587 * buffer.C: link old Figure to new graphic inset
6589 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6591 * FontLoader.C (getFontinfo): Change the latex font names in order
6592 to match the names of type1inst.
6594 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6596 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6598 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6601 (remove_files_with_extension): ditto
6602 (remove_file): ditto
6605 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6606 document is smaller than the work area height. Do not initialize
6607 static variables to 0.
6609 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6611 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6613 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6614 LFUN_LAYOUT_PARAGRAPHS.
6616 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6617 tabular. It is possible to provide a possible cell, which will
6618 typically be the actcell from the corresponding insettabular
6620 * lyxfunc.C (getStatus): small cleanup; disable
6621 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6624 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6626 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6628 * paragraph.C (startTeXParParams):
6629 (endTeXParParams): new methods. The LaTeX code to
6630 start/end paragraph formatting
6631 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6632 empty (fixes bug #200)
6634 * vspace.C (inPixels): adapt to the change below
6635 (inPixels): [later] more cleanups (remove unused variables)
6637 * lyxlength.C (inPixels): change to use a width and a height as
6640 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6642 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6643 Replaced with \paperwidth
6645 * DepTable.C (insert): add std:: qualifier
6647 2002-01-18 Allan Rae <rae@lyx.org>
6649 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6652 * text.C (drawInset): Turned out I didn't know enough about how
6653 rebreaking worked. This fixes most of the redraw problems. I see
6654 an occasional cursor trail when a line is broken now and the cursor
6655 placement can seem out by a few pixels also after a rebreak.
6657 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6659 * buffer.C (parseSingleLyXformat2Token): update because minipage
6660 width is now a LyXLength
6662 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6664 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6667 2002-01-17 Juergen Vigna <jug@sad.it>
6669 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6671 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6672 is set correctly and the inset is updated correctly.
6674 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6676 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6677 the beginning of the loop.
6679 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6681 * lyxrc.C: improve help for use_scalable_fonts
6683 2002-01-17 Allan Rae <rae@lyx.org>
6685 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6687 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6689 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6690 make sure to set their inset_owner to the right value (bug #171)
6692 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6695 * DepTable.C: Implement mtime checking to reduce time spent doing
6698 2002-01-16 Juergen Vigna <jug@sad.it>
6700 * tabular.C (GetAdditionalHeight): one of error fixed.
6702 * lyxrc.C (output): small fix in writing use_pspell.
6704 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6706 * sp_base.h: #include LString.h
6708 2002-01-16 Allan Rae <rae@lyx.org>
6710 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6711 Can someone check this please?
6713 * text.C (drawInset): It was possible that p.row would be removed by
6714 breakAgainOneRow upsetting a few other settings. There may be another
6715 small tweak possible by setting need_break_row = 0 when p.row has been
6716 removed but I don't know enough about the logic here.
6718 2002-01-15 Allan Rae <rae@lyx.org>
6720 * text.C (insertChar): removed conditional truism.
6722 * BufferView2.C (removeAutoInsets): More tweaks.
6723 cur_par_prev could be a stray pointer. Check for trailing empty line
6724 in case last line was cur_par and only had an error inset on it.
6726 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6728 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6731 * vc-backend.C (most methods):
6732 * exporter.C (Export):
6733 * converter.C (convert):
6735 * LyXSendto.C (SendtoApplyCB):
6736 * lyxfunc.C (dispatch):
6740 * lyx_cb.C (AutoSave):
6742 * BufferView_pimpl.C (MenuInsertLyXFile):
6743 * buffer.C (runChktex): use Buffer::filePath().
6745 * buffer.h: rename filename to filename_; rename filepath to
6746 filepath_ and make it private
6747 (filePath): new method
6749 * buffer.C (writeFile): use fileName()
6752 * lyx_main.C (init): fix starting of LyX when the binary is a
6753 link from so,ewhere else.
6755 * minibuffer.C: include <cctype> for isprint
6757 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6759 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6760 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6761 name clash with InsetCollapsable's width function.
6763 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6765 * lastfiles.C: include <iterator>
6767 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6769 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6772 * buffer.C (makeLaTeXFile): ditto.
6773 Also make loop operation more transparent.
6775 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6777 * ToolbarDefaults.C: remove trailing comma closing namespace.
6779 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6781 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6784 * trans.C (Load): comment out unused variable, allowed.
6786 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6788 * minibuffer.[Ch] (append_char): new method to recieve input from the
6789 drop-down completion browser. If a key was pressed, then recieve this
6790 char and append it to the existing string.
6791 (peek_event): modify the positioning data passed to the completion
6792 browser so that it can be placed above the minibuffer rather than below.
6793 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6795 * LyXAction.C (init): alloe error-next for readonly documents.
6797 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6800 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6802 * bufferlist.C (readFile): create the buffer _after_ checking that
6805 * lyxfunc.C (verboseDispatch): fix handling of arguments
6807 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6809 * lyxrc.C: use string::erase() instead of initializing to "".
6812 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6814 * BufferView_pimpl.h:
6815 * BufferView_pimpl.C:
6818 * text2.C: tell X when we have made a selection for copying
6820 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6822 * BufferView_pimpl.C (MenuInsertLyXFile):
6823 * lyxfunc.C (menuNew):
6825 (doImport): add shortcuts to directory buttons
6827 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6830 * lyxfunc.C (setStatusMessage):
6831 (getStatusMessage): new methods
6832 (getStatus):use setStatusMessage instead of setErrorMessage
6833 (dispatch): when function is disabled, set error message here
6834 [instead of in getStatus previously]
6836 * BufferView_pimpl.C (workAreaButtonRelease): update
6837 toolbar/menubar here too.
6839 2002-01-13 Allan Rae <rae@lyx.org>
6841 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6842 Now seems indestructible. Remaining task is to audit all other
6843 code affected by deleteEmptyParagraphMechanism. One small quirk
6844 left is that an empty document with an error in the preamble can
6845 be made to report an error but no error box appears. I don't know
6847 (removeAutoInsets): Improved comments.
6849 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6852 * Thesaurus.C: update for Aiksaurus 0.14
6854 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6856 * text2.C (firstParagraph): removed member function, all uses
6857 replaces with ownerParagraph
6858 (redoParagraphs): here
6860 (toggleAppendix): here
6861 * BufferView2.C (insertErrors): here
6862 (setCursorFromRow): here
6864 2002-01-13 Allan Rae <rae@lyx.org>
6866 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6867 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6868 There is still a way to segfault this although you may have to do this
6869 multiple times: Have an InsetERT with an unknown command in it.
6870 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6871 <down-arrow>, <Enter> again, View->DVI, BANG!
6873 * text2.C (setCursor):
6874 (deleteEmptyParagraphMechanism):
6875 * lyxtext.h (setCursor):
6876 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6877 Making use of the return value may help fix other bugs.
6879 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6881 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6883 * LyXView.C (updateMenubar): call MenuBar::update here
6884 (updateToolbar): but not here
6885 (showState): do not update toolbar/menubar
6887 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6888 should need to care about that.
6890 * lyxfunc.C (verboseDispatch): simplify a bit
6891 (getStatus): have a version which takes a pseudoaction, and
6892 another which requires a (kb_action,string).
6894 * LyXAction.C (retrieveActionArg): make it work also when action
6895 is not a pseudo-action.
6896 (getActionName): simplify a bit
6899 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6901 * lyxfunc.C (verboseDispatch): new families of methods with
6902 several ways to specify a command and a bool to indicate whether
6903 the command name and shortcut should be displayed in minibuffer
6904 (eventually, we could extend that to a finer bitmask like
6905 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6906 (dispatch): the pristine dispatch command which just, well,
6907 dispatchs! Note it still sets its result to minibuffer; I'm not
6910 * lyxfunc.h: remove setHintMessage
6912 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6914 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * BufferView_pimpl.C (specialChar): delete new inset if we have
6917 not been able to insert it.
6919 * kbmap.C: revert to using int instead of kb_action, since all we
6920 are dealing with is pseudo-actions.
6922 * LyXAction.C (searchActionArg): change to return int instead of
6923 kb_action, since the result is a pseudoaction.
6925 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6927 * buffer.C (insertErtContents): Fix (partially) the font bug.
6929 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6931 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6932 as the other one is broken on my machine!
6934 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6937 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6939 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6941 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6942 reflect their actual use. Provide compatibility code for older lyxrc
6945 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6947 change names of popup font variables in line with the changes to lyxrc.C
6949 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6951 * buffer.C (asciiParagraph): avoid outputing a word twice after
6954 * lyxrc.C (getDescription): document that document_path and
6955 template_path can be empty.
6957 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6959 * LaTeXFeatures.C (getMacros):
6960 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6962 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6964 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6966 (getPackages): rename feature "floats" to "float". Use an array to
6967 iterate over 'simple' features (i.e. just a \usepackage). Add
6968 handling of "amsmath" (renamed from "amsstyle").
6970 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6972 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6975 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6977 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6978 FuncStaus::FuncStatus & FuncStaus::some_method().
6980 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6982 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6983 of the func_satus stuff. Edited and massaged in various ways by
6986 * lyxfunc.C (getStatus): use FuncStatus
6988 2002-01-08 Juergen Vigna <jug@sad.it>
6990 * text.C (nextBreakPoint): use function Inset::isChar().
6992 * paragraph.C (TeXOnePar): use function
6993 Inset::forceDefaultParagraphs.
6995 * buffer.C (latexParagraphs): use function
6996 Inset::forceDefaultParagraphs.
6998 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7000 * lyx_gui.C (init): set the style of the menu popups to
7001 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7003 2002-01-07 Juergen Vigna <jug@sad.it>
7005 * text.C (setHeightOfRow): small fix
7006 (prepareToPrint): don't look at alignment if we don't have the place
7009 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7011 * box.C: New file. Move the Box methods and functions out of box.h,
7012 following Lars' suggestion.
7014 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7016 * box.h: #include "support/LOstream.h", needed for inlined function.
7019 * lyxtextclasslist.C: added some using std declarations.
7021 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7023 * box.h: make signed dimensions to allow insets wider than
7024 the screen (bug #162)
7026 * BufferView_pimpl.C: add some insetHit debug
7028 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7030 * vc-backend.C: add FIXME
7032 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7034 * lyxfunc.C (getStatus): enable code for showing math font status
7037 2002-01-07 Juergen Vigna <jug@sad.it>
7039 * text.C (nextBreakPoint): removed debug output not needed anymore.
7041 2002-01-06 Juergen Vigna <jug@sad.it>
7043 * text.C (nextBreakPoint): fixed up this function we had this bug
7044 since ever but now hopefully we break row better.
7045 (insertChar): we have to check if an inset is the next char as it
7046 could now happen that a large inset is causing a break.
7048 2002-01-05 Juergen Vigna <jug@sad.it>
7050 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7051 if it doesn't like to be drawed.
7053 2002-01-04 Juergen Vigna <jug@sad.it>
7055 * BufferView2.C (lockInset): forgot to set a cursor.
7057 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7059 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7064 * form_maths_panel.C:
7065 * form_maths_panel.h:
7066 * form_maths_panel.fd: implemented sub- and super- buttons in math
7069 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7070 (or ^ space) to be used as in TeX (req'd by André).
7072 * lyxfunc.C: Allow ^ and _ again to be used both as
7073 super/subscript (mathed) and as themselves (in text).
7075 2002-01-03 Allan Rae <rae@lyx.org>
7077 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7078 "LyX" or the filename of the current buffer if it has one. This is a
7079 modified form of John Levon's patch.
7081 * XFormsView.C (setWindowTitle): also set icon title.
7083 * LyXView.h (setWindowTitle): signature changed.
7084 * XFormsView.h (setWindowTitle): ditto.
7086 2002-01-02 Juergen Vigna <jug@sad.it>
7088 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7090 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7092 * screen.C (topCursorVisible): introduce a temp var for
7093 text->cursor.row(), handle the case where this row is null. (kindo
7096 * text2.C (setCursor): add a couple of asserts.
7098 * paragraph.h (inset_iterator): add -> operator
7100 * paragraph.[Ch] (autoDeleteInsets): remove member function
7102 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7103 cursor pos correctly and handle inset deletion by itself.
7104 (insertErrors): move iterator declaration out of for expression
7106 * lyxtextclass.C: add <algorithm>
7108 * Makefile.am: added the new files to sources, removed layout.C
7110 * layout.C: removed file
7112 * layout.h: remove LYX_DUMMY_LAYOUT
7114 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7118 * lyxtextclass.[Ch]:
7119 * lyxtextclasslist.[Ch]: new files
7121 * include order changes to a lot of files, also changes because of
7124 2001-12-27 Juergen Vigna <jug@sad.it>
7126 * buffer.C (asciiParagraph): more fixes.
7128 * tabular.C (ascii): make ascii export support export of only the
7129 data separated by a column-delimiter.
7130 (ascii): better support for ascii export.
7132 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7134 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7136 * tabular_funcs.C: use a "using std::getline" instead of the
7137 previous fix from Angus (necessary for cxx + lyxstring)
7139 2001-12-24 Juergen Vigna <jug@sad.it>
7141 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7143 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7144 problems. First check a minipage also if we have some ert-contents
7145 (not only on par->size(), second set the right depth of the paragraph
7146 on the relink to the root-paragraph-list!
7148 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7149 which then did not anymore update the main paragraphs on undo/redo!
7151 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7153 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7154 code. Support all font-changing funcs (even those which are not in
7155 menu currently). Support for reporting font settings in
7156 mathed (disabled until Andre provides a function on mathed's side).
7158 * func_status.h (toggle): small helper function to set toggle
7161 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7163 * tabular_funcs.C: getline -> std::getline
7165 2001-12-21 Juergen Vigna <jug@sad.it>
7167 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7168 accessed and could be 0 (I couldn't generate this but it seems
7171 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7173 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7174 * tabular_funcs.h: here and include iosfwd
7176 2001-12-20 Juergen Vigna <jug@sad.it>
7178 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7179 inside inset but undo_par was.
7181 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7183 * Thesaurus.C: always include <config.h> in sources.
7187 * box.h: do not include <config.h> in header files
7189 * text.C (paintLastRow): remove unused variable
7191 * text.C (transformChar):
7193 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7196 * font.C (width): rewrite to use uppercase() instead of
7199 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7201 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7203 * lyxfind.C: clean up of find failure position change
7205 2001-12-20 Juergen Vigna <jug@sad.it>
7207 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7209 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7210 (TeXRow): added to LaTeX a single tabular row.
7211 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7212 (Latex): simplified and finally good LT-h/f support.
7213 (various_functions): just small adaptions for LT-h/f support.
7215 * tabular_funcs.[hC]: added and moved here all not classfunctions
7218 2001-12-19 Juergen Vigna <jug@sad.it>
7220 * tabular.[Ch]: better support for longtabular options (not finished
7223 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7225 * text.C (paintLastRow): use the label font instead of the font of
7226 the last character to compute the size of *_BOX. This makes more
7227 sense and avoids a crash with empty paragraphs.
7228 Use Painter::rectangle to draw EMPTY_BOX.
7230 2001-12-19 Juergen Vigna <jug@sad.it>
7232 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7233 the paragraphs if the replaced paragraph is not the first one!
7234 Tried to delete not used paragraphs but does not work yet so for
7235 now it's inside #ifdef's and by default off!
7237 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7239 * MenuBackend.C: include "lyx_main.h" instead of declaring
7240 lastfiles (actually was declared as LastFiles* instead of a
7243 2001-12-17 Juergen Vigna <jug@sad.it>
7245 * tabular.C (AppendColumn): applied John's fix
7247 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7251 * BufferView_pimpl.h:
7252 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7255 * box.h: new start of class for above
7257 * lyxfunc.C: ignore space-only minibuffer dispatches.
7258 Show the command name when it doesn't exist
7260 * minibuffer.C: don't add empty lines to the history
7262 * minibuffer.C: add a space on dropdown completion
7264 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7266 * text.C: fix line above/below drawing in insets
7268 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7270 * lyxlength.C (LyXLength): Initialize private variables.
7272 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7274 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7275 when inserting error insets.
7277 2001-12-13 Juergen Vigna <jug@sad.it>
7279 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7280 actually sometimes the before-paragraph.
7281 (setUndo): don't clear the redostack if we're not actually undoing!
7283 2001-12-06 Juergen Vigna <jug@sad.it>
7285 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7286 and fixed redoing of main paragraph, so we can use it now ;)
7288 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7290 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7292 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7295 2001-12-13 André Pönitz <poenitz@gmx.net>
7298 * undo_func.C: minor cleanup
7300 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7302 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7303 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7304 font in urw-fonts package which is marked as -urw-fontspecific and
7305 does not work (incidentally, changing the encoding in the
7306 fonts.dir of this package to -adobe-fontspecific fixes the
7309 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7310 is a crash when undoing first paragraph (Juergen, please take a
7311 look). THis does not mean the undo fix is wrong, just that it
7314 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7315 the (Paragraph*) version when needed instead of duplicating the
7318 * text.C (workWidth): use Inset::parOwner to find out where the
7319 inset has been inserted. This is a huge performance gain for large
7320 documents with lots of insets. If Inset::parOwner is not set, fall
7321 back on the brute force method
7323 * paragraph_pimpl.C (insertInset):
7324 * paragraph.C (Paragraph):
7325 (cutIntoMinibuffer): set parOwner of insets when
7326 inserting/removing them
7328 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7330 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7336 * mathed/formulabase.C:
7337 * mathed/math_cursor.[Ch]:
7338 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7341 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7343 * lyxlength.[Ch] (operator!=): new function
7345 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * text.C (workWidth): use Inset::parOwner to find out where the
7348 inset has been inserted. This is a huge performance gain for large
7349 documents with lots of insets. If Inset::parOwner is not set, fall
7350 back on the brute force method
7352 * paragraph_pimpl.C (insertInset):
7353 * paragraph.C (Paragraph):
7354 (cutIntoMinibuffer): set parOwner of insets when
7355 inserting/removing them
7357 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7359 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7361 * tabular-old.C (getTokenValue):
7362 * tabular.C (getTokenValue):
7363 (write_attribute): new versions for LyXLength
7364 (everywhere): adjust the use of widths
7366 * tabular.h: change the type of widths from string to LyXLength
7368 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7370 * paragraph.C: fixed missing line number count when exporting
7371 Environments to LaTeX file
7373 * buffer.C: added informational message for checking line numbers.
7375 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7377 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7378 paragraph, do the 'double space' part, but not the 'empty
7381 * text.C (workWidth): small optimization
7382 (getLengthMarkerHeight): use minimal size for negative lengths.
7384 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7386 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7388 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7390 2001-12-11 André Pönitz <poenitz@gmx.net>
7393 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7395 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7397 * text2.C: keep selection on a setFont()
7399 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7401 * lyx_cb.C: another bv->text misuse, from insert label
7403 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7406 * kbsequence.C: re-instate nmodifier mask
7408 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7410 * lyx_main.h: make lyxGUI private.
7412 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7414 * lyxfind.C: place the cursor correctly on failed search
7416 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * text.C (getLengthMarkerHeight): for small heights, the arrows
7419 are not always on top/bottom of the text
7420 (drawLengthMarker): smaller arrows; take the left margin in
7421 account; draw also vfills.
7423 (paintLastRow): remove special code for vfill and standard spaces,
7424 since everything is handled in drawLengthMarker now.
7426 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7428 * buffer.C (insertErtContents): try to handle font and language
7429 interaction a bit better.g
7431 * ColorHandler.C (updateColor): change the hash to cover the whole
7432 LColor enum, ws cleanup
7433 (getGCLinepars): ditto
7434 (getGCLinepars): only lookup in the linecache once.
7436 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7438 * iterators.C (operator++): Make the iterator more robust
7440 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7442 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7444 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7447 * text.C: better added space drawing
7449 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7452 * BufferView2.C: fix layout combo update on inset unlock
7454 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7456 * Makefile.am: don't compile unused files
7458 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7462 * LyXAction.C: remove old LFUN_LAYOUTNO
7464 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7466 * paragraph_pimpl.h:
7467 * paragraph_pimpl.C: isTextAt() doesn't need font param
7469 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7472 * lyxlex.C: little cleanup
7474 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7476 * BufferView_pimpl.C: fix insertAscii for insets
7478 2001-12-05 Juergen Vigna <jug@sad.it>
7480 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7481 set the right font on the "multi" paragraph paste!
7483 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7489 * lyxlength.C: remove out-commented code.
7505 * vc-backend.C: change "while(" to "while ("
7507 * lyxlength.[Ch]: add zero function to check if length is zero or
7509 * lyxgluelength.C: use it
7511 2001-12-05 Allan Rae <rae@lyx.org>
7513 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7514 Works for 2.95.3, from what I understand of Garst's reports this should
7515 work for other g++ versions. We're screwed if the abs(int) definition
7516 changed between bugfix releases of gcc.
7518 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7520 * text.C: fix chapter label offset !
7522 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7525 * text.C: fix hfill at end of line, clean up
7527 2001-12-04 Juergen Vigna <jug@sad.it>
7529 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7530 that we force an update of the inset and it's owners if neccessary.
7532 2001-12-03 Juergen Vigna <jug@sad.it>
7534 * text.C (rowLast): simplified code
7536 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7538 * lyxfunc.C: fix show options on timeout
7540 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7542 * screen.C (topCursorVisible): scroll half a page when the cursor
7543 reached top of bottom of screen
7545 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7547 * minibuffer.C: deactivate on loss of focus
7549 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7551 * vspace.[Ch] (operator!=): add operator.
7553 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7555 * BufferView_pimpl.C: refuse to open an inset when
7556 there's a selection.
7558 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7560 * BufferView_pimpl.C: allow to click on RHS of full row insets
7562 2001-11-30 Juergen Vigna <jug@sad.it>
7564 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7565 insets for undo reasons.
7567 2001-11-28 André Pönitz <poenitz@gmx.net>
7569 * vspace.[Ch]: cosmetical changes
7571 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7581 * kbsequence.C: part re-write of old kb code
7584 * WorkArea.C: remove Lgb_bug_find_hack
7586 2001-11-30 José Matos <jamatos@fep.up.pt>
7588 * buffer.C (makeDocBookFile): add a comment to point a hack.
7589 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7590 Fixed a double write of labels.
7592 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7595 * LaTeX.h Fixed bug in LaTeX class where it would not
7596 re-run latex if no depfiles were changed, but the .dvi was removed.
7598 2001-11-28 André Pönitz <poenitz@gmx.net>
7600 * all the files from the change on 2001/11/26:
7601 use lyx::layout_type instead of LyXTextClass::size_type
7602 use lyx::textclass_type instead of LyXTextClassList::size_type
7604 2001-11-29 Juergen Vigna <jug@sad.it>
7606 * text.C: added support for paragraph::isFreeSpacing()
7608 * buffer.C: same as above
7610 * paragraph.h: inserted isFreeSpacing() function to enable
7611 FreeSpacing inside InsetERT.
7613 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7614 of the paragraph's in the cut/copy buffer to 0!
7616 * text2.C (removeRow): remove the assert as it can!
7618 * lyxtext.h: added helper function firstRow returning firstrow and
7619 made firstrow private again.
7621 * BufferView2.C (lockInset): don't relock if we're already locked!
7623 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7625 (removeRow): added Assert::(firstrow)
7627 * debug.C: forgot to add INSETTEXT here.
7629 2001-11-28 Juergen Vigna <jug@sad.it>
7631 * sp_spell.C (initialize): changed error text to more general
7632 spellchecker command use (not only ispell!)
7634 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7636 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7638 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7640 * vspace.C: initialise lyxgluelength on failure
7642 2001-11-28 Allan Rae <rae@lyx.org>
7644 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7645 declaration & definition that looks like a function declaration.
7647 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7649 * BufferView2.C (copy):
7650 (copyEnvironment): do not clear the selection when doing a copy.
7652 * text.C (paintFirstRow): compilation fix
7654 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7656 * tabular.C (Latex): correct line count when writing latex.
7658 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7660 * paragraph_pimpl.h:
7661 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7664 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7668 * LColor.C: change vfillline->added_space
7670 * text.C: add markers and text for added space
7672 * vspace.C: fix comment
7674 2001-11-28 André Pönitz <poenitz@gmx.net>
7676 * paragraph.C: whitespace changes
7677 * all the other files from the change on 2001/11/26:
7678 change *::pos_type into lyx::pos_type
7680 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7682 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7683 language of the document when inserting error insets.
7685 2001-11-26 André Pönitz <poenitz@gmx.net>
7687 * BufferView_pimpl.[Ch]:
7695 * paragraph_pimpl.[Ch]:
7698 * text2.C: reduce header dependencies, introduce type for positions
7700 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7702 * <various>: change to use Alert.h
7704 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7706 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7707 when encountering an unknown token.
7708 (readLyXformat2): Show an error message if there were unknown tokens.
7710 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7713 * BufferView_pimpl.C:
7717 * text2.C: use par->isInset()
7719 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7721 * paragraph_pimpl.h:
7722 * paragraph_pimpl.C: cleanup
7724 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7726 * text2.C (removeRow):
7727 * text.C (setHeightOfRow): remove useless (and costly) call to
7730 2001-11-20 Allan Rae <rae@lyx.org>
7732 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7733 Now need Inset*::checkInsertChar() to return true for appropriate
7734 cases so that the characters in the minibuffer will actually be
7737 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7739 * text.C: change the order of the includes.
7740 (workWidth): initialize it at once.
7741 (workWidth): make maxw unsigned
7742 (setHeightOfRow): remove unused variable (inset)
7743 (selectSelectedWord): remove unused variable (inset)
7744 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7746 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7748 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7749 server is not running.
7751 (closeConnection): add debug info when server is disabled.
7753 * ColorHandler.C (getGCForeground): send debug message to GUI
7756 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7758 * kbmap.C (bind): modify because return conventions of
7759 kb_sequence::parse have changed.
7761 * kbsequence.C (parse): only ignore spaces and not any stupid
7762 control character. This avoids tests like s[i] <= ' ', which are
7763 guaranteed to fail with 8bit characters and signed chars.
7764 Change return code to string::npos when there have been no error
7765 (0 was a bad idea when error is at first character)
7767 2001-11-14 José Matos <jamatos@fep.up.pt>
7770 * buffer.C (simpleDocBookOnePar): removed unused argument.
7772 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7774 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7775 insets which are part of a word. Paragraph::isLetter takes care of
7776 that now. Use Paragraph::isInset to identify insets.
7777 (selectSelectedWord): do not test for hyphenation break.
7779 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7780 that protected spaces are considered as spaces.
7782 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7785 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7788 * lyxserver.C: fix it. and small cleanup.
7790 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7792 * BufferView_pimpl.C: use inline helpers
7795 * LaTeXFeatures.C: fix typos
7798 * Spacing.C: move spacing_string into class
7800 * ToolbarDefaults.C: move stuff into namespace anon
7802 * layout.h: update enum
7804 * lyxfunc.C: use better debug
7806 * minibuffer.h: fix typo
7810 * WorkArea.C: add and use Debug::WORKAREA
7814 * text2.C: code re-organisation, inline helpers
7816 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7818 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7819 std::vector.empty().
7821 2001-11-09 Allan Rae <rae@lyx.org>
7823 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7824 '\n's after tables. Tabular and ERT inset work now makes this no
7827 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7830 * minibuffer.C: fix crash, improve drop-down completion
7832 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7835 * lyxserver.C: invalidate fd's when doing endPipe()
7837 2001-11-08 José Matos <jamatos@fep.up.pt>
7839 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7840 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7843 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7845 2001-11-07 José Matos <jamatos@fep.up.pt>
7848 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7851 * buffer.C (sgmlOpenTag):
7852 * buffer.C (sgmlCloseTag): removed debug info.
7854 * buffer.h (sgmlOpenTag):
7855 * buffer.h (sgmlCloseTag): made public.
7857 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7859 * buffer.C (saveParamsAsDefaults):
7860 * lyx_cb.C (MenuLayoutSave): remove
7862 * LyXAction.C (init):
7864 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7866 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7868 * buffer.C (setPaperStuff): removed from here...
7870 * bufferparams.C (setPaperStuff): ... and moved there.
7872 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7876 * XFormsView.C: add support for drop-down completion
7878 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7880 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7883 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7885 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7888 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7890 * lyx_main.C: change ref to known bugs
7892 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7894 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7895 to work around older babel problems.
7897 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7899 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7901 2001-10-24 Juergen Vigna <jug@sad.it>
7903 * tabular-old.C (ReadOld): below variable changes reflected.
7905 * tabular.[Ch]: added ltType struct for longtable header/footer
7906 defines and changed all instances where they are used. Added
7907 future support for double top/bottom rows.
7909 2001-10-24 José Matos <jamatos@fep.up.pt>
7911 * buffer.h (docbookHandleCaption):
7912 * buffer.C (docbookHandleCaption): removed unused function.
7913 (makeDocBookFile): moved docbook supported version to v4.1.
7915 2001-10-24 José Matos <jamatos@fep.up.pt>
7918 * tabular.C (docbookRow): new function to export docbook code of a row.
7919 (DocBook): now honors the longtable flags.
7921 2001-10-23 José Matos <jamatos@fep.up.pt>
7924 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7925 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7927 * buffer.C (makeLinuxDocFile):
7928 (makeDocBookFile): reworked the preamble, more clean, and with
7929 support for lyx defined entities. Changed the document declaration
7930 to be more XML friendly.
7932 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7933 if we need to output XML that should be done with a filter.
7935 2001-10-22 Juergen Vigna <jug@sad.it>
7937 * sp_pspell.h (class PSpell): add alive function needed in the
7938 controller to see if the spellchecker could be started.
7940 2001-10-22 Juergen Vigna <jug@sad.it>
7942 * buffer.C (insertStringAsLines): modify the font for inserting
7943 chars in certain conditions by calling checkInsertChar(font).
7945 2001-10-19 Juergen Vigna <jug@sad.it>
7947 * text.C (workWidth): use getRow instead of wrong algorithm.
7948 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7950 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7955 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7957 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7959 * text.C (workWidth): do not search for the exact row when
7960 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7961 optimization for big documents.
7963 2001-10-18 Juergen Vigna <jug@sad.it>
7965 * text.C (workWidth): new function with added Inset * parameter.
7967 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7969 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7971 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7972 change return type of getColumnNearX.
7975 * text.C (changeRegionCase): use uppercase/lowercase instead of
7978 (rightMargin): simplify code by factoring out the uses of
7983 (appendParagraph): use Paragraph::size_type
7985 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7987 * vspace.C (asLatexString): add a missing break
7989 2001-10-15 Herbert Voss <voss@perce.de>
7991 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7993 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7995 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7998 2001-10-10 André Pönitz <poenitz@gmx.net>
8000 * lyxfunc.C: removed greek_kb_flag.
8002 2001-10-10 Herbert Voss <voss@perce.de>
8004 * lyx_main.C: delete global string help_lyxdir.
8006 2001-10-09 Herbert Voss <voss@perce.de>
8008 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8010 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8012 * lyx_main.C: added global string help_lyxdir.
8014 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8016 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8018 * lyxrc.C (set_font_norm_type): support iso8859-4
8020 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8022 * LaTeX.C (deplog): add another regex for MikTeX
8024 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8026 * lyxrc.C (set_font_norm_type): support iso8859-3
8028 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8030 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8032 * LaTeXFeatures.C: remove special case of french and index
8034 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8035 before \begin{document}). This solves several incompatibilities.
8037 2001-10-03 Garst Reese <reese@isn.net>
8039 * lyx_cb.C: change CheckTex error msg.
8041 2001-10-03 José Matos <jamatos@fep.up.pt>
8043 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8045 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8047 * .cvsignore: update
8049 * lyx_main.C (commandLineVersionInfo): use new style version info.
8051 * buffer.C (writeFile):
8054 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8056 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8058 * version.h: update to use stuff in version.C
8060 * version.C.in: new file. Contains version information determined
8061 at compile time. This is a merging of version.h and
8064 2001-10-03 Juergen Vigna <jug@sad.it>
8066 * BufferView_pimpl.C (update): don't change "dirty" status in
8069 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8071 * WorkArea.C (c-tor): re-position version string slightly.
8073 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8075 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8076 revert to previous code.
8078 WorkArea.[Ch]: (show, destroySplash): methods removed.
8080 WorkArea.C: rework code so that it's an amalgam of the codes before and
8081 after the splash screen was moved to WorkArea.
8083 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8086 * vspace.C (inPixels):
8089 * buffer.C (insertStringAsLines):
8090 (asciiParagraph): fix types to be large enough
8092 * lyxlex_pimpl.h: change member status from short to int
8094 * layout.h: fix type of endlabeltype
8097 * kbsequence.C (parse): change return type to string::size_type
8099 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8102 * Bullet.C (bulletSize):
8103 (bulletEntry): do not use short ints as parameters
8105 * BufferView2.C (insertLyXFile): change a char to an int.
8107 * WorkArea.C (WorkArea): remove unneeded floats in computation
8109 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8111 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8113 * paragraph.C (asString): Do not ignore newline/hfill chars when
8114 copying to the clipboard.
8116 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8118 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8119 after a multi-line inset.
8121 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8123 * paragraph.C (validate): Set NeedLyXFootnoteCode
8125 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8127 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8128 and decrease-error to decrease.
8130 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8132 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8133 it more readable (should be equivalent)
8135 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8137 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8139 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8141 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8142 of a cursor (row, etc.) after a character has been deleted
8143 (deleteEmptyParagraphMechanism): call the method above on _all_
8144 cursors held by the LyXText when a double space has been
8147 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8149 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8151 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8153 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8154 background. Use greyOut() and the new show() methods to toggle between
8155 the foreground and background. Add code to remove the splash after
8156 its initial showing.
8158 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8159 (create_forms): no longer call Dialogs::showSplash.
8161 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8163 * .cvsignore: add version_info.h
8165 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8167 * version_info.h.in: new file
8169 * Makefile.am: add version_info.h.in
8171 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8172 version_info.h instead of VERSION_INFO
8174 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8176 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8177 The ERT inset now returns string().
8179 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8181 * lyxtext.h, text.C (selectNextWord): renamed as
8182 selectNextWordToSpellcheck.
8184 * text.C (selectNextWordToSpellcheck): Modified to not select
8185 words inside an ERT inset.
8187 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8189 * lyx_cb.C (MenuLayoutSave): change a bit the question
8191 * sp_base.h: include <sys/types.h>
8193 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8195 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8197 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8199 * several files: fix typos in user-visible strings
8201 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8203 * text2.C (pasteSelection): do not set the selection, since it
8204 will be cleared later. Actually, the intent was to fix the way the
8205 selection was set, but I figured rmoving the code was just as good.
8207 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8209 * FontLoader.C (available): Check if font is available without
8212 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8214 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8216 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8218 * lyxrc.[Ch]: added display_graphics variable and associated code.
8220 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8222 * bufferparams.C (hasClassDefaults): new method. Returns true if
8223 the buffer parameters correspond to known class defaults
8225 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8227 * XFormsView.C (show): set minimum size to the main window.
8229 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8231 * text2.C (copySelection):
8233 * lyxfind.C (LyXReplace):
8234 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8235 LyXText::selectionAsString.
8237 * paragraph.C (asString): add "label" argument to the second form
8239 * text2.C (selectionAsString): add "label" argument and pass it to
8240 Paragraph::asString.
8242 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8244 * lyx_main.C (commandLineHelp): remove version information
8246 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8248 * lyx_main.C: add -version commandline option
8250 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8252 * paragraph.h: make the optional constructor arg required instead.
8253 some modifications to other files because of this.
8255 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8257 * lyxserver.C (C_LyXComm_callback): make it static
8259 * lyx_main.C (error_handler): make it static
8261 * lyx_gui.C (LyX_XErrHandler): make it static
8263 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8265 * WorkArea.C: make the extern "C" methods static.
8267 * Makefile.am (lyx_LDADD): simplify
8269 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8271 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8272 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8274 * LyXAction.C (init):
8275 * lyxfunc.C (dispatch): associated code removal.
8277 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8279 * lyxfont.h (isSymbolFont): shut off warning
8281 * text.C (setHeightOfRow):
8282 (getVisibleRow): fix crash with empty paragraphs which have a
8285 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8287 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8290 2001-09-04 José Matos <jamatos@fep.up.pt>
8293 * tabular.C (docbook): rename docBook method to docbook.
8295 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8297 * Makefile.am: add dependencies to main.o.
8299 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8301 * FontLoader.C (available): Return false if !lyxrc.use_gui
8303 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8305 * FontInfo.C (query):
8306 * converter.C (view):
8307 * importer.C (Import):
8308 * exporter.C (Export): Can not -> cannot.
8310 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8312 * BufferView_pimpl.C: allow to create index inset even if
8315 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8317 * buffer.C (getLists): replace boost::tie code with an explicit pair
8318 as boost::tie can break some compilers.
8320 * iterators.h: Added a std:: declaration to the return type of
8323 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8325 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8328 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8330 * iterators.[Ch]: New files. Provide paragraph iterators.
8332 * buffer.C (changeLanguage): Use paragraph iterators.
8333 (isMultiLingual): ditto
8335 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8337 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8339 * FontLoader.C: Support for cmr font.
8341 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8343 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8344 (available): New method.
8346 * FontInfo.C (getFontname): Use scalable fonts even when
8347 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8350 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8352 * converter.C (Formats::view): reverted! Incorrect fix.
8354 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8356 * converter.C (Formats::view): only output the -paper option
8357 if the dvi viewer is xdvi, thereby fixing bug #233429.
8359 2001-08-23 Herbert Voss <voss@perce>
8361 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8363 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8365 * Spacing.h (Spacing): Set space to Default on in the default
8368 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8370 * vc-backend.h (RCS::versionString): add RCS to version
8371 (CVS::versionString): add CVS to version
8373 * vc-backend.C (scanMaster): do not add CVS to version.
8374 (scanMaster): do not add RCS to version
8376 * lyxvc.C (versionString): new method
8378 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8380 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8382 * Spacing.C (set): initialize fval
8384 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8386 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8389 2001-08-16 Juergen Vigna <jug@sad.it>
8391 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8393 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8395 * BufferView_pimpl.C:
8398 * text2.C: setParagraph takes linespacing now
8400 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8402 * LyxAction.C: add internal LFUN_CITATION_INSERT
8404 * LyXView.C: actually apply fix
8406 * bufferlist.C: fix open non-existent file
8408 * lyxfind.C: fix indentation
8410 * lyxfunc.C: remove unneeded assert, fix typo
8412 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8414 * MenuBackend.C: use "Floatname List"
8416 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8418 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8419 when converting LaTeX layout to insetERT.
8420 Generate a non-collapsed float when reading old float
8422 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8424 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8427 2001-08-13 Juergen Vigna <jug@sad.it>
8429 * text.C (fill): return 0 instead of 20 as this seems to be the more
8432 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8434 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8437 2001-08-13 Juergen Vigna <jug@sad.it>
8439 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8441 (SearchBackward): comment out the unlocking of the inset_owner this
8442 should not be needed!
8444 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8446 * Many files: Remove inherit_language, and add latex_language
8448 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8451 2001-08-10 Juergen Vigna <jug@sad.it>
8453 * text.C (prepareToPrint): fixed hfill-width in draw!
8455 * BufferView2.C (selectLastWord): save the selection cursor as this
8456 now is cleared in the function LyXText::clearSelection!
8458 2001-08-08 Juergen Vigna <jug@sad.it>
8460 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8461 BACKSPACE type functions.
8463 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8464 is only cutted from the document but not put in the cut-buffer, where
8465 still the old stuff should be.
8467 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8469 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8471 * tabular.C (SetWidthOfCell): fixed special case where the width
8473 (LeftLine): handle '|' in align_special.
8475 (LeftAlreadyDrawed): ditto
8476 (SetWidthOfCell): ditto
8478 2001-08-07 Juergen Vigna <jug@sad.it>
8480 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8482 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8484 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8485 * lyxlex.[hC]: ditto
8487 2001-08-06 Juergen Vigna <jug@sad.it>
8489 * text.C (getVisibleRow): fix up row clearing a bit.
8491 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8493 * minibuffer.C: make sure the X server sees the changes in the input.
8495 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8497 * paragraph.C (getFont): split into...
8498 (getLabelFont): this
8499 (getLayoutFont): and this
8500 * paragraph_pimpl.C (realizeFont): calling this
8502 * text2.C (getFont): split into...
8503 (getLayoutFont): this
8504 (getLabelFont): and this
8505 (realizeFont): all three calling this
8507 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8510 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8512 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8514 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8516 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8517 layouts from the Quote inset insertion.
8519 2001-08-03 Juergen Vigna <jug@sad.it>
8521 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8523 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8524 only if status not is already CHANGED_IN_DRAW (second level).
8526 * text.C (draw): don't set the need_break_row when inside an
8529 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * buffer.C (parseSingleLyXformat2Token): handle more latex
8534 * bufferview_funcs.[hC]: change function names to
8535 begin with small char, adjust other files.
8537 2001-08-02 André Pönitz <poenitz@gmx.net>
8540 BufferView_pimpl.C: remove broken special code for math-greek
8542 2001-08-02 Juergen Vigna <jug@sad.it>
8544 * BufferView_pimpl.C (update): redone this function so that we
8545 update the text again if there was a CHANGE_IN_DRAW.
8547 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8548 (drawFromTo): added a new internal bool which is used by draw() and
8550 (general): some cursor drawing problems fixed.
8552 2001-08-01 Juergen Vigna <jug@sad.it>
8554 * lyxfind.C (LyXFind): fixed
8555 (SearchForward): ditto
8556 (SearchBackward): ditto
8558 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8559 spurius drawing of the cursor in the main area.
8561 * text2.C (status): small fix which could lead to a segfault!
8562 (clearSelection): remove unneeded BufferView param.
8564 2001-08-01 André Pönitz <poenitz@gmx.net>
8566 * lyxfunc.C: small change due to changed mathed interface
8568 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8570 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8572 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8574 * lyxfunc.c: fail gracefully if file doesn't exist
8579 * BufferView_pimpl.C: IsDirWriteable() proto changed
8581 * LyXView.C: fix updateWindowTitle() to store the last title
8583 2001-07-31 Juergen Vigna <jug@sad.it>
8585 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8586 the font (wrong since using of Paragraph::highestFontInRange).
8588 * paragraph.C (highestFontInRange): added a default_size parameter.
8590 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8591 (setHeightOfRow): reformat
8593 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8595 * converter.[hC] + affected files: move to (inital-char)lowercase
8598 * ParagraphParameters.C (ParagraphParameters): remove commented code
8600 * PainterBase.[Ch]: remove commented code
8602 * LaTeXFeatures.h: add "bool floats" for float.sty
8604 * LaTeXFeatures.C (LaTeXFeatures): init floats
8605 (require): handle float
8606 (getPackages): do it with floats
8608 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * BufferView_pimpl.C (Dispatch): improve handling of
8611 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8613 * commandtags.h: #include lyxfont.h here temporarily to avoid
8616 * bufferlist.h: include LString.h here.
8618 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8620 * text2.C (getStringToIndex): new method.
8622 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8624 * *: Reduced header file dependencies all over.
8626 2001-07-30 Baruch Even <baruch@lyx.org>
8628 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8630 2001-07-29 Baruch Even <baruch@lyx.org>
8632 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8634 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8636 * ParameterStruct.h (endif): add a default constructor to make
8637 sure that all variables is initialized.
8639 * ParagraphParameters.C (ParagraphParameters): adjust
8641 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8644 index; also, check that there is something to index, and that it
8645 does not span over several paragraphs.
8646 (doubleClick): use WHOLE_WORD_STRICT for double click.
8648 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8650 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8653 2001-07-26 Baruch Even <baruch@lyx.org>
8655 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8656 an InsetFig figure, backwards compatible reading of old figure code.
8658 2001-07-27 Juergen Vigna <jug@sad.it>
8660 * text2.C: font.realize function adaption.
8662 * text.C (draw): add a warnings lyxerr text if needed.
8664 * layout.C: font.realize function adaption.
8666 * language.C: add inherit_language and implement it's handlings
8668 * bufferview_funcs.C (StyleReset): remove language parameter from
8669 font creation (should be language_inherit now).
8671 * bufferparams.C (writeFile): handle ignore_language.
8673 * paragraph.C (getFontSettings): the language has to be resolved
8674 otherwise we have problems in LyXFont!
8676 * lyxfont.C (lyxWriteChanges): added document_language parameter
8677 (update): removed unneeded language parameter
8679 * paragraph.C (validate): fixed wrong output of color-package when
8680 using interface colors for certain fonts in certain environments,
8681 which should not seen as that on the final output.
8683 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8685 * BufferView_pimpl.C:
8690 * LyXAction.C: add thesaurus support
8693 * lyxfind.C: add "once" parameter, for thesaurus, to not
8694 move to the next match
8696 2001-07-26 Juergen Vigna <jug@sad.it>
8698 * lyxfont.C (realize): honor ignore_language too!
8701 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8703 * text.C (draw): one place more for ignore_language to not draw
8706 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8708 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8710 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8712 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8713 the minipage conversion problem.
8715 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8717 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8720 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8722 * BufferView.h: don't forward declare WorkArea
8724 * BufferView.C: don't include WorkArea.h
8726 2001-07-25 André Pönitz <poenitz@gmx.net>
8730 * lyxfunc.C: new LFUN 'math-space'
8732 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8734 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8736 * text2.C (toggleInset): call open/close
8738 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8740 * lyxfunc.C (dispatch): add debug for the disabled case
8742 * font.C (buttonText): make similar to rectText
8744 * buffer.C (readInset): comment out parsing of insetlist and
8747 * PainterBase.C (rectText): small correction
8749 * BufferView_pimpl.C: comment out insettheorem and insetlist
8750 * LyXAction.C: ditto
8751 * commandtags.h: ditto
8753 2001-07-24 Juergen Vigna <jug@sad.it>
8755 * text.C (draw): honor the ignore_language.
8757 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8759 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8761 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8764 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8766 * lyxtext.h: remove unused (and unimplemented) methods
8768 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8770 * text.C (getVisibleRow): honor background color
8773 * Painter.h: remove default color argument for fillRectangle
8775 * text.C (backgroundColor): new method
8777 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8779 * text.C (getVisibleRow): adjust
8781 * font.[Ch] (rectText): new method, metrics
8782 (buttonText): new method, metrics
8784 * PainterBase.[hC]: make rectText and buttonText always draw and take
8787 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8789 * ToolbarDefaults.C (read):
8790 * MenuBackend.C (read): allow escaping in all strings
8792 * BufferView_pimpl.C (insertAndEditInset): new method.
8793 (Dispatch): use insertAndEditInset whenever appropriate.
8795 * BufferView_pimpl.C (insertNote): removed
8797 * BufferView_pimpl.C (smartQuote): new method, moved from
8798 BufferView; if an insetquote cannot be inserted, insert a '"'
8801 * BufferView2.C: remove insertCorrectQuote();
8803 * lyxfunc.C (getStatus): Add support for all remaingin
8806 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8808 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8809 command (necessary to pass " as parameter of self-insert.
8811 * text.C (selectWordWhenUnderCursor):
8812 (selectWord): add word_location parameter
8813 (selectWordWhenUnderCursor): same + remove special code for word
8815 (selectNextWord): use kind() to guess type of insetspecialchar,
8818 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8819 (insertErtContents): create ert insets as collapsed.
8820 (readInset): better compatibility code for Info inset.
8822 2001-07-20 Juergen Vigna <jug@sad.it>
8824 * lyxfunc.C (dispatch): use always LyXFind now!
8826 * text2.C (init): add a reinit flag so that the LyXText can be
8827 reinited instead of deleted and reallocated (used in InsetText).
8829 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8835 2001-07-18 Juergen Vigna <jug@sad.it>
8837 * text.C (selectNextWord): handle insets inside inset by calling
8838 always the bv->text functions so that we can go up the_locking_inset!
8840 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8841 in strange locations when inside an inset!
8843 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8844 handling to include insets.
8846 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8848 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8850 * LyXAction.C (init):
8852 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8853 LIGATURE_BREAK, since the name is so stupid.
8855 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8857 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8860 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8862 * sp_form.[Ch]: remove.
8864 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8866 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8869 * src/buffer.C (readInset): ditto.
8871 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8873 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8874 menuSeparator(), endOfSentenceDot(), ldots() and
8875 hyphenationPoint(), which are therefore removed.
8876 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8878 * LyXAction.C (init):
8879 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8881 * paragraph.C (getWord): removed.
8883 * BufferView_pimpl.C (Dispatch): use last word or selection for
8884 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8886 * lyx_main.C (queryUserLyXDir): do not ask before creating
8887 user_dir, except if it has been named explicitely.
8889 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8891 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8892 a document of zero size.
8894 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8896 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8897 approriately in the c-tor and in require().
8898 (getPackages): output the appropriate LaTeX for natbib support.
8900 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8901 variables "use_natbib" and "use_numerical_citations" when reading the
8903 (readInset): read the various natbib cite commands.
8904 (validate): white-space change.
8906 * bufferparams.[Ch]: new variables "bool use_natbib" and
8907 "bool use_numerical_citations".
8908 (writeFile): output them in the LyX file.
8910 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8912 * lyxfunc.C (getStatus): add support for all the inset insertion
8915 * text2.C (insertInset):
8916 * paragraph.C (insetAllowed):
8917 * BufferView_pimpl.C (insertInset): update to take in account the
8918 renaming of insertInsetAllowed
8920 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8922 * text2.C (getInset): new method. returns inset at cursor position.
8924 * BufferView_pimpl.C (Dispatch): changes because of this.
8926 * LyXAction.C (init): rename open-stuff to inset-toggle.
8928 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8930 * text2.C (toggleInset): renamed from openStuff; use
8933 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8935 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8937 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8939 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8941 * buffer.C (readLyXformat2): Add filename to the error dialog
8943 2001-07-18 Juergen Vigna <jug@sad.it>
8945 * tabular.C (GetCellNumber): put an assert here instead of the check!
8947 2001-07-17 Juergen Vigna <jug@sad.it>
8949 * BufferView_pimpl.C (toggleSelection): adapted too.
8951 * text.C (selectNextWord): adapted for use with insets.
8952 (selectSelectedWord): ditto
8954 2001-07-17 Juergen Vigna <jug@sad.it>
8956 * sp_spell.C (PSpell): fix initialitation order.
8958 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * paragraph.C: spacing
8962 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8964 * sp_spell.C: repair language selection for pspell
8966 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8968 * lyxfunc.h: change more methods to begin with lower char.
8970 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8972 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8973 for unknown layouts.
8975 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8977 * buffer.C (readLyXformat2): Generate an error dialog if there are
8980 2001-07-16 Juergen Vigna <jug@sad.it>
8982 * sp_spell.C: always compile ISpell part.
8984 * lyxrc.C: added use_pspell entry and it's handling.
8986 2001-07-13 Juergen Vigna <jug@sad.it>
8988 * sp_spell.C: removed double includes.
8990 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8992 Consistent use of Lsstream.h:
8993 * Lsstream.h: added using std::stringstream for consistencies sake.
8995 * buffer.C: removed using std::stringstream
8997 * lyxfont.C (stateText):
8998 * paragraph.C (asString):
8999 * text.C (selectNextWord, selectSelectedWord):
9000 * text2.C (setCounter):
9001 * vspace.C (asString, asLatexString):
9002 std::ostringstream -> ostringstream.
9004 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9006 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9007 * commandtags.h: add LFUN_HELP_ABOUTLYX
9008 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9010 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9012 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9014 * lyx_gui_misc.C: remove spellchecker
9015 * lyxfunc.C: showSpellchecker
9017 * sp_ispell.h: added
9018 * sp_pspell.h: added
9020 * sp_form.[Ch]: removed
9021 * spellchecker.[Ch]: removed
9023 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9025 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9027 (simpleTeXSpecialChars): Simply print the input character without
9028 any special translation if pass_thru is set.
9030 * layout.h: Added bool pass_thru to layout class for being able to
9031 implement pass through of a paragraph for Literate Programming.
9033 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9034 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9035 * layout.C (Read): add "passthru" to list of layout tags and add
9036 code to set the pass_thru boolean when it is read.
9038 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * trans_decl.h: remove allowed from KmodInfo
9042 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9046 * paragraph_pimpl.C (erase): use boost::prior
9048 * Painter.C (text): use data() instead of c_str() when length is
9050 * WorkArea.C (putClipboard): ditto
9051 * font.h (width): ditto
9053 * BufferView2.C: use it-> instead of (*it). for iterators
9055 * paragraph_pimpl.C: ditto
9056 * paragraph.C: ditto
9057 * minibuffer.C: ditto
9062 * converter.C: ditto
9064 * Variables.C: ditto
9065 * TextCache.C: ditto
9066 * MenuBackend.C: ditto
9067 * LyXAction.C: ditto
9069 * FloatList.C: ditto
9071 * ColorHandler.C (LyXColorHandler): ditto
9073 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9075 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9077 * text2.C (openStuff): reintroduce this method (which had been
9078 nuked in NEW_INSETS frenzy).
9080 * lyxfunc.C (Dispatch): when an action has not been handled, use
9081 its name in the error message, not its number.
9083 * paragraph.C (inInset): change method name to begin with lowercase.
9086 * text2.C: updates because of this.
9088 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9090 * ToolbarDefaults.C (add): add spaces in error message
9092 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9094 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9095 (readLyXformat2): rename return_par to first_par, use lyxlex's
9096 pushToken and remove the manual push handling.
9097 (parseSingleLyXformat2Token): add another ert comp. variable:
9098 in_tabular, rename return_par to first_par. handle newlines better
9100 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9102 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9104 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9106 * text2.C (getParFromID): removed
9108 * buffer.C (getParFromID): new method moved form lyxtext.
9109 * BufferView2.C (insertErrors): adjust
9110 (setCursorFromRow): adjust
9111 * BufferView_pimpl.C (restorePosition): adjust
9112 * lyxfunc.C (Dispatch): adjust
9113 * undo_funcs.C (textUndo): adjust
9115 (textHandleUndo): adjust
9116 (textHandleUndo): adjust
9118 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9120 * buffer.C: up' the LYX_FORMAT
9122 * lyxfont.h: turn NO_LATEX on as default
9124 * buffer.C (insertErtContents): new methods of tex style compability.
9125 (parseSingleLyXformat2Token): use it several places.
9126 * tabular.C (OldFormatRead): and here
9128 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9130 * text2.C: remove some commented code.
9133 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9134 * trans.C: changes because of the above.
9136 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9138 * text2.C (setCounter): Fix counters bug with bibliography layout.
9140 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9142 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9143 own member functions
9144 (simpleTeXSpecialChars): ditto
9146 2001-07-06 Juergen Vigna <jug@sad.it>
9148 * a lot of files: changed the access to LyXText::status and the
9149 call of undo-functions.
9151 * undo.[Ch]: added a inset_id to the undo informations.
9153 * undo_funcs.[Ch]: added and moved here all undo functions.
9155 * lyxtext.h: give the status enum a weight, made status_ a private
9156 variable and made accessor functions for it, removed the whole bunch
9157 of undo-functions as they are now in their own file, make some
9158 functions publically available. Added function ownerParagraph with
9161 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9162 made InInset() a const function, added getParFromID() function.
9164 * buffer.[Ch]: added const version for inset_iterator functions,
9165 added getInsetFromID() function.
9167 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9168 changed undo functions for new version.
9170 2001-07-05 Juergen Vigna <jug@sad.it>
9172 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9173 unknow mechanism does not call the proper constructor but only this
9174 one also if I request the other!?
9176 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9178 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9180 * text2.C (LyXText): use initialization lists.
9182 * lyxtext.h (Selection): initialize set_ and mark_
9183 (init): remove method
9185 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9187 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9189 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * screen.[Ch]: change method names to begin with lowercase
9193 * BufferView_pimpl.C (updateScrollbar): simplify further and
9194 hopefully make it a bit faster.
9196 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9198 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9199 calling directly xforms functions.
9201 * Painter.C (Painter):
9202 * lyx_cb.C (MenuWrite):
9203 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9206 * lyx_gui.C: remove bogus guiruntime extern declaration.
9208 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9210 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9212 (redoDrawingOfParagraph): ditto
9213 (redoParagraphs): ditto
9214 (cutSelection): don't create a object for CutAndPaste use the
9215 static method directly
9216 (pasteSelection): ditto
9218 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9221 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9223 * modifications to some other files because of this.
9225 * Makefile.am (lyx_SOURCES): add XFormsView
9227 * XFormsView.[Ch]: new files
9229 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9230 the main window. Move the gui dependent stuff to XFormsView
9232 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9234 * tabular.C (GetCellInset): update cur_cell also in the row/col
9235 version of this function.
9237 * lyxfunc.C: no need to include figure_form.h here.
9243 * lyxvc.C: no need to include forms.h here.
9245 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9247 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9249 * lyxfunc.C (Dispatch):
9251 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9252 constructor argument.
9254 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9256 * paragraph.C (Paragraph): dont't clear, and just set layout.
9257 (makeSameLayout): use params's copy contructor.
9259 * ParagraphParameters.[Ch] (makeSame): delete method
9261 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9263 * Variables.[Ch]: fix indentation, rename set to isSet
9265 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9267 * lyxfunc.C (Dispatch): fix typo
9269 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9271 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9274 * bufferlist.C: include assert.h for emergencyWrite().
9276 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9278 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9279 give up at last (bug #425202) !
9281 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9287 * spellchecker.C: strip spellchecker options and bring up
9288 preferences tab instead
9290 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9292 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9293 the istringstream constructor
9295 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9297 * paragraph.C (getLayout): fix return value
9299 * paragraph.h: do not declare getLayout as inline.
9301 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9303 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9305 * lyxcursor.h (operator<): new func
9306 (operator>): new func
9307 (operator>=): new func
9308 (operator<=): new func
9310 * text.C (changeCase): use selection.start and selection.end
9311 (changeRegionCase): require from to be <= to. Require par to be a
9314 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9316 2001-06-27 Juergen Vigna <jug@sad.it>
9318 * text.C (cursorLeftOneWord): changed to return the cursor and added
9319 overlay with BufferView * parameter which calls this one.
9321 (selectWord): use new getWord function.
9322 (changeCase): renamed from changeWordCase as and extended to work
9325 * lyxtext.h: added enum word_location
9327 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9328 changeCase as this operates now also on selections.
9330 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9332 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9334 * many files: send debug output to Debug::INFO instead of
9337 * converter.C (View):
9339 (Move): send debug output to Debug::FILES instead of console.
9341 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9343 * lyxfunc.C (getStatus): use func_status
9345 * func_status.h: new header, describing the results of
9348 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9351 2001-06-25 The LyX Project <jug@sad.it>
9353 * buffer.C (sgmlOpenTag):
9355 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9357 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * text2.C: remove some dead code
9361 * tabular.C (GetCellInset): store the last cell checked (gotten)
9363 * tabular.h: add the helper for the speedup
9365 * lyxtext.h: remove some dead code
9367 2001-06-26 The LyX Project <Asger>
9369 * paragraph.C: Change export to LaTeX of alignment to
9370 \begin{center} and family for better roundtrip work with reLyX.
9372 * Tune the math drawing a bit.
9374 2001-06-25 The LyX Project <Asger>
9376 * LColor.C (LColor): New color for math background. New color
9379 2001-06-25 The LyX Project <jug@sad.it>
9381 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9384 * bufferlist.C (newFile): do not restrict to files ending with
9387 * BufferView_pimpl.C (MenuInsertLyXFile):
9389 2001-06-24 The LyX Project <jug@sad.it>
9391 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9394 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * lyxtext.h: rename most methods to begin with a small char.
9397 Lots of changes because of this.
9399 * paragraph.C (Paragraph): do not call fitToSize
9400 (erase): call Pimpl::erase
9401 (insertChar): call Pimpl::insertChar
9402 (insertInset): call Pipl::insertInset
9403 (breakParagraph): do not call fitToSize
9404 (breakParagraphConservative): do not call fitToSize
9405 (fitToSize): remove method
9407 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9409 2001-06-24 The LyX Project <Asger>
9411 * Fix Qt compilation^2
9413 2001-06-24 The LyX Project <jug@sad.it>
9415 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9416 depthHook(getDepth()-1).
9419 * ParagraphParameters.h:
9420 * ParameterStruct.h: change type of depth to unsigned int ==
9421 depth_type. Many adaptations to other files before of that.
9423 2001-06-24 The LyX Project <Asger>
9425 * Fix Qt compilation.
9427 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9429 * paragraph.h: renamed several methods to begin with small letter.
9430 several changes to many parts of the code because of this.
9432 2001-06-23 The LyX Project <jug@sad.it>
9434 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9435 rewritten to discard all double spaces when KeepEmpty is off
9436 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9437 to only handle newlines but not fiddle with spaces and friends.
9439 * lyxfunc.C (MenuNew): when doing 'new from template', use
9440 template_path as default directory
9442 2001-06-23 The LyX Project <Asger>
9444 * Clean-up of header file includes all over
9445 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9447 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9449 * paragraph.h: renamed from lyxparagraph.h
9451 2001-06-23 Asger <lyx@violet.home.sad.it>
9453 * Buffer.h: Removed Buffer::resize
9454 * BufferList.h: Removed BufferList::resize
9455 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9456 the document lazily when we change the width, or the font settings.
9458 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9460 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9462 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9464 * buffer.h: remove out of date comment
9466 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9469 * screen.C: fix "theoretical" GC leak
9471 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9473 * LaTeX.C (scanAuxFile):
9474 (deplog): remove trailing \r when reading stream (useful under
9477 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9479 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9480 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9481 and BufferView::theLockingInset(Inset*), so should use them and not
9482 access bv_->text->the_locking_inset directly.
9484 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9486 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9489 * tex-defs.h: remove old unused file
9491 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9493 * BufferView_pimpl.C: fix typo, remove minibuffer message
9494 when buffer has loaded
9496 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9498 * lyxfunc.C (Dispatch): use stringstream
9499 (MenuNew): use stringstream
9500 (Open): use stringstream
9502 * importer.C (Import): use stringstream
9504 * bufferview_funcs.C (CurrentState): use stringstream
9506 * LaTeX.C (run): use stringstream
9508 * BufferView_pimpl.C (savePosition): use stringstream
9509 (restorePosition): use stringstream
9510 (MenuInsertLyXFile): use stringstream
9512 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9525 * vspace.C: removed // -*- C++ -*- as first line.
9528 * version.h: added // -*- C++ -*- as first line.
9530 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9532 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9534 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9537 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9542 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9544 * gettext.C: include LString.h even when --disable-nls is on.
9546 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9548 * converter.h (Get): changed argument type from int to
9549 FormatList::size_type to avoid unnecessary conversion.
9551 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9554 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9556 * gettext.h: include LString.h even when --disable-nls is on.
9558 2001-06-07 Juergen Vigna <jug@sad.it>
9560 * text.C (BreakAgain): subst spaces with tabs.
9562 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9563 (resizeInsetsLyXText): set force on resizeLyXText.
9565 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * gettext.h (gettext_init):
9568 (locale_init): use a real definition instead of a macro
9570 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9572 * Bufferview_pimpl.C:
9574 * LColor.C: further lcolor tidies
9576 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9578 * BufferView_pimpl.C (updateScrollbar): simplify.
9580 * BufferView2.C: don't include insets/insetinfo.h, change
9581 prototype for insertInset and call the Pimpl version. let
9582 updateInset call Pimpl version.
9584 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9585 gotoInset to BufferView::Pimpl
9587 2001-06-01 Juergen Vigna <jug@sad.it>
9589 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9590 inside a LockingInset (is the update needed at all?).
9592 2001-05-31 Juergen Vigna <jug@sad.it>
9594 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9595 here not the old one otherwise how should we compare it afterwards
9598 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9603 * FontInfo.C: bring C functions into global namespace when
9606 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9608 * LString.h: make sure config.h has been loaded before LString.h.
9610 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9611 (one for each char read by EatLine!).
9613 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9616 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9618 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9619 to the same as the par we break from
9621 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9623 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9625 * MenuBackend.C (expand): also create menu entries for wide
9626 versions of the floats.
9628 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9630 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9632 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9633 frontends/Makefile.am
9639 * tabular.C (getTokenValue): add std::
9641 * tabular-old.C (getTokenValue): add std::
9642 (getTokenValue): ditto
9643 (getTokenValue): ditto
9645 * screen.C (ToggleSelection): adjust
9647 * lyxtext.h: put selection cursors inside a Selection struct.
9649 * lyxfunc.C (moveCursorUpdate): adjust
9651 * lyxfont.C (latexWriteStartChanges): add std::
9655 * font.h: delete with(char const *, LyXFont const &)
9657 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9659 * FontInfo.C (getFontname): add std::
9661 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9662 (workAreaButtonPress): adjust
9663 (tripleClick): adjust
9665 (moveCursorUpdate): adjust
9668 * BufferView2.C (gotoInset): adjust
9670 2001-05-30 Juergen Vigna <jug@sad.it>
9672 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9673 to check pspell I add this as default as I now have new pspell
9674 libraries and they seem to use this.
9676 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9678 * text2.C (CutSelection): make the cursor valid before the call to
9681 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9683 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9684 relied on 0 terminated strings and other horrors. Bug found due to
9685 the new assert in lyxstring!
9687 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9690 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9695 * lyxfunc.C (processKeySym): change method of getting to the
9698 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9699 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9700 * BufferView_pimpl.[Ch]: here as private methods.
9702 2001-05-28 Juergen Vigna <jug@sad.it>
9704 * text.C (SetHeightOfRow): added the update() call again as it is
9705 needed to initialize inset dimensions!
9707 2001-05-16 Juergen Vigna <jug@sad.it>
9709 * text2.C (SetCharFont): Add new function with BufferView * and
9710 bool toggleall parameters for setting insets internal fonts.
9711 (SetFont): Freeze the undo as we may change fonts in Insets and
9712 all this change should be inside only one Undo!
9714 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9715 setting font's in insets as for them we have the SetFont function!
9717 2001-05-15 Juergen Vigna <jug@sad.it>
9719 * text2.C (ClearSelection): to be sure we REALLY don't have any
9722 * tabular.C (TeXCellPreamble): fixed the left border problem for
9725 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9727 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9730 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9732 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9733 LFUN_BREAKPARAGRAPH.
9735 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9736 help test to "internal only", similar for LFUN_INSERT_URL
9738 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9739 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9740 auto_region_delete and deadkeys.
9742 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9745 * LColor.C: remove some dead entries, tidy a little
9747 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9751 (Dispatch): implement LFUN_ESCAPE
9753 * commandtags.h: add LFUN_ESCAPE
9755 * LyXAction.C (init): add entry for LFUN_ESCAPE
9757 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9758 Remove commented code.
9759 (insertNote): moved here
9760 (open_new_inset): moved here
9762 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9765 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9767 * kbmap.C (findbinding): clean it up and make it work correctly.
9769 * lyx_main.C (init): do not pass argc and argv as parameters
9771 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9773 * buffer.C: fix path for OS/2 & Win32
9777 * lyx_main.C: Added os:: class.
9779 * os2_defines.h: update
9781 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9784 better by trying again with reduced state.
9786 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9788 * lyxrc.C (read): print error about invalid key sequence only when
9789 debugging (because not all latinX keysyms are known to some X
9792 * kbsequence.C (getiso): add a few std:: qualifiers
9793 (getiso): comment out extra return statement.
9795 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9799 (Dispatch): enhance the accent inset a bit. (not perfect)
9801 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9803 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9805 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9807 * bufferlist.C (emergencyWrite): fix assert() call
9809 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9811 * text.C (InsertChar): Added trivial patch to only send the "you
9812 can not do multiple spaces this way" message once during a
9815 2001-05-08 Baruch Even <baruch@lyx.org>
9817 * Makefile.am: Changed order of libraries to get LyX to link properly
9818 with the gnome frontend.
9820 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * LaTeXFeatures.h: add a std:: qualifier
9824 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9826 * paragraph.C (String): use stringstream
9828 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9830 * paragraph.C (writeFile): remove footflag arg
9832 * buffer.C (makeLaTeXFile): use stringstream
9833 (latexParagraphs): remove footnot gurba
9835 * LaTeXFeatures.C (getPackages): use stringstream
9836 (getMacros): likewise
9837 (getTClassPreamble): likewise
9838 (getFloatDefinitions): new method
9840 * paragraph.C (writeFile): reindent
9843 * WorkArea.h: revert the xpos + etc changes.
9845 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9847 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9849 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9850 (pasteSelection): likewise
9851 * text2.C (CreateUndo): likewise
9853 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9855 * minibuffer.C (peek_event): temporarily reduce the functionality
9856 of the minibuffer (to allow args on lfuns)
9858 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9859 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9861 * buffer.C (readInset): add compability reading of old float
9862 lists, add reading of new style float list.
9863 (readInset): avoid reevaluation of inscmd.getCmdName()
9864 (getLists): reindent
9866 * MenuBackend.C (MenuItem): implement parsing of
9867 md_floatlistinsert and md_floatinsert.
9868 (expand::LastFiles): move initalizaton of iterators out of loop,
9870 (expand::Documents): introduce typdedef vector<string> Strings,
9872 (expand::ExportFormats): introduce typedef vector<Format const *>
9873 Formats, and use it.
9874 (expand): implement FloatListInsert and FloatInsert.
9876 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9877 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9878 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9880 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9882 (Dispatch::LFUN_FLOAT_LIST): implement
9884 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9886 * LaTeX.C (run): Fix problem with --export code.
9888 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9890 * BufferView.[Ch] (workarea): removed.
9891 (getClipboard) new method; wrapper for workarea()->getClipboard()
9893 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9896 * WorkArea.h (width, height, xpos, ypos): These methods all
9897 returned the dimensions of the work_area sub-area of WorkArea,
9898 resulting in a position error if the WorkArea were resized. Now
9899 return the dimensions of the entire WorkArea.
9901 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9903 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9905 * LaTeX.C (deplog): correct the syntax of regex reg1
9907 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * undo.C: remove !NEW_INSETS cruft
9911 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9913 * text2.C: remove !NEW_INSETS cruft
9915 * text.C: remove !NEW_INSETS cruft
9917 * tabular.C: remove !NEW_INSETS cruft
9919 * spellchecker.C: remove !NEW_INSETS cruft
9921 * lyxtext.h: remove !NEW_INSETS cruft
9923 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9925 * lyxfunc.C: remove !NEW_INSETS cruft
9927 * lyxfind.C: remove !NEW_INSETS cruft
9929 * lyx_cb.C: remove !NEW_INSETS cruft
9931 * figureForm.C: remove !NEW_INSETS cruft
9933 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9935 * buffer.[Ch]: remove !NEW_INSETS cruft
9937 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9939 * CutAndPaste.C: remove !NEW_INSETS cruft
9941 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9943 * BufferView2.C: remove !NEW_INSETS cruft
9945 * BufferView.h: remove !NEW_INSETS cruft
9947 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9949 * Lsstream.h: include LString.h before the sstream headers to
9950 fix problem with gcc 2.95.3 and lyxstring
9952 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9954 * lyx_main.C: add using directives when needed for C functions
9955 declared in std:: namespace.
9957 2001-04-27 Juergen Vigna <jug@sad.it>
9959 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9960 (SetHeightOfRow): comment out the update call should not be needed!
9962 2001-04-13 Juergen Vigna <jug@sad.it>
9964 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9965 (LyXTabular): tried to minimize operator= operations (and realized
9966 hopfully Lars wish).
9968 2001-04-27 Juergen Vigna <jug@sad.it>
9970 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9972 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9976 * buffer.C (readInset): hack to make listof algorithm work
9978 * BufferView_pimpl.C: hack to make listof algorithm work
9980 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9982 * LyXAction.C: removed all !NEW_INSETS cruft
9983 (init): moved lfun_item in method
9985 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9987 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9989 * BufferView2.C (theLockingInset): white space.
9991 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9993 * minibuffer.C: include <iostream>
9995 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9997 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9999 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10001 * text.[Ch] (TransposeChars): new method
10003 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10005 * call message directly through LyXView instead of through LyXFunc
10006 * BufferView2.C: adjust
10007 * BufferView_pimpl.C: adjust
10008 * FontLoader.C: adjust
10010 * bufferview_funcs.C: adjust
10011 * converter.C: adjust
10012 * figureForm.C: adjust
10013 * importer.C: adjust
10015 * lyx_gui_misc.C: adjust
10016 * lyxfunc.C: adjust
10019 + more files in subdirs
10021 * lyxparagraph.h (size): move up int file
10024 * adjust all uses of Assert to lyx::Assert.
10026 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10027 lyxfunctional in namespace lyx
10028 * layout.C (hasLayout): ditto
10031 (delete_layout): ditto
10032 (NumberOfClass): ditto
10033 * converter.C (GetFormat): ditto
10038 * bufferlist.C (getFileNames): ditto
10039 (emergencyWriteAll): ditto
10042 * MenuBackend.C (hasSubmenu): ditto
10045 * BufferView_pimpl.C (getInsetByCode): ditto
10047 2001-04-18 Juergen Vigna <jug@sad.it>
10049 * vspace.C (asLatexString): fixed the 100% problem.
10051 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * lyxfunc.C (Dispatch):
10055 * minibuffer.h: add a few std:: qualifiers
10057 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10059 * minibuffer.[Ch]: reimplement so that commands is initiated and
10060 run from lyxfunc, simplified som handling, and made the completion
10061 and history code for complete. wip.
10063 * lyxfunc.C (processKeySym): call message
10064 (miniDispatch): new temporary method
10065 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10066 (LFUN_MESSAGE): implement
10067 (LFUN_MESSAGE_PUSH): implement
10068 (LFUN_MESSAGE_POP): implement
10069 (initMiniBuffer): the initial/defualt minibuffer message.
10071 * lyxfont.[Ch]: inline some more getters
10073 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10075 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10077 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10078 (AutoSave): use LFUN_MESSAGE
10079 (Reconfigure): ditto
10081 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10083 * figureForm.C: use LFUN_MESSAGE
10085 * converter.C (runLaTeX): use LFUN_MESSAGE
10087 * bufferview_funcs.C: use LFUN_MESSAGE
10089 (changeDepth): ditto
10091 * bufferparams.h: use boost::
10093 * bufferlist.h: inherit privately from noncopyable
10095 * bufferlist.C (loadLyXFile): remove some commented code.
10097 * buffer.C (runChktex): use LFUN_MESSAGE
10099 * ShareContainer.h: inherit privately from noncopyable
10101 * ParagraphParameters.[hC] (depth): inline it.
10103 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10105 (message): new method
10106 (messagePush): ditto
10107 (messagePop): ditto
10108 (show): init minibuffer
10109 (showState): direct call
10111 * LaTeX.[Ch]: inherit privately from noncopyable
10112 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10113 instead of WriteStatus.
10115 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10117 * BufferView_pimpl.C (buffer): don't init minibuffer
10118 (workAreaButtonPress): use LFUN_MESSAGE
10119 (workAreaButtonRelease): ditto
10120 (savePosition): ditto
10121 (restorePosition): ditto
10122 (MenuInsertLyXFile): ditto
10123 (workAreaExpose): don't init minibuffer
10124 (update): remove commented code, simplify
10126 * BufferView2.C (openStuff): use LFUN_MESSAGE
10127 (toggleFloat): ditto
10130 (copyEnvironment): ditto
10131 (pasteEnvironment): ditto
10136 (updateInset): remove some commented code
10138 * lastfiles.h: inherit privately from noncopyable
10141 * lyx_main.h: ditto
10143 * lyxlex_pimpl.h: ditto
10145 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10146 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10147 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10149 * LyXAction.h: inherit privately from noncopyable, add methods
10150 func_begin, func_end, returning iterators to the func map.
10152 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10153 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10154 (func_begin): new method
10155 (func_end): new method
10157 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10159 (copySelection): ditto
10160 (pasteSelection): ditto
10162 * BufferView.C: whitespace change
10163 * BufferView.h: inherit privately from noncopyable
10165 2001-04-16 Allan Rae <rae@lyx.org>
10167 * tabular-old.C (l_getline):
10168 * spellchecker.C (sc_check_word):
10169 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10170 an unrecognised preprocessor directive. So ensure they're wrapped.
10172 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10174 * src/exporter.C (Export): Give an error message when path to file
10177 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10179 * LaTeX.C (deplog): Always check that foundfile exists.
10181 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10186 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10188 * tabular.[Ch] (getLabelList): implement new method
10190 * minibuffer.h: comment ouf setTiimer
10192 * minibuffer.C (ExecutingCB): constify res
10193 (peek_event): constify s
10194 (Set): constify ntext
10195 (Init): constify nicename
10197 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10199 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10200 (savePosition): use two params to Minibuffer::Set
10201 (restorePosition): ditto
10203 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * lyx_main.C: include language.h
10207 * Makefile.am (lyx_main.o): add language.h
10209 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10215 * CutAndPaste.C: include gettext.h
10217 * lyxfont.h: remove old hack with ON and OFF.
10220 * lyxfont.h: do not include language.h...
10225 * bufferview_funcs.C:
10231 * paragraph.C: ... but do it here instead
10233 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10235 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10237 * tabular.C: small reformat
10239 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10242 (BreakParagraph): ditto
10243 (SetOnlyLayout): ditto
10246 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10249 * lastfiles.C: removed most using decl, add std:: where needed
10251 * buffer.C: ws changes
10253 * MenuBackend.C (class compare_format): put into anon namespace
10254 (expand): constify label, names, action, action2
10257 * text.C (SingleWidth): constify font
10258 (IsBoundary): constify rtl2
10259 (GetVisibleRow): constify ww
10261 * LaTeX.C (deplog): constify logfile
10263 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10265 (workAreaExpose): constify widthChange, heightChange
10267 * lyxrow.C (par): moved
10270 * lyxrow.h: as inlines here
10272 * lyxfont.h (shape): moved from lyxfont.C
10273 (emph): moved from lyxfont.C
10275 * lyxfont.C (LyXFont): use initialization list for all
10277 (shape): move to lyxfont.h as inline
10278 (emph): move to lyxfont.h as inline
10281 2001-04-04 Juergen Vigna <jug@sad.it>
10283 * vspace.C: had to include stdio.h for use of sscanf
10285 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10288 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10289 independent of xforms.
10291 2001-04-02 Juergen Vigna <jug@sad.it>
10293 * spellchecker.C: fixed namespace placing!
10295 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10297 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10298 the LyXParagraph * is 0.
10300 2001-03-29 Juergen Vigna <jug@sad.it>
10302 * vspace.C: added support for %, c%, p%, l%.
10303 (stringFromUnit): added helper function.
10304 (asLatexString): changed to give right results for the %-values.
10306 * buffer.C: convert the widthp in a width%.
10308 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10310 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10313 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10314 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10316 * lyx_cb.[Ch]: see above.
10318 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10322 * lyx.[Ch]: replaced by figure_form.[Ch].
10326 * lyxfunc.C: changed headers associated with above changes.
10328 2001-03-27 Juergen Vigna <jug@sad.it>
10330 * BufferView_pimpl.C: set the temporary cursor right!
10332 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10334 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10336 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10338 * LString.h: removed "using std::getline"!
10340 * BufferView_pimpl.C (Dispatch): changes due to changes in
10341 InsetInclude::Params.
10343 * buffer.C (tag_name): removed redundant break statements as they were
10344 producing lots of warnings with my compiler.
10346 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * LString.h: add "using std::getline" when using the real <string>.
10350 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10352 * buffer.C: removed bitset usage.
10353 PAR_TAG moved to an anonymous name space.
10354 (tag_name): new funtion, also in the anonymous namespace.
10355 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10356 (makeDocBookFile): clean code. Completed transition from string arrays
10358 (SimpleDocBookOnePar): code clean.
10360 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10362 * tabular.C: add some comments.
10364 2001-03-22 Juergen Vigna <jug@sad.it>
10366 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10367 compatibility read a bit and fixed bug with minipage in different
10370 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10372 * buffer.C (pop_tag): removed.
10373 (push_tag): removed.
10374 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10375 array replaced with vector. Added support for CDATA sections.
10376 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10378 (makeDocBookFile): XML conformant declaration of CDATA section,
10379 fixed bug related to <emphasis> in the first paragraph char.
10380 (sgmlOpenTag): exclude empty tags.
10381 (sgmlCloseTag): ditto.
10383 * buffer.h (pop_tag): removed.
10384 (push_tag): removed.
10386 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10388 * language.h (Languages): added size_type and size().
10390 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10392 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10393 response on compability reading of minipages. One probliem is that
10394 the old usage of minipages was «flertydig»
10396 * several files here and in subdirs: don't use static at file
10397 scope use anon namespaces instead.
10399 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10401 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10402 LaTeX output. This is necessary for Literate document
10405 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10407 * buffer.C: insert hfill when needed.
10409 * tabular.C (l_getline): use string::erase, small whitespace change.
10411 * BufferView_pimpl.C: try the anon namespace.
10412 * WorkArea.C: ditto
10414 2001-03-16 Juergen Vigna <jug@sad.it>
10416 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10417 otherwise it won't open options-dialogs.
10419 * buffer.C: honor pextraWidth(p) on converting minipages.
10421 * tabular.C (l_getline): changed the functions to strip trailing \r.
10423 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10425 * BufferView_pimpl.C:
10426 * minibuffer..C: added "using SigC::slot" declaration.
10428 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10430 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10436 * paragraph.C: ditto
10438 * lyxtext.h: NO_PEXTRA
10440 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10442 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10443 * ParameterStruct.h: ditto
10444 * ParagraphParameters.h: ditto
10445 * lyxparagraph.h: ditto
10447 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10449 * buffer.C: add compability for minipage alignment.
10450 (latexParagraphs): remove unwanted pextra check.
10452 * several files: remove CXX_WORKING_NAMESPACES
10454 * buffer.C (pop_tag): tie is in namespace boost
10456 * BufferView.h: noncopyable is in namespace boost
10458 * lyx_main.h: ditto
10461 * lastfiles.h: ditto
10462 * bufferlist.h: ditto
10463 * ShareContainer.h: ditto
10465 * LyXAction.h: ditto
10468 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10470 * Merging changes from BRANCH_MVC back into HEAD.
10472 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10474 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10476 * BufferView_pimpl.C: change from intl.C
10480 * Makefile.am: move combox.*
10486 * intl.C: remove dialog (covered by prefs)
10488 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10490 * lyxfunc.C (Dispatch): removed redundant break statement.
10492 2001-03-14 Juergen Vigna <jug@sad.it>
10494 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10496 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10498 * buffer.C: add hack to fix compability reading of minipages.
10500 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10502 * buffer.C (getLists): Cleanup.
10504 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10506 * lyxfont.C (update): don't honor toggleall on font size.
10508 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10512 * Makefile.am: moved to frontends/xforms/
10516 * BufferView_pimpl.C: changes for moved mathpanel
10518 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10520 * gettext.h: fix gettext_init() in --disable-nls
10522 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10524 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10526 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10529 * lyx.h: strip external form
10531 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10533 * BufferView_pimpl.C: add comment, destroySplash()
10535 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView_pimpl.C:
10541 * lyxfunc.C: use re-worked insetinclude
10543 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10545 * buffer.C: add using std::stringstream.
10547 * lyx_cb.C: readd using std::ios.
10549 * buffer.C: add using std::map.
10551 * BufferView_pimpl.C: add using std::vector.
10553 * ShareContainer.h: add std:: to swap.
10555 * buffer.h: add some typedefs
10556 * buffer.C (getLists): use them
10557 (getLists): renamed from getTocList.
10558 add a counter for the different float types and use it in the
10560 (getLists): use the same counter for the NEW_INSETS and the "non"
10563 * lyx_cb.h: remove unused items, includes, using etc.
10565 * ShareContainer.h: remove some commented code, add more comments
10566 and "documentation".
10568 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10570 * buffer.C (getTocList): make the list also when NEW_INSETS is
10573 * buffer.h: remove TocType
10575 * buffer.C (getTocList): change to return a map<string,
10576 vector<TocItem> >, implement for dynamic number of list.
10578 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10579 * text2.C (PasteSelection): adjust
10580 * CutAndPaste.C (pasteSelection): adjust
10582 * FloatList.C (FloatList): update from the new_insets branch.
10583 * Floating.[Ch]: ditto
10584 * LaTeXFeatures.C: ditto
10586 * lyxlex_pimpl.C: ditto
10588 * paragraph.C (Last): remove when NEW_INSETS is defined.
10590 * other file: changes because of the above.
10592 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10594 * lyxparagraph.h: rename next to next_, previous to previous_,
10595 make them private for NEW_INSETS. Rename Next() to next(),
10596 Previous() to previous().
10598 * other files: changes because of the above.
10600 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10603 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10606 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10608 * main.C (main): pass lyx_localedir to gettext_init().
10610 * gettext.h: remove locale_init and gettext_init macros
10612 * gettext.C (locale_init): new function
10613 (gettext_init): new function
10615 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10618 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10620 * Moved credits to frontends:
10621 * credits.[Ch]: removed
10622 * credits_form.[Ch]: removed
10623 * lyx_gui_misc.C: remove credits stuff
10626 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10628 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10630 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10631 unneeded destructor.
10633 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10634 a standalone pointer again.
10636 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10638 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10644 * ToolbarDefaults.C:
10653 * BufferView_pimpl.C: use new file dialog in GUII
10656 * lyx_cb.C: remove LayoutsCB to Toolbar
10658 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * ShareContainer.h (get): add std:: qualifier
10662 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * ShareContainer.h: define a proper ShareContainer::value_type
10665 type (and use typename to please compaq cxx)
10667 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10669 * lyxparagraph.h: move serveral local vars to
10670 ParameterStruct/ParagraphParameters., use ShareContainer in
10671 FontTable., make vars in FontTable private and add getter and
10674 * paragraph.C: changes because of the above.
10676 * lyxfont.h: remove copy constructor and copy assignment. (the
10677 default ones is ok), move number inside FontBits. move inlines to
10680 * lyxfont.C: add number to initializaton of statics, move several
10681 inlines here. constify several local vars. some whitespace
10682 cleanup. Dont hide outerscope variables.
10684 * Spacing.h: add two new constructors to match the set methods.
10686 * ShareContainer.h: new file, will perhaps be moved to support
10688 * ParameterStruct.h: new file
10690 * ParagraphParameters.h: new file
10692 * ParagraphParameters.C: new file
10694 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10695 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10697 * BufferView_pimpl.C: ParagraphParameter changes.
10698 * buffer.C: Likewise.
10699 * bufferview_funcs.C: Likewise.
10700 * text.C: Likewise.
10701 * text2.C: Likewise.
10703 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * lyxfind.C (LyXReplace): do not redefine default argument in
10707 (IsStringInText): ditto
10708 (SearchForward): ditto
10709 (SearchBackward): ditto
10711 2001-03-06 Juergen Vigna <jug@sad.it>
10713 * lyxfind.C (IsStringInText): put parentes around expressions.
10715 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10717 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10719 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10721 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10723 * stl_string_fwd.h: add comment
10725 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10728 * tabular.C: remove unused DocBook methods
10734 killed DO_USE_DEFAULT_LANGUAGE
10736 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10738 * lyx_gui.C: do not include language.h.
10740 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10741 arguments in function implementation.
10743 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10745 * BufferView_pimpl.C: add <ctime>
10747 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10749 * BufferView_pimpl.C: add using std::find_if
10751 2001-02-27 José Matos <jamatos@fep.up.pt>
10753 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10756 2001-02-11 José Matos <jamatos@fep.up.pt>
10758 * buffer.C (makeDocBookFile): command styles now have a parameter as
10759 "title" by default.
10761 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10763 * layout_forms.[Ch]: removed
10764 * lyx_cb.[Ch]: out character
10765 * lyx_gui.C: out character
10766 * lyx_gui_misc.C: out character
10767 * bufferview_funcs.C: : out character,
10768 added toggleall as parameter in ToggleAndShow
10770 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10772 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10774 * text2.C (SetCurrentFont): Disable number property at boundary.
10776 2001-02-26 Juergen Vigna <jug@sad.it>
10778 * lyxfunc.C (getStatus): added a string argument override function so
10779 that this is correctly called from LyXFunc::Dispatch if it contains a
10780 do_not_use_argument which is used!
10781 (Dispatch): added check for "custom" export and call appropriate func.
10783 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10785 * lyxrc.C: Add language_command_local, language_use_babel and
10786 language_global_options.
10788 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10790 * buffer.C (makeLaTeXFile): Use language_use_babel and
10791 language_global_options.
10793 2001-02-23 Juergen Vigna <jug@sad.it>
10795 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10796 which works with LyXText and putted it inside BufferView. Here now we
10797 only call for that part the BufferView::Dispatch() function.
10799 * BufferView.C (Dispatch): added.
10801 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10802 functions which needs to use a LyXText over from LyXFunc.
10803 (MenuInsertLyXFile): added
10804 (getInsetByCode): added
10805 (moveCursorUpdate): added
10806 (static TEXT): added
10808 2001-02-22 Juergen Vigna <jug@sad.it>
10810 * BufferView_pimpl.C (update): call a status update to see if LyXText
10813 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10815 * vc-backend.C (revert): implement for CVS
10816 (getLog): implement for CVS
10818 2001-02-20 Juergen Vigna <jug@sad.it>
10820 * text2.C (ClearSelection): added BufferView param for inset_owner call
10822 * lyxfunc.C (TEXT): added this function and use it instead of
10823 directly owner->view()-text of getLyXText().
10825 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10827 * src/layout_forms.C: out preamble
10828 * src/layout_forms.h: out preamble
10829 * src/lyx_cb.C: out preamble
10830 * src/lyx_cb.h: out preamble
10831 * src/lyx_gui.C: out preamble
10832 * src/lyx_gui_misc.C: out preamble
10833 * src/lyxfunc.C: connect with guii preamble
10835 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10837 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10839 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10841 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10842 whether to run bibtex.
10844 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10846 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10848 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10850 * Makefile.am (lyx_SOURCES): removed bibforms.h
10852 * vspace.h: doxygen
10854 * text.C (GetVisibleRow): make several local vars const
10856 * tabular.C: small cleanup.
10858 * lyxserver.C (callback): use compare instead of strncmp
10860 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10861 inlines to after class or to paragraph.C
10863 * lyxfont.h: remove friend operator!=
10865 * converter.h: move friend bool operator< to non friend and after
10868 * combox.h: small cleanup
10870 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10871 to inlines after class def.
10873 * buffer.C (pop_tag): use string operations instead of strcmp
10875 * bmtable.c: doxygen, small cleanup
10877 * LaTeX.h: remove friend operator==
10879 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10891 * BufferView_pimpl.C:
10892 * BufferView.[Ch]: remove cruft
10894 2001-02-14 Juergen Vigna <jug@sad.it>
10896 * lyxfunc.C: removed #if 0 unused code
10898 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10900 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10902 * text2.C (SetSelection): added a BufferView * parameter
10904 2001-02-13 Juergen Vigna <jug@sad.it>
10906 * lyxfunc.C (Dispatch): fixed protected blank problem.
10907 * BufferView2.C (protectedBlank): added LyxText * parameter.
10909 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10910 (AppendColumn): same as above for column_info.
10912 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10913 (moveCursorUpdate): use a LyXText param for support of InsetText.
10915 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10916 (tripleClick): ditto
10918 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10920 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10922 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10924 * text2.C (SetSelection): set correct update status if inset_owner
10925 (ToggleFree): ditto
10927 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10929 * tabular.C: remove some commented code.
10931 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10933 * BufferView_pimpl.C: call hideSplash()
10935 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10938 * bibforms.h: remove
10941 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10942 add LFUN_CHILD_CREATE
10944 * counters.h: fix tiny typo
10949 * lyx.C: move splash to frontends/xforms/
10951 * lyx_gui_misc.C: move Include and Bibform to frontends
10953 * lyxvc.h: clarify comment
10955 * vspace.C: tiny housekeeping
10957 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10959 * text.C (PrepareToPrint): RTL Fix.
10961 * paragraph.C (GetUChar): New method.
10962 (String): Use GetUChar.
10964 * buffer.C (asciiParagraph): Use GetUChar.
10966 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10968 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10970 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10973 * buffer.C: rename to getLogName(), handle
10974 build log / latex log nicely
10976 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10979 * MenuBackend.h: remove support for reference menuitem type.
10981 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10983 * BufferView_pimpl.C: housekeeping
10984 * BufferView_pimpl.h:
10989 * minibuffer.h: move Timeout GUI-I
10991 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10993 * lyxrc.C (read): Update converters data-structures.
10995 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10997 * LaTeX.h (operator!=): add operator != for Aux_Info
10999 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11001 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11003 * LaTeXLog.C: deleted, useful code moved to Buffer
11006 * buffer.C: new function getLatexLogName()
11012 * lyxfunc.C: use frontends for LaTeX and VC logs
11014 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11016 * LaTeX.h: yet another std:: that Allan forgot.
11018 * Variables.C (set): renamed from isset(), because this clashes
11019 with some HP-UX macros (grr).
11021 2001-02-06 Allan Rae <rae@lyx.org>
11023 * LaTeX.h: Another bug fix. Missing std:: this time.
11025 2001-02-04 Allan Rae <rae@lyx.org>
11027 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11028 floats problem. I've left it commented out because it's not quite
11029 correct. It should also test that the current object is a table or
11030 figure inset. But I haven't gotten around to figuring out how to do
11031 that. I *think* it'll be something like: "table" == inset.type()
11033 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11036 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11038 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11039 all the citation/databases/styles in the auxilary file.
11040 (run): Rerun latex if there was a babel language error.
11042 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11044 * text.C (Backspace): Preserve the font when changing newline char
11046 (BreakParagraph): If the cursor is before a space, delete the space.
11048 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11050 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11052 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11053 new argument (code).
11054 (ChangeCitationsIfUnique): New method.
11056 * paragraph.C (GetPositionOfInset): Handle bibkey.
11058 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11060 * BufferView_pimpl.h: change type of Position::par_pos to
11061 LyXParagraph::size_type.
11063 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11065 * BufferView_pimpl.C (savePosition, restorePosition): Write
11066 messages to minibuffer.
11068 2001-01-28 José Matos <jamatos@fep.up.pt>
11070 * buffer.C (makeDocBookFile): adds support for document language.
11071 A silly restriction on the name of LatexCommand types where removed.
11072 Added support for CDATA sections, allows to chars unescaped, used
11073 among others in code, to avoid escape < and >.
11075 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11077 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11078 saved positions instrad of a stack. Furthermore, a position is
11079 stored using paragraph id/paragraph position.
11081 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11082 Remove LFUN_REF_BACK.
11084 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11086 * converter.C (dvipdfm_options): New method.
11088 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11090 * vspace.C (isValidLength): Fix for empty input string.
11092 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11094 * LyXAction.C (init): change description of LFUN_FIGURE to
11097 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11099 * LaTeX.C: add using directive
11101 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11103 * MenuBackend.C (expand): Fix the sorting of the formats.
11105 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11107 * lyx_main.C: tiny error message fix
11109 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11111 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11112 calling fl_initialize(). This fixes the problem with ',' as
11113 decimal separator in text files.
11115 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11117 * trans.C (process): Fix the keymap bug.
11119 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11121 * LaTeX.C (scanAuxFiles): New method. Provides support for
11122 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11123 (scanLogFile) Scan for "run BibTeX" messages.
11125 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11126 OT1 font encoding. Also, load the aecompl package if the ae
11129 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11131 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11133 * texrow.C (increasePos): turn two error messages into debug
11136 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11138 * LaTeX.C (scanAux): Handle the \@input macro.
11139 (runBibTeX): Use scanAux().
11141 * language.C (latex_options_): New field.
11143 * LaTeXFeatures.C (getMacros): Add language macros.
11145 * buffer.C (makeLaTeXFile): Small fix.
11147 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11149 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11151 * text2.C: add a using directive.
11153 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11158 * lyxfunc.C: kill LyXBell.
11160 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11162 * text.C (IsBoundary): Remove the error message
11164 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11166 * lyxrc.C (setDefaults): Correct initialization value for
11169 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11171 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11174 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11175 and GotoNextNote().
11177 * src/LyXAction.C: Added reference-next.
11179 * text.C (InsertChar): Use contains instead of strchr.
11181 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11183 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11185 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11186 alignment commands (when needed).
11188 * text.C (InsertChar): Add ':' to number separator chars.