2 2004-02-03 André Pönitz <poenitz@gmx.net>
5 * cursor.[Ch]: some additional asserts
7 * undo.[Ch]: remove LyXText dependency in interface
11 * lyxtext.h (firstPar, lastPar): remove dead functions
16 * paragraph.[Ch]: adjust
18 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
20 * lyxfind.C (find): fix argument order in call to ::find
22 2004-02-02 André Pönitz <poenitz@gmx.net>
24 * cursor.[Ch]: remove direct access to anchor
26 * text.C: remove findText() hack
28 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
30 * iterators.[Ch] (lockPath): remove in favour of...
31 * BufferView.[Ch] (setCursor): this addition
32 * BufferView.C (putSelectionAt): adjust
33 * undo.C (performUndoOrRedo): adjust
34 * lyxfunc.C (dispatch): adjust
36 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
38 * iterators.C (lockPath): add a missing slice
39 * undo.C (performUndoOrRedo): remove redundant positioning code
41 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
43 * vc-backend.C (scanMaster): ";" -> ';'
45 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
47 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
50 * lyxtextclass.C (compare_name): rename to...
51 (LayoutNamesEqual): ...this
53 * lyxlex_pimpl.C (compare_tags): inherit from
54 std::binary_function, put back into anon namespace
56 * lyxfind.C (MatchString): inherig from std::binary_function
57 (findChange): use empty() istead of !size()
59 * format.C (FormatNamesEqual): new functor
66 * converter.C (compare_Converter): rename to...
67 (ConverterEqual): ...this, and fixup a bit.
68 (getConverter): use it, and make function const
69 (getNumber): use it, and make function const
73 * bufferlist.C: add using boost::bind
75 * MenuBackend.C (MenuNamesEqual): new functor
76 (hasMenu): use it, and make function const
77 (hasSubmenu): use nested bind to get rid of compare_memfun.
79 2004-01-30 André Pönitz <poenitz@gmx.net>
92 * text3.C: move some of the edit(x,y) handling to the insets
93 some coordinate changes.
95 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
97 * text.C: add using statements for std::advance and std::distance
99 * paragraph.C: add using statement for std::distance
101 * lyxfind.C: add using statement for std::advance
103 * cursor.C (region): remove std:: from swap
104 (openable): use nucleus in stead of operator->
106 * BufferView.C: add using statements for std::distance and std::swap
108 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
110 * iterators.C: Remove the pimple, move the needed structures to
111 the header file. Create accessor for the positions stack.
112 (asPosIterator): remove function
114 * PosIterator.C (PosIterator): move constructors to top of file
115 (PosIterator): reimplement the constructor taking a ParIterator in
117 (setFrom): new function
118 (operator!=): inline it
120 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
122 * lyxfind.C (replaceAll): use std::advance
124 * iterators.h: inherit from std::iterator.
126 * PosIterator.C (advance, distance): remove
127 * PosIterator.h: interit from std::iterator.
129 2004-01-26 André Pönitz <poenitz@gmx.net>
132 * BufferView_pimpl.[Ch]:
136 * bufferview_funcs.C:
147 * output_plaintext.C:
149 * paragraph_funcs.[Ch]:
150 * paragraph_pimpl.[Ch]:
156 * text3.C: more IU: dumps most of the rest of the mathcursor
157 implementation into cursor.[Ch]; "globalize" a bit of it.
159 2004-01-25 Angus Leeming <leeming@lyx.org>
161 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
163 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * LaTeXFeatures.h: add nice_ and nice() const
166 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
168 2004-01-20 André Pönitz <poenitz@gmx.net>
171 * BufferView_pimpl.C:
173 * bufferview_funcs.C:
186 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
187 LCursor and mathcursor parts to LCursor and InsetBase.
189 2004-01-15 André Pönitz <poenitz@gmx.net>
191 * cursor_slice.[Ch]: add a few covienience functions
193 * funcrequest.[Ch]: remove BufferView * member
195 * BufferView_pimpl.C:
202 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
204 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
206 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
207 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
209 2004-01-13 André Pönitz <poenitz@gmx.net>
212 * lyxtext.h: hide cursor and selection anchor behind accessor function
215 * BufferView_pimpl.[Ch]:
217 * bufferview_funcs.C:
227 * cursor_slice.[Ch]: some integer type changes for inset unification
229 * lyxcursor.[hC]: remove, it's CursorSlice now.
232 * BufferView_pimpl.[Ch]:
233 * bufferview_funcs.C:
239 * textcursor.[Ch]: adjust
241 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
243 * text2.C (undoSpan): add and use
244 * text.C (breakParagraph): use undoSpan (fix bug 578)
247 2004-01-08 Angus Leeming <leeming@lyx.org>
249 * BufferView_pimpl.C (MenuInsertLyXFile):
250 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
251 * lyxfunc.C (menuNew, open, doImport):
252 FileFilterList change to the FileDialog open and save functions.
254 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
256 * ShareContainer.h: make isEqual and isUnique adaptable
258 * CutAndPaste.C: make resetOwnerAndChanges adaptable
260 2004-01-07 Angus Leeming <leeming@lyx.org>
263 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
265 * BufferView_pimpl.C (dispatch): act on these LFUNs.
267 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
268 functions replacing find, replace and replaceAll.
270 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
271 LFUN_WORDFIND(FORWARD|BACKWARD).
273 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
275 * text.C (breakParagraph): remove an outdated #warning
277 2004-01-07 André Pönitz <poenitz@gmx.net>
279 * lyxfind.C: somewhat clearer logic
281 * text.C: prevent crash in cursorX on unitialized row cache
283 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
285 * lyxcursor.[Ch] (operator>): add
286 * textcursor.C (selStart, selEnd): use std::min and std::max
288 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
290 * Chktex.C: include boost/format.hpp
292 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
294 * InsetList.C: replace functor MathcIt with adaptable functor
296 (insetIterator): modify accordingly
298 * BranchList.h: move the BranchNamesEqual functor here from...
299 * BranchList.C: ... to here
301 * BranchList.C: new BranchListEqual fuctor, use it. Remove
303 (add): replace a finding loop with std::find_if.
305 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
307 * output_docbook.C: moving LatexParam functionality into
310 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
312 * buffer.C: increment format to 229.
314 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
317 * lyx_sty.[Ch]: remove minipageindent_def
323 * text3.C: remove LFUN_INSET_MINIPAGE
325 2003-12-28 Angus Leeming <leeming@lyx.org>
327 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
329 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
331 * text2.C (setParagraph): fix off-by-one crash
333 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
335 * output_docbook.C: header stuff for AGU
337 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
339 * text2.C (redoCursor): remove
342 * BufferView_pimpl.C: remove calls to redoCursor and
343 setCursor(cursor.par(), cursor.pos()) all around
345 2003-12-15 Angus Leeming <leeming@lyx.org>
347 * buffer.C: up the format to 228.
349 2003-12-15 André Pönitz <poenitz@gmx.net>
351 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
356 * BufferView_pimpl.C:
365 2003-12-15 Angus Leeming <leeming@lyx.org>
367 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
368 than getFromGUIName to manipulate the color.
370 2003-12-14 Angus Leeming <leeming@lyx.org>
372 * BranchList.[Ch]: minimize the API.
373 (Branch::getBranch, getColor): now return a 'const &'.
374 (Branch::setSelected) now returns a bool set to true if the
375 selection status changes.
376 (BranchList::clear, size, getColor, setColor, setSelected,
377 allBranches, allSelected, separator): removed.
378 (BranchList::find): new functions, returning the Branch with
380 (BranchList::add, remove): return a bool indicating that
381 the operation was successful.
383 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
384 new InsetBranch::isBranchSlected member function.
386 * LColor.[Ch]: mimimize the API.
387 (fill): renamed as addColor and made private.
388 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
389 versions of these functions taking a string arg have been removed.
391 * bufferparams.C (readToken):
392 * lyxfunc.C (dispatch):
393 * lyxrc.C (read): changes due to the altered BranchList and
396 * factory.C (createInset, readInset): changes due to altered
399 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
402 * lyxfunc.C: remove insetminipage. "minipage-insert"
403 now produces a frameless minipage box inset.
405 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
407 * textcursor.[Ch] (selStart,selEnd): add new methods
408 remove selection::start, end, use LyXCursor::operator<
409 * lyxcursor.[Ch] (operator<): add
410 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
411 * BufferView.[Ch] (unsetXSel): add
412 * text2.C (clearSelection): use unsetXSel,adjust
415 * rowpainter.C: adjust
416 * bufferview_funcs.C (put_selection_at): adjust
418 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
420 * BufferView_pimpl.C: small coord. correction
422 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
424 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
425 dragging over the splash screen.
427 2003-12-11 Angus Leeming <leeming@lyx.org>
429 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
430 as it is now handled in LyXText::dispatch.
432 * text3.C (doInsertInset): remove a level of nesting.
434 2003-12-11 Angus Leeming <leeming@lyx.org>
436 * factory.C (createInset): changes due to the changed interface to
437 InsetCommandMailer::string2params.
439 2003-12-10 Angus Leeming <leeming@lyx.org>
441 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
442 'dialog-show-new-inset <inset name>'
444 2003-12-10 Angus Leeming <leeming@lyx.org>
446 * buffer.C: up the format to 227.
448 * factory.C: the box inset is now identified simply by 'Box'.
450 2003-12-10 Angus Leeming <leeming@lyx.org>
452 * buffer.C: up the format to 226.
454 * factory.C: the note inset is now identified simply by 'Note'.
456 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
458 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
459 when a pit is enough. Standarize a couple of loops.
461 2003-12-05 Angus Leeming <leeming@lyx.org>
463 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
464 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
465 data to the re-worked "log" dialog.
467 2003-12-03 André Pönitz <poenitz@gmx.net>
475 * text2.C: use Inset::getText instead of Inset::getParagraph
477 2003-12-03 André Pönitz <poenitz@gmx.net>
481 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
482 InsetText::read() as LyXText::read()
484 2003-12-02 Angus Leeming <leeming@lyx.org>
486 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
487 type. Add a comment in the implementation that the function uses
488 the stream's bad() function rather than fail() as the std::streams
491 2003-12-02 André Pönitz <poenitz@gmx.net>
493 * lyxlex.[Ch]: make interface more similar to std::stream
495 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
497 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
499 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
501 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
503 * vspace.[Ch]: remove VSpace::NONE
505 2003-12-01 André Pönitz <poenitz@gmx.net>
508 * lyxtext.h: move ParagraphList member to LyXText
509 rename LyXText::ownerParagraphs to LyXText::paragraph
512 * bufferview_funcs.C:
522 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
524 * undo.C: fix cursor positioning
526 2003-12-01 John Levon <levon@movementarian.org>
528 * BufferView_pimpl.C: fix a crash on exit with
531 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
533 * BranchList.C: fix setSelected() method.
535 2003-11-28 André Pönitz <poenitz@gmx.net>
537 * ParagraphParameters.[Ch]:
538 * ParameterStruct.h: remove space above/below from Paragraph to
541 * BufferView_pimpl.C:
553 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
555 * factory.C: Syntax change for CharStyles
557 2003-11-28 André Pönitz <poenitz@gmx.net>
562 * buffer.[Ch]: move LyXText member
564 2003-11-28 André Pönitz <poenitz@gmx.net>
566 * BufferView.[Ch]: make LyXText * text a private member
568 * BufferView_pimpl.C:
579 * output_plaintext.C: cleanup
581 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
584 * lyxtextclass.[Ch]: parametrize SGML document header
586 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
589 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
592 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
594 * text2.C (setFont): rework using PosIterator (no more recursive)
595 (setCharFont): no more needed
596 (setLayout): no more selection cursors fiddling (done by redoCursor)
597 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
598 destroy remaining ones)
600 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
602 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
604 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
607 * text3.C: adjust + re-allow multi par depth changes
608 * textcursor.C: simplify a bit
610 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
616 * src/output_docbook.C:
617 * src/output_latex.C:
622 * src/text2.C: Introducing a number of tags parametrizing various
623 XML formats that we may want to support
625 2003-11-25 André Pönitz <poenitz@gmx.net>
627 * InsetList.[Ch] (begein, end): inline as suggested by profiler
629 * lyxtext.h (leftMargin/rightMargin): simplify interface
636 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
638 * lyxfunc.C (dispatch): propogate the bibtex databases from the
639 master file to any child files. Fixes bug 546.
641 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
643 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
645 2003-11-24 André Pönitz <poenitz@gmx.net>
647 * rowpainter.C: simplification
649 * text2.C (updateCounters): remove call to redoParagraph on
650 changed labels as this is far too expensive.
652 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
654 * converter.C (convert): fix a crash: this function gets
655 called with buffer == 0 from importer code.
657 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
659 * text3.C (cursorPrevious): make sure that we do not compare
660 iterators form different containers.
663 * rowpainter.C (paintSelection): make sure that we do not compare
664 iterators from different containers.
666 * text3.C (dispatch): [PRIOR] make sure that we do not compare
667 iterators from different ParagraphList containers.
670 * text2.C (LyXText): change order of initialization slightly
671 (operator=): new function. copy all variables except cache_par_
672 (moveUp): make sure that we do not compare iterators from
673 different ParagraphList constainers.
676 * text.C (firstPar): new function
677 (lastPar): new function
678 (endPar): new function
680 * lyxtext.h: move things around and group public functions, public
681 variables, private functions, private variables
683 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
685 * factory.C: change call to InsetERT constructor to avoid
686 additional invocation of method status
687 * text2.C (toggleInset): remove redundant update() call
688 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
689 instead of a Bufferview pointer
691 2003-11-21 André Pönitz <poenitz@gmx.net>
693 * rowpainter.C: simplification
695 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
697 * text3.C (dispatch): make possible to extend a word/row selection
700 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
702 * lyxtext.h: x0_,y0_ -> xo_,yo_
703 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
704 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
705 * rowpainter.C (paintRows): paint full paragraphs
707 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
709 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
712 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
714 * lyxtext.h: add x0_, y0_
715 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
716 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
718 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
720 * text2.C (setCursorIntern): move the x_target update here *
721 * text3.C: change some bv() to true/false in calls to
722 cursorUp/Down/Right/Left
723 * cursor.C: use helper function.
725 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
727 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
728 * paragraph_funcs.[Ch]: correct comment
729 * rowpainter.C: do not paint selections away from bv->cursor()
730 Fix a long standing selection painting bug.
731 * text3.C: generalize mouse-selection code to LyXTexts other that
733 * textcursor.C: do not use y coords if we can use par offsets
735 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
737 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
738 cursor position after e.g. inset insert)
740 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
742 * lyxfind.C (replace): adjust to locking removal + some
745 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
747 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
750 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
753 * output_docbook.C: XML sanitation: new layout
754 parameters InnerTag and CommandDepth
756 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
758 * BufferView_pimpl.C:
760 * text3.C: Fix the insertion and modification of button-style
763 2003-11-13 André Pönitz <poenitz@gmx.net>
765 * InsetList.[Ch]: remove deleteLyXText
767 * paragraph.[Ch]: cache beginOfBody position
772 * text3.C: remove superfluous update() calls
776 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
778 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
779 * BufferView.C (fitLockedInsetCursor): remove
780 * cursor.[Ch] (getDim): add
781 * text.C (getRowNearY): add faster version
782 * text3.C: remove some update calls
784 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
796 * text3.C: The Character Style /XML short element patch.
798 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
801 * factory.C: Small step to solving 'unable to insert some insets'
804 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
806 * cursor.[Ch] (updatePos): new function for updating the y
807 position of the tip inset
808 * bufferview_funcs.C (put_selection_at):
809 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
811 2003-11-11 André Pönitz <poenitz@gmx.net>
813 * text.C: remove big comment on invalid Paragraph pointers as it is
816 2003-11-11 André Pönitz <poenitz@gmx.net>
818 * text_funcs.[Ch]: merge with ...
826 * Makefile.am: remove text_funcs.[Ch]
828 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
830 * cursor.C (getPos): return absolute cached y coord
832 * BufferView_pimpl.C (fitCursor): new simplistic code
833 (workAreaDispatch): add a fitCursor call
835 2003-11-10 André Pönitz <poenitz@gmx.net>
838 * BufferView_pimpl.[Ch]: merge update() and updateInset()
840 2003-11-10 André Pönitz <poenitz@gmx.net>
842 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
843 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
844 indicate that the cursor needs to leave an inset
846 * lyxtext.h: remove inset locking
848 * cursor.[Ch]: re-implement functionality provided by inset locking
851 * BufferView_pimpl.[Ch]:
853 * bufferview_funcs.[Ch]:
865 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
867 * PosIterator.[Ch]: replace the stack with a vector, add inset
869 * iterators.[C]: adjust
871 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
873 * lyxfind.C (replaceAll): mark the buffer dirty if something was
875 * paragraph_funcs.C (readParToken): put the correct id in the
876 error item, not the id of the top paragraph
878 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
880 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
881 * bufferview_funcs.C (put_selection_at): use the above
883 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
885 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
887 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
890 * output_plaintext.h:
892 * output_docbook.h: add #include statements
894 2003-11-05 José Matos <jamatos@lyx.org>
896 * output_docbook.[Ch]:
898 * output_linuxdoc.[Ch]:
899 * output_plaintext.[Ch]: New files for output formats.
900 * output.[Ch]: New file for helper functions.
903 * paragraph_funcs.[Ch]: output functions moved to new files.
905 * outputparams.h: rename of latexrunparams.h
913 * paragraph_funcs.[Ch]:
914 * paragraph_pimpl.[Ch]:
915 * tabular.[Ch]: rename ascii to plaintext
916 and LatexRunParams to OutputParams.
918 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
920 * iterators.[Ch] (text): require bv argument
921 * undo.C (recordUndo):
922 * lyxfunc.C (dispatch):
923 * bufferview_funcs.C (put_selection_at): adjust
925 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
927 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
929 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
931 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
934 2003-11-04 André Pönitz <poenitz@gmx.net>
936 * cursor.[Ch]: restructure
939 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
941 * iterators.[Ch] (asCursor): remove
943 * lfuns.h: remove LFUN_INSET_EDIT
949 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
951 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
953 * lyxfind.[Ch]: complete overhaul
954 * BufferView_pimpl.C:
956 * paragraph.[Ch] (insert): add
958 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
962 * text.C: remove dead spellcheck code
964 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * dispatchresult.h: add a val setter
968 * cursor.C (dispatch): use a tempvar for data_[i]
970 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
972 * PosIterator.[Ch]: compile fix
974 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
976 * text.C (cursorPar): deactivate the cursor cache
978 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
980 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
982 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * text3.C (dispatch): adjust for new DisptchResult semantics.
986 * lyxfunc.C (dispatch): handle update when return from
987 Cursor::dispatch, adjust for new DispatchResult semantics.
989 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
990 DispatchResult(true) mean to not update. Add class functions for
991 setting dispatched and update, as well as reading.
993 * cursor.C (dispatch): don't handle update here
995 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
998 * trans_mgr.C: adjust
1000 * paragraph_funcs.C (readParToken): exception safety
1002 * lyxvc.h: store the vcs pointer in a scoped_ptr
1005 * lyxsocket.C (serverCallback): exception safety
1007 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1009 * ispell.C (clone): make it return a auto_ptr
1011 * factory.C (createInset): exception safety
1012 (readInset): exception safety
1014 * bufferlist.C (newBuffer): exception safety
1016 * Thesaurus.C (Thesaurus): use initialization for aik_
1018 * MenuBackend.C (expandToc): exception safety.
1020 2003-11-03 André Pönitz <poenitz@gmx.net>
1024 * bufferview_funcs.C: remove getInsetFromId()
1027 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1033 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1035 * PosIterator.C (distance, advance): new
1036 * bufferview_funcs.[Ch] (put_selection_at): new
1037 * iterators.[Ch] (lockPath): new
1039 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1041 * iterators.[Ch] (asPosIterator): added
1042 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1043 * PosIterator.[Ch]: added
1045 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1049 * cursor.C (dispatch):
1050 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1052 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1053 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1054 contructor, add a class function dispatched. Remove operator>=
1056 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * debug.C: only use the default constructor for debugstream
1061 * main.C (main): include debug.h and setup the lyxerr streambuf
1064 2003-10-31 José Matos <jamatos@lyx.org>
1066 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1068 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1069 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1070 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1071 * paragraph_pimpl.C (simpleTeXSpecialC):
1072 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1073 add LatexRunParams argument.
1075 * exporter.C (Export): change call accordingly.
1077 * latexrunparams.h: add new member to take care of the other backends.
1078 2003-10-30 José Matos <jamatos@lyx.org>
1080 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1081 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1082 factorise code for paragraph output.
1084 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1087 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * text3.C (dispatch):
1090 * lyxfunc.C (dispatch):
1091 * cursor.C (dispatch):
1092 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1094 * dispatchresult.h: make the dispatch_result_t ctor explicit
1096 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1099 * buffer.C: small refactoring of docbook stuff
1101 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1103 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1106 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1109 operator dispatch_result_t, and operators for == != and >=
1111 * cursor.C (dispatch): adjust for operator dispatch_result_t
1112 removal. comment out call to update
1114 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1116 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1127 * dispatchresult.h: new file, DispatchResult broken out of
1130 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1132 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1134 * text.C (rowBreakPoint): put a hack inside #if 0
1136 2003-10-28 André Pönitz <poenitz@gmx.net>
1140 * paragraph_funcs.C:
1143 * text2.C: general cleanup (lots of small stuff)
1145 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1147 * text2.C (cursorEnd): simple fix to the "end key goes to one
1148 before the end on last row" bug
1150 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1152 * text.C (backspace): fix the "zombie characters"
1154 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1156 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1158 2003-10-27 André Pönitz <poenitz@gmx.net>
1160 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1162 * factory.C: handle new InsetPagebreak, InsetLine
1164 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1165 and move handling into new InsetPagebreak, InsetLine
1167 * BufferView_pimpl.C:
1169 * ParagraphParameters.C:
1170 * ParameterStruct.h:
1175 * paragraph_funcs.C:
1176 * paragraph_pimpl.C:
1182 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1185 * lyxrow_funcs.[Ch]:
1191 * text3.C: remove lastPos uses in favour of Row::endpos
1193 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1195 * undo.C (performUndoOrRedo): fix two crashes by setting a
1196 cursor by hand and reordering some calls. Use bv->lockInset instead
1197 of inset->edit because the latter loses cursor information
1199 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1201 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1203 (rowBreakPoint): fix width. change point to point + 1.
1204 Add a missing check.
1206 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1209 * lyxfunc.C: fix (at least partly) the problems
1210 with the Nav menu and headers inside branch insets
1213 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1215 * paragraph.C (getChar): add strong asserts
1217 * lyxrow_funcs.C (lastPos): remove hideous hack
1219 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1220 (fill): adjust to that (avoid an infinite loop)
1222 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1224 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1226 2003-10-23 André Pönitz <poenitz@gmx.net>
1228 * RowList_fwd.h: change list<> to vector<> to gain speed
1229 after suggestion from Alfredo
1231 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1233 * lyxtext.h: move the bidi stuff from here...
1236 * Bidi.[Ch]: ... to here
1238 2003-10-23 André Pönitz <poenitz@gmx.net>
1241 * text.C (isLastRow, isFirstRow): new functions
1243 * paragraph.h: new width cache member
1245 * rowpainter.C: replace RowList::iterator with Row & where possible
1247 * lyxfunc.C: replace several view()->text with a single call
1249 * toc.C: fix 'unused' warning
1251 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1254 when woring with stream::pos_type
1255 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1257 2003-10-22 André Pönitz <poenitz@gmx.net>
1260 * text.C: use Row & instead of RowList::iterator
1262 * lyxrow.h: rename end() to endpos()
1268 2003-10-22 Angus Leeming <leeming@lyx.org>
1270 * buffer.[Ch] (fully_loaded): new member function, returning true
1271 only when the file has been loaded fully.
1272 Used to prevent the premature generation of previews and by the
1273 citation inset to prevent computation of the natbib-style label.
1275 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1276 templates are all set up.
1278 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1280 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1282 * text.C: fixed an "oops" in the "is a bit silly"
1285 2003-10-21 André Pönitz <poenitz@gmx.net>
1287 * FuncStatus.[Ch]: small stuff, whitespace
1289 * lyxfont.[Ch]: operator<<() for debug reasons
1293 * lyxtext.h: whitespace, spelling
1295 * paragraph.C: naming of variables
1298 * text2.C: small stuff
1301 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1303 * text.C: (1) finish off the inset display() work;
1304 (2) fix the "is a bit silly" bug (accessing char
1307 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1309 * text.C: re-introduce display() for insets, fixing the
1310 various bugs (stretch of line above, math inset
1313 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1315 * text.C (rightMargin): remove spurious semicolon
1317 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1320 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1322 * text3.C: fix one crash due to wrong cursor def
1324 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1326 * vc-backend.C (scanMaster): make the regex static
1328 * LaTeX.C (scanAuxFile): make the regexs static
1330 * text3.C (doInsertInset, dispatch, dispatch):
1331 * text2.C (cursorUp, cursorDown):
1332 * text.C (selectNextWordToSpellcheck):
1333 * BufferView_pimpl.C (dispatch):
1334 * lyxfunc.C (dispatch): localDispatch -> dispatch
1336 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1338 * lyxsocket.C: include <cerrno>
1340 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * lyxfunc.C (dispatch): remove textcache stuff
1344 * bufferlist.C (release): remove textcache stuff
1347 * TextCache.C: delete file
1348 * TextCache.h: delete file
1350 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1352 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1353 delete of the bv_->text.
1354 (resizeCurrentBuffer): remove texcache stuff
1355 (workAreaResize): ditto
1357 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1359 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1362 2003-10-16 André Pönitz <poenitz@gmx.net>
1369 * text3.C: speed up by storing y positions per paragraph plus per-row
1370 offset instead of having a 'full' y position in the row.
1372 2003-10-15 André Pönitz <poenitz@gmx.net>
1376 * undo.[Ch]: make undo aware of inner insets
1378 2003-10-14 Angus Leeming <leeming@lyx.org>
1380 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1381 static member functions LyX::ref() and LyX::cref.
1382 (lastfiles): new accessor functions for the new lastfiles_ member var.
1383 (addLyXView, views_): add a new LyXView to the list of views_.
1384 (updateInset): loop over all LyXViews to call their own updateInset
1385 member function, returning a pointer to the Buffer owning the inset.
1387 * BufferView_pimpl.C (loadLyXFile):
1388 * MenuBackend.C (expandLastfiles):
1389 * bufferlist.C (MenuWrite, QuitLyX):
1390 lastfiles is no longer a global variable.
1391 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1393 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1394 static function. Access through LyX::cref().emergencyCleanup().
1396 2003-10-14 André Pönitz <poenitz@gmx.net>
1398 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1400 * undo.[Ch]: restoring part of 'undo in insets'
1403 * undo_funcs.[Ch]: merge with undo.[Ch]
1405 * tabular.C: small cleansing stuff
1407 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1409 * paragraph_funcs.C (readParToken): report unknown insets as error
1410 boxes. Use the outer paragraph as location (also for unknown
1413 * factory.C (readInset): do not abort on reading an unknown inset.
1414 Eat it and return 0.
1416 2003-10-13 Angus Leeming <leeming@lyx.org>
1418 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1420 * lyxrc.C: displayTranslator is now a function,
1421 declared in GraphicsTypes.h.
1423 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1425 * format.C: new placeholder $$a to pass the socket address.
1427 * bufferlist.[Ch]: new function getBufferFromTmp.
1429 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1430 files in the temporary dir.
1432 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1434 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1436 * Makefile.am: add lyxsocket.[Ch].
1438 * lyx_main.C (error_handler): handle SIGPIPE.
1440 2003-10-13 André Pönitz <poenitz@gmx.net>
1442 * BufferView_pimpl.C:
1447 * undo_funcs.[Ch]: use paroffset_type instead of
1448 ParagraphList::iterators to prevent multiple conversion
1449 (and get a more robust interface)
1451 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1453 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1455 * text3.C (dispatch): ditto
1457 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1459 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1460 move the onlyfile, use onlyfile instead of foundfile in a couple
1463 * DepTable.C (update): flush the error stream a bit more
1465 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * lyxserver.C (callback): adjust
1469 * lyxfunc.C (getStatus): add a missing brace in commented code
1470 (ensureBufferClean): reindent
1471 (dispatch): delete version taking a string
1473 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1475 * LaTeX.C (deplog): move found file handlig from here...
1476 (handleFoundFile): .. to new function here.
1477 (deplog): make sure to discover several files mentioned on the
1480 2003-10-10 André Pönitz <poenitz@gmx.net>
1487 * text3.C: fix some of the tabular crashes
1489 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1491 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1493 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1495 2003-10-09 André Pönitz <poenitz@gmx.net>
1497 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1500 * BufferView_pimpl.C:
1501 * bufferview_funcs.C:
1512 * undo_funcs.C: adjust
1514 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1516 * text2.C (incrementItemDepth): new function, use a backtracking
1517 algorithm to discover the correct item depth.
1518 (resetEnumCounterIfNeeded): new function, use a backtracking
1519 algorithm to discover if counter reset is needed.
1520 (setCounter): use them. Simplify a bit. Add different labels for
1521 different item depths for itemize.
1523 * paragraph.C (Paragraph): remove initialization of enumdepth
1526 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1527 enumerate and itemize. Change the type of itemdepth to signed char.
1529 2003-10-08 André Pönitz <poenitz@gmx.net>
1531 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1536 * tabular.[Ch]: fix crash after 'row-insert'
1538 2003-10-08 Angus Leeming <leeming@lyx.org>
1540 Fix doxygen warnings.
1542 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1543 Remove CutAndPaste:: prefix from header file declaration.
1545 * LColor.h (fill): remove LColor:: prefix from declaration.
1547 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1548 use lyx::depth_type rather than Paragraph::depth_type so that
1549 header file and .C file match.
1551 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1553 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1554 * aspell.C: \file aspell_local.C -> \file aspell.C
1555 * gettext.C: \file gettext.C -> \file src/gettext.C
1556 * gettext.h: \file gettext.h -> \file src/gettext.h
1557 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1558 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1559 * text.C: \file text.C -> \file src/text.C
1561 * toc.C: move comment so that doxygen is not confused.
1563 2003-10-07 Angus Leeming <leeming@lyx.org>
1565 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1567 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1570 * aspell_local.h: add forgotten std::string's.
1572 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1579 * text3.C: The Box patch. Fancybox support, minipage, parbox
1581 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1587 * ParagraphParameters.h:
1597 * lyxtextclasslist.h:
1600 * paragraph_pimpl.C:
1601 * textcursor.h: add <string> and other small fixes to make Lars'
1602 std::string patch compile with STLport.
1604 2003-10-06 Angus Leeming <leeming@lyx.org>
1606 * LColor.h: Add missing #include <string>.
1608 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1610 * All most all file in all subdirs: Make <string> be the prefered
1611 way of getting to std::string, add using declarations.
1613 2003-10-06 André Pönitz <poenitz@gmx.net>
1615 * metricsinfo.C: initialize LyXFont before changing attribute.
1616 (fixes the 'math in \emph is upright' bug)
1618 2003-10-06 André Pönitz <poenitz@gmx.net>
1620 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1622 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1625 * paragraph_pimpl.C: Small fixes to build using STLport
1627 2003-10-02 André Pönitz <poenitz@gmx.net>
1630 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1632 2003-10-01 André Pönitz <poenitz@gmx.net>
1634 * factory.C: assert early
1636 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * lyx_main.C: remove the global debug object
1640 * debug.h: adjust for new debugstream
1642 * debug.C: adjust for new debugstream and keep the global debug
1645 2003-09-22 Angus Leeming <leeming@lyx.org>
1647 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1648 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1649 an incomplete class LyXFont.
1651 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1653 * factory.C: bug fix in branches
1655 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * lyxfunc.C (processKeySym): adjust
1659 (dispatch): change arg name from ev to func, adjust
1660 (sendDispatchMessage): ditto
1662 * lyx_main.C (defaultKeyBindings): adjust keybindings
1663 (deadKeyBindings): ditto
1665 * kbsequence.C (addkey): return a FuncRequest
1667 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1669 * kbmap.C (bind): take a FuncRequest as arg, adjust
1672 (defkey): change to take a FuncRequest as arg, adjust
1673 (findbinding): take a FuncRequest as arg, adjust.
1675 * funcrequest.h (operator=): added
1677 * funcrequest.C (FuncRequest): default kb_action changed from
1678 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1680 * buffer.C (dispatch): simplify
1681 (dispatch): adjust to take a FuncRequest as arg, adjust
1683 * boost.C (assertion_failed): change assertion message slightly
1685 * ToolbarBackend.C (read): simplify
1687 * MenuBackend.C (binding): adjust call to findbinding, add a
1688 message if no binding is found.
1690 (expandToc): correct by adding a empty FuncRequest
1692 * LyXAction.C: include <boost/assert.hpp>
1693 (isPseudoAction): delete function
1694 (LookupFunc): change name to...
1695 (lookupFunc): this. change return type to FuncRequest.
1696 (getActionName): take kb_action as arg, simplify
1697 (funcHasFlag): add an assert, simplify.
1699 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * toc.C (action): return a FuncRequest, simplify
1703 * lyxfunc.C (processKeySym): adjust
1704 (getStatus): delete version that takes an int.
1706 (dispatch): delete version that takes action as int
1708 (sendDispatchMessage): simplify and adjust
1710 * funcrequest.C (getArg): take unsigned int as arg
1712 * ToolbarBackend.C (read): adjust
1713 (add): delete version that takes func as a string.
1714 (getIton): take a FuncRequest as arg
1716 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1719 * MenuBackend.C (MenuItem): add a new construct that only takes a
1720 Kind, simplify the constructor use for submenus.
1722 (expandLastfiles): adjust
1723 (expandDocuments): adjust
1724 (expandFormats): adjust
1725 (expandFloatListInsert): adjust
1726 (expandFloatInsert): adjust
1727 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1729 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1730 Remove class variables lyx_pseudo_map and lyx_arg_map
1732 * LyXAction.C (searchActionArg): delete function
1733 (getPseudoAction): delete function
1734 (retrieveActionArg): delete function
1735 (LookupFunc): make it return kb_action, simplify.
1736 (getActionName): simplify
1738 * factory.C (createInset): fix new bug
1740 2003-09-19 Angus Leeming <leeming@lyx.org>
1742 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1743 masterFilename_ parameter in the include inset.
1745 * factory.C (createInset): changes due to the changes to InsetInclude.
1747 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1749 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1751 2003-09-18 Angus Leeming <leeming@lyx.org>
1754 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1755 Inset::fillWithBibKeys.
1756 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1758 2003-09-18 Angus Leeming <leeming@lyx.org>
1760 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1762 (ctor): pass and store a 'Buffer const &'
1763 (buffer): new member function.
1765 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1766 '*this' to the LaTeXFeatures ctor.
1768 2003-09-18 Angus Leeming <leeming@lyx.org>
1774 * text.C: rename EnumLColor as LColor_color.
1776 2003-09-18 Angus Leeming <leeming@lyx.org>
1778 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1779 remove #include "insets/insetbase.h" from cursor.h.
1781 2003-09-18 Angus Leeming <leeming@lyx.org>
1783 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1784 InsetOld_code to remove #include "inset.h".
1786 * iterators.C: add #include "insets/inset.h"
1788 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1790 * BufferView.C: remove more locking stuff that apparently doesn't
1791 do anything sensible.
1793 2003-09-16 André Pönitz <poenitz@gmx.net>
1796 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1799 2003-09-16 Angus Leeming <leeming@lyx.org>
1801 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1803 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1806 * paragraph.h: remove #include "lyxfont.h". Forward declare
1809 2003-09-16 Angus Leeming <leeming@lyx.org>
1811 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1812 of support/textutils.h.
1813 (isWord): move the contents of support/textutils.h's IsWordChar here.
1819 * text2.C: add #include "paragraph.h".
1822 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1824 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1830 * LaTeX.C: use namespace alias for lyx::support::os
1832 2003-09-16 Angus Leeming <leeming@lyx.org>
1835 * bufferview_funcs.C:
1838 * paragraph_pimpl.C:
1840 * text.C: add #include "LColor.h".
1842 2003-09-16 Angus Leeming <leeming@lyx.org>
1844 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1845 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1847 Store the FontBits::color variable as an int rather than as an
1848 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1851 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1852 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1853 string calls together.
1855 * lyxrc.C: add #include "LColor.h".
1857 2003-09-15 Angus Leeming <leeming@lyx.org>
1859 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1862 2003-09-15 Angus Leeming <leeming@lyx.org>
1864 * LColor.h: add an EnumLColor wrapper for LColor::color.
1866 * lyxfont.[Ch] (color, setColor, realColor):
1867 * lyxtext.h, text.C (backgroundColor):
1868 pass EnumLColor args to/from the functions, rather than LColor::color
1872 * lyxtext.h: forward declare EnumLColor.
1874 * lyx_main.C: add #include "LColor.h".
1876 2003-09-15 Angus Leeming <leeming@lyx.org>
1878 * .cvsignore: add lyx-gtk.
1880 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * ParagraphParameters.C
1889 * bufferview_funcs.C
1899 * vc-backend.C: remove usage of STRCONV
1901 2003-09-15 Angus Leeming <leeming@lyx.org>
1903 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1904 explicitly define the color passed to the painter.
1906 2003-09-15 Angus Leeming <leeming@lyx.org>
1908 * bufferparams.C (BufferParams): reorder member initializers to avoid
1911 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1913 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1914 * text.C (updateRowPositions): remove an unusual nop
1916 2003-09-12 André Pönitz <poenitz@gmx.net>
1918 * BufferView_pimpl.C:
1927 * Counters.[Ch]: finish the 'automatic counters' job
1929 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1931 * aspell.C: include <boost/assert.cpp> (compile fix)
1933 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1935 * boost.C (assertion_failed): use lyx::support::abort instead of
1938 2003-09-10 Angus Leeming <leeming@lyx.org>
1940 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1941 with their _fwd progeny.
1943 2003-09-09 Angus Leeming <leeming@lyx.org>
1945 134 files throughtout the source tree: replace 'using namespace abc;'
1946 directives with the appropriate 'using abc::xyz;' declarations.
1948 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1950 * boost.C (emergencyCleanup): moved here from LAssert.c
1951 (assertion_failed): new function, called by BOOST_ASSERT
1953 * several files: change Assert to BOOST_ASSERT
1955 2003-09-09 Angus Leeming <leeming@lyx.org>
1957 * buffer.[Ch]: Add an Impl class and move Buffer's member
1958 variables into it. As a result move several header files out of
1961 Add header files to lots of .C files all over the tree as a result.
1963 2003-09-09 Angus Leeming <leeming@lyx.org>
1965 * buffer.[Ch]: make Buffer's member variables private. Add
1968 Lots of changes all over the tree as a result.
1970 2003-09-08 Angus Leeming <leeming@lyx.org>
1972 * graph.C: #include <config.h>.
1974 2003-09-08 Angus Leeming <leeming@lyx.org>
1978 * BufferView_pimpl.C:
2007 * toc.C: remove redundant using directives.
2009 2003-09-07 Angus Leeming <leeming@lyx.org>
2011 * LaTeXFeatures.h: remove #include "support/types.h".
2012 * ToolbarBackend.h: remove #include <algorithm>.
2013 * changes.h: remove #include <ctime>.
2014 * debug.h: remove #include <iosfwd>.
2015 * graph.h: remove #include "support/std_string.h".
2016 * lyx_main.h: remove #include <csignal>.
2017 * lyxlex_pimpl.h: remove #include <fstream>.
2018 * sgml.h: remove #include <algorithm>, <utility>.
2019 * toc.h: remove #include "support/std_ostream.h".
2020 Add #include <iosfwd>.
2022 2003-09-07 Angus Leeming <leeming@lyx.org>
2024 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2026 * converter.h: forward declare LatexRunParams.
2027 * encoding.h: remove #include "lyxrc.h".
2028 * lyxtext.h: remove #include "LColor.h".
2029 * lyxtextclass.h: remove #include "support/types.h".
2030 * trans.h: remove #include "tex-accent.h".
2031 * trans_mgr.h: remove #include "tex-accent.h".
2032 * insets/inset.h: remove #include "support/types.h", <vector>.
2033 * insets/insetcollapsable.h: remove #include "LColor.h".
2034 * insets/insetinclude.h: remove #include "dimension.h".
2035 * insets/insetlatexaccent.h: remove #include "dimension.h".
2036 * insets/insetoptarg.h:: remove #include "insettext.h".
2037 * insets/insettext.h: remove #include "dimension.h",
2038 <boost/shared_ptr.hpp>
2040 * insets/renderers.h: add #include "dimension.h".
2041 * insets/updatableinset.h: add #include "support/types.h".
2043 * many .C files: Associated changes.
2045 2003-09-06 Angus Leeming <leeming@lyx.org>
2047 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2048 one, inside testInvariant.
2050 * PrinterParams.C: new file.
2051 * PrinterParams.[Ch]: move the function bodies out of line.
2053 2003-09-06 Angus Leeming <leeming@lyx.org>
2055 * ParagraphParameters.h: forward declare ParameterStruct rather than
2056 including its header file.
2057 (depth): moved out-of-line.
2059 2003-09-06 Angus Leeming <leeming@lyx.org>
2061 * BufferView_pimpl.h:
2064 * lyxfunc.h: forward declare LyXKeySym rather than
2065 #include "frontends/LyXKeySym.h".
2067 * BufferView_pimpl.C:
2070 * lyxfunc.C: associated changes.
2072 2003-09-06 Angus Leeming <leeming@lyx.org>
2074 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2075 As a result, can remove the #include "insets/inset.h" from BufferView.h
2077 2003-09-06 Angus Leeming <leeming@lyx.org>
2079 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2080 As a result, can remove the #include "insets/inset.h" from BufferView.h
2082 2003-09-06 Angus Leeming <leeming@lyx.org>
2088 * bufferview_funcs.C:
2089 * BufferView_pimpl.C:
2094 * ParagraphParameters.C:
2099 * frontends/controllers/ControlDocument.C:
2100 * insets/insetcaption.C: rearrange the #includes into some sort of
2103 * buffer.h: remove #includes ErrorList.h, undo.h
2105 2003-09-06 Angus Leeming <leeming@lyx.org>
2107 * support/types.h: add a 'depth_type' typedef, used to store the
2108 nesting depth of a paragraph.
2111 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2112 defining explicitly.
2115 * paragraph_funcs.h:
2116 * ParagraphParameters.h:
2117 * sgml.h: use lyx::depth_type rather than Paragraph or
2118 ParameterStruct's depth_type.
2121 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2124 * BufferView_pimpl.C:
2126 * ParagraphParameters.C:
2129 * bufferview_funcs.C:
2136 * frontends/LyXView.C:
2137 * frontends/controllers/ControlDocument.C:
2138 * frontends/controllers/ControlErrorList.C:
2139 * insets/insetbibitem.C:
2140 * insets/insetbranch.C:
2141 * insets/insetcaption.C:
2142 * insets/insetcollapsable.C:
2143 * insets/insetenv.C:
2144 * insets/insetert.C:
2145 * insets/insetfloat.C:
2146 * insets/insetfoot.C:
2147 * insets/insetfootlike.C:
2148 * insets/insetnewline.C:
2149 * insets/insetquotes.C:
2150 * insets/insettabular.C:
2151 * insets/insettext.C:
2152 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2154 * frontends/controllers/ControlChanges.C: #include "changes.h".
2156 2003-09-06 Angus Leeming <leeming@lyx.org>
2158 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2159 than #including paragraph.h.
2162 * RowList.h: deleted. Superfluous.
2172 * insets/insettext.h: use ParagraphList_fwd.h rather than
2175 * paragraph.h: don't forward declare ParagraphList.
2178 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2179 rather than ParagraphList.h. paragraph.h is still needed for the
2180 Paragraph::depth_type parameters.
2182 * textcursor.h: enable it to compile stand-alone in light of the
2185 * bufferview_funcs.C:
2197 * frontends/controllers/ControlParagraph.C:
2198 * frontends/controllers/ControlTabular.C:
2199 * insets/insetmarginal.C:
2200 * insets/insetminipage.C:
2201 * insets/insetnote.C:
2202 * insets/insetoptarg.C: add header files needed to compile again.
2204 2003-09-06 Angus Leeming <leeming@lyx.org>
2206 * RowList_fwd.h: new file, forward-declaring Row rather than
2207 #including lyxrow.h.
2212 * insets/insettext.h: use it instead of RowList.h
2214 * bufferview_funcs.C:
2221 * text3.C: #include "RowList.h".
2223 2003-09-05 Angus Leeming <leeming@lyx.org>
2225 * factory.C (createInset):
2226 * vspace.C (c-tor): replace sscanf call with an istringstream.
2227 * ispell.C: re-add missing HP/UX headers.
2228 * lyxserver.C: re-add missing os2 headers.
2230 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2239 * text3.C: re-add missing system headers, needed for 2.95.2.
2241 2003-09-05 Angus Leeming <leeming@lyx.org>
2243 Changes most place everywhere due to the removal of using directives
2244 from support/std_sstream.h.
2246 2003-09-05 Angus Leeming <leeming@lyx.org>
2248 Replace LString.h with support/std_string.h,
2249 Lsstream.h with support/std_sstream.h,
2250 support/LIstream.h with support/std_istream.h,
2251 support/LOstream.h with support/std_ostream.h.
2253 Changes resulting throughout the tree.
2255 2003-09-05 Angus Leeming <leeming@lyx.org>
2257 * sgml.h: ensure that the header file can be compiled stand-alone.
2258 * *.C: strip out redundant #includes. (320 in total.)
2260 2003-09-04 Angus Leeming <leeming@lyx.org>
2262 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2263 here (from getPackages).
2265 * debug.[Ch]: add a new EXTERNAL tag.
2267 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2269 * text2.C (cursorEnd): simplify
2271 (getColumnNearX): adjust
2273 * text.C (computeBidiTables): adjust
2276 * rowpainter.C (paintChars): adjust
2277 (paintSelection): adjust
2278 (paintChangeBar): adjust
2281 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2283 (numberOfSeparators): adjust
2285 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2291 * text3.C: Restricts the mouse click functionality
2292 of insets like bibtex, include, toc and floatlist to the visible
2293 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2294 up the dialogs. Cursor has to be in front of the inset (i.e.
2295 start of row) for this to function.
2297 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2299 * bufferview_funcs.C (currentState): output row information
2301 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2303 * bufferview_funcs.C (currentState): output paragraph position
2305 2003-09-04 Angus Leeming <leeming@lyx.org>
2307 * FloatList.h: move out #include "Floating.h".
2308 * LaTeX.h: move out #include "DepTable.h".
2309 * LyXAction.h: move out #include "funcrequest.h".
2310 * buffer.h: move out #include "author.h", "iterators.h".
2311 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2312 * lyx_main.h: move out #include "errorlist.h".
2313 * lyxfunc.h: move out #include "FuncStatus.h".
2314 * lyxtext: move out #include "lyxcursor.h".
2315 * paragraph_pimpl.h: move out #include "counters.h".
2317 2003-09-03 Angus Leeming <leeming@lyx.org>
2319 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2320 preamble_snippets list, enabling us to add snippets to the preamble
2321 only if the snippet was not there already.
2323 2003-09-04 Angus Leeming <leeming@lyx.org>
2325 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2327 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2329 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2332 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2334 * BranchList.C: point fix, earlier forgotten
2336 2003-09-02 Angus Leeming <leeming@lyx.org>
2338 * box.C (contains): renamed from 'contained' after a fantastic
2341 2003-09-02 John Levon <levon@movementarian.org>
2347 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2349 2003-09-02 John Levon <levon@movementarian.org>
2351 * text2.C: simplification of cursorEnd(), including partial
2354 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2356 * buffer.C (readFile): add a space
2358 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2360 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2362 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * buffer.C (readFile): new function, take a filename and a
2365 ParagraphList::iterator
2367 (readFile): adjust, make it private. don't use setStream, make
2368 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2369 always contain the filename.
2371 * BufferView.C (insertLyXFile): simplify and make it work for
2374 2003-08-30 John Levon <levon@movementarian.org>
2376 * Makefile.am: fix dist (from Kayvan)
2378 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2380 * most files: change to use const Buffer refs
2382 2003-08-27 André Pönitz <poenitz@gmx.net>
2384 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2385 on top of ownerPar().
2387 2003-08-27 John Levon <levon@movementarian.org>
2389 * funcrequest.C: properly initialise POD members
2391 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2393 * lyxtext.h (top_y): move top_y from here
2398 * BufferView_pimpl.[Ch]: to here
2399 * frontends/screen.C:
2400 * insets/insettabular.C:
2401 * insets/insettext.C: adjust
2402 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2404 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2407 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2409 2003-08-26 André Pönitz <poenitz@gmx.net>
2411 * paragraph_func.[Ch] (outerPar): new function
2414 * paragraph_funcs.C:
2415 * paragraph_funcs.h:
2416 * paragraph_pimpl.C:
2417 * text2.C: remove Inset::par_owner
2419 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2424 * text2.C: eliminates the needFullRow/display() stuff
2425 altogether, putting the logic in metrics/draw in the insets.
2427 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2429 * text2.C (redoParagraphInternal, redoParagraphs):
2430 * text.C (redoParagraph): add a call to updateRowPositions at the
2431 end of each 'metrics-like' call. Remove all others.
2432 (getRow): remove the 'y-computing' version.
2433 (getRowNearY): do not compute nor return the real y. Solve the
2434 'y < 0' problem and simplify.
2436 2003-08-22 Angus Leeming <leeming@lyx.org>
2438 * *.[Ch]: clean-up of licence and author blurbs.
2439 Also move config.h out of a few .h files and into a few .C files.
2441 2003-08-22 André Pönitz <poenitz@gmx.net>
2443 * lyxrow.[Ch]: add x_ and *fill_ members
2448 * text2.C: adjust/remove prepareToPrint() calls
2450 2003-08-22 André Pönitz <poenitz@gmx.net>
2452 * lyxrow.[Ch]: add end_ member
2454 * lyxrow_funcs.C: use LyXRow::end_
2456 * lyxtext.h (singleWidth): add LyXFont parameter
2459 * text2.C: adjust LyXText::singleWidth() calls
2461 * text.C (redoParagraph): simplify row breaking logic
2464 2003-08-19 André Pönitz <poenitz@gmx.net>
2466 * funcrequest.C: initialize button_ member
2469 * rowpainter.[Ch]: interface consolidation
2471 2003-08-18 André Pönitz <poenitz@gmx.net>
2474 * BufferView_pimpl.C:
2476 * paragraph_funcs.C:
2478 * text3.C: remove LyXScreen::draw() and fitCursor calls
2480 * BranchList.h: remove spurious semicolons
2482 * MenuBackend.C: fix branchlist related crash
2484 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2492 * bufferparams.[Ch]:
2496 * text3.C: implements the 'branch inset'
2497 idea. This allows the output of various versions of a document
2498 from a single source version, selectively outputing or suppressing
2499 output of parts of the text.
2500 This implementation contains a 'branch list editor' in a separate
2501 tab of the document settings dialog. Branches are user definable
2502 and have a "display colour" to distinguish them on-screen.
2504 ColorHandler was somewhat cleaned up.
2505 (1) make possible a dynamically growing LColor list by allowing
2506 the graphic context cache to grow along (vector);
2507 (2) eliminate an IMHO unnecessary step in colour allocation.
2509 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2511 * BufferView_pimpl.C: compile fix
2513 2003-08-15 André Pönitz <poenitz@gmx.net>
2515 * rowpainter.C: remove extra metrics calls
2517 * lyxtext.h: merge the two constructors into a single one,
2518 pass reference to owner's par list
2520 * BufferView_pimpl.C:
2524 2003-08-15 André Pönitz <poenitz@gmx.net>
2526 * lyxrow_funcs.[Ch]:
2529 * paragraph_funcs.C:
2534 * text_funcs.C: split LyXText::rowlist_ into individual
2535 Paragraph::rows_ chunks
2538 * BufferView_pimpl.[Ch]:
2541 * text3.C: remove toggleSelection()
2543 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2545 * bufferlist.C: beautify two alerts (shorter text of buttons)
2546 * buffer.C: Remove redundant ' ' from message
2548 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2549 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2550 rename VALIGN_CENTER to VALIGN_MIDDLE
2552 2003-08-11 André Pönitz <poenitz@gmx.net>
2554 * lyxtext.h (getPar):
2555 * text.C: new function
2557 2003-08-11 André Pönitz <poenitz@gmx.net>
2560 * tracer.[Ch]: remove unneeded files
2562 * InsetList.[Ch]: remove resizeInsetsLyXText()
2567 * text3.C: merge insertParagraphs() and appendParagraph()
2568 remove breakAgain(), update()
2570 * BufferView_pimpl.[Ch]:
2571 * bufferview_funcs.[Ch]:
2575 * tabular.C: adjust after text & InsetList changes.
2577 2003-08-08 André Pönitz <poenitz@gmx.net>
2579 * text.C (insertChar, backspace): replace rowlist fiddling
2580 with rebreak of full par
2583 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2584 checkParagraph, updateInset): removed
2586 2003-08-07 André Pönitz <poenitz@gmx.net>
2589 * text3.C: merge some LFUN handlers, remove dead code
2591 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2593 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2595 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2597 * text2.C (DEPM): fix part of bug 1255 and 1256
2599 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2601 * BufferView_pimpl.C (workAreaDispatch): change to use
2602 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2603 that are no mouse related.
2605 2003-08-05 André Pönitz <poenitz@gmx.net>
2608 * BufferView_pimpl.[Ch]:
2609 * bufferview_funcs.C:
2611 * text3.C: rip out "deep update"
2613 * textcursor.[Ch] (last_sel_cursor): remove unused member
2615 2003-08-04 André Pönitz <poenitz@gmx.net>
2618 * BufferView_pimpl.[Ch]:
2619 * ParagraphParameters.C:
2620 * bufferview_funcs.C:
2626 * text3.C: replace "complicated" BufferView::update(...) calls with
2629 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2631 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2633 * Makefile.am (lyx_SOURCES): add paper.h
2635 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2637 * Makefile.am: move things around so that both lyx-qt and
2638 lyx-xforms can be built (according to --with-frontend). Then lyx
2639 is a symbolic link to lyx-[firstfrontend]
2641 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2643 * Always use std::endl with lyxerr
2645 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2647 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2649 2003-08-01 André Pönitz <poenitz@gmx.net>
2652 * BufferView_pimpl.[Ch]:
2654 * text3.C: merge BufferView::repaint() and BufferView::update()
2656 2003-08-01 José Matos <jamatos@lyx.org>
2658 * buffer.[Ch]: file_format is no longer a buffer data element.
2660 2003-08-01 André Pönitz <poenitz@gmx.net>
2665 * text2.C: make redoParagraph more independent of current cursor
2667 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2669 * text2.C: remove unneeded members
2671 2003-07-30 André Pönitz <poenitz@gmx.net>
2673 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2675 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2676 create a single function...
2678 * paragraph_funcs.C (moveItem): ... here.
2681 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2683 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2685 * LColor.[Ch]: Add comment and greyedout logical colors.
2687 2003-07-30 André Pönitz <poenitz@gmx.net>
2689 * tabular.C: don't use Assert too heavily. This crashes where it
2692 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2694 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2695 is disabled (bug 1232)
2697 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2699 * factory.C: limited 'arg' scope
2701 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2703 * factory.C: fixed Note submenu issues
2705 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2707 * factory.C: submenu for Note/Comment/Greyedout
2709 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2712 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2714 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2717 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2718 greyedout. Patch provided by Jürgen Spitzmüller.
2720 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2722 * kbmap.C (read): fix error message when reading bind files
2724 2003-07-29 Angus Leeming <leeming@lyx.org>
2726 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2727 certainly does not do what it purports to do. I am doing it, and
2728 us, a favour by killing it.
2730 2003-07-28 José Matos <jamatos@lyx.org>
2732 * buffer.C (readBody, do_writeFile):
2733 * paragraph.C(readParagraph): \end_document replaces \the_end.
2735 2003-07-29 André Pönitz <poenitz@gmx.net>
2738 * BufferView_pimpl.[Ch]:
2742 * textcursor.[Ch]: remove toggleToggle & Co
2744 2003-07-28 José Matos <jamatos@fep.up.pt>
2746 * buffer.C (readParagraph):
2747 * params_func (readParToken, readParagraph):
2748 * paragraph.C (write): \layout -> \begin_layout.
2750 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * lyxlex_pimpl.C (setFile): clean up slightly.
2754 * bufferparams.h: add compressed var
2756 * buffer_funcs.C (readFile): adjust for LyXLex change
2757 (newFile): ditto + simplify
2759 * buffer.C (writeFile): handle writing of compressed files
2761 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2762 Check if the file is compressed and set a bufferparm if so.
2764 * Makefile.am (lyx_LDADD): remove explicit -lz
2766 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2768 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2769 makeDocBookFile): put the real LyX version in the first line of
2773 * version.C.in: remove lyx_docversion
2775 * tabular.C (write_attribute): add a template-based version to
2776 write enums properly
2778 2003-07-28 André Pönitz <poenitz@gmx.net>
2783 * text3.C: use doubles again for x-coordinates. They are needed.
2785 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * messages.C (getLocaleDir): use lyx_localedir()
2789 * lyxlex_pimpl.C (setFile): compress stuff
2791 * buffer.C (writeFile): add some compression stuff
2792 (do_writeFile): new func, dont call expliti close... will this
2795 * Makefile.am (lyx_LDADD): add -lz
2797 2003-07-28 José Matos <jamatos@fep.up.pt>
2799 * buffer.C: increment file format.
2800 * paragraph_funcs (readParagraph, readParToken):
2801 * paragraph.C (readParagraph): add \end_layout.
2803 2003-07-27 Angus Leeming <leeming@lyx.org>
2805 * Makefile.am: remove special casing for configure-time setting of
2806 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2808 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2809 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2811 2003-07-26 André Pönitz <poenitz@gmx.net>
2813 * paragraph_func.[Ch]:
2814 * paragraph.C (realizeFont): inline it whereever it is used
2819 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2822 2003-07-26 André Pönitz <poenitz@gmx.net>
2826 * text2.C: get rid of LyXText::need_break_row
2828 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * toc.[Ch]: put namespace toc inside namespace lyx
2832 * MenuBackend.C (expandToc2): adjust for lyx::toc
2835 * lyxfunc.C (dispatch): adjust for lyx::find
2837 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2838 lyx::find instead. Reorganize a bit.
2839 (LyXReplace): rename to replace
2840 (LyXFind): rename to find
2842 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2845 2003-07-26 André Pönitz <poenitz@gmx.net>
2847 * text.C (setHeightOfRow): restrict scope of temporary variable
2849 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2850 code (never has been used?)
2852 2003-07-27 Asger Alstrup <alstrup@local>
2854 * text.C (fill): Optimise algorithm to exploit that we can reuse
2855 the LyXFont for many characters.
2856 (setHeightOfRow): Same thing.
2857 (rowBreakPoint): Same thing.
2859 2003-07-26 Asger Alstrup <alstrup@local>
2861 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2863 * text.C (singleWidth): Spurious font copying in hot-spot
2864 singleWidth avoided. Reorder tests for arabic for efficiency.
2866 * text.C (fill): handle empty paragraphs better.
2868 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * encoding.h: add includes
2873 * lyxrc.C: remove reading of bind files
2875 * lyx_main.C (init): setup bindings and menus only if we have a
2878 * kbmap.C (read): new method. Do the actual reading of bind
2881 * converter.C (dvipdfm_options):
2884 (output): adapt PAPER_* enums.
2886 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2888 * bufferparams.h: remove paper-related enums from there
2890 * paper.h: New file. A trivial header file to hold paper-related
2891 enums. It should later expand to contain many paper-related
2894 * lyxrc.C: declare extern displayTranslator
2896 2003-07-27 José Matos <jamatos@fep.up.pt>
2898 * tabular.[Ch] (linuxdoc): add support for tables and figures
2901 2003-07-27 José Matos <jamatos@fep.up.pt>
2903 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2904 consistency in both functions.
2905 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2907 2003-07-26 Asger Alstrup <alstrup@local>
2909 * rowpainter.C (paintRows): Change algorithm to work directly on
2910 the insets rather than asking every character in the document
2911 whether its an inset.
2913 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2915 * buffer.C (openFileWrite): factorize some code
2917 2003-07-26 Angus Leeming <leeming@lyx.org>
2920 * lyx_main.[Ch]: replace occurances of system_tempdir with
2923 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * rename Inset to InsetOld
2927 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2929 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2930 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2931 which I think is a bit clearer. EDIT is gone, since it was
2932 premature optimisation, and broken for mathed anyway.
2933 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2934 with cursor positioning in insets as well (math insets still do not
2935 work, but that's a different story anyway.) It mysteriously
2936 crashes sometimes with undo in the first paragraph, but I'm fairly
2937 confident that this is a compiler bug.
2939 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * paragraph.C (Paragraph): adjust for new clone return type
2943 (copyIntoMinibuffer): ditto
2945 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2947 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2948 by not having a special case, and always doing a full rebreak of
2949 the document after undo.
2951 2003-07-23 Angus Leeming <leeming@lyx.org>
2953 * factory.C (createInset): InsetExternal::setParams now takes a
2956 2003-07-23 Angus Leeming <leeming@lyx.org>
2958 * factory.C (createInset): changed interface to the external and
2959 graphics mailers' string2params functions.
2961 2003-07-23 Angus Leeming <leeming@lyx.org>
2963 * factory.C (createInset): pass a
2964 Buffer const * parameter to InsetExternalMailer's string2params.
2966 2003-07-22 John Levon <levon@movementarian.org>
2968 * Thesaurus.h: include the right aiksaurus header
2970 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2972 * MenuBackend.C (expand): check menu shortcuts unconditionally
2974 2003-07-21 Angus Leeming <leeming@lyx.org>
2976 * factory.C (createInset): pass a
2977 buffer_path parameter to InsetGraphicsMailer's string2params.
2979 2003-07-21 Angus Leeming <leeming@lyx.org>
2981 * BufferView_pimpl.C (buffer):
2984 * lyxfunc.C (dispatch):
2985 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2986 rather than the grfx shortcut.
2988 2003-07-21 André Pönitz <poenitz@gmx.net>
2990 * rowpainter.C: remove unused variables
2993 * tabular_funcs.h: move to tabular.C
2994 * Makefile.am: adjust
2996 * tabular.[Ch]: basic optical cleaning
2998 * author.h: pass references, not values
3000 2003-07-18 André Pönitz <poenitz@gmx.net>
3008 * text3.C: two-phase drawing for InsetText and InsetTabular
3009 some float -> int changes.
3011 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3013 * lyx_main.C: fix the fix
3015 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3017 * lyx_main.C: fix a crash in batch mode if no files specified
3020 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3022 * format.[Ch] (papersize): moved to BufferParams
3023 * converter.[Ch] (dvips_options): moved to BufferParams
3024 (dvipdfm_options): moved to anon namespace
3025 * bufferparams.[Ch]: added above functions.
3027 2003-07-17 André Pönitz <poenitz@gmx.net>
3031 * text2.C: don't call inset->update() anymore
3033 * metricsinfo.[Ch]: add convenience constructor
3035 2003-07-16 André Pönitz <poenitz@gmx.net>
3040 * text2.C: replace the LyXCursor::irow_ member with
3041 on-demand computation of the value
3043 2003-07-16 John Levon <levon@movementarian.org>
3045 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3047 2003-07-15 André Pönitz <poenitz@gmx.net>
3050 * text2.C: remove no more needed refresh_row
3052 2003-07-15 André Pönitz <poenitz@gmx.net>
3057 * text3.C: refresh_status tristate -> need_update bool
3059 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3061 * lyxtext.h (init): remove reinit argument (act as if always true)
3062 * text2.C: adjust to that
3064 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3066 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3067 * text3.C: use it to delete selections in some cases
3068 (bugs 441, 673, 702, 954).
3070 2003-07-14 André Pönitz <poenitz@gmx.net>
3072 * rowpainter.[Ch]: reduce interface
3074 2003-07-14 André Pönitz <poenitz@gmx.net>
3076 * BufferView_pimpl.C:
3077 * text2.C: adjust after removing unused BufferView * argument
3079 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3081 * text2.C (init): fix a crash fired on resize
3083 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3085 * buffer.[Ch]: added new closing signal
3086 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3087 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3088 BufferView::Pimpl via the closing the signal
3090 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3092 * buffer.[Ch]: take out all bv-related from buffer
3094 * BufferView_pimpl.[Ch]: connect to new signals
3095 * CutAndPaste.C: removed useless asserts
3096 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3099 * lyxfunc.C: moved view-related funciontality from vc here
3100 * paragraph.C: removed outdated comments
3103 2003-07-10 André Pönitz <poenitz@gmx.net>
3105 * BufferView_pimpl.C:
3109 * text2.C: remove InsetText::InnerCache, clean up consequences
3111 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3113 * ispell.C: fix two typos in error messages
3115 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3117 * Extend Note inset to other forms of annotation like Comment
3118 and Greyedout. Right button click gives dialog.
3120 Files modified or added (+):
3124 * ControlNote.[Ch] +
3126 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3127 frontends/controllers
3131 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3133 * aspell.C: add missing namespace lyx::support
3135 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3137 * BufferView.[Ch] (newFile): Add
3138 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3139 * LaTeX.[Ch] (message): added this signal and use it
3140 * buffer.[Ch] (busy, message): added these signals and use them
3141 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3145 * importer.C: use buffer signals instead of direct bv calling
3146 * lyx_cb.[Ch] (ShowMessage): removed
3149 * paragraph_funcs.C:
3150 * text2.C: use buffer signals
3152 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * introduce namespace lyx::graphics
3156 2003-07-02 André Pönitz <poenitz@gmx.net>
3158 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3160 2003-07-01 André Pönitz <poenitz@gmx.net>
3167 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3168 text*.C to text_func.C
3170 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * introduce namespace lyx::support
3174 2003-06-30 André Pönitz <poenitz@gmx.net>
3179 * text.C: re-enable --with-included-string
3181 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * textcursor.C: add <config.h>
3185 * text.C (getWord): remove const from word_location arg
3187 * lyxvc.C (getLogFile): fix const type order
3189 * lyxtext.h: remove const from word_location arg, add arg name
3191 * lyxlayout.h: currect type on labeltype.
3193 * importer.C: correct \file
3195 * converter.C (intToFormat): use std:: on ret val, ws changes
3197 * bufferlist.h: correct \file
3199 * buffer.C (makeLinuxDocFile): fix const type order
3200 (makeDocBookFile): ditto
3201 (fillWithBibKeys): use std:: on stdlib args.
3203 * CutAndPaste.C: fix authors.
3204 (availableSelections): use std:: on return vector
3206 2003-06-27 André Pönitz <poenitz@gmx.net>
3208 * BufferView_pimpl.C:
3209 * bufferview_funcs.C:
3217 * text3.C: remove LyXCursor::row_ member
3220 * text.C: rename fullRebreak() to partialRebreak() and implement
3221 a fullRebreak() that really bereks fully
3223 * textcursor.h: new struct for cursor-related data
3225 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3227 * lyx_main.C (LyX): get full path of document loaded on the
3230 2003-06-26 André Pönitz <poenitz@gmx.net>
3232 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3233 remove unused/broken operator>,<,>=.
3235 * text.C: remove only use of broken operator<= in an Assert().
3237 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3239 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3240 moved errorlist_.clear to showErrorList
3242 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3244 * converter.C (scanLog, runLaTeX):
3245 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3246 move the bv->showErrorList call to the callers
3247 * lyxfunc.C: i.e. here...
3249 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3250 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3251 namespace, the second to...
3252 * buffer_funcs (BufferFormat, parseErrors): added
3253 * errorlist.C (ErrorList(TeXErrors const &)): removed
3255 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3257 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3259 2003-06-24 "Garst R. Reese" <reese@isn.net>
3263 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3265 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3267 * version.C.in: change docversion to 1.4
3269 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3271 * buffer.C: fix a bug just introduced
3273 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3275 * buffer.[Ch]: added the parseError signal and use it, removed
3277 * BufferView.[Ch] (addError): moved to ...
3278 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3279 to the Buffer::parseError signal to catch (guess what) parse errors
3280 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3282 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3284 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3285 ability to create a buffer and to return an existing one from
3286 the list. Moved these functions to...
3287 * buffer_funcs.[Ch]: added
3288 * BufferView.[Ch] (loadLyXFile): added
3289 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3290 job removed from bufferlist::loadLyXFile.
3291 * buffer.C (setReadOnly): make it work without view
3292 (i.e added an if (users))
3294 2003-06-19 Angus Leeming <leeming@lyx.org>
3297 * LyXAction.C (init):
3298 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3299 with LFUN_DIALOG_SHOW <name> <data>.
3301 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3303 * CutAndPaste.C (availableSelections): small compilation fix for
3304 ancient (gcc 2.9x) compilers
3306 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * text3.C (cursorNext): add tmp var
3310 * text2.C (updateCounters): for function calling out of for clause
3311 (replaceSelectionWithString): ditto
3312 (insertStringAsParagraphs): ditto
3313 (getColumnNearX): add tmp var
3314 (setCursorFromCoordinates): add tmp var
3315 (cursorDownParagraph): add tmp var
3316 (deleteEmptyParagraphMechanism): add tmp var
3318 * text.C (insertChar): add tmp var
3320 * rowpainter.C (paintDepthBar): add tmp var
3322 * CutAndPaste.C (availableSelections): potentially check all
3323 paragraphs in a cut to fill the shown strings.
3325 2003-06-18 André Pönitz <poenitz@gmx.net>
3327 * kbmap.[Ch]: use vector<> instead of list<>
3329 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3331 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3332 pasteSelection with index
3334 * text2.C (pasteSelection): modify, call pasteSelection with index
3336 * paragraph.C (asString): reimplement version with no interval to
3337 call the one with interval.
3339 * lyxtext.h: add index arg to pasteSelection
3341 * MenuBackend.C (MenuItem): handle PasteRecent
3342 (Menu::read::Menutags): add md_pasterecent
3344 (expandPasteRecent): new function
3347 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3349 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3351 (availableSelections): new function
3353 2003-06-17 Angus Leeming <leeming@lyx.org>
3355 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3357 2003-06-17 Angus Leeming <leeming@lyx.org>
3360 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3362 * lyxfunc.C (dispatch): invoke it.
3364 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3366 * iterators.C (operator++, ParPosition): reintroduce some
3367 const_cast for the benefit of older compilers.
3369 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3371 * text3.C (dispatch): do not modify clipboard when doing
3372 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3373 LFUN_DELETE_SKIP on a selection selection
3375 2003-06-16 André Pönitz <poenitz@gmx.net>
3381 * tabular.[Ch]: IU of clone() and getLabelList();
3383 2003-06-13 André Pönitz <poenitz@gmx.net>
3385 * tabular.h: compactification
3387 2003-06-12 André Pönitz <poenitz@gmx.net>
3391 * tabular_funcs.h: some renaming plus whitespace
3393 2003-06-12 André Pönitz <poenitz@gmx.net>
3396 * BufferView_pimpl.C:
3402 * toc.C: Return a Paragraph & for ParIterator::operator*()
3404 2003-06-11 John Levon <levon@movementarian.org>
3408 * ToolbarBackend.C: add "Toolbars" section and
3411 2003-06-10 Angus Leeming <leeming@lyx.org>
3414 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3416 * lyxfunc.C (dispatch): invoke it.
3418 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * main.C: protect <ios> with HAVE_IOS
3421 (main): protect sync_with_stdio with HAVE_IOS
3423 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3425 * text2.C (cutSelection): adjust
3426 (pasteSelection): adjust
3428 * messages.C: handle get of empty string
3430 * main.C (main): use sync_with_stdio(false)
3432 * lyxfunc.C (dispatch): adjust
3434 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3435 (WriteAs): remove unneeded BufferView arg.
3437 * bufferparams.h: use correct types on papersize, papersize2 and
3440 * bufferparams.C (readToken): adjust for type
3441 (writeLaTeX): add missing cases to switch.
3443 * bufferlist.C (quitWriteBuffer): adjust
3446 * buffer.C (asciiParagraph): remove some commented code.
3448 * CutAndPaste.C: remove current_view extern variable.
3449 (cutSelection): add BufferParams arg.
3450 (eraseSelection): add BufferParams arg.
3451 (pasteSelection): add Buffer const & arg
3453 2003-06-07 John Levon <levon@movementarian.org>
3456 * paragraph_funcs.C:
3457 * paragraph_pimpl.C:
3461 * paragraph.C: allow InsetERT to freely space lines,
3462 and some consolidation of code
3464 2003-06-06 José Matos <jamatos@fep.up.pt>
3466 * buffer.C (makeDocBookFile): fix bug #821
3468 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3470 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3472 2003-06-04 Angus Leeming <leeming@lyx.org>
3474 * buffer.C: bump format to 224.
3476 2003-06-05 André Pönitz <poenitz@gmx.net>
3478 * text2.C (redoParagraphs): remove two const_cast<>
3480 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3482 * ParagraphList.h: remove last remnants of NO_STD_LIST
3484 2003-06-03 Angus Leeming <leeming@lyx.org>
3486 * factory.C (createInset): small change to the way InsetExternal's params
3489 2003-06-04 André Pönitz <poenitz@gmx.net>
3491 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3493 * paragraph_pimpl.h:
3494 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3496 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3498 * undo_funcs.C: make some simple cases of undo work again
3500 2003-06-03 John Levon <levon@movementarian.org>
3502 * ispell.C: HPUX doesn't have sys/select.h
3505 2003-06-03 John Levon <levon@movementarian.org>
3507 * CutAndPaste.C: update tabular and include inset
3512 * paragraph.C: remove owningBuffer(), don't pass Buffer
3515 * factory.C: insetGraphicsParams changed
3517 2003-06-02 John Levon <levon@movementarian.org>
3523 * text3.C: remove insetparent
3525 2003-06-02 John Levon <levon@movementarian.org>
3528 * buffer.C: fix inset_iterator.end(), move out of line
3531 2003-06-01 John Levon <levon@movementarian.org>
3533 * text3.C: use a proper cut/paste when doing inset
3534 insert (from Jürgen Spitzmüller)
3536 2003-06-01 John Levon <levon@movementarian.org>
3538 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3540 2003-05-30 André Pönitz <poenitz@gmx.net>
3542 * rowpainter.C: unify second drawing phase
3544 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * trans_mgr.C: remove one case of current_view
3548 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3550 * paragraph_funcs.h: remove paragraph.h include
3552 * paragraph.h: delete NO_STD_LIST stuff
3554 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3556 * buffer.h: remove paragraph.h include
3558 * ParagraphList.C: delete file
3560 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3562 * toc.C (getTocList): adjust
3564 * paragraph_pimpl.C (validate): adjust
3566 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3568 * paragraph.C (Paragraph): adjust
3569 (getPositionOfInset): use const_iterator, adjust
3570 (bibitem): use const_iterator, adjust
3571 (setInsetOwner): adjust
3573 * iterators.C (operator++): adjust
3575 * InsetList.[Ch]: Replace selfmade iterator with standard
3576 vector::iterator also introduce const_iterator. Remove getPos,
3577 getInset and setInset from InsetTable. Adjust accordingly.
3579 * BufferView.C (lockInset): adjust
3580 (ChangeInsets): adjust
3582 * tabular.[Ch]: delete commented same_id functions
3584 2003-05-28 John Levon <levon@movementarian.org>
3586 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3588 2003-05-28 André Pönitz <poenitz@gmx.net>
3590 * metricsinfo.[Ch]: remove 'fullredraw' member
3592 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3594 * lyxtextclass.C (operator): remove caching.
3596 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * text2.C (cursorBottom): adjust
3601 (setCounter): use ParagraphList::find, adjust
3603 * text.C (workWidth): use ParagraphList::find, adjust
3605 * lyxcursor.C (LyXCursor): adjust
3607 * buffer.C (inset_iterator): adjust
3609 * ParagraphList.h: make iterator(value_type) private, make
3610 ParagraphList a friend of iterator.
3612 * ParagraphList.C (find): new function
3614 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3616 2003-05-27 André Pönitz <poenitz@gmx.net>
3618 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3620 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3622 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3624 2003-05-26 John Levon <levon@movementarian.org>
3626 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3628 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * remove same_id from function signatures, adjust.
3632 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3636 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3638 * paragraph.C (Paragraph): get rid of same_ids parameter
3640 * ParagraphList.C (insert): adjust
3643 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3645 * paragraph_funcs.C (breakParagraph): adjust
3646 (breakParagraphConservative): adjust
3648 * buffer.C (readParagraph): adjust
3650 * ParagraphList.C (insert): take a reference instead of a pointer
3653 * paragraph.[Ch] (id): new function
3655 * bufferlist.C (newFile): adjust
3657 * ParagraphList.C (ParagraphList): adjust
3659 (push_back): take a reference instead of a pointer.
3661 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3663 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3666 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3667 set else use old code.
3669 * ParagraphList.C: remove all NO_NEXT code and only compile this
3670 code of NO_STD_LIST is set.
3672 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3674 * BufferView_pimpl.C:
3684 * graphics/GraphicsConverter.C:
3685 * graphics/PreviewLoader.C: header adjustment
3687 2003-05-23 Angus Leeming <leeming@lyx.org>
3689 * LaTeXFeatures.[Ch] (useBabel): new method.
3690 * bufferparams.C (writeLaTeX): use it.
3692 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3694 * ParagraphList.h (set): remove unused function.
3696 2003-05-23 André Pönitz <poenitz@gmx.net>
3699 * BufferView_pimpl.C:
3703 * undo_funcs.C: setUndo reworked
3705 * iterators.[Ch]: add access to topmost ParagraphList
3707 * lyxtext.[Ch] (workWidth): add a const
3709 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3711 * texrow.[Ch] (increasePos): remove function
3712 * exporter.C (export): removed unused var and outdated comment
3714 2003-05-23 Angus Leeming <leeming@lyx.org>
3716 * latexrunparams.h: rename fragile as moving_arg.
3717 * paragraph.C (simpleTeXOnePar): ditto.
3718 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3720 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3724 (textUndoOrRedo): comment out a currently unused var.
3726 * paragraph.h (NO_NEXT): enable NO_NEXT
3728 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3730 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3732 * exporter.C (Export): adjust for removeAutoInsets removal.
3734 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3736 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3738 * BufferView.[Ch] (removeAutoInsets): delete function
3740 2003-05-22 Angus Leeming <leeming@lyx.org>
3742 * latexrunparams.h: add a free_spacing variable.
3744 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3745 to pass moving_arg, as the data is stored in runparams.fragile.
3747 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3748 to Inset::latexOptional or to simpleTeXOnePar.
3750 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3751 free_spacing arg to Inset::latexOptional.
3753 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3756 2003-05-22 Angus Leeming <leeming@lyx.org>
3758 * latexrunparams.h: add fragile and use_babel variables.
3760 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3761 * buffer.C (makeLaTeXFile): store this returned value in
3762 runparams.use_babel, thus passing it to the inset::latex methods.
3764 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3765 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3767 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3768 longer has a fragile arg, as it is stored in runparams.fragile.
3770 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3771 moving_arg parameter as the data is stored in runparams.fragile.
3773 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3774 a fragile parameter as the data is stored in runparams.fragile.
3776 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3780 2003-05-22 Angus Leeming <leeming@lyx.org>
3782 * latexrunparams.h: add a 'bool nice' which defaults to false.
3784 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3785 now encapsulated within runparams.
3787 * bufferlist.C (updateIncludedTeXfiles):
3788 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3790 2003-05-22 Angus Leeming <leeming@lyx.org>
3792 * latexrunparams.h: new file containing struct LatexRunParams.
3793 * Makefile.am: add new file.
3795 * LaTeX.[Ch] (c-tor, run):
3796 * buffer.[Ch] (makeLaTeXFile):
3797 * bufferlist.[Ch] (updateIncludedTeXfiles):
3798 * converter.C (convert, scanLog):
3799 * converter.[Ch] (runLaTeX):
3800 * exporter.C (Export):
3801 * paragraph.[Ch] (simpleTeXOnePar):
3802 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3803 * paragraph_funcs.[Ch] (latexParagraphs):
3804 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3805 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3806 pass around a LatexRunParams parameter.
3808 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * paragraph.[Ch]: remove unused constructor
3812 * ParagraphList.C (erase): new function, taking two iterators
3814 2003-05-22 André Pönitz <poenitz@gmx.net>
3816 * undo_funcs.C: remove duplicated code
3818 * iterator.[Ch]: operator=
3820 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * tabular.C (SetMultiColumn): ws changes
3824 * rowpainter.C (paintFirst): get rid of a ->previous
3826 * lyx_cb.C (getPossibleLabel): parlist simplification
3828 * BufferView.C (ChangeInsets): simplify slightly.
3830 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3832 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3833 * lfuns.h: new LFUN_SPACE
3834 * lyxfunc.C: protected space has a new lfun
3835 * paragraph_funcs.C: read new space insets
3837 * factory.C: handle new space insets
3839 2003-05-22 André Pönitz <poenitz@gmx.net>
3842 * BufferView_pimpl.C:
3845 * undo_funcs.C: return a ParIterator from getParFromID.
3847 * iterators.[Ch]: add two const's
3849 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * toc.C (getTocList): adjust
3853 * iterators.[Ch]: rework for parlist
3855 * buffer.C (par_iterator_begin): adjust
3856 (par_iterator_end): adjust
3858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3860 * BufferView.C (removeAutoInsets): adjust
3861 (ChangeInsets): adjust
3863 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3865 * text.C (top_y): fix bug 1110
3867 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3869 * errorlist.[Ch]: added
3872 * BufferView_pimpl.C:
3873 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3876 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * Makefile.am: ensure that lyx is relinked upon changes to the
3879 various "convenience" libs.
3881 2003-05-20 Angus Leeming <leeming@lyx.org>
3883 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3884 files are compiled in alphabetical order again.
3886 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3888 2003-05-19 Angus Leeming <leeming@lyx.org>
3890 * gettext.[Ch]: remove "char const * _(char const *)".
3892 2003-05-19 André Pönitz <poenitz@gmx.net>
3894 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3903 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3905 2003-05-19 André Pönitz <poenitz@gmx.net>
3909 * lyxtextclass.[Ch]:
3911 * paragraph_funcs.[Ch]:
3913 * text3.C: more insetenv work
3915 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3917 * ParagraphParameters.C (params2string): small bug fixed
3919 2003-05-16 André Pönitz <poenitz@gmx.net>
3922 * bufferview_funcs.C: patch from Kornel Benko to prevent
3923 crash when _(...) is called twice in a statement
3925 2003-05-16 André Pönitz <poenitz@gmx.net>
3932 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3934 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3936 * lyx_main.C (init): remove spurious static_cast
3938 2003-05-14 André Pönitz <poenitz@gmx.net>
3940 * BufferView.C: fix format string
3942 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3944 * BufferView.[Ch] (insertErrors): removed
3945 * BufferView.[Ch] (showErrorList): added
3946 * buffer.C (runChkTeX):
3947 * converter.C (scanLog): call showErrorList instead of inserterrors
3949 2003-05-13 André Pönitz <poenitz@gmx.net>
3951 * BufferView_pimpl.C:
3953 * bufferview_func.C:
3960 * tabular_funcs.h: tostr() from its own header
3962 * ParagraphParameters.C:
3967 * text3.C: STRCONV()
3969 2003-05-12 André Pönitz <poenitz@gmx.net>
3972 * BufferView_pimpl.C:
3976 * ParagraphParameters.C:
3980 * bufferview_funcs.C:
3993 * paragraph_funcs.C:
3997 * text3.C: boost::format -> bformat all over the place
4000 2003-05-09 André Pönitz <poenitz@gmx.net>
4002 * LColor.[Ch]: Pimpl the #include <map> away
4004 2003-05-09 John Levon <levon@movementarian.org>
4006 * bufferlist.C: never remove emergency saves
4008 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * Makefile.am: better lib building
4012 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4014 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4016 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4017 (simpleTeXSpecialChars): adjust
4018 (simpleTeXSpecialChars): adjust
4019 * paragraph.C (simpleTeXOnePar): adjust
4020 * buffer.C (makeLaTeXFile): adjust
4022 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4024 * text2.C (changeDepth): parlist cleanup
4025 (getColumnNearX): ditto
4027 * rowpainter.C (getLabelFont): parlist cleanup
4029 * bufferlist.C (newFile): parlist cleanup
4031 * CutAndPaste.C (eraseSelection): parlist cleanup
4033 * BufferView_pimpl.C (trackChanges): parlist cleanup
4036 * BufferView.C (lockInset): parlist cleanup.
4037 (ChangeInsets): ditto
4039 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * CutAndPaste.h: Update file header.
4043 * CutAndPaste.C: Update file header.
4044 Store the parts cut out of the Document in a limited_stack.
4045 (copySelection): adjust
4046 (pasteSelection): new function, takes the index in the limited stack.
4047 (nrOfParagraphs): adjust
4048 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4049 simplify error inset insertion.
4050 (checkPastePossible): adjust
4052 2003-05-06 John Levon <levon@movementarian.org>
4054 * text2.C: don't cast wrap inset to float
4056 2003-05-05 André Pönitz <poenitz@gmx.net>
4059 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4061 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4062 few naked Paragraph *.
4064 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4066 * bufferparams.C: Output warning if a document with missing
4067 TeX document class is loaded
4068 * exporter.C: Disable TeX exports if the document class is missing
4071 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4072 isTeXClassAvailable()
4074 2003-05-03 John Levon <levon@movementarian.org>
4077 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4078 explicit cursor show/hide
4080 * BufferView_pimpl.h:
4081 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4082 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4084 * lyxfunc.C: hide cursor before dispatching.
4089 * text3.C: remove explicit cursor hides
4091 2003-05-02 André Pönitz <poenitz@gmx.net>
4093 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4096 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4099 * text2.C: tiny whitespace
4101 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * undo_funcs.C: almost only ws changes.
4105 * ParagraphList.C (splice): just return if pl is empty.
4107 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * ParagraphList.C (splice): new function.
4111 * CutAndPaste.C (pasteSelection): use it
4113 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * CutAndPaste.C (pasteSelection): remove the last next and
4116 previous from this file.
4118 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * CutAndPaste.C (pasteSelection): more clean up, user proper
4121 ParagraphList functions for pasteing.
4123 * ParagraphList.C (insert): new function, three arg insert
4125 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * ParagraphList.C (insert): new function, three arg insert
4129 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4136 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4140 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4143 (copySelection): clean up a bit.
4144 (pasteSelection): use make_pair
4146 * ParagraphList.C (ParagraphList): implement copy constructor
4147 (operator=): implement, base on copy constructor.
4150 * paragraph.C (erase): return a bool
4152 * paragraph_pimpl.C (erasePos): remove function, move contents...
4153 (erase): ... here. Return a bool.
4154 (erase): call erase instead of erasePos.
4156 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4158 * ParagraphList.h: define PitPosPair
4159 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4160 ParagraphList, fix a bug on pasting multiple pars
4161 * text2.C: change interface to C&P
4163 2003-04-30 André Pönitz <poenitz@gmx.net>
4165 * undo_func.C: revert part of yesterday's patch 2
4167 2003-04-30 John Levon <levon@movementarian.org>
4169 * LColor.C: s/tabular/table/
4171 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * text3.C (dispatch): do not convert iterator -> pointer
4174 * undo_funcs.C (setCursorParUndo): ditto
4175 * text_funcs.C (transposeChars): ditto
4177 * text2.C (setLayout): ws changes only
4179 * text.C (breakParagraph): do not convert iterator -> pointer
4181 (acceptChange): ditto
4182 (rejectChange): ditto
4187 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4190 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4192 * text3.C (gotoInset): YABG (yet another bad getChar)
4194 2003-04-29 André Pönitz <poenitz@gmx.net>
4196 * paragraph.h: make operator= private unimplemented as long as
4199 * ParagraphList.C: whitespace
4202 * paragraph_pimpl.[Ch]:
4203 * paragraph_funcs.C:
4205 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4208 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4210 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4212 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4213 * paragraph.[Ch] (erase):
4214 * paragraph_pimpl.[Ch] (erase): change return type and value
4215 * text2.C (cutSelection): some rework
4217 2003-04-28 John Levon <levon@movementarian.org>
4219 * bufferlist.C: changes for unsaved changes dialog
4221 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * bufferlist.C (newFile): set language (messages_) for new
4226 * buffer.C (readFile): ws changes only.
4228 2003-04-28 André Pönitz <poenitz@gmx.net>
4233 * BufferView_pimpl.C:
4234 * BufferView.C: getParFromID related ParagraphList::iterator changes
4236 2003-04-28 André Pönitz <poenitz@gmx.net>
4238 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4241 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * messages.C: remove one more localedir class variable.
4245 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * messages.C (getLocaleDir): singleton generation function
4249 (Messages): add a default constructor.
4251 * main.C (main): do not setup localedir here, do not call
4254 * gettext.C (_): use it.
4255 (gettext_init): delete funciton
4257 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * gettext.C (getLyXMessages): new singleton generating function.
4261 * buffer.C (updateDocLang): adjust
4263 * Makefile.am (messages.o): add target
4264 (main.o): remove target
4266 2003-04-27 John Levon <levon@movementarian.org>
4271 * lyxvc.C: specify cancel button in Alert::prompt
4273 2003-04-26 John Levon <levon@movementarian.org>
4278 * LyXAction.C: add LFUN_INSET_SETTINGS
4280 * lyxfunc.C: don't enable tabular-feature when there's
4281 just any locking inset
4283 2003-04-26 John Levon <levon@movementarian.org>
4285 * bufferlist.C: re-add Cancel to buffer close question
4287 * lyxfunc.C: fix import UI a bit
4289 2003-04-25 John Levon <levon@movementarian.org>
4291 * gettext.C: remove the broken asserts for now
4293 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * messages.C: make case where setlocale cannot comply work better.
4297 * buffer.C (updateDocLang): new function
4298 (changeLanguage): use it
4301 * text2.C (setCounter): use B_ a bit.
4303 * lyxlayout.C (Read): be sure to trim the label strings.
4305 * messages.C (Messages): fix typo in comment
4307 * buffer.C (readFile): set message_ after file is loaded.
4308 (makeDocBookFile): remove double return
4309 (changeLanguage): reset message_ upon language change.
4310 (B_): new func, use this to get translated buffer strings.
4312 * main.C: add myself and Jean Marc as authors.
4314 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * messages.[hC]: pimplify Messages, and three different pimpls to be
4317 used in different circumstances.
4319 * gettext.[Ch]: change for use with new message code.
4321 2003-04-24 André Pönitz <poenitz@gmx.net>
4323 * factory.C: support for eqref
4325 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * messages.[Ch]: add missing char
4329 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4331 * messages.[Ch]: New files
4333 2003-04-18 John Levon <levon@movementarian.org>
4337 * BufferView_pimpl.C:
4341 * text2.C: remove layout-copy/paste (bug 778)
4343 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4345 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4347 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4349 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4350 if they succeed. Act accordingly.
4352 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * text2.C (setCharFont): adjust
4355 (setCounter): adjust
4356 (insertStringAsLines): adjust
4358 * text.C (leftMargin): adjust
4359 (setHeightOfRow): adjust
4361 * rowpainter.C (paintFirst): adjust
4364 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4366 (isFirstInSequence): ditto
4367 (getEndLabel): ditto
4370 * paragraph.C (getParLanguage): comment out some hard stuff.
4372 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4374 (simpleDocBookOnePar): ditto
4375 (makeDocBookFile): use ParagraphList::iterator
4377 * CutAndPaste.C (pasteSelection): adjust
4379 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4381 * text2.C (getFont): adjust
4382 (getLayoutFont): adjust
4383 (getLabelFont): adjust
4385 * paragraph_funcs.C (TeXOnePar): adjust
4387 * buffer.C (simpleLinuxDocOnePar): adjust
4388 (simpleDocBookOnePar): adjust
4390 * CutAndPaste.C (pasteSelection): adjust
4392 * BufferView.C (getEncoding): adjust
4394 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4396 2003-04-16 John Levon <levon@movementarian.org>
4398 * lyxfind.C: use parlist stuff for search/changes
4400 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4404 * text2.C (deleteEmptyParagraphMechanism): adjust
4406 * text2.[Ch] (ownerParagraph): delete func (both of them
4408 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4412 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * ParagraphList.C: prepare for NO_NEXT
4416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * text2.C (getFont): adjust
4419 (getLayoutFont): adjust
4420 (getLabelFont): adjust
4422 * paragraph.C (getFont): adjust
4423 (getLabelFont): adjust
4424 (getLayoutFont): adjust
4426 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4428 2003-04-15 John Levon <levon@movementarian.org>
4432 * lyx_main.C: handle Include in .ui files
4434 2003-04-15 John Levon <levon@movementarian.org>
4436 * MenuBackend.C: make the doc files length shorter
4439 * ToolbarBackend.C: handle toolbar placement flags,
4442 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4447 * paragraph_funcs.C (TeXOnePar): adjust
4449 * paragraph.C (getLabelFont): add outerfont arg, adjust
4450 (getLayoutFont): ditto
4451 (simpleTeXOnePar): adjust
4453 * paragraph_pimpl.C (realizeFont): delete func
4455 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4457 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4458 row argument, constify cur argument.
4460 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * text2.C (getFont): adjust
4463 (getLayoutFont): adjust
4464 (getLabelFont): adjust
4466 * paragraph_funcs.C (TeXOnePar): adjust
4467 (outerFont): new func...
4468 (realizeFont): ...moved out from here, changed this to facilitate
4471 * paragraph.C (getFont): take outerfont as arg, adjust
4472 (simpleTeXOnePar): add outerfont arg, adjust
4474 * buffer.C (simpleLinuxDocOnePar): adjust
4475 (simpleDocBookOnePar): adjust
4477 * CutAndPaste.C (pasteSelection): adjust
4479 * BufferView.C (getEncoding): adjust
4481 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * text2.C (setCharFont): adjust
4484 (setCounter): adjust
4486 * text.C (leftMargin): adjust
4487 (setHeightOfRow): adjust
4489 * rowpainter.C (paintFirst): adjust
4492 * paragraph_pimpl.C (realizeFont): adjust
4494 * paragraph.C (isFirstInSequence): move from here...
4495 * paragraph_funcs.C (isFirstInSequence): ...to here
4497 * paragraph.C (outerHook): move from here...
4498 * paragraph_funcs.C (outerHook): ...to here
4500 * paragraph.C (depthHook): move from here...
4501 * paragraph_funcs.C (depthHook): ...to here
4503 * paragraph.C (getEndLabel): move from here...
4504 * paragraph_funcs.C (getEndLabel): ...to here
4506 * text2.C (realizeFont): move from here...
4507 * paragraph_funcs.C (realizeFont): ...to here
4509 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4513 2003-04-14 Angus Leeming <leeming@lyx.org>
4515 * LColor.[Ch]: scrap LColor mathcursor.
4517 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * lyxlex.[Ch] (text): delete function
4520 * trans.C (Load): adjust
4521 * paragraph_funcs.C (readParToken): adjust
4523 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4526 vector<char> instead of a char[].
4528 * lyxlex_pimpl.C (getString): adjust
4530 (lex): use getString
4534 * lyxlex.C (text): use pimpl_->getString()
4538 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4541 (makeFontEntriesLayoutSpecific): temp var for par.size()
4542 (setLayout): temp var for ownerParagraphs().end()
4543 (fullRebreak): temp var for rows().end()
4544 (selectionAsString): temp var for boost::next(startpit), realize
4545 that the while really is a regular for loop.
4546 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4547 setCursor in one place.
4548 (setParagraph): temp vr for ownerParagraphs().end()
4549 (updateCounters): make the while loop a for loop
4550 (cutSelection): temp var for ownerParagraphs().end()
4551 (updateInset): make the do {} while() a regular for loop
4552 (getCursorX): use temp vars
4553 (setCurrentFont): use temp vars
4554 (getColumnNearX): use temp vars
4556 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * text.C (transformChar): use temp var for getChar
4559 (computeBidiTables): use temp var for row->par()
4560 (fill): move temp vars for row->par() and pit->layout() earlier in
4562 (labelFill): use temp var for row->par()
4563 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4564 asc and desc, realize that pit never changes and that firstpit is
4565 just a duplicate and not needed. Exchange rit->par() with pit in a
4567 (breakAgain): use a temp var for boost::next(rit)
4568 (breakAgainOneRow): ditto
4569 (breakParagraph): use a temp var for rows().begin()
4570 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4571 (cursorRightOneWord): use temp var for cursor.par() and
4572 cursor.pos(), remove usage of tmpcursor.
4573 (cursorLeftOneWord): use temp var for cursor.par() and
4574 cursor.pos() only set cur at end of function.
4576 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * text.C, text2.C: exchange all usage of Paragraph::next with
4579 boost::next(ParagraphList::iterator)
4581 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4583 * text2.C (cursorTop): simplify implementation
4584 (cursorBottom): ditto
4585 (setParagraph): use ParagraphList::iterator
4586 (setCurrentFont): adjust
4587 (getColumnNearX): adjust
4588 (cursorRight): adjust
4589 (cursorLeft): remove usage of Paragraph::previous
4590 (cursorUpParagraph): ditto
4591 (deleteEmptyParagraphMechanism): slight cleanup
4593 * text.C (isBoundary): take a Paragraph const & instead of a
4595 (addressBreakPoint): ditto
4596 (leftMargin): remove usage of Paragraph::previous.
4597 (setHeightOfRow): ditto
4598 (cursorLeftOneWord): ditto
4599 (selectNextWordToSpellcheck): ditto
4602 (breakParagraph): remove one usage of Paragraph::next
4603 (redoParagraph): ditto
4604 (acceptChange): ditto
4605 (insertChar): adjust
4606 (rowBreakPoint): adjust
4608 * bufferview_funcs.C (toggleAndShow): adjust
4610 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4612 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4613 methods to access it.
4615 * text.C: Added updateRowPositions to compute all row positions.
4616 Make top_y and getRowNearY() to use the cached y position
4618 2003-04-11 John Levon <levon@movementarian.org>
4620 * text.C (rowBreakPoint): reintroduce the labelEnd
4621 checks, code copied from the row fill stuff. Deep voodoo.
4623 * text.C (fill): add a comment and debugging for the
4626 2003-04-11 John Levon <levon@movementarian.org>
4628 * text.C: make sure fullrow insets get wrapped to the next line,
4629 even when they're in a manual label
4631 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * text2.C (insertParagraph): make it take ParagraphList::iterator
4635 (setLayout): make it return ParagraphList::iterator
4636 (redoParagraphs): ditto
4638 (checkParagraph): ditto
4640 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4642 * text2.C: adjust several funcs.
4643 (realizeFont): take a ParagraphList::iterator as arg.
4644 (getLayoutFont): ditto
4645 (getLabelFont): ditto
4646 (setCharFont): ditto
4648 * text.C: adjust several funcs.
4650 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4652 * text.C (selectNextWordToSpellcheck): don't accidentally
4655 2003-04-10 John Levon <levon@movementarian.org>
4657 * ToolbarBackend.C (getIcon): special handling for
4660 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4662 * text2.C (cursorRight): a getChar assert fixed
4664 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * text2.C (getFont): change to take a ParagraphList::iterator
4667 instead of Paragraph*
4668 Adjust several functions.
4670 * text.C (transformChar): change to take a ParagraphList::iterator
4671 instead of Paragraph*
4672 (singleWidth): ditto
4673 Adjust several functions.
4675 * rowpainter.C: adjust several functions
4676 * rowpainter.h:store a ParagraphList::iterator and not a
4680 2003-04-09 John Levon <levon@movementarian.org>
4685 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4686 and the "help" bits as well
4688 2003-04-09 John Levon <levon@movementarian.org>
4691 * ToolbarBackend.C: allow multiple toolbars
4693 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * undo_funcs.C (setCursorParUndo): adjust
4697 * text_funcs.C (transposeChars): adjust
4699 * text3.C (gotoNextInset): adjust
4702 * text2.C (setLayout): adjust
4703 (changeDepth): adjust
4705 (redoParagraphs): adjust
4706 (selectionAsString): adjust
4707 (setParagraph): adjust
4708 (insertInset): adjust
4709 (cutSelection): adjust
4710 (copySelection): adjust
4711 (pasteSelection): adjust
4712 (insertStringAsLines): adjust
4713 (updateInset): adjust
4714 (setCursor): change to take a ParagraphList::iterator parameter
4715 (setCursorIntern): change to take a ParagraphList::iterator parameter
4716 (setCurrentFont): adjust
4717 (cursorLeft): adjust
4718 (cursorRight): adjust
4719 (deleteEmptyParagraphMechanism): adjust
4721 * text.C (breakParagraph): adjust
4722 (insertChar): adjust
4723 (acceptChange): adjust
4724 (rejectChange): adjust
4725 (selectNextWordToSpellcheck): adjust
4726 (changeCase): adjust
4730 * lyxfind.C (SearchForward): adjust
4731 (SearchBackward): adjust
4732 (nextChange): adjust
4734 * lyxcursor.C (par): adjust
4736 * lyxcursor.h: store a ParagraphList::iterator instead of a
4739 * lyx_cb.C (getPossibleLabel): adjust
4741 * bufferview_funcs.C (toggleAndShow): adjust
4743 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4746 * BufferView.C (removeAutoInsets): adjust
4747 (lockedInsetStoreUndo): adjust
4749 2003-04-09 John Levon <levon@movementarian.org>
4751 * ToolbarBackend.C: try icon without argument
4752 if with argument fails
4754 2003-04-08 John Levon <levon@movementarian.org>
4757 * ToolbarBackend.C: add getIcon(), handle tooltip,
4758 and change from "Icon" to "Item".
4760 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4762 * BufferView.C (lockInset): another bad getchar crunched
4764 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4766 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4769 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4771 * lyxfind.C (searchForward, searchBackwards): bug 782
4773 2003-04-07 John Levon <levon@movementarian.org>
4775 * paragraph.C: remove dead comment
4777 * text.C: remove troublesome depth-fiddling code
4778 in leftMargin() and rightMargin() (bug 1017)
4780 * text.C: fix breaking of rows in nested lists
4783 * text2.C (updateCounters): fix up depth values
4786 2003-04-07 John Levon <levon@movementarian.org>
4788 * BufferView_pimpl.C: clear message when doc finishes resizing,
4789 and after a mouse event
4791 * lyxfunc.C: clear message after exiting inset
4793 2003-04-07 John Levon <levon@movementarian.org>
4795 * bufferview_funcs.C: show math status not outside
4796 status in the statusbar
4798 2003-04-07 John Levon <levon@movementarian.org>
4800 * lyxfunc.C: note status changed after a depth change
4802 2003-04-04 Angus Leeming <leeming@lyx.org>
4804 * LaTeX.h: move AuxInfo operator==, != out of line.
4805 Remove LaTeX virtual destructor; nothing derives from it.
4806 Move operator()() out of public area and rename it startscript().
4807 Change protected for private.
4809 2003-04-04 Angus Leeming <leeming@lyx.org>
4812 * text2.C: remove unneeded #includes.
4814 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4816 * text2.C (dEPM): fix the heigth of the next row
4818 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4820 * text.C: squashed an invalid getChar requester + some ws changes
4822 2003-04-03 John Levon <levon@movementarian.org>
4824 * bufferview_funcs.h:
4825 * bufferview_funcs.C:
4828 * text2.C: make getStatus work for the env depth lfuns
4830 2003-04-03 John Levon <levon@movementarian.org>
4832 * bufferview_funcs.h:
4833 * bufferview_funcs.C:
4836 * text2.C: parlistize decDepth(), by merging it with incDepth()
4838 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * lyxrow.h: store a ParagraphList::iterator instead of a
4841 Paragraph* and adjust other class functions to suit.
4843 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4846 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4848 * text2.C (setCursor): do not anchor to cursor row for the time being
4850 2003-04-02 John Levon <levon@movementarian.org>
4857 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4859 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4861 * paragraph.h: make ParagraphList and ParagraphList::iterator
4862 friends of Paragraph.
4864 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4866 * ParagraphList.C: Use the private next_ and previous_ from
4869 2003-04-01 John Levon <levon@movementarian.org>
4873 * Makefile.am: rename, remove defaults gunk
4876 * MenuBackend.C: remove defaults gunk
4879 * Languages.C: remove defaults gunk
4882 * lyx_main.C: error out if files couldn't be found.
4884 2003-04-02 John Levon <levon@movementarian.org>
4886 * text2.C: make incDepth() use parlist
4888 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * undo_funcs.C (firstUndoParagraph): adjust
4892 * text3.C (gotoInset): adjust
4893 (dispatch): adjust, and rewrite loop.
4895 * text2.C (init): adjust, and rewrite loop.
4896 (redoParagraphs): adjust
4897 (updateInset): adjust, and rewrite loop.
4898 (deleteEmptyParagraphMechanism): adjust
4900 * tabular.C (LyXTabular): adjust
4901 (SetMultiColumn): adjust
4904 * lyxtext.[Ch] (ownerParagraph): delete function
4905 (ownerParagraphs): new function returns a ParagraphList.
4907 * BufferView.C (removeAutoInsets): adjust
4908 (insertErrors): adjust
4909 (setCursorFromRow): adjust
4911 2003-04-01 Angus Leeming <leeming@lyx.org>
4913 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4916 2003-04-02 John Levon <levon@movementarian.org>
4922 * text_funcs.C: make transposeChars a free function
4924 * lyxrow_funcs.C: remove wrong comment
4926 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * rowpainter.C: adjust
4934 * lyxrow_funcs. [Ch]: new files
4936 * lyxrow.[Ch]: remove next and previous pointers
4937 (next,previous): remove accessor functions
4938 (isParEnd): move to lyxrow_funcs
4939 (lastPos): move to lyxrow_funcs
4940 (nextRowIsAllInset): move to lyxrow_funcs
4941 (lastPrintablePos): move to lyxrow_funcs
4942 (numberOfSeparators): move to lyxrow_funcs
4943 (numberOfHfills): move to lyxrow_funcs
4944 (numberOfLabelHfills): move to lyxrow_funcs
4945 (hfillExpansion): move to lyxrow_funcs
4949 * bufferview_funcs.C (toggleAndShow): adjust
4951 * RowList.h: Remove class RowList from file leave just a
4954 * RowList.C: delete file
4956 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4959 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * text3.C (cursorPrevious): adjust
4962 (cursorNext): adjust
4965 * text2.C (redoHeightOfParagraph): adjust
4966 (redoDrawingOfParagraph): adjust
4969 * text.C (breakParagraph): adjust
4970 (insertChar): adjust
4973 * rowpainter.C (RowPainter): adjust
4974 (leftMargin): simplify and adjust
4975 (most rowpainter functions): adjust.
4977 * rowpainter.h: store the row as RowList::iterator not as Row*
4979 * lyxcursor.C (row): taka RowList::iterator as arg
4982 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4985 2003-04-01 Angus Leeming <leeming@lyx.org>
4987 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4988 stuff like bool Bool.
4990 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4992 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4995 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5000 * lyxtext.h (rows): drop one version and leve a const variant that
5001 returns a RowList::iterator.
5003 2003-03-31 Angus Leeming <leeming@lyx.org>
5005 * text.C (fill): ensure that the signature is the same as that in the
5008 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * text2.C (redoParagraphs): adjust
5011 (updateCounters): adjust
5012 (checkParagraph): adjust
5013 (getColumnNearX): adjust and reformat a bit.
5015 * text.C (top_y): adjust
5017 (leftMargin): adjust
5018 (prepareToPrint): adjust
5020 (getRowNearY): adjust
5022 * lyxtext.h: make rowlist_ mutable.
5024 * RowList.h: add const_iterator
5025 * RowList.C: adjust for RowList::const_iterator.
5027 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5030 2003-03-31 John Levon <levon@movementarian.org>
5033 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5035 * lyx_main.C: set default fonts from using lyx_gui funcs
5037 * exporter.C: pdf_mode moved from lyxrc
5040 * lyxfunc.C: changes from above
5042 2003-03-31 John Levon <levon@movementarian.org>
5044 * lyx_main.C: fix to the last fix
5046 2003-03-31 John Levon <levon@movementarian.org>
5048 * bufferlist.C: "Load original" -> "Load Original"
5054 * format.C: more Alert cleanups
5056 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * text2.C (removeParagraph): make it take a RowList::iterator as
5060 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5061 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5063 * text.C (anchor_row): make it take a RowList::iterator as arg,
5065 (computeBidiTables): make it take a const reference to Row instead
5066 of Row pointer, adjust.
5067 (leftMargin): make it take a RowList::iterator as arg, adjust.
5068 (rowBreakPoint): adjust
5069 (breakAgainOneRow): make it take a RowList::iterator as arg,
5071 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5073 * bufferview_funcs.C (toggleAndShow): adjust
5075 2003-03-30 John Levon <levon@movementarian.org>
5079 * boost-inst.C: moved to support
5081 * several files: changes as a result
5083 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * text2.C (LyXText): adjust.
5087 (removeRow): make it take a RowList::iterator as arg, adjust.
5088 (fullRebreak): adjust
5089 (deleteEmptyParagraphMechanism): adjust
5090 (clearPaint): adjust
5093 * text.C (top_y): adjust
5094 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5095 (breakAgain): make it take a RowList::iterator as arg, adjust.
5096 (breakParagraph): adjust
5097 (insertChar): adjust
5100 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5101 need_break_row, and refresh_row.
5103 * text3.C (dispatch): adjust
5105 * text2.C (checkParagraph): adjust
5107 (setCursorFromCoordinates): adjust
5109 * text.C (top_y): adjust
5111 (getRow): make it return a RowList::iterator, adjust
5112 (getRowNearY): make it return a RowList::iterator, adjust
5114 * text2.C (init): adjust
5115 (insertRow): remove function
5116 (insertParagraph): adjust
5117 (redoParagraphs): adjust
5118 (fullRebreak): adjust
5119 (updateCounters): adjust
5121 * text.C (top_y): rewrite to use RowList iterators.
5123 (setHeightOfRow): rewrite to sue RowList iterators.
5124 (appendParagraph): adjust
5125 (breakAgain): adjust
5126 (breakAgainOneRow): adjust
5127 (breakParagraph): adjust
5129 (getRowNearY): adjust, and remove commented code.
5131 * lyxtext.h (firstRow): delete function
5132 (lastRow): delete function
5133 (rows): new function (const and non-const versions.)
5134 (insertRow): delete function
5136 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5138 2003-03-29 John Levon <levon@movementarian.org>
5140 * BufferView_pimpl.C: always update scrollbar top
5141 because pasting text when we're anchored could mean we
5142 miss an update altogether
5144 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5146 * text2.C (init): use rowlist_.end() and not 0.
5147 (insertRow): change to take a RowList::iterator as arg, adjust
5149 (insertParagraph): change to take a RowList::iterator as arg,
5151 (redoParagraphs): remove some debug msgs.
5153 * text.C (appendParagraph): change to take a RowList::iterator
5154 arg, adjust for this.
5155 (breakAgain): add an assert
5156 (breakAgainOneRow): ditto
5158 2003-03-29 John Levon <levon@movementarian.org>
5160 * text2.C: do not clear selection after inc/decDepth
5163 2003-03-29 John Levon <levon@movementarian.org>
5166 * buffer.C: fix broken strerrors according to Lars
5168 2003-03-29 John Levon <levon@movementarian.org>
5170 * converters.C: more Alert cleanups
5172 2003-03-29 John Levon <levon@movementarian.org>
5174 * bufferview_funcs.C: remove pointless Alert
5176 * buffer.C: fix confusing error message when
5177 a template is chmoded 000
5179 2003-03-29 John Levon <levon@movementarian.org>
5183 * BufferView_pimpl.C: Alert fixes
5187 * tabular-old.C: remove unused table compat reading
5189 2003-03-29 John Levon <levon@movementarian.org>
5194 * lyx_cb.C: more Alert cleanups
5196 * lyxfunc.C: don't allow chktex if not latex document
5198 2003-03-29 John Levon <levon@movementarian.org>
5202 * buffer.C: warnings pushed down from support/,
5205 2003-03-29 John Levon <levon@movementarian.org>
5207 * lyxfunc.C: safety check for C-r (revert)
5209 2003-03-29 John Levon <levon@movementarian.org>
5212 * bufferlist.C: several UI fixes using Alert::prompt.
5213 Fix the pointless looping quit code. Fix stupid revert
5218 * lyx_cb.C: use Alert::prompt
5220 * lyx_main.C: remove a silly question
5222 * lyxfunc.C: remove a couple of silly questions,
5225 2003-03-28 John Levon <levon@movementarian.org>
5227 * text2.C: fix bug 974 (End on empty par)
5229 2003-03-28 John Levon <levon@movementarian.org>
5231 * BufferView_pimpl.C:
5233 * lfuns.h: remove do-nothing math greek lfuns
5235 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * lyxgluelength.h (isValidGlueLength): add default arg on
5238 parameter 2. Remove default arg from friend in class.
5240 * lyxlength.h (isValidLength): add default arg on parameter 2.
5241 Remove default arg from friend in class.
5243 * text2.C (LyXText): adjust, initialize refresh_row.
5247 (insertParagraph): adjst
5248 (redoParagraphs): adjust
5249 (fullRebreak): adjust
5250 (updateCounters): adjust
5251 (deleteEmptyParagraphMechanism): first attempt at fixing a
5254 * text.C (top_y): adjust
5255 (setHeightOfRow): adjust
5257 (getRowNearY): adjust
5259 * lyxtext.h: include RowList.h
5260 (~LyXText): not needed anymore, deleted.
5261 (firstRow): modify for RowList
5262 (lastRow): new function
5263 Delete firstrow and lastrow class variables, add a Rowlist
5264 rowlist_ class variable.
5266 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5269 * RowList.C (insert): fix case where it == begin().
5271 2003-03-26 Angus Leeming <leeming@lyx.org>
5273 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5274 the thesaurus dialog.
5276 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5280 * RowList.[Ch]: new files
5282 * ParagraphList.C (erase): handle the case where it == begin
5285 2003-03-25 John Levon <levon@movementarian.org>
5289 * aspell.C: add new aspell support
5292 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5295 2003-03-25 Angus Leeming <leeming@lyx.org>
5298 * LyXAction.C (init): new LFUN_INSET_INSERT.
5300 * BufferView_pimpl.C (dispatch): split out part of the
5301 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5303 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5306 2003-03-25 Angus Leeming <leeming@lyx.org>
5308 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5310 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5313 * text3.C: remove useless row->height(0)
5315 2003-03-25 John Levon <levon@movementarian.org>
5319 * text3.C: rename the refreshing stuff to better names
5321 2003-03-24 John Levon <levon@movementarian.org>
5323 * BufferView_pimpl.h:
5324 * BufferView_pimpl.C: update layout choice on a mouse
5327 2003-03-23 John Levon <levon@movementarian.org>
5329 * Makefile.am: fix commandtags.h reference
5331 2003-03-22 John Levon <levon@movementarian.org>
5333 * BufferView_pimpl.C:
5338 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5340 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5343 * text.C: take the rtl methods out of line
5345 2003-03-21 André Pönitz <poenitz@gmx.net>
5347 * metricsinfo.[Ch]: new files containing structures to be passed around
5348 during the two-phase-drawing...
5350 2003-03-21 André Pönitz <poenitz@gmx.net>
5352 * lyxtextclass.C: read 'environment' tag.
5354 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5356 * text2.C (removeRow): fix bug 964
5358 2003-03-20 John Levon <levon@movementarian.org>
5362 * text2.C: paint cleanups. Inset::update() dropped font
5365 2003-03-19 John Levon <levon@movementarian.org>
5367 * lyxfunc.C: only fitcursor/markDirty if available()
5369 2003-03-19 John Levon <levon@movementarian.org>
5371 * commandtags.h: rename to ...
5373 * lfuns.h: ... this, and renumber / cleanup
5375 2003-03-19 John Levon <levon@movementarian.org>
5377 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5378 fit the cursor after an lfun
5382 * BufferView_pimpl.h:
5383 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5385 * LyXAction.C: layout-character should have ReadOnly
5387 * ParagraphParameters.C:
5389 * bufferview_funcs.C:
5396 * undo_funcs.C: changes from above
5398 2003-03-18 John Levon <levon@movementarian.org>
5400 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5401 remove it from update()
5403 * lyxfunc.C: update layout choice after an lfun
5405 * text3.C: remove extra updateLayoutChoice()s
5407 2003-03-18 John Levon <levon@movementarian.org>
5409 * text.C: top_y change means full repaint, fix
5410 a drawing bug with cursor movement
5412 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5416 * text2.C: anchor row on setCursor
5418 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5420 * lyxtext.h: remove almost all mutable keywords
5423 * text3.C: remove const keywords accordingly
5425 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5429 (TeXEnvironment): ditto
5432 2003-03-17 John Levon <levon@movementarian.org>
5434 * text.C (rowBreakPoint): remove attempt to fix displayed
5435 math insets inside a manual label
5437 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * lyxtext.h: remove BufferView* as first arg from almost all class
5441 * other files: adjust.
5443 2003-03-17 John Levon <levon@movementarian.org>
5447 * text2.C: more paint cleanups
5449 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5452 * rowpainter.C: remove "smart" background painting code
5454 2003-03-16 John Levon <levon@movementarian.org>
5459 * text3.C: add helper functions for setting refresh_row/y
5461 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5463 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5464 newline inset which *can* get inserted in the pass_thru layouts.
5465 This is primarily for literate documents.
5467 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5469 * buffer.C: increment LYX_FORMAT to 223
5471 2003-03-14 André Pönitz <poenitz@gmx.net>
5473 * textclass.h: prepare for environment handling, ws changes
5474 * lyxlayout.C: read latexheader and latexfooter tags
5476 2003-03-14 John Levon <levon@movementarian.org>
5478 * text2.C: rewrite ::status() a bit
5480 2003-03-13 John Levon <levon@movementarian.org>
5482 * lyxtext.h: add some docs
5484 2003-03-13 John Levon <levon@movementarian.org>
5489 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5491 2003-03-13 John Levon <levon@movementarian.org>
5493 * text3.C: fix appendix redrawing
5495 2003-03-13 John Levon <levon@movementarian.org>
5497 * text.C (setHeightOfRow):
5499 * rowpainter.C: make appendix mark have the text
5500 "Appendix" so the user knows what it is
5503 * LColor.C: s/appendixline/appendix/ from above
5505 2003-03-13 John Levon <levon@movementarian.org>
5507 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5509 * text.C: fix a getChar(pos) bug properly
5511 2003-03-13 Angus Leeming <leeming@lyx.org>
5514 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5515 Probably only temporary. Let's see how things pan out.
5517 * BufferView.C (unlockInset):
5518 * BufferView_pimpl.C (fitCursor):
5519 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5521 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5522 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5524 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5525 new functions that convert ParagraphParameters to and from a string.
5527 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5528 BufferView::Pimpl's dispatch.
5529 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5531 2003-03-13 André Pönitz <poenitz@gmx.net>
5535 * factory.C: make it aware of InsetEnv
5537 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * text2.C (setCursor): never ask for one past last
5540 (setCursor): add some debugging messages.
5542 * text.C (singleWidth): never ask for one past last
5543 (singleWidth): ditto
5545 (rightMargin): ditto
5546 (rowBreakPoint): ditto
5547 (setHeightOfRow): ditto
5548 (prepareToPrint): ditto
5550 * rowpainter.C (paintBackground): never ask for one past last
5551 (paintText): never ask for one past last
5553 * paragraph_pimpl.C (getChar): make the assert stricter, never
5554 allow the one past last pos to be taken
5556 * paragraph.C (getChar): ws changes only
5558 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5559 (numberOfSeparators): ditto
5560 (numberOfHfills): ditto
5562 2003-03-12 John Levon <levon@movementarian.org>
5568 * paragraph_funcs.C: fix per-buffer authorlists
5570 2003-03-12 John Levon <levon@movementarian.org>
5572 * text.C: fix newline in right address
5574 2003-03-12 Angus Leeming <leeming@lyx.org>
5576 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5577 duplicate those in LyXFunc::dispatch.
5581 * ToolbarDefaults.C:
5582 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5583 Add LFUN_FONTFREE_UPDATE.
5585 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5586 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5588 * bufferview_func.[Ch]: several new functions to facilliate
5589 transfer of data to and from the character dialog.
5591 2003-03-12 John Levon <levon@movementarian.org>
5596 * paragraph_funcs.C:
5597 * paragraph_pimpl.C:
5601 * text3.C: remove META_NEWLINE in favour of an inset
5604 * rowpainter.C: remove paintNewline (done by inset)
5606 2003-03-12 John Levon <levon@movementarian.org>
5608 * paragraph_pimpl.C: complain about bad getChar()s
5609 for a while at least
5611 2003-03-12 John Levon <levon@movementarian.org>
5614 * buffer.C: move paragraph read into a separate function,
5615 a little renaming to reflect that.
5618 * bufferparams.C: remove the author_ids map, not necessary now
5621 * factory.C: moved Buffer::readInset to here
5623 * paragraph_funcs.h:
5624 * paragraph_funcs.C: readParagraph free function moved from
5627 * tabular.C: name change
5629 2003-03-12 John Levon <levon@movementarian.org>
5632 * ParagraphParameters.C: move par params input to
5635 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5636 behave like a normal read from the stream wrt reading
5637 a line vs. a \\token
5639 2003-03-12 John Levon <levon@movementarian.org>
5642 * ParagraphParameters.h:
5643 * ParagraphParameters.C: move output code to a
5646 2003-03-12 John Levon <levon@movementarian.org>
5648 * BufferView.C (insertLyXFile):
5651 * tabular.C: use a parlist iterator for creating the
5654 2003-03-12 John Levon <levon@movementarian.org>
5656 * buffer.C: make current_change static local not
5659 2003-03-12 John Levon <levon@movementarian.org>
5661 * buffer.C: fix insertStringAsLines for change tracking
5663 2003-03-12 John Levon <levon@movementarian.org>
5670 * bufferparams.C: move author list into params. Rename some
5671 functions. Move the header reading into a separate token
5672 loop. Move the header token reading into BufferParams.
5674 2003-03-12 John Levon <levon@movementarian.org>
5676 * changes.C: put debug inside lyxerr.debugging() checks
5678 2003-03-11 André Pönitz <poenitz@gmx.net>
5680 * factory.C: make it aware of InsetHFill
5682 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5684 * buffer.C (latexParagraphs): move function from here...
5685 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5688 2003-03-10 Angus Leeming <leeming@lyx.org>
5690 * LyXAction.C (init): fix bug in poplating array with multiple entries
5691 with the same LFUN (spotted by JMarc).
5693 2003-03-10 John Levon <levon@movementarian.org>
5696 * text2.C: move getColumnNearX() near its
5699 2003-03-10 John Levon <levon@movementarian.org>
5701 * text.C: fix break before a minipage
5703 2003-03-10 John Levon <levon@movementarian.org>
5705 * text.C: fix the last commit
5707 2003-03-09 John Levon <levon@movementarian.org>
5711 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5712 bug 365 (don't break before insets unless needed). Don't
5713 return a value > last under any circumstances.
5715 2003-03-09 Angus Leeming <leeming@lyx.org>
5717 * BufferView_pimpl.C (trackChanges, dispatch): call
5718 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5720 2003-03-09 Angus Leeming <leeming@lyx.org>
5722 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5723 than Dialogs::showAboutlyx().
5725 2003-03-09 Angus Leeming <leeming@lyx.org>
5727 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5728 than Dialogs::showTabularCreate().
5730 2003-03-09 John Levon <levon@movementarian.org>
5734 * text2.C: 3rd arg to nextBreakPoint was always the same.
5737 2003-03-08 John Levon <levon@movementarian.org>
5744 * text2.C: Remove the "main" bit from the "main body"
5747 2003-03-08 John Levon <levon@movementarian.org>
5749 * text.C (leftMargin): The left margin of an empty
5750 manual label paragraph should not include the label width
5753 * text.C (prepareToPrint): don't attempt to measure hfills
5754 for empty manual label paragraphs - the answer should be 0
5756 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * CutAndPaste.C: remove commented code and reindent.
5760 2003-03-08 John Levon <levon@movementarian.org>
5763 * lyxfunc.C: move reloadBuffer()
5766 * BufferView.C: to here
5768 * lyxvc.C: add comment
5771 * vc-backend.C: call bv->reload() to avoid
5772 getStatus() check on MENURELOAD
5774 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5776 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5777 to an old format .dep file.
5779 2003-03-07 Angus Leeming <leeming@lyx.org>
5781 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5782 when the LFUN_MOUSE_RELEASE should have been handled by
5783 inset->localDispatch.
5785 2003-03-07 Angus Leeming <leeming@lyx.org>
5787 * BufferView_pimpl.C (dispatch):
5788 * LyXAction.C (init):
5789 * ToolbarDefaults.C (init):
5791 * lyxfunc.C (getStatus):
5792 remove LFUN_INSET_GRAPHICS.
5794 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5796 2003-03-07 Angus Leeming <leeming@lyx.org>
5799 * LyXAction.C (init):
5800 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5802 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5805 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5807 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5808 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5810 2003-03-07 Angus Leeming <leeming@lyx.org>
5812 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5815 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * ParagraphList.C (front): new function
5820 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5822 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5823 and top_row_offset_. removed var first_y.
5825 * text2.C (LyXText, removeRow):
5827 * BufferView_pimpl.C:
5828 use these methods instead of using first_y
5830 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * text2.C (pasteSelection): adjust for checkPastePossible
5834 * CutAndPaste.C: remove Paragraph * buf and replace with
5835 ParagraphList paragraphs.
5836 (DeleteBuffer): delete
5837 (cutSelection): change the tc type to textclass_type
5838 (copySelection): change the tc type to textclass_type
5839 (copySelection): adjust for ParagraphList
5840 (pasteSelection): change the tc type to textclass_type
5841 (pasteSelection): adjust for Paragraphlist
5842 (nrOfParagraphs): simplify for ParagraphList
5843 (checkPastePossible): simplify for ParagraphList
5844 (checkPastePossible): remove unused arg
5846 * ParagraphList.C (insert): handle the case where there are no
5849 * CutAndPaste.h: make CutAndPaste a namespace.
5851 * text3.C (dispatch): adjust
5853 * text.C (breakParagraph): add a ParagraphList as arg
5855 * paragraph_funcs.C (breakParagraph): change to take a
5856 BufferParams and a ParagraphList as args.
5857 (breakParagraphConservative): ditto
5858 (mergeParagraph): ditto
5859 (TeXDeeper): add a ParagraphList arg
5860 (TeXEnvironment): ditto
5863 * buffer.C (readLyXformat2): adjust
5864 (insertStringAsLines): adjust
5865 (latexParagraphs): adjust
5867 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5868 (cutSelection): adjust
5869 (pasteSelection): adjust
5871 * BufferView_pimpl.C (insertInset): adjust
5873 2003-03-05 Angus Leeming <leeming@lyx.org>
5876 * LyXAction.C (init):
5877 * BufferView_pimpl.C (dispatch):
5878 * lyxfunc.C (getStatus):
5879 remove LFUN_CHILD_INSERT.
5881 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5883 2003-03-05 Angus Leeming <leeming@lyx.org>
5886 * LyXAction.C (init):
5887 * src/factory.C (createInset):
5888 * lyxfunc.C (getStatus):
5889 * text3.C (dispatch):
5890 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5892 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5894 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * ParagraphList.C (insert): handle insert right before end()
5897 (erase): fix cases where it can be first or last paragraph.
5899 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5902 Paragraph::next and Paragraph::previous
5905 * text.C (breakParagraph): adjust
5907 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5908 BufferParams& as arg.
5909 (breakParagraph): use ParagraphList::insert
5910 (breakParagraphConservative): take a Buffer* instead of a
5911 BufferParams& as arg.
5912 (breakParagraphConservative): use ParagraphList::insert.
5914 * buffer.C (insertStringAsLines): un-const it
5915 (insertStringAsLines): adjust
5917 * ParagraphList.C (insert): new function
5919 * CutAndPaste.C (pasteSelection): adjust
5921 * text.C (backspace): adjust
5923 * tabular.C (SetMultiColumn): adjust
5925 * CutAndPaste.C (cutSelection): adjust
5926 (pasteSelection): adjust
5928 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5929 Buffer const * as arg
5931 * ParagraphList.C (erase): new function
5932 * paragraph_funcs.C (mergeParagraph): use it
5933 (mergeParagraph): make it take a Buffer* instead of a
5934 BufferParams* as arg
5936 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5938 (breakParagraphConservative): ditto
5940 * paragraph.h: remove the breakParagraph friend
5942 * paragraph.C (eraseIntern): new function
5943 (setChange): new function
5945 * paragraph_funcs.C (mergeParagraph): make it take a
5946 ParagraphList::iterator instead of a Paragraph *, adjust
5949 * paragraph.h: move an #endif so that the change tracking stuff
5950 also works in the NO_NEXT case.
5952 2003-03-04 Angus Leeming <leeming@lyx.org>
5955 * LyXAction.C: new LFUN_INSET_MODIFY.
5957 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5958 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5960 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5962 * several files: ws changes only
5964 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5965 (TeXEnvironment): ditto
5968 * buffer.C (makeLaTeXFile): adjust
5969 (latexParagraphs): make it take ParagraphList::iterator as args
5971 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * buffer.C (latexParagraphs): adjust
5975 * paragraph.C (TeXOnePar): move function...
5976 (optArgInset): move function...
5977 (TeXEnvironment): move function...
5978 * paragraph_pimpl.C (TeXDeeper): move function...
5979 * paragraph_funcs.C: ...here
5981 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5983 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * buffer.C (readInset): remove compability code for old Figure and
5988 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * buffer.C: ws changes
5993 * BufferView_pimpl.C: ditto
5996 * bufferlist.h: ditto
6000 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6002 * converter.[Ch]: split into itself +
6005 * Makefile.am: += graph.[Ch] + format.[Ch]
6012 * lyxrc.C: added #include "format.h"
6014 2003-02-27 Angus Leeming <leeming@lyx.org>
6016 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6019 * factory.C (createInset): add "label" to the factory.
6021 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6022 string and do no more.
6024 2003-02-27 Angus Leeming <leeming@lyx.org>
6027 * LyXAction.C (init):
6028 * factory.C (createInset):
6029 * BufferView_pimpl.C (dispatch):
6030 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6032 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6034 * lyxfunc.C (dispatch):
6035 * text3.C (dispatch): pass name to params2string.
6037 2003-02-26 Angus Leeming <leeming@lyx.org>
6039 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6041 Rearrange the ~includes. Strip out the unnecessary ones.
6043 * factory.C (createInset): reformat.
6044 create new insets for the various LFUN_XYZ_APPLY lfuns.
6046 2003-02-26 John Levon <levon@movementarian.org>
6049 * lyxrow.C: add isParStart,isParEnd helpers
6051 * paragraph.h: make isInserted/DeletedText take refs
6053 * paragraph_funcs.h:
6054 * paragraph_funcs.C: remove #if 0'd code
6059 * text.C: use lyxrow helpers above.
6060 Move draw and paint routines to RowPainter.
6061 Make several methods use refs not pointers.
6062 Make backgroundColor() const.
6063 Add markChangeInDraw(), isInInset().
6064 Merge changeRegionCase into changeCase.
6065 Make workWidth() shouldn't-happen code into an Assert.
6068 * rowpainter.C: new class for painting a row.
6071 * vspace.C: make inPixels take a ref
6073 2003-02-26 Angus Leeming <leeming@lyx.org>
6075 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6078 2003-02-25 John Levon <levon@movementarian.org>
6080 * ispell.C: give the forked command a more accurate name
6082 2003-02-22 John Levon <levon@movementarian.org>
6085 * toc.C: make TocItem store an id not a Paragraph *
6088 2003-02-21 Angus Leeming <leeming@lyx.org>
6090 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6091 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6092 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6093 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6094 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6095 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6097 * BufferView_pimpl.C (dispatch):
6098 * LyXAction.C (init):
6099 * factory.C (createInset):
6100 * lyxfunc.C (getStatus, dispatch):
6101 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6103 2003-02-21 Angus Leeming <leeming@lyx.org>
6105 * BufferView_pimpl.C (MenuInsertLyXFile):
6106 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6107 * lyxfunc.C (menuNew, open, doImport):
6108 no longer pass a LyXView & to fileDlg.
6110 2003-02-21 Angus Leeming <leeming@lyx.org>
6112 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6113 * LyXAction.C: change, BIBKEY to BIBITEM.
6114 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6115 Change InsetBibKey to InsetBibitem.
6116 Change BIBKEY_CODE to BIBITEM_CODE.
6117 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6118 * factory.C: replace insetbib.h with insetbibitem.h.
6119 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6120 * paragraph.C: replace insetbib.h with insetbibitem.h.
6121 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6122 Change bibkey() to bibitem().
6123 * text.C: remove insetbib.h.
6124 * text2.C: replace insetbib.h with insetbibitem.h.
6125 change bibkey() to bibitem().
6126 * text3.C: remove insetbib.h.
6127 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6129 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6131 * lyxrc.C (output): enclose user email in quotes (in case there are
6134 2003-02-18 John Levon <levon@movementarian.org>
6136 * buffer.h: add std::
6138 2003-02-17 John Levon <levon@movementarian.org>
6144 * pspell.C: reworking. Especially in ispell, a large
6145 number of clean ups and bug fixes.
6147 * lyxfunc.C: fix revert to behave sensibly
6149 2003-02-17 André Pönitz <poenitz@gmx.net>
6152 * commandtags.h: new LFUN_INSERT_BIBKEY
6162 * paragraph_func.C: remove special bibkey handling
6164 2003-02-17 John Levon <levon@movementarian.org>
6166 * text.C (Delete): fix case where delete at the end of
6167 the very first paragraph would not merge the pars
6169 2003-02-17 John Levon <levon@movementarian.org>
6171 * lyxrow.C: fix lastPrintablePos()
6173 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6175 * bufferparams.C (writeLaTeX): add a std:here
6177 * buffer.C: and remove a using directive there
6179 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6181 * buffer.C (makeLaTeXFile): move the code that generates the
6184 * bufferparams.C (writeLaTeX): ... in this new method
6186 * LaTeXFeatures.C (getEncodingSet): make const
6187 (getLanguages): make const
6189 * MenuBackend.C (binding): returns the binding associated to this
6191 (add): sets the status of each item by calling getStatus. Adds
6193 (read): add support for OptSubMenu
6194 (expand): remove extra separator at the end of expanded menu
6196 2003-02-15 John Levon <levon@movementarian.org>
6199 * BufferView_pimpl.C:
6201 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6202 inset code that had no actual effect. Remove unneeded status
6205 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6207 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6210 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6212 * text.C (drawLengthMarker): also draw an arrow marker for
6213 symbolic lengths (medskip...)
6215 2003-02-14 John Levon <levon@movementarian.org>
6218 * tabular.C: better method names
6220 2003-02-14 John Levon <levon@movementarian.org>
6222 * BufferView_pimpl.C:
6227 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6228 it's a more accurate name. Remove some pointless uses.
6230 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6232 * text2.C (LyXText): change order of initilizers to shut off
6235 2003-02-14 John Levon <levon@movementarian.org>
6237 * buffer.C: use ParIterator for getParFromID()
6241 * paragraph_pimpl.h:
6242 * paragraph_pimpl.C: remove unused getParFromID()
6244 2003-02-14 John Levon <levon@movementarian.org>
6246 * buffer.C: remove some very old #if 0'd parse code
6248 2003-02-13 John Levon <levon@movementarian.org>
6252 * text2.C: move hfillExpansion(), numberOfSeparators(),
6253 rowLast(), rowLastPrintable(), numberofHfills(),
6254 numberOfLabelHfills() ...
6257 * lyxrow.C: ... to member functions here.
6262 * text.C: remove LyXText::beginningOfMainBody(), and call
6263 p->beginningOfMainBody() directly. Move the check for
6264 LABEL_MANUAL into the latter.
6271 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6277 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6278 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6280 2003-02-13 John Levon <levon@movementarian.org>
6282 * CutAndPaste.C: remove debug
6284 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6286 * paragraph.C (asString): remove two unused variables
6288 * lyxtextclass.C (readTitleType):
6290 (LyXTextClass): handle new members titletype_ and titlename_
6292 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6294 2003-02-09 John Levon <levon@movementarian.org>
6297 * buffer.C: replace hand-coded list with a map for the dep clean
6299 2003-02-08 John Levon <levon@movementarian.org>
6301 * LaTeX.C: consolidate code into showRunMessage() helper
6303 2003-02-08 John Levon <levon@movementarian.org>
6308 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6309 and pass the size in explicitly
6311 * BufferView_pimpl.h:
6312 * BufferView_pimpl.C:
6314 * BufferView.C: add getCurrentChange()
6316 * BufferView_pimpl.h:
6317 * BufferView_pimpl.C: handle change lfuns
6319 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6320 for changes. Mark pasted paragraphs as new.
6322 * support/lyxtime.h:
6323 * support/lyxtime.C:
6324 * DepTable.C: abstract time_t as lyx::time_type
6327 * LColor.C: add colours for new text, deleted text, changebars
6329 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6330 package use "usenames" option.
6334 * LyXAction.C: add change lfuns
6338 * author.C: author handling
6341 * buffer.C: add a per-buffer author list, with first entry as
6342 current author. Handle new .lyx tokens for change tracking. Output
6343 author list to .lyx file. Output dvipost stuff to .tex preamble.
6344 Bump lyx format to 222.
6347 * bufferlist.C: add setCurrentAuthor() to reset current author details
6351 * bufferparams.C: add param for tracking
6353 * bufferview_funcs.C: output change info in minibuffer
6357 * changes.C: add change-tracking structure
6360 * debug.C: add CHANGES debug flag
6363 * lyxfind.C: add code for finding the next change piece
6366 * lyxrc.C: add user_name and user_email
6369 * lyxrow.C: add a metric for the top of the text line
6372 * text.C: implement accept/rejectChange()
6375 * text.C: paint changebars. Paint new/deleted text in the chosen
6376 colours. Strike through deleted text.
6380 * paragraph_pimpl.h:
6381 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6382 in the current change to the insert functions. Rework erase to
6383 mark text as deleted, adding an eraseIntern() and a range-based
6384 erase(). Implement per-paragraph change lookup and
6387 * paragraph_funcs.C: Fixup paste for change tracking.
6389 * tabular.C: mark added row/columns as new.
6391 * text.C: fix rowLast() to never return -1. Don't allow
6392 spellchecking of deleted text. Track transpose changes. Don't
6393 allow paragraph break or merge where appropriate.
6395 * text2.C: leave cursor at end of selection after a cut.
6397 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6399 * text.C (getLengthMarkerHeight):
6400 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6401 visible on screen too.
6403 2003-02-07 John Levon <levon@movementarian.org>
6405 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6407 2003-02-05 Angus Leeming <leeming@lyx.org>
6409 * lyxserver.C (read_ready): revert my patch of 11 September last year
6410 as it sends PC cpu through the roof. Presumably this means that
6411 the lyxserver will no longer run on an Alpha...
6413 2003-01-30 Angus Leeming <leeming@lyx.org>
6415 * factory.C (createInset): create an InsetCommandParam of type "index"
6416 and use it to 'do the right thing'.
6418 * text2.C (getStringToIndex): ensure that cursor position is always
6419 reset to the reset_cursor position.
6421 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6423 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6426 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6430 * lyxfunc.C: Output messages with identical spelling, punctuation,
6433 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6435 * MenuBackend.C (expandFormats): List only viewable export formats
6438 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6441 * lyxfunc.C (getStatus): Make sure that formats other than
6442 "fax" can also be disabled
6444 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6446 * text3.C (dispatch): put the lfuns that insert insets in 3
6447 groups, and call doInsertInset with appropriate arguments.
6448 (doInsertInset): new function, that creates an inset and inserts
6449 it according to some boolean parameters.
6451 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6453 * buffer.C (readFile): remember to pass on 'par' when calling
6454 readFile recursively.
6456 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6458 * MenuBackend.C (expandFormats): add "..." to import formats.
6460 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6462 * paragraph.C (asString): Remove XForms RTL hacks.
6464 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6465 * buffer.C: fix typo
6467 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * Makefile.am (LIBS): delete var
6470 (lyx_LDADD): add @LIBS@ here instead.
6472 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6474 * Clarify the meaning of "wheel mouse jump"
6476 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6478 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6481 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6483 * importer.C (Loaders): do not preallocate 3 elements in the
6484 vector, since one ends up with 6 elements otherwise
6486 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6488 * DepTable.C (write): write the file name as last element of the
6489 .dep file (because it may contain spaces)
6490 (read): read info in the right order
6492 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6494 * paragraph_pimpl.C (simpleTeXBlanks):
6495 (simpleTeXSpecialChars):
6496 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6498 * tabular.C (latex): add some missing case statements. Reindent.
6500 * MenuBackend.C (expandToc): remove unused variable.
6502 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6511 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6514 2003-01-05 John Levon <levon@movementarian.org>
6517 * BufferView.C: add getEncoding()
6520 * kbsequence.C: do not store last keypress
6523 * lyxfunc.C: store last keypress here instead. Pass encoding
6526 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6528 * lyx_main.C (init): remove annoying error message when following
6529 symbolic links (bug #780)
6531 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6533 * text.C (insertChar):
6534 * lyxrc.C (getDescription): remove extra spaces
6536 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6538 * lyxrc.C (getDescription): remove extra spaces
6540 2002-12-20 John Levon <levon@movementarian.org>
6542 * text3.C: hack fix for page up/down across tall rows
6544 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6546 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6549 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6551 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6552 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6553 thesaurus is not compiled in
6555 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6557 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6559 2002-12-16 Angus Leeming <leeming@lyx.org>
6562 * lyx_main.C (init): remove override_x_deadkeys stuff.
6564 2002-12-12 John Levon <levon@movementarian.org>
6566 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6567 insert. Only remove shift modifier under strict
6570 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * MenuBackend.C (expandToc): fix crash.
6574 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6576 * MenuBackend.C (expandToc): gettext on float names.
6578 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6580 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6581 implement bool empty() [bug 490]
6583 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6587 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6589 * several files: ws changes
6591 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * text2.C (setCounter): clean up a bit, use boost.format.
6594 (updateCounters): initialize par upon declaration.
6596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6597 if the layout exists. We do not just store the layout any more.
6598 (SwitchLayoutsBetweenClasses): use boost.format
6600 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * converter.C (convert): if from and to files are the same, use a
6603 temporary files as intermediary
6605 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6608 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6610 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6612 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6614 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * tabular.C (asciiPrintCell): use string(size, char) instead of
6619 * sgml.C (openTag): fix order of arguments to string constructor
6622 * lyxfunc.C (dispatch): use boost.format
6624 * lots of files: change "c" -> 'c'
6626 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6628 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6630 2002-11-25 Angus Leeming <leeming@lyx.org>
6632 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6634 * lyx_main.C (init): compile fix.
6636 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * lyx_cb.C (start): boost.formatify
6639 do not include <iostream>
6641 * lengthcommon.C: ws only
6643 * boost-inst.C,BoostFormat.h: add more explict instantations
6645 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * lots of files: handle USE_BOOST_FORMAT
6649 2002-11-21 John Levon <levon@movementarian.org>
6651 * pspell.C: fix compile
6653 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6655 * lyxfunc.C (dispatch): use boost::format
6659 * lyxfont.C (stateText): use boost::format
6661 * lyx_main.C (LyX): use boost::format
6663 (queryUserLyXDir): ditto
6666 (typedef boost::function): use the recommened syntax.
6668 * importer.C (Import): use boost::format
6670 * debug.C (showLevel): use boost::format
6672 * converter.C (view): use boost::format
6677 * bufferview_funcs.C (currentState): use boost::format
6679 * bufferlist.C (emergencyWrite): use boost::format
6681 * buffer.C (readLyXformat2): use boost::format
6682 (parseSingleLyXformat2Token): ditto
6684 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6686 * LaTeX.C (run): use boost::format
6688 * Chktex.C (scanLogFile): use boost::format
6690 * BufferView_pimpl.C (savePosition): use boost::format
6691 (restorePosition): ditto
6692 (MenuInsertLyXFile): ditto
6694 * BoostFormat.h: help file for explicit instation.
6696 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6698 * tabular.C (latex): Support for block alignment in fixed width
6701 2002-11-17 John Levon <levon@movementarian.org>
6703 * BufferView_pimpl.C:
6705 * lyxfunc.C: split filedialog into open/save
6707 2002-11-08 Juergen Vigna <jug@sad.it>
6709 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6710 by my last patch (hopefully).
6712 2002-11-08 John Levon <levon@movementarian.org>
6721 * toc.C: ParConstIterator, and use it (from Lars)
6723 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6725 * lyxtextclass.[Ch]: revise and add doxygen comments
6727 2002-11-07 John Levon <levon@movementarian.org>
6729 * text.C: fix progress value for spellchecker
6731 * toc.C: fix navigate menu for insetwrap inside minipage
6733 * paragraph_funcs.C: added FIXME for suspect code
6735 2002-11-07 John Levon <levon@movementarian.org>
6737 * BufferView_pimpl.C: fix redrawing of insets
6740 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6742 * text2.C (updateCounters): fix bug 668
6744 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6746 * text3.C (dispatch): Do not make the buffer dirty when moving the
6749 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * vc-backend.C: STRCONV
6754 * text2.C (setCounter): STRCONV
6756 * paragraph.C (asString): STRCONV
6758 * lyxlength.C (asString): STRCONV
6759 (asLatexString): ditto
6761 * lyxgluelength.C (asString): STRCONV
6762 (asLatexString): ditto
6764 * lyxfunc.C (dispatch): STRCONV
6767 * lyxfont.C (stateText): STRCONV
6769 * importer.C (Import): STRCONV
6771 * counters.C (labelItem): STRCONV
6772 (numberLabel): ditto
6773 (numberLabel): remove unused ostringstream o
6778 * bufferview_funcs.C (currentState): STRCONV
6780 * buffer.C (readFile): STRCONV
6781 (asciiParagraph): ditto
6782 (makeLaTeXFile): ditto
6784 * Spacing.C (writeEnvirBegin): STRCONV
6786 * LaTeXFeatures.C (getLanguages): STRCONV
6787 (getPackages): ditto
6789 (getBabelOptions): ditto
6790 (getTClassPreamble): ditto
6791 (getLyXSGMLEntities): ditto
6792 (getIncludedFiles): ditto
6796 (scanAuxFile): ditto
6799 * LString.h: add the STRCONV macros
6801 * BufferView_pimpl.C (savePosition): STRCONV
6802 (restorePosition): ditto
6803 (MenuInsertLyXFile): ditto
6805 * vc-backend.C (scanMaster): change from submatch[...] to
6808 * funcrequest.C: include config.h
6810 * factory.C: include config.h
6812 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6814 * box.C: include config.h
6816 * LaTeX.C (scanAuxFile): change from submatch[...] to
6820 2002-10-25 Angus Leeming <leeming@lyx.org>
6822 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6824 * ispell.[Ch] (setError): new method.
6825 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6826 Use setError() insetead of goto END.
6828 * lyx_cb.C (AutoSave): move out child process into new class
6831 2002-10-30 John Levon <levon@movementarian.org>
6833 * text3.C: make start appendix undoable
6835 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6837 * lyxlength.C (inPixels): Fix returned value.
6839 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6842 2002-10-24 Angus Leeming <leeming@lyx.org>
6844 * lyxgluelength.h: no need to forward declare BufferParams
6845 or BufferView, so don't.
6847 2002-10-21 John Levon <levon@movementarian.org>
6849 * BufferView.C: menuUndo ->undo, redo
6851 * BufferView.h: document, remove dead, make some methods private
6853 * paragraph_funcs.h:
6854 * paragraph_funcs.C:
6855 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6860 * sgml.C: move sgml open/close tag into sgml.C
6862 * bufferview_funcs.h: unused prototype
6865 * lyxfunc.C: remove unused
6868 * text.C: remove unused
6870 2002-10-21 John Levon <levon@movementarian.org>
6874 * BufferView_pimpl.h:
6875 * BufferView_pimpl.C: fix mouse wheel handling based on
6876 patch from Darren Freeman
6878 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6880 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6882 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6884 * lyxlength.C (inPixels): Fix hanfling of negative length.
6885 Fix LyXLength::MU case.
6887 2002-10-16 John Levon <levon@movementarian.org>
6889 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6891 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6893 * converter.C (view): add support for $$i (file name) and $$p
6894 (file path) for the viewer command. If $$i is not specified, then
6895 it is appended to the command (for compatibility with old syntax)
6897 2002-10-14 Juergen Vigna <jug@sad.it>
6899 * undo_funcs.C (textHandleUndo): alter the order in which the
6900 new undopar is added to the LyXText, as we have to set first
6901 the right prev/next and then add it as otherwise the rebuild of
6902 LyXText is not correct. Also reset the cursor to the right paragraph,
6903 with this IMO we could remove the hack in "redoParagraphs()".
6905 2002-10-09 Angus Leeming <leeming@lyx.org>
6907 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6908 to turn off an optimisation if a new inset is to be inserted.
6910 2002-10-11 André Pönitz <poenitz@gmx.net>
6912 * lyxtext.h: make some functions public to allow access
6913 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6915 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6917 * text3.C (dispatch): when changing layout, avoid an infinite loop
6920 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6922 * lyxrc.C (read): treat a viewer or converter command of "none" as
6925 * MenuBackend.C (expandFormats): for an update, also allow the
6926 formats that are not viewable
6928 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6929 script if it is newer than the lyxrc.defaults in user directory
6931 2002-10-07 André Pönitz <poenitz@gmx.net>
6933 * text.C: Vitaly Lipatov's small i18n fix
6935 2002-09-25 Angus Leeming <leeming@lyx.org>
6937 * ispell.h: doxygen fix.
6939 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6941 * buffer.h (readFile): Add a new argument to the method, to allow
6942 reading of old-format templates.
6944 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6946 * toc.C (getTocList): Get TOC from InsetWrap.
6948 2002-09-16 John Levon <levon@movementarian.org>
6950 * lyxfunc.C: check tabular for cut/copy too
6952 2002-09-12 John Levon <levon@movementarian.org>
6957 * factory.C: add header
6959 * paragraph_funcs.h:
6960 * paragraph_funcs.C: cleanup
6962 2002-09-11 John Levon <levon@movementarian.org>
6964 * PrinterParams.h: odd/even default to true
6966 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6968 * PrinterParams.h: update printer parameters for new xforms dialog
6970 2002-09-11 Angus Leeming <leeming@lyx.org>
6972 * lyxserver.C (read_ready): re-write to make it more transparent
6973 and to make it work in coherent fashion under Tru64 Unix.
6975 2002-09-11 André Pönitz <poenitz@gmx.net>
6979 * text3.C: implement LFUN_WORDSEL
6981 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6984 make floatlist_ a boost::shared_ptr<FloatList>
6986 * lyxtextclass.C: include FloatList.h
6987 (LyXTextClass): initialize floatlist_
6988 (TextClassTags): add TC_NOFLOAT
6989 (Read): match "nofloat" to TC_NOFLOAT and use it.
6990 (readFloat): modify call to floatlist_
6994 * FloatList.[Ch] (FloatList): remove commented out float
6996 (erase): new function
6998 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7000 * MenuBackend.C (expandToc): fix crash when there is no document
7003 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7005 * many files: Add insetwrap.
7007 2002-09-09 John Levon <levon@movementarian.org>
7009 * text2.C: remove confusing and awkward depth wraparound
7011 2002-09-09 John Levon <levon@movementarian.org>
7013 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7016 * buffer.C: remove getIncludeonlyList()
7019 * lyxfunc.C: remove headers
7021 2002-09-09 Juergen Vigna <jug@sad.it>
7023 * text.C (getColumnNearX): fix form Michael this is most
7024 probably a cut&paste bug.
7026 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7028 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7030 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7031 references, ws changes.
7033 * text2.C (init): update counters after init
7034 (insertParagraph): no need to set counter on idividual paragraphs.
7035 (setCounter): access the counters object in the textclass object
7036 on in the buffer object.
7037 (updateCounters): ditto
7039 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7040 shared_ptr<Counters> to avoid loading counters.h in all
7042 (LyXTextClass): initialize ctrs_
7043 (TextClassTags): add TC_COUNTER, and ...
7044 (Read): use it here.
7045 (CounterTags): new tags
7046 (readCounter): new function
7047 (counters): new funtion
7048 (defaultLayoutName): return a const reference
7050 * counters.C (Counters): remove contructor
7051 (newCounter): remove a couple of unneeded statements.
7052 (newCounter): simplify a bit.
7053 (numberLabel): some small formatting changes.
7055 * buffer.[Ch]: remove all traces of counters, move the Counters
7056 object to the LyXTextClass.
7058 2002-09-06 Alain Castera <castera@in2p3.fr>
7060 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7061 package to set the horizontal alignment on fixed width columns.
7064 * lyx_sty.h: added tabularnewline macro def.
7066 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7068 2002-09-06 John Levon <levon@movementarian.org>
7070 * LyXAction.C: tooltips for sub/superscript
7072 * MenuBackend.C: a bit more verbose
7074 * lyxfunc.C: tiny clean
7076 * undo_funcs.C: document undo_frozen
7078 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * counters.C (Counters): add missing algorithm counter.
7082 * text2.C (setCounter): lookup the counter with layouts latexname
7083 instead of by section number.
7084 (setCounter): use a hackish way to lookup the correct enum
7086 a float name->type change
7087 reset enum couners with counter name directly instead of depth value.
7089 * counters.C (Counters): remove the push_backs, change to use the
7090 float type not the float name.
7091 (labelItem): remove unused string, float name->type change
7093 * counters.h: don't include vector, loose the enums and sects vectors
7095 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7097 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7098 (Read): add float->TC_FLOAT to textclassTags
7099 (Read): and handle it in the switch
7100 (readFloat): new function
7102 * FloatList.C (FloatList): comment out the hardcoded float
7105 * lyxlayout.h: ws change.
7107 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7109 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7111 2002-09-03 Angus Leeming <leeming@lyx.org>
7113 * BufferView_pimpl.h: qualified name is not allowed in member
7114 declaration: WorkArea & Pimpl::workarea() const;
7116 * factory.C: added using std::endl directive.
7118 * text3.C: added using std::find and std::vector directives.
7120 2002-08-29 André Pönitz <poenitz@gmx.net>
7123 * text2.C: remove unused member number_of_rows
7126 * BufferView2.C: remove file, move contents to...
7127 * BufferView.C: ... here
7129 * BufferView_pimpl.C:
7130 * factory.C: move more inset creation to factory
7132 * vspace.C: avoid direct usage of LyXText, ws changes
7135 don't provide direct access to WorkArea, use two simple
7136 acessors haveSelction() and workHeight() instead
7139 2002-08-29 John Levon <levon@movementarian.org>
7141 * BufferView_pimpl.C (dispatch): do not continue when
7144 2002-08-28 André Pönitz <poenitz@gmx.net>
7146 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7149 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7151 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7153 * buffer.C: increment LYX_FORMAT to 221
7155 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7156 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7158 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7160 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7162 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7164 * factory.C (createInset): use LyXTextClass::floats
7166 * MenuBackend.C (expandFloatListInsert):
7167 (expandFloatInsert):
7170 * text2.C (setCounter):
7172 * LaTeXFeatures.C (useFloat):
7173 (getFloatDefinitions):
7175 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7177 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7178 floatlist_, with accessor floats().
7180 * FloatList.h: remove global FloatList
7182 2002-08-26 André Pönitz <poenitz@gmx.net>
7184 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7188 * BufferView_pimpl.C:
7189 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7191 2002-08-25 John Levon <levon@movementarian.org>
7193 * LyXAction.C: fix margin note description
7195 2002-08-24 John Levon <levon@movementarian.org>
7199 * bufferview_funcs.C:
7201 * undo_funcs.C: cleanups
7203 * lyxfunc.C: disable CUT/COPY when no selection
7205 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7207 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7208 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7210 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7211 Add backward compatibility to "mono", "gray" and "no".
7213 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7215 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7216 (and file_format >= 200).
7218 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7220 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7222 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7224 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7226 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7228 * BufferView_pimpl.C:
7235 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7236 inset and code to make it work with the paragraph code. The inset
7237 can be anywhere in the paragraph, but will only do the expected
7238 thing in LaTeX if the layout file contains the parameter line
7240 (or more generally, a nonzero value) for that layout.
7242 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7244 * paragraph.h: remove the declaration of undefined counters class
7247 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7249 * text2.C (setCounter): fixed enumeration mis-count as reported by
7250 Dr. Richard Hawkins.
7252 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7254 * paragraph_funcs.h: remove some unneeded includes
7256 * text.C (backspace): pasteParagraph now in global scipe
7258 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7259 (pasteSelection): ditto
7261 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7262 * paragraph_funcs.C (pasteParagraph): ... here
7264 2002-08-20 André Pönitz <poenitz@gmx.net>
7266 * commandtags.h: new LFUNs for swapping/copying table row/colums
7269 * lyxfunc.C: support for new lfuns
7271 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * buffer.[Ch]: remove NO_COMPABILITY stuff
7276 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7278 * boost.C (throw_exception): new file, with helper function for
7279 boost compiled without exceptions.
7284 * ParameterStruct.h:
7285 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7287 * bufferlist.C (emergencyWriteAll): use boost bind
7289 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7291 * text.C: include paragraph_funcs.h
7292 (breakParagraph): breakParagraph is now in global scope
7294 * paragraph_funcs.[Ch]: new files
7296 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7299 * buffer.C: include paragraph_funcs.h
7300 (insertStringAsLines): breakParagraph is now in global scope
7302 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7305 * CutAndPaste.C: include paragraph_funcs.h
7306 (cutSelection): breakParagraphConservative is now in global scope
7307 (pasteSelection): ditto
7309 * buffer.h: declare oprator== and operator!= for
7310 Buffer::inset_iterator
7312 * bufferlist.C (emergencyWrite): don't use fmt(...)
7314 * text3.C: add using std::endl
7316 * BufferView.C (moveCursorUpdate): remove default arg
7318 2002-08-20 André Pönitz <poenitz@gmx.net>
7320 * buffer.[Ch]: move inline functions to .C
7323 * BufferView_pimpl.C:
7325 * buffer.[Ch]: use improved inset_iterator
7328 * paragraph.[Ch]: write one paragraph at a time
7330 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7332 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7333 style if style is not specified.
7335 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * text2.C (setCounter): when searching for right label for a
7338 caption, make sure to recurse to parent insets (so that a caption
7339 in a minipage in a figure float works) (bug #568)
7341 2002-08-20 André Pönitz <poenitz@gmx.net>
7343 * text3.C: new file for LyXText::dispatch() and helpers
7345 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7347 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7349 2002-08-19 André Pönitz <poenitz@gmx.net>
7352 * text.C: new LyXText::dispatch()
7354 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7356 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7358 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7360 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7363 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7365 * Makefile.am: use $(variables) instead of @substitutions@
7367 2002-08-15 André Pönitz <poenitz@gmx.net>
7370 * BufferView_pimpl.C: streamlining mathed <-> outer world
7374 * LyXAction.C: remove unused LFUN_MATH
7376 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7380 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * paragraph.C (Paragraph): reformat a bit
7383 (cutIntoMinibuffer): use builtin InsetList function instad of
7387 * buffer.C: include boost/bind.hpp, add using std::for_each
7388 (writeFileAscii): use ParagraphList iterators
7389 (validate): use for_each for validate traversal of paragraphs
7390 (getBibkeyList): use ParagraphList iterators
7391 (resizeInsets): use for_each to resizeInsetsLyXText for all
7393 (getParFromID): use ParagraphList iterators
7395 * BufferView2.C (lockInset): use paragraph list and iterators
7397 2002-08-14 John Levon <levon@movementarian.org>
7399 * lyxserver.C: remove spurious xforms include
7401 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7403 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7405 2002-08-13 André Pönitz <poenitz@gmx.net>
7408 * lyxfunc.C: further cleaning
7410 2002-08-13 André Pönitz <poenitz@gmx.net>
7412 * funcrequest.h: new constructor
7414 * funcrequest.C: move stuff here from .h
7417 * BufferView_pimpl.C:
7420 * lyxfunc.C: subsequent changes
7422 * lyxfunc.h: new view() member function
7424 * lyxfunc.C: subsequent changes
7426 2002-08-13 Angus Leeming <leeming@lyx.org>
7429 * BufferView_pimpl.C:
7437 changes due to the changed LyXView interface that now returns references
7438 to member variables not pointers.
7440 2002-08-13 Angus Leeming <leeming@lyx.org>
7442 * WordLangTuple (word, lang_code): return references to strings,
7447 * lyxtext.h: forward-declare WordLangTuple.
7452 * text.C: #include "WordLangTuple.h".
7455 * text.C: (selectNextWordToSpellcheck): constify return type.
7457 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7463 * paragraph_pimpl.h:
7466 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7468 Made updateCounter always count from start of buffer, and removed
7469 second argument (par).
7470 Reverted floats number display to '#'. Perhaps I'll try again when the
7471 code base is sanitized a bit.
7473 2002-08-12 Angus Leeming <leeming@lyx.org>
7475 * buffer.[Ch] (getLabelList): constify.
7477 2002-08-07 André Pönitz <poenitz@gmx.net>
7479 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7481 * funcrequest.h: extension to keep mouse (x,y) position
7483 2002-08-12 Juergen Vigna <jug@sad.it>
7485 * BufferView2.C (insertErrors): forbid undo when inserting error
7488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7490 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * ParagraphList.[Ch]: new files
7494 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7496 * BufferView2.C (lockInset): ParagraphList changes
7499 * bufferlist.C: ditto
7503 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7505 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7506 unused class variable counter_,
7508 * paragraph.[Ch] (getFirstCounter): delete unused function
7510 * counters.C: include LAssert.h
7511 (reset): add a new function with no arg, change other version to
7512 not have def. arg and to not allow empty arg.
7514 * text2.C (setCounter): remove empty arg from call to Counters::reset
7516 2002-08-11 John Levon <levon@movementarian.org>
7518 * Makefile.am: add WordLangTuple.h
7520 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7523 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7525 * insets/insettext.C: InsetList changes
7527 * graphics/GraphicsSupport.C (operator()): InsetList changes
7529 * toc.C (getTocList): InsetList changes
7531 * paragraph_pimpl.[Ch]: InsetList changes
7533 * paragraph.[Ch]: InsetList changes
7535 * buffer.C (inset_iterator): InsetList changes
7536 (setParagraph): ditto
7537 * buffer.h (inset_iterator): ditto
7538 * iterators.C (operator++): ditto
7539 * iterators.h: ditto
7541 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7543 * InsetList.[Ch]: new files, most InsetList handling moved out of
7546 * BufferView2.C (removeAutoInsets): InsetList changes
7548 (ChangeInsets): ditto
7550 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * paragraph_pimpl.h (empty): new function
7554 * paragraph.[Ch] (empty): new function
7556 * other files: use the new Paragraph::empty function
7558 2002-08-09 John Levon <levon@movementarian.org>
7560 * lyxtext.h: remove unused refresh_height
7562 2002-08-09 John Levon <levon@movementarian.org>
7569 * paragraph.C: move sgml char escaping out of paragraph
7572 * paragraph.C: remove id setter
7576 * paragraph_pimpl.C: remove dead tex_code_break_column
7578 * bufferview_funcs.C: small cleanup
7580 * lyxfunc.C: remove dead proto
7582 * lyxtext.h: make some stuff private. Remove some dead stuff.
7584 * lyxgluelength.C: make as[LyX]String() readable
7586 2002-08-08 John Levon <levon@movementarian.org>
7591 * ToolbarDefaults.C:
7594 * toc.C: lyxaction cleanup
7596 2002-08-08 John Levon <levon@movementarian.org>
7598 * BufferView2.C: small cleanup
7601 * lyxfind.C: move unnecessary header into the .C
7603 2002-08-08 John Levon <levon@movementarian.org>
7605 * funcrequest.h: just tedious nonsense
7608 * lyx_main.C: cleanups
7611 * vspace.C: remove dead header lyx_main.h
7613 2002-08-07 Angus Leeming <leeming@lyx.org>
7616 * paragraph_pimpl.h:
7617 Forward declare class Counters in paragraph.h by moving the ctrs member
7618 variable into Paragraph::Pimpl.
7619 (counters): new method, returning a reference to pimpl_->ctrs.
7621 * text2.C: ensuing changes.
7623 2002-08-07 John Levon <levon@movementarian.org>
7625 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7627 * BufferView_pimpl.C: announce X selection on double/triple
7630 * lyx_main.C: use correct bool in batch dispatch
7632 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7634 2002-08-07 André Pönitz <poenitz@gmx.net>
7636 * funcrequest.h: new class to wrap a kb_action and its argument
7639 * BufferView_pimpl[Ch]:
7643 * lyxrc.C: subsequent changes
7646 2002-08-07 John Levon <levon@movementarian.org>
7648 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7649 document options change.
7651 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7656 * makefile.am: move counters functionality over from
7657 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7659 2002-08-06 John Levon <levon@movementarian.org>
7661 * WordLangTuple.h: new file for word + language code tuple
7672 * BufferView2.C: use WordLangTuple
7675 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7677 2002-08-06 John Levon <levon@movementarian.org>
7679 * lyx_main.C: fix cmdline batch handling
7681 2002-08-06 André Pönitz <poenitz@gmx.net>
7683 * lyxrc.C: set default for show_banner to true
7685 2002-08-06 John Levon <levon@movementarian.org>
7687 * pspell.C: fix a crash, and allow new aspell to work
7689 2002-08-06 John Levon <levon@movementarian.org>
7692 * kbmap.C: small cleanup
7695 * vspace.C: add const
7697 2002-08-05 John Levon <levon@movementarian.org>
7699 * LyXAction.C: back to tabular-insert
7701 2002-08-04 John Levon <levon@movementarian.org>
7704 * BufferView.C: cosmetic change
7706 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7716 * BufferView2.C: purge all "Lyx" not "LyX" strings
7719 * lyxcursor.C: attempt to add some documentation
7724 * ToolbarDefaults.C:
7725 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7726 merge with LFUN_TABULAR_INSERT
7733 * pspell.C: split up i/pspell implementations into separate
7734 files, many cleanups
7736 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7738 * text2.C: some cleanup
7740 * lyxfunc.C: don't check for isp_command == "none" any more, it
7741 didn't make any sense
7743 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7748 * makefile.am: move counters functionality over
7749 from text2.C/paragraph.[Ch] to counters.[Ch], and
7751 2002-08-02 John Levon <levon@movementarian.org>
7753 * buffer.C: s/lyxconvert/lyx2lyx/
7755 2002-08-02 Angus Leeming <leeming@lyx.org>
7757 * lyxlex.C: revert John's change as it breaks reading of the user
7760 2002-08-02 Angus Leeming <leeming@lyx.org>
7762 * importer.C (Import):
7763 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7764 changes due to LyXView::view() now returning a boost::shared_ptr.
7766 2002-08-02 John Levon <levon@movementarian.org>
7768 * lyxlex.C: small cleanup
7770 2002-08-02 John Levon <levon@movementarian.org>
7772 * text2.C (status): small cleanup, no logic change
7774 2002-08-01 John Levon <levon@movementarian.org>
7777 * buffer.C (writeFile): don't output alerts, caller
7781 * lyx_cb.C: from above
7783 * lyxfunc.C: allow to open non-existent files
7785 2002-07-31 John Levon <levon@movementarian.org>
7787 * lyxserver.C: don't let incidental errors get
7790 2002-07-30 John Levon <levon@movementarian.org>
7792 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7794 2002-07-30 John Levon <levon@movementarian.org>
7797 * lyxserver.C: remove I/O callback too
7799 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7801 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7804 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * many files: strip,frontStrip -> trim,ltrim,rtrim
7808 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * PrinterParams.h: remove extern containsOnly, and include
7811 support/lstrings.h instead.
7813 * LaTeX.C (scanAuxFile): modify because of strip changes
7815 * buffer.C (makeLaTeXFile): ditto
7816 * bufferparams.C (writeFile): ditt
7817 * lyxfont.C (stateText): ditto
7818 * lyxserver.C (read_ready): ditto
7819 * vc-backend.C (scanMaster): ditto
7821 * BufferView_pimpl.h: ws changes
7823 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7825 2002-07-26 André Pönitz <poenitz@gmx.net>
7827 * kb_sequence.C: remove unnedred usings
7829 2002-07-26 Juergen Vigna <jug@sad.it>
7831 * lyxfind.C (LyXReplace): we have to check better if the returned
7832 text is not of theLockingInset()->getLockingInset().
7834 2002-07-25 Juergen Vigna <jug@sad.it>
7836 * lyxfind.C (LyXReplace): don't replace if we don't get the
7839 * undo_funcs.C (createUndo): remove debugging code.
7841 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7843 * buffer.C (parseSingleLyXformat2Token): Use default placement
7844 when reading old floats.
7846 * FloatList.C (FloatList): Change the default placement of figure
7847 and tables to "tbp".
7849 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7851 * MenuBackend.C: using std::max
7853 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7855 * MenuBackend.C (expandToc):
7856 (expandToc2): code moved from xforms menu frontend. It is now
7857 generic and TOCs are transparent to menu frontends.
7859 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7861 * toc.C (getTocList): protect against buf=0
7863 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7864 Menu as first parameter. Now, this calls itself recursively to
7865 expand a whole tree (this will be useful for TOC handling)
7866 (expandFloatInsert): remove 'wide' version of floats
7868 * MenuBackend.h (submenuname): returns the name of the submenu.
7869 (submenu): returns the submenu itself, provided it has been
7870 created by MenuBackend::expand
7872 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7874 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7875 insets which have noFontChange == true. (bug #172)
7877 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7879 * BufferView_pimpl.C: add connection objects and use them...
7882 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7884 * MenuBackend.C (expandLastfiles):
7887 (expandFloatListInsert):
7888 (expandFloatInsert):
7889 (expand): split expand in parts
7891 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7893 * lyx_gui.C: use lyx_gui::exit()
7895 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7897 * LyXAction.C: show the failing pseudo action
7899 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7901 * buffer.C (readFile): Run the lyxconvert script in order to read
7904 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7908 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7910 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7914 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7916 2002-07-22 Herbert Voss <voss@lyx.org>
7919 * lyxlength.[Ch]: add support for the vertical lengths
7921 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7923 * toc.[Ch]: std:: fixes
7925 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7927 * lyxrc.C: do not include lyx_main.h
7929 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7935 * BufferView2.C: include "lyxlex.h"
7938 * bufferparams.h: do not #include "lyxlex.h"
7940 * lyxtextclasslist.C (Add): remove method
7941 (classlist): renamed to classlist_
7943 * paragraph_pimpl.C:
7947 * bufferview_funcs.C:
7952 * toc.C (getTocList): use BufferParams::getLyXTextClass
7954 * toc.C (getTocList): use InsetFloat::addToToc
7956 * toc.[Ch]: new files, containing helper functions to handle table
7959 * lyxfunc.C (dispatch): no need to remove spaces around command
7961 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7962 first command of the sequence; it is not very clever, but I do not
7963 have a better idea, actually
7965 * LyXAction.C (LookupFunc): make sure to remove space at the
7966 beginning and end of the command
7968 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7970 * MenuBackend.C (getMenubar): new method: return the menubar of
7972 (read): treat differently reading of menu and menubar (in
7973 particular, the menubar has no name now)
7974 (Menu::menubar): remove
7976 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7979 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7981 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7982 a bibitem inset in a RTL paragraph.
7984 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7986 * paragraph_pimpl.C: constify
7988 * BufferView_pimpl.C:
7990 * lyxfunc.C: fix dispatch in a nicer way
7992 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7994 * lyxfunc.C (dispatch):
7995 * BufferView_pimpl.C:
7996 * BufferView_pimpl.h:
7998 * BufferView.h: rename Dispatch() to dispatch()
8000 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8002 * lyxlayout.C (Read): honor DependsOn tag
8004 * lyxlayout.[Ch] (depends_on): new method
8006 * version.C.in: update lyx_docversion
8008 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8010 * paragraph.C (validate): remove from here...
8011 * paragraph_pimpl.C (validate): ... and move here
8012 (isTextAt): make it const
8014 * buffer.C (getLists): ws cleanup
8016 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8018 * language.C (read): Use iso8859-1 encoding in latex_lang
8019 (this prevents LyX from crashing when using iso10646-1 encoding).
8021 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8023 * text2.C (toggleInset): if cursor is inside an inset, close the
8024 inset and leave cursor _after_ it
8026 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8028 * lyxfunc.C: move minibuffer completion handling out of here
8030 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8032 * BufferView_pimpl.C:
8033 * LaTeX.C: fix dispatch calls
8035 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8037 * text.C (drawChars): Fix Arabic text rendering.
8039 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8043 * lyxfunc.C: remove message-push/pop
8047 * lyxfunc.C: rationalise some code by removing verboseDispatch
8048 in favour of a bool argument to dispatch()
8050 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8052 * lyx_main.C (init): make sure to read symlinks as absolute paths
8054 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8057 * lyxfunc.C: no need for commandshortcut to be a member
8059 2002-07-15 André Pönitz <poenitz@gmx.net>
8061 * converter.C: add support for $$s (scripts from lib/scripts dir)
8062 * lyx_main.C: white space
8064 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8068 * lyxrc.C: remove second exit confirmation
8070 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8075 * BufferView_pimpl.h:
8076 * BufferView_pimpl.C:
8077 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8079 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8081 * MenuBackend.C (expand): add numeric shortcuts to document menu
8083 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8085 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * lyxfont.C (setLyXFamily):
8094 * buffer.C (asciiParagraph): use ascii_lowercase
8096 2002-07-15 Mike Fabian <mfabian@suse.de>
8098 * lyxlex_pimpl.C (search_kw):
8099 * lyxlex.C (getLongString):
8100 * converter.h (operator<):
8101 * converter.C (operator<):
8102 * buffer.C (parseSingleLyXformat2Token):
8104 * ToolbarDefaults.C (read):
8105 * MenuBackend.C (checkShortcuts):
8107 * LColor.C (getFromGUIName):
8108 (getFromLyXName): use the compare_ascii_no_case instead of
8109 compare_no_case, because in turkish, 'i' is not the lowercase
8110 version of 'I', and thus turkish locale breaks parsing of tags.
8112 2002-07-16 Angus Leeming <leeming@lyx.org>
8114 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8115 now takes a Buffer const & argument.
8117 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8119 * BufferView.C (resize): check there's a buffer to resize
8121 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8123 * lyxfunc.C: remove dead code
8126 * lyxserver.C: use lyx_guii::set_read_callback
8128 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8130 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8131 an inset in a RTL paragraph.
8133 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8135 * lyxfunc.C: repaint after a font size update
8137 2002-07-15 André Pönitz <poenitz@gmx.net>
8139 * lyxlength.C: inBP should be able to return negative values
8141 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8143 * lyxfunc.C: use lyx_gui::update_fonts()
8145 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8147 * lyxfunc.C: use lyx_gui::update_color()
8149 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8155 * lyxrc.C: remove file->new asks for name option, and let
8156 buffer-new take an argument
8158 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8160 * BufferView_pimpl.C: remove unneeded extra repaint()
8162 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8164 * LyXAction.C: allow command-sequence with NoBuffer
8166 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8168 2002-07-10 Angus Leeming <leeming@lyx.org>
8170 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8172 2002-07-09 Angus Leeming <leeming@lyx.org>
8174 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8176 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8178 * lengthcommon.h: whitespace
8180 * lyxfunc.C: update scrollbar after goto paragraph
8182 * lyxtext.h: factor out page break drawing, and fix it so
8183 page break/added space paints as selected nicely
8185 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8187 * BufferView_pimpl.C: add FIXMEs, clean up a little
8189 2002-07-09 André Pönitz <poenitz@gmx.net>
8191 * lyxfont.[Ch]: support for wasy symbols
8193 2002-07-08 André Pönitz <poenitz@gmx.net>
8195 * BufferView_pimpl.C: apply John's patch for #93.
8197 2002-07-05 Angus Leeming <leeming@lyx.org>
8199 * BufferView_pimpl.C (buffer): generate previews if desired.
8201 * LColor.h: add "preview" to the color enum.
8203 * LColor.C (LColor): add a corresponding entry to the items array.
8205 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8208 2002-07-05 Angus Leeming <leeming@lyx.org>
8210 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8211 The body of the code is now in the method that is passed an ostream &
8212 rather than a file name.
8213 Pass an additional only_preamble parameter, useful for the forthcoming
8216 2002-07-03 André Pönitz <poenitz@gmx.net>
8218 * lyxfunc.C: simplify getStatus() a bit for math stuff
8220 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8222 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8224 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * text.C (changeRegionCase): do not change case of all the
8227 document when region ends at paragraph end (bug #461)
8229 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8231 * paragraph.C (startTeXParParams):
8232 (endTeXParParams): add \protect when necessary
8234 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8236 * BufferView_pimpl.C (workAreaExpose): remove warning
8238 2002-06-27 Angus Leeming <leeming@lyx.org>
8240 * Makefile.am: add lyxlayout_ptr_fwd.h.
8242 2002-06-26 André Pönitz <poenitz@gmx.net>
8244 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8246 2002-06-25 Angus Leeming <leeming@lyx.org>
8248 * lyxfunc.C (dispatch): Comment out the call to
8249 grfx::GCache::changeDisplay. The method no longer exists now that the
8250 pixmap generation part of the graphics loader has been moved into
8253 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8255 * text2.C: layout as layout
8257 * text.C: layout as layout
8259 * tabular.C (OldFormatRead): layout as layout
8261 * paragraph_pimpl.C (TeXDeeper): layout as layout
8262 (realizeFont): layout as layout
8264 * paragraph.C (writeFile): layout as layout
8265 (validate): layout as layout
8266 (getFont): layout as layout
8267 (getLabelFont): layout as layout
8268 (getLayoutFont): layout as layout
8269 (breakParagraph): layout as layout
8270 (stripLeadingSpaces): layout as layout
8271 (getEndLabel): layout as layout
8272 (getMaxDepthAfter): layout as layout
8273 (applyLayout): layout as layout
8274 (TeXOnePar): layout as layout
8275 (simpleTeXOnePar): layout as layout
8276 (TeXEnvironment): layout as layout
8277 (layout): layout as layout
8278 (layout): layout as layout
8280 * lyxtextclass.C (compare_name): new functor to work with
8281 shared_ptr, layout as layout
8282 (Read): layout as layout
8283 (hasLayout): layout as layout
8284 (operator): layout as layout
8285 (delete_layout): layout as layout
8286 (defaultLayout): layout as layout
8288 * lyxlayout_ptr_fwd.h: new file
8290 * lyxlayout.C (Read): layout as layout
8292 * lyx_cb.C (MenuInsertLabel): layout as layout
8294 * bufferlist.C (newFile): layout as layout
8296 * buffer.C (readLyXformat2): layout as layout
8297 (parseSingleLyXformat2Token): layout as layout
8298 (insertStringAsLines): layout as layout
8299 (asciiParagraph): layout as layout
8300 (latexParagraphs): layout as layout
8301 (makeLinuxDocFile): layout as layout
8302 (simpleLinuxDocOnePar): layout as layout
8303 (makeDocBookFile): layout as layout
8304 (simpleDocBookOnePar): layout as layout
8305 (getLists): layout as layout
8307 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8309 * CutAndPaste.C (cutSelection): layout as layout
8310 (pasteSelection): layout as layout
8311 (SwitchLayoutsBetweenClasses): layout as layout
8313 * BufferView_pimpl.C (Dispatch): layout as layout
8314 (smartQuote): layout as layout
8316 * BufferView2.C (unlockInset): layout as layout
8318 2002-06-24 André Pönitz <poenitz@gmx.net>
8320 * lyxfunc.C: fix #487
8322 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8326 * lyxfunc.C: remove display_shortcuts, show_banner
8328 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8330 * Buffer_pimpl.C: oops, update on resize
8332 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8339 * BufferView.C: use repaint()
8341 * BufferView_pimpl.h:
8342 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8343 as it's a clearer description. Remove superfluous
8346 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8348 * text.C: fix bug 488. Not ideal, but getting
8349 getWord() to work properly for the insets that
8350 matter is more difficult ...
8352 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8354 * BufferView_pimpl.C:
8357 * lyxfunc.C: remove the six million index lyxfuncs to just
8358 one, and DTRT (bug 458)
8360 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8364 * BufferView_pimpl.h:
8365 * BufferView_pimpl.C: clean up resize() stuff,
8366 and unnecessary updateScreen()s
8368 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8372 * BufferView_pimpl.h:
8373 * BufferView_pimpl.C:
8376 * minibuffer.C: remove focus management of workarea,
8377 not needed. Use screen's greyOut()
8379 2002-06-17 Herbert Voss <voss@lyx.org>
8381 * converter.C: (convert) do not post a message, when converting
8382 fails, let the calling function decide what to do in this case
8384 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8386 * lyxfunc.C: tidy up a little
8388 2002-06-16 <alstrup@diku.dk>
8390 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8391 Got rid of FORMS_H_LOCATION include. Now we are
8394 2002-06-15 LyX Development team <lyx@rilke>
8396 * buffer.[Ch] (sgmlOpenTag):
8397 (sgmlCloseTag): Added support for avoiding pernicious mixed
8398 content. Return number of lines written.
8401 (makeDocBookFile): Fixed calls to sgml*Tag.
8402 Simple white space clean.
8404 (simpleDocBookOnePar): Simple white space clean.
8406 * tabular.[Ch] (docBook): Renamed to docbook and got another
8407 argument to related with the pernicious mixed content.
8409 (docbookRow): Fixed calls for docbook inset method.
8411 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8413 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8414 so it's X11 independent.
8418 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8420 2002-06-15 Lyx Development team <lyx@electronia>
8422 * intl.h: Renamed getTrans to getTransManager.
8424 2002-06-14 Angus Leeming <leeming@lyx.org>
8426 * Makefile.am: nuke forgotten stl_string_fwd.h.
8428 2002-06-12 Angus Leeming <leeming@lyx.org>
8430 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8432 2002-06-13 Angus Leeming <leeming@lyx.org>
8435 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8437 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8439 * kbmap.C (getiso): add support for cyrillic and greek
8441 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8445 * BufferView_pimpl.h:
8446 * BufferView_pimpl.C: move bogus scrolling logic
8449 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8452 * BufferView_pimpl.C: view->resize() change
8454 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8456 * BufferView_pimpl.C: topCursorVisible
8459 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8463 * lyx_gui.C: move to frontends/
8467 * lyx_main.C: changes from above
8469 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8476 * lyx_main.C: minor tidy
8478 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8480 * BufferView_pimpl.h:
8481 * BufferView_pimpl.C:
8483 * BufferView.C: make painter() const,
8486 * BufferView2.C: use screen() accessor
8489 * lyx_main.C: some minor cleanup
8491 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8493 * BufferView_pimpl.h:
8494 * BufferView_pimpl.C: remove enter/leaveView,
8497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8502 * BufferView_pimpl.h:
8503 * BufferView_pimpl.C: only construct screen once,
8506 * lyxrc.C: remove pointless comment
8508 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8511 * BufferView.C: remove active() and belowMouse()
8513 * BufferView_pimpl.h:
8514 * BufferView_pimpl.C: use workarea() not workarea_,
8515 and make it use a scoped_ptr instead
8517 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8519 * lyx_gui.C: add debug message on BadWindow
8521 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8523 * sp_spell.C: fdopen is not part of the C++ standard.
8525 * paragraph.C (InsetIterator): use >= instead of ==
8527 2002-06-07 Angus Leeming <leeming@lyx.org>
8529 Fixes needed to compile with Compaq cxx 6.5.
8530 * BufferView_pimpl.C:
8537 * lyxtextclasslist.C:
8542 all c-library variables have been moved into namespace std. Wrap
8543 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8548 Add a using std::abs declaration.
8550 * kbmap.h (modifier_pair):
8551 * paragraph.h (InsetTable, InsetList):
8552 * lyxfont.h (FontBits):
8553 type definition made public.
8555 * bufferlist.C (emergencyWriteAll): the compiler complains that
8556 there is more than one possible lyx::class_fun template to choose from.
8557 I re-named the void specialisation as lyx::void_class_fun.
8559 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8561 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8562 the compiler is is unable to find tostr in write_attribute.
8564 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8566 * buffer.C (sgmlError): hide #warning
8568 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8570 * xtl/*: get rid of xtl, which is not in use anyway
8572 * LyXAction.C (init):
8573 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8574 were unimplemented xtl experimentation
8576 2002-06-04 André Pönitz <poenitz@gmx.net>
8578 * lyxfunc.C: disable array operation on simple formulae
8580 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8582 * converter.C: constify a bit
8584 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8586 * lyx_gui.C: check xforms version correctly
8588 2002-04-30 Herbert Voss <voss@lyx.org>
8590 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8593 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8595 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8596 attempt to register it with a VCS)
8598 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * lyx_main.C (init): honor variables LYX_DIR_13x and
8603 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8607 * lyx_main.C: fix a crash on bad command line,
8608 and give a useful exit status on error
8610 * lyxfunc.C (doImport): allow -i lyx to work
8612 2002-03-30 André Pönitz <poenitz@gmx.net>
8614 * lyxfunc.C: mathed font changes
8616 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8631 * trans_mgr.h: srcdocs, and some minor cleanups
8633 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8635 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8636 call getFont all the time)
8638 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8640 * switch from SigC signals to boost::signals
8642 2002-05-29 André Pönitz <poenitz@gmx.net>
8644 * paragraph_pimpl.C (getChar): don't call size() too often...
8646 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8648 * paragraph_pimpl.C (insertChar): do not try to update tables when
8649 appending (pos == size())
8651 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8652 in order to reduce drastically the number of comparisons needed to
8653 parse a large document
8655 2002-05-29 André Pönitz <poenitz@gmx.net>
8661 * textclasslist.[Ch]:
8662 * sp_ispell.h: whitespace change
8664 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8666 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8667 lyxaction directly now.
8669 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8673 * lyxvc.C: remove unused headers
8675 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8682 * undo_funcs.C: some cleanups. Use shared_ptr
8683 and a template for the undo stacks.
8685 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8687 * BufferView_pimpl.h:
8688 * BufferView_pimpl.C:
8695 * text2.C: use key_state/mouse_state
8697 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8699 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8702 * chset.C: change include order
8703 (loadFile): use boost regex and get rid of LRegex and LSubstring
8705 * Makefile.am (BOOST_LIBS): new variable
8708 * LaTeX.C: change include order.
8709 (scanAuxFile): use boost regex and get rid of LRegex and
8713 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8718 * FontInfo.C: moved to frontends/xforms/
8721 * FontLoader.C: moved into frontends for GUIIzation
8726 * lyxfunc.C: changes from above
8728 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8730 * LColor.C: remove spurious X include
8732 * BufferView_pimpl.C:
8737 * text2.C: move font metrics to frontends/
8739 2002-05-24 Juergen Vigna <jug@sad.it>
8741 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8742 setting the undo_cursor.
8744 * ParagraphParameters.h: include local includes first.
8746 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8748 * BufferView_pimpl.C:
8749 * BufferView_pimpl.h:
8753 * screen.C: move WorkArea into frontends/
8759 * BufferView2.C: move LyXScreen into frontends/
8763 * lyx_gui.C: move lyxlookup into frontends/xforms/
8765 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8768 * BufferView_pimpl.C:
8778 * bufferview_funcs.C:
8791 * vc-backend.C: move LyX/XFormsView into frontends/
8793 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8805 * text2.C: move Painter to frontends/
8807 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8809 * buffer.C: comment out some some code that depend upon lyx_format
8812 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8813 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8815 * buffer.h (NO_COMPABILITY): turn off compability
8817 * ColorHandler.C: include scoped_array.hpp
8819 * font.C: Use more specific smart_ptr header.
8822 * ShareContainer.h: ditto
8826 * BufferView_pimpl.h: ditto
8827 * ColorHandler.h: ditto
8829 * kbmap.C (defkey): change call to shared_ptr::reset
8831 2002-05-21 Juergen Vigna <jug@sad.it>
8833 * buffer.C (insertErtContents): fix to insert ert asis if it is
8834 non empty. Skip it completely if it contains only whitespaces.
8836 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8838 * BufferView_pimpl.C:
8839 * BufferView2.C: clear selection on paste (bug 393)
8841 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8843 * DepTable.C: include ctime
8845 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8847 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8849 2002-05-14 Juergen Vigna <jug@sad.it>
8851 * text.C (breakParagraph): fixed function to honor the keepempty
8852 layout in the right maner and also to permit the right breaking
8853 algorithm on empty or non empyt keepempty paragraphs.
8855 * paragraph.C (breakParagraph): we have to check also if the par
8856 is really empty (!size()) for isempty otherwise we do the wrong
8859 2002-05-10 Juergen Vigna <jug@sad.it>
8861 * buffer.[Ch] : The following are only changes to the ert
8862 compatibility read reading old LaTeX layout and font stuff and
8863 convert it to ERTInsets.
8865 * buffer.h: added isErtInset().
8867 * buffer.C (struct ErtComp): add a fromlayout bool to check
8868 if we're inside a LaTeX layout.
8869 (isErtInset): new helper function.
8870 (insertErtContents): look for other ert insets before this one
8871 and insert the contents there, so that we don't have subsequent
8872 ERT insets with nothing between them. This way we create only one
8873 inset with multiple paragraphs. Also check if we don't insert only
8874 spaces ' ' as they are ignored anyway afterwards in the .tex file
8875 so if we have only spaces we will ignore this latex part in the
8877 (parseSingleLyXformat2Token \\layout): better compatibility when
8878 reading layout-latex stuff.
8879 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8881 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8882 stuff after reading the inset only get the information back from
8885 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8887 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8889 * LaTeXFeatures.C (getBabelOptions): New method.
8891 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8893 * BufferView_pimpl.C (Dispatch): work around missing argument for
8896 2002-05-08 Juergen Vigna <jug@sad.it>
8898 * text.C (leftMargin): handle paragraph leftindent.
8900 * paragraph.C (writeFile): write the new \\leftindent tag.
8901 (validate): handle leftindent code.
8902 (TeXEnvironment): handle paragraphleftindent code again.
8904 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8906 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8907 for paragrap_extra indent code and new token \\leftindent.
8908 (latexParagraphs): handle the leftindent as environment.
8910 * ParameterStruct.h: added leftindent support.
8912 * ParagraphParameters.C (leftIndent): added support functions for
8913 the paragraph left indent.
8915 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8918 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8920 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8923 * text.C (computeBidiTables): No bidi in insetERT.
8925 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8928 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8930 * version.C.in: pre 5
8932 2002-05-02 José Matos <jamatos@fep.up.pt>
8933 * buffer.C (makeDocBookFile): white space changes, add newline to
8935 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8937 * tabular.C (docBook): fix typo.
8939 2002-05-03 Juergen Vigna <jug@sad.it>
8941 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8942 change in LyXText as we can not be sure it was not freed.
8943 (drawOneRow): remove unused code.
8945 * text.C (drawInset): redo the calculation of the need_break_row as
8946 it could have a row which was already freed.
8947 (draw): look at the return value of drawInset and return false if
8948 it also returned false.
8949 (paintRowText): look at the return value of draw and return false if
8950 it also returned false.
8952 * lyxtext.h: added bool return type to drawInset() and draw() so that
8953 if we have a change in the row so that the rowbreak has to be redone
8954 we abort drawing as it will be called again.
8956 2002-05-02 Juergen Vigna <jug@sad.it>
8958 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8959 a change in the maintext also if we're inside an inset.
8960 (Dispatch): set the cursor again after a break line and after the
8961 screen has been updated as it could be we're in a different row.
8963 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8964 to set the cursor behind the pargraph with > size().
8965 (setCursor): check also for the same paragraph when checking where
8966 to put the cursor if we have a NFR inset.
8968 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8969 parts of layout read further up as it still was in the wrong
8972 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * screen.C (drawFromTo): change sine fullRebreak always return
8977 * buffer.C (parseSingleLyXformat2Token): reindent some
8979 * BufferView_pimpl.C (update): change since fullRebreak always
8981 (Dispatch): git rid of the last hardcoded "Standard"s.
8983 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8985 * text2.[Ch] (fullRebreak): make it return void now that we always
8988 2002-04-30 Juergen Vigna <jug@sad.it>
8990 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8991 ert compatibility check for "latex" layout.
8993 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8995 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8996 minipages: use col% instead of p%, and also use the current font.
8997 (makeLaTeXFile): Fix use babel condition.
8998 (parseSingleLyXformat2Token): Correct font when reading old floats.
9000 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9002 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9003 inserting list of floats.
9005 2002-04-25 Herbert Voss <voss@lyx.org>
9007 * MenuBackend.C (expand): don't add the graphics extensions to the
9010 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9012 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9013 non-existing layout, do not complain if it was the default layout
9014 of the original class (bug #342)
9016 2002-04-24 Juergen Vigna <jug@sad.it>
9018 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9019 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9021 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9023 * buffer.C (getBibkeyList): If using \bibliography, return the
9024 option field with the reference itself. Enables us to provide natbib
9025 support when using \bibliography.
9027 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9029 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9031 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9032 natbib is provided by the LaTeX class.
9034 2002-04-23 Juergen Vigna <jug@sad.it>
9036 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9039 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9041 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9043 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9045 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9046 ensuremath around textordmasculine, textordfeminine and
9049 2002-04-19 Juergen Vigna <jug@sad.it>
9051 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9052 reinitializing the buffer otherwise row-dimensions may be wrong.
9053 (update): reset also the selection cursors if they do exits otherwise
9054 their x/y positions may be wrong.
9056 * text2.C (cursorDown): don't enter the inset if we came from a row
9057 above and are one row over the inset.
9059 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9060 really leaving an inset.
9062 2002-04-18 Juergen Vigna <jug@sad.it>
9064 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9065 of the selected paragraph does not have the selected layout also if
9068 * text2.C (setLayout): fixed bug which did not change last selected
9071 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9072 changed the read and substituted \\end_float with \\end_inset!
9074 * BufferView_pimpl.C (cursorPrevious):
9075 (cursorNext): fixed to make it work with rows heigher than the work
9076 area without moving the cursor only the draw of the row.
9077 (workAreaMotionNotify): fix jumping over high rows.
9079 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9081 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9084 2002-04-16 Juergen Vigna <jug@sad.it>
9086 * text2.C (setCursor): set also the irow().
9087 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9089 (cursorDown): support for locking an inset if the x_fix value goes
9090 inside it. That way I can transverse insets too with cursor up/down.
9092 * lyxrow.h: added irow helper function same as other (i) functions.
9094 * BufferView_pimpl.C (cursorPrevious):
9095 (cursorNext): fixed for insets!
9097 2002-04-15 Juergen Vigna <jug@sad.it>
9099 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9100 position otherwise it is wrong in some cases.
9102 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9103 inside the inset before the call.
9105 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9107 * buffer.[Ch] (getBibkeyList): make it const.
9109 2002-04-12 Juergen Vigna <jug@sad.it>
9111 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9113 * text2.C (getCursorX): new helper function
9114 (setCursor): compute also ix_
9115 (setCursorFromCoordinates): set also ix.
9117 * lyxcursor.h: added ix_ and helper functions.
9119 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9121 * buffer.C (insertStringAsLines): dont break paragraph if the this
9122 paragraph is inside an inset which does not permit it!
9124 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9125 also with no chars on this paragraph.
9126 (paintRowText): only paint stuff if it's inside the workarea!
9128 * paragraph.C (breakParagraph): honor keepempty flag and break the
9129 paragraph always below not above.
9131 * BufferView2.C (unlockInset): update the paragraph layout on inset
9132 unlock as we changed paragraph in such a case.
9134 * lyxfind.C (LyXFind): clear the former selection if not found!
9136 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9137 again called in insertChar().
9139 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9140 an inset which uses the whole row!
9141 (rightMargin): ditto.
9142 (insertChar): force a rebreak if we inserted an inset!
9144 2002-03-28 Herbert Voss <voss@lyx.org>
9146 * lyxlength.[Ch]: add inBP() to get the right PS-point
9147 units (BigPoint). With inPixels we have rounding errors
9149 2002-04-11 Juergen Vigna <jug@sad.it>
9151 * text2.C (setCursorFromCoordinates): set iy to the right value.
9152 (setCursor): add check if row->previous exists!
9154 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9155 an old float_type as this was the case in the old code!
9157 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9159 * BufferView2.C (showLockedInsetCursor): use iy
9160 (fitLockedInsetCursor): ditto
9162 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9163 locked insets as there we have the right value now.
9165 * lyxcursor.C: added iy_ variable and iy functions to set to the
9166 baseline of cursor-y of the locked inset.
9168 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9169 (setCursor): fixed for insets which need a full row.
9171 * text.C (rowLastPrintable): don't ignore the last space when before
9172 an inset which needs a full row.
9173 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9174 as last character of a row when before a inset which needs a full row.
9176 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9178 * version.C.in: update date
9180 * text2.C (fullRebreak): try to always return true and see what
9183 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9185 * MenuBackend.C (expand): use Floating::listName
9187 * FloatList.C (FloatList): add listName argument to the built-in
9190 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9191 text associated with the float.
9193 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9197 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9199 * ShareContainer.h: add a couple of missing typenames.
9201 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9203 * lyxrc.C (getDescription): use _() correctly rather than N_().
9205 2002-03-28 Herbert Voss <voss@lyx.org>
9207 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9208 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9210 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9212 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9213 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9215 2002-03-29 Juergen Vigna <jug@sad.it>
9217 * lyxfunc.C (dispatch): add a missing fitCursor call.
9219 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9220 it was scrolled by a cursor move, so return the bool status.
9222 * BufferView.C (fitCursor): return the bool flag also to the outside
9223 world as this is needed.
9225 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9227 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9228 call the edit() as it is not needed (and wrong) IMO.
9229 (workAreaButtonPress): set the screen_first variable before evt.
9230 unlock the inset as this may change screen_first and then we have
9231 a wrong y position for the click!
9233 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9235 * MenuBackend.C (expand): another translation that I missed
9237 2002-03-28 Juergen Vigna <jug@sad.it>
9239 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9241 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9243 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9245 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9247 * MenuBackend.C (expand): fix export/view/update when there is no
9250 2002-03-27 Herbert Voss <voss@lyx.org>
9252 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9255 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9257 * bufferview_funcs.C (currentState): only show paragraph number
9258 for is DEVEL_VERSION is set.
9260 * lyxfunc.C (dispatch): put warning in INFO channel
9262 * MenuBackend.C (expand): translate the name of floats
9264 * FloatList.C (FloatList): mark the float names for translation
9266 * converter.C (convert): use LibScriptSearch
9268 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9270 * MenuBackend.C (defaults): fix default menu (we might as well get
9273 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9278 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9280 * lyxvc.C: reorder includes.
9282 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9284 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9287 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9289 * CutAndPaste.C: change layouts earlier on paste
9290 to avoid crashing when calling getFont()
9292 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9294 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9297 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9299 * WorkArea.C: remove 'Pending' debug message.
9301 * most files: ws cleanup
9303 * buffer.[Ch]: ws changes
9305 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9307 2002-03-21 Juergen Vigna <jug@sad.it>
9309 * tabular.C (SetMultiColumn): collapse also the contents of the
9310 cells and set the last border right. Added a Buffer const * param.
9312 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9317 2002-03-19 Juergen Vigna <jug@sad.it>
9319 * text2.C (clearSelection): reset also xsel_cache.
9321 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9322 where it needs to be called (John tells us to do so too :)
9323 (selectionLost): reset sel_cache.
9325 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9327 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9329 * text2.C (setCursorIntern): put debuging code in INSETS channel
9331 2002-03-19 André Pönitz <poenitz@gmx.net>
9333 * lyxfunc.C: tiny whitespace change
9335 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * ToolbarDefaults.C (init):
9338 * LyXAction.C (init):
9340 * BufferView_pimpl.C (Dispatch):
9341 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9343 2002-03-19 Allan Rae <rae@lyx.org>
9345 * exporter.C (Export): removeAutoInsets before doing anything else.
9346 While I've just introduced a dependency on BufferView this really is
9347 the best place to clean the buffer otherwise you need to cleanup in
9348 a dozen places before calling export or cleanup in a dozen functions
9351 * converter.C (runLaTeX):
9352 (scanLog): Better handling of removeAutoInsets and screen updates.
9354 * lyxfunc.C (dispatch): small whitespace changes
9356 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9358 * WorkArea.C (C_WorkAreaEvent): return a value.
9359 (event_cb): return 1 if we handled the event, 0 otherwise.
9361 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9363 2002-03-18 Juergen Vigna <jug@sad.it>
9365 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9366 (GetAdditionalWidth): ditto.
9370 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9371 inset if we're there actually (probably not used right now but this
9372 is the direction to go for unifying code).
9373 (paste): disable code to clear the selection.
9375 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9376 inside an InsetText and move the check further up as it is in the
9379 * text2.C (pasteSelection): set a selection over the pasted text.
9381 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9383 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9384 and libgraphics to build on Cygwin.
9386 2002-03-15 Juergen Vigna <jug@sad.it>
9388 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9389 inserting an Inset into the paragraph. I know this is not the best
9390 fix but we already use current_view in CutAndPaste so we will remove
9391 all of it's using at the same time.
9393 * buffer.C (sgmlError): deactivated function till it is rewritten in
9394 the right mode, now it can create problems.
9396 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9397 before accessing it.
9399 2002-03-14 Juergen Vigna <jug@sad.it>
9401 * undo_funcs.C (textHandleUndo): do the right thing when updating
9402 the inset after the undo/redo.
9404 * text2.C (setCursor): just some testcode for #44 not ready yet.
9406 * undo_funcs.C (textHandleUndo): set the next() and previous()
9407 pointers of the paragraph to 0 before deleting otherwise we have
9408 problems with the Paragraph::[destructor].
9410 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9411 on a paragraph insertion.
9413 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * buffer.C (asciiParagraph): use += operator for char append to
9418 * paragraph.C (getFontSettings): compare >= not just >
9419 (highestFontInRange): ditto
9422 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9424 * paragraph.C: change several algorithm to be more appripriate for
9425 the problem domain. This is lookip in FontList and in the InsetList.
9427 2002-03-13 André Pönitz <poenitz@gmx.net>
9430 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9432 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9437 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9439 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * Painter.C (display): anon helper function, adjust code for this
9443 (pixmap): remove function.
9445 * Painter.h: remove private display variable.
9447 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9449 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9451 * WorkArea.[Ch]: remove figinset_canvas cruft.
9453 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9455 * lyxtextclass.C (operator): add one item cache optimization.
9457 * bufferlist.h: doxy changes
9459 * bufferlist.C: ws changes
9461 * DepTable.[Ch] (ext_exist): place const in the right spot.
9463 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9465 (workAreaExpose): call resizeInsets when the with BufferView changes.
9466 (Dispatch): adjust for protectedBlank removal
9467 (specialChar): call updateInset if the insert went ok.
9469 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9470 specialChar instead.
9472 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9474 * BufferView.h: doxy change
9476 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9478 * lyxtextclass.C (operator[]): remove non-const version
9479 (defaultLayout): remove non-const version
9481 2002-03-12 Juergen Vigna <jug@sad.it>
9483 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9484 did resize the LyXText too.
9486 * buffer.C (readLyXformat2): set layout information on newly allocated
9489 * tabular.C (OldFormatRead): set layout information on the paragraph.
9491 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9493 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9495 2002-03-11 Juergen Vigna <jug@sad.it>
9497 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9499 (resizeCurrentBuffer): force also the insets to resize themselfes.
9500 (moveCursorUpdate): fixed up for InsetText.
9502 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9505 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9506 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9507 value of Dialogs::tooltipsEnabled().
9508 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9510 2002-03-08 Juergen Vigna <jug@sad.it>
9512 * BufferView_pimpl.C (updateInset): update inset inside inset also
9513 if it isn't inside theLockingInset().
9515 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9517 * buffer.C (asciiParagraph): redo some of the word and line length
9519 (getLists): look for Caption instead of caption.
9521 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9523 * buffer.C (Buffer): initialize niceFile to true
9526 (makeDocBookFile): make sure niceFile is true on exit
9528 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9530 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9532 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9534 * LyXSendto.C: remove.
9535 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9536 * lyx_gui.C: remove now-redundant comment.
9537 * ColorHandler.h: remove forward declaration of class WorkArea.
9538 * lyxfunc.C: remove #include "WorkArea.h".
9540 2002-03-07 Juergen Vigna <jug@sad.it>
9542 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9543 got moved away with the DEPM and also set the inset_owner always
9544 right which before could have been omitted.
9546 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9548 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9549 wanted layout is not found.
9551 2002-03-07 Juergen Vigna <jug@sad.it>
9553 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9555 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * paragraph.C (breakParagraph): use default layout not layout of
9559 (Paragraph): clear ParagraphParameters.
9561 2002-03-06 Juergen Vigna <jug@sad.it>
9563 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9564 otherwise it would not be a valid lenght. Fixed a special case in
9565 the minipage compatibility read where we end the document with a
9568 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9569 was set as it could be 0 for InsetTexts first entry.
9571 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * paragraph.C (writeFile): if layout is empty write out
9574 defaultLayoutName().
9576 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9577 file without named layout we set layout to defaultLayoutName().
9579 2002-03-06 Juergen Vigna <jug@sad.it>
9581 * CutAndPaste.C (copySelection): set layout for new paragraph.
9583 * text.C (prepareToPrint): leave ERT inset left aligned
9584 (leftMargin): don't indent paragraphs inside ERT insets
9586 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9588 * paragraph.C (breakParagraph): dont call clear do the work manually
9590 * paragraph.[Ch] (clear): remove function
9592 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9594 * paragraph.C (Paragraph): dont call clear, the work has already
9597 * lyxtextclass.C (operator): assert if n is empty
9599 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9600 work manually instead.
9602 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9604 * BufferView_pimpl.C: protect selectionLost against text == 0
9606 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * text.C (breakParagraph): fix a setting layout to '0' problem.
9610 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9612 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9613 final location of file, for the included files, and graphics.
9615 2002-03-05 Juergen Vigna <jug@sad.it>
9617 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9619 2002-03-04 Juergen Vigna <jug@sad.it>
9621 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9623 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9624 last column of multicolumn cells.
9625 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9627 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9629 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9630 file if it doesn't go to a temporary file.
9632 * buffer.C (sgmlOpenTag):
9633 (sgmlCloseTag): remove extra newline insertion.
9635 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * text.C (getRowNearY): comment out debug msg
9639 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9641 * text2.C: first -> first_y
9643 * text.C (getRowNearY): add some attemts at a possible
9644 optimization, not working.
9646 * tabular.[Ch]: add BufferParams to several function so that newly
9647 created paragraph can be initialized to he default layotu for the
9650 * tabular-old.C (ReadOld): add buf->params to call of Init
9652 * screen.C: rename text->first to text->first_y
9654 * paragraph.C (breakParagraph): always set layout in the broken
9657 * lyxtextclass.C (Read): remove lowercase
9660 (delete_layout): ditto
9662 * lyxtext.h: rename first -> first_y
9664 * lyxlayout.C (Read): remove lowercase
9667 (obsoleted_by): ditto
9669 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9671 * buffer.C (insertErtContents): add params are to InsetERT
9672 (parseSingleLyXformat2Token): add code to check if a paragraphs
9673 layout really exist.
9674 (parseSingleLyXformat2Token): add params to several inset
9676 (asciiParagraph): remove lowercase, do the layout comparisons with
9679 * BufferView_pimpl.C (cursorNext): first -> first_y
9680 (resizeCurrentBuffer): first -> first_y
9681 (updateScrollbar): first -> first_y
9682 (scrollCB): first -> first_y
9683 (workAreaMotionNotify): first -> first_y
9684 (workAreaButtonPress): first -> first_y
9685 (checkInsetHit): first -> first_y
9686 (cursorPrevious): first -> first_y
9687 (cursorNext): first -> first_y
9688 (Dispatch): add buffer_->params to severl inset contructors
9690 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * lyxlayout.C (Read): remove some debug info that I forgot.
9694 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9695 clean up the code slightly.
9696 (makeLinuxDocFile): ditto
9697 (makeDocBookFile): ditto
9699 * text2.C: layout as string
9701 * text.C: layout as string
9703 * paragraph_pimpl.C: layout as string
9705 * paragraph.[Ch]: layout as string
9707 * lyxtextclasslist.[Ch]: layout as string
9709 * lyxtextclass.[Ch]: layout as string
9711 * lyxtext.h: layout as string
9713 * lyxlayout.[Ch]: layout as string
9715 * lyx_cb.C: layout as string
9717 * bufferview_funcs.C: layout as string
9719 * bufferparams.C: layout as string
9721 * buffer.C: layout as string
9723 * LyXView.[Ch]: layout as string
9725 * LaTeXFeatures.[Ch]: layout as string
9727 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9729 * BufferView_pimpl.C: change current_layout to string, remove
9734 (workAreaButtonRelease): layout as string
9736 * BufferView2.C (unlockInset): adjust
9738 * vspace.C (asLatexCommand): use an explict temp variable.
9740 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9742 * Makefile.am: use FRONTEND_*
9744 2002-03-01 Juergen Vigna <jug@sad.it>
9746 * tabular.C (SetWidthOfMulticolCell): changed to something better
9747 I hope but still work in progress.
9748 (recalculateMulticolumnsOfColumn): renamed function from
9749 recalculateMulticolCells as it is more appropriate now.
9750 (SetWidthOfCell): calculate multicols better.
9752 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9754 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9756 * lyxfunc.C (processKeySym): print sequence also if it is
9757 `deleted' (complete)
9759 * kbsequence.C (print): print sequence even if it is deleted
9760 (complete would be a better word, actually).
9762 * lyxfunc.C (dispatch): print complete options after a prefix key
9764 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9766 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9768 * text2.C (setCharFont): eliminate setCharFont code duplication.
9770 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9772 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9773 LFUN_TABULAR_FEATURE (bug #177)
9775 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9777 * Makefile.am: remove figure.h
9779 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9781 * Bufferview_pimpl.C:
9793 * text2.C: remove #include "lyx_gui_misc.h".
9795 * LaTeX.C: added #include <cstdio>
9797 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9799 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9800 that the paragraph following this one can have.
9802 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9804 * vspace.C (asLatexCommand): fix bogus gcc warning
9806 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9808 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9810 * text2.C (setLayout): get rid of redundant code
9812 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9814 * text2.C (incDepth): make sure depth cannot be increased beyond
9817 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9819 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9820 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9822 * PainterBase.h (image):
9823 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9826 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9830 * BufferView_pimpl.C:
9831 * BufferView_pimpl.h:
9851 * sp_spell.C: remove fig inset, and the crap house of
9852 cards that follows it
9854 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9860 * nt_defines.h: move .h into support/
9862 * vms_defines.h: remove
9864 * WorkArea.C: add space in debug output
9868 * buffer.C: add WITH_WARNINGS
9872 * bufferlist.C: s/retrive/retrieve/, add docs
9883 * lyxgui.C: add ID to X error handler
9885 * lyxtestclass.c: fix typo
9887 2002-02-26 Juergen Vigna <jug@sad.it>
9889 * tabular_funcs.C (write_attribute): changed so that some default
9890 attributes are not written at all.
9891 (getTokenValue): set default values before trying to read the
9892 value so we have the return value always set as default if we don't
9893 find the token we search for.
9895 * tabular.C (Write): write bools as bools not as strings!
9897 2002-02-22 Juergen Vigna <jug@sad.it>
9899 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9900 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9902 * text.C (leftMargin): don't add an indent for paragraphs inside
9903 tabular cells (fix #208).
9905 2002-02-21 José Matos <jamatos@fep.up.pt>
9907 * tabular.C (docBook): fixed support for long tables.
9909 2002-02-20 Juergen Vigna <jug@sad.it>
9911 * text2.C (getFont): get the drawing font of the Inset if this
9912 paragraph is inside an inset (only important for InsetERT for now).
9914 * buffer.C (insertErtContents): use new lanugage params in ERT
9917 * CutAndPaste.C: commenting out seemingly uneeded code.
9919 2002-02-19 Allan Rae <rae@lyx.org>
9921 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9922 Iterators might be simple to use but they also get invalidated.
9923 (removeAutoInsets): renamed saved cursor tracking variables and added
9924 some comments to clarify what everything does.
9926 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9933 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9934 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9937 * vc-backend.h: remove #include "support/syscall.h"
9941 * converter.C: rearrange #includes in Lars' approved fashion.
9943 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9944 forward declare class Timeout in the header file.
9946 * XFormsView.C: changes due to the above.
9948 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9951 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9952 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9954 2002-02-18 José Matos <jamatos@fep.up.pt>
9956 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9959 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9961 * a lot of small ws changes
9962 * add a lot of using std::XXX
9963 * use std construcs some places where approp.
9964 * use some exisint stuff from lyxfunctional where approp.
9965 * Make file changes to use partial linking (lets test this now...)
9967 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9971 remove #include "support/syscontr.h" as it's redundant. Always has been.
9979 change Systemcalls::System to Systemcalls::Wait and
9980 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9981 No change of functionality, just reflects the stripped down Systemcalls
9984 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9986 * debug.[Ch]: add a GRAPHICS type to the enum.
9988 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9990 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9992 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9995 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9997 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9998 match the changes below.
10000 * text2.C (toggleInset): if there is not editable inset at cursor
10001 position, try to see if cursor is _inside_ a collapsable inset
10004 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10007 document menu has a nice checkbox
10009 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * lyxlength.C (asLatexString): change PW to output as percent of
10014 * lengthcommon.C: change '%' to 't%'
10016 * lyxfunc.C (dispatch): a few comments from Martin
10018 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10022 * BufferView_pimpl.h:
10023 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10026 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * vspace.C (inPixels): fix compiler warning
10030 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10032 * lyxfunc.C (getStatus): fix status message for disabled commands.
10034 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10036 * BufferView_pimpl.C: fix crash on close buffer
10037 during selection (#227)
10039 2002-01-27 Herbert Voss <voss@lyx.org>
10041 * buffer.C: link old Figure to new graphic inset
10043 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10045 * FontLoader.C (getFontinfo): Change the latex font names in order
10046 to match the names of type1inst.
10048 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10050 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10052 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10053 (extchanged): ditto
10055 (remove_files_with_extension): ditto
10056 (remove_file): ditto
10059 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10060 document is smaller than the work area height. Do not initialize
10061 static variables to 0.
10063 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10065 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10067 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10068 LFUN_LAYOUT_PARAGRAPHS.
10070 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10071 tabular. It is possible to provide a possible cell, which will
10072 typically be the actcell from the corresponding insettabular
10074 * lyxfunc.C (getStatus): small cleanup; disable
10075 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10078 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10080 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10082 * paragraph.C (startTeXParParams):
10083 (endTeXParParams): new methods. The LaTeX code to
10084 start/end paragraph formatting
10085 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10086 empty (fixes bug #200)
10088 * vspace.C (inPixels): adapt to the change below
10089 (inPixels): [later] more cleanups (remove unused variables)
10091 * lyxlength.C (inPixels): change to use a width and a height as
10094 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10096 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10097 Replaced with \paperwidth
10099 * DepTable.C (insert): add std:: qualifier
10101 2002-01-18 Allan Rae <rae@lyx.org>
10103 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10106 * text.C (drawInset): Turned out I didn't know enough about how
10107 rebreaking worked. This fixes most of the redraw problems. I see
10108 an occasional cursor trail when a line is broken now and the cursor
10109 placement can seem out by a few pixels also after a rebreak.
10111 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * buffer.C (parseSingleLyXformat2Token): update because minipage
10114 width is now a LyXLength
10116 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10118 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10121 2002-01-17 Juergen Vigna <jug@sad.it>
10123 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10125 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10126 is set correctly and the inset is updated correctly.
10128 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10130 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10131 the beginning of the loop.
10133 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10135 * lyxrc.C: improve help for use_scalable_fonts
10137 2002-01-17 Allan Rae <rae@lyx.org>
10139 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10141 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10143 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10144 make sure to set their inset_owner to the right value (bug #171)
10146 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10149 * DepTable.C: Implement mtime checking to reduce time spent doing
10152 2002-01-16 Juergen Vigna <jug@sad.it>
10154 * tabular.C (GetAdditionalHeight): one of error fixed.
10156 * lyxrc.C (output): small fix in writing use_pspell.
10158 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10160 * sp_base.h: #include LString.h
10162 2002-01-16 Allan Rae <rae@lyx.org>
10164 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10165 Can someone check this please?
10167 * text.C (drawInset): It was possible that p.row would be removed by
10168 breakAgainOneRow upsetting a few other settings. There may be another
10169 small tweak possible by setting need_break_row = 0 when p.row has been
10170 removed but I don't know enough about the logic here.
10172 2002-01-15 Allan Rae <rae@lyx.org>
10174 * text.C (insertChar): removed conditional truism.
10176 * BufferView2.C (removeAutoInsets): More tweaks.
10177 cur_par_prev could be a stray pointer. Check for trailing empty line
10178 in case last line was cur_par and only had an error inset on it.
10180 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10182 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10185 * vc-backend.C (most methods):
10186 * exporter.C (Export):
10187 * converter.C (convert):
10189 * LyXSendto.C (SendtoApplyCB):
10190 * lyxfunc.C (dispatch):
10194 * lyx_cb.C (AutoSave):
10196 * BufferView_pimpl.C (MenuInsertLyXFile):
10197 * buffer.C (runChktex): use Buffer::filePath().
10199 * buffer.h: rename filename to filename_; rename filepath to
10200 filepath_ and make it private
10201 (filePath): new method
10203 * buffer.C (writeFile): use fileName()
10206 * lyx_main.C (init): fix starting of LyX when the binary is a
10207 link from so,ewhere else.
10209 * minibuffer.C: include <cctype> for isprint
10211 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10213 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10214 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10215 name clash with InsetCollapsable's width function.
10217 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * lastfiles.C: include <iterator>
10221 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10223 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10226 * buffer.C (makeLaTeXFile): ditto.
10227 Also make loop operation more transparent.
10229 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10231 * ToolbarDefaults.C: remove trailing comma closing namespace.
10233 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10235 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10238 * trans.C (Load): comment out unused variable, allowed.
10240 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10242 * minibuffer.[Ch] (append_char): new method to recieve input from the
10243 drop-down completion browser. If a key was pressed, then recieve this
10244 char and append it to the existing string.
10245 (peek_event): modify the positioning data passed to the completion
10246 browser so that it can be placed above the minibuffer rather than below.
10247 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * LyXAction.C (init): alloe error-next for readonly documents.
10251 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10254 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10256 * bufferlist.C (readFile): create the buffer _after_ checking that
10259 * lyxfunc.C (verboseDispatch): fix handling of arguments
10261 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10263 * lyxrc.C: use string::erase() instead of initializing to "".
10266 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10268 * BufferView_pimpl.h:
10269 * BufferView_pimpl.C:
10272 * text2.C: tell X when we have made a selection for copying
10274 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10276 * BufferView_pimpl.C (MenuInsertLyXFile):
10277 * lyxfunc.C (menuNew):
10279 (doImport): add shortcuts to directory buttons
10281 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10284 * lyxfunc.C (setStatusMessage):
10285 (getStatusMessage): new methods
10286 (getStatus):use setStatusMessage instead of setErrorMessage
10287 (dispatch): when function is disabled, set error message here
10288 [instead of in getStatus previously]
10290 * BufferView_pimpl.C (workAreaButtonRelease): update
10291 toolbar/menubar here too.
10293 2002-01-13 Allan Rae <rae@lyx.org>
10295 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10296 Now seems indestructible. Remaining task is to audit all other
10297 code affected by deleteEmptyParagraphMechanism. One small quirk
10298 left is that an empty document with an error in the preamble can
10299 be made to report an error but no error box appears. I don't know
10301 (removeAutoInsets): Improved comments.
10303 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10306 * Thesaurus.C: update for Aiksaurus 0.14
10308 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10310 * text2.C (firstParagraph): removed member function, all uses
10311 replaces with ownerParagraph
10312 (redoParagraphs): here
10313 (updateInset): here
10314 (toggleAppendix): here
10315 * BufferView2.C (insertErrors): here
10316 (setCursorFromRow): here
10318 2002-01-13 Allan Rae <rae@lyx.org>
10320 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10321 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10322 There is still a way to segfault this although you may have to do this
10323 multiple times: Have an InsetERT with an unknown command in it.
10324 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10325 <down-arrow>, <Enter> again, View->DVI, BANG!
10327 * text2.C (setCursor):
10328 (deleteEmptyParagraphMechanism):
10329 * lyxtext.h (setCursor):
10330 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10331 Making use of the return value may help fix other bugs.
10333 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10335 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10337 * LyXView.C (updateMenubar): call MenuBar::update here
10338 (updateToolbar): but not here
10339 (showState): do not update toolbar/menubar
10341 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10342 should need to care about that.
10344 * lyxfunc.C (verboseDispatch): simplify a bit
10345 (getStatus): have a version which takes a pseudoaction, and
10346 another which requires a (kb_action,string).
10348 * LyXAction.C (retrieveActionArg): make it work also when action
10349 is not a pseudo-action.
10350 (getActionName): simplify a bit
10353 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10355 * lyxfunc.C (verboseDispatch): new families of methods with
10356 several ways to specify a command and a bool to indicate whether
10357 the command name and shortcut should be displayed in minibuffer
10358 (eventually, we could extend that to a finer bitmask like
10359 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10360 (dispatch): the pristine dispatch command which just, well,
10361 dispatchs! Note it still sets its result to minibuffer; I'm not
10364 * lyxfunc.h: remove setHintMessage
10366 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10368 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * BufferView_pimpl.C (specialChar): delete new inset if we have
10371 not been able to insert it.
10373 * kbmap.C: revert to using int instead of kb_action, since all we
10374 are dealing with is pseudo-actions.
10376 * LyXAction.C (searchActionArg): change to return int instead of
10377 kb_action, since the result is a pseudoaction.
10379 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10381 * buffer.C (insertErtContents): Fix (partially) the font bug.
10383 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10385 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10386 as the other one is broken on my machine!
10388 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10391 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10393 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10395 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10396 reflect their actual use. Provide compatibility code for older lyxrc
10399 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10401 change names of popup font variables in line with the changes to lyxrc.C
10403 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10405 * buffer.C (asciiParagraph): avoid outputing a word twice after
10408 * lyxrc.C (getDescription): document that document_path and
10409 template_path can be empty.
10411 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10413 * LaTeXFeatures.C (getMacros):
10414 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10416 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10418 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10420 (getPackages): rename feature "floats" to "float". Use an array to
10421 iterate over 'simple' features (i.e. just a \usepackage). Add
10422 handling of "amsmath" (renamed from "amsstyle").
10424 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10426 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10429 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10431 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10432 FuncStaus::FuncStatus & FuncStaus::some_method().
10434 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10436 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10437 of the func_satus stuff. Edited and massaged in various ways by
10440 * lyxfunc.C (getStatus): use FuncStatus
10442 2002-01-08 Juergen Vigna <jug@sad.it>
10444 * text.C (nextBreakPoint): use function Inset::isChar().
10446 * paragraph.C (TeXOnePar): use function
10447 Inset::forceDefaultParagraphs.
10449 * buffer.C (latexParagraphs): use function
10450 Inset::forceDefaultParagraphs.
10452 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10454 * lyx_gui.C (init): set the style of the menu popups to
10455 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10457 2002-01-07 Juergen Vigna <jug@sad.it>
10459 * text.C (setHeightOfRow): small fix
10460 (prepareToPrint): don't look at alignment if we don't have the place
10463 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10465 * box.C: New file. Move the Box methods and functions out of box.h,
10466 following Lars' suggestion.
10468 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10470 * box.h: #include "support/LOstream.h", needed for inlined function.
10473 * lyxtextclasslist.C: added some using std declarations.
10475 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10477 * box.h: make signed dimensions to allow insets wider than
10478 the screen (bug #162)
10480 * BufferView_pimpl.C: add some insetHit debug
10482 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10484 * vc-backend.C: add FIXME
10486 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10488 * lyxfunc.C (getStatus): enable code for showing math font status
10491 2002-01-07 Juergen Vigna <jug@sad.it>
10493 * text.C (nextBreakPoint): removed debug output not needed anymore.
10495 2002-01-06 Juergen Vigna <jug@sad.it>
10497 * text.C (nextBreakPoint): fixed up this function we had this bug
10498 since ever but now hopefully we break row better.
10499 (insertChar): we have to check if an inset is the next char as it
10500 could now happen that a large inset is causing a break.
10502 2002-01-05 Juergen Vigna <jug@sad.it>
10504 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10505 if it doesn't like to be drawed.
10507 2002-01-04 Juergen Vigna <jug@sad.it>
10509 * BufferView2.C (lockInset): forgot to set a cursor.
10511 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10513 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10515 * FormMathsPanel.C:
10518 * form_maths_panel.C:
10519 * form_maths_panel.h:
10520 * form_maths_panel.fd: implemented sub- and super- buttons in math
10523 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10524 (or ^ space) to be used as in TeX (req'd by André).
10526 * lyxfunc.C: Allow ^ and _ again to be used both as
10527 super/subscript (mathed) and as themselves (in text).
10529 2002-01-03 Allan Rae <rae@lyx.org>
10531 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10532 "LyX" or the filename of the current buffer if it has one. This is a
10533 modified form of John Levon's patch.
10535 * XFormsView.C (setWindowTitle): also set icon title.
10537 * LyXView.h (setWindowTitle): signature changed.
10538 * XFormsView.h (setWindowTitle): ditto.
10540 2002-01-02 Juergen Vigna <jug@sad.it>
10542 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10544 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10546 * screen.C (topCursorVisible): introduce a temp var for
10547 text->cursor.row(), handle the case where this row is null. (kindo
10550 * text2.C (setCursor): add a couple of asserts.
10552 * paragraph.h (inset_iterator): add -> operator
10554 * paragraph.[Ch] (autoDeleteInsets): remove member function
10556 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10557 cursor pos correctly and handle inset deletion by itself.
10558 (insertErrors): move iterator declaration out of for expression
10560 * lyxtextclass.C: add <algorithm>
10562 * Makefile.am: added the new files to sources, removed layout.C
10564 * layout.C: removed file
10566 * layout.h: remove LYX_DUMMY_LAYOUT
10568 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10572 * lyxtextclass.[Ch]:
10573 * lyxtextclasslist.[Ch]: new files
10575 * include order changes to a lot of files, also changes because of
10578 2001-12-27 Juergen Vigna <jug@sad.it>
10580 * buffer.C (asciiParagraph): more fixes.
10582 * tabular.C (ascii): make ascii export support export of only the
10583 data separated by a column-delimiter.
10584 (ascii): better support for ascii export.
10586 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10588 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10590 * tabular_funcs.C: use a "using std::getline" instead of the
10591 previous fix from Angus (necessary for cxx + lyxstring)
10593 2001-12-24 Juergen Vigna <jug@sad.it>
10595 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10597 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10598 problems. First check a minipage also if we have some ert-contents
10599 (not only on par->size(), second set the right depth of the paragraph
10600 on the relink to the root-paragraph-list!
10602 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10603 which then did not anymore update the main paragraphs on undo/redo!
10605 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10607 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10608 code. Support all font-changing funcs (even those which are not in
10609 menu currently). Support for reporting font settings in
10610 mathed (disabled until Andre provides a function on mathed's side).
10612 * func_status.h (toggle): small helper function to set toggle
10615 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10617 * tabular_funcs.C: getline -> std::getline
10619 2001-12-21 Juergen Vigna <jug@sad.it>
10621 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10622 accessed and could be 0 (I couldn't generate this but it seems
10625 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10627 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10628 * tabular_funcs.h: here and include iosfwd
10630 2001-12-20 Juergen Vigna <jug@sad.it>
10632 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10633 inside inset but undo_par was.
10635 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * Thesaurus.C: always include <config.h> in sources.
10641 * box.h: do not include <config.h> in header files
10643 * text.C (paintLastRow): remove unused variable
10645 * text.C (transformChar):
10647 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10649 * Painter.C (text):
10650 * font.C (width): rewrite to use uppercase() instead of
10653 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10655 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10657 * lyxfind.C: clean up of find failure position change
10659 2001-12-20 Juergen Vigna <jug@sad.it>
10661 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10663 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10664 (TeXRow): added to LaTeX a single tabular row.
10665 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10666 (Latex): simplified and finally good LT-h/f support.
10667 (various_functions): just small adaptions for LT-h/f support.
10669 * tabular_funcs.[hC]: added and moved here all not classfunctions
10672 2001-12-19 Juergen Vigna <jug@sad.it>
10674 * tabular.[Ch]: better support for longtabular options (not finished
10677 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10679 * text.C (paintLastRow): use the label font instead of the font of
10680 the last character to compute the size of *_BOX. This makes more
10681 sense and avoids a crash with empty paragraphs.
10682 Use Painter::rectangle to draw EMPTY_BOX.
10684 2001-12-19 Juergen Vigna <jug@sad.it>
10686 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10687 the paragraphs if the replaced paragraph is not the first one!
10688 Tried to delete not used paragraphs but does not work yet so for
10689 now it's inside #ifdef's and by default off!
10691 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * MenuBackend.C: include "lyx_main.h" instead of declaring
10694 lastfiles (actually was declared as LastFiles* instead of a
10697 2001-12-17 Juergen Vigna <jug@sad.it>
10699 * tabular.C (AppendColumn): applied John's fix
10701 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10705 * BufferView_pimpl.h:
10706 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10709 * box.h: new start of class for above
10711 * lyxfunc.C: ignore space-only minibuffer dispatches.
10712 Show the command name when it doesn't exist
10714 * minibuffer.C: don't add empty lines to the history
10716 * minibuffer.C: add a space on dropdown completion
10718 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10720 * text.C: fix line above/below drawing in insets
10722 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * lyxlength.C (LyXLength): Initialize private variables.
10726 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10728 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10729 when inserting error insets.
10731 2001-12-13 Juergen Vigna <jug@sad.it>
10733 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10734 actually sometimes the before-paragraph.
10735 (setUndo): don't clear the redostack if we're not actually undoing!
10737 2001-12-06 Juergen Vigna <jug@sad.it>
10739 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10740 and fixed redoing of main paragraph, so we can use it now ;)
10742 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10744 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10749 2001-12-13 André Pönitz <poenitz@gmx.net>
10752 * undo_func.C: minor cleanup
10754 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10757 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10758 font in urw-fonts package which is marked as -urw-fontspecific and
10759 does not work (incidentally, changing the encoding in the
10760 fonts.dir of this package to -adobe-fontspecific fixes the
10763 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10764 is a crash when undoing first paragraph (Juergen, please take a
10765 look). THis does not mean the undo fix is wrong, just that it
10768 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10769 the (Paragraph*) version when needed instead of duplicating the
10772 * text.C (workWidth): use Inset::parOwner to find out where the
10773 inset has been inserted. This is a huge performance gain for large
10774 documents with lots of insets. If Inset::parOwner is not set, fall
10775 back on the brute force method
10777 * paragraph_pimpl.C (insertInset):
10778 * paragraph.C (Paragraph):
10779 (cutIntoMinibuffer): set parOwner of insets when
10780 inserting/removing them
10782 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10784 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10790 * mathed/formulabase.C:
10791 * mathed/math_cursor.[Ch]:
10792 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10795 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * lyxlength.[Ch] (operator!=): new function
10799 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10801 * text.C (workWidth): use Inset::parOwner to find out where the
10802 inset has been inserted. This is a huge performance gain for large
10803 documents with lots of insets. If Inset::parOwner is not set, fall
10804 back on the brute force method
10806 * paragraph_pimpl.C (insertInset):
10807 * paragraph.C (Paragraph):
10808 (cutIntoMinibuffer): set parOwner of insets when
10809 inserting/removing them
10811 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10813 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * tabular-old.C (getTokenValue):
10816 * tabular.C (getTokenValue):
10817 (write_attribute): new versions for LyXLength
10818 (everywhere): adjust the use of widths
10820 * tabular.h: change the type of widths from string to LyXLength
10822 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10824 * paragraph.C: fixed missing line number count when exporting
10825 Environments to LaTeX file
10827 * buffer.C: added informational message for checking line numbers.
10829 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10831 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10832 paragraph, do the 'double space' part, but not the 'empty
10835 * text.C (workWidth): small optimization
10836 (getLengthMarkerHeight): use minimal size for negative lengths.
10838 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10840 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10842 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10844 2001-12-11 André Pönitz <poenitz@gmx.net>
10847 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10849 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10851 * text2.C: keep selection on a setFont()
10853 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10855 * lyx_cb.C: another bv->text misuse, from insert label
10857 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10860 * kbsequence.C: re-instate nmodifier mask
10862 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10864 * lyx_main.h: make lyxGUI private.
10866 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10868 * lyxfind.C: place the cursor correctly on failed search
10870 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * text.C (getLengthMarkerHeight): for small heights, the arrows
10873 are not always on top/bottom of the text
10874 (drawLengthMarker): smaller arrows; take the left margin in
10875 account; draw also vfills.
10877 (paintLastRow): remove special code for vfill and standard spaces,
10878 since everything is handled in drawLengthMarker now.
10880 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10882 * buffer.C (insertErtContents): try to handle font and language
10883 interaction a bit better.g
10885 * ColorHandler.C (updateColor): change the hash to cover the whole
10886 LColor enum, ws cleanup
10887 (getGCLinepars): ditto
10888 (getGCLinepars): only lookup in the linecache once.
10890 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10892 * iterators.C (operator++): Make the iterator more robust
10894 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10896 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10898 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10901 * text.C: better added space drawing
10903 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10906 * BufferView2.C: fix layout combo update on inset unlock
10908 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10910 * Makefile.am: don't compile unused files
10912 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10916 * LyXAction.C: remove old LFUN_LAYOUTNO
10918 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10920 * paragraph_pimpl.h:
10921 * paragraph_pimpl.C: isTextAt() doesn't need font param
10923 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10926 * lyxlex.C: little cleanup
10928 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10930 * BufferView_pimpl.C: fix insertAscii for insets
10932 2001-12-05 Juergen Vigna <jug@sad.it>
10934 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10935 set the right font on the "multi" paragraph paste!
10937 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10943 * lyxlength.C: remove out-commented code.
10945 * BufferView_pimpl:
10959 * vc-backend.C: change "while(" to "while ("
10961 * lyxlength.[Ch]: add zero function to check if length is zero or
10963 * lyxgluelength.C: use it
10965 2001-12-05 Allan Rae <rae@lyx.org>
10967 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10968 Works for 2.95.3, from what I understand of Garst's reports this should
10969 work for other g++ versions. We're screwed if the abs(int) definition
10970 changed between bugfix releases of gcc.
10972 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10974 * text.C: fix chapter label offset !
10976 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10979 * text.C: fix hfill at end of line, clean up
10981 2001-12-04 Juergen Vigna <jug@sad.it>
10983 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10984 that we force an update of the inset and it's owners if neccessary.
10986 2001-12-03 Juergen Vigna <jug@sad.it>
10988 * text.C (rowLast): simplified code
10990 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10992 * lyxfunc.C: fix show options on timeout
10994 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10996 * screen.C (topCursorVisible): scroll half a page when the cursor
10997 reached top of bottom of screen
10999 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11001 * minibuffer.C: deactivate on loss of focus
11003 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11005 * vspace.[Ch] (operator!=): add operator.
11007 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11009 * BufferView_pimpl.C: refuse to open an inset when
11010 there's a selection.
11012 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11014 * BufferView_pimpl.C: allow to click on RHS of full row insets
11016 2001-11-30 Juergen Vigna <jug@sad.it>
11018 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11019 insets for undo reasons.
11021 2001-11-28 André Pönitz <poenitz@gmx.net>
11023 * vspace.[Ch]: cosmetical changes
11025 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11035 * kbsequence.C: part re-write of old kb code
11038 * WorkArea.C: remove Lgb_bug_find_hack
11040 2001-11-30 José Matos <jamatos@fep.up.pt>
11042 * buffer.C (makeDocBookFile): add a comment to point a hack.
11043 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11044 Fixed a double write of labels.
11046 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11049 * LaTeX.h Fixed bug in LaTeX class where it would not
11050 re-run latex if no depfiles were changed, but the .dvi was removed.
11052 2001-11-28 André Pönitz <poenitz@gmx.net>
11054 * all the files from the change on 2001/11/26:
11055 use lyx::layout_type instead of LyXTextClass::size_type
11056 use lyx::textclass_type instead of LyXTextClassList::size_type
11058 2001-11-29 Juergen Vigna <jug@sad.it>
11060 * text.C: added support for paragraph::isFreeSpacing()
11062 * buffer.C: same as above
11064 * paragraph.h: inserted isFreeSpacing() function to enable
11065 FreeSpacing inside InsetERT.
11067 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11068 of the paragraph's in the cut/copy buffer to 0!
11070 * text2.C (removeRow): remove the assert as it can!
11072 * lyxtext.h: added helper function firstRow returning firstrow and
11073 made firstrow private again.
11075 * BufferView2.C (lockInset): don't relock if we're already locked!
11077 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11078 the only paragraph.
11079 (removeRow): added Assert::(firstrow)
11081 * debug.C: forgot to add INSETTEXT here.
11083 2001-11-28 Juergen Vigna <jug@sad.it>
11085 * sp_spell.C (initialize): changed error text to more general
11086 spellchecker command use (not only ispell!)
11088 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11090 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11092 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11094 * vspace.C: initialise lyxgluelength on failure
11096 2001-11-28 Allan Rae <rae@lyx.org>
11098 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11099 declaration & definition that looks like a function declaration.
11101 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11103 * BufferView2.C (copy):
11104 (copyEnvironment): do not clear the selection when doing a copy.
11106 * text.C (paintFirstRow): compilation fix
11108 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11110 * tabular.C (Latex): correct line count when writing latex.
11112 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11114 * paragraph_pimpl.h:
11115 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11118 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11122 * LColor.C: change vfillline->added_space
11124 * text.C: add markers and text for added space
11126 * vspace.C: fix comment
11128 2001-11-28 André Pönitz <poenitz@gmx.net>
11130 * paragraph.C: whitespace changes
11131 * all the other files from the change on 2001/11/26:
11132 change *::pos_type into lyx::pos_type
11134 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11136 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11137 language of the document when inserting error insets.
11139 2001-11-26 André Pönitz <poenitz@gmx.net>
11141 * BufferView_pimpl.[Ch]:
11149 * paragraph_pimpl.[Ch]:
11152 * text2.C: reduce header dependencies, introduce type for positions
11154 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11156 * <various>: change to use Alert.h
11158 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11160 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11161 when encountering an unknown token.
11162 (readLyXformat2): Show an error message if there were unknown tokens.
11164 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11167 * BufferView_pimpl.C:
11171 * text2.C: use par->isInset()
11173 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11175 * paragraph_pimpl.h:
11176 * paragraph_pimpl.C: cleanup
11178 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11180 * text2.C (removeRow):
11181 * text.C (setHeightOfRow): remove useless (and costly) call to
11184 2001-11-20 Allan Rae <rae@lyx.org>
11186 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11187 Now need Inset*::checkInsertChar() to return true for appropriate
11188 cases so that the characters in the minibuffer will actually be
11191 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11193 * text.C: change the order of the includes.
11194 (workWidth): initialize it at once.
11195 (workWidth): make maxw unsigned
11196 (setHeightOfRow): remove unused variable (inset)
11197 (selectSelectedWord): remove unused variable (inset)
11198 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11200 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11203 server is not running.
11205 (closeConnection): add debug info when server is disabled.
11207 * ColorHandler.C (getGCForeground): send debug message to GUI
11210 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11212 * kbmap.C (bind): modify because return conventions of
11213 kb_sequence::parse have changed.
11215 * kbsequence.C (parse): only ignore spaces and not any stupid
11216 control character. This avoids tests like s[i] <= ' ', which are
11217 guaranteed to fail with 8bit characters and signed chars.
11218 Change return code to string::npos when there have been no error
11219 (0 was a bad idea when error is at first character)
11221 2001-11-14 José Matos <jamatos@fep.up.pt>
11224 * buffer.C (simpleDocBookOnePar): removed unused argument.
11226 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11228 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11229 insets which are part of a word. Paragraph::isLetter takes care of
11230 that now. Use Paragraph::isInset to identify insets.
11231 (selectSelectedWord): do not test for hyphenation break.
11233 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11234 that protected spaces are considered as spaces.
11236 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11239 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11242 * lyxserver.C: fix it. and small cleanup.
11244 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11246 * BufferView_pimpl.C: use inline helpers
11249 * LaTeXFeatures.C: fix typos
11252 * Spacing.C: move spacing_string into class
11254 * ToolbarDefaults.C: move stuff into namespace anon
11256 * layout.h: update enum
11258 * lyxfunc.C: use better debug
11260 * minibuffer.h: fix typo
11264 * WorkArea.C: add and use Debug::WORKAREA
11268 * text2.C: code re-organisation, inline helpers
11270 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11272 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11273 std::vector.empty().
11275 2001-11-09 Allan Rae <rae@lyx.org>
11277 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11278 '\n's after tables. Tabular and ERT inset work now makes this no
11281 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11284 * minibuffer.C: fix crash, improve drop-down completion
11286 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11289 * lyxserver.C: invalidate fd's when doing endPipe()
11291 2001-11-08 José Matos <jamatos@fep.up.pt>
11293 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11294 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11297 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11299 2001-11-07 José Matos <jamatos@fep.up.pt>
11302 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11305 * buffer.C (sgmlOpenTag):
11306 * buffer.C (sgmlCloseTag): removed debug info.
11308 * buffer.h (sgmlOpenTag):
11309 * buffer.h (sgmlCloseTag): made public.
11311 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11313 * buffer.C (saveParamsAsDefaults):
11314 * lyx_cb.C (MenuLayoutSave): remove
11316 * LyXAction.C (init):
11318 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11320 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11322 * buffer.C (setPaperStuff): removed from here...
11324 * bufferparams.C (setPaperStuff): ... and moved there.
11326 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11330 * XFormsView.C: add support for drop-down completion
11332 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11334 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11337 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11339 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11342 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11344 * lyx_main.C: change ref to known bugs
11346 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11348 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11349 to work around older babel problems.
11351 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11353 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11355 2001-10-24 Juergen Vigna <jug@sad.it>
11357 * tabular-old.C (ReadOld): below variable changes reflected.
11359 * tabular.[Ch]: added ltType struct for longtable header/footer
11360 defines and changed all instances where they are used. Added
11361 future support for double top/bottom rows.
11363 2001-10-24 José Matos <jamatos@fep.up.pt>
11365 * buffer.h (docbookHandleCaption):
11366 * buffer.C (docbookHandleCaption): removed unused function.
11367 (makeDocBookFile): moved docbook supported version to v4.1.
11369 2001-10-24 José Matos <jamatos@fep.up.pt>
11372 * tabular.C (docbookRow): new function to export docbook code of a row.
11373 (DocBook): now honors the longtable flags.
11375 2001-10-23 José Matos <jamatos@fep.up.pt>
11378 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11379 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11381 * buffer.C (makeLinuxDocFile):
11382 (makeDocBookFile): reworked the preamble, more clean, and with
11383 support for lyx defined entities. Changed the document declaration
11384 to be more XML friendly.
11386 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11387 if we need to output XML that should be done with a filter.
11389 2001-10-22 Juergen Vigna <jug@sad.it>
11391 * sp_pspell.h (class PSpell): add alive function needed in the
11392 controller to see if the spellchecker could be started.
11394 2001-10-22 Juergen Vigna <jug@sad.it>
11396 * buffer.C (insertStringAsLines): modify the font for inserting
11397 chars in certain conditions by calling checkInsertChar(font).
11399 2001-10-19 Juergen Vigna <jug@sad.it>
11401 * text.C (workWidth): use getRow instead of wrong algorithm.
11402 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11404 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11409 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11411 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11413 * text.C (workWidth): do not search for the exact row when
11414 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11415 optimization for big documents.
11417 2001-10-18 Juergen Vigna <jug@sad.it>
11419 * text.C (workWidth): new function with added Inset * parameter.
11421 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11423 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11425 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11426 change return type of getColumnNearX.
11429 * text.C (changeRegionCase): use uppercase/lowercase instead of
11432 (rightMargin): simplify code by factoring out the uses of
11437 (appendParagraph): use Paragraph::size_type
11439 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11441 * vspace.C (asLatexString): add a missing break
11443 2001-10-15 Herbert Voss <voss@perce.de>
11445 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11447 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11452 2001-10-10 André Pönitz <poenitz@gmx.net>
11454 * lyxfunc.C: removed greek_kb_flag.
11456 2001-10-10 Herbert Voss <voss@perce.de>
11458 * lyx_main.C: delete global string help_lyxdir.
11460 2001-10-09 Herbert Voss <voss@perce.de>
11462 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11464 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11466 * lyx_main.C: added global string help_lyxdir.
11468 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11470 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11472 * lyxrc.C (set_font_norm_type): support iso8859-4
11474 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11476 * LaTeX.C (deplog): add another regex for MikTeX
11478 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11480 * lyxrc.C (set_font_norm_type): support iso8859-3
11482 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11484 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11486 * LaTeXFeatures.C: remove special case of french and index
11488 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11489 before \begin{document}). This solves several incompatibilities.
11491 2001-10-03 Garst Reese <reese@isn.net>
11493 * lyx_cb.C: change CheckTex error msg.
11495 2001-10-03 José Matos <jamatos@fep.up.pt>
11497 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11499 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11501 * .cvsignore: update
11503 * lyx_main.C (commandLineVersionInfo): use new style version info.
11505 * buffer.C (writeFile):
11507 (makeLinuxDocFile):
11508 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11510 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11512 * version.h: update to use stuff in version.C
11514 * version.C.in: new file. Contains version information determined
11515 at compile time. This is a merging of version.h and
11518 2001-10-03 Juergen Vigna <jug@sad.it>
11520 * BufferView_pimpl.C (update): don't change "dirty" status in
11523 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11525 * WorkArea.C (c-tor): re-position version string slightly.
11527 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11529 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11530 revert to previous code.
11532 WorkArea.[Ch]: (show, destroySplash): methods removed.
11534 WorkArea.C: rework code so that it's an amalgam of the codes before and
11535 after the splash screen was moved to WorkArea.
11537 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11540 * vspace.C (inPixels):
11543 * buffer.C (insertStringAsLines):
11544 (asciiParagraph): fix types to be large enough
11546 * lyxlex_pimpl.h: change member status from short to int
11548 * layout.h: fix type of endlabeltype
11551 * kbsequence.C (parse): change return type to string::size_type
11553 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11556 * Bullet.C (bulletSize):
11557 (bulletEntry): do not use short ints as parameters
11559 * BufferView2.C (insertLyXFile): change a char to an int.
11561 * WorkArea.C (WorkArea): remove unneeded floats in computation
11563 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11565 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11567 * paragraph.C (asString): Do not ignore newline/hfill chars when
11568 copying to the clipboard.
11570 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11572 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11573 after a multi-line inset.
11575 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11577 * paragraph.C (validate): Set NeedLyXFootnoteCode
11579 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11581 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11582 and decrease-error to decrease.
11584 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11586 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11587 it more readable (should be equivalent)
11589 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11591 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11593 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11595 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11596 of a cursor (row, etc.) after a character has been deleted
11597 (deleteEmptyParagraphMechanism): call the method above on _all_
11598 cursors held by the LyXText when a double space has been
11601 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11603 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11605 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11607 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11608 background. Use greyOut() and the new show() methods to toggle between
11609 the foreground and background. Add code to remove the splash after
11610 its initial showing.
11612 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11613 (create_forms): no longer call Dialogs::showSplash.
11615 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11617 * .cvsignore: add version_info.h
11619 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11621 * version_info.h.in: new file
11623 * Makefile.am: add version_info.h.in
11625 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11626 version_info.h instead of VERSION_INFO
11628 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11630 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11631 The ERT inset now returns string().
11633 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11635 * lyxtext.h, text.C (selectNextWord): renamed as
11636 selectNextWordToSpellcheck.
11638 * text.C (selectNextWordToSpellcheck): Modified to not select
11639 words inside an ERT inset.
11641 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11643 * lyx_cb.C (MenuLayoutSave): change a bit the question
11645 * sp_base.h: include <sys/types.h>
11647 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11649 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11651 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11653 * several files: fix typos in user-visible strings
11655 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * text2.C (pasteSelection): do not set the selection, since it
11658 will be cleared later. Actually, the intent was to fix the way the
11659 selection was set, but I figured rmoving the code was just as good.
11661 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11663 * FontLoader.C (available): Check if font is available without
11666 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11668 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11670 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11672 * lyxrc.[Ch]: added display_graphics variable and associated code.
11674 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11676 * bufferparams.C (hasClassDefaults): new method. Returns true if
11677 the buffer parameters correspond to known class defaults
11679 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11681 * XFormsView.C (show): set minimum size to the main window.
11683 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11685 * text2.C (copySelection):
11687 * lyxfind.C (LyXReplace):
11688 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11689 LyXText::selectionAsString.
11691 * paragraph.C (asString): add "label" argument to the second form
11693 * text2.C (selectionAsString): add "label" argument and pass it to
11694 Paragraph::asString.
11696 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11698 * lyx_main.C (commandLineHelp): remove version information
11700 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11702 * lyx_main.C: add -version commandline option
11704 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11706 * paragraph.h: make the optional constructor arg required instead.
11707 some modifications to other files because of this.
11709 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11711 * lyxserver.C (C_LyXComm_callback): make it static
11713 * lyx_main.C (error_handler): make it static
11715 * lyx_gui.C (LyX_XErrHandler): make it static
11717 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11719 * WorkArea.C: make the extern "C" methods static.
11721 * Makefile.am (lyx_LDADD): simplify
11723 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11725 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11726 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11728 * LyXAction.C (init):
11729 * lyxfunc.C (dispatch): associated code removal.
11731 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * lyxfont.h (isSymbolFont): shut off warning
11735 * text.C (setHeightOfRow):
11736 (getVisibleRow): fix crash with empty paragraphs which have a
11739 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11741 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11744 2001-09-04 José Matos <jamatos@fep.up.pt>
11747 * tabular.C (docbook): rename docBook method to docbook.
11749 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11751 * Makefile.am: add dependencies to main.o.
11753 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11755 * FontLoader.C (available): Return false if !lyxrc.use_gui
11757 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11759 * FontInfo.C (query):
11760 * converter.C (view):
11761 * importer.C (Import):
11762 * exporter.C (Export): Can not -> cannot.
11764 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11766 * BufferView_pimpl.C: allow to create index inset even if
11769 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11771 * buffer.C (getLists): replace boost::tie code with an explicit pair
11772 as boost::tie can break some compilers.
11774 * iterators.h: Added a std:: declaration to the return type of
11777 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11779 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11782 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11784 * iterators.[Ch]: New files. Provide paragraph iterators.
11786 * buffer.C (changeLanguage): Use paragraph iterators.
11787 (isMultiLingual): ditto
11789 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11791 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11793 * FontLoader.C: Support for cmr font.
11795 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11797 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11798 (available): New method.
11800 * FontInfo.C (getFontname): Use scalable fonts even when
11801 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11804 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11806 * converter.C (Formats::view): reverted! Incorrect fix.
11808 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11810 * converter.C (Formats::view): only output the -paper option
11811 if the dvi viewer is xdvi, thereby fixing bug #233429.
11813 2001-08-23 Herbert Voss <voss@perce>
11815 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11817 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11819 * Spacing.h (Spacing): Set space to Default on in the default
11822 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11824 * vc-backend.h (RCS::versionString): add RCS to version
11825 (CVS::versionString): add CVS to version
11827 * vc-backend.C (scanMaster): do not add CVS to version.
11828 (scanMaster): do not add RCS to version
11830 * lyxvc.C (versionString): new method
11832 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11834 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11836 * Spacing.C (set): initialize fval
11838 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11840 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11843 2001-08-16 Juergen Vigna <jug@sad.it>
11845 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11847 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11849 * BufferView_pimpl.C:
11852 * text2.C: setParagraph takes linespacing now
11854 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11856 * LyxAction.C: add internal LFUN_CITATION_INSERT
11858 * LyXView.C: actually apply fix
11860 * bufferlist.C: fix open non-existent file
11862 * lyxfind.C: fix indentation
11864 * lyxfunc.C: remove unneeded assert, fix typo
11866 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11868 * MenuBackend.C: use "Floatname List"
11870 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11872 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11873 when converting LaTeX layout to insetERT.
11874 Generate a non-collapsed float when reading old float
11876 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11878 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11881 2001-08-13 Juergen Vigna <jug@sad.it>
11883 * text.C (fill): return 0 instead of 20 as this seems to be the more
11886 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11888 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11891 2001-08-13 Juergen Vigna <jug@sad.it>
11893 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11895 (SearchBackward): comment out the unlocking of the inset_owner this
11896 should not be needed!
11898 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11900 * Many files: Remove inherit_language, and add latex_language
11902 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11903 collapsible insets.
11905 2001-08-10 Juergen Vigna <jug@sad.it>
11907 * text.C (prepareToPrint): fixed hfill-width in draw!
11909 * BufferView2.C (selectLastWord): save the selection cursor as this
11910 now is cleared in the function LyXText::clearSelection!
11912 2001-08-08 Juergen Vigna <jug@sad.it>
11914 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11915 BACKSPACE type functions.
11917 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11918 is only cutted from the document but not put in the cut-buffer, where
11919 still the old stuff should be.
11921 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11923 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11925 * tabular.C (SetWidthOfCell): fixed special case where the width
11927 (LeftLine): handle '|' in align_special.
11929 (LeftAlreadyDrawed): ditto
11930 (SetWidthOfCell): ditto
11932 2001-08-07 Juergen Vigna <jug@sad.it>
11934 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11936 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11939 * lyxlex.[hC]: ditto
11941 2001-08-06 Juergen Vigna <jug@sad.it>
11943 * text.C (getVisibleRow): fix up row clearing a bit.
11945 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * minibuffer.C: make sure the X server sees the changes in the input.
11949 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * paragraph.C (getFont): split into...
11952 (getLabelFont): this
11953 (getLayoutFont): and this
11954 * paragraph_pimpl.C (realizeFont): calling this
11956 * text2.C (getFont): split into...
11957 (getLayoutFont): this
11958 (getLabelFont): and this
11959 (realizeFont): all three calling this
11961 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11964 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11966 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11968 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11970 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11971 layouts from the Quote inset insertion.
11973 2001-08-03 Juergen Vigna <jug@sad.it>
11975 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11977 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11978 only if status not is already CHANGED_IN_DRAW (second level).
11980 * text.C (draw): don't set the need_break_row when inside an
11983 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11985 * buffer.C (parseSingleLyXformat2Token): handle more latex
11988 * bufferview_funcs.[hC]: change function names to
11989 begin with small char, adjust other files.
11991 2001-08-02 André Pönitz <poenitz@gmx.net>
11994 BufferView_pimpl.C: remove broken special code for math-greek
11996 2001-08-02 Juergen Vigna <jug@sad.it>
11998 * BufferView_pimpl.C (update): redone this function so that we
11999 update the text again if there was a CHANGE_IN_DRAW.
12001 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12002 (drawFromTo): added a new internal bool which is used by draw() and
12004 (general): some cursor drawing problems fixed.
12006 2001-08-01 Juergen Vigna <jug@sad.it>
12008 * lyxfind.C (LyXFind): fixed
12009 (SearchForward): ditto
12010 (SearchBackward): ditto
12012 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12013 spurius drawing of the cursor in the main area.
12015 * text2.C (status): small fix which could lead to a segfault!
12016 (clearSelection): remove unneeded BufferView param.
12018 2001-08-01 André Pönitz <poenitz@gmx.net>
12020 * lyxfunc.C: small change due to changed mathed interface
12022 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12026 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12028 * lyxfunc.c: fail gracefully if file doesn't exist
12033 * BufferView_pimpl.C: IsDirWriteable() proto changed
12035 * LyXView.C: fix updateWindowTitle() to store the last title
12037 2001-07-31 Juergen Vigna <jug@sad.it>
12039 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12040 the font (wrong since using of Paragraph::highestFontInRange).
12042 * paragraph.C (highestFontInRange): added a default_size parameter.
12044 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12045 (setHeightOfRow): reformat
12047 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * converter.[hC] + affected files: move to (inital-char)lowercase
12052 * ParagraphParameters.C (ParagraphParameters): remove commented code
12054 * PainterBase.[Ch]: remove commented code
12056 * LaTeXFeatures.h: add "bool floats" for float.sty
12058 * LaTeXFeatures.C (LaTeXFeatures): init floats
12059 (require): handle float
12060 (getPackages): do it with floats
12062 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12064 * BufferView_pimpl.C (Dispatch): improve handling of
12065 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12067 * commandtags.h: #include lyxfont.h here temporarily to avoid
12070 * bufferlist.h: include LString.h here.
12072 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12074 * text2.C (getStringToIndex): new method.
12076 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12078 * *: Reduced header file dependencies all over.
12080 2001-07-30 Baruch Even <baruch@lyx.org>
12082 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12084 2001-07-29 Baruch Even <baruch@lyx.org>
12086 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12088 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * ParameterStruct.h (endif): add a default constructor to make
12091 sure that all variables is initialized.
12093 * ParagraphParameters.C (ParagraphParameters): adjust
12095 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12097 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12098 index; also, check that there is something to index, and that it
12099 does not span over several paragraphs.
12100 (doubleClick): use WHOLE_WORD_STRICT for double click.
12102 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12104 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12107 2001-07-26 Baruch Even <baruch@lyx.org>
12109 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12110 an InsetFig figure, backwards compatible reading of old figure code.
12112 2001-07-27 Juergen Vigna <jug@sad.it>
12114 * text2.C: font.realize function adaption.
12116 * text.C (draw): add a warnings lyxerr text if needed.
12118 * layout.C: font.realize function adaption.
12120 * language.C: add inherit_language and implement it's handlings
12122 * bufferview_funcs.C (StyleReset): remove language parameter from
12123 font creation (should be language_inherit now).
12125 * bufferparams.C (writeFile): handle ignore_language.
12127 * paragraph.C (getFontSettings): the language has to be resolved
12128 otherwise we have problems in LyXFont!
12130 * lyxfont.C (lyxWriteChanges): added document_language parameter
12131 (update): removed unneeded language parameter
12133 * paragraph.C (validate): fixed wrong output of color-package when
12134 using interface colors for certain fonts in certain environments,
12135 which should not seen as that on the final output.
12137 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12139 * BufferView_pimpl.C:
12144 * LyXAction.C: add thesaurus support
12147 * lyxfind.C: add "once" parameter, for thesaurus, to not
12148 move to the next match
12150 2001-07-26 Juergen Vigna <jug@sad.it>
12152 * lyxfont.C (realize): honor ignore_language too!
12155 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12157 * text.C (draw): one place more for ignore_language to not draw
12160 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12162 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12164 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12167 the minipage conversion problem.
12169 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12171 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12174 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12176 * BufferView.h: don't forward declare WorkArea
12178 * BufferView.C: don't include WorkArea.h
12180 2001-07-25 André Pönitz <poenitz@gmx.net>
12184 * lyxfunc.C: new LFUN 'math-space'
12186 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12188 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * text2.C (toggleInset): call open/close
12192 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * lyxfunc.C (dispatch): add debug for the disabled case
12196 * font.C (buttonText): make similar to rectText
12198 * buffer.C (readInset): comment out parsing of insetlist and
12201 * PainterBase.C (rectText): small correction
12203 * BufferView_pimpl.C: comment out insettheorem and insetlist
12204 * LyXAction.C: ditto
12205 * commandtags.h: ditto
12207 2001-07-24 Juergen Vigna <jug@sad.it>
12209 * text.C (draw): honor the ignore_language.
12211 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12213 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12215 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12218 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12220 * lyxtext.h: remove unused (and unimplemented) methods
12222 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12224 * text.C (getVisibleRow): honor background color
12227 * Painter.h: remove default color argument for fillRectangle
12229 * text.C (backgroundColor): new method
12231 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * text.C (getVisibleRow): adjust
12235 * font.[Ch] (rectText): new method, metrics
12236 (buttonText): new method, metrics
12238 * PainterBase.[hC]: make rectText and buttonText always draw and take
12241 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12243 * ToolbarDefaults.C (read):
12244 * MenuBackend.C (read): allow escaping in all strings
12246 * BufferView_pimpl.C (insertAndEditInset): new method.
12247 (Dispatch): use insertAndEditInset whenever appropriate.
12249 * BufferView_pimpl.C (insertNote): removed
12251 * BufferView_pimpl.C (smartQuote): new method, moved from
12252 BufferView; if an insetquote cannot be inserted, insert a '"'
12255 * BufferView2.C: remove insertCorrectQuote();
12257 * lyxfunc.C (getStatus): Add support for all remaingin
12258 inset-insert lfuns.
12260 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12262 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12263 command (necessary to pass " as parameter of self-insert.
12265 * text.C (selectWordWhenUnderCursor):
12266 (selectWord): add word_location parameter
12267 (selectWordWhenUnderCursor): same + remove special code for word
12269 (selectNextWord): use kind() to guess type of insetspecialchar,
12272 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12273 (insertErtContents): create ert insets as collapsed.
12274 (readInset): better compatibility code for Info inset.
12276 2001-07-20 Juergen Vigna <jug@sad.it>
12278 * lyxfunc.C (dispatch): use always LyXFind now!
12280 * text2.C (init): add a reinit flag so that the LyXText can be
12281 reinited instead of deleted and reallocated (used in InsetText).
12283 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12289 2001-07-18 Juergen Vigna <jug@sad.it>
12291 * text.C (selectNextWord): handle insets inside inset by calling
12292 always the bv->text functions so that we can go up the_locking_inset!
12294 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12295 in strange locations when inside an inset!
12297 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12298 handling to include insets.
12300 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12302 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12304 * LyXAction.C (init):
12306 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12307 LIGATURE_BREAK, since the name is so stupid.
12309 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12311 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12314 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12316 * sp_form.[Ch]: remove.
12318 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12320 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12323 * src/buffer.C (readInset): ditto.
12325 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12327 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12328 menuSeparator(), endOfSentenceDot(), ldots() and
12329 hyphenationPoint(), which are therefore removed.
12330 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12332 * LyXAction.C (init):
12333 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12335 * paragraph.C (getWord): removed.
12337 * BufferView_pimpl.C (Dispatch): use last word or selection for
12338 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12340 * lyx_main.C (queryUserLyXDir): do not ask before creating
12341 user_dir, except if it has been named explicitely.
12343 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12345 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12346 a document of zero size.
12348 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12350 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12351 approriately in the c-tor and in require().
12352 (getPackages): output the appropriate LaTeX for natbib support.
12354 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12355 variables "use_natbib" and "use_numerical_citations" when reading the
12357 (readInset): read the various natbib cite commands.
12358 (validate): white-space change.
12360 * bufferparams.[Ch]: new variables "bool use_natbib" and
12361 "bool use_numerical_citations".
12362 (writeFile): output them in the LyX file.
12364 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12366 * lyxfunc.C (getStatus): add support for all the inset insertion
12369 * text2.C (insertInset):
12370 * paragraph.C (insetAllowed):
12371 * BufferView_pimpl.C (insertInset): update to take in account the
12372 renaming of insertInsetAllowed
12374 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12376 * text2.C (getInset): new method. returns inset at cursor position.
12378 * BufferView_pimpl.C (Dispatch): changes because of this.
12380 * LyXAction.C (init): rename open-stuff to inset-toggle.
12382 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12384 * text2.C (toggleInset): renamed from openStuff; use
12387 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12389 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12391 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12393 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12395 * buffer.C (readLyXformat2): Add filename to the error dialog
12397 2001-07-18 Juergen Vigna <jug@sad.it>
12399 * tabular.C (GetCellNumber): put an assert here instead of the check!
12401 2001-07-17 Juergen Vigna <jug@sad.it>
12403 * BufferView_pimpl.C (toggleSelection): adapted too.
12405 * text.C (selectNextWord): adapted for use with insets.
12406 (selectSelectedWord): ditto
12408 2001-07-17 Juergen Vigna <jug@sad.it>
12410 * sp_spell.C (PSpell): fix initialitation order.
12412 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * paragraph.C: spacing
12416 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12418 * sp_spell.C: repair language selection for pspell
12420 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * lyxfunc.h: change more methods to begin with lower char.
12424 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12426 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12427 for unknown layouts.
12429 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12431 * buffer.C (readLyXformat2): Generate an error dialog if there are
12434 2001-07-16 Juergen Vigna <jug@sad.it>
12436 * sp_spell.C: always compile ISpell part.
12438 * lyxrc.C: added use_pspell entry and it's handling.
12440 2001-07-13 Juergen Vigna <jug@sad.it>
12442 * sp_spell.C: removed double includes.
12444 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12446 Consistent use of Lsstream.h:
12447 * Lsstream.h: added using std::stringstream for consistencies sake.
12449 * buffer.C: removed using std::stringstream
12451 * lyxfont.C (stateText):
12452 * paragraph.C (asString):
12453 * text.C (selectNextWord, selectSelectedWord):
12454 * text2.C (setCounter):
12455 * vspace.C (asString, asLatexString):
12456 std::ostringstream -> ostringstream.
12458 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12460 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12461 * commandtags.h: add LFUN_HELP_ABOUTLYX
12462 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12464 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12466 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12468 * lyx_gui_misc.C: remove spellchecker
12469 * lyxfunc.C: showSpellchecker
12471 * sp_ispell.h: added
12472 * sp_pspell.h: added
12473 * sp_spell.C: added
12474 * sp_form.[Ch]: removed
12475 * spellchecker.[Ch]: removed
12477 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12479 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12481 (simpleTeXSpecialChars): Simply print the input character without
12482 any special translation if pass_thru is set.
12484 * layout.h: Added bool pass_thru to layout class for being able to
12485 implement pass through of a paragraph for Literate Programming.
12487 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12488 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12489 * layout.C (Read): add "passthru" to list of layout tags and add
12490 code to set the pass_thru boolean when it is read.
12492 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * trans_decl.h: remove allowed from KmodInfo
12496 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12497 remove allowed code
12500 * paragraph_pimpl.C (erase): use boost::prior
12502 * Painter.C (text): use data() instead of c_str() when length is
12504 * WorkArea.C (putClipboard): ditto
12505 * font.h (width): ditto
12507 * BufferView2.C: use it-> instead of (*it). for iterators
12509 * paragraph_pimpl.C: ditto
12510 * paragraph.C: ditto
12511 * minibuffer.C: ditto
12512 * language.C: ditto
12514 * encoding.C: ditto
12515 * counters.C: ditto
12516 * converter.C: ditto
12518 * Variables.C: ditto
12519 * TextCache.C: ditto
12520 * MenuBackend.C: ditto
12521 * LyXAction.C: ditto
12523 * FloatList.C: ditto
12524 * DepTable.C: ditto
12525 * ColorHandler.C (LyXColorHandler): ditto
12527 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12531 * text2.C (openStuff): reintroduce this method (which had been
12532 nuked in NEW_INSETS frenzy).
12534 * lyxfunc.C (Dispatch): when an action has not been handled, use
12535 its name in the error message, not its number.
12537 * paragraph.C (inInset): change method name to begin with lowercase.
12540 * text2.C: updates because of this.
12542 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * ToolbarDefaults.C (add): add spaces in error message
12546 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12548 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12549 (readLyXformat2): rename return_par to first_par, use lyxlex's
12550 pushToken and remove the manual push handling.
12551 (parseSingleLyXformat2Token): add another ert comp. variable:
12552 in_tabular, rename return_par to first_par. handle newlines better
12554 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12558 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12560 * text2.C (getParFromID): removed
12562 * buffer.C (getParFromID): new method moved form lyxtext.
12563 * BufferView2.C (insertErrors): adjust
12564 (setCursorFromRow): adjust
12565 * BufferView_pimpl.C (restorePosition): adjust
12566 * lyxfunc.C (Dispatch): adjust
12567 * undo_funcs.C (textUndo): adjust
12569 (textHandleUndo): adjust
12570 (textHandleUndo): adjust
12572 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * buffer.C: up' the LYX_FORMAT
12576 * lyxfont.h: turn NO_LATEX on as default
12578 * buffer.C (insertErtContents): new methods of tex style compability.
12579 (parseSingleLyXformat2Token): use it several places.
12580 * tabular.C (OldFormatRead): and here
12582 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * text2.C: remove some commented code.
12587 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12588 * trans.C: changes because of the above.
12590 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12592 * text2.C (setCounter): Fix counters bug with bibliography layout.
12594 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12597 own member functions
12598 (simpleTeXSpecialChars): ditto
12600 2001-07-06 Juergen Vigna <jug@sad.it>
12602 * a lot of files: changed the access to LyXText::status and the
12603 call of undo-functions.
12605 * undo.[Ch]: added a inset_id to the undo informations.
12607 * undo_funcs.[Ch]: added and moved here all undo functions.
12609 * lyxtext.h: give the status enum a weight, made status_ a private
12610 variable and made accessor functions for it, removed the whole bunch
12611 of undo-functions as they are now in their own file, make some
12612 functions publically available. Added function ownerParagraph with
12615 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12616 made InInset() a const function, added getParFromID() function.
12618 * buffer.[Ch]: added const version for inset_iterator functions,
12619 added getInsetFromID() function.
12621 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12622 changed undo functions for new version.
12624 2001-07-05 Juergen Vigna <jug@sad.it>
12626 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12627 unknow mechanism does not call the proper constructor but only this
12628 one also if I request the other!?
12630 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12632 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12634 * text2.C (LyXText): use initialization lists.
12636 * lyxtext.h (Selection): initialize set_ and mark_
12637 (init): remove method
12639 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12641 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12643 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * screen.[Ch]: change method names to begin with lowercase
12647 * BufferView_pimpl.C (updateScrollbar): simplify further and
12648 hopefully make it a bit faster.
12650 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12652 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12653 calling directly xforms functions.
12655 * Painter.C (Painter):
12656 * lyx_cb.C (MenuWrite):
12657 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12660 * lyx_gui.C: remove bogus guiruntime extern declaration.
12662 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12666 (redoDrawingOfParagraph): ditto
12667 (redoParagraphs): ditto
12668 (cutSelection): don't create a object for CutAndPaste use the
12669 static method directly
12670 (pasteSelection): ditto
12672 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12675 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * modifications to some other files because of this.
12679 * Makefile.am (lyx_SOURCES): add XFormsView
12681 * XFormsView.[Ch]: new files
12683 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12684 the main window. Move the gui dependent stuff to XFormsView
12686 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12688 * tabular.C (GetCellInset): update cur_cell also in the row/col
12689 version of this function.
12691 * lyxfunc.C: no need to include figure_form.h here.
12697 * lyxvc.C: no need to include forms.h here.
12699 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12701 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12703 * lyxfunc.C (Dispatch):
12705 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12706 constructor argument.
12708 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12710 * paragraph.C (Paragraph): dont't clear, and just set layout.
12711 (makeSameLayout): use params's copy contructor.
12713 * ParagraphParameters.[Ch] (makeSame): delete method
12715 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12717 * Variables.[Ch]: fix indentation, rename set to isSet
12719 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * lyxfunc.C (Dispatch): fix typo
12723 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12725 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12728 * bufferlist.C: include assert.h for emergencyWrite().
12730 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12732 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12733 give up at last (bug #425202) !
12735 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12741 * spellchecker.C: strip spellchecker options and bring up
12742 preferences tab instead
12744 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12747 the istringstream constructor
12749 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12751 * paragraph.C (getLayout): fix return value
12753 * paragraph.h: do not declare getLayout as inline.
12755 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12757 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12759 * lyxcursor.h (operator<): new func
12760 (operator>): new func
12761 (operator>=): new func
12762 (operator<=): new func
12764 * text.C (changeCase): use selection.start and selection.end
12765 (changeRegionCase): require from to be <= to. Require par to be a
12768 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12770 2001-06-27 Juergen Vigna <jug@sad.it>
12772 * text.C (cursorLeftOneWord): changed to return the cursor and added
12773 overlay with BufferView * parameter which calls this one.
12775 (selectWord): use new getWord function.
12776 (changeCase): renamed from changeWordCase as and extended to work
12777 also on selections.
12779 * lyxtext.h: added enum word_location
12781 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12782 changeCase as this operates now also on selections.
12784 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12786 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12788 * many files: send debug output to Debug::INFO instead of
12791 * converter.C (View):
12793 (Move): send debug output to Debug::FILES instead of console.
12795 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12797 * lyxfunc.C (getStatus): use func_status
12799 * func_status.h: new header, describing the results of
12800 LyXFunc::getStatus;
12802 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12805 2001-06-25 The LyX Project <jug@sad.it>
12807 * buffer.C (sgmlOpenTag):
12809 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12811 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * text2.C: remove some dead code
12815 * tabular.C (GetCellInset): store the last cell checked (gotten)
12817 * tabular.h: add the helper for the speedup
12819 * lyxtext.h: remove some dead code
12821 2001-06-26 The LyX Project <Asger>
12823 * paragraph.C: Change export to LaTeX of alignment to
12824 \begin{center} and family for better roundtrip work with reLyX.
12826 * Tune the math drawing a bit.
12828 2001-06-25 The LyX Project <Asger>
12830 * LColor.C (LColor): New color for math background. New color
12833 2001-06-25 The LyX Project <jug@sad.it>
12835 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12837 * lyxfunc.C (Open):
12838 * bufferlist.C (newFile): do not restrict to files ending with
12841 * BufferView_pimpl.C (MenuInsertLyXFile):
12843 2001-06-24 The LyX Project <jug@sad.it>
12845 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12848 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * lyxtext.h: rename most methods to begin with a small char.
12851 Lots of changes because of this.
12853 * paragraph.C (Paragraph): do not call fitToSize
12854 (erase): call Pimpl::erase
12855 (insertChar): call Pimpl::insertChar
12856 (insertInset): call Pipl::insertInset
12857 (breakParagraph): do not call fitToSize
12858 (breakParagraphConservative): do not call fitToSize
12859 (fitToSize): remove method
12861 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12863 2001-06-24 The LyX Project <Asger>
12865 * Fix Qt compilation^2
12867 2001-06-24 The LyX Project <jug@sad.it>
12869 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12870 depthHook(getDepth()-1).
12873 * ParagraphParameters.h:
12874 * ParameterStruct.h: change type of depth to unsigned int ==
12875 depth_type. Many adaptations to other files before of that.
12877 2001-06-24 The LyX Project <Asger>
12879 * Fix Qt compilation.
12881 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12883 * paragraph.h: renamed several methods to begin with small letter.
12884 several changes to many parts of the code because of this.
12886 2001-06-23 The LyX Project <jug@sad.it>
12888 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12889 rewritten to discard all double spaces when KeepEmpty is off
12890 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12891 to only handle newlines but not fiddle with spaces and friends.
12893 * lyxfunc.C (MenuNew): when doing 'new from template', use
12894 template_path as default directory
12896 2001-06-23 The LyX Project <Asger>
12898 * Clean-up of header file includes all over
12899 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12901 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12903 * paragraph.h: renamed from lyxparagraph.h
12905 2001-06-23 Asger <lyx@violet.home.sad.it>
12907 * Buffer.h: Removed Buffer::resize
12908 * BufferList.h: Removed BufferList::resize
12909 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12910 the document lazily when we change the width, or the font settings.
12912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12914 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12916 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12918 * buffer.h: remove out of date comment
12920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12923 * screen.C: fix "theoretical" GC leak
12925 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12927 * LaTeX.C (scanAuxFile):
12928 (deplog): remove trailing \r when reading stream (useful under
12931 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12933 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12934 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12935 and BufferView::theLockingInset(Inset*), so should use them and not
12936 access bv_->text->the_locking_inset directly.
12938 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12940 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12943 * tex-defs.h: remove old unused file
12945 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12947 * BufferView_pimpl.C: fix typo, remove minibuffer message
12948 when buffer has loaded
12950 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12952 * lyxfunc.C (Dispatch): use stringstream
12953 (MenuNew): use stringstream
12954 (Open): use stringstream
12956 * importer.C (Import): use stringstream
12958 * bufferview_funcs.C (CurrentState): use stringstream
12960 * LaTeX.C (run): use stringstream
12962 * BufferView_pimpl.C (savePosition): use stringstream
12963 (restorePosition): use stringstream
12964 (MenuInsertLyXFile): use stringstream
12966 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12979 * vspace.C: removed // -*- C++ -*- as first line.
12982 * version.h: added // -*- C++ -*- as first line.
12984 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12986 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12988 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12991 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12996 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12998 * gettext.C: include LString.h even when --disable-nls is on.
13000 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13002 * converter.h (Get): changed argument type from int to
13003 FormatList::size_type to avoid unnecessary conversion.
13005 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13008 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * gettext.h: include LString.h even when --disable-nls is on.
13012 2001-06-07 Juergen Vigna <jug@sad.it>
13014 * text.C (BreakAgain): subst spaces with tabs.
13016 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13017 (resizeInsetsLyXText): set force on resizeLyXText.
13019 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13021 * gettext.h (gettext_init):
13022 (locale_init): use a real definition instead of a macro
13024 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13026 * Bufferview_pimpl.C:
13028 * LColor.C: further lcolor tidies
13030 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * BufferView_pimpl.C (updateScrollbar): simplify.
13034 * BufferView2.C: don't include insets/insetinfo.h, change
13035 prototype for insertInset and call the Pimpl version. let
13036 updateInset call Pimpl version.
13038 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13039 gotoInset to BufferView::Pimpl
13041 2001-06-01 Juergen Vigna <jug@sad.it>
13043 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13044 inside a LockingInset (is the update needed at all?).
13046 2001-05-31 Juergen Vigna <jug@sad.it>
13048 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13049 here not the old one otherwise how should we compare it afterwards
13052 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13057 * FontInfo.C: bring C functions into global namespace when
13060 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13062 * LString.h: make sure config.h has been loaded before LString.h.
13064 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13065 (one for each char read by EatLine!).
13067 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13070 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13073 to the same as the par we break from
13075 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13079 * MenuBackend.C (expand): also create menu entries for wide
13080 versions of the floats.
13082 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13084 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13086 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13087 frontends/Makefile.am
13093 * tabular.C (getTokenValue): add std::
13095 * tabular-old.C (getTokenValue): add std::
13096 (getTokenValue): ditto
13097 (getTokenValue): ditto
13099 * screen.C (ToggleSelection): adjust
13101 * lyxtext.h: put selection cursors inside a Selection struct.
13103 * lyxfunc.C (moveCursorUpdate): adjust
13105 * lyxfont.C (latexWriteStartChanges): add std::
13107 * lyxfind.C: adjust
13109 * font.h: delete with(char const *, LyXFont const &)
13111 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13113 * FontInfo.C (getFontname): add std::
13115 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13116 (workAreaButtonPress): adjust
13117 (tripleClick): adjust
13119 (moveCursorUpdate): adjust
13122 * BufferView2.C (gotoInset): adjust
13124 2001-05-30 Juergen Vigna <jug@sad.it>
13126 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13127 to check pspell I add this as default as I now have new pspell
13128 libraries and they seem to use this.
13130 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * text2.C (CutSelection): make the cursor valid before the call to
13135 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13138 relied on 0 terminated strings and other horrors. Bug found due to
13139 the new assert in lyxstring!
13141 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13144 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13149 * lyxfunc.C (processKeySym): change method of getting to the
13152 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13153 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13154 * BufferView_pimpl.[Ch]: here as private methods.
13156 2001-05-28 Juergen Vigna <jug@sad.it>
13158 * text.C (SetHeightOfRow): added the update() call again as it is
13159 needed to initialize inset dimensions!
13161 2001-05-16 Juergen Vigna <jug@sad.it>
13163 * text2.C (SetCharFont): Add new function with BufferView * and
13164 bool toggleall parameters for setting insets internal fonts.
13165 (SetFont): Freeze the undo as we may change fonts in Insets and
13166 all this change should be inside only one Undo!
13168 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13169 setting font's in insets as for them we have the SetFont function!
13171 2001-05-15 Juergen Vigna <jug@sad.it>
13173 * text2.C (ClearSelection): to be sure we REALLY don't have any
13176 * tabular.C (TeXCellPreamble): fixed the left border problem for
13179 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13181 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13184 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13186 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13187 LFUN_BREAKPARAGRAPH.
13189 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13190 help test to "internal only", similar for LFUN_INSERT_URL
13192 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13193 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13194 auto_region_delete and deadkeys.
13196 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13199 * LColor.C: remove some dead entries, tidy a little
13201 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13203 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13205 (Dispatch): implement LFUN_ESCAPE
13207 * commandtags.h: add LFUN_ESCAPE
13209 * LyXAction.C (init): add entry for LFUN_ESCAPE
13211 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13212 Remove commented code.
13213 (insertNote): moved here
13214 (open_new_inset): moved here
13216 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13219 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * kbmap.C (findbinding): clean it up and make it work correctly.
13223 * lyx_main.C (init): do not pass argc and argv as parameters
13225 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13227 * buffer.C: fix path for OS/2 & Win32
13231 * lyx_main.C: Added os:: class.
13233 * os2_defines.h: update
13235 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13237 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13238 better by trying again with reduced state.
13240 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * lyxrc.C (read): print error about invalid key sequence only when
13243 debugging (because not all latinX keysyms are known to some X
13246 * kbsequence.C (getiso): add a few std:: qualifiers
13247 (getiso): comment out extra return statement.
13249 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13251 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13253 (Dispatch): enhance the accent inset a bit. (not perfect)
13255 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13259 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13261 * bufferlist.C (emergencyWrite): fix assert() call
13263 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13265 * text.C (InsertChar): Added trivial patch to only send the "you
13266 can not do multiple spaces this way" message once during a
13269 2001-05-08 Baruch Even <baruch@lyx.org>
13271 * Makefile.am: Changed order of libraries to get LyX to link properly
13272 with the gnome frontend.
13274 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13276 * LaTeXFeatures.h: add a std:: qualifier
13278 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * paragraph.C (String): use stringstream
13282 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13284 * paragraph.C (writeFile): remove footflag arg
13286 * buffer.C (makeLaTeXFile): use stringstream
13287 (latexParagraphs): remove footnot gurba
13289 * LaTeXFeatures.C (getPackages): use stringstream
13290 (getMacros): likewise
13291 (getTClassPreamble): likewise
13292 (getFloatDefinitions): new method
13294 * paragraph.C (writeFile): reindent
13297 * WorkArea.h: revert the xpos + etc changes.
13299 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13301 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13303 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13304 (pasteSelection): likewise
13305 * text2.C (CreateUndo): likewise
13307 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13309 * minibuffer.C (peek_event): temporarily reduce the functionality
13310 of the minibuffer (to allow args on lfuns)
13312 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13313 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13315 * buffer.C (readInset): add compability reading of old float
13316 lists, add reading of new style float list.
13317 (readInset): avoid reevaluation of inscmd.getCmdName()
13318 (getLists): reindent
13320 * MenuBackend.C (MenuItem): implement parsing of
13321 md_floatlistinsert and md_floatinsert.
13322 (expand::LastFiles): move initalizaton of iterators out of loop,
13323 avoid reevaluation.
13324 (expand::Documents): introduce typdedef vector<string> Strings,
13326 (expand::ExportFormats): introduce typedef vector<Format const *>
13327 Formats, and use it.
13328 (expand): implement FloatListInsert and FloatInsert.
13330 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13331 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13332 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13334 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13336 (Dispatch::LFUN_FLOAT_LIST): implement
13338 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13340 * LaTeX.C (run): Fix problem with --export code.
13342 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13344 * BufferView.[Ch] (workarea): removed.
13345 (getClipboard) new method; wrapper for workarea()->getClipboard()
13347 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13350 * WorkArea.h (width, height, xpos, ypos): These methods all
13351 returned the dimensions of the work_area sub-area of WorkArea,
13352 resulting in a position error if the WorkArea were resized. Now
13353 return the dimensions of the entire WorkArea.
13355 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13357 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * LaTeX.C (deplog): correct the syntax of regex reg1
13361 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * undo.C: remove !NEW_INSETS cruft
13365 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * text2.C: remove !NEW_INSETS cruft
13369 * text.C: remove !NEW_INSETS cruft
13371 * tabular.C: remove !NEW_INSETS cruft
13373 * spellchecker.C: remove !NEW_INSETS cruft
13375 * lyxtext.h: remove !NEW_INSETS cruft
13377 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13379 * lyxfunc.C: remove !NEW_INSETS cruft
13381 * lyxfind.C: remove !NEW_INSETS cruft
13383 * lyx_cb.C: remove !NEW_INSETS cruft
13385 * figureForm.C: remove !NEW_INSETS cruft
13387 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13389 * buffer.[Ch]: remove !NEW_INSETS cruft
13391 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13393 * CutAndPaste.C: remove !NEW_INSETS cruft
13395 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13397 * BufferView2.C: remove !NEW_INSETS cruft
13399 * BufferView.h: remove !NEW_INSETS cruft
13401 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13403 * Lsstream.h: include LString.h before the sstream headers to
13404 fix problem with gcc 2.95.3 and lyxstring
13406 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13408 * lyx_main.C: add using directives when needed for C functions
13409 declared in std:: namespace.
13411 2001-04-27 Juergen Vigna <jug@sad.it>
13413 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13414 (SetHeightOfRow): comment out the update call should not be needed!
13416 2001-04-13 Juergen Vigna <jug@sad.it>
13418 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13419 (LyXTabular): tried to minimize operator= operations (and realized
13420 hopfully Lars wish).
13422 2001-04-27 Juergen Vigna <jug@sad.it>
13424 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13426 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13428 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13430 * buffer.C (readInset): hack to make listof algorithm work
13432 * BufferView_pimpl.C: hack to make listof algorithm work
13434 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13436 * LyXAction.C: removed all !NEW_INSETS cruft
13437 (init): moved lfun_item in method
13439 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13441 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13443 * BufferView2.C (theLockingInset): white space.
13445 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * minibuffer.C: include <iostream>
13449 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13451 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13453 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13455 * text.[Ch] (TransposeChars): new method
13457 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13459 * call message directly through LyXView instead of through LyXFunc
13460 * BufferView2.C: adjust
13461 * BufferView_pimpl.C: adjust
13462 * FontLoader.C: adjust
13464 * bufferview_funcs.C: adjust
13465 * converter.C: adjust
13466 * figureForm.C: adjust
13467 * importer.C: adjust
13469 * lyx_gui_misc.C: adjust
13470 * lyxfunc.C: adjust
13473 + more files in subdirs
13475 * lyxparagraph.h (size): move up int file
13478 * adjust all uses of Assert to lyx::Assert.
13480 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13481 lyxfunctional in namespace lyx
13482 * layout.C (hasLayout): ditto
13485 (delete_layout): ditto
13486 (NumberOfClass): ditto
13487 * converter.C (GetFormat): ditto
13492 * bufferlist.C (getFileNames): ditto
13493 (emergencyWriteAll): ditto
13496 * MenuBackend.C (hasSubmenu): ditto
13499 * BufferView_pimpl.C (getInsetByCode): ditto
13501 2001-04-18 Juergen Vigna <jug@sad.it>
13503 * vspace.C (asLatexString): fixed the 100% problem.
13505 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * lyxfunc.C (Dispatch):
13509 * minibuffer.h: add a few std:: qualifiers
13511 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * minibuffer.[Ch]: reimplement so that commands is initiated and
13514 run from lyxfunc, simplified som handling, and made the completion
13515 and history code for complete. wip.
13517 * lyxfunc.C (processKeySym): call message
13518 (miniDispatch): new temporary method
13519 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13520 (LFUN_MESSAGE): implement
13521 (LFUN_MESSAGE_PUSH): implement
13522 (LFUN_MESSAGE_POP): implement
13523 (initMiniBuffer): the initial/defualt minibuffer message.
13525 * lyxfont.[Ch]: inline some more getters
13527 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13529 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13531 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13532 (AutoSave): use LFUN_MESSAGE
13533 (Reconfigure): ditto
13535 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13537 * figureForm.C: use LFUN_MESSAGE
13539 * converter.C (runLaTeX): use LFUN_MESSAGE
13541 * bufferview_funcs.C: use LFUN_MESSAGE
13543 (changeDepth): ditto
13545 * bufferparams.h: use boost::
13547 * bufferlist.h: inherit privately from noncopyable
13549 * bufferlist.C (loadLyXFile): remove some commented code.
13551 * buffer.C (runChktex): use LFUN_MESSAGE
13553 * ShareContainer.h: inherit privately from noncopyable
13555 * ParagraphParameters.[hC] (depth): inline it.
13557 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13559 (message): new method
13560 (messagePush): ditto
13561 (messagePop): ditto
13562 (show): init minibuffer
13563 (showState): direct call
13565 * LaTeX.[Ch]: inherit privately from noncopyable
13566 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13567 instead of WriteStatus.
13569 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13571 * BufferView_pimpl.C (buffer): don't init minibuffer
13572 (workAreaButtonPress): use LFUN_MESSAGE
13573 (workAreaButtonRelease): ditto
13574 (savePosition): ditto
13575 (restorePosition): ditto
13576 (MenuInsertLyXFile): ditto
13577 (workAreaExpose): don't init minibuffer
13578 (update): remove commented code, simplify
13580 * BufferView2.C (openStuff): use LFUN_MESSAGE
13581 (toggleFloat): ditto
13584 (copyEnvironment): ditto
13585 (pasteEnvironment): ditto
13590 (updateInset): remove some commented code
13592 * lastfiles.h: inherit privately from noncopyable
13595 * lyx_main.h: ditto
13597 * lyxlex_pimpl.h: ditto
13599 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13600 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13601 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13603 * LyXAction.h: inherit privately from noncopyable, add methods
13604 func_begin, func_end, returning iterators to the func map.
13606 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13607 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13608 (func_begin): new method
13609 (func_end): new method
13611 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13613 (copySelection): ditto
13614 (pasteSelection): ditto
13616 * BufferView.C: whitespace change
13617 * BufferView.h: inherit privately from noncopyable
13619 2001-04-16 Allan Rae <rae@lyx.org>
13621 * tabular-old.C (l_getline):
13622 * spellchecker.C (sc_check_word):
13623 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13624 an unrecognised preprocessor directive. So ensure they're wrapped.
13626 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13628 * src/exporter.C (Export): Give an error message when path to file
13631 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13633 * LaTeX.C (deplog): Always check that foundfile exists.
13635 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13638 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13640 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13642 * tabular.[Ch] (getLabelList): implement new method
13644 * minibuffer.h: comment ouf setTiimer
13646 * minibuffer.C (ExecutingCB): constify res
13647 (peek_event): constify s
13648 (Set): constify ntext
13649 (Init): constify nicename
13651 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13653 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13654 (savePosition): use two params to Minibuffer::Set
13655 (restorePosition): ditto
13657 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * lyx_main.C: include language.h
13661 * Makefile.am (lyx_main.o): add language.h
13663 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13669 * CutAndPaste.C: include gettext.h
13671 * lyxfont.h: remove old hack with ON and OFF.
13674 * lyxfont.h: do not include language.h...
13679 * bufferview_funcs.C:
13685 * paragraph.C: ... but do it here instead
13687 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13689 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13691 * tabular.C: small reformat
13693 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13696 (BreakParagraph): ditto
13697 (SetOnlyLayout): ditto
13700 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13703 * lastfiles.C: removed most using decl, add std:: where needed
13705 * buffer.C: ws changes
13707 * MenuBackend.C (class compare_format): put into anon namespace
13708 (expand): constify label, names, action, action2
13711 * text.C (SingleWidth): constify font
13712 (IsBoundary): constify rtl2
13713 (GetVisibleRow): constify ww
13715 * LaTeX.C (deplog): constify logfile
13717 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13719 (workAreaExpose): constify widthChange, heightChange
13721 * lyxrow.C (par): moved
13724 * lyxrow.h: as inlines here
13726 * lyxfont.h (shape): moved from lyxfont.C
13727 (emph): moved from lyxfont.C
13729 * lyxfont.C (LyXFont): use initialization list for all
13731 (shape): move to lyxfont.h as inline
13732 (emph): move to lyxfont.h as inline
13735 2001-04-04 Juergen Vigna <jug@sad.it>
13737 * vspace.C: had to include stdio.h for use of sscanf
13739 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13742 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13743 independent of xforms.
13745 2001-04-02 Juergen Vigna <jug@sad.it>
13747 * spellchecker.C: fixed namespace placing!
13749 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13751 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13752 the LyXParagraph * is 0.
13754 2001-03-29 Juergen Vigna <jug@sad.it>
13756 * vspace.C: added support for %, c%, p%, l%.
13757 (stringFromUnit): added helper function.
13758 (asLatexString): changed to give right results for the %-values.
13760 * buffer.C: convert the widthp in a width%.
13762 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13764 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13767 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13768 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13770 * lyx_cb.[Ch]: see above.
13772 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13776 * lyx.[Ch]: replaced by figure_form.[Ch].
13780 * lyxfunc.C: changed headers associated with above changes.
13782 2001-03-27 Juergen Vigna <jug@sad.it>
13784 * BufferView_pimpl.C: set the temporary cursor right!
13786 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13788 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13790 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13792 * LString.h: removed "using std::getline"!
13794 * BufferView_pimpl.C (Dispatch): changes due to changes in
13795 InsetInclude::Params.
13797 * buffer.C (tag_name): removed redundant break statements as they were
13798 producing lots of warnings with my compiler.
13800 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13802 * LString.h: add "using std::getline" when using the real <string>.
13804 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13806 * buffer.C: removed bitset usage.
13807 PAR_TAG moved to an anonymous name space.
13808 (tag_name): new funtion, also in the anonymous namespace.
13809 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13810 (makeDocBookFile): clean code. Completed transition from string arrays
13812 (SimpleDocBookOnePar): code clean.
13814 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13816 * tabular.C: add some comments.
13818 2001-03-22 Juergen Vigna <jug@sad.it>
13820 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13821 compatibility read a bit and fixed bug with minipage in different
13824 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13826 * buffer.C (pop_tag): removed.
13827 (push_tag): removed.
13828 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13829 array replaced with vector. Added support for CDATA sections.
13830 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13832 (makeDocBookFile): XML conformant declaration of CDATA section,
13833 fixed bug related to <emphasis> in the first paragraph char.
13834 (sgmlOpenTag): exclude empty tags.
13835 (sgmlCloseTag): ditto.
13837 * buffer.h (pop_tag): removed.
13838 (push_tag): removed.
13840 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13842 * language.h (Languages): added size_type and size().
13844 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13846 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13847 response on compability reading of minipages. One probliem is that
13848 the old usage of minipages was «flertydig»
13850 * several files here and in subdirs: don't use static at file
13851 scope use anon namespaces instead.
13853 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13855 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13856 LaTeX output. This is necessary for Literate document
13859 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13861 * buffer.C: insert hfill when needed.
13863 * tabular.C (l_getline): use string::erase, small whitespace change.
13865 * BufferView_pimpl.C: try the anon namespace.
13866 * WorkArea.C: ditto
13868 2001-03-16 Juergen Vigna <jug@sad.it>
13870 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13871 otherwise it won't open options-dialogs.
13873 * buffer.C: honor pextraWidth(p) on converting minipages.
13875 * tabular.C (l_getline): changed the functions to strip trailing \r.
13877 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13879 * BufferView_pimpl.C:
13880 * minibuffer..C: added "using SigC::slot" declaration.
13882 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13884 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13890 * paragraph.C: ditto
13892 * lyxtext.h: NO_PEXTRA
13894 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13896 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13897 * ParameterStruct.h: ditto
13898 * ParagraphParameters.h: ditto
13899 * lyxparagraph.h: ditto
13901 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13903 * buffer.C: add compability for minipage alignment.
13904 (latexParagraphs): remove unwanted pextra check.
13906 * several files: remove CXX_WORKING_NAMESPACES
13908 * buffer.C (pop_tag): tie is in namespace boost
13910 * BufferView.h: noncopyable is in namespace boost
13912 * lyx_main.h: ditto
13915 * lastfiles.h: ditto
13916 * bufferlist.h: ditto
13917 * ShareContainer.h: ditto
13919 * LyXAction.h: ditto
13922 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13924 * Merging changes from BRANCH_MVC back into HEAD.
13926 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13928 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13930 * BufferView_pimpl.C: change from intl.C
13934 * Makefile.am: move combox.*
13940 * intl.C: remove dialog (covered by prefs)
13942 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13944 * lyxfunc.C (Dispatch): removed redundant break statement.
13946 2001-03-14 Juergen Vigna <jug@sad.it>
13948 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13950 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13952 * buffer.C: add hack to fix compability reading of minipages.
13954 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13956 * buffer.C (getLists): Cleanup.
13958 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13960 * lyxfont.C (update): don't honor toggleall on font size.
13962 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13966 * Makefile.am: moved to frontends/xforms/
13970 * BufferView_pimpl.C: changes for moved mathpanel
13972 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13974 * gettext.h: fix gettext_init() in --disable-nls
13976 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13978 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13980 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13983 * lyx.h: strip external form
13985 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13987 * BufferView_pimpl.C: add comment, destroySplash()
13989 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13991 * BufferView_pimpl.C:
13995 * lyxfunc.C: use re-worked insetinclude
13997 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13999 * buffer.C: add using std::stringstream.
14001 * lyx_cb.C: readd using std::ios.
14003 * buffer.C: add using std::map.
14005 * BufferView_pimpl.C: add using std::vector.
14007 * ShareContainer.h: add std:: to swap.
14009 * buffer.h: add some typedefs
14010 * buffer.C (getLists): use them
14011 (getLists): renamed from getTocList.
14012 add a counter for the different float types and use it in the
14014 (getLists): use the same counter for the NEW_INSETS and the "non"
14017 * lyx_cb.h: remove unused items, includes, using etc.
14019 * ShareContainer.h: remove some commented code, add more comments
14020 and "documentation".
14022 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14024 * buffer.C (getTocList): make the list also when NEW_INSETS is
14027 * buffer.h: remove TocType
14029 * buffer.C (getTocList): change to return a map<string,
14030 vector<TocItem> >, implement for dynamic number of list.
14032 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14033 * text2.C (PasteSelection): adjust
14034 * CutAndPaste.C (pasteSelection): adjust
14036 * FloatList.C (FloatList): update from the new_insets branch.
14037 * Floating.[Ch]: ditto
14038 * LaTeXFeatures.C: ditto
14040 * lyxlex_pimpl.C: ditto
14042 * paragraph.C (Last): remove when NEW_INSETS is defined.
14044 * other file: changes because of the above.
14046 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14048 * lyxparagraph.h: rename next to next_, previous to previous_,
14049 make them private for NEW_INSETS. Rename Next() to next(),
14050 Previous() to previous().
14052 * other files: changes because of the above.
14054 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14057 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14060 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * main.C (main): pass lyx_localedir to gettext_init().
14064 * gettext.h: remove locale_init and gettext_init macros
14066 * gettext.C (locale_init): new function
14067 (gettext_init): new function
14069 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14072 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14074 * Moved credits to frontends:
14075 * credits.[Ch]: removed
14076 * credits_form.[Ch]: removed
14077 * lyx_gui_misc.C: remove credits stuff
14080 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14082 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14084 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14085 unneeded destructor.
14087 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14088 a standalone pointer again.
14090 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14092 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14098 * ToolbarDefaults.C:
14107 * BufferView_pimpl.C: use new file dialog in GUII
14110 * lyx_cb.C: remove LayoutsCB to Toolbar
14112 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14114 * ShareContainer.h (get): add std:: qualifier
14116 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14118 * ShareContainer.h: define a proper ShareContainer::value_type
14119 type (and use typename to please compaq cxx)
14121 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14123 * lyxparagraph.h: move serveral local vars to
14124 ParameterStruct/ParagraphParameters., use ShareContainer in
14125 FontTable., make vars in FontTable private and add getter and
14128 * paragraph.C: changes because of the above.
14130 * lyxfont.h: remove copy constructor and copy assignment. (the
14131 default ones is ok), move number inside FontBits. move inlines to
14134 * lyxfont.C: add number to initializaton of statics, move several
14135 inlines here. constify several local vars. some whitespace
14136 cleanup. Dont hide outerscope variables.
14138 * Spacing.h: add two new constructors to match the set methods.
14140 * ShareContainer.h: new file, will perhaps be moved to support
14142 * ParameterStruct.h: new file
14144 * ParagraphParameters.h: new file
14146 * ParagraphParameters.C: new file
14148 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14149 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14151 * BufferView_pimpl.C: ParagraphParameter changes.
14152 * buffer.C: Likewise.
14153 * bufferview_funcs.C: Likewise.
14154 * text.C: Likewise.
14155 * text2.C: Likewise.
14157 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14159 * lyxfind.C (LyXReplace): do not redefine default argument in
14161 (IsStringInText): ditto
14162 (SearchForward): ditto
14163 (SearchBackward): ditto
14165 2001-03-06 Juergen Vigna <jug@sad.it>
14167 * lyxfind.C (IsStringInText): put parentes around expressions.
14169 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14171 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14173 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14175 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14177 * stl_string_fwd.h: add comment
14179 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14182 * tabular.C: remove unused DocBook methods
14188 killed DO_USE_DEFAULT_LANGUAGE
14190 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14192 * lyx_gui.C: do not include language.h.
14194 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14195 arguments in function implementation.
14197 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14199 * BufferView_pimpl.C: add <ctime>
14201 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14203 * BufferView_pimpl.C: add using std::find_if
14205 2001-02-27 José Matos <jamatos@fep.up.pt>
14207 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14210 2001-02-11 José Matos <jamatos@fep.up.pt>
14212 * buffer.C (makeDocBookFile): command styles now have a parameter as
14213 "title" by default.
14215 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14217 * layout_forms.[Ch]: removed
14218 * lyx_cb.[Ch]: out character
14219 * lyx_gui.C: out character
14220 * lyx_gui_misc.C: out character
14221 * bufferview_funcs.C: : out character,
14222 added toggleall as parameter in ToggleAndShow
14224 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14226 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14228 * text2.C (SetCurrentFont): Disable number property at boundary.
14230 2001-02-26 Juergen Vigna <jug@sad.it>
14232 * lyxfunc.C (getStatus): added a string argument override function so
14233 that this is correctly called from LyXFunc::Dispatch if it contains a
14234 do_not_use_argument which is used!
14235 (Dispatch): added check for "custom" export and call appropriate func.
14237 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14239 * lyxrc.C: Add language_command_local, language_use_babel and
14240 language_global_options.
14242 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14244 * buffer.C (makeLaTeXFile): Use language_use_babel and
14245 language_global_options.
14247 2001-02-23 Juergen Vigna <jug@sad.it>
14249 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14250 which works with LyXText and putted it inside BufferView. Here now we
14251 only call for that part the BufferView::Dispatch() function.
14253 * BufferView.C (Dispatch): added.
14255 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14256 functions which needs to use a LyXText over from LyXFunc.
14257 (MenuInsertLyXFile): added
14258 (getInsetByCode): added
14259 (moveCursorUpdate): added
14260 (static TEXT): added
14262 2001-02-22 Juergen Vigna <jug@sad.it>
14264 * BufferView_pimpl.C (update): call a status update to see if LyXText
14267 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14269 * vc-backend.C (revert): implement for CVS
14270 (getLog): implement for CVS
14272 2001-02-20 Juergen Vigna <jug@sad.it>
14274 * text2.C (ClearSelection): added BufferView param for inset_owner call
14276 * lyxfunc.C (TEXT): added this function and use it instead of
14277 directly owner->view()-text of getLyXText().
14279 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14281 * src/layout_forms.C: out preamble
14282 * src/layout_forms.h: out preamble
14283 * src/lyx_cb.C: out preamble
14284 * src/lyx_cb.h: out preamble
14285 * src/lyx_gui.C: out preamble
14286 * src/lyx_gui_misc.C: out preamble
14287 * src/lyxfunc.C: connect with guii preamble
14289 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14291 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14293 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14295 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14296 whether to run bibtex.
14298 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14300 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14302 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14304 * Makefile.am (lyx_SOURCES): removed bibforms.h
14306 * vspace.h: doxygen
14308 * text.C (GetVisibleRow): make several local vars const
14310 * tabular.C: small cleanup.
14312 * lyxserver.C (callback): use compare instead of strncmp
14314 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14315 inlines to after class or to paragraph.C
14317 * lyxfont.h: remove friend operator!=
14319 * converter.h: move friend bool operator< to non friend and after
14322 * combox.h: small cleanup
14324 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14325 to inlines after class def.
14327 * buffer.C (pop_tag): use string operations instead of strcmp
14329 * bmtable.c: doxygen, small cleanup
14331 * LaTeX.h: remove friend operator==
14333 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14345 * BufferView_pimpl.C:
14346 * BufferView.[Ch]: remove cruft
14348 2001-02-14 Juergen Vigna <jug@sad.it>
14350 * lyxfunc.C: removed #if 0 unused code
14352 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14354 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14356 * text2.C (SetSelection): added a BufferView * parameter
14358 2001-02-13 Juergen Vigna <jug@sad.it>
14360 * lyxfunc.C (Dispatch): fixed protected blank problem.
14361 * BufferView2.C (protectedBlank): added LyxText * parameter.
14363 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14364 (AppendColumn): same as above for column_info.
14366 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14367 (moveCursorUpdate): use a LyXText param for support of InsetText.
14369 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14370 (tripleClick): ditto
14372 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14374 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14376 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14378 * text2.C (SetSelection): set correct update status if inset_owner
14379 (ToggleFree): ditto
14381 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14383 * tabular.C: remove some commented code.
14385 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14387 * BufferView_pimpl.C: call hideSplash()
14389 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14392 * bibforms.h: remove
14395 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14396 add LFUN_CHILD_CREATE
14398 * counters.h: fix tiny typo
14403 * lyx.C: move splash to frontends/xforms/
14405 * lyx_gui_misc.C: move Include and Bibform to frontends
14407 * lyxvc.h: clarify comment
14409 * vspace.C: tiny housekeeping
14411 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14413 * text.C (PrepareToPrint): RTL Fix.
14415 * paragraph.C (GetUChar): New method.
14416 (String): Use GetUChar.
14418 * buffer.C (asciiParagraph): Use GetUChar.
14420 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14422 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14424 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14427 * buffer.C: rename to getLogName(), handle
14428 build log / latex log nicely
14430 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * MenuBackend.h: remove support for reference menuitem type.
14435 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14437 * BufferView_pimpl.C: housekeeping
14438 * BufferView_pimpl.h:
14443 * minibuffer.h: move Timeout GUI-I
14445 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14447 * lyxrc.C (read): Update converters data-structures.
14449 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14451 * LaTeX.h (operator!=): add operator != for Aux_Info
14453 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14455 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14457 * LaTeXLog.C: deleted, useful code moved to Buffer
14460 * buffer.C: new function getLatexLogName()
14466 * lyxfunc.C: use frontends for LaTeX and VC logs
14468 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * LaTeX.h: yet another std:: that Allan forgot.
14472 * Variables.C (set): renamed from isset(), because this clashes
14473 with some HP-UX macros (grr).
14475 2001-02-06 Allan Rae <rae@lyx.org>
14477 * LaTeX.h: Another bug fix. Missing std:: this time.
14479 2001-02-04 Allan Rae <rae@lyx.org>
14481 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14482 floats problem. I've left it commented out because it's not quite
14483 correct. It should also test that the current object is a table or
14484 figure inset. But I haven't gotten around to figuring out how to do
14485 that. I *think* it'll be something like: "table" == inset.type()
14487 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14490 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14492 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14493 all the citation/databases/styles in the auxilary file.
14494 (run): Rerun latex if there was a babel language error.
14496 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14498 * text.C (Backspace): Preserve the font when changing newline char
14500 (BreakParagraph): If the cursor is before a space, delete the space.
14502 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14504 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14506 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14507 new argument (code).
14508 (ChangeCitationsIfUnique): New method.
14510 * paragraph.C (GetPositionOfInset): Handle bibkey.
14512 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14514 * BufferView_pimpl.h: change type of Position::par_pos to
14515 LyXParagraph::size_type.
14517 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14519 * BufferView_pimpl.C (savePosition, restorePosition): Write
14520 messages to minibuffer.
14522 2001-01-28 José Matos <jamatos@fep.up.pt>
14524 * buffer.C (makeDocBookFile): adds support for document language.
14525 A silly restriction on the name of LatexCommand types where removed.
14526 Added support for CDATA sections, allows to chars unescaped, used
14527 among others in code, to avoid escape < and >.
14529 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14531 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14532 saved positions instrad of a stack. Furthermore, a position is
14533 stored using paragraph id/paragraph position.
14535 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14536 Remove LFUN_REF_BACK.
14538 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14540 * converter.C (dvipdfm_options): New method.
14542 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14544 * vspace.C (isValidLength): Fix for empty input string.
14546 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * LyXAction.C (init): change description of LFUN_FIGURE to
14551 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14553 * LaTeX.C: add using directive
14555 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14557 * MenuBackend.C (expand): Fix the sorting of the formats.
14559 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14561 * lyx_main.C: tiny error message fix
14563 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14565 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14566 calling fl_initialize(). This fixes the problem with ',' as
14567 decimal separator in text files.
14569 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14571 * trans.C (process): Fix the keymap bug.
14573 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14575 * LaTeX.C (scanAuxFiles): New method. Provides support for
14576 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14577 (scanLogFile) Scan for "run BibTeX" messages.
14579 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14580 OT1 font encoding. Also, load the aecompl package if the ae
14583 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14585 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14587 * texrow.C (increasePos): turn two error messages into debug
14590 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14592 * LaTeX.C (scanAux): Handle the \@input macro.
14593 (runBibTeX): Use scanAux().
14595 * language.C (latex_options_): New field.
14597 * LaTeXFeatures.C (getMacros): Add language macros.
14599 * buffer.C (makeLaTeXFile): Small fix.
14601 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14603 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14605 * text2.C: add a using directive.
14607 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14612 * lyxfunc.C: kill LyXBell.
14614 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14616 * text.C (IsBoundary): Remove the error message
14618 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14620 * lyxrc.C (setDefaults): Correct initialization value for
14623 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14625 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14628 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14629 and GotoNextNote().
14631 * src/LyXAction.C: Added reference-next.
14633 * text.C (InsertChar): Use contains instead of strchr.
14635 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14637 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14639 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14640 alignment commands (when needed).
14642 * text.C (InsertChar): Add ':' to number separator chars.