2 2003-06-12 André Pönitz <poenitz@gmx.net>
6 * tabular_funcs.h: some renaming plus whitespace
8 2003-06-12 André Pönitz <poenitz@gmx.net>
17 * toc.C: Return a Paragraph & for ParIterator::operator*()
19 2003-06-11 John Levon <levon@movementarian.org>
23 * ToolbarBackend.C: add "Toolbars" section and
26 2003-06-10 Angus Leeming <leeming@lyx.org>
29 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
31 * lyxfunc.C (dispatch): invoke it.
33 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
35 * main.C: protect <ios> with HAVE_IOS
36 (main): protect sync_with_stdio with HAVE_IOS
38 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
40 * text2.C (cutSelection): adjust
41 (pasteSelection): adjust
43 * messages.C: handle get of empty string
45 * main.C (main): use sync_with_stdio(false)
47 * lyxfunc.C (dispatch): adjust
49 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
50 (WriteAs): remove unneeded BufferView arg.
52 * bufferparams.h: use correct types on papersize, papersize2 and
55 * bufferparams.C (readToken): adjust for type
56 (writeLaTeX): add missing cases to switch.
58 * bufferlist.C (quitWriteBuffer): adjust
61 * buffer.C (asciiParagraph): remove some commented code.
63 * CutAndPaste.C: remove current_view extern variable.
64 (cutSelection): add BufferParams arg.
65 (eraseSelection): add BufferParams arg.
66 (pasteSelection): add Buffer const & arg
68 2003-06-07 John Levon <levon@movementarian.org>
76 * paragraph.C: allow InsetERT to freely space lines,
77 and some consolidation of code
79 2003-06-06 José Matos <jamatos@fep.up.pt>
81 * buffer.C (makeDocBookFile): fix bug #821
83 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
85 * BufferView_pimpl.C (dispatch): use Dialogs::visible
87 2003-06-04 Angus Leeming <leeming@lyx.org>
89 * buffer.C: bump format to 224.
91 2003-06-05 André Pönitz <poenitz@gmx.net>
93 * text2.C (redoParagraphs): remove two const_cast<>
95 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
97 * ParagraphList.h: remove last remnants of NO_STD_LIST
99 2003-06-03 Angus Leeming <leeming@lyx.org>
101 * factory.C (createInset): small change to the way InsetExternal's params
104 2003-06-04 André Pönitz <poenitz@gmx.net>
106 * buffer.h: use Undo directly instead of shared_ptr<Undo>
109 * paragraph.[Ch]: some Inset -> UpdatableInset changes
111 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
113 * undo_funcs.C: make some simple cases of undo work again
115 2003-06-03 John Levon <levon@movementarian.org>
117 * ispell.C: HPUX doesn't have sys/select.h
120 2003-06-03 John Levon <levon@movementarian.org>
122 * CutAndPaste.C: update tabular and include inset
127 * paragraph.C: remove owningBuffer(), don't pass Buffer
130 * factory.C: insetGraphicsParams changed
132 2003-06-02 John Levon <levon@movementarian.org>
138 * text3.C: remove insetparent
140 2003-06-02 John Levon <levon@movementarian.org>
143 * buffer.C: fix inset_iterator.end(), move out of line
146 2003-06-01 John Levon <levon@movementarian.org>
148 * text3.C: use a proper cut/paste when doing inset
149 insert (from Jürgen Spitzmüller)
151 2003-06-01 John Levon <levon@movementarian.org>
153 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
155 2003-05-30 André Pönitz <poenitz@gmx.net>
157 * rowpainter.C: unify second drawing phase
159 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * trans_mgr.C: remove one case of current_view
163 * text2.C (cursorBottom): delete NO_STD_LIST stuff
165 * paragraph_funcs.h: remove paragraph.h include
167 * paragraph.h: delete NO_STD_LIST stuff
169 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
171 * buffer.h: remove paragraph.h include
173 * ParagraphList.C: delete file
175 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
177 * toc.C (getTocList): adjust
179 * paragraph_pimpl.C (validate): adjust
181 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
183 * paragraph.C (Paragraph): adjust
184 (getPositionOfInset): use const_iterator, adjust
185 (bibitem): use const_iterator, adjust
186 (setInsetOwner): adjust
188 * iterators.C (operator++): adjust
190 * InsetList.[Ch]: Replace selfmade iterator with standard
191 vector::iterator also introduce const_iterator. Remove getPos,
192 getInset and setInset from InsetTable. Adjust accordingly.
194 * BufferView.C (lockInset): adjust
195 (ChangeInsets): adjust
197 * tabular.[Ch]: delete commented same_id functions
199 2003-05-28 John Levon <levon@movementarian.org>
201 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
203 2003-05-28 André Pönitz <poenitz@gmx.net>
205 * metricsinfo.[Ch]: remove 'fullredraw' member
207 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
209 * lyxtextclass.C (operator): remove caching.
211 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
215 * text2.C (cursorBottom): adjust
216 (setCounter): use ParagraphList::find, adjust
218 * text.C (workWidth): use ParagraphList::find, adjust
220 * lyxcursor.C (LyXCursor): adjust
222 * buffer.C (inset_iterator): adjust
224 * ParagraphList.h: make iterator(value_type) private, make
225 ParagraphList a friend of iterator.
227 * ParagraphList.C (find): new function
229 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
231 2003-05-27 André Pönitz <poenitz@gmx.net>
233 * dimension.[Ch]: a -> asc, d -> des, w -> wid
235 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
239 2003-05-26 John Levon <levon@movementarian.org>
241 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
243 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
245 * remove same_id from function signatures, adjust.
247 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
249 * undo_funcs.C (createUndo): use the id functions directly, adjust.
251 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
253 * paragraph.C (Paragraph): get rid of same_ids parameter
255 * ParagraphList.C (insert): adjust
258 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * paragraph_funcs.C (breakParagraph): adjust
261 (breakParagraphConservative): adjust
263 * buffer.C (readParagraph): adjust
265 * ParagraphList.C (insert): take a reference instead of a pointer
268 * paragraph.[Ch] (id): new function
270 * bufferlist.C (newFile): adjust
272 * ParagraphList.C (ParagraphList): adjust
274 (push_back): take a reference instead of a pointer.
276 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
278 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
281 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
282 set else use old code.
284 * ParagraphList.C: remove all NO_NEXT code and only compile this
285 code of NO_STD_LIST is set.
287 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
289 * BufferView_pimpl.C:
299 * graphics/GraphicsConverter.C:
300 * graphics/PreviewLoader.C: header adjustment
302 2003-05-23 Angus Leeming <leeming@lyx.org>
304 * LaTeXFeatures.[Ch] (useBabel): new method.
305 * bufferparams.C (writeLaTeX): use it.
307 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
309 * ParagraphList.h (set): remove unused function.
311 2003-05-23 André Pönitz <poenitz@gmx.net>
314 * BufferView_pimpl.C:
318 * undo_funcs.C: setUndo reworked
320 * iterators.[Ch]: add access to topmost ParagraphList
322 * lyxtext.[Ch] (workWidth): add a const
324 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
326 * texrow.[Ch] (increasePos): remove function
327 * exporter.C (export): removed unused var and outdated comment
329 2003-05-23 Angus Leeming <leeming@lyx.org>
331 * latexrunparams.h: rename fragile as moving_arg.
332 * paragraph.C (simpleTeXOnePar): ditto.
333 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
335 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
339 (textUndoOrRedo): comment out a currently unused var.
341 * paragraph.h (NO_NEXT): enable NO_NEXT
343 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
345 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
347 * exporter.C (Export): adjust for removeAutoInsets removal.
349 * buffer.C (runChktex): adjust for removeAutoInsets removal.
351 * LyXAction.C (init): remove LFUN_REMOVEERRORS
353 * BufferView.[Ch] (removeAutoInsets): delete function
355 2003-05-22 Angus Leeming <leeming@lyx.org>
357 * latexrunparams.h: add a free_spacing variable.
359 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
360 to pass moving_arg, as the data is stored in runparams.fragile.
362 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
363 to Inset::latexOptional or to simpleTeXOnePar.
365 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
366 free_spacing arg to Inset::latexOptional.
368 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
371 2003-05-22 Angus Leeming <leeming@lyx.org>
373 * latexrunparams.h: add fragile and use_babel variables.
375 * bufferparams.[Ch] (writeLaTeX): return use_babel.
376 * buffer.C (makeLaTeXFile): store this returned value in
377 runparams.use_babel, thus passing it to the inset::latex methods.
379 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
380 simpleTeXSpecialChars as it is now stored in runparams.fragile.
382 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
383 longer has a fragile arg, as it is stored in runparams.fragile.
385 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
386 moving_arg parameter as the data is stored in runparams.fragile.
388 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
389 a fragile parameter as the data is stored in runparams.fragile.
391 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
395 2003-05-22 Angus Leeming <leeming@lyx.org>
397 * latexrunparams.h: add a 'bool nice' which defaults to false.
399 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
400 now encapsulated within runparams.
402 * bufferlist.C (updateIncludedTeXfiles):
403 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
405 2003-05-22 Angus Leeming <leeming@lyx.org>
407 * latexrunparams.h: new file containing struct LatexRunParams.
408 * Makefile.am: add new file.
410 * LaTeX.[Ch] (c-tor, run):
411 * buffer.[Ch] (makeLaTeXFile):
412 * bufferlist.[Ch] (updateIncludedTeXfiles):
413 * converter.C (convert, scanLog):
414 * converter.[Ch] (runLaTeX):
415 * exporter.C (Export):
416 * paragraph.[Ch] (simpleTeXOnePar):
417 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
418 * paragraph_funcs.[Ch] (latexParagraphs):
419 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
420 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
421 pass around a LatexRunParams parameter.
423 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
425 * paragraph.[Ch]: remove unused constructor
427 * ParagraphList.C (erase): new function, taking two iterators
429 2003-05-22 André Pönitz <poenitz@gmx.net>
431 * undo_funcs.C: remove duplicated code
433 * iterator.[Ch]: operator=
435 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
437 * tabular.C (SetMultiColumn): ws changes
439 * rowpainter.C (paintFirst): get rid of a ->previous
441 * lyx_cb.C (getPossibleLabel): parlist simplification
443 * BufferView.C (ChangeInsets): simplify slightly.
445 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
447 * LyXAction.C: new lfun space-insert, kill protected-space-insert
448 * lfuns.h: new LFUN_SPACE
449 * lyxfunc.C: protected space has a new lfun
450 * paragraph_funcs.C: read new space insets
452 * factory.C: handle new space insets
454 2003-05-22 André Pönitz <poenitz@gmx.net>
457 * BufferView_pimpl.C:
460 * undo_funcs.C: return a ParIterator from getParFromID.
462 * iterators.[Ch]: add two const's
464 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
466 * toc.C (getTocList): adjust
468 * iterators.[Ch]: rework for parlist
470 * buffer.C (par_iterator_begin): adjust
471 (par_iterator_end): adjust
473 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
475 * BufferView.C (removeAutoInsets): adjust
476 (ChangeInsets): adjust
478 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
480 * text.C (top_y): fix bug 1110
482 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
484 * errorlist.[Ch]: added
487 * BufferView_pimpl.C:
488 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
491 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
493 * Makefile.am: ensure that lyx is relinked upon changes to the
494 various "convenience" libs.
496 2003-05-20 Angus Leeming <leeming@lyx.org>
498 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
499 files are compiled in alphabetical order again.
501 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
503 2003-05-19 Angus Leeming <leeming@lyx.org>
505 * gettext.[Ch]: remove "char const * _(char const *)".
507 2003-05-19 André Pönitz <poenitz@gmx.net>
509 * dimension.[Ch]: promote from mathed/dimension.[Ch]
518 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
520 2003-05-19 André Pönitz <poenitz@gmx.net>
526 * paragraph_funcs.[Ch]:
528 * text3.C: more insetenv work
530 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
532 * ParagraphParameters.C (params2string): small bug fixed
534 2003-05-16 André Pönitz <poenitz@gmx.net>
537 * bufferview_funcs.C: patch from Kornel Benko to prevent
538 crash when _(...) is called twice in a statement
540 2003-05-16 André Pönitz <poenitz@gmx.net>
547 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
549 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
551 * lyx_main.C (init): remove spurious static_cast
553 2003-05-14 André Pönitz <poenitz@gmx.net>
555 * BufferView.C: fix format string
557 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
559 * BufferView.[Ch] (insertErrors): removed
560 * BufferView.[Ch] (showErrorList): added
561 * buffer.C (runChkTeX):
562 * converter.C (scanLog): call showErrorList instead of inserterrors
564 2003-05-13 André Pönitz <poenitz@gmx.net>
566 * BufferView_pimpl.C:
575 * tabular_funcs.h: tostr() from its own header
577 * ParagraphParameters.C:
584 2003-05-12 André Pönitz <poenitz@gmx.net>
587 * BufferView_pimpl.C:
591 * ParagraphParameters.C:
595 * bufferview_funcs.C:
612 * text3.C: boost::format -> bformat all over the place
615 2003-05-09 André Pönitz <poenitz@gmx.net>
617 * LColor.[Ch]: Pimpl the #include <map> away
619 2003-05-09 John Levon <levon@movementarian.org>
621 * bufferlist.C: never remove emergency saves
623 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
625 * Makefile.am: better lib building
627 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
629 * texrow.[Ch]: remove dependency on Paragraph and just store a id
631 * paragraph_pimpl.C (simpleTeXBlanks): adjust
632 (simpleTeXSpecialChars): adjust
633 (simpleTeXSpecialChars): adjust
634 * paragraph.C (simpleTeXOnePar): adjust
635 * buffer.C (makeLaTeXFile): adjust
637 * Makefile.am (BOOST_LIBS): allow boost as system lib.
639 * text2.C (changeDepth): parlist cleanup
640 (getColumnNearX): ditto
642 * rowpainter.C (getLabelFont): parlist cleanup
644 * bufferlist.C (newFile): parlist cleanup
646 * CutAndPaste.C (eraseSelection): parlist cleanup
648 * BufferView_pimpl.C (trackChanges): parlist cleanup
651 * BufferView.C (lockInset): parlist cleanup.
652 (ChangeInsets): ditto
654 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
656 * CutAndPaste.h: Update file header.
658 * CutAndPaste.C: Update file header.
659 Store the parts cut out of the Document in a limited_stack.
660 (copySelection): adjust
661 (pasteSelection): new function, takes the index in the limited stack.
662 (nrOfParagraphs): adjust
663 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
664 simplify error inset insertion.
665 (checkPastePossible): adjust
667 2003-05-06 John Levon <levon@movementarian.org>
669 * text2.C: don't cast wrap inset to float
671 2003-05-05 André Pönitz <poenitz@gmx.net>
674 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
676 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
677 few naked Paragraph *.
679 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
681 * bufferparams.C: Output warning if a document with missing
682 TeX document class is loaded
683 * exporter.C: Disable TeX exports if the document class is missing
686 * lyxtextclasslist.C: Handle new textclass.lst format; new method
687 isTeXClassAvailable()
689 2003-05-03 John Levon <levon@movementarian.org>
692 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
693 explicit cursor show/hide
695 * BufferView_pimpl.h:
696 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
697 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
699 * lyxfunc.C: hide cursor before dispatching.
704 * text3.C: remove explicit cursor hides
706 2003-05-02 André Pönitz <poenitz@gmx.net>
708 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
711 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
714 * text2.C: tiny whitespace
716 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * undo_funcs.C: almost only ws changes.
720 * ParagraphList.C (splice): just return if pl is empty.
722 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
724 * ParagraphList.C (splice): new function.
726 * CutAndPaste.C (pasteSelection): use it
728 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
730 * CutAndPaste.C (pasteSelection): remove the last next and
731 previous from this file.
733 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
735 * CutAndPaste.C (pasteSelection): more clean up, user proper
736 ParagraphList functions for pasteing.
738 * ParagraphList.C (insert): new function, three arg insert
740 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
742 * ParagraphList.C (insert): new function, three arg insert
744 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
747 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
751 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * CutAndPaste.C (pasteSelection): remove some unneeded code.
755 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
758 (copySelection): clean up a bit.
759 (pasteSelection): use make_pair
761 * ParagraphList.C (ParagraphList): implement copy constructor
762 (operator=): implement, base on copy constructor.
765 * paragraph.C (erase): return a bool
767 * paragraph_pimpl.C (erasePos): remove function, move contents...
768 (erase): ... here. Return a bool.
769 (erase): call erase instead of erasePos.
771 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
773 * ParagraphList.h: define PitPosPair
774 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
775 ParagraphList, fix a bug on pasting multiple pars
776 * text2.C: change interface to C&P
778 2003-04-30 André Pönitz <poenitz@gmx.net>
780 * undo_func.C: revert part of yesterday's patch 2
782 2003-04-30 John Levon <levon@movementarian.org>
784 * LColor.C: s/tabular/table/
786 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
788 * text3.C (dispatch): do not convert iterator -> pointer
789 * undo_funcs.C (setCursorParUndo): ditto
790 * text_funcs.C (transposeChars): ditto
792 * text2.C (setLayout): ws changes only
794 * text.C (breakParagraph): do not convert iterator -> pointer
796 (acceptChange): ditto
797 (rejectChange): ditto
802 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
805 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
807 * text3.C (gotoInset): YABG (yet another bad getChar)
809 2003-04-29 André Pönitz <poenitz@gmx.net>
811 * paragraph.h: make operator= private unimplemented as long as
814 * ParagraphList.C: whitespace
817 * paragraph_pimpl.[Ch]:
820 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
823 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
825 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
827 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
828 * paragraph.[Ch] (erase):
829 * paragraph_pimpl.[Ch] (erase): change return type and value
830 * text2.C (cutSelection): some rework
832 2003-04-28 John Levon <levon@movementarian.org>
834 * bufferlist.C: changes for unsaved changes dialog
836 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
838 * bufferlist.C (newFile): set language (messages_) for new
841 * buffer.C (readFile): ws changes only.
843 2003-04-28 André Pönitz <poenitz@gmx.net>
848 * BufferView_pimpl.C:
849 * BufferView.C: getParFromID related ParagraphList::iterator changes
851 2003-04-28 André Pönitz <poenitz@gmx.net>
853 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
856 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
858 * messages.C: remove one more localedir class variable.
860 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
862 * messages.C (getLocaleDir): singleton generation function
864 (Messages): add a default constructor.
866 * main.C (main): do not setup localedir here, do not call
869 * gettext.C (_): use it.
870 (gettext_init): delete funciton
872 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
874 * gettext.C (getLyXMessages): new singleton generating function.
876 * buffer.C (updateDocLang): adjust
878 * Makefile.am (messages.o): add target
879 (main.o): remove target
881 2003-04-27 John Levon <levon@movementarian.org>
886 * lyxvc.C: specify cancel button in Alert::prompt
888 2003-04-26 John Levon <levon@movementarian.org>
893 * LyXAction.C: add LFUN_INSET_SETTINGS
895 * lyxfunc.C: don't enable tabular-feature when there's
896 just any locking inset
898 2003-04-26 John Levon <levon@movementarian.org>
900 * bufferlist.C: re-add Cancel to buffer close question
902 * lyxfunc.C: fix import UI a bit
904 2003-04-25 John Levon <levon@movementarian.org>
906 * gettext.C: remove the broken asserts for now
908 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
910 * messages.C: make case where setlocale cannot comply work better.
912 * buffer.C (updateDocLang): new function
913 (changeLanguage): use it
916 * text2.C (setCounter): use B_ a bit.
918 * lyxlayout.C (Read): be sure to trim the label strings.
920 * messages.C (Messages): fix typo in comment
922 * buffer.C (readFile): set message_ after file is loaded.
923 (makeDocBookFile): remove double return
924 (changeLanguage): reset message_ upon language change.
925 (B_): new func, use this to get translated buffer strings.
927 * main.C: add myself and Jean Marc as authors.
929 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * messages.[hC]: pimplify Messages, and three different pimpls to be
932 used in different circumstances.
934 * gettext.[Ch]: change for use with new message code.
936 2003-04-24 André Pönitz <poenitz@gmx.net>
938 * factory.C: support for eqref
940 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * messages.[Ch]: add missing char
944 * Makefile.am (lyx_SOURCES): add messages.[Ch]
946 * messages.[Ch]: New files
948 2003-04-18 John Levon <levon@movementarian.org>
952 * BufferView_pimpl.C:
956 * text2.C: remove layout-copy/paste (bug 778)
958 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
960 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
962 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
964 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
965 if they succeed. Act accordingly.
967 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * text2.C (setCharFont): adjust
971 (insertStringAsLines): adjust
973 * text.C (leftMargin): adjust
974 (setHeightOfRow): adjust
976 * rowpainter.C (paintFirst): adjust
979 * paragraph_funcs.C (depthHook): ParagraphList::iterators
981 (isFirstInSequence): ditto
985 * paragraph.C (getParLanguage): comment out some hard stuff.
987 * buffer.C (insertStringAsLines): take a ParagraphList as arg
989 (simpleDocBookOnePar): ditto
990 (makeDocBookFile): use ParagraphList::iterator
992 * CutAndPaste.C (pasteSelection): adjust
994 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
996 * text2.C (getFont): adjust
997 (getLayoutFont): adjust
998 (getLabelFont): adjust
1000 * paragraph_funcs.C (TeXOnePar): adjust
1002 * buffer.C (simpleLinuxDocOnePar): adjust
1003 (simpleDocBookOnePar): adjust
1005 * CutAndPaste.C (pasteSelection): adjust
1007 * BufferView.C (getEncoding): adjust
1009 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1011 2003-04-16 John Levon <levon@movementarian.org>
1013 * lyxfind.C: use parlist stuff for search/changes
1015 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1019 * text2.C (deleteEmptyParagraphMechanism): adjust
1021 * text2.[Ch] (ownerParagraph): delete func (both of them
1023 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1025 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1027 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1029 * ParagraphList.C: prepare for NO_NEXT
1031 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1033 * text2.C (getFont): adjust
1034 (getLayoutFont): adjust
1035 (getLabelFont): adjust
1037 * paragraph.C (getFont): adjust
1038 (getLabelFont): adjust
1039 (getLayoutFont): adjust
1041 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1043 2003-04-15 John Levon <levon@movementarian.org>
1047 * lyx_main.C: handle Include in .ui files
1049 2003-04-15 John Levon <levon@movementarian.org>
1051 * MenuBackend.C: make the doc files length shorter
1054 * ToolbarBackend.C: handle toolbar placement flags,
1057 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1062 * paragraph_funcs.C (TeXOnePar): adjust
1064 * paragraph.C (getLabelFont): add outerfont arg, adjust
1065 (getLayoutFont): ditto
1066 (simpleTeXOnePar): adjust
1068 * paragraph_pimpl.C (realizeFont): delete func
1070 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1072 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1073 row argument, constify cur argument.
1075 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * text2.C (getFont): adjust
1078 (getLayoutFont): adjust
1079 (getLabelFont): adjust
1081 * paragraph_funcs.C (TeXOnePar): adjust
1082 (outerFont): new func...
1083 (realizeFont): ...moved out from here, changed this to facilitate
1086 * paragraph.C (getFont): take outerfont as arg, adjust
1087 (simpleTeXOnePar): add outerfont arg, adjust
1089 * buffer.C (simpleLinuxDocOnePar): adjust
1090 (simpleDocBookOnePar): adjust
1092 * CutAndPaste.C (pasteSelection): adjust
1094 * BufferView.C (getEncoding): adjust
1096 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1098 * text2.C (setCharFont): adjust
1099 (setCounter): adjust
1101 * text.C (leftMargin): adjust
1102 (setHeightOfRow): adjust
1104 * rowpainter.C (paintFirst): adjust
1107 * paragraph_pimpl.C (realizeFont): adjust
1109 * paragraph.C (isFirstInSequence): move from here...
1110 * paragraph_funcs.C (isFirstInSequence): ...to here
1112 * paragraph.C (outerHook): move from here...
1113 * paragraph_funcs.C (outerHook): ...to here
1115 * paragraph.C (depthHook): move from here...
1116 * paragraph_funcs.C (depthHook): ...to here
1118 * paragraph.C (getEndLabel): move from here...
1119 * paragraph_funcs.C (getEndLabel): ...to here
1121 * text2.C (realizeFont): move from here...
1122 * paragraph_funcs.C (realizeFont): ...to here
1124 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1128 2003-04-14 Angus Leeming <leeming@lyx.org>
1130 * LColor.[Ch]: scrap LColor mathcursor.
1132 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1134 * lyxlex.[Ch] (text): delete function
1135 * trans.C (Load): adjust
1136 * paragraph_funcs.C (readParToken): adjust
1138 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1141 vector<char> instead of a char[].
1143 * lyxlex_pimpl.C (getString): adjust
1145 (lex): use getString
1149 * lyxlex.C (text): use pimpl_->getString()
1153 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1156 (makeFontEntriesLayoutSpecific): temp var for par.size()
1157 (setLayout): temp var for ownerParagraphs().end()
1158 (fullRebreak): temp var for rows().end()
1159 (selectionAsString): temp var for boost::next(startpit), realize
1160 that the while really is a regular for loop.
1161 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1162 setCursor in one place.
1163 (setParagraph): temp vr for ownerParagraphs().end()
1164 (updateCounters): make the while loop a for loop
1165 (cutSelection): temp var for ownerParagraphs().end()
1166 (updateInset): make the do {} while() a regular for loop
1167 (getCursorX): use temp vars
1168 (setCurrentFont): use temp vars
1169 (getColumnNearX): use temp vars
1171 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1173 * text.C (transformChar): use temp var for getChar
1174 (computeBidiTables): use temp var for row->par()
1175 (fill): move temp vars for row->par() and pit->layout() earlier in
1177 (labelFill): use temp var for row->par()
1178 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1179 asc and desc, realize that pit never changes and that firstpit is
1180 just a duplicate and not needed. Exchange rit->par() with pit in a
1182 (breakAgain): use a temp var for boost::next(rit)
1183 (breakAgainOneRow): ditto
1184 (breakParagraph): use a temp var for rows().begin()
1185 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1186 (cursorRightOneWord): use temp var for cursor.par() and
1187 cursor.pos(), remove usage of tmpcursor.
1188 (cursorLeftOneWord): use temp var for cursor.par() and
1189 cursor.pos() only set cur at end of function.
1191 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * text.C, text2.C: exchange all usage of Paragraph::next with
1194 boost::next(ParagraphList::iterator)
1196 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1198 * text2.C (cursorTop): simplify implementation
1199 (cursorBottom): ditto
1200 (setParagraph): use ParagraphList::iterator
1201 (setCurrentFont): adjust
1202 (getColumnNearX): adjust
1203 (cursorRight): adjust
1204 (cursorLeft): remove usage of Paragraph::previous
1205 (cursorUpParagraph): ditto
1206 (deleteEmptyParagraphMechanism): slight cleanup
1208 * text.C (isBoundary): take a Paragraph const & instead of a
1210 (addressBreakPoint): ditto
1211 (leftMargin): remove usage of Paragraph::previous.
1212 (setHeightOfRow): ditto
1213 (cursorLeftOneWord): ditto
1214 (selectNextWordToSpellcheck): ditto
1217 (breakParagraph): remove one usage of Paragraph::next
1218 (redoParagraph): ditto
1219 (acceptChange): ditto
1220 (insertChar): adjust
1221 (rowBreakPoint): adjust
1223 * bufferview_funcs.C (toggleAndShow): adjust
1225 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1227 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1228 methods to access it.
1230 * text.C: Added updateRowPositions to compute all row positions.
1231 Make top_y and getRowNearY() to use the cached y position
1233 2003-04-11 John Levon <levon@movementarian.org>
1235 * text.C (rowBreakPoint): reintroduce the labelEnd
1236 checks, code copied from the row fill stuff. Deep voodoo.
1238 * text.C (fill): add a comment and debugging for the
1241 2003-04-11 John Levon <levon@movementarian.org>
1243 * text.C: make sure fullrow insets get wrapped to the next line,
1244 even when they're in a manual label
1246 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * text2.C (insertParagraph): make it take ParagraphList::iterator
1250 (setLayout): make it return ParagraphList::iterator
1251 (redoParagraphs): ditto
1253 (checkParagraph): ditto
1255 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1257 * text2.C: adjust several funcs.
1258 (realizeFont): take a ParagraphList::iterator as arg.
1259 (getLayoutFont): ditto
1260 (getLabelFont): ditto
1261 (setCharFont): ditto
1263 * text.C: adjust several funcs.
1265 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1267 * text.C (selectNextWordToSpellcheck): don't accidentally
1270 2003-04-10 John Levon <levon@movementarian.org>
1272 * ToolbarBackend.C (getIcon): special handling for
1275 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1277 * text2.C (cursorRight): a getChar assert fixed
1279 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1281 * text2.C (getFont): change to take a ParagraphList::iterator
1282 instead of Paragraph*
1283 Adjust several functions.
1285 * text.C (transformChar): change to take a ParagraphList::iterator
1286 instead of Paragraph*
1287 (singleWidth): ditto
1288 Adjust several functions.
1290 * rowpainter.C: adjust several functions
1291 * rowpainter.h:store a ParagraphList::iterator and not a
1295 2003-04-09 John Levon <levon@movementarian.org>
1300 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1301 and the "help" bits as well
1303 2003-04-09 John Levon <levon@movementarian.org>
1306 * ToolbarBackend.C: allow multiple toolbars
1308 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * undo_funcs.C (setCursorParUndo): adjust
1312 * text_funcs.C (transposeChars): adjust
1314 * text3.C (gotoNextInset): adjust
1317 * text2.C (setLayout): adjust
1318 (changeDepth): adjust
1320 (redoParagraphs): adjust
1321 (selectionAsString): adjust
1322 (setParagraph): adjust
1323 (insertInset): adjust
1324 (cutSelection): adjust
1325 (copySelection): adjust
1326 (pasteSelection): adjust
1327 (insertStringAsLines): adjust
1328 (updateInset): adjust
1329 (setCursor): change to take a ParagraphList::iterator parameter
1330 (setCursorIntern): change to take a ParagraphList::iterator parameter
1331 (setCurrentFont): adjust
1332 (cursorLeft): adjust
1333 (cursorRight): adjust
1334 (deleteEmptyParagraphMechanism): adjust
1336 * text.C (breakParagraph): adjust
1337 (insertChar): adjust
1338 (acceptChange): adjust
1339 (rejectChange): adjust
1340 (selectNextWordToSpellcheck): adjust
1341 (changeCase): adjust
1345 * lyxfind.C (SearchForward): adjust
1346 (SearchBackward): adjust
1347 (nextChange): adjust
1349 * lyxcursor.C (par): adjust
1351 * lyxcursor.h: store a ParagraphList::iterator instead of a
1354 * lyx_cb.C (getPossibleLabel): adjust
1356 * bufferview_funcs.C (toggleAndShow): adjust
1358 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1361 * BufferView.C (removeAutoInsets): adjust
1362 (lockedInsetStoreUndo): adjust
1364 2003-04-09 John Levon <levon@movementarian.org>
1366 * ToolbarBackend.C: try icon without argument
1367 if with argument fails
1369 2003-04-08 John Levon <levon@movementarian.org>
1372 * ToolbarBackend.C: add getIcon(), handle tooltip,
1373 and change from "Icon" to "Item".
1375 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1377 * BufferView.C (lockInset): another bad getchar crunched
1379 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1381 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1384 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1386 * lyxfind.C (searchForward, searchBackwards): bug 782
1388 2003-04-07 John Levon <levon@movementarian.org>
1390 * paragraph.C: remove dead comment
1392 * text.C: remove troublesome depth-fiddling code
1393 in leftMargin() and rightMargin() (bug 1017)
1395 * text.C: fix breaking of rows in nested lists
1398 * text2.C (updateCounters): fix up depth values
1401 2003-04-07 John Levon <levon@movementarian.org>
1403 * BufferView_pimpl.C: clear message when doc finishes resizing,
1404 and after a mouse event
1406 * lyxfunc.C: clear message after exiting inset
1408 2003-04-07 John Levon <levon@movementarian.org>
1410 * bufferview_funcs.C: show math status not outside
1411 status in the statusbar
1413 2003-04-07 John Levon <levon@movementarian.org>
1415 * lyxfunc.C: note status changed after a depth change
1417 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1419 * LaTeX.h: move AuxInfo operator==, != out of line.
1420 Remove LaTeX virtual destructor; nothing derives from it.
1421 Move operator()() out of public area and rename it startscript().
1422 Change protected for private.
1424 2003-04-04 Angus Leeming <leeming@lyx.org>
1427 * text2.C: remove unneeded #includes.
1429 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1431 * text2.C (dEPM): fix the heigth of the next row
1433 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1435 * text.C: squashed an invalid getChar requester + some ws changes
1437 2003-04-03 John Levon <levon@movementarian.org>
1439 * bufferview_funcs.h:
1440 * bufferview_funcs.C:
1443 * text2.C: make getStatus work for the env depth lfuns
1445 2003-04-03 John Levon <levon@movementarian.org>
1447 * bufferview_funcs.h:
1448 * bufferview_funcs.C:
1451 * text2.C: parlistize decDepth(), by merging it with incDepth()
1453 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1455 * lyxrow.h: store a ParagraphList::iterator instead of a
1456 Paragraph* and adjust other class functions to suit.
1458 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1461 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1463 * text2.C (setCursor): do not anchor to cursor row for the time being
1465 2003-04-02 John Levon <levon@movementarian.org>
1472 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1474 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1476 * paragraph.h: make ParagraphList and ParagraphList::iterator
1477 friends of Paragraph.
1479 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1481 * ParagraphList.C: Use the private next_ and previous_ from
1484 2003-04-01 John Levon <levon@movementarian.org>
1488 * Makefile.am: rename, remove defaults gunk
1491 * MenuBackend.C: remove defaults gunk
1494 * Languages.C: remove defaults gunk
1497 * lyx_main.C: error out if files couldn't be found.
1499 2003-04-02 John Levon <levon@movementarian.org>
1501 * text2.C: make incDepth() use parlist
1503 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * undo_funcs.C (firstUndoParagraph): adjust
1507 * text3.C (gotoInset): adjust
1508 (dispatch): adjust, and rewrite loop.
1510 * text2.C (init): adjust, and rewrite loop.
1511 (redoParagraphs): adjust
1512 (updateInset): adjust, and rewrite loop.
1513 (deleteEmptyParagraphMechanism): adjust
1515 * tabular.C (LyXTabular): adjust
1516 (SetMultiColumn): adjust
1519 * lyxtext.[Ch] (ownerParagraph): delete function
1520 (ownerParagraphs): new function returns a ParagraphList.
1522 * BufferView.C (removeAutoInsets): adjust
1523 (insertErrors): adjust
1524 (setCursorFromRow): adjust
1526 2003-04-01 Angus Leeming <leeming@lyx.org>
1528 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1531 2003-04-02 John Levon <levon@movementarian.org>
1537 * text_funcs.C: make transposeChars a free function
1539 * lyxrow_funcs.C: remove wrong comment
1541 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * rowpainter.C: adjust
1549 * lyxrow_funcs. [Ch]: new files
1551 * lyxrow.[Ch]: remove next and previous pointers
1552 (next,previous): remove accessor functions
1553 (isParEnd): move to lyxrow_funcs
1554 (lastPos): move to lyxrow_funcs
1555 (nextRowIsAllInset): move to lyxrow_funcs
1556 (lastPrintablePos): move to lyxrow_funcs
1557 (numberOfSeparators): move to lyxrow_funcs
1558 (numberOfHfills): move to lyxrow_funcs
1559 (numberOfLabelHfills): move to lyxrow_funcs
1560 (hfillExpansion): move to lyxrow_funcs
1564 * bufferview_funcs.C (toggleAndShow): adjust
1566 * RowList.h: Remove class RowList from file leave just a
1569 * RowList.C: delete file
1571 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1574 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * text3.C (cursorPrevious): adjust
1577 (cursorNext): adjust
1580 * text2.C (redoHeightOfParagraph): adjust
1581 (redoDrawingOfParagraph): adjust
1584 * text.C (breakParagraph): adjust
1585 (insertChar): adjust
1588 * rowpainter.C (RowPainter): adjust
1589 (leftMargin): simplify and adjust
1590 (most rowpainter functions): adjust.
1592 * rowpainter.h: store the row as RowList::iterator not as Row*
1594 * lyxcursor.C (row): taka RowList::iterator as arg
1597 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1600 2003-04-01 Angus Leeming <leeming@lyx.org>
1602 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1603 stuff like bool Bool.
1605 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1607 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1610 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1615 * lyxtext.h (rows): drop one version and leve a const variant that
1616 returns a RowList::iterator.
1618 2003-03-31 Angus Leeming <leeming@lyx.org>
1620 * text.C (fill): ensure that the signature is the same as that in the
1623 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * text2.C (redoParagraphs): adjust
1626 (updateCounters): adjust
1627 (checkParagraph): adjust
1628 (getColumnNearX): adjust and reformat a bit.
1630 * text.C (top_y): adjust
1632 (leftMargin): adjust
1633 (prepareToPrint): adjust
1635 (getRowNearY): adjust
1637 * lyxtext.h: make rowlist_ mutable.
1639 * RowList.h: add const_iterator
1640 * RowList.C: adjust for RowList::const_iterator.
1642 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1645 2003-03-31 John Levon <levon@movementarian.org>
1648 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1650 * lyx_main.C: set default fonts from using lyx_gui funcs
1652 * exporter.C: pdf_mode moved from lyxrc
1655 * lyxfunc.C: changes from above
1657 2003-03-31 John Levon <levon@movementarian.org>
1659 * lyx_main.C: fix to the last fix
1661 2003-03-31 John Levon <levon@movementarian.org>
1663 * bufferlist.C: "Load original" -> "Load Original"
1669 * format.C: more Alert cleanups
1671 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1673 * text2.C (removeParagraph): make it take a RowList::iterator as
1675 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1676 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1678 * text.C (anchor_row): make it take a RowList::iterator as arg,
1680 (computeBidiTables): make it take a const reference to Row instead
1681 of Row pointer, adjust.
1682 (leftMargin): make it take a RowList::iterator as arg, adjust.
1683 (rowBreakPoint): adjust
1684 (breakAgainOneRow): make it take a RowList::iterator as arg,
1686 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1688 * bufferview_funcs.C (toggleAndShow): adjust
1690 2003-03-30 John Levon <levon@movementarian.org>
1694 * boost-inst.C: moved to support
1696 * several files: changes as a result
1698 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1700 * text2.C (LyXText): adjust.
1702 (removeRow): make it take a RowList::iterator as arg, adjust.
1703 (fullRebreak): adjust
1704 (deleteEmptyParagraphMechanism): adjust
1705 (clearPaint): adjust
1708 * text.C (top_y): adjust
1709 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1710 (breakAgain): make it take a RowList::iterator as arg, adjust.
1711 (breakParagraph): adjust
1712 (insertChar): adjust
1715 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1716 need_break_row, and refresh_row.
1718 * text3.C (dispatch): adjust
1720 * text2.C (checkParagraph): adjust
1722 (setCursorFromCoordinates): adjust
1724 * text.C (top_y): adjust
1726 (getRow): make it return a RowList::iterator, adjust
1727 (getRowNearY): make it return a RowList::iterator, adjust
1729 * text2.C (init): adjust
1730 (insertRow): remove function
1731 (insertParagraph): adjust
1732 (redoParagraphs): adjust
1733 (fullRebreak): adjust
1734 (updateCounters): adjust
1736 * text.C (top_y): rewrite to use RowList iterators.
1738 (setHeightOfRow): rewrite to sue RowList iterators.
1739 (appendParagraph): adjust
1740 (breakAgain): adjust
1741 (breakAgainOneRow): adjust
1742 (breakParagraph): adjust
1744 (getRowNearY): adjust, and remove commented code.
1746 * lyxtext.h (firstRow): delete function
1747 (lastRow): delete function
1748 (rows): new function (const and non-const versions.)
1749 (insertRow): delete function
1751 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1753 2003-03-29 John Levon <levon@movementarian.org>
1755 * BufferView_pimpl.C: always update scrollbar top
1756 because pasting text when we're anchored could mean we
1757 miss an update altogether
1759 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * text2.C (init): use rowlist_.end() and not 0.
1762 (insertRow): change to take a RowList::iterator as arg, adjust
1764 (insertParagraph): change to take a RowList::iterator as arg,
1766 (redoParagraphs): remove some debug msgs.
1768 * text.C (appendParagraph): change to take a RowList::iterator
1769 arg, adjust for this.
1770 (breakAgain): add an assert
1771 (breakAgainOneRow): ditto
1773 2003-03-29 John Levon <levon@movementarian.org>
1775 * text2.C: do not clear selection after inc/decDepth
1778 2003-03-29 John Levon <levon@movementarian.org>
1781 * buffer.C: fix broken strerrors according to Lars
1783 2003-03-29 John Levon <levon@movementarian.org>
1785 * converters.C: more Alert cleanups
1787 2003-03-29 John Levon <levon@movementarian.org>
1789 * bufferview_funcs.C: remove pointless Alert
1791 * buffer.C: fix confusing error message when
1792 a template is chmoded 000
1794 2003-03-29 John Levon <levon@movementarian.org>
1798 * BufferView_pimpl.C: Alert fixes
1802 * tabular-old.C: remove unused table compat reading
1804 2003-03-29 John Levon <levon@movementarian.org>
1809 * lyx_cb.C: more Alert cleanups
1811 * lyxfunc.C: don't allow chktex if not latex document
1813 2003-03-29 John Levon <levon@movementarian.org>
1817 * buffer.C: warnings pushed down from support/,
1820 2003-03-29 John Levon <levon@movementarian.org>
1822 * lyxfunc.C: safety check for C-r (revert)
1824 2003-03-29 John Levon <levon@movementarian.org>
1827 * bufferlist.C: several UI fixes using Alert::prompt.
1828 Fix the pointless looping quit code. Fix stupid revert
1833 * lyx_cb.C: use Alert::prompt
1835 * lyx_main.C: remove a silly question
1837 * lyxfunc.C: remove a couple of silly questions,
1840 2003-03-28 John Levon <levon@movementarian.org>
1842 * text2.C: fix bug 974 (End on empty par)
1844 2003-03-28 John Levon <levon@movementarian.org>
1846 * BufferView_pimpl.C:
1848 * lfuns.h: remove do-nothing math greek lfuns
1850 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * lyxgluelength.h (isValidGlueLength): add default arg on
1853 parameter 2. Remove default arg from friend in class.
1855 * lyxlength.h (isValidLength): add default arg on parameter 2.
1856 Remove default arg from friend in class.
1858 * text2.C (LyXText): adjust, initialize refresh_row.
1862 (insertParagraph): adjst
1863 (redoParagraphs): adjust
1864 (fullRebreak): adjust
1865 (updateCounters): adjust
1866 (deleteEmptyParagraphMechanism): first attempt at fixing a
1869 * text.C (top_y): adjust
1870 (setHeightOfRow): adjust
1872 (getRowNearY): adjust
1874 * lyxtext.h: include RowList.h
1875 (~LyXText): not needed anymore, deleted.
1876 (firstRow): modify for RowList
1877 (lastRow): new function
1878 Delete firstrow and lastrow class variables, add a Rowlist
1879 rowlist_ class variable.
1881 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1884 * RowList.C (insert): fix case where it == begin().
1886 2003-03-26 Angus Leeming <leeming@lyx.org>
1888 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1889 the thesaurus dialog.
1891 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1895 * RowList.[Ch]: new files
1897 * ParagraphList.C (erase): handle the case where it == begin
1900 2003-03-25 John Levon <levon@movementarian.org>
1904 * aspell.C: add new aspell support
1907 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1910 2003-03-25 Angus Leeming <leeming@lyx.org>
1913 * LyXAction.C (init): new LFUN_INSET_INSERT.
1915 * BufferView_pimpl.C (dispatch): split out part of the
1916 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1918 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1921 2003-03-25 Angus Leeming <leeming@lyx.org>
1923 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1925 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1928 * text3.C: remove useless row->height(0)
1930 2003-03-25 John Levon <levon@movementarian.org>
1934 * text3.C: rename the refreshing stuff to better names
1936 2003-03-24 John Levon <levon@movementarian.org>
1938 * BufferView_pimpl.h:
1939 * BufferView_pimpl.C: update layout choice on a mouse
1942 2003-03-23 John Levon <levon@movementarian.org>
1944 * Makefile.am: fix commandtags.h reference
1946 2003-03-22 John Levon <levon@movementarian.org>
1948 * BufferView_pimpl.C:
1953 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1955 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1958 * text.C: take the rtl methods out of line
1960 2003-03-21 André Pönitz <poenitz@gmx.net>
1962 * metricsinfo.[Ch]: new files containing structures to be passed around
1963 during the two-phase-drawing...
1965 2003-03-21 André Pönitz <poenitz@gmx.net>
1967 * lyxtextclass.C: read 'environment' tag.
1969 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1971 * text2.C (removeRow): fix bug 964
1973 2003-03-20 John Levon <levon@movementarian.org>
1977 * text2.C: paint cleanups. Inset::update() dropped font
1980 2003-03-19 John Levon <levon@movementarian.org>
1982 * lyxfunc.C: only fitcursor/markDirty if available()
1984 2003-03-19 John Levon <levon@movementarian.org>
1986 * commandtags.h: rename to ...
1988 * lfuns.h: ... this, and renumber / cleanup
1990 2003-03-19 John Levon <levon@movementarian.org>
1992 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1993 fit the cursor after an lfun
1997 * BufferView_pimpl.h:
1998 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2000 * LyXAction.C: layout-character should have ReadOnly
2002 * ParagraphParameters.C:
2004 * bufferview_funcs.C:
2011 * undo_funcs.C: changes from above
2013 2003-03-18 John Levon <levon@movementarian.org>
2015 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2016 remove it from update()
2018 * lyxfunc.C: update layout choice after an lfun
2020 * text3.C: remove extra updateLayoutChoice()s
2022 2003-03-18 John Levon <levon@movementarian.org>
2024 * text.C: top_y change means full repaint, fix
2025 a drawing bug with cursor movement
2027 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2031 * text2.C: anchor row on setCursor
2033 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2035 * lyxtext.h: remove almost all mutable keywords
2038 * text3.C: remove const keywords accordingly
2040 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2044 (TeXEnvironment): ditto
2047 2003-03-17 John Levon <levon@movementarian.org>
2049 * text.C (rowBreakPoint): remove attempt to fix displayed
2050 math insets inside a manual label
2052 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * lyxtext.h: remove BufferView* as first arg from almost all class
2056 * other files: adjust.
2058 2003-03-17 John Levon <levon@movementarian.org>
2062 * text2.C: more paint cleanups
2064 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2067 * rowpainter.C: remove "smart" background painting code
2069 2003-03-16 John Levon <levon@movementarian.org>
2074 * text3.C: add helper functions for setting refresh_row/y
2076 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2078 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2079 newline inset which *can* get inserted in the pass_thru layouts.
2080 This is primarily for literate documents.
2082 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2084 * buffer.C: increment LYX_FORMAT to 223
2086 2003-03-14 André Pönitz <poenitz@gmx.net>
2088 * textclass.h: prepare for environment handling, ws changes
2089 * lyxlayout.C: read latexheader and latexfooter tags
2091 2003-03-14 John Levon <levon@movementarian.org>
2093 * text2.C: rewrite ::status() a bit
2095 2003-03-13 John Levon <levon@movementarian.org>
2097 * lyxtext.h: add some docs
2099 2003-03-13 John Levon <levon@movementarian.org>
2104 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2106 2003-03-13 John Levon <levon@movementarian.org>
2108 * text3.C: fix appendix redrawing
2110 2003-03-13 John Levon <levon@movementarian.org>
2112 * text.C (setHeightOfRow):
2114 * rowpainter.C: make appendix mark have the text
2115 "Appendix" so the user knows what it is
2118 * LColor.C: s/appendixline/appendix/ from above
2120 2003-03-13 John Levon <levon@movementarian.org>
2122 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2124 * text.C: fix a getChar(pos) bug properly
2126 2003-03-13 Angus Leeming <leeming@lyx.org>
2129 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2130 Probably only temporary. Let's see how things pan out.
2132 * BufferView.C (unlockInset):
2133 * BufferView_pimpl.C (fitCursor):
2134 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2136 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2137 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2139 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2140 new functions that convert ParagraphParameters to and from a string.
2142 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2143 BufferView::Pimpl's dispatch.
2144 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2146 2003-03-13 André Pönitz <poenitz@gmx.net>
2150 * factory.C: make it aware of InsetEnv
2152 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2154 * text2.C (setCursor): never ask for one past last
2155 (setCursor): add some debugging messages.
2157 * text.C (singleWidth): never ask for one past last
2158 (singleWidth): ditto
2160 (rightMargin): ditto
2161 (rowBreakPoint): ditto
2162 (setHeightOfRow): ditto
2163 (prepareToPrint): ditto
2165 * rowpainter.C (paintBackground): never ask for one past last
2166 (paintText): never ask for one past last
2168 * paragraph_pimpl.C (getChar): make the assert stricter, never
2169 allow the one past last pos to be taken
2171 * paragraph.C (getChar): ws changes only
2173 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2174 (numberOfSeparators): ditto
2175 (numberOfHfills): ditto
2177 2003-03-12 John Levon <levon@movementarian.org>
2183 * paragraph_funcs.C: fix per-buffer authorlists
2185 2003-03-12 John Levon <levon@movementarian.org>
2187 * text.C: fix newline in right address
2189 2003-03-12 Angus Leeming <leeming@lyx.org>
2191 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2192 duplicate those in LyXFunc::dispatch.
2196 * ToolbarDefaults.C:
2197 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2198 Add LFUN_FONTFREE_UPDATE.
2200 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2201 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2203 * bufferview_func.[Ch]: several new functions to facilliate
2204 transfer of data to and from the character dialog.
2206 2003-03-12 John Levon <levon@movementarian.org>
2211 * paragraph_funcs.C:
2212 * paragraph_pimpl.C:
2216 * text3.C: remove META_NEWLINE in favour of an inset
2219 * rowpainter.C: remove paintNewline (done by inset)
2221 2003-03-12 John Levon <levon@movementarian.org>
2223 * paragraph_pimpl.C: complain about bad getChar()s
2224 for a while at least
2226 2003-03-12 John Levon <levon@movementarian.org>
2229 * buffer.C: move paragraph read into a separate function,
2230 a little renaming to reflect that.
2233 * bufferparams.C: remove the author_ids map, not necessary now
2236 * factory.C: moved Buffer::readInset to here
2238 * paragraph_funcs.h:
2239 * paragraph_funcs.C: readParagraph free function moved from
2242 * tabular.C: name change
2244 2003-03-12 John Levon <levon@movementarian.org>
2247 * ParagraphParameters.C: move par params input to
2250 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2251 behave like a normal read from the stream wrt reading
2252 a line vs. a \\token
2254 2003-03-12 John Levon <levon@movementarian.org>
2257 * ParagraphParameters.h:
2258 * ParagraphParameters.C: move output code to a
2261 2003-03-12 John Levon <levon@movementarian.org>
2263 * BufferView.C (insertLyXFile):
2266 * tabular.C: use a parlist iterator for creating the
2269 2003-03-12 John Levon <levon@movementarian.org>
2271 * buffer.C: make current_change static local not
2274 2003-03-12 John Levon <levon@movementarian.org>
2276 * buffer.C: fix insertStringAsLines for change tracking
2278 2003-03-12 John Levon <levon@movementarian.org>
2285 * bufferparams.C: move author list into params. Rename some
2286 functions. Move the header reading into a separate token
2287 loop. Move the header token reading into BufferParams.
2289 2003-03-12 John Levon <levon@movementarian.org>
2291 * changes.C: put debug inside lyxerr.debugging() checks
2293 2003-03-11 André Pönitz <poenitz@gmx.net>
2295 * factory.C: make it aware of InsetHFill
2297 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2299 * buffer.C (latexParagraphs): move function from here...
2300 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2303 2003-03-10 Angus Leeming <leeming@lyx.org>
2305 * LyXAction.C (init): fix bug in poplating array with multiple entries
2306 with the same LFUN (spotted by JMarc).
2308 2003-03-10 John Levon <levon@movementarian.org>
2311 * text2.C: move getColumnNearX() near its
2314 2003-03-10 John Levon <levon@movementarian.org>
2316 * text.C: fix break before a minipage
2318 2003-03-10 John Levon <levon@movementarian.org>
2320 * text.C: fix the last commit
2322 2003-03-09 John Levon <levon@movementarian.org>
2326 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2327 bug 365 (don't break before insets unless needed). Don't
2328 return a value > last under any circumstances.
2330 2003-03-09 Angus Leeming <leeming@lyx.org>
2332 * BufferView_pimpl.C (trackChanges, dispatch): call
2333 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2335 2003-03-09 Angus Leeming <leeming@lyx.org>
2337 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2338 than Dialogs::showAboutlyx().
2340 2003-03-09 Angus Leeming <leeming@lyx.org>
2342 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2343 than Dialogs::showTabularCreate().
2345 2003-03-09 John Levon <levon@movementarian.org>
2349 * text2.C: 3rd arg to nextBreakPoint was always the same.
2352 2003-03-08 John Levon <levon@movementarian.org>
2359 * text2.C: Remove the "main" bit from the "main body"
2362 2003-03-08 John Levon <levon@movementarian.org>
2364 * text.C (leftMargin): The left margin of an empty
2365 manual label paragraph should not include the label width
2368 * text.C (prepareToPrint): don't attempt to measure hfills
2369 for empty manual label paragraphs - the answer should be 0
2371 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * CutAndPaste.C: remove commented code and reindent.
2375 2003-03-08 John Levon <levon@movementarian.org>
2378 * lyxfunc.C: move reloadBuffer()
2381 * BufferView.C: to here
2383 * lyxvc.C: add comment
2386 * vc-backend.C: call bv->reload() to avoid
2387 getStatus() check on MENURELOAD
2389 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2391 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2392 to an old format .dep file.
2394 2003-03-07 Angus Leeming <leeming@lyx.org>
2396 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2397 when the LFUN_MOUSE_RELEASE should have been handled by
2398 inset->localDispatch.
2400 2003-03-07 Angus Leeming <leeming@lyx.org>
2402 * BufferView_pimpl.C (dispatch):
2403 * LyXAction.C (init):
2404 * ToolbarDefaults.C (init):
2406 * lyxfunc.C (getStatus):
2407 remove LFUN_INSET_GRAPHICS.
2409 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2411 2003-03-07 Angus Leeming <leeming@lyx.org>
2414 * LyXAction.C (init):
2415 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2417 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2420 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2422 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2423 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2425 2003-03-07 Angus Leeming <leeming@lyx.org>
2427 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2430 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * ParagraphList.C (front): new function
2435 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2437 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2438 and top_row_offset_. removed var first_y.
2440 * text2.C (LyXText, removeRow):
2442 * BufferView_pimpl.C:
2443 use these methods instead of using first_y
2445 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * text2.C (pasteSelection): adjust for checkPastePossible
2449 * CutAndPaste.C: remove Paragraph * buf and replace with
2450 ParagraphList paragraphs.
2451 (DeleteBuffer): delete
2452 (cutSelection): change the tc type to textclass_type
2453 (copySelection): change the tc type to textclass_type
2454 (copySelection): adjust for ParagraphList
2455 (pasteSelection): change the tc type to textclass_type
2456 (pasteSelection): adjust for Paragraphlist
2457 (nrOfParagraphs): simplify for ParagraphList
2458 (checkPastePossible): simplify for ParagraphList
2459 (checkPastePossible): remove unused arg
2461 * ParagraphList.C (insert): handle the case where there are no
2464 * CutAndPaste.h: make CutAndPaste a namespace.
2466 * text3.C (dispatch): adjust
2468 * text.C (breakParagraph): add a ParagraphList as arg
2470 * paragraph_funcs.C (breakParagraph): change to take a
2471 BufferParams and a ParagraphList as args.
2472 (breakParagraphConservative): ditto
2473 (mergeParagraph): ditto
2474 (TeXDeeper): add a ParagraphList arg
2475 (TeXEnvironment): ditto
2478 * buffer.C (readLyXformat2): adjust
2479 (insertStringAsLines): adjust
2480 (latexParagraphs): adjust
2482 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2483 (cutSelection): adjust
2484 (pasteSelection): adjust
2486 * BufferView_pimpl.C (insertInset): adjust
2488 2003-03-05 Angus Leeming <leeming@lyx.org>
2491 * LyXAction.C (init):
2492 * BufferView_pimpl.C (dispatch):
2493 * lyxfunc.C (getStatus):
2494 remove LFUN_CHILD_INSERT.
2496 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2498 2003-03-05 Angus Leeming <leeming@lyx.org>
2501 * LyXAction.C (init):
2502 * src/factory.C (createInset):
2503 * lyxfunc.C (getStatus):
2504 * text3.C (dispatch):
2505 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2507 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2509 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * ParagraphList.C (insert): handle insert right before end()
2512 (erase): fix cases where it can be first or last paragraph.
2514 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2517 Paragraph::next and Paragraph::previous
2520 * text.C (breakParagraph): adjust
2522 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2523 BufferParams& as arg.
2524 (breakParagraph): use ParagraphList::insert
2525 (breakParagraphConservative): take a Buffer* instead of a
2526 BufferParams& as arg.
2527 (breakParagraphConservative): use ParagraphList::insert.
2529 * buffer.C (insertStringAsLines): un-const it
2530 (insertStringAsLines): adjust
2532 * ParagraphList.C (insert): new function
2534 * CutAndPaste.C (pasteSelection): adjust
2536 * text.C (backspace): adjust
2538 * tabular.C (SetMultiColumn): adjust
2540 * CutAndPaste.C (cutSelection): adjust
2541 (pasteSelection): adjust
2543 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2544 Buffer const * as arg
2546 * ParagraphList.C (erase): new function
2547 * paragraph_funcs.C (mergeParagraph): use it
2548 (mergeParagraph): make it take a Buffer* instead of a
2549 BufferParams* as arg
2551 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2553 (breakParagraphConservative): ditto
2555 * paragraph.h: remove the breakParagraph friend
2557 * paragraph.C (eraseIntern): new function
2558 (setChange): new function
2560 * paragraph_funcs.C (mergeParagraph): make it take a
2561 ParagraphList::iterator instead of a Paragraph *, adjust
2564 * paragraph.h: move an #endif so that the change tracking stuff
2565 also works in the NO_NEXT case.
2567 2003-03-04 Angus Leeming <leeming@lyx.org>
2570 * LyXAction.C: new LFUN_INSET_MODIFY.
2572 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2573 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2575 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * several files: ws changes only
2579 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2580 (TeXEnvironment): ditto
2583 * buffer.C (makeLaTeXFile): adjust
2584 (latexParagraphs): make it take ParagraphList::iterator as args
2586 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * buffer.C (latexParagraphs): adjust
2590 * paragraph.C (TeXOnePar): move function...
2591 (optArgInset): move function...
2592 (TeXEnvironment): move function...
2593 * paragraph_pimpl.C (TeXDeeper): move function...
2594 * paragraph_funcs.C: ...here
2596 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2598 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * buffer.C (readInset): remove compability code for old Figure and
2603 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2605 * buffer.C: ws changes
2608 * BufferView_pimpl.C: ditto
2611 * bufferlist.h: ditto
2615 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2617 * converter.[Ch]: split into itself +
2620 * Makefile.am: += graph.[Ch] + format.[Ch]
2627 * lyxrc.C: added #include "format.h"
2629 2003-02-27 Angus Leeming <leeming@lyx.org>
2631 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2634 * factory.C (createInset): add "label" to the factory.
2636 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2637 string and do no more.
2639 2003-02-27 Angus Leeming <leeming@lyx.org>
2642 * LyXAction.C (init):
2643 * factory.C (createInset):
2644 * BufferView_pimpl.C (dispatch):
2645 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2647 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2649 * lyxfunc.C (dispatch):
2650 * text3.C (dispatch): pass name to params2string.
2652 2003-02-26 Angus Leeming <leeming@lyx.org>
2654 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2656 Rearrange the ~includes. Strip out the unnecessary ones.
2658 * factory.C (createInset): reformat.
2659 create new insets for the various LFUN_XYZ_APPLY lfuns.
2661 2003-02-26 John Levon <levon@movementarian.org>
2664 * lyxrow.C: add isParStart,isParEnd helpers
2666 * paragraph.h: make isInserted/DeletedText take refs
2668 * paragraph_funcs.h:
2669 * paragraph_funcs.C: remove #if 0'd code
2674 * text.C: use lyxrow helpers above.
2675 Move draw and paint routines to RowPainter.
2676 Make several methods use refs not pointers.
2677 Make backgroundColor() const.
2678 Add markChangeInDraw(), isInInset().
2679 Merge changeRegionCase into changeCase.
2680 Make workWidth() shouldn't-happen code into an Assert.
2683 * rowpainter.C: new class for painting a row.
2686 * vspace.C: make inPixels take a ref
2688 2003-02-26 Angus Leeming <leeming@lyx.org>
2690 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2693 2003-02-25 John Levon <levon@movementarian.org>
2695 * ispell.C: give the forked command a more accurate name
2697 2003-02-22 John Levon <levon@movementarian.org>
2700 * toc.C: make TocItem store an id not a Paragraph *
2703 2003-02-21 Angus Leeming <leeming@lyx.org>
2705 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2706 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2707 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2708 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2709 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2710 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2712 * BufferView_pimpl.C (dispatch):
2713 * LyXAction.C (init):
2714 * factory.C (createInset):
2715 * lyxfunc.C (getStatus, dispatch):
2716 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2718 2003-02-21 Angus Leeming <leeming@lyx.org>
2720 * BufferView_pimpl.C (MenuInsertLyXFile):
2721 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2722 * lyxfunc.C (menuNew, open, doImport):
2723 no longer pass a LyXView & to fileDlg.
2725 2003-02-21 Angus Leeming <leeming@lyx.org>
2727 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2728 * LyXAction.C: change, BIBKEY to BIBITEM.
2729 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2730 Change InsetBibKey to InsetBibitem.
2731 Change BIBKEY_CODE to BIBITEM_CODE.
2732 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2733 * factory.C: replace insetbib.h with insetbibitem.h.
2734 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2735 * paragraph.C: replace insetbib.h with insetbibitem.h.
2736 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2737 Change bibkey() to bibitem().
2738 * text.C: remove insetbib.h.
2739 * text2.C: replace insetbib.h with insetbibitem.h.
2740 change bibkey() to bibitem().
2741 * text3.C: remove insetbib.h.
2742 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2744 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2746 * lyxrc.C (output): enclose user email in quotes (in case there are
2749 2003-02-18 John Levon <levon@movementarian.org>
2751 * buffer.h: add std::
2753 2003-02-17 John Levon <levon@movementarian.org>
2759 * pspell.C: reworking. Especially in ispell, a large
2760 number of clean ups and bug fixes.
2762 * lyxfunc.C: fix revert to behave sensibly
2764 2003-02-17 André Pönitz <poenitz@gmx.net>
2767 * commandtags.h: new LFUN_INSERT_BIBKEY
2777 * paragraph_func.C: remove special bibkey handling
2779 2003-02-17 John Levon <levon@movementarian.org>
2781 * text.C (Delete): fix case where delete at the end of
2782 the very first paragraph would not merge the pars
2784 2003-02-17 John Levon <levon@movementarian.org>
2786 * lyxrow.C: fix lastPrintablePos()
2788 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2790 * bufferparams.C (writeLaTeX): add a std:here
2792 * buffer.C: and remove a using directive there
2794 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2796 * buffer.C (makeLaTeXFile): move the code that generates the
2799 * bufferparams.C (writeLaTeX): ... in this new method
2801 * LaTeXFeatures.C (getEncodingSet): make const
2802 (getLanguages): make const
2804 * MenuBackend.C (binding): returns the binding associated to this
2806 (add): sets the status of each item by calling getStatus. Adds
2808 (read): add support for OptSubMenu
2809 (expand): remove extra separator at the end of expanded menu
2811 2003-02-15 John Levon <levon@movementarian.org>
2814 * BufferView_pimpl.C:
2816 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2817 inset code that had no actual effect. Remove unneeded status
2820 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2822 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2825 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2827 * text.C (drawLengthMarker): also draw an arrow marker for
2828 symbolic lengths (medskip...)
2830 2003-02-14 John Levon <levon@movementarian.org>
2833 * tabular.C: better method names
2835 2003-02-14 John Levon <levon@movementarian.org>
2837 * BufferView_pimpl.C:
2842 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2843 it's a more accurate name. Remove some pointless uses.
2845 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2847 * text2.C (LyXText): change order of initilizers to shut off
2850 2003-02-14 John Levon <levon@movementarian.org>
2852 * buffer.C: use ParIterator for getParFromID()
2856 * paragraph_pimpl.h:
2857 * paragraph_pimpl.C: remove unused getParFromID()
2859 2003-02-14 John Levon <levon@movementarian.org>
2861 * buffer.C: remove some very old #if 0'd parse code
2863 2003-02-13 John Levon <levon@movementarian.org>
2867 * text2.C: move hfillExpansion(), numberOfSeparators(),
2868 rowLast(), rowLastPrintable(), numberofHfills(),
2869 numberOfLabelHfills() ...
2872 * lyxrow.C: ... to member functions here.
2877 * text.C: remove LyXText::beginningOfMainBody(), and call
2878 p->beginningOfMainBody() directly. Move the check for
2879 LABEL_MANUAL into the latter.
2886 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2892 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2893 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2895 2003-02-13 John Levon <levon@movementarian.org>
2897 * CutAndPaste.C: remove debug
2899 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2901 * paragraph.C (asString): remove two unused variables
2903 * lyxtextclass.C (readTitleType):
2905 (LyXTextClass): handle new members titletype_ and titlename_
2907 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2909 2003-02-09 John Levon <levon@movementarian.org>
2912 * buffer.C: replace hand-coded list with a map for the dep clean
2914 2003-02-08 John Levon <levon@movementarian.org>
2916 * LaTeX.C: consolidate code into showRunMessage() helper
2918 2003-02-08 John Levon <levon@movementarian.org>
2923 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2924 and pass the size in explicitly
2926 * BufferView_pimpl.h:
2927 * BufferView_pimpl.C:
2929 * BufferView.C: add getCurrentChange()
2931 * BufferView_pimpl.h:
2932 * BufferView_pimpl.C: handle change lfuns
2934 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2935 for changes. Mark pasted paragraphs as new.
2937 * support/lyxtime.h:
2938 * support/lyxtime.C:
2939 * DepTable.C: abstract time_t as lyx::time_type
2942 * LColor.C: add colours for new text, deleted text, changebars
2944 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2945 package use "usenames" option.
2949 * LyXAction.C: add change lfuns
2953 * author.C: author handling
2956 * buffer.C: add a per-buffer author list, with first entry as
2957 current author. Handle new .lyx tokens for change tracking. Output
2958 author list to .lyx file. Output dvipost stuff to .tex preamble.
2959 Bump lyx format to 222.
2962 * bufferlist.C: add setCurrentAuthor() to reset current author details
2966 * bufferparams.C: add param for tracking
2968 * bufferview_funcs.C: output change info in minibuffer
2972 * changes.C: add change-tracking structure
2975 * debug.C: add CHANGES debug flag
2978 * lyxfind.C: add code for finding the next change piece
2981 * lyxrc.C: add user_name and user_email
2984 * lyxrow.C: add a metric for the top of the text line
2987 * text.C: implement accept/rejectChange()
2990 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2991 Strike through deleted text.
2995 * paragraph_pimpl.h:
2996 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2997 to the insert functions. Rework erase to mark text as deleted, adding
2998 an eraseIntern() and a range-based erase(). Implement
2999 per-paragraph change lookup and accept/reject.
3001 * paragraph_funcs.C: Fixup paste for change tracking.
3003 * tabular.C: mark added row/columns as new.
3005 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
3006 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
3008 * text2.C: leave cursor at end of selection after a cut.
3010 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3012 * text.C (getLengthMarkerHeight):
3013 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3014 visible on screen too.
3016 2003-02-07 John Levon <levon@movementarian.org>
3018 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3020 2003-02-05 Angus Leeming <leeming@lyx.org>
3022 * lyxserver.C (read_ready): revert my patch of 11 September last year
3023 as it sends PC cpu through the roof. Presumably this means that
3024 the lyxserver will no longer run on an Alpha...
3026 2003-01-30 Angus Leeming <leeming@lyx.org>
3028 * factory.C (createInset): create an InsetCommandParam of type "index"
3029 and use it to 'do the right thing'.
3031 * text2.C (getStringToIndex): ensure that cursor position is always
3032 reset to the reset_cursor position.
3034 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3036 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3039 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3043 * lyxfunc.C: Output messages with identical spelling, punctuation,
3046 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3048 * MenuBackend.C (expandFormats): List only viewable export formats
3051 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3054 * lyxfunc.C (getStatus): Make sure that formats other than
3055 "fax" can also be disabled
3057 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3059 * text3.C (dispatch): put the lfuns that insert insets in 3
3060 groups, and call doInsertInset with appropriate arguments.
3061 (doInsertInset): new function, that creates an inset and inserts
3062 it according to some boolean parameters.
3064 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * buffer.C (readFile): remember to pass on 'par' when calling
3067 readFile recursively.
3069 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3071 * MenuBackend.C (expandFormats): add "..." to import formats.
3073 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3075 * paragraph.C (asString): Remove XForms RTL hacks.
3077 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3078 * buffer.C: fix typo
3080 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3082 * Makefile.am (LIBS): delete var
3083 (lyx_LDADD): add @LIBS@ here instead.
3085 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3087 * Clarify the meaning of "wheel mouse jump"
3089 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3091 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3094 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3096 * importer.C (Loaders): do not preallocate 3 elements in the
3097 vector, since one ends up with 6 elements otherwise
3099 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3101 * DepTable.C (write): write the file name as last element of the
3102 .dep file (because it may contain spaces)
3103 (read): read info in the right order
3105 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3107 * paragraph_pimpl.C (simpleTeXBlanks):
3108 (simpleTeXSpecialChars):
3109 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3111 * tabular.C (latex): add some missing case statements. Reindent.
3113 * MenuBackend.C (expandToc): remove unused variable.
3115 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3124 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3127 2003-01-05 John Levon <levon@movementarian.org>
3130 * BufferView.C: add getEncoding()
3133 * kbsequence.C: do not store last keypress
3136 * lyxfunc.C: store last keypress here instead. Pass encoding
3139 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3141 * lyx_main.C (init): remove annoying error message when following
3142 symbolic links (bug #780)
3144 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3146 * text.C (insertChar):
3147 * lyxrc.C (getDescription): remove extra spaces
3149 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3151 * lyxrc.C (getDescription): remove extra spaces
3153 2002-12-20 John Levon <levon@movementarian.org>
3155 * text3.C: hack fix for page up/down across tall rows
3157 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3159 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3162 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3164 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3165 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3166 thesaurus is not compiled in
3168 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3170 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3172 2002-12-16 Angus Leeming <leeming@lyx.org>
3175 * lyx_main.C (init): remove override_x_deadkeys stuff.
3177 2002-12-12 John Levon <levon@movementarian.org>
3179 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3180 insert. Only remove shift modifier under strict
3183 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3185 * MenuBackend.C (expandToc): fix crash.
3187 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3189 * MenuBackend.C (expandToc): gettext on float names.
3191 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3193 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3194 implement bool empty() [bug 490]
3196 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3200 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * several files: ws changes
3204 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3206 * text2.C (setCounter): clean up a bit, use boost.format.
3207 (updateCounters): initialize par upon declaration.
3209 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3210 if the layout exists. We do not just store the layout any more.
3211 (SwitchLayoutsBetweenClasses): use boost.format
3213 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3215 * converter.C (convert): if from and to files are the same, use a
3216 temporary files as intermediary
3218 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3221 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3223 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3225 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3227 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3229 * tabular.C (asciiPrintCell): use string(size, char) instead of
3232 * sgml.C (openTag): fix order of arguments to string constructor
3235 * lyxfunc.C (dispatch): use boost.format
3237 * lots of files: change "c" -> 'c'
3239 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3241 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3243 2002-11-25 Angus Leeming <leeming@lyx.org>
3245 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3247 * lyx_main.C (init): compile fix.
3249 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3251 * lyx_cb.C (start): boost.formatify
3252 do not include <iostream>
3254 * lengthcommon.C: ws only
3256 * boost-inst.C,BoostFormat.h: add more explict instantations
3258 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3260 * lots of files: handle USE_BOOST_FORMAT
3262 2002-11-21 John Levon <levon@movementarian.org>
3264 * pspell.C: fix compile
3266 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3268 * lyxfunc.C (dispatch): use boost::format
3272 * lyxfont.C (stateText): use boost::format
3274 * lyx_main.C (LyX): use boost::format
3276 (queryUserLyXDir): ditto
3279 (typedef boost::function): use the recommened syntax.
3281 * importer.C (Import): use boost::format
3283 * debug.C (showLevel): use boost::format
3285 * converter.C (view): use boost::format
3290 * bufferview_funcs.C (currentState): use boost::format
3292 * bufferlist.C (emergencyWrite): use boost::format
3294 * buffer.C (readLyXformat2): use boost::format
3295 (parseSingleLyXformat2Token): ditto
3297 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3299 * LaTeX.C (run): use boost::format
3301 * Chktex.C (scanLogFile): use boost::format
3303 * BufferView_pimpl.C (savePosition): use boost::format
3304 (restorePosition): ditto
3305 (MenuInsertLyXFile): ditto
3307 * BoostFormat.h: help file for explicit instation.
3309 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3311 * tabular.C (latex): Support for block alignment in fixed width
3314 2002-11-17 John Levon <levon@movementarian.org>
3316 * BufferView_pimpl.C:
3318 * lyxfunc.C: split filedialog into open/save
3320 2002-11-08 Juergen Vigna <jug@sad.it>
3322 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3323 by my last patch (hopefully).
3325 2002-11-08 John Levon <levon@movementarian.org>
3334 * toc.C: ParConstIterator, and use it (from Lars)
3336 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3338 * lyxtextclass.[Ch]: revise and add doxygen comments
3340 2002-11-07 John Levon <levon@movementarian.org>
3342 * text.C: fix progress value for spellchecker
3344 * toc.C: fix navigate menu for insetwrap inside minipage
3346 * paragraph_funcs.C: added FIXME for suspect code
3348 2002-11-07 John Levon <levon@movementarian.org>
3350 * BufferView_pimpl.C: fix redrawing of insets
3353 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3355 * text2.C (updateCounters): fix bug 668
3357 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3359 * text3.C (dispatch): Do not make the buffer dirty when moving the
3362 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3364 * vc-backend.C: STRCONV
3367 * text2.C (setCounter): STRCONV
3369 * paragraph.C (asString): STRCONV
3371 * lyxlength.C (asString): STRCONV
3372 (asLatexString): ditto
3374 * lyxgluelength.C (asString): STRCONV
3375 (asLatexString): ditto
3377 * lyxfunc.C (dispatch): STRCONV
3380 * lyxfont.C (stateText): STRCONV
3382 * importer.C (Import): STRCONV
3384 * counters.C (labelItem): STRCONV
3385 (numberLabel): ditto
3386 (numberLabel): remove unused ostringstream o
3391 * bufferview_funcs.C (currentState): STRCONV
3393 * buffer.C (readFile): STRCONV
3394 (asciiParagraph): ditto
3395 (makeLaTeXFile): ditto
3397 * Spacing.C (writeEnvirBegin): STRCONV
3399 * LaTeXFeatures.C (getLanguages): STRCONV
3400 (getPackages): ditto
3402 (getBabelOptions): ditto
3403 (getTClassPreamble): ditto
3404 (getLyXSGMLEntities): ditto
3405 (getIncludedFiles): ditto
3409 (scanAuxFile): ditto
3412 * LString.h: add the STRCONV macros
3414 * BufferView_pimpl.C (savePosition): STRCONV
3415 (restorePosition): ditto
3416 (MenuInsertLyXFile): ditto
3418 * vc-backend.C (scanMaster): change from submatch[...] to
3421 * funcrequest.C: include config.h
3423 * factory.C: include config.h
3425 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3427 * box.C: include config.h
3429 * LaTeX.C (scanAuxFile): change from submatch[...] to
3433 2002-10-25 Angus Leeming <leeming@lyx.org>
3435 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3437 * ispell.[Ch] (setError): new method.
3438 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3439 Use setError() insetead of goto END.
3441 * lyx_cb.C (AutoSave): move out child process into new class
3444 2002-10-30 John Levon <levon@movementarian.org>
3446 * text3.C: make start appendix undoable
3448 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3450 * lyxlength.C (inPixels): Fix returned value.
3452 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3455 2002-10-24 Angus Leeming <leeming@lyx.org>
3457 * lyxgluelength.h: no need to forward declare BufferParams
3458 or BufferView, so don't.
3460 2002-10-21 John Levon <levon@movementarian.org>
3462 * BufferView.C: menuUndo ->undo, redo
3464 * BufferView.h: document, remove dead, make some methods private
3466 * paragraph_funcs.h:
3467 * paragraph_funcs.C:
3468 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3473 * sgml.C: move sgml open/close tag into sgml.C
3475 * bufferview_funcs.h: unused prototype
3478 * lyxfunc.C: remove unused
3481 * text.C: remove unused
3483 2002-10-21 John Levon <levon@movementarian.org>
3487 * BufferView_pimpl.h:
3488 * BufferView_pimpl.C: fix mouse wheel handling based on
3489 patch from Darren Freeman
3491 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3493 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3495 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3497 * lyxlength.C (inPixels): Fix hanfling of negative length.
3498 Fix LyXLength::MU case.
3500 2002-10-16 John Levon <levon@movementarian.org>
3502 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3504 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3506 * converter.C (view): add support for $$i (file name) and $$p
3507 (file path) for the viewer command. If $$i is not specified, then
3508 it is appended to the command (for compatibility with old syntax)
3510 2002-10-14 Juergen Vigna <jug@sad.it>
3512 * undo_funcs.C (textHandleUndo): alter the order in which the
3513 new undopar is added to the LyXText, as we have to set first
3514 the right prev/next and then add it as otherwise the rebuild of
3515 LyXText is not correct. Also reset the cursor to the right paragraph,
3516 with this IMO we could remove the hack in "redoParagraphs()".
3518 2002-10-09 Angus Leeming <leeming@lyx.org>
3520 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3521 to turn off an optimisation if a new inset is to be inserted.
3523 2002-10-11 André Pönitz <poenitz@gmx.net>
3525 * lyxtext.h: make some functions public to allow access
3526 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3528 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3530 * text3.C (dispatch): when changing layout, avoid an infinite loop
3533 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3535 * lyxrc.C (read): treat a viewer or converter command of "none" as
3538 * MenuBackend.C (expandFormats): for an update, also allow the
3539 formats that are not viewable
3541 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3542 script if it is newer than the lyxrc.defaults in user directory
3544 2002-10-07 André Pönitz <poenitz@gmx.net>
3546 * text.C: Vitaly Lipatov's small i18n fix
3548 2002-09-25 Angus Leeming <leeming@lyx.org>
3550 * ispell.h: doxygen fix.
3552 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3554 * buffer.h (readFile): Add a new argument to the method, to allow
3555 reading of old-format templates.
3557 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3559 * toc.C (getTocList): Get TOC from InsetWrap.
3561 2002-09-16 John Levon <levon@movementarian.org>
3563 * lyxfunc.C: check tabular for cut/copy too
3565 2002-09-12 John Levon <levon@movementarian.org>
3570 * factory.C: add header
3572 * paragraph_funcs.h:
3573 * paragraph_funcs.C: cleanup
3575 2002-09-11 John Levon <levon@movementarian.org>
3577 * PrinterParams.h: odd/even default to true
3579 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3581 * PrinterParams.h: update printer parameters for new xforms dialog
3583 2002-09-11 Angus Leeming <leeming@lyx.org>
3585 * lyxserver.C (read_ready): re-write to make it more transparent
3586 and to make it work in coherent fashion under Tru64 Unix.
3588 2002-09-11 André Pönitz <poenitz@gmx.net>
3592 * text3.C: implement LFUN_WORDSEL
3594 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3597 make floatlist_ a boost::shared_ptr<FloatList>
3599 * lyxtextclass.C: include FloatList.h
3600 (LyXTextClass): initialize floatlist_
3601 (TextClassTags): add TC_NOFLOAT
3602 (Read): match "nofloat" to TC_NOFLOAT and use it.
3603 (readFloat): modify call to floatlist_
3607 * FloatList.[Ch] (FloatList): remove commented out float
3609 (erase): new function
3611 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3613 * MenuBackend.C (expandToc): fix crash when there is no document
3616 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3618 * many files: Add insetwrap.
3620 2002-09-09 John Levon <levon@movementarian.org>
3622 * text2.C: remove confusing and awkward depth wraparound
3624 2002-09-09 John Levon <levon@movementarian.org>
3626 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3629 * buffer.C: remove getIncludeonlyList()
3632 * lyxfunc.C: remove headers
3634 2002-09-09 Juergen Vigna <jug@sad.it>
3636 * text.C (getColumnNearX): fix form Michael this is most
3637 probably a cut&paste bug.
3639 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3643 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3644 references, ws changes.
3646 * text2.C (init): update counters after init
3647 (insertParagraph): no need to set counter on idividual paragraphs.
3648 (setCounter): access the counters object in the textclass object
3649 on in the buffer object.
3650 (updateCounters): ditto
3652 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3653 shared_ptr<Counters> to avoid loading counters.h in all
3655 (LyXTextClass): initialize ctrs_
3656 (TextClassTags): add TC_COUNTER, and ...
3657 (Read): use it here.
3658 (CounterTags): new tags
3659 (readCounter): new function
3660 (counters): new funtion
3661 (defaultLayoutName): return a const reference
3663 * counters.C (Counters): remove contructor
3664 (newCounter): remove a couple of unneeded statements.
3665 (newCounter): simplify a bit.
3666 (numberLabel): some small formatting changes.
3668 * buffer.[Ch]: remove all traces of counters, move the Counters
3669 object to the LyXTextClass.
3671 2002-09-06 Alain Castera <castera@in2p3.fr>
3673 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3674 package to set the horizontal alignment on fixed width columns.
3677 * lyx_sty.h: added tabularnewline macro def.
3679 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3681 2002-09-06 John Levon <levon@movementarian.org>
3683 * LyXAction.C: tooltips for sub/superscript
3685 * MenuBackend.C: a bit more verbose
3687 * lyxfunc.C: tiny clean
3689 * undo_funcs.C: document undo_frozen
3691 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * counters.C (Counters): add missing algorithm counter.
3695 * text2.C (setCounter): lookup the counter with layouts latexname
3696 instead of by section number.
3697 (setCounter): use a hackish way to lookup the correct enum
3699 a float name->type change
3700 reset enum couners with counter name directly instead of depth value.
3702 * counters.C (Counters): remove the push_backs, change to use the
3703 float type not the float name.
3704 (labelItem): remove unused string, float name->type change
3706 * counters.h: don't include vector, loose the enums and sects vectors
3708 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3711 (Read): add float->TC_FLOAT to textclassTags
3712 (Read): and handle it in the switch
3713 (readFloat): new function
3715 * FloatList.C (FloatList): comment out the hardcoded float
3718 * lyxlayout.h: ws change.
3720 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3722 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3724 2002-09-03 Angus Leeming <leeming@lyx.org>
3726 * BufferView_pimpl.h: qualified name is not allowed in member
3727 declaration: WorkArea & Pimpl::workarea() const;
3729 * factory.C: added using std::endl directive.
3731 * text3.C: added using std::find and std::vector directives.
3733 2002-08-29 André Pönitz <poenitz@gmx.net>
3736 * text2.C: remove unused member number_of_rows
3739 * BufferView2.C: remove file, move contents to...
3740 * BufferView.C: ... here
3742 * BufferView_pimpl.C:
3743 * factory.C: move more inset creation to factory
3745 * vspace.C: avoid direct usage of LyXText, ws changes
3748 don't provide direct access to WorkArea, use two simple
3749 acessors haveSelction() and workHeight() instead
3752 2002-08-29 John Levon <levon@movementarian.org>
3754 * BufferView_pimpl.C (dispatch): do not continue when
3757 2002-08-28 André Pönitz <poenitz@gmx.net>
3759 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3762 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3764 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3766 * buffer.C: increment LYX_FORMAT to 221
3768 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3769 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3771 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3773 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3775 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3777 * factory.C (createInset): use LyXTextClass::floats
3779 * MenuBackend.C (expandFloatListInsert):
3780 (expandFloatInsert):
3783 * text2.C (setCounter):
3785 * LaTeXFeatures.C (useFloat):
3786 (getFloatDefinitions):
3788 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3790 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3791 floatlist_, with accessor floats().
3793 * FloatList.h: remove global FloatList
3795 2002-08-26 André Pönitz <poenitz@gmx.net>
3797 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3801 * BufferView_pimpl.C:
3802 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3804 2002-08-25 John Levon <levon@movementarian.org>
3806 * LyXAction.C: fix margin note description
3808 2002-08-24 John Levon <levon@movementarian.org>
3812 * bufferview_funcs.C:
3814 * undo_funcs.C: cleanups
3816 * lyxfunc.C: disable CUT/COPY when no selection
3818 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3820 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3821 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3823 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3824 Add backward compatibility to "mono", "gray" and "no".
3826 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3828 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3829 (and file_format >= 200).
3831 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3833 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3835 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3837 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3839 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3841 * BufferView_pimpl.C:
3848 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3849 inset and code to make it work with the paragraph code. The inset
3850 can be anywhere in the paragraph, but will only do the expected
3851 thing in LaTeX if the layout file contains the parameter line
3853 (or more generally, a nonzero value) for that layout.
3855 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * paragraph.h: remove the declaration of undefined counters class
3860 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3862 * text2.C (setCounter): fixed enumeration mis-count as reported by
3863 Dr. Richard Hawkins.
3865 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3867 * paragraph_funcs.h: remove some unneeded includes
3869 * text.C (backspace): pasteParagraph now in global scipe
3871 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3872 (pasteSelection): ditto
3874 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3875 * paragraph_funcs.C (pasteParagraph): ... here
3877 2002-08-20 André Pönitz <poenitz@gmx.net>
3879 * commandtags.h: new LFUNs for swapping/copying table row/colums
3882 * lyxfunc.C: support for new lfuns
3884 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * buffer.[Ch]: remove NO_COMPABILITY stuff
3889 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * boost.C (throw_exception): new file, with helper function for
3892 boost compiled without exceptions.
3897 * ParameterStruct.h:
3898 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3900 * bufferlist.C (emergencyWriteAll): use boost bind
3902 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3904 * text.C: include paragraph_funcs.h
3905 (breakParagraph): breakParagraph is now in global scope
3907 * paragraph_funcs.[Ch]: new files
3909 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3912 * buffer.C: include paragraph_funcs.h
3913 (insertStringAsLines): breakParagraph is now in global scope
3915 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3918 * CutAndPaste.C: include paragraph_funcs.h
3919 (cutSelection): breakParagraphConservative is now in global scope
3920 (pasteSelection): ditto
3922 * buffer.h: declare oprator== and operator!= for
3923 Buffer::inset_iterator
3925 * bufferlist.C (emergencyWrite): don't use fmt(...)
3927 * text3.C: add using std::endl
3929 * BufferView.C (moveCursorUpdate): remove default arg
3931 2002-08-20 André Pönitz <poenitz@gmx.net>
3933 * buffer.[Ch]: move inline functions to .C
3936 * BufferView_pimpl.C:
3938 * buffer.[Ch]: use improved inset_iterator
3941 * paragraph.[Ch]: write one paragraph at a time
3943 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3945 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3946 style if style is not specified.
3948 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3950 * text2.C (setCounter): when searching for right label for a
3951 caption, make sure to recurse to parent insets (so that a caption
3952 in a minipage in a figure float works) (bug #568)
3954 2002-08-20 André Pönitz <poenitz@gmx.net>
3956 * text3.C: new file for LyXText::dispatch() and helpers
3958 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3960 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3962 2002-08-19 André Pönitz <poenitz@gmx.net>
3965 * text.C: new LyXText::dispatch()
3967 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3969 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3971 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3973 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3976 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3978 * Makefile.am: use $(variables) instead of @substitutions@
3980 2002-08-15 André Pönitz <poenitz@gmx.net>
3983 * BufferView_pimpl.C: streamlining mathed <-> outer world
3987 * LyXAction.C: remove unused LFUN_MATH
3989 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3993 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * paragraph.C (Paragraph): reformat a bit
3996 (cutIntoMinibuffer): use builtin InsetList function instad of
4000 * buffer.C: include boost/bind.hpp, add using std::for_each
4001 (writeFileAscii): use ParagraphList iterators
4002 (validate): use for_each for validate traversal of paragraphs
4003 (getBibkeyList): use ParagraphList iterators
4004 (resizeInsets): use for_each to resizeInsetsLyXText for all
4006 (getParFromID): use ParagraphList iterators
4008 * BufferView2.C (lockInset): use paragraph list and iterators
4010 2002-08-14 John Levon <levon@movementarian.org>
4012 * lyxserver.C: remove spurious xforms include
4014 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4016 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4018 2002-08-13 André Pönitz <poenitz@gmx.net>
4021 * lyxfunc.C: further cleaning
4023 2002-08-13 André Pönitz <poenitz@gmx.net>
4025 * funcrequest.h: new constructor
4027 * funcrequest.C: move stuff here from .h
4030 * BufferView_pimpl.C:
4033 * lyxfunc.C: subsequent changes
4035 * lyxfunc.h: new view() member function
4037 * lyxfunc.C: subsequent changes
4039 2002-08-13 Angus Leeming <leeming@lyx.org>
4042 * BufferView_pimpl.C:
4050 changes due to the changed LyXView interface that now returns references
4051 to member variables not pointers.
4053 2002-08-13 Angus Leeming <leeming@lyx.org>
4055 * WordLangTuple (word, lang_code): return references to strings,
4060 * lyxtext.h: forward-declare WordLangTuple.
4065 * text.C: #include "WordLangTuple.h".
4068 * text.C: (selectNextWordToSpellcheck): constify return type.
4070 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4076 * paragraph_pimpl.h:
4079 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4081 Made updateCounter always count from start of buffer, and removed
4082 second argument (par).
4083 Reverted floats number display to '#'. Perhaps I'll try again when the
4084 code base is sanitized a bit.
4086 2002-08-12 Angus Leeming <leeming@lyx.org>
4088 * buffer.[Ch] (getLabelList): constify.
4090 2002-08-07 André Pönitz <poenitz@gmx.net>
4092 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4094 * funcrequest.h: extension to keep mouse (x,y) position
4096 2002-08-12 Juergen Vigna <jug@sad.it>
4098 * BufferView2.C (insertErrors): forbid undo when inserting error
4101 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4103 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * ParagraphList.[Ch]: new files
4107 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4109 * BufferView2.C (lockInset): ParagraphList changes
4112 * bufferlist.C: ditto
4116 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4119 unused class variable counter_,
4121 * paragraph.[Ch] (getFirstCounter): delete unused function
4123 * counters.C: include LAssert.h
4124 (reset): add a new function with no arg, change other version to
4125 not have def. arg and to not allow empty arg.
4127 * text2.C (setCounter): remove empty arg from call to Counters::reset
4129 2002-08-11 John Levon <levon@movementarian.org>
4131 * Makefile.am: add WordLangTuple.h
4133 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4136 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4138 * insets/insettext.C: InsetList changes
4140 * graphics/GraphicsSupport.C (operator()): InsetList changes
4142 * toc.C (getTocList): InsetList changes
4144 * paragraph_pimpl.[Ch]: InsetList changes
4146 * paragraph.[Ch]: InsetList changes
4148 * buffer.C (inset_iterator): InsetList changes
4149 (setParagraph): ditto
4150 * buffer.h (inset_iterator): ditto
4151 * iterators.C (operator++): ditto
4152 * iterators.h: ditto
4154 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4156 * InsetList.[Ch]: new files, most InsetList handling moved out of
4159 * BufferView2.C (removeAutoInsets): InsetList changes
4161 (ChangeInsets): ditto
4163 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * paragraph_pimpl.h (empty): new function
4167 * paragraph.[Ch] (empty): new function
4169 * other files: use the new Paragraph::empty function
4171 2002-08-09 John Levon <levon@movementarian.org>
4173 * lyxtext.h: remove unused refresh_height
4175 2002-08-09 John Levon <levon@movementarian.org>
4182 * paragraph.C: move sgml char escaping out of paragraph
4185 * paragraph.C: remove id setter
4189 * paragraph_pimpl.C: remove dead tex_code_break_column
4191 * bufferview_funcs.C: small cleanup
4193 * lyxfunc.C: remove dead proto
4195 * lyxtext.h: make some stuff private. Remove some dead stuff.
4197 * lyxgluelength.C: make as[LyX]String() readable
4199 2002-08-08 John Levon <levon@movementarian.org>
4204 * ToolbarDefaults.C:
4207 * toc.C: lyxaction cleanup
4209 2002-08-08 John Levon <levon@movementarian.org>
4211 * BufferView2.C: small cleanup
4214 * lyxfind.C: move unnecessary header into the .C
4216 2002-08-08 John Levon <levon@movementarian.org>
4218 * funcrequest.h: just tedious nonsense
4221 * lyx_main.C: cleanups
4224 * vspace.C: remove dead header lyx_main.h
4226 2002-08-07 Angus Leeming <leeming@lyx.org>
4229 * paragraph_pimpl.h:
4230 Forward declare class Counters in paragraph.h by moving the ctrs member
4231 variable into Paragraph::Pimpl.
4232 (counters): new method, returning a reference to pimpl_->ctrs.
4234 * text2.C: ensuing changes.
4236 2002-08-07 John Levon <levon@movementarian.org>
4238 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4240 * BufferView_pimpl.C: announce X selection on double/triple
4243 * lyx_main.C: use correct bool in batch dispatch
4245 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4247 2002-08-07 André Pönitz <poenitz@gmx.net>
4249 * funcrequest.h: new class to wrap a kb_action and its argument
4252 * BufferView_pimpl[Ch]:
4256 * lyxrc.C: subsequent changes
4259 2002-08-07 John Levon <levon@movementarian.org>
4261 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4262 document options change.
4264 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4269 * makefile.am: move counters functionality over from
4270 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4272 2002-08-06 John Levon <levon@movementarian.org>
4274 * WordLangTuple.h: new file for word + language code tuple
4285 * BufferView2.C: use WordLangTuple
4288 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4290 2002-08-06 John Levon <levon@movementarian.org>
4292 * lyx_main.C: fix cmdline batch handling
4294 2002-08-06 André Pönitz <poenitz@gmx.net>
4296 * lyxrc.C: set default for show_banner to true
4298 2002-08-06 John Levon <levon@movementarian.org>
4300 * pspell.C: fix a crash, and allow new aspell to work
4302 2002-08-06 John Levon <levon@movementarian.org>
4305 * kbmap.C: small cleanup
4308 * vspace.C: add const
4310 2002-08-05 John Levon <levon@movementarian.org>
4312 * LyXAction.C: back to tabular-insert
4314 2002-08-04 John Levon <levon@movementarian.org>
4317 * BufferView.C: cosmetic change
4319 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4329 * BufferView2.C: purge all "Lyx" not "LyX" strings
4332 * lyxcursor.C: attempt to add some documentation
4337 * ToolbarDefaults.C:
4338 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4339 merge with LFUN_TABULAR_INSERT
4346 * pspell.C: split up i/pspell implementations into separate
4347 files, many cleanups
4349 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4351 * text2.C: some cleanup
4353 * lyxfunc.C: don't check for isp_command == "none" any more, it
4354 didn't make any sense
4356 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4361 * makefile.am: move counters functionality over
4362 from text2.C/paragraph.[Ch] to counters.[Ch], and
4364 2002-08-02 John Levon <levon@movementarian.org>
4366 * buffer.C: s/lyxconvert/lyx2lyx/
4368 2002-08-02 Angus Leeming <leeming@lyx.org>
4370 * lyxlex.C: revert John's change as it breaks reading of the user
4373 2002-08-02 Angus Leeming <leeming@lyx.org>
4375 * importer.C (Import):
4376 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4377 changes due to LyXView::view() now returning a boost::shared_ptr.
4379 2002-08-02 John Levon <levon@movementarian.org>
4381 * lyxlex.C: small cleanup
4383 2002-08-02 John Levon <levon@movementarian.org>
4385 * text2.C (status): small cleanup, no logic change
4387 2002-08-01 John Levon <levon@movementarian.org>
4390 * buffer.C (writeFile): don't output alerts, caller
4394 * lyx_cb.C: from above
4396 * lyxfunc.C: allow to open non-existent files
4398 2002-07-31 John Levon <levon@movementarian.org>
4400 * lyxserver.C: don't let incidental errors get
4403 2002-07-30 John Levon <levon@movementarian.org>
4405 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4407 2002-07-30 John Levon <levon@movementarian.org>
4410 * lyxserver.C: remove I/O callback too
4412 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4414 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4417 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * many files: strip,frontStrip -> trim,ltrim,rtrim
4421 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * PrinterParams.h: remove extern containsOnly, and include
4424 support/lstrings.h instead.
4426 * LaTeX.C (scanAuxFile): modify because of strip changes
4428 * buffer.C (makeLaTeXFile): ditto
4429 * bufferparams.C (writeFile): ditt
4430 * lyxfont.C (stateText): ditto
4431 * lyxserver.C (read_ready): ditto
4432 * vc-backend.C (scanMaster): ditto
4434 * BufferView_pimpl.h: ws changes
4436 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4438 2002-07-26 André Pönitz <poenitz@gmx.net>
4440 * kb_sequence.C: remove unnedred usings
4442 2002-07-26 Juergen Vigna <jug@sad.it>
4444 * lyxfind.C (LyXReplace): we have to check better if the returned
4445 text is not of theLockingInset()->getLockingInset().
4447 2002-07-25 Juergen Vigna <jug@sad.it>
4449 * lyxfind.C (LyXReplace): don't replace if we don't get the
4452 * undo_funcs.C (createUndo): remove debugging code.
4454 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4456 * buffer.C (parseSingleLyXformat2Token): Use default placement
4457 when reading old floats.
4459 * FloatList.C (FloatList): Change the default placement of figure
4460 and tables to "tbp".
4462 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4464 * MenuBackend.C: using std::max
4466 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4468 * MenuBackend.C (expandToc):
4469 (expandToc2): code moved from xforms menu frontend. It is now
4470 generic and TOCs are transparent to menu frontends.
4472 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4474 * toc.C (getTocList): protect against buf=0
4476 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4477 Menu as first parameter. Now, this calls itself recursively to
4478 expand a whole tree (this will be useful for TOC handling)
4479 (expandFloatInsert): remove 'wide' version of floats
4481 * MenuBackend.h (submenuname): returns the name of the submenu.
4482 (submenu): returns the submenu itself, provided it has been
4483 created by MenuBackend::expand
4485 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4487 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4488 insets which have noFontChange == true. (bug #172)
4490 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4492 * BufferView_pimpl.C: add connection objects and use them...
4495 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4497 * MenuBackend.C (expandLastfiles):
4500 (expandFloatListInsert):
4501 (expandFloatInsert):
4502 (expand): split expand in parts
4504 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4506 * lyx_gui.C: use lyx_gui::exit()
4508 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4510 * LyXAction.C: show the failing pseudo action
4512 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4514 * buffer.C (readFile): Run the lyxconvert script in order to read
4517 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4521 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4523 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4527 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4529 2002-07-22 Herbert Voss <voss@lyx.org>
4532 * lyxlength.[Ch]: add support for the vertical lengths
4534 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4536 * toc.[Ch]: std:: fixes
4538 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4540 * lyxrc.C: do not include lyx_main.h
4542 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4548 * BufferView2.C: include "lyxlex.h"
4551 * bufferparams.h: do not #include "lyxlex.h"
4553 * lyxtextclasslist.C (Add): remove method
4554 (classlist): renamed to classlist_
4556 * paragraph_pimpl.C:
4560 * bufferview_funcs.C:
4565 * toc.C (getTocList): use BufferParams::getLyXTextClass
4567 * toc.C (getTocList): use InsetFloat::addToToc
4569 * toc.[Ch]: new files, containing helper functions to handle table
4572 * lyxfunc.C (dispatch): no need to remove spaces around command
4574 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4575 first command of the sequence; it is not very clever, but I do not
4576 have a better idea, actually
4578 * LyXAction.C (LookupFunc): make sure to remove space at the
4579 beginning and end of the command
4581 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4583 * MenuBackend.C (getMenubar): new method: return the menubar of
4585 (read): treat differently reading of menu and menubar (in
4586 particular, the menubar has no name now)
4587 (Menu::menubar): remove
4589 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4592 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4594 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4595 a bibitem inset in a RTL paragraph.
4597 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4599 * paragraph_pimpl.C: constify
4601 * BufferView_pimpl.C:
4603 * lyxfunc.C: fix dispatch in a nicer way
4605 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4607 * lyxfunc.C (dispatch):
4608 * BufferView_pimpl.C:
4609 * BufferView_pimpl.h:
4611 * BufferView.h: rename Dispatch() to dispatch()
4613 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4615 * lyxlayout.C (Read): honor DependsOn tag
4617 * lyxlayout.[Ch] (depends_on): new method
4619 * version.C.in: update lyx_docversion
4621 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4623 * paragraph.C (validate): remove from here...
4624 * paragraph_pimpl.C (validate): ... and move here
4625 (isTextAt): make it const
4627 * buffer.C (getLists): ws cleanup
4629 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4631 * language.C (read): Use iso8859-1 encoding in latex_lang
4632 (this prevents LyX from crashing when using iso10646-1 encoding).
4634 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4636 * text2.C (toggleInset): if cursor is inside an inset, close the
4637 inset and leave cursor _after_ it
4639 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4641 * lyxfunc.C: move minibuffer completion handling out of here
4643 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4645 * BufferView_pimpl.C:
4646 * LaTeX.C: fix dispatch calls
4648 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4650 * text.C (drawChars): Fix Arabic text rendering.
4652 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4656 * lyxfunc.C: remove message-push/pop
4660 * lyxfunc.C: rationalise some code by removing verboseDispatch
4661 in favour of a bool argument to dispatch()
4663 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4665 * lyx_main.C (init): make sure to read symlinks as absolute paths
4667 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4670 * lyxfunc.C: no need for commandshortcut to be a member
4672 2002-07-15 André Pönitz <poenitz@gmx.net>
4674 * converter.C: add support for $$s (scripts from lib/scripts dir)
4675 * lyx_main.C: white space
4677 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4681 * lyxrc.C: remove second exit confirmation
4683 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4688 * BufferView_pimpl.h:
4689 * BufferView_pimpl.C:
4690 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4692 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4694 * MenuBackend.C (expand): add numeric shortcuts to document menu
4696 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4698 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4700 * lyxfont.C (setLyXFamily):
4707 * buffer.C (asciiParagraph): use ascii_lowercase
4709 2002-07-15 Mike Fabian <mfabian@suse.de>
4711 * lyxlex_pimpl.C (search_kw):
4712 * lyxlex.C (getLongString):
4713 * converter.h (operator<):
4714 * converter.C (operator<):
4715 * buffer.C (parseSingleLyXformat2Token):
4717 * ToolbarDefaults.C (read):
4718 * MenuBackend.C (checkShortcuts):
4720 * LColor.C (getFromGUIName):
4721 (getFromLyXName): use the compare_ascii_no_case instead of
4722 compare_no_case, because in turkish, 'i' is not the lowercase
4723 version of 'I', and thus turkish locale breaks parsing of tags.
4725 2002-07-16 Angus Leeming <leeming@lyx.org>
4727 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4728 now takes a Buffer const & argument.
4730 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4732 * BufferView.C (resize): check there's a buffer to resize
4734 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4736 * lyxfunc.C: remove dead code
4739 * lyxserver.C: use lyx_guii::set_read_callback
4741 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4743 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4744 an inset in a RTL paragraph.
4746 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4748 * lyxfunc.C: repaint after a font size update
4750 2002-07-15 André Pönitz <poenitz@gmx.net>
4752 * lyxlength.C: inBP should be able to return negative values
4754 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4756 * lyxfunc.C: use lyx_gui::update_fonts()
4758 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4760 * lyxfunc.C: use lyx_gui::update_color()
4762 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4768 * lyxrc.C: remove file->new asks for name option, and let
4769 buffer-new take an argument
4771 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4773 * BufferView_pimpl.C: remove unneeded extra repaint()
4775 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4777 * LyXAction.C: allow command-sequence with NoBuffer
4779 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4781 2002-07-10 Angus Leeming <leeming@lyx.org>
4783 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4785 2002-07-09 Angus Leeming <leeming@lyx.org>
4787 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4789 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4791 * lengthcommon.h: whitespace
4793 * lyxfunc.C: update scrollbar after goto paragraph
4795 * lyxtext.h: factor out page break drawing, and fix it so
4796 page break/added space paints as selected nicely
4798 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4800 * BufferView_pimpl.C: add FIXMEs, clean up a little
4802 2002-07-09 André Pönitz <poenitz@gmx.net>
4804 * lyxfont.[Ch]: support for wasy symbols
4806 2002-07-08 André Pönitz <poenitz@gmx.net>
4808 * BufferView_pimpl.C: apply John's patch for #93.
4810 2002-07-05 Angus Leeming <leeming@lyx.org>
4812 * BufferView_pimpl.C (buffer): generate previews if desired.
4814 * LColor.h: add "preview" to the color enum.
4816 * LColor.C (LColor): add a corresponding entry to the items array.
4818 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4821 2002-07-05 Angus Leeming <leeming@lyx.org>
4823 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4824 The body of the code is now in the method that is passed an ostream &
4825 rather than a file name.
4826 Pass an additional only_preamble parameter, useful for the forthcoming
4829 2002-07-03 André Pönitz <poenitz@gmx.net>
4831 * lyxfunc.C: simplify getStatus() a bit for math stuff
4833 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4835 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4837 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4839 * text.C (changeRegionCase): do not change case of all the
4840 document when region ends at paragraph end (bug #461)
4842 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4844 * paragraph.C (startTeXParParams):
4845 (endTeXParParams): add \protect when necessary
4847 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4849 * BufferView_pimpl.C (workAreaExpose): remove warning
4851 2002-06-27 Angus Leeming <leeming@lyx.org>
4853 * Makefile.am: add lyxlayout_ptr_fwd.h.
4855 2002-06-26 André Pönitz <poenitz@gmx.net>
4857 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4859 2002-06-25 Angus Leeming <leeming@lyx.org>
4861 * lyxfunc.C (dispatch): Comment out the call to
4862 grfx::GCache::changeDisplay. The method no longer exists now that the
4863 pixmap generation part of the graphics loader has been moved into
4866 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4868 * text2.C: layout as layout
4870 * text.C: layout as layout
4872 * tabular.C (OldFormatRead): layout as layout
4874 * paragraph_pimpl.C (TeXDeeper): layout as layout
4875 (realizeFont): layout as layout
4877 * paragraph.C (writeFile): layout as layout
4878 (validate): layout as layout
4879 (getFont): layout as layout
4880 (getLabelFont): layout as layout
4881 (getLayoutFont): layout as layout
4882 (breakParagraph): layout as layout
4883 (stripLeadingSpaces): layout as layout
4884 (getEndLabel): layout as layout
4885 (getMaxDepthAfter): layout as layout
4886 (applyLayout): layout as layout
4887 (TeXOnePar): layout as layout
4888 (simpleTeXOnePar): layout as layout
4889 (TeXEnvironment): layout as layout
4890 (layout): layout as layout
4891 (layout): layout as layout
4893 * lyxtextclass.C (compare_name): new functor to work with
4894 shared_ptr, layout as layout
4895 (Read): layout as layout
4896 (hasLayout): layout as layout
4897 (operator): layout as layout
4898 (delete_layout): layout as layout
4899 (defaultLayout): layout as layout
4901 * lyxlayout_ptr_fwd.h: new file
4903 * lyxlayout.C (Read): layout as layout
4905 * lyx_cb.C (MenuInsertLabel): layout as layout
4907 * bufferlist.C (newFile): layout as layout
4909 * buffer.C (readLyXformat2): layout as layout
4910 (parseSingleLyXformat2Token): layout as layout
4911 (insertStringAsLines): layout as layout
4912 (asciiParagraph): layout as layout
4913 (latexParagraphs): layout as layout
4914 (makeLinuxDocFile): layout as layout
4915 (simpleLinuxDocOnePar): layout as layout
4916 (makeDocBookFile): layout as layout
4917 (simpleDocBookOnePar): layout as layout
4918 (getLists): layout as layout
4920 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4922 * CutAndPaste.C (cutSelection): layout as layout
4923 (pasteSelection): layout as layout
4924 (SwitchLayoutsBetweenClasses): layout as layout
4926 * BufferView_pimpl.C (Dispatch): layout as layout
4927 (smartQuote): layout as layout
4929 * BufferView2.C (unlockInset): layout as layout
4931 2002-06-24 André Pönitz <poenitz@gmx.net>
4933 * lyxfunc.C: fix #487
4935 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4939 * lyxfunc.C: remove display_shortcuts, show_banner
4941 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4943 * Buffer_pimpl.C: oops, update on resize
4945 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4952 * BufferView.C: use repaint()
4954 * BufferView_pimpl.h:
4955 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4956 as it's a clearer description. Remove superfluous
4959 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4961 * text.C: fix bug 488. Not ideal, but getting
4962 getWord() to work properly for the insets that
4963 matter is more difficult ...
4965 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4967 * BufferView_pimpl.C:
4970 * lyxfunc.C: remove the six million index lyxfuncs to just
4971 one, and DTRT (bug 458)
4973 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4977 * BufferView_pimpl.h:
4978 * BufferView_pimpl.C: clean up resize() stuff,
4979 and unnecessary updateScreen()s
4981 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4985 * BufferView_pimpl.h:
4986 * BufferView_pimpl.C:
4989 * minibuffer.C: remove focus management of workarea,
4990 not needed. Use screen's greyOut()
4992 2002-06-17 Herbert Voss <voss@lyx.org>
4994 * converter.C: (convert) do not post a message, when converting
4995 fails, let the calling function decide what to do in this case
4997 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4999 * lyxfunc.C: tidy up a little
5001 2002-06-16 <alstrup@diku.dk>
5003 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5004 Got rid of FORMS_H_LOCATION include. Now we are
5007 2002-06-15 LyX Development team <lyx@rilke>
5009 * buffer.[Ch] (sgmlOpenTag):
5010 (sgmlCloseTag): Added support for avoiding pernicious mixed
5011 content. Return number of lines written.
5014 (makeDocBookFile): Fixed calls to sgml*Tag.
5015 Simple white space clean.
5017 (simpleDocBookOnePar): Simple white space clean.
5019 * tabular.[Ch] (docBook): Renamed to docbook and got another
5020 argument to related with the pernicious mixed content.
5022 (docbookRow): Fixed calls for docbook inset method.
5024 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5026 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5027 so it's X11 independent.
5031 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5033 2002-06-15 Lyx Development team <lyx@electronia>
5035 * intl.h: Renamed getTrans to getTransManager.
5037 2002-06-14 Angus Leeming <leeming@lyx.org>
5039 * Makefile.am: nuke forgotten stl_string_fwd.h.
5041 2002-06-12 Angus Leeming <leeming@lyx.org>
5043 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5045 2002-06-13 Angus Leeming <leeming@lyx.org>
5048 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5050 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5052 * kbmap.C (getiso): add support for cyrillic and greek
5054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5058 * BufferView_pimpl.h:
5059 * BufferView_pimpl.C: move bogus scrolling logic
5062 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5065 * BufferView_pimpl.C: view->resize() change
5067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5069 * BufferView_pimpl.C: topCursorVisible
5072 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5076 * lyx_gui.C: move to frontends/
5080 * lyx_main.C: changes from above
5082 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5089 * lyx_main.C: minor tidy
5091 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5093 * BufferView_pimpl.h:
5094 * BufferView_pimpl.C:
5096 * BufferView.C: make painter() const,
5099 * BufferView2.C: use screen() accessor
5102 * lyx_main.C: some minor cleanup
5104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5106 * BufferView_pimpl.h:
5107 * BufferView_pimpl.C: remove enter/leaveView,
5110 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5115 * BufferView_pimpl.h:
5116 * BufferView_pimpl.C: only construct screen once,
5119 * lyxrc.C: remove pointless comment
5121 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5124 * BufferView.C: remove active() and belowMouse()
5126 * BufferView_pimpl.h:
5127 * BufferView_pimpl.C: use workarea() not workarea_,
5128 and make it use a scoped_ptr instead
5130 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5132 * lyx_gui.C: add debug message on BadWindow
5134 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5136 * sp_spell.C: fdopen is not part of the C++ standard.
5138 * paragraph.C (InsetIterator): use >= instead of ==
5140 2002-06-07 Angus Leeming <leeming@lyx.org>
5142 Fixes needed to compile with Compaq cxx 6.5.
5143 * BufferView_pimpl.C:
5150 * lyxtextclasslist.C:
5155 all c-library variables have been moved into namespace std. Wrap
5156 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5161 Add a using std::abs declaration.
5163 * kbmap.h (modifier_pair):
5164 * paragraph.h (InsetTable, InsetList):
5165 * lyxfont.h (FontBits):
5166 type definition made public.
5168 * bufferlist.C (emergencyWriteAll): the compiler complains that
5169 there is more than one possible lyx::class_fun template to choose from.
5170 I re-named the void specialisation as lyx::void_class_fun.
5172 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5174 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5175 the compiler is is unable to find tostr in write_attribute.
5177 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5179 * buffer.C (sgmlError): hide #warning
5181 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5183 * xtl/*: get rid of xtl, which is not in use anyway
5185 * LyXAction.C (init):
5186 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5187 were unimplemented xtl experimentation
5189 2002-06-04 André Pönitz <poenitz@gmx.net>
5191 * lyxfunc.C: disable array operation on simple formulae
5193 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5195 * converter.C: constify a bit
5197 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5199 * lyx_gui.C: check xforms version correctly
5201 2002-04-30 Herbert Voss <voss@lyx.org>
5203 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5206 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5208 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5209 attempt to register it with a VCS)
5211 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5213 * lyx_main.C (init): honor variables LYX_DIR_13x and
5216 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5220 * lyx_main.C: fix a crash on bad command line,
5221 and give a useful exit status on error
5223 * lyxfunc.C (doImport): allow -i lyx to work
5225 2002-03-30 André Pönitz <poenitz@gmx.net>
5227 * lyxfunc.C: mathed font changes
5229 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5244 * trans_mgr.h: srcdocs, and some minor cleanups
5246 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5248 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5249 call getFont all the time)
5251 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5253 * switch from SigC signals to boost::signals
5255 2002-05-29 André Pönitz <poenitz@gmx.net>
5257 * paragraph_pimpl.C (getChar): don't call size() too often...
5259 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5261 * paragraph_pimpl.C (insertChar): do not try to update tables when
5262 appending (pos == size())
5264 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5265 in order to reduce drastically the number of comparisons needed to
5266 parse a large document
5268 2002-05-29 André Pönitz <poenitz@gmx.net>
5274 * textclasslist.[Ch]:
5275 * sp_ispell.h: whitespace change
5277 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5279 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5280 lyxaction directly now.
5282 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5286 * lyxvc.C: remove unused headers
5288 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5295 * undo_funcs.C: some cleanups. Use shared_ptr
5296 and a template for the undo stacks.
5298 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5300 * BufferView_pimpl.h:
5301 * BufferView_pimpl.C:
5308 * text2.C: use key_state/mouse_state
5310 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5312 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5315 * chset.C: change include order
5316 (loadFile): use boost regex and get rid of LRegex and LSubstring
5318 * Makefile.am (BOOST_LIBS): new variable
5321 * LaTeX.C: change include order.
5322 (scanAuxFile): use boost regex and get rid of LRegex and
5326 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5331 * FontInfo.C: moved to frontends/xforms/
5334 * FontLoader.C: moved into frontends for GUIIzation
5339 * lyxfunc.C: changes from above
5341 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5343 * LColor.C: remove spurious X include
5345 * BufferView_pimpl.C:
5350 * text2.C: move font metrics to frontends/
5352 2002-05-24 Juergen Vigna <jug@sad.it>
5354 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5355 setting the undo_cursor.
5357 * ParagraphParameters.h: include local includes first.
5359 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5361 * BufferView_pimpl.C:
5362 * BufferView_pimpl.h:
5366 * screen.C: move WorkArea into frontends/
5372 * BufferView2.C: move LyXScreen into frontends/
5376 * lyx_gui.C: move lyxlookup into frontends/xforms/
5378 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5381 * BufferView_pimpl.C:
5391 * bufferview_funcs.C:
5404 * vc-backend.C: move LyX/XFormsView into frontends/
5406 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5418 * text2.C: move Painter to frontends/
5420 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5422 * buffer.C: comment out some some code that depend upon lyx_format
5425 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5426 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5428 * buffer.h (NO_COMPABILITY): turn off compability
5430 * ColorHandler.C: include scoped_array.hpp
5432 * font.C: Use more specific smart_ptr header.
5435 * ShareContainer.h: ditto
5439 * BufferView_pimpl.h: ditto
5440 * ColorHandler.h: ditto
5442 * kbmap.C (defkey): change call to shared_ptr::reset
5444 2002-05-21 Juergen Vigna <jug@sad.it>
5446 * buffer.C (insertErtContents): fix to insert ert asis if it is
5447 non empty. Skip it completely if it contains only whitespaces.
5449 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5451 * BufferView_pimpl.C:
5452 * BufferView2.C: clear selection on paste (bug 393)
5454 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5456 * DepTable.C: include ctime
5458 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5460 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5462 2002-05-14 Juergen Vigna <jug@sad.it>
5464 * text.C (breakParagraph): fixed function to honor the keepempty
5465 layout in the right maner and also to permit the right breaking
5466 algorithm on empty or non empyt keepempty paragraphs.
5468 * paragraph.C (breakParagraph): we have to check also if the par
5469 is really empty (!size()) for isempty otherwise we do the wrong
5472 2002-05-10 Juergen Vigna <jug@sad.it>
5474 * buffer.[Ch] : The following are only changes to the ert
5475 compatibility read reading old LaTeX layout and font stuff and
5476 convert it to ERTInsets.
5478 * buffer.h: added isErtInset().
5480 * buffer.C (struct ErtComp): add a fromlayout bool to check
5481 if we're inside a LaTeX layout.
5482 (isErtInset): new helper function.
5483 (insertErtContents): look for other ert insets before this one
5484 and insert the contents there, so that we don't have subsequent
5485 ERT insets with nothing between them. This way we create only one
5486 inset with multiple paragraphs. Also check if we don't insert only
5487 spaces ' ' as they are ignored anyway afterwards in the .tex file
5488 so if we have only spaces we will ignore this latex part in the
5490 (parseSingleLyXformat2Token \\layout): better compatibility when
5491 reading layout-latex stuff.
5492 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5494 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5495 stuff after reading the inset only get the information back from
5498 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5500 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5502 * LaTeXFeatures.C (getBabelOptions): New method.
5504 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5506 * BufferView_pimpl.C (Dispatch): work around missing argument for
5509 2002-05-08 Juergen Vigna <jug@sad.it>
5511 * text.C (leftMargin): handle paragraph leftindent.
5513 * paragraph.C (writeFile): write the new \\leftindent tag.
5514 (validate): handle leftindent code.
5515 (TeXEnvironment): handle paragraphleftindent code again.
5517 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5519 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5520 for paragrap_extra indent code and new token \\leftindent.
5521 (latexParagraphs): handle the leftindent as environment.
5523 * ParameterStruct.h: added leftindent support.
5525 * ParagraphParameters.C (leftIndent): added support functions for
5526 the paragraph left indent.
5528 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5531 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5533 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5536 * text.C (computeBidiTables): No bidi in insetERT.
5538 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5541 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5543 * version.C.in: pre 5
5545 2002-05-02 José Matos <jamatos@fep.up.pt>
5546 * buffer.C (makeDocBookFile): white space changes, add newline to
5548 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5550 * tabular.C (docBook): fix typo.
5552 2002-05-03 Juergen Vigna <jug@sad.it>
5554 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5555 change in LyXText as we can not be sure it was not freed.
5556 (drawOneRow): remove unused code.
5558 * text.C (drawInset): redo the calculation of the need_break_row as
5559 it could have a row which was already freed.
5560 (draw): look at the return value of drawInset and return false if
5561 it also returned false.
5562 (paintRowText): look at the return value of draw and return false if
5563 it also returned false.
5565 * lyxtext.h: added bool return type to drawInset() and draw() so that
5566 if we have a change in the row so that the rowbreak has to be redone
5567 we abort drawing as it will be called again.
5569 2002-05-02 Juergen Vigna <jug@sad.it>
5571 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5572 a change in the maintext also if we're inside an inset.
5573 (Dispatch): set the cursor again after a break line and after the
5574 screen has been updated as it could be we're in a different row.
5576 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5577 to set the cursor behind the pargraph with > size().
5578 (setCursor): check also for the same paragraph when checking where
5579 to put the cursor if we have a NFR inset.
5581 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5582 parts of layout read further up as it still was in the wrong
5585 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5587 * screen.C (drawFromTo): change sine fullRebreak always return
5590 * buffer.C (parseSingleLyXformat2Token): reindent some
5592 * BufferView_pimpl.C (update): change since fullRebreak always
5594 (Dispatch): git rid of the last hardcoded "Standard"s.
5596 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5598 * text2.[Ch] (fullRebreak): make it return void now that we always
5601 2002-04-30 Juergen Vigna <jug@sad.it>
5603 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5604 ert compatibility check for "latex" layout.
5606 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5608 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5609 minipages: use col% instead of p%, and also use the current font.
5610 (makeLaTeXFile): Fix use babel condition.
5611 (parseSingleLyXformat2Token): Correct font when reading old floats.
5613 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5615 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5616 inserting list of floats.
5618 2002-04-25 Herbert Voss <voss@lyx.org>
5620 * MenuBackend.C (expand): don't add the graphics extensions to the
5623 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5625 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5626 non-existing layout, do not complain if it was the default layout
5627 of the original class (bug #342)
5629 2002-04-24 Juergen Vigna <jug@sad.it>
5631 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5632 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5634 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5636 * buffer.C (getBibkeyList): If using \bibliography, return the
5637 option field with the reference itself. Enables us to provide natbib
5638 support when using \bibliography.
5640 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5642 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5644 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5645 natbib is provided by the LaTeX class.
5647 2002-04-23 Juergen Vigna <jug@sad.it>
5649 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5652 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5654 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5656 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5658 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5659 ensuremath around textordmasculine, textordfeminine and
5662 2002-04-19 Juergen Vigna <jug@sad.it>
5664 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5665 reinitializing the buffer otherwise row-dimensions may be wrong.
5666 (update): reset also the selection cursors if they do exits otherwise
5667 their x/y positions may be wrong.
5669 * text2.C (cursorDown): don't enter the inset if we came from a row
5670 above and are one row over the inset.
5672 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5673 really leaving an inset.
5675 2002-04-18 Juergen Vigna <jug@sad.it>
5677 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5678 of the selected paragraph does not have the selected layout also if
5681 * text2.C (setLayout): fixed bug which did not change last selected
5684 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5685 changed the read and substituted \\end_float with \\end_inset!
5687 * BufferView_pimpl.C (cursorPrevious):
5688 (cursorNext): fixed to make it work with rows heigher than the work
5689 area without moving the cursor only the draw of the row.
5690 (workAreaMotionNotify): fix jumping over high rows.
5692 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5694 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5697 2002-04-16 Juergen Vigna <jug@sad.it>
5699 * text2.C (setCursor): set also the irow().
5700 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5702 (cursorDown): support for locking an inset if the x_fix value goes
5703 inside it. That way I can transverse insets too with cursor up/down.
5705 * lyxrow.h: added irow helper function same as other (i) functions.
5707 * BufferView_pimpl.C (cursorPrevious):
5708 (cursorNext): fixed for insets!
5710 2002-04-15 Juergen Vigna <jug@sad.it>
5712 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5713 position otherwise it is wrong in some cases.
5715 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5716 inside the inset before the call.
5718 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5720 * buffer.[Ch] (getBibkeyList): make it const.
5722 2002-04-12 Juergen Vigna <jug@sad.it>
5724 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5726 * text2.C (getCursorX): new helper function
5727 (setCursor): compute also ix_
5728 (setCursorFromCoordinates): set also ix.
5730 * lyxcursor.h: added ix_ and helper functions.
5732 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5734 * buffer.C (insertStringAsLines): dont break paragraph if the this
5735 paragraph is inside an inset which does not permit it!
5737 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5738 also with no chars on this paragraph.
5739 (paintRowText): only paint stuff if it's inside the workarea!
5741 * paragraph.C (breakParagraph): honor keepempty flag and break the
5742 paragraph always below not above.
5744 * BufferView2.C (unlockInset): update the paragraph layout on inset
5745 unlock as we changed paragraph in such a case.
5747 * lyxfind.C (LyXFind): clear the former selection if not found!
5749 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5750 again called in insertChar().
5752 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5753 an inset which uses the whole row!
5754 (rightMargin): ditto.
5755 (insertChar): force a rebreak if we inserted an inset!
5757 2002-03-28 Herbert Voss <voss@lyx.org>
5759 * lyxlength.[Ch]: add inBP() to get the right PS-point
5760 units (BigPoint). With inPixels we have rounding errors
5762 2002-04-11 Juergen Vigna <jug@sad.it>
5764 * text2.C (setCursorFromCoordinates): set iy to the right value.
5765 (setCursor): add check if row->previous exists!
5767 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5768 an old float_type as this was the case in the old code!
5770 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5772 * BufferView2.C (showLockedInsetCursor): use iy
5773 (fitLockedInsetCursor): ditto
5775 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5776 locked insets as there we have the right value now.
5778 * lyxcursor.C: added iy_ variable and iy functions to set to the
5779 baseline of cursor-y of the locked inset.
5781 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5782 (setCursor): fixed for insets which need a full row.
5784 * text.C (rowLastPrintable): don't ignore the last space when before
5785 an inset which needs a full row.
5786 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5787 as last character of a row when before a inset which needs a full row.
5789 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5791 * version.C.in: update date
5793 * text2.C (fullRebreak): try to always return true and see what
5796 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5798 * MenuBackend.C (expand): use Floating::listName
5800 * FloatList.C (FloatList): add listName argument to the built-in
5803 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5804 text associated with the float.
5806 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5808 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5810 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5812 * ShareContainer.h: add a couple of missing typenames.
5814 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5816 * lyxrc.C (getDescription): use _() correctly rather than N_().
5818 2002-03-28 Herbert Voss <voss@lyx.org>
5820 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5821 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5823 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5825 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5826 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5828 2002-03-29 Juergen Vigna <jug@sad.it>
5830 * lyxfunc.C (dispatch): add a missing fitCursor call.
5832 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5833 it was scrolled by a cursor move, so return the bool status.
5835 * BufferView.C (fitCursor): return the bool flag also to the outside
5836 world as this is needed.
5838 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5840 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5841 call the edit() as it is not needed (and wrong) IMO.
5842 (workAreaButtonPress): set the screen_first variable before evt.
5843 unlock the inset as this may change screen_first and then we have
5844 a wrong y position for the click!
5846 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5848 * MenuBackend.C (expand): another translation that I missed
5850 2002-03-28 Juergen Vigna <jug@sad.it>
5852 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5854 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5856 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5858 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5860 * MenuBackend.C (expand): fix export/view/update when there is no
5863 2002-03-27 Herbert Voss <voss@lyx.org>
5865 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5868 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5870 * bufferview_funcs.C (currentState): only show paragraph number
5871 for is DEVEL_VERSION is set.
5873 * lyxfunc.C (dispatch): put warning in INFO channel
5875 * MenuBackend.C (expand): translate the name of floats
5877 * FloatList.C (FloatList): mark the float names for translation
5879 * converter.C (convert): use LibScriptSearch
5881 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * MenuBackend.C (defaults): fix default menu (we might as well get
5886 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5888 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5891 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5893 * lyxvc.C: reorder includes.
5895 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5897 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5900 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5902 * CutAndPaste.C: change layouts earlier on paste
5903 to avoid crashing when calling getFont()
5905 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5907 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5910 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5912 * WorkArea.C: remove 'Pending' debug message.
5914 * most files: ws cleanup
5916 * buffer.[Ch]: ws changes
5918 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5920 2002-03-21 Juergen Vigna <jug@sad.it>
5922 * tabular.C (SetMultiColumn): collapse also the contents of the
5923 cells and set the last border right. Added a Buffer const * param.
5925 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5927 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5930 2002-03-19 Juergen Vigna <jug@sad.it>
5932 * text2.C (clearSelection): reset also xsel_cache.
5934 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5935 where it needs to be called (John tells us to do so too :)
5936 (selectionLost): reset sel_cache.
5938 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5940 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5942 * text2.C (setCursorIntern): put debuging code in INSETS channel
5944 2002-03-19 André Pönitz <poenitz@gmx.net>
5946 * lyxfunc.C: tiny whitespace change
5948 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5950 * ToolbarDefaults.C (init):
5951 * LyXAction.C (init):
5953 * BufferView_pimpl.C (Dispatch):
5954 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5956 2002-03-19 Allan Rae <rae@lyx.org>
5958 * exporter.C (Export): removeAutoInsets before doing anything else.
5959 While I've just introduced a dependency on BufferView this really is
5960 the best place to clean the buffer otherwise you need to cleanup in
5961 a dozen places before calling export or cleanup in a dozen functions
5964 * converter.C (runLaTeX):
5965 (scanLog): Better handling of removeAutoInsets and screen updates.
5967 * lyxfunc.C (dispatch): small whitespace changes
5969 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5971 * WorkArea.C (C_WorkAreaEvent): return a value.
5972 (event_cb): return 1 if we handled the event, 0 otherwise.
5974 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5976 2002-03-18 Juergen Vigna <jug@sad.it>
5978 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5979 (GetAdditionalWidth): ditto.
5983 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5984 inset if we're there actually (probably not used right now but this
5985 is the direction to go for unifying code).
5986 (paste): disable code to clear the selection.
5988 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5989 inside an InsetText and move the check further up as it is in the
5992 * text2.C (pasteSelection): set a selection over the pasted text.
5994 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5996 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5997 and libgraphics to build on Cygwin.
5999 2002-03-15 Juergen Vigna <jug@sad.it>
6001 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6002 inserting an Inset into the paragraph. I know this is not the best
6003 fix but we already use current_view in CutAndPaste so we will remove
6004 all of it's using at the same time.
6006 * buffer.C (sgmlError): deactivated function till it is rewritten in
6007 the right mode, now it can create problems.
6009 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6010 before accessing it.
6012 2002-03-14 Juergen Vigna <jug@sad.it>
6014 * undo_funcs.C (textHandleUndo): do the right thing when updating
6015 the inset after the undo/redo.
6017 * text2.C (setCursor): just some testcode for #44 not ready yet.
6019 * undo_funcs.C (textHandleUndo): set the next() and previous()
6020 pointers of the paragraph to 0 before deleting otherwise we have
6021 problems with the Paragraph::[destructor].
6023 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6024 on a paragraph insertion.
6026 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6028 * buffer.C (asciiParagraph): use += operator for char append to
6031 * paragraph.C (getFontSettings): compare >= not just >
6032 (highestFontInRange): ditto
6035 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6037 * paragraph.C: change several algorithm to be more appripriate for
6038 the problem domain. This is lookip in FontList and in the InsetList.
6040 2002-03-13 André Pönitz <poenitz@gmx.net>
6043 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6045 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6050 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6052 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6054 * Painter.C (display): anon helper function, adjust code for this
6056 (pixmap): remove function.
6058 * Painter.h: remove private display variable.
6060 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6062 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6064 * WorkArea.[Ch]: remove figinset_canvas cruft.
6066 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6068 * lyxtextclass.C (operator): add one item cache optimization.
6070 * bufferlist.h: doxy changes
6072 * bufferlist.C: ws changes
6074 * DepTable.[Ch] (ext_exist): place const in the right spot.
6076 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6078 (workAreaExpose): call resizeInsets when the with BufferView changes.
6079 (Dispatch): adjust for protectedBlank removal
6080 (specialChar): call updateInset if the insert went ok.
6082 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6083 specialChar instead.
6085 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6087 * BufferView.h: doxy change
6089 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6091 * lyxtextclass.C (operator[]): remove non-const version
6092 (defaultLayout): remove non-const version
6094 2002-03-12 Juergen Vigna <jug@sad.it>
6096 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6097 did resize the LyXText too.
6099 * buffer.C (readLyXformat2): set layout information on newly allocated
6102 * tabular.C (OldFormatRead): set layout information on the paragraph.
6104 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6106 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6108 2002-03-11 Juergen Vigna <jug@sad.it>
6110 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6112 (resizeCurrentBuffer): force also the insets to resize themselfes.
6113 (moveCursorUpdate): fixed up for InsetText.
6115 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6118 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6119 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6120 value of Dialogs::tooltipsEnabled().
6121 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6123 2002-03-08 Juergen Vigna <jug@sad.it>
6125 * BufferView_pimpl.C (updateInset): update inset inside inset also
6126 if it isn't inside theLockingInset().
6128 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6130 * buffer.C (asciiParagraph): redo some of the word and line length
6132 (getLists): look for Caption instead of caption.
6134 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6136 * buffer.C (Buffer): initialize niceFile to true
6139 (makeDocBookFile): make sure niceFile is true on exit
6141 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6143 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6145 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6147 * LyXSendto.C: remove.
6148 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6149 * lyx_gui.C: remove now-redundant comment.
6150 * ColorHandler.h: remove forward declaration of class WorkArea.
6151 * lyxfunc.C: remove #include "WorkArea.h".
6153 2002-03-07 Juergen Vigna <jug@sad.it>
6155 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6156 got moved away with the DEPM and also set the inset_owner always
6157 right which before could have been omitted.
6159 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6161 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6162 wanted layout is not found.
6164 2002-03-07 Juergen Vigna <jug@sad.it>
6166 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6168 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6170 * paragraph.C (breakParagraph): use default layout not layout of
6172 (Paragraph): clear ParagraphParameters.
6174 2002-03-06 Juergen Vigna <jug@sad.it>
6176 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6177 otherwise it would not be a valid lenght. Fixed a special case in
6178 the minipage compatibility read where we end the document with a
6181 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6182 was set as it could be 0 for InsetTexts first entry.
6184 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6186 * paragraph.C (writeFile): if layout is empty write out
6187 defaultLayoutName().
6189 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6190 file without named layout we set layout to defaultLayoutName().
6192 2002-03-06 Juergen Vigna <jug@sad.it>
6194 * CutAndPaste.C (copySelection): set layout for new paragraph.
6196 * text.C (prepareToPrint): leave ERT inset left aligned
6197 (leftMargin): don't indent paragraphs inside ERT insets
6199 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6201 * paragraph.C (breakParagraph): dont call clear do the work manually
6203 * paragraph.[Ch] (clear): remove function
6205 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6207 * paragraph.C (Paragraph): dont call clear, the work has already
6210 * lyxtextclass.C (operator): assert if n is empty
6212 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6213 work manually instead.
6215 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6217 * BufferView_pimpl.C: protect selectionLost against text == 0
6219 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6221 * text.C (breakParagraph): fix a setting layout to '0' problem.
6223 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6225 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6226 final location of file, for the included files, and graphics.
6228 2002-03-05 Juergen Vigna <jug@sad.it>
6230 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6232 2002-03-04 Juergen Vigna <jug@sad.it>
6234 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6236 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6237 last column of multicolumn cells.
6238 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6240 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6242 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6243 file if it doesn't go to a temporary file.
6245 * buffer.C (sgmlOpenTag):
6246 (sgmlCloseTag): remove extra newline insertion.
6248 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6250 * text.C (getRowNearY): comment out debug msg
6252 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * text2.C: first -> first_y
6256 * text.C (getRowNearY): add some attemts at a possible
6257 optimization, not working.
6259 * tabular.[Ch]: add BufferParams to several function so that newly
6260 created paragraph can be initialized to he default layotu for the
6263 * tabular-old.C (ReadOld): add buf->params to call of Init
6265 * screen.C: rename text->first to text->first_y
6267 * paragraph.C (breakParagraph): always set layout in the broken
6270 * lyxtextclass.C (Read): remove lowercase
6273 (delete_layout): ditto
6275 * lyxtext.h: rename first -> first_y
6277 * lyxlayout.C (Read): remove lowercase
6280 (obsoleted_by): ditto
6282 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6284 * buffer.C (insertErtContents): add params are to InsetERT
6285 (parseSingleLyXformat2Token): add code to check if a paragraphs
6286 layout really exist.
6287 (parseSingleLyXformat2Token): add params to several inset
6289 (asciiParagraph): remove lowercase, do the layout comparisons with
6292 * BufferView_pimpl.C (cursorNext): first -> first_y
6293 (resizeCurrentBuffer): first -> first_y
6294 (updateScrollbar): first -> first_y
6295 (scrollCB): first -> first_y
6296 (workAreaMotionNotify): first -> first_y
6297 (workAreaButtonPress): first -> first_y
6298 (checkInsetHit): first -> first_y
6299 (cursorPrevious): first -> first_y
6300 (cursorNext): first -> first_y
6301 (Dispatch): add buffer_->params to severl inset contructors
6303 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6305 * lyxlayout.C (Read): remove some debug info that I forgot.
6307 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6308 clean up the code slightly.
6309 (makeLinuxDocFile): ditto
6310 (makeDocBookFile): ditto
6312 * text2.C: layout as string
6314 * text.C: layout as string
6316 * paragraph_pimpl.C: layout as string
6318 * paragraph.[Ch]: layout as string
6320 * lyxtextclasslist.[Ch]: layout as string
6322 * lyxtextclass.[Ch]: layout as string
6324 * lyxtext.h: layout as string
6326 * lyxlayout.[Ch]: layout as string
6328 * lyx_cb.C: layout as string
6330 * bufferview_funcs.C: layout as string
6332 * bufferparams.C: layout as string
6334 * buffer.C: layout as string
6336 * LyXView.[Ch]: layout as string
6338 * LaTeXFeatures.[Ch]: layout as string
6340 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6342 * BufferView_pimpl.C: change current_layout to string, remove
6347 (workAreaButtonRelease): layout as string
6349 * BufferView2.C (unlockInset): adjust
6351 * vspace.C (asLatexCommand): use an explict temp variable.
6353 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6355 * Makefile.am: use FRONTEND_*
6357 2002-03-01 Juergen Vigna <jug@sad.it>
6359 * tabular.C (SetWidthOfMulticolCell): changed to something better
6360 I hope but still work in progress.
6361 (recalculateMulticolumnsOfColumn): renamed function from
6362 recalculateMulticolCells as it is more appropriate now.
6363 (SetWidthOfCell): calculate multicols better.
6365 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6367 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6369 * lyxfunc.C (processKeySym): print sequence also if it is
6370 `deleted' (complete)
6372 * kbsequence.C (print): print sequence even if it is deleted
6373 (complete would be a better word, actually).
6375 * lyxfunc.C (dispatch): print complete options after a prefix key
6377 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6379 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6381 * text2.C (setCharFont): eliminate setCharFont code duplication.
6383 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6385 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6386 LFUN_TABULAR_FEATURE (bug #177)
6388 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6390 * Makefile.am: remove figure.h
6392 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6394 * Bufferview_pimpl.C:
6406 * text2.C: remove #include "lyx_gui_misc.h".
6408 * LaTeX.C: added #include <cstdio>
6410 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6412 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6413 that the paragraph following this one can have.
6415 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6417 * vspace.C (asLatexCommand): fix bogus gcc warning
6419 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6421 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6423 * text2.C (setLayout): get rid of redundant code
6425 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6427 * text2.C (incDepth): make sure depth cannot be increased beyond
6430 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6432 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6433 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6435 * PainterBase.h (image):
6436 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6439 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6443 * BufferView_pimpl.C:
6444 * BufferView_pimpl.h:
6464 * sp_spell.C: remove fig inset, and the crap house of
6465 cards that follows it
6467 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6473 * nt_defines.h: move .h into support/
6475 * vms_defines.h: remove
6477 * WorkArea.C: add space in debug output
6481 * buffer.C: add WITH_WARNINGS
6485 * bufferlist.C: s/retrive/retrieve/, add docs
6496 * lyxgui.C: add ID to X error handler
6498 * lyxtestclass.c: fix typo
6500 2002-02-26 Juergen Vigna <jug@sad.it>
6502 * tabular_funcs.C (write_attribute): changed so that some default
6503 attributes are not written at all.
6504 (getTokenValue): set default values before trying to read the
6505 value so we have the return value always set as default if we don't
6506 find the token we search for.
6508 * tabular.C (Write): write bools as bools not as strings!
6510 2002-02-22 Juergen Vigna <jug@sad.it>
6512 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6513 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6515 * text.C (leftMargin): don't add an indent for paragraphs inside
6516 tabular cells (fix #208).
6518 2002-02-21 José Matos <jamatos@fep.up.pt>
6520 * tabular.C (docBook): fixed support for long tables.
6522 2002-02-20 Juergen Vigna <jug@sad.it>
6524 * text2.C (getFont): get the drawing font of the Inset if this
6525 paragraph is inside an inset (only important for InsetERT for now).
6527 * buffer.C (insertErtContents): use new lanugage params in ERT
6530 * CutAndPaste.C: commenting out seemingly uneeded code.
6532 2002-02-19 Allan Rae <rae@lyx.org>
6534 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6535 Iterators might be simple to use but they also get invalidated.
6536 (removeAutoInsets): renamed saved cursor tracking variables and added
6537 some comments to clarify what everything does.
6539 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6546 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6547 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6550 * vc-backend.h: remove #include "support/syscall.h"
6554 * converter.C: rearrange #includes in Lars' approved fashion.
6556 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6557 forward declare class Timeout in the header file.
6559 * XFormsView.C: changes due to the above.
6561 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6564 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6565 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6567 2002-02-18 José Matos <jamatos@fep.up.pt>
6569 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6572 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6574 * a lot of small ws changes
6575 * add a lot of using std::XXX
6576 * use std construcs some places where approp.
6577 * use some exisint stuff from lyxfunctional where approp.
6578 * Make file changes to use partial linking (lets test this now...)
6580 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6584 remove #include "support/syscontr.h" as it's redundant. Always has been.
6592 change Systemcalls::System to Systemcalls::Wait and
6593 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6594 No change of functionality, just reflects the stripped down Systemcalls
6597 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6599 * debug.[Ch]: add a GRAPHICS type to the enum.
6601 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6603 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6605 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6608 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6610 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6611 match the changes below.
6613 * text2.C (toggleInset): if there is not editable inset at cursor
6614 position, try to see if cursor is _inside_ a collapsable inset
6617 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6619 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6620 document menu has a nice checkbox
6622 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6624 * lyxlength.C (asLatexString): change PW to output as percent of
6627 * lengthcommon.C: change '%' to 't%'
6629 * lyxfunc.C (dispatch): a few comments from Martin
6631 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6635 * BufferView_pimpl.h:
6636 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6639 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6641 * vspace.C (inPixels): fix compiler warning
6643 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6645 * lyxfunc.C (getStatus): fix status message for disabled commands.
6647 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6649 * BufferView_pimpl.C: fix crash on close buffer
6650 during selection (#227)
6652 2002-01-27 Herbert Voss <voss@lyx.org>
6654 * buffer.C: link old Figure to new graphic inset
6656 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6658 * FontLoader.C (getFontinfo): Change the latex font names in order
6659 to match the names of type1inst.
6661 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6663 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6665 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6668 (remove_files_with_extension): ditto
6669 (remove_file): ditto
6672 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6673 document is smaller than the work area height. Do not initialize
6674 static variables to 0.
6676 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6678 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6680 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6681 LFUN_LAYOUT_PARAGRAPHS.
6683 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6684 tabular. It is possible to provide a possible cell, which will
6685 typically be the actcell from the corresponding insettabular
6687 * lyxfunc.C (getStatus): small cleanup; disable
6688 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6691 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6693 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6695 * paragraph.C (startTeXParParams):
6696 (endTeXParParams): new methods. The LaTeX code to
6697 start/end paragraph formatting
6698 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6699 empty (fixes bug #200)
6701 * vspace.C (inPixels): adapt to the change below
6702 (inPixels): [later] more cleanups (remove unused variables)
6704 * lyxlength.C (inPixels): change to use a width and a height as
6707 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6710 Replaced with \paperwidth
6712 * DepTable.C (insert): add std:: qualifier
6714 2002-01-18 Allan Rae <rae@lyx.org>
6716 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6719 * text.C (drawInset): Turned out I didn't know enough about how
6720 rebreaking worked. This fixes most of the redraw problems. I see
6721 an occasional cursor trail when a line is broken now and the cursor
6722 placement can seem out by a few pixels also after a rebreak.
6724 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6726 * buffer.C (parseSingleLyXformat2Token): update because minipage
6727 width is now a LyXLength
6729 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6731 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6734 2002-01-17 Juergen Vigna <jug@sad.it>
6736 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6738 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6739 is set correctly and the inset is updated correctly.
6741 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6743 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6744 the beginning of the loop.
6746 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6748 * lyxrc.C: improve help for use_scalable_fonts
6750 2002-01-17 Allan Rae <rae@lyx.org>
6752 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6754 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6756 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6757 make sure to set their inset_owner to the right value (bug #171)
6759 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6762 * DepTable.C: Implement mtime checking to reduce time spent doing
6765 2002-01-16 Juergen Vigna <jug@sad.it>
6767 * tabular.C (GetAdditionalHeight): one of error fixed.
6769 * lyxrc.C (output): small fix in writing use_pspell.
6771 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6773 * sp_base.h: #include LString.h
6775 2002-01-16 Allan Rae <rae@lyx.org>
6777 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6778 Can someone check this please?
6780 * text.C (drawInset): It was possible that p.row would be removed by
6781 breakAgainOneRow upsetting a few other settings. There may be another
6782 small tweak possible by setting need_break_row = 0 when p.row has been
6783 removed but I don't know enough about the logic here.
6785 2002-01-15 Allan Rae <rae@lyx.org>
6787 * text.C (insertChar): removed conditional truism.
6789 * BufferView2.C (removeAutoInsets): More tweaks.
6790 cur_par_prev could be a stray pointer. Check for trailing empty line
6791 in case last line was cur_par and only had an error inset on it.
6793 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6795 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6798 * vc-backend.C (most methods):
6799 * exporter.C (Export):
6800 * converter.C (convert):
6802 * LyXSendto.C (SendtoApplyCB):
6803 * lyxfunc.C (dispatch):
6807 * lyx_cb.C (AutoSave):
6809 * BufferView_pimpl.C (MenuInsertLyXFile):
6810 * buffer.C (runChktex): use Buffer::filePath().
6812 * buffer.h: rename filename to filename_; rename filepath to
6813 filepath_ and make it private
6814 (filePath): new method
6816 * buffer.C (writeFile): use fileName()
6819 * lyx_main.C (init): fix starting of LyX when the binary is a
6820 link from so,ewhere else.
6822 * minibuffer.C: include <cctype> for isprint
6824 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6826 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6827 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6828 name clash with InsetCollapsable's width function.
6830 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6832 * lastfiles.C: include <iterator>
6834 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6836 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6839 * buffer.C (makeLaTeXFile): ditto.
6840 Also make loop operation more transparent.
6842 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6844 * ToolbarDefaults.C: remove trailing comma closing namespace.
6846 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6848 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6851 * trans.C (Load): comment out unused variable, allowed.
6853 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6855 * minibuffer.[Ch] (append_char): new method to recieve input from the
6856 drop-down completion browser. If a key was pressed, then recieve this
6857 char and append it to the existing string.
6858 (peek_event): modify the positioning data passed to the completion
6859 browser so that it can be placed above the minibuffer rather than below.
6860 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6862 * LyXAction.C (init): alloe error-next for readonly documents.
6864 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6867 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6869 * bufferlist.C (readFile): create the buffer _after_ checking that
6872 * lyxfunc.C (verboseDispatch): fix handling of arguments
6874 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6876 * lyxrc.C: use string::erase() instead of initializing to "".
6879 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6881 * BufferView_pimpl.h:
6882 * BufferView_pimpl.C:
6885 * text2.C: tell X when we have made a selection for copying
6887 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * BufferView_pimpl.C (MenuInsertLyXFile):
6890 * lyxfunc.C (menuNew):
6892 (doImport): add shortcuts to directory buttons
6894 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6897 * lyxfunc.C (setStatusMessage):
6898 (getStatusMessage): new methods
6899 (getStatus):use setStatusMessage instead of setErrorMessage
6900 (dispatch): when function is disabled, set error message here
6901 [instead of in getStatus previously]
6903 * BufferView_pimpl.C (workAreaButtonRelease): update
6904 toolbar/menubar here too.
6906 2002-01-13 Allan Rae <rae@lyx.org>
6908 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6909 Now seems indestructible. Remaining task is to audit all other
6910 code affected by deleteEmptyParagraphMechanism. One small quirk
6911 left is that an empty document with an error in the preamble can
6912 be made to report an error but no error box appears. I don't know
6914 (removeAutoInsets): Improved comments.
6916 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6919 * Thesaurus.C: update for Aiksaurus 0.14
6921 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6923 * text2.C (firstParagraph): removed member function, all uses
6924 replaces with ownerParagraph
6925 (redoParagraphs): here
6927 (toggleAppendix): here
6928 * BufferView2.C (insertErrors): here
6929 (setCursorFromRow): here
6931 2002-01-13 Allan Rae <rae@lyx.org>
6933 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6934 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6935 There is still a way to segfault this although you may have to do this
6936 multiple times: Have an InsetERT with an unknown command in it.
6937 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6938 <down-arrow>, <Enter> again, View->DVI, BANG!
6940 * text2.C (setCursor):
6941 (deleteEmptyParagraphMechanism):
6942 * lyxtext.h (setCursor):
6943 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6944 Making use of the return value may help fix other bugs.
6946 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6950 * LyXView.C (updateMenubar): call MenuBar::update here
6951 (updateToolbar): but not here
6952 (showState): do not update toolbar/menubar
6954 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6955 should need to care about that.
6957 * lyxfunc.C (verboseDispatch): simplify a bit
6958 (getStatus): have a version which takes a pseudoaction, and
6959 another which requires a (kb_action,string).
6961 * LyXAction.C (retrieveActionArg): make it work also when action
6962 is not a pseudo-action.
6963 (getActionName): simplify a bit
6966 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6968 * lyxfunc.C (verboseDispatch): new families of methods with
6969 several ways to specify a command and a bool to indicate whether
6970 the command name and shortcut should be displayed in minibuffer
6971 (eventually, we could extend that to a finer bitmask like
6972 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6973 (dispatch): the pristine dispatch command which just, well,
6974 dispatchs! Note it still sets its result to minibuffer; I'm not
6977 * lyxfunc.h: remove setHintMessage
6979 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6981 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6983 * BufferView_pimpl.C (specialChar): delete new inset if we have
6984 not been able to insert it.
6986 * kbmap.C: revert to using int instead of kb_action, since all we
6987 are dealing with is pseudo-actions.
6989 * LyXAction.C (searchActionArg): change to return int instead of
6990 kb_action, since the result is a pseudoaction.
6992 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6994 * buffer.C (insertErtContents): Fix (partially) the font bug.
6996 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6998 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6999 as the other one is broken on my machine!
7001 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7004 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7006 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7008 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7009 reflect their actual use. Provide compatibility code for older lyxrc
7012 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7014 change names of popup font variables in line with the changes to lyxrc.C
7016 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7018 * buffer.C (asciiParagraph): avoid outputing a word twice after
7021 * lyxrc.C (getDescription): document that document_path and
7022 template_path can be empty.
7024 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7026 * LaTeXFeatures.C (getMacros):
7027 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7029 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7031 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7033 (getPackages): rename feature "floats" to "float". Use an array to
7034 iterate over 'simple' features (i.e. just a \usepackage). Add
7035 handling of "amsmath" (renamed from "amsstyle").
7037 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7039 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7042 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7044 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7045 FuncStaus::FuncStatus & FuncStaus::some_method().
7047 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7049 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7050 of the func_satus stuff. Edited and massaged in various ways by
7053 * lyxfunc.C (getStatus): use FuncStatus
7055 2002-01-08 Juergen Vigna <jug@sad.it>
7057 * text.C (nextBreakPoint): use function Inset::isChar().
7059 * paragraph.C (TeXOnePar): use function
7060 Inset::forceDefaultParagraphs.
7062 * buffer.C (latexParagraphs): use function
7063 Inset::forceDefaultParagraphs.
7065 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7067 * lyx_gui.C (init): set the style of the menu popups to
7068 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7070 2002-01-07 Juergen Vigna <jug@sad.it>
7072 * text.C (setHeightOfRow): small fix
7073 (prepareToPrint): don't look at alignment if we don't have the place
7076 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7078 * box.C: New file. Move the Box methods and functions out of box.h,
7079 following Lars' suggestion.
7081 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7083 * box.h: #include "support/LOstream.h", needed for inlined function.
7086 * lyxtextclasslist.C: added some using std declarations.
7088 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7090 * box.h: make signed dimensions to allow insets wider than
7091 the screen (bug #162)
7093 * BufferView_pimpl.C: add some insetHit debug
7095 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7097 * vc-backend.C: add FIXME
7099 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7101 * lyxfunc.C (getStatus): enable code for showing math font status
7104 2002-01-07 Juergen Vigna <jug@sad.it>
7106 * text.C (nextBreakPoint): removed debug output not needed anymore.
7108 2002-01-06 Juergen Vigna <jug@sad.it>
7110 * text.C (nextBreakPoint): fixed up this function we had this bug
7111 since ever but now hopefully we break row better.
7112 (insertChar): we have to check if an inset is the next char as it
7113 could now happen that a large inset is causing a break.
7115 2002-01-05 Juergen Vigna <jug@sad.it>
7117 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7118 if it doesn't like to be drawed.
7120 2002-01-04 Juergen Vigna <jug@sad.it>
7122 * BufferView2.C (lockInset): forgot to set a cursor.
7124 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7126 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7131 * form_maths_panel.C:
7132 * form_maths_panel.h:
7133 * form_maths_panel.fd: implemented sub- and super- buttons in math
7136 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7137 (or ^ space) to be used as in TeX (req'd by André).
7139 * lyxfunc.C: Allow ^ and _ again to be used both as
7140 super/subscript (mathed) and as themselves (in text).
7142 2002-01-03 Allan Rae <rae@lyx.org>
7144 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7145 "LyX" or the filename of the current buffer if it has one. This is a
7146 modified form of John Levon's patch.
7148 * XFormsView.C (setWindowTitle): also set icon title.
7150 * LyXView.h (setWindowTitle): signature changed.
7151 * XFormsView.h (setWindowTitle): ditto.
7153 2002-01-02 Juergen Vigna <jug@sad.it>
7155 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7157 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7159 * screen.C (topCursorVisible): introduce a temp var for
7160 text->cursor.row(), handle the case where this row is null. (kindo
7163 * text2.C (setCursor): add a couple of asserts.
7165 * paragraph.h (inset_iterator): add -> operator
7167 * paragraph.[Ch] (autoDeleteInsets): remove member function
7169 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7170 cursor pos correctly and handle inset deletion by itself.
7171 (insertErrors): move iterator declaration out of for expression
7173 * lyxtextclass.C: add <algorithm>
7175 * Makefile.am: added the new files to sources, removed layout.C
7177 * layout.C: removed file
7179 * layout.h: remove LYX_DUMMY_LAYOUT
7181 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7185 * lyxtextclass.[Ch]:
7186 * lyxtextclasslist.[Ch]: new files
7188 * include order changes to a lot of files, also changes because of
7191 2001-12-27 Juergen Vigna <jug@sad.it>
7193 * buffer.C (asciiParagraph): more fixes.
7195 * tabular.C (ascii): make ascii export support export of only the
7196 data separated by a column-delimiter.
7197 (ascii): better support for ascii export.
7199 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7201 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7203 * tabular_funcs.C: use a "using std::getline" instead of the
7204 previous fix from Angus (necessary for cxx + lyxstring)
7206 2001-12-24 Juergen Vigna <jug@sad.it>
7208 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7210 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7211 problems. First check a minipage also if we have some ert-contents
7212 (not only on par->size(), second set the right depth of the paragraph
7213 on the relink to the root-paragraph-list!
7215 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7216 which then did not anymore update the main paragraphs on undo/redo!
7218 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7220 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7221 code. Support all font-changing funcs (even those which are not in
7222 menu currently). Support for reporting font settings in
7223 mathed (disabled until Andre provides a function on mathed's side).
7225 * func_status.h (toggle): small helper function to set toggle
7228 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7230 * tabular_funcs.C: getline -> std::getline
7232 2001-12-21 Juergen Vigna <jug@sad.it>
7234 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7235 accessed and could be 0 (I couldn't generate this but it seems
7238 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7240 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7241 * tabular_funcs.h: here and include iosfwd
7243 2001-12-20 Juergen Vigna <jug@sad.it>
7245 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7246 inside inset but undo_par was.
7248 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7250 * Thesaurus.C: always include <config.h> in sources.
7254 * box.h: do not include <config.h> in header files
7256 * text.C (paintLastRow): remove unused variable
7258 * text.C (transformChar):
7260 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7263 * font.C (width): rewrite to use uppercase() instead of
7266 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7268 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7270 * lyxfind.C: clean up of find failure position change
7272 2001-12-20 Juergen Vigna <jug@sad.it>
7274 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7276 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7277 (TeXRow): added to LaTeX a single tabular row.
7278 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7279 (Latex): simplified and finally good LT-h/f support.
7280 (various_functions): just small adaptions for LT-h/f support.
7282 * tabular_funcs.[hC]: added and moved here all not classfunctions
7285 2001-12-19 Juergen Vigna <jug@sad.it>
7287 * tabular.[Ch]: better support for longtabular options (not finished
7290 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7292 * text.C (paintLastRow): use the label font instead of the font of
7293 the last character to compute the size of *_BOX. This makes more
7294 sense and avoids a crash with empty paragraphs.
7295 Use Painter::rectangle to draw EMPTY_BOX.
7297 2001-12-19 Juergen Vigna <jug@sad.it>
7299 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7300 the paragraphs if the replaced paragraph is not the first one!
7301 Tried to delete not used paragraphs but does not work yet so for
7302 now it's inside #ifdef's and by default off!
7304 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7306 * MenuBackend.C: include "lyx_main.h" instead of declaring
7307 lastfiles (actually was declared as LastFiles* instead of a
7310 2001-12-17 Juergen Vigna <jug@sad.it>
7312 * tabular.C (AppendColumn): applied John's fix
7314 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7318 * BufferView_pimpl.h:
7319 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7322 * box.h: new start of class for above
7324 * lyxfunc.C: ignore space-only minibuffer dispatches.
7325 Show the command name when it doesn't exist
7327 * minibuffer.C: don't add empty lines to the history
7329 * minibuffer.C: add a space on dropdown completion
7331 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7333 * text.C: fix line above/below drawing in insets
7335 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7337 * lyxlength.C (LyXLength): Initialize private variables.
7339 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7341 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7342 when inserting error insets.
7344 2001-12-13 Juergen Vigna <jug@sad.it>
7346 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7347 actually sometimes the before-paragraph.
7348 (setUndo): don't clear the redostack if we're not actually undoing!
7350 2001-12-06 Juergen Vigna <jug@sad.it>
7352 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7353 and fixed redoing of main paragraph, so we can use it now ;)
7355 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7357 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7359 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7362 2001-12-13 André Pönitz <poenitz@gmx.net>
7365 * undo_func.C: minor cleanup
7367 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7369 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7370 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7371 font in urw-fonts package which is marked as -urw-fontspecific and
7372 does not work (incidentally, changing the encoding in the
7373 fonts.dir of this package to -adobe-fontspecific fixes the
7376 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7377 is a crash when undoing first paragraph (Juergen, please take a
7378 look). THis does not mean the undo fix is wrong, just that it
7381 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7382 the (Paragraph*) version when needed instead of duplicating the
7385 * text.C (workWidth): use Inset::parOwner to find out where the
7386 inset has been inserted. This is a huge performance gain for large
7387 documents with lots of insets. If Inset::parOwner is not set, fall
7388 back on the brute force method
7390 * paragraph_pimpl.C (insertInset):
7391 * paragraph.C (Paragraph):
7392 (cutIntoMinibuffer): set parOwner of insets when
7393 inserting/removing them
7395 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7397 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7403 * mathed/formulabase.C:
7404 * mathed/math_cursor.[Ch]:
7405 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7408 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7410 * lyxlength.[Ch] (operator!=): new function
7412 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7414 * text.C (workWidth): use Inset::parOwner to find out where the
7415 inset has been inserted. This is a huge performance gain for large
7416 documents with lots of insets. If Inset::parOwner is not set, fall
7417 back on the brute force method
7419 * paragraph_pimpl.C (insertInset):
7420 * paragraph.C (Paragraph):
7421 (cutIntoMinibuffer): set parOwner of insets when
7422 inserting/removing them
7424 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7426 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7428 * tabular-old.C (getTokenValue):
7429 * tabular.C (getTokenValue):
7430 (write_attribute): new versions for LyXLength
7431 (everywhere): adjust the use of widths
7433 * tabular.h: change the type of widths from string to LyXLength
7435 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7437 * paragraph.C: fixed missing line number count when exporting
7438 Environments to LaTeX file
7440 * buffer.C: added informational message for checking line numbers.
7442 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7444 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7445 paragraph, do the 'double space' part, but not the 'empty
7448 * text.C (workWidth): small optimization
7449 (getLengthMarkerHeight): use minimal size for negative lengths.
7451 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7453 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7455 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7457 2001-12-11 André Pönitz <poenitz@gmx.net>
7460 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7462 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7464 * text2.C: keep selection on a setFont()
7466 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7468 * lyx_cb.C: another bv->text misuse, from insert label
7470 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7473 * kbsequence.C: re-instate nmodifier mask
7475 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7477 * lyx_main.h: make lyxGUI private.
7479 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7481 * lyxfind.C: place the cursor correctly on failed search
7483 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7485 * text.C (getLengthMarkerHeight): for small heights, the arrows
7486 are not always on top/bottom of the text
7487 (drawLengthMarker): smaller arrows; take the left margin in
7488 account; draw also vfills.
7490 (paintLastRow): remove special code for vfill and standard spaces,
7491 since everything is handled in drawLengthMarker now.
7493 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * buffer.C (insertErtContents): try to handle font and language
7496 interaction a bit better.g
7498 * ColorHandler.C (updateColor): change the hash to cover the whole
7499 LColor enum, ws cleanup
7500 (getGCLinepars): ditto
7501 (getGCLinepars): only lookup in the linecache once.
7503 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7505 * iterators.C (operator++): Make the iterator more robust
7507 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7509 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7511 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7514 * text.C: better added space drawing
7516 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7519 * BufferView2.C: fix layout combo update on inset unlock
7521 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7523 * Makefile.am: don't compile unused files
7525 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7529 * LyXAction.C: remove old LFUN_LAYOUTNO
7531 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7533 * paragraph_pimpl.h:
7534 * paragraph_pimpl.C: isTextAt() doesn't need font param
7536 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7539 * lyxlex.C: little cleanup
7541 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7543 * BufferView_pimpl.C: fix insertAscii for insets
7545 2001-12-05 Juergen Vigna <jug@sad.it>
7547 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7548 set the right font on the "multi" paragraph paste!
7550 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7556 * lyxlength.C: remove out-commented code.
7572 * vc-backend.C: change "while(" to "while ("
7574 * lyxlength.[Ch]: add zero function to check if length is zero or
7576 * lyxgluelength.C: use it
7578 2001-12-05 Allan Rae <rae@lyx.org>
7580 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7581 Works for 2.95.3, from what I understand of Garst's reports this should
7582 work for other g++ versions. We're screwed if the abs(int) definition
7583 changed between bugfix releases of gcc.
7585 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7587 * text.C: fix chapter label offset !
7589 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7592 * text.C: fix hfill at end of line, clean up
7594 2001-12-04 Juergen Vigna <jug@sad.it>
7596 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7597 that we force an update of the inset and it's owners if neccessary.
7599 2001-12-03 Juergen Vigna <jug@sad.it>
7601 * text.C (rowLast): simplified code
7603 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7605 * lyxfunc.C: fix show options on timeout
7607 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * screen.C (topCursorVisible): scroll half a page when the cursor
7610 reached top of bottom of screen
7612 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7614 * minibuffer.C: deactivate on loss of focus
7616 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7618 * vspace.[Ch] (operator!=): add operator.
7620 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7622 * BufferView_pimpl.C: refuse to open an inset when
7623 there's a selection.
7625 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7627 * BufferView_pimpl.C: allow to click on RHS of full row insets
7629 2001-11-30 Juergen Vigna <jug@sad.it>
7631 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7632 insets for undo reasons.
7634 2001-11-28 André Pönitz <poenitz@gmx.net>
7636 * vspace.[Ch]: cosmetical changes
7638 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7648 * kbsequence.C: part re-write of old kb code
7651 * WorkArea.C: remove Lgb_bug_find_hack
7653 2001-11-30 José Matos <jamatos@fep.up.pt>
7655 * buffer.C (makeDocBookFile): add a comment to point a hack.
7656 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7657 Fixed a double write of labels.
7659 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7662 * LaTeX.h Fixed bug in LaTeX class where it would not
7663 re-run latex if no depfiles were changed, but the .dvi was removed.
7665 2001-11-28 André Pönitz <poenitz@gmx.net>
7667 * all the files from the change on 2001/11/26:
7668 use lyx::layout_type instead of LyXTextClass::size_type
7669 use lyx::textclass_type instead of LyXTextClassList::size_type
7671 2001-11-29 Juergen Vigna <jug@sad.it>
7673 * text.C: added support for paragraph::isFreeSpacing()
7675 * buffer.C: same as above
7677 * paragraph.h: inserted isFreeSpacing() function to enable
7678 FreeSpacing inside InsetERT.
7680 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7681 of the paragraph's in the cut/copy buffer to 0!
7683 * text2.C (removeRow): remove the assert as it can!
7685 * lyxtext.h: added helper function firstRow returning firstrow and
7686 made firstrow private again.
7688 * BufferView2.C (lockInset): don't relock if we're already locked!
7690 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7692 (removeRow): added Assert::(firstrow)
7694 * debug.C: forgot to add INSETTEXT here.
7696 2001-11-28 Juergen Vigna <jug@sad.it>
7698 * sp_spell.C (initialize): changed error text to more general
7699 spellchecker command use (not only ispell!)
7701 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7703 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7705 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7707 * vspace.C: initialise lyxgluelength on failure
7709 2001-11-28 Allan Rae <rae@lyx.org>
7711 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7712 declaration & definition that looks like a function declaration.
7714 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7716 * BufferView2.C (copy):
7717 (copyEnvironment): do not clear the selection when doing a copy.
7719 * text.C (paintFirstRow): compilation fix
7721 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7723 * tabular.C (Latex): correct line count when writing latex.
7725 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7727 * paragraph_pimpl.h:
7728 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7731 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7735 * LColor.C: change vfillline->added_space
7737 * text.C: add markers and text for added space
7739 * vspace.C: fix comment
7741 2001-11-28 André Pönitz <poenitz@gmx.net>
7743 * paragraph.C: whitespace changes
7744 * all the other files from the change on 2001/11/26:
7745 change *::pos_type into lyx::pos_type
7747 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7749 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7750 language of the document when inserting error insets.
7752 2001-11-26 André Pönitz <poenitz@gmx.net>
7754 * BufferView_pimpl.[Ch]:
7762 * paragraph_pimpl.[Ch]:
7765 * text2.C: reduce header dependencies, introduce type for positions
7767 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7769 * <various>: change to use Alert.h
7771 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7773 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7774 when encountering an unknown token.
7775 (readLyXformat2): Show an error message if there were unknown tokens.
7777 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7780 * BufferView_pimpl.C:
7784 * text2.C: use par->isInset()
7786 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7788 * paragraph_pimpl.h:
7789 * paragraph_pimpl.C: cleanup
7791 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7793 * text2.C (removeRow):
7794 * text.C (setHeightOfRow): remove useless (and costly) call to
7797 2001-11-20 Allan Rae <rae@lyx.org>
7799 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7800 Now need Inset*::checkInsertChar() to return true for appropriate
7801 cases so that the characters in the minibuffer will actually be
7804 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7806 * text.C: change the order of the includes.
7807 (workWidth): initialize it at once.
7808 (workWidth): make maxw unsigned
7809 (setHeightOfRow): remove unused variable (inset)
7810 (selectSelectedWord): remove unused variable (inset)
7811 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7813 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7815 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7816 server is not running.
7818 (closeConnection): add debug info when server is disabled.
7820 * ColorHandler.C (getGCForeground): send debug message to GUI
7823 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7825 * kbmap.C (bind): modify because return conventions of
7826 kb_sequence::parse have changed.
7828 * kbsequence.C (parse): only ignore spaces and not any stupid
7829 control character. This avoids tests like s[i] <= ' ', which are
7830 guaranteed to fail with 8bit characters and signed chars.
7831 Change return code to string::npos when there have been no error
7832 (0 was a bad idea when error is at first character)
7834 2001-11-14 José Matos <jamatos@fep.up.pt>
7837 * buffer.C (simpleDocBookOnePar): removed unused argument.
7839 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7841 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7842 insets which are part of a word. Paragraph::isLetter takes care of
7843 that now. Use Paragraph::isInset to identify insets.
7844 (selectSelectedWord): do not test for hyphenation break.
7846 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7847 that protected spaces are considered as spaces.
7849 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7852 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7855 * lyxserver.C: fix it. and small cleanup.
7857 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7859 * BufferView_pimpl.C: use inline helpers
7862 * LaTeXFeatures.C: fix typos
7865 * Spacing.C: move spacing_string into class
7867 * ToolbarDefaults.C: move stuff into namespace anon
7869 * layout.h: update enum
7871 * lyxfunc.C: use better debug
7873 * minibuffer.h: fix typo
7877 * WorkArea.C: add and use Debug::WORKAREA
7881 * text2.C: code re-organisation, inline helpers
7883 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7885 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7886 std::vector.empty().
7888 2001-11-09 Allan Rae <rae@lyx.org>
7890 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7891 '\n's after tables. Tabular and ERT inset work now makes this no
7894 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7897 * minibuffer.C: fix crash, improve drop-down completion
7899 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7902 * lyxserver.C: invalidate fd's when doing endPipe()
7904 2001-11-08 José Matos <jamatos@fep.up.pt>
7906 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7907 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7910 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7912 2001-11-07 José Matos <jamatos@fep.up.pt>
7915 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7918 * buffer.C (sgmlOpenTag):
7919 * buffer.C (sgmlCloseTag): removed debug info.
7921 * buffer.h (sgmlOpenTag):
7922 * buffer.h (sgmlCloseTag): made public.
7924 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7926 * buffer.C (saveParamsAsDefaults):
7927 * lyx_cb.C (MenuLayoutSave): remove
7929 * LyXAction.C (init):
7931 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7933 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7935 * buffer.C (setPaperStuff): removed from here...
7937 * bufferparams.C (setPaperStuff): ... and moved there.
7939 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7943 * XFormsView.C: add support for drop-down completion
7945 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7947 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7950 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7952 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7955 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7957 * lyx_main.C: change ref to known bugs
7959 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7961 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7962 to work around older babel problems.
7964 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7966 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7968 2001-10-24 Juergen Vigna <jug@sad.it>
7970 * tabular-old.C (ReadOld): below variable changes reflected.
7972 * tabular.[Ch]: added ltType struct for longtable header/footer
7973 defines and changed all instances where they are used. Added
7974 future support for double top/bottom rows.
7976 2001-10-24 José Matos <jamatos@fep.up.pt>
7978 * buffer.h (docbookHandleCaption):
7979 * buffer.C (docbookHandleCaption): removed unused function.
7980 (makeDocBookFile): moved docbook supported version to v4.1.
7982 2001-10-24 José Matos <jamatos@fep.up.pt>
7985 * tabular.C (docbookRow): new function to export docbook code of a row.
7986 (DocBook): now honors the longtable flags.
7988 2001-10-23 José Matos <jamatos@fep.up.pt>
7991 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7992 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7994 * buffer.C (makeLinuxDocFile):
7995 (makeDocBookFile): reworked the preamble, more clean, and with
7996 support for lyx defined entities. Changed the document declaration
7997 to be more XML friendly.
7999 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8000 if we need to output XML that should be done with a filter.
8002 2001-10-22 Juergen Vigna <jug@sad.it>
8004 * sp_pspell.h (class PSpell): add alive function needed in the
8005 controller to see if the spellchecker could be started.
8007 2001-10-22 Juergen Vigna <jug@sad.it>
8009 * buffer.C (insertStringAsLines): modify the font for inserting
8010 chars in certain conditions by calling checkInsertChar(font).
8012 2001-10-19 Juergen Vigna <jug@sad.it>
8014 * text.C (workWidth): use getRow instead of wrong algorithm.
8015 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8017 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8022 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8024 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8026 * text.C (workWidth): do not search for the exact row when
8027 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8028 optimization for big documents.
8030 2001-10-18 Juergen Vigna <jug@sad.it>
8032 * text.C (workWidth): new function with added Inset * parameter.
8034 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8036 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8038 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8039 change return type of getColumnNearX.
8042 * text.C (changeRegionCase): use uppercase/lowercase instead of
8045 (rightMargin): simplify code by factoring out the uses of
8050 (appendParagraph): use Paragraph::size_type
8052 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8054 * vspace.C (asLatexString): add a missing break
8056 2001-10-15 Herbert Voss <voss@perce.de>
8058 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8060 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8062 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8065 2001-10-10 André Pönitz <poenitz@gmx.net>
8067 * lyxfunc.C: removed greek_kb_flag.
8069 2001-10-10 Herbert Voss <voss@perce.de>
8071 * lyx_main.C: delete global string help_lyxdir.
8073 2001-10-09 Herbert Voss <voss@perce.de>
8075 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8077 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8079 * lyx_main.C: added global string help_lyxdir.
8081 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8083 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8085 * lyxrc.C (set_font_norm_type): support iso8859-4
8087 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8089 * LaTeX.C (deplog): add another regex for MikTeX
8091 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8093 * lyxrc.C (set_font_norm_type): support iso8859-3
8095 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8097 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8099 * LaTeXFeatures.C: remove special case of french and index
8101 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8102 before \begin{document}). This solves several incompatibilities.
8104 2001-10-03 Garst Reese <reese@isn.net>
8106 * lyx_cb.C: change CheckTex error msg.
8108 2001-10-03 José Matos <jamatos@fep.up.pt>
8110 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8112 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8114 * .cvsignore: update
8116 * lyx_main.C (commandLineVersionInfo): use new style version info.
8118 * buffer.C (writeFile):
8121 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8123 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8125 * version.h: update to use stuff in version.C
8127 * version.C.in: new file. Contains version information determined
8128 at compile time. This is a merging of version.h and
8131 2001-10-03 Juergen Vigna <jug@sad.it>
8133 * BufferView_pimpl.C (update): don't change "dirty" status in
8136 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8138 * WorkArea.C (c-tor): re-position version string slightly.
8140 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8142 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8143 revert to previous code.
8145 WorkArea.[Ch]: (show, destroySplash): methods removed.
8147 WorkArea.C: rework code so that it's an amalgam of the codes before and
8148 after the splash screen was moved to WorkArea.
8150 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * vspace.C (inPixels):
8156 * buffer.C (insertStringAsLines):
8157 (asciiParagraph): fix types to be large enough
8159 * lyxlex_pimpl.h: change member status from short to int
8161 * layout.h: fix type of endlabeltype
8164 * kbsequence.C (parse): change return type to string::size_type
8166 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8169 * Bullet.C (bulletSize):
8170 (bulletEntry): do not use short ints as parameters
8172 * BufferView2.C (insertLyXFile): change a char to an int.
8174 * WorkArea.C (WorkArea): remove unneeded floats in computation
8176 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8178 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8180 * paragraph.C (asString): Do not ignore newline/hfill chars when
8181 copying to the clipboard.
8183 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8185 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8186 after a multi-line inset.
8188 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8190 * paragraph.C (validate): Set NeedLyXFootnoteCode
8192 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8194 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8195 and decrease-error to decrease.
8197 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8199 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8200 it more readable (should be equivalent)
8202 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8204 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8206 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8208 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8209 of a cursor (row, etc.) after a character has been deleted
8210 (deleteEmptyParagraphMechanism): call the method above on _all_
8211 cursors held by the LyXText when a double space has been
8214 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8216 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8218 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8220 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8221 background. Use greyOut() and the new show() methods to toggle between
8222 the foreground and background. Add code to remove the splash after
8223 its initial showing.
8225 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8226 (create_forms): no longer call Dialogs::showSplash.
8228 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8230 * .cvsignore: add version_info.h
8232 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8234 * version_info.h.in: new file
8236 * Makefile.am: add version_info.h.in
8238 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8239 version_info.h instead of VERSION_INFO
8241 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8243 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8244 The ERT inset now returns string().
8246 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8248 * lyxtext.h, text.C (selectNextWord): renamed as
8249 selectNextWordToSpellcheck.
8251 * text.C (selectNextWordToSpellcheck): Modified to not select
8252 words inside an ERT inset.
8254 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8256 * lyx_cb.C (MenuLayoutSave): change a bit the question
8258 * sp_base.h: include <sys/types.h>
8260 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8262 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8264 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8266 * several files: fix typos in user-visible strings
8268 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8270 * text2.C (pasteSelection): do not set the selection, since it
8271 will be cleared later. Actually, the intent was to fix the way the
8272 selection was set, but I figured rmoving the code was just as good.
8274 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8276 * FontLoader.C (available): Check if font is available without
8279 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8281 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8283 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8285 * lyxrc.[Ch]: added display_graphics variable and associated code.
8287 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8289 * bufferparams.C (hasClassDefaults): new method. Returns true if
8290 the buffer parameters correspond to known class defaults
8292 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8294 * XFormsView.C (show): set minimum size to the main window.
8296 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8298 * text2.C (copySelection):
8300 * lyxfind.C (LyXReplace):
8301 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8302 LyXText::selectionAsString.
8304 * paragraph.C (asString): add "label" argument to the second form
8306 * text2.C (selectionAsString): add "label" argument and pass it to
8307 Paragraph::asString.
8309 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8311 * lyx_main.C (commandLineHelp): remove version information
8313 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8315 * lyx_main.C: add -version commandline option
8317 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8319 * paragraph.h: make the optional constructor arg required instead.
8320 some modifications to other files because of this.
8322 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8324 * lyxserver.C (C_LyXComm_callback): make it static
8326 * lyx_main.C (error_handler): make it static
8328 * lyx_gui.C (LyX_XErrHandler): make it static
8330 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8332 * WorkArea.C: make the extern "C" methods static.
8334 * Makefile.am (lyx_LDADD): simplify
8336 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8338 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8339 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8341 * LyXAction.C (init):
8342 * lyxfunc.C (dispatch): associated code removal.
8344 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8346 * lyxfont.h (isSymbolFont): shut off warning
8348 * text.C (setHeightOfRow):
8349 (getVisibleRow): fix crash with empty paragraphs which have a
8352 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8354 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8357 2001-09-04 José Matos <jamatos@fep.up.pt>
8360 * tabular.C (docbook): rename docBook method to docbook.
8362 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8364 * Makefile.am: add dependencies to main.o.
8366 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8368 * FontLoader.C (available): Return false if !lyxrc.use_gui
8370 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8372 * FontInfo.C (query):
8373 * converter.C (view):
8374 * importer.C (Import):
8375 * exporter.C (Export): Can not -> cannot.
8377 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8379 * BufferView_pimpl.C: allow to create index inset even if
8382 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8384 * buffer.C (getLists): replace boost::tie code with an explicit pair
8385 as boost::tie can break some compilers.
8387 * iterators.h: Added a std:: declaration to the return type of
8390 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8392 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8395 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8397 * iterators.[Ch]: New files. Provide paragraph iterators.
8399 * buffer.C (changeLanguage): Use paragraph iterators.
8400 (isMultiLingual): ditto
8402 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8404 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8406 * FontLoader.C: Support for cmr font.
8408 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8410 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8411 (available): New method.
8413 * FontInfo.C (getFontname): Use scalable fonts even when
8414 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8417 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8419 * converter.C (Formats::view): reverted! Incorrect fix.
8421 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8423 * converter.C (Formats::view): only output the -paper option
8424 if the dvi viewer is xdvi, thereby fixing bug #233429.
8426 2001-08-23 Herbert Voss <voss@perce>
8428 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8430 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8432 * Spacing.h (Spacing): Set space to Default on in the default
8435 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8437 * vc-backend.h (RCS::versionString): add RCS to version
8438 (CVS::versionString): add CVS to version
8440 * vc-backend.C (scanMaster): do not add CVS to version.
8441 (scanMaster): do not add RCS to version
8443 * lyxvc.C (versionString): new method
8445 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8447 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8449 * Spacing.C (set): initialize fval
8451 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8453 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8456 2001-08-16 Juergen Vigna <jug@sad.it>
8458 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8460 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8462 * BufferView_pimpl.C:
8465 * text2.C: setParagraph takes linespacing now
8467 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8469 * LyxAction.C: add internal LFUN_CITATION_INSERT
8471 * LyXView.C: actually apply fix
8473 * bufferlist.C: fix open non-existent file
8475 * lyxfind.C: fix indentation
8477 * lyxfunc.C: remove unneeded assert, fix typo
8479 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8481 * MenuBackend.C: use "Floatname List"
8483 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8485 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8486 when converting LaTeX layout to insetERT.
8487 Generate a non-collapsed float when reading old float
8489 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8491 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8494 2001-08-13 Juergen Vigna <jug@sad.it>
8496 * text.C (fill): return 0 instead of 20 as this seems to be the more
8499 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8501 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8504 2001-08-13 Juergen Vigna <jug@sad.it>
8506 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8508 (SearchBackward): comment out the unlocking of the inset_owner this
8509 should not be needed!
8511 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8513 * Many files: Remove inherit_language, and add latex_language
8515 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8518 2001-08-10 Juergen Vigna <jug@sad.it>
8520 * text.C (prepareToPrint): fixed hfill-width in draw!
8522 * BufferView2.C (selectLastWord): save the selection cursor as this
8523 now is cleared in the function LyXText::clearSelection!
8525 2001-08-08 Juergen Vigna <jug@sad.it>
8527 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8528 BACKSPACE type functions.
8530 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8531 is only cutted from the document but not put in the cut-buffer, where
8532 still the old stuff should be.
8534 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8536 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8538 * tabular.C (SetWidthOfCell): fixed special case where the width
8540 (LeftLine): handle '|' in align_special.
8542 (LeftAlreadyDrawed): ditto
8543 (SetWidthOfCell): ditto
8545 2001-08-07 Juergen Vigna <jug@sad.it>
8547 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8549 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8551 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8552 * lyxlex.[hC]: ditto
8554 2001-08-06 Juergen Vigna <jug@sad.it>
8556 * text.C (getVisibleRow): fix up row clearing a bit.
8558 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8560 * minibuffer.C: make sure the X server sees the changes in the input.
8562 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * paragraph.C (getFont): split into...
8565 (getLabelFont): this
8566 (getLayoutFont): and this
8567 * paragraph_pimpl.C (realizeFont): calling this
8569 * text2.C (getFont): split into...
8570 (getLayoutFont): this
8571 (getLabelFont): and this
8572 (realizeFont): all three calling this
8574 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8577 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8579 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8581 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8583 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8584 layouts from the Quote inset insertion.
8586 2001-08-03 Juergen Vigna <jug@sad.it>
8588 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8590 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8591 only if status not is already CHANGED_IN_DRAW (second level).
8593 * text.C (draw): don't set the need_break_row when inside an
8596 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8598 * buffer.C (parseSingleLyXformat2Token): handle more latex
8601 * bufferview_funcs.[hC]: change function names to
8602 begin with small char, adjust other files.
8604 2001-08-02 André Pönitz <poenitz@gmx.net>
8607 BufferView_pimpl.C: remove broken special code for math-greek
8609 2001-08-02 Juergen Vigna <jug@sad.it>
8611 * BufferView_pimpl.C (update): redone this function so that we
8612 update the text again if there was a CHANGE_IN_DRAW.
8614 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8615 (drawFromTo): added a new internal bool which is used by draw() and
8617 (general): some cursor drawing problems fixed.
8619 2001-08-01 Juergen Vigna <jug@sad.it>
8621 * lyxfind.C (LyXFind): fixed
8622 (SearchForward): ditto
8623 (SearchBackward): ditto
8625 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8626 spurius drawing of the cursor in the main area.
8628 * text2.C (status): small fix which could lead to a segfault!
8629 (clearSelection): remove unneeded BufferView param.
8631 2001-08-01 André Pönitz <poenitz@gmx.net>
8633 * lyxfunc.C: small change due to changed mathed interface
8635 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8637 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8639 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8641 * lyxfunc.c: fail gracefully if file doesn't exist
8646 * BufferView_pimpl.C: IsDirWriteable() proto changed
8648 * LyXView.C: fix updateWindowTitle() to store the last title
8650 2001-07-31 Juergen Vigna <jug@sad.it>
8652 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8653 the font (wrong since using of Paragraph::highestFontInRange).
8655 * paragraph.C (highestFontInRange): added a default_size parameter.
8657 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8658 (setHeightOfRow): reformat
8660 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8662 * converter.[hC] + affected files: move to (inital-char)lowercase
8665 * ParagraphParameters.C (ParagraphParameters): remove commented code
8667 * PainterBase.[Ch]: remove commented code
8669 * LaTeXFeatures.h: add "bool floats" for float.sty
8671 * LaTeXFeatures.C (LaTeXFeatures): init floats
8672 (require): handle float
8673 (getPackages): do it with floats
8675 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * BufferView_pimpl.C (Dispatch): improve handling of
8678 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8680 * commandtags.h: #include lyxfont.h here temporarily to avoid
8683 * bufferlist.h: include LString.h here.
8685 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8687 * text2.C (getStringToIndex): new method.
8689 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8691 * *: Reduced header file dependencies all over.
8693 2001-07-30 Baruch Even <baruch@lyx.org>
8695 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8697 2001-07-29 Baruch Even <baruch@lyx.org>
8699 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8701 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * ParameterStruct.h (endif): add a default constructor to make
8704 sure that all variables is initialized.
8706 * ParagraphParameters.C (ParagraphParameters): adjust
8708 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8710 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8711 index; also, check that there is something to index, and that it
8712 does not span over several paragraphs.
8713 (doubleClick): use WHOLE_WORD_STRICT for double click.
8715 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8717 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8720 2001-07-26 Baruch Even <baruch@lyx.org>
8722 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8723 an InsetFig figure, backwards compatible reading of old figure code.
8725 2001-07-27 Juergen Vigna <jug@sad.it>
8727 * text2.C: font.realize function adaption.
8729 * text.C (draw): add a warnings lyxerr text if needed.
8731 * layout.C: font.realize function adaption.
8733 * language.C: add inherit_language and implement it's handlings
8735 * bufferview_funcs.C (StyleReset): remove language parameter from
8736 font creation (should be language_inherit now).
8738 * bufferparams.C (writeFile): handle ignore_language.
8740 * paragraph.C (getFontSettings): the language has to be resolved
8741 otherwise we have problems in LyXFont!
8743 * lyxfont.C (lyxWriteChanges): added document_language parameter
8744 (update): removed unneeded language parameter
8746 * paragraph.C (validate): fixed wrong output of color-package when
8747 using interface colors for certain fonts in certain environments,
8748 which should not seen as that on the final output.
8750 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8752 * BufferView_pimpl.C:
8757 * LyXAction.C: add thesaurus support
8760 * lyxfind.C: add "once" parameter, for thesaurus, to not
8761 move to the next match
8763 2001-07-26 Juergen Vigna <jug@sad.it>
8765 * lyxfont.C (realize): honor ignore_language too!
8768 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8770 * text.C (draw): one place more for ignore_language to not draw
8773 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8775 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8777 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8779 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8780 the minipage conversion problem.
8782 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8784 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8787 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8789 * BufferView.h: don't forward declare WorkArea
8791 * BufferView.C: don't include WorkArea.h
8793 2001-07-25 André Pönitz <poenitz@gmx.net>
8797 * lyxfunc.C: new LFUN 'math-space'
8799 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8801 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * text2.C (toggleInset): call open/close
8805 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8807 * lyxfunc.C (dispatch): add debug for the disabled case
8809 * font.C (buttonText): make similar to rectText
8811 * buffer.C (readInset): comment out parsing of insetlist and
8814 * PainterBase.C (rectText): small correction
8816 * BufferView_pimpl.C: comment out insettheorem and insetlist
8817 * LyXAction.C: ditto
8818 * commandtags.h: ditto
8820 2001-07-24 Juergen Vigna <jug@sad.it>
8822 * text.C (draw): honor the ignore_language.
8824 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8826 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8828 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8831 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8833 * lyxtext.h: remove unused (and unimplemented) methods
8835 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8837 * text.C (getVisibleRow): honor background color
8840 * Painter.h: remove default color argument for fillRectangle
8842 * text.C (backgroundColor): new method
8844 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8846 * text.C (getVisibleRow): adjust
8848 * font.[Ch] (rectText): new method, metrics
8849 (buttonText): new method, metrics
8851 * PainterBase.[hC]: make rectText and buttonText always draw and take
8854 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8856 * ToolbarDefaults.C (read):
8857 * MenuBackend.C (read): allow escaping in all strings
8859 * BufferView_pimpl.C (insertAndEditInset): new method.
8860 (Dispatch): use insertAndEditInset whenever appropriate.
8862 * BufferView_pimpl.C (insertNote): removed
8864 * BufferView_pimpl.C (smartQuote): new method, moved from
8865 BufferView; if an insetquote cannot be inserted, insert a '"'
8868 * BufferView2.C: remove insertCorrectQuote();
8870 * lyxfunc.C (getStatus): Add support for all remaingin
8873 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8875 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8876 command (necessary to pass " as parameter of self-insert.
8878 * text.C (selectWordWhenUnderCursor):
8879 (selectWord): add word_location parameter
8880 (selectWordWhenUnderCursor): same + remove special code for word
8882 (selectNextWord): use kind() to guess type of insetspecialchar,
8885 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8886 (insertErtContents): create ert insets as collapsed.
8887 (readInset): better compatibility code for Info inset.
8889 2001-07-20 Juergen Vigna <jug@sad.it>
8891 * lyxfunc.C (dispatch): use always LyXFind now!
8893 * text2.C (init): add a reinit flag so that the LyXText can be
8894 reinited instead of deleted and reallocated (used in InsetText).
8896 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8902 2001-07-18 Juergen Vigna <jug@sad.it>
8904 * text.C (selectNextWord): handle insets inside inset by calling
8905 always the bv->text functions so that we can go up the_locking_inset!
8907 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8908 in strange locations when inside an inset!
8910 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8911 handling to include insets.
8913 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8915 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8917 * LyXAction.C (init):
8919 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8920 LIGATURE_BREAK, since the name is so stupid.
8922 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8924 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8927 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8929 * sp_form.[Ch]: remove.
8931 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8933 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8936 * src/buffer.C (readInset): ditto.
8938 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8940 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8941 menuSeparator(), endOfSentenceDot(), ldots() and
8942 hyphenationPoint(), which are therefore removed.
8943 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8945 * LyXAction.C (init):
8946 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8948 * paragraph.C (getWord): removed.
8950 * BufferView_pimpl.C (Dispatch): use last word or selection for
8951 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8953 * lyx_main.C (queryUserLyXDir): do not ask before creating
8954 user_dir, except if it has been named explicitely.
8956 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8958 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8959 a document of zero size.
8961 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8963 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8964 approriately in the c-tor and in require().
8965 (getPackages): output the appropriate LaTeX for natbib support.
8967 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8968 variables "use_natbib" and "use_numerical_citations" when reading the
8970 (readInset): read the various natbib cite commands.
8971 (validate): white-space change.
8973 * bufferparams.[Ch]: new variables "bool use_natbib" and
8974 "bool use_numerical_citations".
8975 (writeFile): output them in the LyX file.
8977 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8979 * lyxfunc.C (getStatus): add support for all the inset insertion
8982 * text2.C (insertInset):
8983 * paragraph.C (insetAllowed):
8984 * BufferView_pimpl.C (insertInset): update to take in account the
8985 renaming of insertInsetAllowed
8987 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8989 * text2.C (getInset): new method. returns inset at cursor position.
8991 * BufferView_pimpl.C (Dispatch): changes because of this.
8993 * LyXAction.C (init): rename open-stuff to inset-toggle.
8995 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8997 * text2.C (toggleInset): renamed from openStuff; use
9000 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9002 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9004 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9006 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9008 * buffer.C (readLyXformat2): Add filename to the error dialog
9010 2001-07-18 Juergen Vigna <jug@sad.it>
9012 * tabular.C (GetCellNumber): put an assert here instead of the check!
9014 2001-07-17 Juergen Vigna <jug@sad.it>
9016 * BufferView_pimpl.C (toggleSelection): adapted too.
9018 * text.C (selectNextWord): adapted for use with insets.
9019 (selectSelectedWord): ditto
9021 2001-07-17 Juergen Vigna <jug@sad.it>
9023 * sp_spell.C (PSpell): fix initialitation order.
9025 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9027 * paragraph.C: spacing
9029 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9031 * sp_spell.C: repair language selection for pspell
9033 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * lyxfunc.h: change more methods to begin with lower char.
9037 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9039 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9040 for unknown layouts.
9042 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9044 * buffer.C (readLyXformat2): Generate an error dialog if there are
9047 2001-07-16 Juergen Vigna <jug@sad.it>
9049 * sp_spell.C: always compile ISpell part.
9051 * lyxrc.C: added use_pspell entry and it's handling.
9053 2001-07-13 Juergen Vigna <jug@sad.it>
9055 * sp_spell.C: removed double includes.
9057 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9059 Consistent use of Lsstream.h:
9060 * Lsstream.h: added using std::stringstream for consistencies sake.
9062 * buffer.C: removed using std::stringstream
9064 * lyxfont.C (stateText):
9065 * paragraph.C (asString):
9066 * text.C (selectNextWord, selectSelectedWord):
9067 * text2.C (setCounter):
9068 * vspace.C (asString, asLatexString):
9069 std::ostringstream -> ostringstream.
9071 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9073 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9074 * commandtags.h: add LFUN_HELP_ABOUTLYX
9075 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9077 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9079 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9081 * lyx_gui_misc.C: remove spellchecker
9082 * lyxfunc.C: showSpellchecker
9084 * sp_ispell.h: added
9085 * sp_pspell.h: added
9087 * sp_form.[Ch]: removed
9088 * spellchecker.[Ch]: removed
9090 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9092 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9094 (simpleTeXSpecialChars): Simply print the input character without
9095 any special translation if pass_thru is set.
9097 * layout.h: Added bool pass_thru to layout class for being able to
9098 implement pass through of a paragraph for Literate Programming.
9100 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9101 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9102 * layout.C (Read): add "passthru" to list of layout tags and add
9103 code to set the pass_thru boolean when it is read.
9105 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9107 * trans_decl.h: remove allowed from KmodInfo
9109 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9113 * paragraph_pimpl.C (erase): use boost::prior
9115 * Painter.C (text): use data() instead of c_str() when length is
9117 * WorkArea.C (putClipboard): ditto
9118 * font.h (width): ditto
9120 * BufferView2.C: use it-> instead of (*it). for iterators
9122 * paragraph_pimpl.C: ditto
9123 * paragraph.C: ditto
9124 * minibuffer.C: ditto
9129 * converter.C: ditto
9131 * Variables.C: ditto
9132 * TextCache.C: ditto
9133 * MenuBackend.C: ditto
9134 * LyXAction.C: ditto
9136 * FloatList.C: ditto
9138 * ColorHandler.C (LyXColorHandler): ditto
9140 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9142 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9144 * text2.C (openStuff): reintroduce this method (which had been
9145 nuked in NEW_INSETS frenzy).
9147 * lyxfunc.C (Dispatch): when an action has not been handled, use
9148 its name in the error message, not its number.
9150 * paragraph.C (inInset): change method name to begin with lowercase.
9153 * text2.C: updates because of this.
9155 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9157 * ToolbarDefaults.C (add): add spaces in error message
9159 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9161 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9162 (readLyXformat2): rename return_par to first_par, use lyxlex's
9163 pushToken and remove the manual push handling.
9164 (parseSingleLyXformat2Token): add another ert comp. variable:
9165 in_tabular, rename return_par to first_par. handle newlines better
9167 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9169 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9171 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9173 * text2.C (getParFromID): removed
9175 * buffer.C (getParFromID): new method moved form lyxtext.
9176 * BufferView2.C (insertErrors): adjust
9177 (setCursorFromRow): adjust
9178 * BufferView_pimpl.C (restorePosition): adjust
9179 * lyxfunc.C (Dispatch): adjust
9180 * undo_funcs.C (textUndo): adjust
9182 (textHandleUndo): adjust
9183 (textHandleUndo): adjust
9185 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9187 * buffer.C: up' the LYX_FORMAT
9189 * lyxfont.h: turn NO_LATEX on as default
9191 * buffer.C (insertErtContents): new methods of tex style compability.
9192 (parseSingleLyXformat2Token): use it several places.
9193 * tabular.C (OldFormatRead): and here
9195 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9197 * text2.C: remove some commented code.
9200 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9201 * trans.C: changes because of the above.
9203 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9205 * text2.C (setCounter): Fix counters bug with bibliography layout.
9207 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9209 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9210 own member functions
9211 (simpleTeXSpecialChars): ditto
9213 2001-07-06 Juergen Vigna <jug@sad.it>
9215 * a lot of files: changed the access to LyXText::status and the
9216 call of undo-functions.
9218 * undo.[Ch]: added a inset_id to the undo informations.
9220 * undo_funcs.[Ch]: added and moved here all undo functions.
9222 * lyxtext.h: give the status enum a weight, made status_ a private
9223 variable and made accessor functions for it, removed the whole bunch
9224 of undo-functions as they are now in their own file, make some
9225 functions publically available. Added function ownerParagraph with
9228 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9229 made InInset() a const function, added getParFromID() function.
9231 * buffer.[Ch]: added const version for inset_iterator functions,
9232 added getInsetFromID() function.
9234 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9235 changed undo functions for new version.
9237 2001-07-05 Juergen Vigna <jug@sad.it>
9239 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9240 unknow mechanism does not call the proper constructor but only this
9241 one also if I request the other!?
9243 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9245 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9247 * text2.C (LyXText): use initialization lists.
9249 * lyxtext.h (Selection): initialize set_ and mark_
9250 (init): remove method
9252 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9254 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9256 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * screen.[Ch]: change method names to begin with lowercase
9260 * BufferView_pimpl.C (updateScrollbar): simplify further and
9261 hopefully make it a bit faster.
9263 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9265 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9266 calling directly xforms functions.
9268 * Painter.C (Painter):
9269 * lyx_cb.C (MenuWrite):
9270 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9273 * lyx_gui.C: remove bogus guiruntime extern declaration.
9275 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9277 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9279 (redoDrawingOfParagraph): ditto
9280 (redoParagraphs): ditto
9281 (cutSelection): don't create a object for CutAndPaste use the
9282 static method directly
9283 (pasteSelection): ditto
9285 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9288 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * modifications to some other files because of this.
9292 * Makefile.am (lyx_SOURCES): add XFormsView
9294 * XFormsView.[Ch]: new files
9296 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9297 the main window. Move the gui dependent stuff to XFormsView
9299 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9301 * tabular.C (GetCellInset): update cur_cell also in the row/col
9302 version of this function.
9304 * lyxfunc.C: no need to include figure_form.h here.
9310 * lyxvc.C: no need to include forms.h here.
9312 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9314 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9316 * lyxfunc.C (Dispatch):
9318 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9319 constructor argument.
9321 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9323 * paragraph.C (Paragraph): dont't clear, and just set layout.
9324 (makeSameLayout): use params's copy contructor.
9326 * ParagraphParameters.[Ch] (makeSame): delete method
9328 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9330 * Variables.[Ch]: fix indentation, rename set to isSet
9332 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9334 * lyxfunc.C (Dispatch): fix typo
9336 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9338 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9341 * bufferlist.C: include assert.h for emergencyWrite().
9343 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9345 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9346 give up at last (bug #425202) !
9348 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9354 * spellchecker.C: strip spellchecker options and bring up
9355 preferences tab instead
9357 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9359 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9360 the istringstream constructor
9362 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9364 * paragraph.C (getLayout): fix return value
9366 * paragraph.h: do not declare getLayout as inline.
9368 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9370 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9372 * lyxcursor.h (operator<): new func
9373 (operator>): new func
9374 (operator>=): new func
9375 (operator<=): new func
9377 * text.C (changeCase): use selection.start and selection.end
9378 (changeRegionCase): require from to be <= to. Require par to be a
9381 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9383 2001-06-27 Juergen Vigna <jug@sad.it>
9385 * text.C (cursorLeftOneWord): changed to return the cursor and added
9386 overlay with BufferView * parameter which calls this one.
9388 (selectWord): use new getWord function.
9389 (changeCase): renamed from changeWordCase as and extended to work
9392 * lyxtext.h: added enum word_location
9394 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9395 changeCase as this operates now also on selections.
9397 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9399 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9401 * many files: send debug output to Debug::INFO instead of
9404 * converter.C (View):
9406 (Move): send debug output to Debug::FILES instead of console.
9408 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9410 * lyxfunc.C (getStatus): use func_status
9412 * func_status.h: new header, describing the results of
9415 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9418 2001-06-25 The LyX Project <jug@sad.it>
9420 * buffer.C (sgmlOpenTag):
9422 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9424 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9426 * text2.C: remove some dead code
9428 * tabular.C (GetCellInset): store the last cell checked (gotten)
9430 * tabular.h: add the helper for the speedup
9432 * lyxtext.h: remove some dead code
9434 2001-06-26 The LyX Project <Asger>
9436 * paragraph.C: Change export to LaTeX of alignment to
9437 \begin{center} and family for better roundtrip work with reLyX.
9439 * Tune the math drawing a bit.
9441 2001-06-25 The LyX Project <Asger>
9443 * LColor.C (LColor): New color for math background. New color
9446 2001-06-25 The LyX Project <jug@sad.it>
9448 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9451 * bufferlist.C (newFile): do not restrict to files ending with
9454 * BufferView_pimpl.C (MenuInsertLyXFile):
9456 2001-06-24 The LyX Project <jug@sad.it>
9458 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9461 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9463 * lyxtext.h: rename most methods to begin with a small char.
9464 Lots of changes because of this.
9466 * paragraph.C (Paragraph): do not call fitToSize
9467 (erase): call Pimpl::erase
9468 (insertChar): call Pimpl::insertChar
9469 (insertInset): call Pipl::insertInset
9470 (breakParagraph): do not call fitToSize
9471 (breakParagraphConservative): do not call fitToSize
9472 (fitToSize): remove method
9474 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9476 2001-06-24 The LyX Project <Asger>
9478 * Fix Qt compilation^2
9480 2001-06-24 The LyX Project <jug@sad.it>
9482 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9483 depthHook(getDepth()-1).
9486 * ParagraphParameters.h:
9487 * ParameterStruct.h: change type of depth to unsigned int ==
9488 depth_type. Many adaptations to other files before of that.
9490 2001-06-24 The LyX Project <Asger>
9492 * Fix Qt compilation.
9494 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9496 * paragraph.h: renamed several methods to begin with small letter.
9497 several changes to many parts of the code because of this.
9499 2001-06-23 The LyX Project <jug@sad.it>
9501 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9502 rewritten to discard all double spaces when KeepEmpty is off
9503 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9504 to only handle newlines but not fiddle with spaces and friends.
9506 * lyxfunc.C (MenuNew): when doing 'new from template', use
9507 template_path as default directory
9509 2001-06-23 The LyX Project <Asger>
9511 * Clean-up of header file includes all over
9512 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9514 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9516 * paragraph.h: renamed from lyxparagraph.h
9518 2001-06-23 Asger <lyx@violet.home.sad.it>
9520 * Buffer.h: Removed Buffer::resize
9521 * BufferList.h: Removed BufferList::resize
9522 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9523 the document lazily when we change the width, or the font settings.
9525 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9527 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9529 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9531 * buffer.h: remove out of date comment
9533 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9536 * screen.C: fix "theoretical" GC leak
9538 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9540 * LaTeX.C (scanAuxFile):
9541 (deplog): remove trailing \r when reading stream (useful under
9544 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9546 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9547 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9548 and BufferView::theLockingInset(Inset*), so should use them and not
9549 access bv_->text->the_locking_inset directly.
9551 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9553 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9556 * tex-defs.h: remove old unused file
9558 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9560 * BufferView_pimpl.C: fix typo, remove minibuffer message
9561 when buffer has loaded
9563 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * lyxfunc.C (Dispatch): use stringstream
9566 (MenuNew): use stringstream
9567 (Open): use stringstream
9569 * importer.C (Import): use stringstream
9571 * bufferview_funcs.C (CurrentState): use stringstream
9573 * LaTeX.C (run): use stringstream
9575 * BufferView_pimpl.C (savePosition): use stringstream
9576 (restorePosition): use stringstream
9577 (MenuInsertLyXFile): use stringstream
9579 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9592 * vspace.C: removed // -*- C++ -*- as first line.
9595 * version.h: added // -*- C++ -*- as first line.
9597 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9599 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9601 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9604 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9606 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9609 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9611 * gettext.C: include LString.h even when --disable-nls is on.
9613 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9615 * converter.h (Get): changed argument type from int to
9616 FormatList::size_type to avoid unnecessary conversion.
9618 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9621 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9623 * gettext.h: include LString.h even when --disable-nls is on.
9625 2001-06-07 Juergen Vigna <jug@sad.it>
9627 * text.C (BreakAgain): subst spaces with tabs.
9629 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9630 (resizeInsetsLyXText): set force on resizeLyXText.
9632 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9634 * gettext.h (gettext_init):
9635 (locale_init): use a real definition instead of a macro
9637 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9639 * Bufferview_pimpl.C:
9641 * LColor.C: further lcolor tidies
9643 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9645 * BufferView_pimpl.C (updateScrollbar): simplify.
9647 * BufferView2.C: don't include insets/insetinfo.h, change
9648 prototype for insertInset and call the Pimpl version. let
9649 updateInset call Pimpl version.
9651 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9652 gotoInset to BufferView::Pimpl
9654 2001-06-01 Juergen Vigna <jug@sad.it>
9656 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9657 inside a LockingInset (is the update needed at all?).
9659 2001-05-31 Juergen Vigna <jug@sad.it>
9661 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9662 here not the old one otherwise how should we compare it afterwards
9665 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9670 * FontInfo.C: bring C functions into global namespace when
9673 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9675 * LString.h: make sure config.h has been loaded before LString.h.
9677 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9678 (one for each char read by EatLine!).
9680 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9683 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9685 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9686 to the same as the par we break from
9688 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9690 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9692 * MenuBackend.C (expand): also create menu entries for wide
9693 versions of the floats.
9695 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9697 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9699 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9700 frontends/Makefile.am
9706 * tabular.C (getTokenValue): add std::
9708 * tabular-old.C (getTokenValue): add std::
9709 (getTokenValue): ditto
9710 (getTokenValue): ditto
9712 * screen.C (ToggleSelection): adjust
9714 * lyxtext.h: put selection cursors inside a Selection struct.
9716 * lyxfunc.C (moveCursorUpdate): adjust
9718 * lyxfont.C (latexWriteStartChanges): add std::
9722 * font.h: delete with(char const *, LyXFont const &)
9724 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9726 * FontInfo.C (getFontname): add std::
9728 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9729 (workAreaButtonPress): adjust
9730 (tripleClick): adjust
9732 (moveCursorUpdate): adjust
9735 * BufferView2.C (gotoInset): adjust
9737 2001-05-30 Juergen Vigna <jug@sad.it>
9739 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9740 to check pspell I add this as default as I now have new pspell
9741 libraries and they seem to use this.
9743 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * text2.C (CutSelection): make the cursor valid before the call to
9748 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9750 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9751 relied on 0 terminated strings and other horrors. Bug found due to
9752 the new assert in lyxstring!
9754 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9757 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9759 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9762 * lyxfunc.C (processKeySym): change method of getting to the
9765 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9766 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9767 * BufferView_pimpl.[Ch]: here as private methods.
9769 2001-05-28 Juergen Vigna <jug@sad.it>
9771 * text.C (SetHeightOfRow): added the update() call again as it is
9772 needed to initialize inset dimensions!
9774 2001-05-16 Juergen Vigna <jug@sad.it>
9776 * text2.C (SetCharFont): Add new function with BufferView * and
9777 bool toggleall parameters for setting insets internal fonts.
9778 (SetFont): Freeze the undo as we may change fonts in Insets and
9779 all this change should be inside only one Undo!
9781 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9782 setting font's in insets as for them we have the SetFont function!
9784 2001-05-15 Juergen Vigna <jug@sad.it>
9786 * text2.C (ClearSelection): to be sure we REALLY don't have any
9789 * tabular.C (TeXCellPreamble): fixed the left border problem for
9792 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9794 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9797 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9799 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9800 LFUN_BREAKPARAGRAPH.
9802 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9803 help test to "internal only", similar for LFUN_INSERT_URL
9805 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9806 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9807 auto_region_delete and deadkeys.
9809 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9812 * LColor.C: remove some dead entries, tidy a little
9814 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9818 (Dispatch): implement LFUN_ESCAPE
9820 * commandtags.h: add LFUN_ESCAPE
9822 * LyXAction.C (init): add entry for LFUN_ESCAPE
9824 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9825 Remove commented code.
9826 (insertNote): moved here
9827 (open_new_inset): moved here
9829 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9832 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * kbmap.C (findbinding): clean it up and make it work correctly.
9836 * lyx_main.C (init): do not pass argc and argv as parameters
9838 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9840 * buffer.C: fix path for OS/2 & Win32
9844 * lyx_main.C: Added os:: class.
9846 * os2_defines.h: update
9848 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9851 better by trying again with reduced state.
9853 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9855 * lyxrc.C (read): print error about invalid key sequence only when
9856 debugging (because not all latinX keysyms are known to some X
9859 * kbsequence.C (getiso): add a few std:: qualifiers
9860 (getiso): comment out extra return statement.
9862 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9864 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9866 (Dispatch): enhance the accent inset a bit. (not perfect)
9868 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9872 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9874 * bufferlist.C (emergencyWrite): fix assert() call
9876 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9878 * text.C (InsertChar): Added trivial patch to only send the "you
9879 can not do multiple spaces this way" message once during a
9882 2001-05-08 Baruch Even <baruch@lyx.org>
9884 * Makefile.am: Changed order of libraries to get LyX to link properly
9885 with the gnome frontend.
9887 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9889 * LaTeXFeatures.h: add a std:: qualifier
9891 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * paragraph.C (String): use stringstream
9895 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9897 * paragraph.C (writeFile): remove footflag arg
9899 * buffer.C (makeLaTeXFile): use stringstream
9900 (latexParagraphs): remove footnot gurba
9902 * LaTeXFeatures.C (getPackages): use stringstream
9903 (getMacros): likewise
9904 (getTClassPreamble): likewise
9905 (getFloatDefinitions): new method
9907 * paragraph.C (writeFile): reindent
9910 * WorkArea.h: revert the xpos + etc changes.
9912 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9914 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9916 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9917 (pasteSelection): likewise
9918 * text2.C (CreateUndo): likewise
9920 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9922 * minibuffer.C (peek_event): temporarily reduce the functionality
9923 of the minibuffer (to allow args on lfuns)
9925 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9926 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9928 * buffer.C (readInset): add compability reading of old float
9929 lists, add reading of new style float list.
9930 (readInset): avoid reevaluation of inscmd.getCmdName()
9931 (getLists): reindent
9933 * MenuBackend.C (MenuItem): implement parsing of
9934 md_floatlistinsert and md_floatinsert.
9935 (expand::LastFiles): move initalizaton of iterators out of loop,
9937 (expand::Documents): introduce typdedef vector<string> Strings,
9939 (expand::ExportFormats): introduce typedef vector<Format const *>
9940 Formats, and use it.
9941 (expand): implement FloatListInsert and FloatInsert.
9943 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9944 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9945 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9947 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9949 (Dispatch::LFUN_FLOAT_LIST): implement
9951 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9953 * LaTeX.C (run): Fix problem with --export code.
9955 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9957 * BufferView.[Ch] (workarea): removed.
9958 (getClipboard) new method; wrapper for workarea()->getClipboard()
9960 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9963 * WorkArea.h (width, height, xpos, ypos): These methods all
9964 returned the dimensions of the work_area sub-area of WorkArea,
9965 resulting in a position error if the WorkArea were resized. Now
9966 return the dimensions of the entire WorkArea.
9968 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9970 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9972 * LaTeX.C (deplog): correct the syntax of regex reg1
9974 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9976 * undo.C: remove !NEW_INSETS cruft
9978 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9980 * text2.C: remove !NEW_INSETS cruft
9982 * text.C: remove !NEW_INSETS cruft
9984 * tabular.C: remove !NEW_INSETS cruft
9986 * spellchecker.C: remove !NEW_INSETS cruft
9988 * lyxtext.h: remove !NEW_INSETS cruft
9990 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9992 * lyxfunc.C: remove !NEW_INSETS cruft
9994 * lyxfind.C: remove !NEW_INSETS cruft
9996 * lyx_cb.C: remove !NEW_INSETS cruft
9998 * figureForm.C: remove !NEW_INSETS cruft
10000 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10002 * buffer.[Ch]: remove !NEW_INSETS cruft
10004 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10006 * CutAndPaste.C: remove !NEW_INSETS cruft
10008 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10010 * BufferView2.C: remove !NEW_INSETS cruft
10012 * BufferView.h: remove !NEW_INSETS cruft
10014 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * Lsstream.h: include LString.h before the sstream headers to
10017 fix problem with gcc 2.95.3 and lyxstring
10019 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10021 * lyx_main.C: add using directives when needed for C functions
10022 declared in std:: namespace.
10024 2001-04-27 Juergen Vigna <jug@sad.it>
10026 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10027 (SetHeightOfRow): comment out the update call should not be needed!
10029 2001-04-13 Juergen Vigna <jug@sad.it>
10031 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10032 (LyXTabular): tried to minimize operator= operations (and realized
10033 hopfully Lars wish).
10035 2001-04-27 Juergen Vigna <jug@sad.it>
10037 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10039 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10043 * buffer.C (readInset): hack to make listof algorithm work
10045 * BufferView_pimpl.C: hack to make listof algorithm work
10047 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * LyXAction.C: removed all !NEW_INSETS cruft
10050 (init): moved lfun_item in method
10052 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10054 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10056 * BufferView2.C (theLockingInset): white space.
10058 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10060 * minibuffer.C: include <iostream>
10062 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10064 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10066 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10068 * text.[Ch] (TransposeChars): new method
10070 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10072 * call message directly through LyXView instead of through LyXFunc
10073 * BufferView2.C: adjust
10074 * BufferView_pimpl.C: adjust
10075 * FontLoader.C: adjust
10077 * bufferview_funcs.C: adjust
10078 * converter.C: adjust
10079 * figureForm.C: adjust
10080 * importer.C: adjust
10082 * lyx_gui_misc.C: adjust
10083 * lyxfunc.C: adjust
10086 + more files in subdirs
10088 * lyxparagraph.h (size): move up int file
10091 * adjust all uses of Assert to lyx::Assert.
10093 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10094 lyxfunctional in namespace lyx
10095 * layout.C (hasLayout): ditto
10098 (delete_layout): ditto
10099 (NumberOfClass): ditto
10100 * converter.C (GetFormat): ditto
10105 * bufferlist.C (getFileNames): ditto
10106 (emergencyWriteAll): ditto
10109 * MenuBackend.C (hasSubmenu): ditto
10112 * BufferView_pimpl.C (getInsetByCode): ditto
10114 2001-04-18 Juergen Vigna <jug@sad.it>
10116 * vspace.C (asLatexString): fixed the 100% problem.
10118 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10120 * lyxfunc.C (Dispatch):
10122 * minibuffer.h: add a few std:: qualifiers
10124 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * minibuffer.[Ch]: reimplement so that commands is initiated and
10127 run from lyxfunc, simplified som handling, and made the completion
10128 and history code for complete. wip.
10130 * lyxfunc.C (processKeySym): call message
10131 (miniDispatch): new temporary method
10132 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10133 (LFUN_MESSAGE): implement
10134 (LFUN_MESSAGE_PUSH): implement
10135 (LFUN_MESSAGE_POP): implement
10136 (initMiniBuffer): the initial/defualt minibuffer message.
10138 * lyxfont.[Ch]: inline some more getters
10140 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10142 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10144 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10145 (AutoSave): use LFUN_MESSAGE
10146 (Reconfigure): ditto
10148 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10150 * figureForm.C: use LFUN_MESSAGE
10152 * converter.C (runLaTeX): use LFUN_MESSAGE
10154 * bufferview_funcs.C: use LFUN_MESSAGE
10156 (changeDepth): ditto
10158 * bufferparams.h: use boost::
10160 * bufferlist.h: inherit privately from noncopyable
10162 * bufferlist.C (loadLyXFile): remove some commented code.
10164 * buffer.C (runChktex): use LFUN_MESSAGE
10166 * ShareContainer.h: inherit privately from noncopyable
10168 * ParagraphParameters.[hC] (depth): inline it.
10170 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10172 (message): new method
10173 (messagePush): ditto
10174 (messagePop): ditto
10175 (show): init minibuffer
10176 (showState): direct call
10178 * LaTeX.[Ch]: inherit privately from noncopyable
10179 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10180 instead of WriteStatus.
10182 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10184 * BufferView_pimpl.C (buffer): don't init minibuffer
10185 (workAreaButtonPress): use LFUN_MESSAGE
10186 (workAreaButtonRelease): ditto
10187 (savePosition): ditto
10188 (restorePosition): ditto
10189 (MenuInsertLyXFile): ditto
10190 (workAreaExpose): don't init minibuffer
10191 (update): remove commented code, simplify
10193 * BufferView2.C (openStuff): use LFUN_MESSAGE
10194 (toggleFloat): ditto
10197 (copyEnvironment): ditto
10198 (pasteEnvironment): ditto
10203 (updateInset): remove some commented code
10205 * lastfiles.h: inherit privately from noncopyable
10208 * lyx_main.h: ditto
10210 * lyxlex_pimpl.h: ditto
10212 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10213 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10214 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10216 * LyXAction.h: inherit privately from noncopyable, add methods
10217 func_begin, func_end, returning iterators to the func map.
10219 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10220 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10221 (func_begin): new method
10222 (func_end): new method
10224 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10226 (copySelection): ditto
10227 (pasteSelection): ditto
10229 * BufferView.C: whitespace change
10230 * BufferView.h: inherit privately from noncopyable
10232 2001-04-16 Allan Rae <rae@lyx.org>
10234 * tabular-old.C (l_getline):
10235 * spellchecker.C (sc_check_word):
10236 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10237 an unrecognised preprocessor directive. So ensure they're wrapped.
10239 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10241 * src/exporter.C (Export): Give an error message when path to file
10244 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10246 * LaTeX.C (deplog): Always check that foundfile exists.
10248 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10253 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10255 * tabular.[Ch] (getLabelList): implement new method
10257 * minibuffer.h: comment ouf setTiimer
10259 * minibuffer.C (ExecutingCB): constify res
10260 (peek_event): constify s
10261 (Set): constify ntext
10262 (Init): constify nicename
10264 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10266 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10267 (savePosition): use two params to Minibuffer::Set
10268 (restorePosition): ditto
10270 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10272 * lyx_main.C: include language.h
10274 * Makefile.am (lyx_main.o): add language.h
10276 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10282 * CutAndPaste.C: include gettext.h
10284 * lyxfont.h: remove old hack with ON and OFF.
10287 * lyxfont.h: do not include language.h...
10292 * bufferview_funcs.C:
10298 * paragraph.C: ... but do it here instead
10300 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10302 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10304 * tabular.C: small reformat
10306 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10309 (BreakParagraph): ditto
10310 (SetOnlyLayout): ditto
10313 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10316 * lastfiles.C: removed most using decl, add std:: where needed
10318 * buffer.C: ws changes
10320 * MenuBackend.C (class compare_format): put into anon namespace
10321 (expand): constify label, names, action, action2
10324 * text.C (SingleWidth): constify font
10325 (IsBoundary): constify rtl2
10326 (GetVisibleRow): constify ww
10328 * LaTeX.C (deplog): constify logfile
10330 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10332 (workAreaExpose): constify widthChange, heightChange
10334 * lyxrow.C (par): moved
10337 * lyxrow.h: as inlines here
10339 * lyxfont.h (shape): moved from lyxfont.C
10340 (emph): moved from lyxfont.C
10342 * lyxfont.C (LyXFont): use initialization list for all
10344 (shape): move to lyxfont.h as inline
10345 (emph): move to lyxfont.h as inline
10348 2001-04-04 Juergen Vigna <jug@sad.it>
10350 * vspace.C: had to include stdio.h for use of sscanf
10352 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10355 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10356 independent of xforms.
10358 2001-04-02 Juergen Vigna <jug@sad.it>
10360 * spellchecker.C: fixed namespace placing!
10362 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10364 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10365 the LyXParagraph * is 0.
10367 2001-03-29 Juergen Vigna <jug@sad.it>
10369 * vspace.C: added support for %, c%, p%, l%.
10370 (stringFromUnit): added helper function.
10371 (asLatexString): changed to give right results for the %-values.
10373 * buffer.C: convert the widthp in a width%.
10375 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10377 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10380 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10381 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10383 * lyx_cb.[Ch]: see above.
10385 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10389 * lyx.[Ch]: replaced by figure_form.[Ch].
10393 * lyxfunc.C: changed headers associated with above changes.
10395 2001-03-27 Juergen Vigna <jug@sad.it>
10397 * BufferView_pimpl.C: set the temporary cursor right!
10399 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10401 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10403 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10405 * LString.h: removed "using std::getline"!
10407 * BufferView_pimpl.C (Dispatch): changes due to changes in
10408 InsetInclude::Params.
10410 * buffer.C (tag_name): removed redundant break statements as they were
10411 producing lots of warnings with my compiler.
10413 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * LString.h: add "using std::getline" when using the real <string>.
10417 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10419 * buffer.C: removed bitset usage.
10420 PAR_TAG moved to an anonymous name space.
10421 (tag_name): new funtion, also in the anonymous namespace.
10422 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10423 (makeDocBookFile): clean code. Completed transition from string arrays
10425 (SimpleDocBookOnePar): code clean.
10427 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10429 * tabular.C: add some comments.
10431 2001-03-22 Juergen Vigna <jug@sad.it>
10433 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10434 compatibility read a bit and fixed bug with minipage in different
10437 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10439 * buffer.C (pop_tag): removed.
10440 (push_tag): removed.
10441 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10442 array replaced with vector. Added support for CDATA sections.
10443 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10445 (makeDocBookFile): XML conformant declaration of CDATA section,
10446 fixed bug related to <emphasis> in the first paragraph char.
10447 (sgmlOpenTag): exclude empty tags.
10448 (sgmlCloseTag): ditto.
10450 * buffer.h (pop_tag): removed.
10451 (push_tag): removed.
10453 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10455 * language.h (Languages): added size_type and size().
10457 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10459 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10460 response on compability reading of minipages. One probliem is that
10461 the old usage of minipages was «flertydig»
10463 * several files here and in subdirs: don't use static at file
10464 scope use anon namespaces instead.
10466 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10468 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10469 LaTeX output. This is necessary for Literate document
10472 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10474 * buffer.C: insert hfill when needed.
10476 * tabular.C (l_getline): use string::erase, small whitespace change.
10478 * BufferView_pimpl.C: try the anon namespace.
10479 * WorkArea.C: ditto
10481 2001-03-16 Juergen Vigna <jug@sad.it>
10483 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10484 otherwise it won't open options-dialogs.
10486 * buffer.C: honor pextraWidth(p) on converting minipages.
10488 * tabular.C (l_getline): changed the functions to strip trailing \r.
10490 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10492 * BufferView_pimpl.C:
10493 * minibuffer..C: added "using SigC::slot" declaration.
10495 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10497 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10503 * paragraph.C: ditto
10505 * lyxtext.h: NO_PEXTRA
10507 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10509 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10510 * ParameterStruct.h: ditto
10511 * ParagraphParameters.h: ditto
10512 * lyxparagraph.h: ditto
10514 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10516 * buffer.C: add compability for minipage alignment.
10517 (latexParagraphs): remove unwanted pextra check.
10519 * several files: remove CXX_WORKING_NAMESPACES
10521 * buffer.C (pop_tag): tie is in namespace boost
10523 * BufferView.h: noncopyable is in namespace boost
10525 * lyx_main.h: ditto
10528 * lastfiles.h: ditto
10529 * bufferlist.h: ditto
10530 * ShareContainer.h: ditto
10532 * LyXAction.h: ditto
10535 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10537 * Merging changes from BRANCH_MVC back into HEAD.
10539 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10541 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10543 * BufferView_pimpl.C: change from intl.C
10547 * Makefile.am: move combox.*
10553 * intl.C: remove dialog (covered by prefs)
10555 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10557 * lyxfunc.C (Dispatch): removed redundant break statement.
10559 2001-03-14 Juergen Vigna <jug@sad.it>
10561 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10563 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10565 * buffer.C: add hack to fix compability reading of minipages.
10567 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10569 * buffer.C (getLists): Cleanup.
10571 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * lyxfont.C (update): don't honor toggleall on font size.
10575 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10579 * Makefile.am: moved to frontends/xforms/
10583 * BufferView_pimpl.C: changes for moved mathpanel
10585 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10587 * gettext.h: fix gettext_init() in --disable-nls
10589 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10591 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10593 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10596 * lyx.h: strip external form
10598 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10600 * BufferView_pimpl.C: add comment, destroySplash()
10602 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10604 * BufferView_pimpl.C:
10608 * lyxfunc.C: use re-worked insetinclude
10610 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10612 * buffer.C: add using std::stringstream.
10614 * lyx_cb.C: readd using std::ios.
10616 * buffer.C: add using std::map.
10618 * BufferView_pimpl.C: add using std::vector.
10620 * ShareContainer.h: add std:: to swap.
10622 * buffer.h: add some typedefs
10623 * buffer.C (getLists): use them
10624 (getLists): renamed from getTocList.
10625 add a counter for the different float types and use it in the
10627 (getLists): use the same counter for the NEW_INSETS and the "non"
10630 * lyx_cb.h: remove unused items, includes, using etc.
10632 * ShareContainer.h: remove some commented code, add more comments
10633 and "documentation".
10635 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10637 * buffer.C (getTocList): make the list also when NEW_INSETS is
10640 * buffer.h: remove TocType
10642 * buffer.C (getTocList): change to return a map<string,
10643 vector<TocItem> >, implement for dynamic number of list.
10645 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10646 * text2.C (PasteSelection): adjust
10647 * CutAndPaste.C (pasteSelection): adjust
10649 * FloatList.C (FloatList): update from the new_insets branch.
10650 * Floating.[Ch]: ditto
10651 * LaTeXFeatures.C: ditto
10653 * lyxlex_pimpl.C: ditto
10655 * paragraph.C (Last): remove when NEW_INSETS is defined.
10657 * other file: changes because of the above.
10659 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10661 * lyxparagraph.h: rename next to next_, previous to previous_,
10662 make them private for NEW_INSETS. Rename Next() to next(),
10663 Previous() to previous().
10665 * other files: changes because of the above.
10667 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10670 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10673 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10675 * main.C (main): pass lyx_localedir to gettext_init().
10677 * gettext.h: remove locale_init and gettext_init macros
10679 * gettext.C (locale_init): new function
10680 (gettext_init): new function
10682 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10685 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10687 * Moved credits to frontends:
10688 * credits.[Ch]: removed
10689 * credits_form.[Ch]: removed
10690 * lyx_gui_misc.C: remove credits stuff
10693 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10695 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10697 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10698 unneeded destructor.
10700 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10701 a standalone pointer again.
10703 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10705 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10711 * ToolbarDefaults.C:
10720 * BufferView_pimpl.C: use new file dialog in GUII
10723 * lyx_cb.C: remove LayoutsCB to Toolbar
10725 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * ShareContainer.h (get): add std:: qualifier
10729 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10731 * ShareContainer.h: define a proper ShareContainer::value_type
10732 type (and use typename to please compaq cxx)
10734 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10736 * lyxparagraph.h: move serveral local vars to
10737 ParameterStruct/ParagraphParameters., use ShareContainer in
10738 FontTable., make vars in FontTable private and add getter and
10741 * paragraph.C: changes because of the above.
10743 * lyxfont.h: remove copy constructor and copy assignment. (the
10744 default ones is ok), move number inside FontBits. move inlines to
10747 * lyxfont.C: add number to initializaton of statics, move several
10748 inlines here. constify several local vars. some whitespace
10749 cleanup. Dont hide outerscope variables.
10751 * Spacing.h: add two new constructors to match the set methods.
10753 * ShareContainer.h: new file, will perhaps be moved to support
10755 * ParameterStruct.h: new file
10757 * ParagraphParameters.h: new file
10759 * ParagraphParameters.C: new file
10761 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10762 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10764 * BufferView_pimpl.C: ParagraphParameter changes.
10765 * buffer.C: Likewise.
10766 * bufferview_funcs.C: Likewise.
10767 * text.C: Likewise.
10768 * text2.C: Likewise.
10770 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10772 * lyxfind.C (LyXReplace): do not redefine default argument in
10774 (IsStringInText): ditto
10775 (SearchForward): ditto
10776 (SearchBackward): ditto
10778 2001-03-06 Juergen Vigna <jug@sad.it>
10780 * lyxfind.C (IsStringInText): put parentes around expressions.
10782 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10784 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10786 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10788 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10790 * stl_string_fwd.h: add comment
10792 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10795 * tabular.C: remove unused DocBook methods
10801 killed DO_USE_DEFAULT_LANGUAGE
10803 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * lyx_gui.C: do not include language.h.
10807 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10808 arguments in function implementation.
10810 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10812 * BufferView_pimpl.C: add <ctime>
10814 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10816 * BufferView_pimpl.C: add using std::find_if
10818 2001-02-27 José Matos <jamatos@fep.up.pt>
10820 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10823 2001-02-11 José Matos <jamatos@fep.up.pt>
10825 * buffer.C (makeDocBookFile): command styles now have a parameter as
10826 "title" by default.
10828 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10830 * layout_forms.[Ch]: removed
10831 * lyx_cb.[Ch]: out character
10832 * lyx_gui.C: out character
10833 * lyx_gui_misc.C: out character
10834 * bufferview_funcs.C: : out character,
10835 added toggleall as parameter in ToggleAndShow
10837 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10839 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10841 * text2.C (SetCurrentFont): Disable number property at boundary.
10843 2001-02-26 Juergen Vigna <jug@sad.it>
10845 * lyxfunc.C (getStatus): added a string argument override function so
10846 that this is correctly called from LyXFunc::Dispatch if it contains a
10847 do_not_use_argument which is used!
10848 (Dispatch): added check for "custom" export and call appropriate func.
10850 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10852 * lyxrc.C: Add language_command_local, language_use_babel and
10853 language_global_options.
10855 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10857 * buffer.C (makeLaTeXFile): Use language_use_babel and
10858 language_global_options.
10860 2001-02-23 Juergen Vigna <jug@sad.it>
10862 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10863 which works with LyXText and putted it inside BufferView. Here now we
10864 only call for that part the BufferView::Dispatch() function.
10866 * BufferView.C (Dispatch): added.
10868 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10869 functions which needs to use a LyXText over from LyXFunc.
10870 (MenuInsertLyXFile): added
10871 (getInsetByCode): added
10872 (moveCursorUpdate): added
10873 (static TEXT): added
10875 2001-02-22 Juergen Vigna <jug@sad.it>
10877 * BufferView_pimpl.C (update): call a status update to see if LyXText
10880 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10882 * vc-backend.C (revert): implement for CVS
10883 (getLog): implement for CVS
10885 2001-02-20 Juergen Vigna <jug@sad.it>
10887 * text2.C (ClearSelection): added BufferView param for inset_owner call
10889 * lyxfunc.C (TEXT): added this function and use it instead of
10890 directly owner->view()-text of getLyXText().
10892 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10894 * src/layout_forms.C: out preamble
10895 * src/layout_forms.h: out preamble
10896 * src/lyx_cb.C: out preamble
10897 * src/lyx_cb.h: out preamble
10898 * src/lyx_gui.C: out preamble
10899 * src/lyx_gui_misc.C: out preamble
10900 * src/lyxfunc.C: connect with guii preamble
10902 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10904 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10906 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10908 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10909 whether to run bibtex.
10911 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10913 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10915 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10917 * Makefile.am (lyx_SOURCES): removed bibforms.h
10919 * vspace.h: doxygen
10921 * text.C (GetVisibleRow): make several local vars const
10923 * tabular.C: small cleanup.
10925 * lyxserver.C (callback): use compare instead of strncmp
10927 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10928 inlines to after class or to paragraph.C
10930 * lyxfont.h: remove friend operator!=
10932 * converter.h: move friend bool operator< to non friend and after
10935 * combox.h: small cleanup
10937 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10938 to inlines after class def.
10940 * buffer.C (pop_tag): use string operations instead of strcmp
10942 * bmtable.c: doxygen, small cleanup
10944 * LaTeX.h: remove friend operator==
10946 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10958 * BufferView_pimpl.C:
10959 * BufferView.[Ch]: remove cruft
10961 2001-02-14 Juergen Vigna <jug@sad.it>
10963 * lyxfunc.C: removed #if 0 unused code
10965 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10967 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10969 * text2.C (SetSelection): added a BufferView * parameter
10971 2001-02-13 Juergen Vigna <jug@sad.it>
10973 * lyxfunc.C (Dispatch): fixed protected blank problem.
10974 * BufferView2.C (protectedBlank): added LyxText * parameter.
10976 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10977 (AppendColumn): same as above for column_info.
10979 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10980 (moveCursorUpdate): use a LyXText param for support of InsetText.
10982 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10983 (tripleClick): ditto
10985 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10987 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10989 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10991 * text2.C (SetSelection): set correct update status if inset_owner
10992 (ToggleFree): ditto
10994 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10996 * tabular.C: remove some commented code.
10998 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11000 * BufferView_pimpl.C: call hideSplash()
11002 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11005 * bibforms.h: remove
11008 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11009 add LFUN_CHILD_CREATE
11011 * counters.h: fix tiny typo
11016 * lyx.C: move splash to frontends/xforms/
11018 * lyx_gui_misc.C: move Include and Bibform to frontends
11020 * lyxvc.h: clarify comment
11022 * vspace.C: tiny housekeeping
11024 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11026 * text.C (PrepareToPrint): RTL Fix.
11028 * paragraph.C (GetUChar): New method.
11029 (String): Use GetUChar.
11031 * buffer.C (asciiParagraph): Use GetUChar.
11033 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11035 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11037 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11040 * buffer.C: rename to getLogName(), handle
11041 build log / latex log nicely
11043 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11046 * MenuBackend.h: remove support for reference menuitem type.
11048 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11050 * BufferView_pimpl.C: housekeeping
11051 * BufferView_pimpl.h:
11056 * minibuffer.h: move Timeout GUI-I
11058 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11060 * lyxrc.C (read): Update converters data-structures.
11062 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11064 * LaTeX.h (operator!=): add operator != for Aux_Info
11066 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11068 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11070 * LaTeXLog.C: deleted, useful code moved to Buffer
11073 * buffer.C: new function getLatexLogName()
11079 * lyxfunc.C: use frontends for LaTeX and VC logs
11081 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11083 * LaTeX.h: yet another std:: that Allan forgot.
11085 * Variables.C (set): renamed from isset(), because this clashes
11086 with some HP-UX macros (grr).
11088 2001-02-06 Allan Rae <rae@lyx.org>
11090 * LaTeX.h: Another bug fix. Missing std:: this time.
11092 2001-02-04 Allan Rae <rae@lyx.org>
11094 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11095 floats problem. I've left it commented out because it's not quite
11096 correct. It should also test that the current object is a table or
11097 figure inset. But I haven't gotten around to figuring out how to do
11098 that. I *think* it'll be something like: "table" == inset.type()
11100 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11103 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11105 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11106 all the citation/databases/styles in the auxilary file.
11107 (run): Rerun latex if there was a babel language error.
11109 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11111 * text.C (Backspace): Preserve the font when changing newline char
11113 (BreakParagraph): If the cursor is before a space, delete the space.
11115 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11117 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11119 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11120 new argument (code).
11121 (ChangeCitationsIfUnique): New method.
11123 * paragraph.C (GetPositionOfInset): Handle bibkey.
11125 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11127 * BufferView_pimpl.h: change type of Position::par_pos to
11128 LyXParagraph::size_type.
11130 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11132 * BufferView_pimpl.C (savePosition, restorePosition): Write
11133 messages to minibuffer.
11135 2001-01-28 José Matos <jamatos@fep.up.pt>
11137 * buffer.C (makeDocBookFile): adds support for document language.
11138 A silly restriction on the name of LatexCommand types where removed.
11139 Added support for CDATA sections, allows to chars unescaped, used
11140 among others in code, to avoid escape < and >.
11142 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11144 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11145 saved positions instrad of a stack. Furthermore, a position is
11146 stored using paragraph id/paragraph position.
11148 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11149 Remove LFUN_REF_BACK.
11151 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11153 * converter.C (dvipdfm_options): New method.
11155 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11157 * vspace.C (isValidLength): Fix for empty input string.
11159 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11161 * LyXAction.C (init): change description of LFUN_FIGURE to
11164 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11166 * LaTeX.C: add using directive
11168 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11170 * MenuBackend.C (expand): Fix the sorting of the formats.
11172 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11174 * lyx_main.C: tiny error message fix
11176 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11178 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11179 calling fl_initialize(). This fixes the problem with ',' as
11180 decimal separator in text files.
11182 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11184 * trans.C (process): Fix the keymap bug.
11186 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11188 * LaTeX.C (scanAuxFiles): New method. Provides support for
11189 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11190 (scanLogFile) Scan for "run BibTeX" messages.
11192 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11193 OT1 font encoding. Also, load the aecompl package if the ae
11196 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11198 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11200 * texrow.C (increasePos): turn two error messages into debug
11203 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11205 * LaTeX.C (scanAux): Handle the \@input macro.
11206 (runBibTeX): Use scanAux().
11208 * language.C (latex_options_): New field.
11210 * LaTeXFeatures.C (getMacros): Add language macros.
11212 * buffer.C (makeLaTeXFile): Small fix.
11214 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11216 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11218 * text2.C: add a using directive.
11220 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11225 * lyxfunc.C: kill LyXBell.
11227 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11229 * text.C (IsBoundary): Remove the error message
11231 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11233 * lyxrc.C (setDefaults): Correct initialization value for
11236 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11238 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11241 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11242 and GotoNextNote().
11244 * src/LyXAction.C: Added reference-next.
11246 * text.C (InsertChar): Use contains instead of strchr.
11248 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11250 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11252 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11253 alignment commands (when needed).
11255 * text.C (InsertChar): Add ':' to number separator chars.