1 2004-03-22 Angus Leeming <leeming@lyx.org>
3 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
4 Ensure that error_handler is processed once only and that all data
5 is saved before attempting to output any warning messages.
7 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
9 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
11 * tabular.C (TeXRow): crash fix (from Kayvan and André)
13 2004-03-19 André Pönitz <poenitz@gmx.net>
15 * cursor.[Ch] (reset): take main text inset as argument
18 * BufferView_pimpl.C: adjust
20 * paragraph.[Ch]: fix completely broken operator=()
22 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * LColor.C (getFromLyXName): make sure that the color name is used
27 2004-03-17 Angus Leeming <leeming@lyx.org>
30 * LyXAction.C (init): remove LFUN_FORKS_KILL.
32 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
33 dialog and to kill a forked process.
35 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
37 * text2.C (setCursorFromCoordinates): fix font problem
39 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
41 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
42 bogus "rebuild cursor" code
44 2004-03-11 André Pönitz <poenitz@gmx.net>
46 * buffer.[Ch]: use InsetText instead of LyXText as container for
49 * dociterator.[Ch]: drop the BufferView * member which is not needed
50 anymore after the change to buffer.C
56 * BufferView_pimpl.[Ch]:
58 * cursor_slice.[Ch]: adjust
60 * text3.C: fix bug in mathDispatch
62 2004-03-08 André Pönitz <poenitz@gmx.net>
64 * undo.[Ch]: use 'StableDocumentIterator' as base for
67 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
70 * bufferparams.[Ch]: add jurabib support and param.
72 * LaTeX.C: add FIXME/comment.
74 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
76 * buffer.C: increment file format to 230.
78 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
80 * cursor.C (dispatch): avoid infinite loops
82 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
84 * rowpainter.C (paintSelection): fix x coordinates
86 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
88 * text.C (rowBreakPoint): fix breaking before displayed insets
90 2004-03-01 André Pönitz <poenitz@gmx.net>
92 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
94 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
106 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
112 * BufferView_pimpl.C: rename textwidth -> maxwidth,
113 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
115 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
117 * Bidi.[Ch] (computeTables): const correctness
118 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
119 fill_hfill, fill_label_hfill and x from Row
120 * lyxtext.h: prepareToPrint returns a RowMetrics
121 * rowPainter.C: adjust
122 * text.C (prepareToPrint): use width, not textWidth. adjust
123 (redoParagraphInternal, cursorX): adjust
124 * text2.C (getColumnNearX): adjust
125 (init): put a default value to the top LyXText::width
127 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
129 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
131 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
133 * lyxtext.h: add FontIterator class
135 * text.C (FontIterator, operator*, operator->, operator++): add
136 (rowBreakPoint, setRowWidth): adjust (fixing a
139 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * BufferView_pimpl.C (workAreaDispatch): allow also
142 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
144 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
146 * text.C (rowBreakPoint): fix a bug showing with very large insets
148 2004-02-25 André Pönitz <poenitz@gmx.net>
151 * cursor.[Ch]: move some mathed specific code to mathed
153 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
156 use_tempdir in preferences
157 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
159 * lyx_main.C: ensure that tempdir is valid
160 * lyxlex.h: correct typo
161 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
162 * paragraph.[Ch] (isMultiLingual): make const
163 * cursor.[Ch] (openable): make const
165 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
167 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
169 2004-02-20 André Pönitz <poenitz@gmx.net>
171 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
173 * cursor.[Ch]: prepare for localized getStatus()
179 * text3.C: streamlines the LyXText cursor movement handlers a bit.
181 2004-02-20 André Pönitz <poenitz@gmx.net>
183 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
185 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
187 * text2.C (setCursorFromCoordinates): switch to absolute coords
190 * text3.C (dispatch): adjust
192 2004-02-16 André Pönitz <poenitz@gmx.net>
194 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
197 * cursor_slice.[Ch]: remove unneeded acessor function
199 * lyxtext.h: rename rtl() to isRTL()
207 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
209 * rowpainter.C (paintSelection): coord fix
211 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
213 * Spacing.C: compile fix
215 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
217 * cursor.C (dispatch): restore current_ before returning
219 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
221 * text2.C (cursorUp, cursorDown): fix coords
224 2004-02-12 André Pönitz <poenitz@gmx.net>
229 * text3.C: add LCursor & parameter to most cursor movement functions
230 remove usage of LyXText::cursorRow() and cursorPar()
232 * cursor.[Ch]: add textRow() needed members
235 * BufferView_pimpl.C:
238 * BufferView_pimpl.C: adjust
240 2004-02-11 André Pönitz <poenitz@gmx.net>
244 * BufferView_pimpl.C: shift undo/redo handling
246 * cursor.[Ch]: fix mathed crash
249 * lyxtext.h: move selectionAsText to LCursor
257 * rowpainter.C: fix excessive drawing
259 2004-02-06 André Pönitz <poenitz@gmx.net>
262 * BufferView_pimpl.[Ch]:
263 * text3.C: move some text specific LFUN handling
265 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
267 * text3.C (checkInsetHit): adjust coords
268 * text2.C (getColumnNearX): adjust coords
269 (edit): adjust coords
270 * text.C (getRowNearY): add two asserts
272 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
275 * format.C: add using std::distance to compile on gcc 2.95/stlport
277 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
279 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
281 2004-02-04 André Pönitz <poenitz@gmx.net>
283 * BufferView.[Ch] (insertInset):
284 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
289 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
291 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
292 on the default clause of the switch
293 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
294 wasn't catched by LCursor::dispatch
296 2004-02-03 André Pönitz <poenitz@gmx.net>
299 * cursor.[Ch]: some additional asserts
301 * undo.[Ch]: remove LyXText dependency in interface
305 * lyxtext.h (firstPar, lastPar): remove dead functions
310 * paragraph.[Ch]: adjust
312 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
314 * lyxfind.C (find): fix argument order in call to ::find
316 2004-02-02 André Pönitz <poenitz@gmx.net>
318 * cursor.[Ch]: remove direct access to anchor
320 * text.C: remove findText() hack
322 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
324 * iterators.[Ch] (lockPath): remove in favour of...
325 * BufferView.[Ch] (setCursor): this addition
326 * BufferView.C (putSelectionAt): adjust
327 * undo.C (performUndoOrRedo): adjust
328 * lyxfunc.C (dispatch): adjust
330 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
332 * iterators.C (lockPath): add a missing slice
333 * undo.C (performUndoOrRedo): remove redundant positioning code
335 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
337 * vc-backend.C (scanMaster): ";" -> ';'
339 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
341 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
344 * lyxtextclass.C (compare_name): rename to...
345 (LayoutNamesEqual): ...this
347 * lyxlex_pimpl.C (compare_tags): inherit from
348 std::binary_function, put back into anon namespace
350 * lyxfind.C (MatchString): inherig from std::binary_function
351 (findChange): use empty() istead of !size()
353 * format.C (FormatNamesEqual): new functor
360 * converter.C (compare_Converter): rename to...
361 (ConverterEqual): ...this, and fixup a bit.
362 (getConverter): use it, and make function const
363 (getNumber): use it, and make function const
367 * bufferlist.C: add using boost::bind
369 * MenuBackend.C (MenuNamesEqual): new functor
370 (hasMenu): use it, and make function const
371 (hasSubmenu): use nested bind to get rid of compare_memfun.
373 2004-01-30 André Pönitz <poenitz@gmx.net>
375 * BufferView_pimpl.C:
386 * text3.C: move some of the edit(x,y) handling to the insets
387 some coordinate changes.
389 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
391 * text.C: add using statements for std::advance and std::distance
393 * paragraph.C: add using statement for std::distance
395 * lyxfind.C: add using statement for std::advance
397 * cursor.C (region): remove std:: from swap
398 (openable): use nucleus in stead of operator->
400 * BufferView.C: add using statements for std::distance and std::swap
402 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
404 * iterators.C: Remove the pimple, move the needed structures to
405 the header file. Create accessor for the positions stack.
406 (asPosIterator): remove function
408 * PosIterator.C (PosIterator): move constructors to top of file
409 (PosIterator): reimplement the constructor taking a ParIterator in
411 (setFrom): new function
412 (operator!=): inline it
414 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
416 * lyxfind.C (replaceAll): use std::advance
418 * iterators.h: inherit from std::iterator.
420 * PosIterator.C (advance, distance): remove
421 * PosIterator.h: interit from std::iterator.
423 2004-01-26 André Pönitz <poenitz@gmx.net>
426 * BufferView_pimpl.[Ch]:
430 * bufferview_funcs.C:
441 * output_plaintext.C:
443 * paragraph_funcs.[Ch]:
444 * paragraph_pimpl.[Ch]:
450 * text3.C: more IU: dumps most of the rest of the mathcursor
451 implementation into cursor.[Ch]; "globalize" a bit of it.
453 2004-01-25 Angus Leeming <leeming@lyx.org>
455 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
457 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
459 * LaTeXFeatures.h: add nice_ and nice() const
460 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
462 2004-01-20 André Pönitz <poenitz@gmx.net>
465 * BufferView_pimpl.C:
467 * bufferview_funcs.C:
480 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
481 LCursor and mathcursor parts to LCursor and InsetBase.
483 2004-01-15 André Pönitz <poenitz@gmx.net>
485 * cursor_slice.[Ch]: add a few covienience functions
487 * funcrequest.[Ch]: remove BufferView * member
489 * BufferView_pimpl.C:
496 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
498 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
500 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
501 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
503 2004-01-13 André Pönitz <poenitz@gmx.net>
506 * lyxtext.h: hide cursor and selection anchor behind accessor function
509 * BufferView_pimpl.[Ch]:
511 * bufferview_funcs.C:
521 * cursor_slice.[Ch]: some integer type changes for inset unification
523 * lyxcursor.[hC]: remove, it's CursorSlice now.
526 * BufferView_pimpl.[Ch]:
527 * bufferview_funcs.C:
533 * textcursor.[Ch]: adjust
535 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
537 * text2.C (undoSpan): add and use
538 * text.C (breakParagraph): use undoSpan (fix bug 578)
541 2004-01-08 Angus Leeming <leeming@lyx.org>
543 * BufferView_pimpl.C (MenuInsertLyXFile):
544 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
545 * lyxfunc.C (menuNew, open, doImport):
546 FileFilterList change to the FileDialog open and save functions.
548 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
550 * ShareContainer.h: make isEqual and isUnique adaptable
552 * CutAndPaste.C: make resetOwnerAndChanges adaptable
554 2004-01-07 Angus Leeming <leeming@lyx.org>
557 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
559 * BufferView_pimpl.C (dispatch): act on these LFUNs.
561 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
562 functions replacing find, replace and replaceAll.
564 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
565 LFUN_WORDFIND(FORWARD|BACKWARD).
567 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
569 * text.C (breakParagraph): remove an outdated #warning
571 2004-01-07 André Pönitz <poenitz@gmx.net>
573 * lyxfind.C: somewhat clearer logic
575 * text.C: prevent crash in cursorX on unitialized row cache
577 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
579 * lyxcursor.[Ch] (operator>): add
580 * textcursor.C (selStart, selEnd): use std::min and std::max
582 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
584 * Chktex.C: include boost/format.hpp
586 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
588 * InsetList.C: replace functor MathcIt with adaptable functor
590 (insetIterator): modify accordingly
592 * BranchList.h: move the BranchNamesEqual functor here from...
593 * BranchList.C: ... to here
595 * BranchList.C: new BranchListEqual fuctor, use it. Remove
597 (add): replace a finding loop with std::find_if.
599 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
601 * output_docbook.C: moving LatexParam functionality into
604 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
606 * buffer.C: increment format to 229.
608 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
611 * lyx_sty.[Ch]: remove minipageindent_def
617 * text3.C: remove LFUN_INSET_MINIPAGE
619 2003-12-28 Angus Leeming <leeming@lyx.org>
621 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
623 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
625 * text2.C (setParagraph): fix off-by-one crash
627 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
629 * output_docbook.C: header stuff for AGU
631 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
633 * text2.C (redoCursor): remove
636 * BufferView_pimpl.C: remove calls to redoCursor and
637 setCursor(cursor.par(), cursor.pos()) all around
639 2003-12-15 Angus Leeming <leeming@lyx.org>
641 * buffer.C: up the format to 228.
643 2003-12-15 André Pönitz <poenitz@gmx.net>
645 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
650 * BufferView_pimpl.C:
659 2003-12-15 Angus Leeming <leeming@lyx.org>
661 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
662 than getFromGUIName to manipulate the color.
664 2003-12-14 Angus Leeming <leeming@lyx.org>
666 * BranchList.[Ch]: minimize the API.
667 (Branch::getBranch, getColor): now return a 'const &'.
668 (Branch::setSelected) now returns a bool set to true if the
669 selection status changes.
670 (BranchList::clear, size, getColor, setColor, setSelected,
671 allBranches, allSelected, separator): removed.
672 (BranchList::find): new functions, returning the Branch with
674 (BranchList::add, remove): return a bool indicating that
675 the operation was successful.
677 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
678 new InsetBranch::isBranchSlected member function.
680 * LColor.[Ch]: mimimize the API.
681 (fill): renamed as addColor and made private.
682 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
683 versions of these functions taking a string arg have been removed.
685 * bufferparams.C (readToken):
686 * lyxfunc.C (dispatch):
687 * lyxrc.C (read): changes due to the altered BranchList and
690 * factory.C (createInset, readInset): changes due to altered
693 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
696 * lyxfunc.C: remove insetminipage. "minipage-insert"
697 now produces a frameless minipage box inset.
699 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
701 * textcursor.[Ch] (selStart,selEnd): add new methods
702 remove selection::start, end, use LyXCursor::operator<
703 * lyxcursor.[Ch] (operator<): add
704 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
705 * BufferView.[Ch] (unsetXSel): add
706 * text2.C (clearSelection): use unsetXSel,adjust
709 * rowpainter.C: adjust
710 * bufferview_funcs.C (put_selection_at): adjust
712 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
714 * BufferView_pimpl.C: small coord. correction
716 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
718 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
719 dragging over the splash screen.
721 2003-12-11 Angus Leeming <leeming@lyx.org>
723 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
724 as it is now handled in LyXText::dispatch.
726 * text3.C (doInsertInset): remove a level of nesting.
728 2003-12-11 Angus Leeming <leeming@lyx.org>
730 * factory.C (createInset): changes due to the changed interface to
731 InsetCommandMailer::string2params.
733 2003-12-10 Angus Leeming <leeming@lyx.org>
735 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
736 'dialog-show-new-inset <inset name>'
738 2003-12-10 Angus Leeming <leeming@lyx.org>
740 * buffer.C: up the format to 227.
742 * factory.C: the box inset is now identified simply by 'Box'.
744 2003-12-10 Angus Leeming <leeming@lyx.org>
746 * buffer.C: up the format to 226.
748 * factory.C: the note inset is now identified simply by 'Note'.
750 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
752 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
753 when a pit is enough. Standarize a couple of loops.
755 2003-12-05 Angus Leeming <leeming@lyx.org>
757 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
758 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
759 data to the re-worked "log" dialog.
761 2003-12-03 André Pönitz <poenitz@gmx.net>
769 * text2.C: use Inset::getText instead of Inset::getParagraph
771 2003-12-03 André Pönitz <poenitz@gmx.net>
775 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
776 InsetText::read() as LyXText::read()
778 2003-12-02 Angus Leeming <leeming@lyx.org>
780 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
781 type. Add a comment in the implementation that the function uses
782 the stream's bad() function rather than fail() as the std::streams
785 2003-12-02 André Pönitz <poenitz@gmx.net>
787 * lyxlex.[Ch]: make interface more similar to std::stream
789 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
791 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
793 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
795 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
797 * vspace.[Ch]: remove VSpace::NONE
799 2003-12-01 André Pönitz <poenitz@gmx.net>
802 * lyxtext.h: move ParagraphList member to LyXText
803 rename LyXText::ownerParagraphs to LyXText::paragraph
806 * bufferview_funcs.C:
816 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
818 * undo.C: fix cursor positioning
820 2003-12-01 John Levon <levon@movementarian.org>
822 * BufferView_pimpl.C: fix a crash on exit with
825 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
827 * BranchList.C: fix setSelected() method.
829 2003-11-28 André Pönitz <poenitz@gmx.net>
831 * ParagraphParameters.[Ch]:
832 * ParameterStruct.h: remove space above/below from Paragraph to
835 * BufferView_pimpl.C:
847 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
849 * factory.C: Syntax change for CharStyles
851 2003-11-28 André Pönitz <poenitz@gmx.net>
856 * buffer.[Ch]: move LyXText member
858 2003-11-28 André Pönitz <poenitz@gmx.net>
860 * BufferView.[Ch]: make LyXText * text a private member
862 * BufferView_pimpl.C:
873 * output_plaintext.C: cleanup
875 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
878 * lyxtextclass.[Ch]: parametrize SGML document header
880 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
883 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
886 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
888 * text2.C (setFont): rework using PosIterator (no more recursive)
889 (setCharFont): no more needed
890 (setLayout): no more selection cursors fiddling (done by redoCursor)
891 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
892 destroy remaining ones)
894 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
896 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
898 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
901 * text3.C: adjust + re-allow multi par depth changes
902 * textcursor.C: simplify a bit
904 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
910 * src/output_docbook.C:
911 * src/output_latex.C:
916 * src/text2.C: Introducing a number of tags parametrizing various
917 XML formats that we may want to support
919 2003-11-25 André Pönitz <poenitz@gmx.net>
921 * InsetList.[Ch] (begein, end): inline as suggested by profiler
923 * lyxtext.h (leftMargin/rightMargin): simplify interface
930 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
932 * lyxfunc.C (dispatch): propogate the bibtex databases from the
933 master file to any child files. Fixes bug 546.
935 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
937 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
939 2003-11-24 André Pönitz <poenitz@gmx.net>
941 * rowpainter.C: simplification
943 * text2.C (updateCounters): remove call to redoParagraph on
944 changed labels as this is far too expensive.
946 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
948 * converter.C (convert): fix a crash: this function gets
949 called with buffer == 0 from importer code.
951 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
953 * text3.C (cursorPrevious): make sure that we do not compare
954 iterators form different containers.
957 * rowpainter.C (paintSelection): make sure that we do not compare
958 iterators from different containers.
960 * text3.C (dispatch): [PRIOR] make sure that we do not compare
961 iterators from different ParagraphList containers.
964 * text2.C (LyXText): change order of initialization slightly
965 (operator=): new function. copy all variables except cache_par_
966 (moveUp): make sure that we do not compare iterators from
967 different ParagraphList constainers.
970 * text.C (firstPar): new function
971 (lastPar): new function
972 (endPar): new function
974 * lyxtext.h: move things around and group public functions, public
975 variables, private functions, private variables
977 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
979 * factory.C: change call to InsetERT constructor to avoid
980 additional invocation of method status
981 * text2.C (toggleInset): remove redundant update() call
982 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
983 instead of a Bufferview pointer
985 2003-11-21 André Pönitz <poenitz@gmx.net>
987 * rowpainter.C: simplification
989 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
991 * text3.C (dispatch): make possible to extend a word/row selection
994 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
996 * lyxtext.h: x0_,y0_ -> xo_,yo_
997 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
998 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
999 * rowpainter.C (paintRows): paint full paragraphs
1001 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1003 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1006 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1008 * lyxtext.h: add x0_, y0_
1009 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1010 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1012 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1014 * text2.C (setCursorIntern): move the x_target update here *
1015 * text3.C: change some bv() to true/false in calls to
1016 cursorUp/Down/Right/Left
1017 * cursor.C: use helper function.
1019 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1021 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1022 * paragraph_funcs.[Ch]: correct comment
1023 * rowpainter.C: do not paint selections away from bv->cursor()
1024 Fix a long standing selection painting bug.
1025 * text3.C: generalize mouse-selection code to LyXTexts other that
1027 * textcursor.C: do not use y coords if we can use par offsets
1029 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1031 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1032 cursor position after e.g. inset insert)
1034 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1036 * lyxfind.C (replace): adjust to locking removal + some
1039 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1041 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1044 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1047 * output_docbook.C: XML sanitation: new layout
1048 parameters InnerTag and CommandDepth
1050 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1052 * BufferView_pimpl.C:
1054 * text3.C: Fix the insertion and modification of button-style
1057 2003-11-13 André Pönitz <poenitz@gmx.net>
1059 * InsetList.[Ch]: remove deleteLyXText
1061 * paragraph.[Ch]: cache beginOfBody position
1066 * text3.C: remove superfluous update() calls
1070 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1072 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1073 * BufferView.C (fitLockedInsetCursor): remove
1074 * cursor.[Ch] (getDim): add
1075 * text.C (getRowNearY): add faster version
1076 * text3.C: remove some update calls
1078 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1090 * text3.C: The Character Style /XML short element patch.
1092 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1095 * factory.C: Small step to solving 'unable to insert some insets'
1098 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1100 * cursor.[Ch] (updatePos): new function for updating the y
1101 position of the tip inset
1102 * bufferview_funcs.C (put_selection_at):
1103 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1105 2003-11-11 André Pönitz <poenitz@gmx.net>
1107 * text.C: remove big comment on invalid Paragraph pointers as it is
1110 2003-11-11 André Pönitz <poenitz@gmx.net>
1112 * text_funcs.[Ch]: merge with ...
1120 * Makefile.am: remove text_funcs.[Ch]
1122 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1124 * cursor.C (getPos): return absolute cached y coord
1126 * BufferView_pimpl.C (fitCursor): new simplistic code
1127 (workAreaDispatch): add a fitCursor call
1129 2003-11-10 André Pönitz <poenitz@gmx.net>
1132 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1134 2003-11-10 André Pönitz <poenitz@gmx.net>
1136 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1137 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1138 indicate that the cursor needs to leave an inset
1140 * lyxtext.h: remove inset locking
1142 * cursor.[Ch]: re-implement functionality provided by inset locking
1145 * BufferView_pimpl.[Ch]:
1147 * bufferview_funcs.[Ch]:
1159 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1161 * PosIterator.[Ch]: replace the stack with a vector, add inset
1163 * iterators.[C]: adjust
1165 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1167 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1169 * paragraph_funcs.C (readParToken): put the correct id in the
1170 error item, not the id of the top paragraph
1172 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1174 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1175 * bufferview_funcs.C (put_selection_at): use the above
1177 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1179 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1181 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1183 * output_linuxdoc.h:
1184 * output_plaintext.h:
1186 * output_docbook.h: add #include statements
1188 2003-11-05 José Matos <jamatos@lyx.org>
1190 * output_docbook.[Ch]:
1191 * output_latex.[Ch]:
1192 * output_linuxdoc.[Ch]:
1193 * output_plaintext.[Ch]: New files for output formats.
1194 * output.[Ch]: New file for helper functions.
1197 * paragraph_funcs.[Ch]: output functions moved to new files.
1199 * outputparams.h: rename of latexrunparams.h
1207 * paragraph_funcs.[Ch]:
1208 * paragraph_pimpl.[Ch]:
1209 * tabular.[Ch]: rename ascii to plaintext
1210 and LatexRunParams to OutputParams.
1212 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1214 * iterators.[Ch] (text): require bv argument
1215 * undo.C (recordUndo):
1216 * lyxfunc.C (dispatch):
1217 * bufferview_funcs.C (put_selection_at): adjust
1219 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1221 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1223 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1225 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1228 2003-11-04 André Pönitz <poenitz@gmx.net>
1230 * cursor.[Ch]: restructure
1233 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1235 * iterators.[Ch] (asCursor): remove
1237 * lfuns.h: remove LFUN_INSET_EDIT
1243 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1245 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1247 * lyxfind.[Ch]: complete overhaul
1248 * BufferView_pimpl.C:
1250 * paragraph.[Ch] (insert): add
1252 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1256 * text.C: remove dead spellcheck code
1258 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1260 * dispatchresult.h: add a val setter
1262 * cursor.C (dispatch): use a tempvar for data_[i]
1264 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1266 * PosIterator.[Ch]: compile fix
1268 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1270 * text.C (cursorPar): deactivate the cursor cache
1272 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1274 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1276 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1278 * text3.C (dispatch): adjust for new DisptchResult semantics.
1280 * lyxfunc.C (dispatch): handle update when return from
1281 Cursor::dispatch, adjust for new DispatchResult semantics.
1283 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1284 DispatchResult(true) mean to not update. Add class functions for
1285 setting dispatched and update, as well as reading.
1287 * cursor.C (dispatch): don't handle update here
1289 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1291 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1292 * trans_mgr.C: adjust
1294 * paragraph_funcs.C (readParToken): exception safety
1296 * lyxvc.h: store the vcs pointer in a scoped_ptr
1299 * lyxsocket.C (serverCallback): exception safety
1301 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1303 * ispell.C (clone): make it return a auto_ptr
1305 * factory.C (createInset): exception safety
1306 (readInset): exception safety
1308 * bufferlist.C (newBuffer): exception safety
1310 * Thesaurus.C (Thesaurus): use initialization for aik_
1312 * MenuBackend.C (expandToc): exception safety.
1314 2003-11-03 André Pönitz <poenitz@gmx.net>
1318 * bufferview_funcs.C: remove getInsetFromId()
1321 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1327 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1329 * PosIterator.C (distance, advance): new
1330 * bufferview_funcs.[Ch] (put_selection_at): new
1331 * iterators.[Ch] (lockPath): new
1333 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1335 * iterators.[Ch] (asPosIterator): added
1336 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1337 * PosIterator.[Ch]: added
1339 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * cursor.C (dispatch):
1344 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1346 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1347 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1348 contructor, add a class function dispatched. Remove operator>=
1350 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1352 * debug.C: only use the default constructor for debugstream
1355 * main.C (main): include debug.h and setup the lyxerr streambuf
1358 2003-10-31 José Matos <jamatos@lyx.org>
1360 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1362 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1363 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1364 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1365 * paragraph_pimpl.C (simpleTeXSpecialC):
1366 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1367 add LatexRunParams argument.
1369 * exporter.C (Export): change call accordingly.
1371 * latexrunparams.h: add new member to take care of the other backends.
1372 2003-10-30 José Matos <jamatos@lyx.org>
1374 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1375 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1376 factorise code for paragraph output.
1378 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1381 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * text3.C (dispatch):
1384 * lyxfunc.C (dispatch):
1385 * cursor.C (dispatch):
1386 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1388 * dispatchresult.h: make the dispatch_result_t ctor explicit
1390 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1393 * buffer.C: small refactoring of docbook stuff
1395 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1400 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1403 operator dispatch_result_t, and operators for == != and >=
1405 * cursor.C (dispatch): adjust for operator dispatch_result_t
1406 removal. comment out call to update
1408 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1410 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1418 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1421 * dispatchresult.h: new file, DispatchResult broken out of
1424 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1426 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1428 * text.C (rowBreakPoint): put a hack inside #if 0
1430 2003-10-28 André Pönitz <poenitz@gmx.net>
1434 * paragraph_funcs.C:
1437 * text2.C: general cleanup (lots of small stuff)
1439 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1441 * text2.C (cursorEnd): simple fix to the "end key goes to one
1442 before the end on last row" bug
1444 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1446 * text.C (backspace): fix the "zombie characters"
1448 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1450 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1452 2003-10-27 André Pönitz <poenitz@gmx.net>
1454 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1456 * factory.C: handle new InsetPagebreak, InsetLine
1458 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1459 and move handling into new InsetPagebreak, InsetLine
1461 * BufferView_pimpl.C:
1463 * ParagraphParameters.C:
1464 * ParameterStruct.h:
1469 * paragraph_funcs.C:
1470 * paragraph_pimpl.C:
1476 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1479 * lyxrow_funcs.[Ch]:
1485 * text3.C: remove lastPos uses in favour of Row::endpos
1487 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1489 * undo.C (performUndoOrRedo): fix two crashes by setting a
1490 cursor by hand and reordering some calls. Use bv->lockInset instead
1491 of inset->edit because the latter loses cursor information
1493 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1495 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1497 (rowBreakPoint): fix width. change point to point + 1.
1498 Add a missing check.
1500 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1503 * lyxfunc.C: fix (at least partly) the problems
1504 with the Nav menu and headers inside branch insets
1507 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1509 * paragraph.C (getChar): add strong asserts
1511 * lyxrow_funcs.C (lastPos): remove hideous hack
1513 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1514 (fill): adjust to that (avoid an infinite loop)
1516 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1518 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1520 2003-10-23 André Pönitz <poenitz@gmx.net>
1522 * RowList_fwd.h: change list<> to vector<> to gain speed
1523 after suggestion from Alfredo
1525 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1527 * lyxtext.h: move the bidi stuff from here...
1530 * Bidi.[Ch]: ... to here
1532 2003-10-23 André Pönitz <poenitz@gmx.net>
1535 * text.C (isLastRow, isFirstRow): new functions
1537 * paragraph.h: new width cache member
1539 * rowpainter.C: replace RowList::iterator with Row & where possible
1541 * lyxfunc.C: replace several view()->text with a single call
1543 * toc.C: fix 'unused' warning
1545 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1548 when woring with stream::pos_type
1549 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1551 2003-10-22 André Pönitz <poenitz@gmx.net>
1554 * text.C: use Row & instead of RowList::iterator
1556 * lyxrow.h: rename end() to endpos()
1562 2003-10-22 Angus Leeming <leeming@lyx.org>
1564 * buffer.[Ch] (fully_loaded): new member function, returning true
1565 only when the file has been loaded fully.
1566 Used to prevent the premature generation of previews and by the
1567 citation inset to prevent computation of the natbib-style label.
1569 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1570 templates are all set up.
1572 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1574 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1576 * text.C: fixed an "oops" in the "is a bit silly"
1579 2003-10-21 André Pönitz <poenitz@gmx.net>
1581 * FuncStatus.[Ch]: small stuff, whitespace
1583 * lyxfont.[Ch]: operator<<() for debug reasons
1587 * lyxtext.h: whitespace, spelling
1589 * paragraph.C: naming of variables
1592 * text2.C: small stuff
1595 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1597 * text.C: (1) finish off the inset display() work;
1598 (2) fix the "is a bit silly" bug (accessing char
1601 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1603 * text.C: re-introduce display() for insets, fixing the
1604 various bugs (stretch of line above, math inset
1607 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1609 * text.C (rightMargin): remove spurious semicolon
1611 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1614 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1616 * text3.C: fix one crash due to wrong cursor def
1618 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * vc-backend.C (scanMaster): make the regex static
1622 * LaTeX.C (scanAuxFile): make the regexs static
1624 * text3.C (doInsertInset, dispatch, dispatch):
1625 * text2.C (cursorUp, cursorDown):
1626 * text.C (selectNextWordToSpellcheck):
1627 * BufferView_pimpl.C (dispatch):
1628 * lyxfunc.C (dispatch): localDispatch -> dispatch
1630 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1632 * lyxsocket.C: include <cerrno>
1634 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1636 * lyxfunc.C (dispatch): remove textcache stuff
1638 * bufferlist.C (release): remove textcache stuff
1641 * TextCache.C: delete file
1642 * TextCache.h: delete file
1644 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1646 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1647 delete of the bv_->text.
1648 (resizeCurrentBuffer): remove texcache stuff
1649 (workAreaResize): ditto
1651 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1653 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1656 2003-10-16 André Pönitz <poenitz@gmx.net>
1663 * text3.C: speed up by storing y positions per paragraph plus per-row
1664 offset instead of having a 'full' y position in the row.
1666 2003-10-15 André Pönitz <poenitz@gmx.net>
1670 * undo.[Ch]: make undo aware of inner insets
1672 2003-10-14 Angus Leeming <leeming@lyx.org>
1674 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1675 static member functions LyX::ref() and LyX::cref.
1676 (lastfiles): new accessor functions for the new lastfiles_ member var.
1677 (addLyXView, views_): add a new LyXView to the list of views_.
1678 (updateInset): loop over all LyXViews to call their own updateInset
1679 member function, returning a pointer to the Buffer owning the inset.
1681 * BufferView_pimpl.C (loadLyXFile):
1682 * MenuBackend.C (expandLastfiles):
1683 * bufferlist.C (MenuWrite, QuitLyX):
1684 lastfiles is no longer a global variable.
1685 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1687 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1688 static function. Access through LyX::cref().emergencyCleanup().
1690 2003-10-14 André Pönitz <poenitz@gmx.net>
1692 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1694 * undo.[Ch]: restoring part of 'undo in insets'
1697 * undo_funcs.[Ch]: merge with undo.[Ch]
1699 * tabular.C: small cleansing stuff
1701 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1703 * paragraph_funcs.C (readParToken): report unknown insets as error
1704 boxes. Use the outer paragraph as location (also for unknown
1707 * factory.C (readInset): do not abort on reading an unknown inset.
1708 Eat it and return 0.
1710 2003-10-13 Angus Leeming <leeming@lyx.org>
1712 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1714 * lyxrc.C: displayTranslator is now a function,
1715 declared in GraphicsTypes.h.
1717 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1719 * format.C: new placeholder $$a to pass the socket address.
1721 * bufferlist.[Ch]: new function getBufferFromTmp.
1723 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1724 files in the temporary dir.
1726 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1728 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1730 * Makefile.am: add lyxsocket.[Ch].
1732 * lyx_main.C (error_handler): handle SIGPIPE.
1734 2003-10-13 André Pönitz <poenitz@gmx.net>
1736 * BufferView_pimpl.C:
1741 * undo_funcs.[Ch]: use paroffset_type instead of
1742 ParagraphList::iterators to prevent multiple conversion
1743 (and get a more robust interface)
1745 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1747 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1749 * text3.C (dispatch): ditto
1751 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1754 move the onlyfile, use onlyfile instead of foundfile in a couple
1757 * DepTable.C (update): flush the error stream a bit more
1759 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * lyxserver.C (callback): adjust
1763 * lyxfunc.C (getStatus): add a missing brace in commented code
1764 (ensureBufferClean): reindent
1765 (dispatch): delete version taking a string
1767 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * LaTeX.C (deplog): move found file handlig from here...
1770 (handleFoundFile): .. to new function here.
1771 (deplog): make sure to discover several files mentioned on the
1774 2003-10-10 André Pönitz <poenitz@gmx.net>
1781 * text3.C: fix some of the tabular crashes
1783 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1785 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1787 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1789 2003-10-09 André Pönitz <poenitz@gmx.net>
1791 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1794 * BufferView_pimpl.C:
1795 * bufferview_funcs.C:
1806 * undo_funcs.C: adjust
1808 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1810 * text2.C (incrementItemDepth): new function, use a backtracking
1811 algorithm to discover the correct item depth.
1812 (resetEnumCounterIfNeeded): new function, use a backtracking
1813 algorithm to discover if counter reset is needed.
1814 (setCounter): use them. Simplify a bit. Add different labels for
1815 different item depths for itemize.
1817 * paragraph.C (Paragraph): remove initialization of enumdepth
1820 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1821 enumerate and itemize. Change the type of itemdepth to signed char.
1823 2003-10-08 André Pönitz <poenitz@gmx.net>
1825 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1830 * tabular.[Ch]: fix crash after 'row-insert'
1832 2003-10-08 Angus Leeming <leeming@lyx.org>
1834 Fix doxygen warnings.
1836 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1837 Remove CutAndPaste:: prefix from header file declaration.
1839 * LColor.h (fill): remove LColor:: prefix from declaration.
1841 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1842 use lyx::depth_type rather than Paragraph::depth_type so that
1843 header file and .C file match.
1845 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1847 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1848 * aspell.C: \file aspell_local.C -> \file aspell.C
1849 * gettext.C: \file gettext.C -> \file src/gettext.C
1850 * gettext.h: \file gettext.h -> \file src/gettext.h
1851 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1852 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1853 * text.C: \file text.C -> \file src/text.C
1855 * toc.C: move comment so that doxygen is not confused.
1857 2003-10-07 Angus Leeming <leeming@lyx.org>
1859 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1861 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1864 * aspell_local.h: add forgotten std::string's.
1866 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1873 * text3.C: The Box patch. Fancybox support, minipage, parbox
1875 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1881 * ParagraphParameters.h:
1891 * lyxtextclasslist.h:
1894 * paragraph_pimpl.C:
1895 * textcursor.h: add <string> and other small fixes to make Lars'
1896 std::string patch compile with STLport.
1898 2003-10-06 Angus Leeming <leeming@lyx.org>
1900 * LColor.h: Add missing #include <string>.
1902 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * All most all file in all subdirs: Make <string> be the prefered
1905 way of getting to std::string, add using declarations.
1907 2003-10-06 André Pönitz <poenitz@gmx.net>
1909 * metricsinfo.C: initialize LyXFont before changing attribute.
1910 (fixes the 'math in \emph is upright' bug)
1912 2003-10-06 André Pönitz <poenitz@gmx.net>
1914 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1916 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1919 * paragraph_pimpl.C: Small fixes to build using STLport
1921 2003-10-02 André Pönitz <poenitz@gmx.net>
1924 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1926 2003-10-01 André Pönitz <poenitz@gmx.net>
1928 * factory.C: assert early
1930 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * lyx_main.C: remove the global debug object
1934 * debug.h: adjust for new debugstream
1936 * debug.C: adjust for new debugstream and keep the global debug
1939 2003-09-22 Angus Leeming <leeming@lyx.org>
1941 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1942 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1943 an incomplete class LyXFont.
1945 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1947 * factory.C: bug fix in branches
1949 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1951 * lyxfunc.C (processKeySym): adjust
1953 (dispatch): change arg name from ev to func, adjust
1954 (sendDispatchMessage): ditto
1956 * lyx_main.C (defaultKeyBindings): adjust keybindings
1957 (deadKeyBindings): ditto
1959 * kbsequence.C (addkey): return a FuncRequest
1961 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1963 * kbmap.C (bind): take a FuncRequest as arg, adjust
1966 (defkey): change to take a FuncRequest as arg, adjust
1967 (findbinding): take a FuncRequest as arg, adjust.
1969 * funcrequest.h (operator=): added
1971 * funcrequest.C (FuncRequest): default kb_action changed from
1972 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1974 * buffer.C (dispatch): simplify
1975 (dispatch): adjust to take a FuncRequest as arg, adjust
1977 * boost.C (assertion_failed): change assertion message slightly
1979 * ToolbarBackend.C (read): simplify
1981 * MenuBackend.C (binding): adjust call to findbinding, add a
1982 message if no binding is found.
1984 (expandToc): correct by adding a empty FuncRequest
1986 * LyXAction.C: include <boost/assert.hpp>
1987 (isPseudoAction): delete function
1988 (LookupFunc): change name to...
1989 (lookupFunc): this. change return type to FuncRequest.
1990 (getActionName): take kb_action as arg, simplify
1991 (funcHasFlag): add an assert, simplify.
1993 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * toc.C (action): return a FuncRequest, simplify
1997 * lyxfunc.C (processKeySym): adjust
1998 (getStatus): delete version that takes an int.
2000 (dispatch): delete version that takes action as int
2002 (sendDispatchMessage): simplify and adjust
2004 * funcrequest.C (getArg): take unsigned int as arg
2006 * ToolbarBackend.C (read): adjust
2007 (add): delete version that takes func as a string.
2008 (getIton): take a FuncRequest as arg
2010 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2013 * MenuBackend.C (MenuItem): add a new construct that only takes a
2014 Kind, simplify the constructor use for submenus.
2016 (expandLastfiles): adjust
2017 (expandDocuments): adjust
2018 (expandFormats): adjust
2019 (expandFloatListInsert): adjust
2020 (expandFloatInsert): adjust
2021 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2023 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2024 Remove class variables lyx_pseudo_map and lyx_arg_map
2026 * LyXAction.C (searchActionArg): delete function
2027 (getPseudoAction): delete function
2028 (retrieveActionArg): delete function
2029 (LookupFunc): make it return kb_action, simplify.
2030 (getActionName): simplify
2032 * factory.C (createInset): fix new bug
2034 2003-09-19 Angus Leeming <leeming@lyx.org>
2036 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2037 masterFilename_ parameter in the include inset.
2039 * factory.C (createInset): changes due to the changes to InsetInclude.
2041 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2043 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2045 2003-09-18 Angus Leeming <leeming@lyx.org>
2048 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2049 Inset::fillWithBibKeys.
2050 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2052 2003-09-18 Angus Leeming <leeming@lyx.org>
2054 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2056 (ctor): pass and store a 'Buffer const &'
2057 (buffer): new member function.
2059 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2060 '*this' to the LaTeXFeatures ctor.
2062 2003-09-18 Angus Leeming <leeming@lyx.org>
2068 * text.C: rename EnumLColor as LColor_color.
2070 2003-09-18 Angus Leeming <leeming@lyx.org>
2072 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2073 remove #include "insets/insetbase.h" from cursor.h.
2075 2003-09-18 Angus Leeming <leeming@lyx.org>
2077 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2078 InsetOld_code to remove #include "inset.h".
2080 * iterators.C: add #include "insets/inset.h"
2082 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2084 * BufferView.C: remove more locking stuff that apparently doesn't
2085 do anything sensible.
2087 2003-09-16 André Pönitz <poenitz@gmx.net>
2090 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2093 2003-09-16 Angus Leeming <leeming@lyx.org>
2095 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2097 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2100 * paragraph.h: remove #include "lyxfont.h". Forward declare
2103 2003-09-16 Angus Leeming <leeming@lyx.org>
2105 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2106 of support/textutils.h.
2107 (isWord): move the contents of support/textutils.h's IsWordChar here.
2113 * text2.C: add #include "paragraph.h".
2116 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2118 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * LaTeX.C: use namespace alias for lyx::support::os
2126 2003-09-16 Angus Leeming <leeming@lyx.org>
2129 * bufferview_funcs.C:
2132 * paragraph_pimpl.C:
2134 * text.C: add #include "LColor.h".
2136 2003-09-16 Angus Leeming <leeming@lyx.org>
2138 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2139 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2141 Store the FontBits::color variable as an int rather than as an
2142 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2145 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2146 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2147 string calls together.
2149 * lyxrc.C: add #include "LColor.h".
2151 2003-09-15 Angus Leeming <leeming@lyx.org>
2153 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2156 2003-09-15 Angus Leeming <leeming@lyx.org>
2158 * LColor.h: add an EnumLColor wrapper for LColor::color.
2160 * lyxfont.[Ch] (color, setColor, realColor):
2161 * lyxtext.h, text.C (backgroundColor):
2162 pass EnumLColor args to/from the functions, rather than LColor::color
2166 * lyxtext.h: forward declare EnumLColor.
2168 * lyx_main.C: add #include "LColor.h".
2170 2003-09-15 Angus Leeming <leeming@lyx.org>
2172 * .cvsignore: add lyx-gtk.
2174 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * ParagraphParameters.C
2183 * bufferview_funcs.C
2193 * vc-backend.C: remove usage of STRCONV
2195 2003-09-15 Angus Leeming <leeming@lyx.org>
2197 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2198 explicitly define the color passed to the painter.
2200 2003-09-15 Angus Leeming <leeming@lyx.org>
2202 * bufferparams.C (BufferParams): reorder member initializers to avoid
2205 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2207 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2208 * text.C (updateRowPositions): remove an unusual nop
2210 2003-09-12 André Pönitz <poenitz@gmx.net>
2212 * BufferView_pimpl.C:
2221 * Counters.[Ch]: finish the 'automatic counters' job
2223 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2225 * aspell.C: include <boost/assert.cpp> (compile fix)
2227 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2229 * boost.C (assertion_failed): use lyx::support::abort instead of
2232 2003-09-10 Angus Leeming <leeming@lyx.org>
2234 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2235 with their _fwd progeny.
2237 2003-09-09 Angus Leeming <leeming@lyx.org>
2239 134 files throughtout the source tree: replace 'using namespace abc;'
2240 directives with the appropriate 'using abc::xyz;' declarations.
2242 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2244 * boost.C (emergencyCleanup): moved here from LAssert.c
2245 (assertion_failed): new function, called by BOOST_ASSERT
2247 * several files: change Assert to BOOST_ASSERT
2249 2003-09-09 Angus Leeming <leeming@lyx.org>
2251 * buffer.[Ch]: Add an Impl class and move Buffer's member
2252 variables into it. As a result move several header files out of
2255 Add header files to lots of .C files all over the tree as a result.
2257 2003-09-09 Angus Leeming <leeming@lyx.org>
2259 * buffer.[Ch]: make Buffer's member variables private. Add
2262 Lots of changes all over the tree as a result.
2264 2003-09-08 Angus Leeming <leeming@lyx.org>
2266 * graph.C: #include <config.h>.
2268 2003-09-08 Angus Leeming <leeming@lyx.org>
2272 * BufferView_pimpl.C:
2301 * toc.C: remove redundant using directives.
2303 2003-09-07 Angus Leeming <leeming@lyx.org>
2305 * LaTeXFeatures.h: remove #include "support/types.h".
2306 * ToolbarBackend.h: remove #include <algorithm>.
2307 * changes.h: remove #include <ctime>.
2308 * debug.h: remove #include <iosfwd>.
2309 * graph.h: remove #include "support/std_string.h".
2310 * lyx_main.h: remove #include <csignal>.
2311 * lyxlex_pimpl.h: remove #include <fstream>.
2312 * sgml.h: remove #include <algorithm>, <utility>.
2313 * toc.h: remove #include "support/std_ostream.h".
2314 Add #include <iosfwd>.
2316 2003-09-07 Angus Leeming <leeming@lyx.org>
2318 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2320 * converter.h: forward declare LatexRunParams.
2321 * encoding.h: remove #include "lyxrc.h".
2322 * lyxtext.h: remove #include "LColor.h".
2323 * lyxtextclass.h: remove #include "support/types.h".
2324 * trans.h: remove #include "tex-accent.h".
2325 * trans_mgr.h: remove #include "tex-accent.h".
2326 * insets/inset.h: remove #include "support/types.h", <vector>.
2327 * insets/insetcollapsable.h: remove #include "LColor.h".
2328 * insets/insetinclude.h: remove #include "dimension.h".
2329 * insets/insetlatexaccent.h: remove #include "dimension.h".
2330 * insets/insetoptarg.h:: remove #include "insettext.h".
2331 * insets/insettext.h: remove #include "dimension.h",
2332 <boost/shared_ptr.hpp>
2334 * insets/renderers.h: add #include "dimension.h".
2335 * insets/updatableinset.h: add #include "support/types.h".
2337 * many .C files: Associated changes.
2339 2003-09-06 Angus Leeming <leeming@lyx.org>
2341 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2342 one, inside testInvariant.
2344 * PrinterParams.C: new file.
2345 * PrinterParams.[Ch]: move the function bodies out of line.
2347 2003-09-06 Angus Leeming <leeming@lyx.org>
2349 * ParagraphParameters.h: forward declare ParameterStruct rather than
2350 including its header file.
2351 (depth): moved out-of-line.
2353 2003-09-06 Angus Leeming <leeming@lyx.org>
2355 * BufferView_pimpl.h:
2358 * lyxfunc.h: forward declare LyXKeySym rather than
2359 #include "frontends/LyXKeySym.h".
2361 * BufferView_pimpl.C:
2364 * lyxfunc.C: associated changes.
2366 2003-09-06 Angus Leeming <leeming@lyx.org>
2368 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2369 As a result, can remove the #include "insets/inset.h" from BufferView.h
2371 2003-09-06 Angus Leeming <leeming@lyx.org>
2373 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2374 As a result, can remove the #include "insets/inset.h" from BufferView.h
2376 2003-09-06 Angus Leeming <leeming@lyx.org>
2382 * bufferview_funcs.C:
2383 * BufferView_pimpl.C:
2388 * ParagraphParameters.C:
2393 * frontends/controllers/ControlDocument.C:
2394 * insets/insetcaption.C: rearrange the #includes into some sort of
2397 * buffer.h: remove #includes ErrorList.h, undo.h
2399 2003-09-06 Angus Leeming <leeming@lyx.org>
2401 * support/types.h: add a 'depth_type' typedef, used to store the
2402 nesting depth of a paragraph.
2405 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2406 defining explicitly.
2409 * paragraph_funcs.h:
2410 * ParagraphParameters.h:
2411 * sgml.h: use lyx::depth_type rather than Paragraph or
2412 ParameterStruct's depth_type.
2415 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2418 * BufferView_pimpl.C:
2420 * ParagraphParameters.C:
2423 * bufferview_funcs.C:
2430 * frontends/LyXView.C:
2431 * frontends/controllers/ControlDocument.C:
2432 * frontends/controllers/ControlErrorList.C:
2433 * insets/insetbibitem.C:
2434 * insets/insetbranch.C:
2435 * insets/insetcaption.C:
2436 * insets/insetcollapsable.C:
2437 * insets/insetenv.C:
2438 * insets/insetert.C:
2439 * insets/insetfloat.C:
2440 * insets/insetfoot.C:
2441 * insets/insetfootlike.C:
2442 * insets/insetnewline.C:
2443 * insets/insetquotes.C:
2444 * insets/insettabular.C:
2445 * insets/insettext.C:
2446 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2448 * frontends/controllers/ControlChanges.C: #include "changes.h".
2450 2003-09-06 Angus Leeming <leeming@lyx.org>
2452 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2453 than #including paragraph.h.
2456 * RowList.h: deleted. Superfluous.
2466 * insets/insettext.h: use ParagraphList_fwd.h rather than
2469 * paragraph.h: don't forward declare ParagraphList.
2472 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2473 rather than ParagraphList.h. paragraph.h is still needed for the
2474 Paragraph::depth_type parameters.
2476 * textcursor.h: enable it to compile stand-alone in light of the
2479 * bufferview_funcs.C:
2491 * frontends/controllers/ControlParagraph.C:
2492 * frontends/controllers/ControlTabular.C:
2493 * insets/insetmarginal.C:
2494 * insets/insetminipage.C:
2495 * insets/insetnote.C:
2496 * insets/insetoptarg.C: add header files needed to compile again.
2498 2003-09-06 Angus Leeming <leeming@lyx.org>
2500 * RowList_fwd.h: new file, forward-declaring Row rather than
2501 #including lyxrow.h.
2506 * insets/insettext.h: use it instead of RowList.h
2508 * bufferview_funcs.C:
2515 * text3.C: #include "RowList.h".
2517 2003-09-05 Angus Leeming <leeming@lyx.org>
2519 * factory.C (createInset):
2520 * vspace.C (c-tor): replace sscanf call with an istringstream.
2521 * ispell.C: re-add missing HP/UX headers.
2522 * lyxserver.C: re-add missing os2 headers.
2524 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2533 * text3.C: re-add missing system headers, needed for 2.95.2.
2535 2003-09-05 Angus Leeming <leeming@lyx.org>
2537 Changes most place everywhere due to the removal of using directives
2538 from support/std_sstream.h.
2540 2003-09-05 Angus Leeming <leeming@lyx.org>
2542 Replace LString.h with support/std_string.h,
2543 Lsstream.h with support/std_sstream.h,
2544 support/LIstream.h with support/std_istream.h,
2545 support/LOstream.h with support/std_ostream.h.
2547 Changes resulting throughout the tree.
2549 2003-09-05 Angus Leeming <leeming@lyx.org>
2551 * sgml.h: ensure that the header file can be compiled stand-alone.
2552 * *.C: strip out redundant #includes. (320 in total.)
2554 2003-09-04 Angus Leeming <leeming@lyx.org>
2556 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2557 here (from getPackages).
2559 * debug.[Ch]: add a new EXTERNAL tag.
2561 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2563 * text2.C (cursorEnd): simplify
2565 (getColumnNearX): adjust
2567 * text.C (computeBidiTables): adjust
2570 * rowpainter.C (paintChars): adjust
2571 (paintSelection): adjust
2572 (paintChangeBar): adjust
2575 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2577 (numberOfSeparators): adjust
2579 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2585 * text3.C: Restricts the mouse click functionality
2586 of insets like bibtex, include, toc and floatlist to the visible
2587 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2588 up the dialogs. Cursor has to be in front of the inset (i.e.
2589 start of row) for this to function.
2591 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2593 * bufferview_funcs.C (currentState): output row information
2595 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2597 * bufferview_funcs.C (currentState): output paragraph position
2599 2003-09-04 Angus Leeming <leeming@lyx.org>
2601 * FloatList.h: move out #include "Floating.h".
2602 * LaTeX.h: move out #include "DepTable.h".
2603 * LyXAction.h: move out #include "funcrequest.h".
2604 * buffer.h: move out #include "author.h", "iterators.h".
2605 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2606 * lyx_main.h: move out #include "errorlist.h".
2607 * lyxfunc.h: move out #include "FuncStatus.h".
2608 * lyxtext: move out #include "lyxcursor.h".
2609 * paragraph_pimpl.h: move out #include "counters.h".
2611 2003-09-03 Angus Leeming <leeming@lyx.org>
2613 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2614 preamble_snippets list, enabling us to add snippets to the preamble
2615 only if the snippet was not there already.
2617 2003-09-04 Angus Leeming <leeming@lyx.org>
2619 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2621 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2626 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2628 * BranchList.C: point fix, earlier forgotten
2630 2003-09-02 Angus Leeming <leeming@lyx.org>
2632 * box.C (contains): renamed from 'contained' after a fantastic
2635 2003-09-02 John Levon <levon@movementarian.org>
2641 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2643 2003-09-02 John Levon <levon@movementarian.org>
2645 * text2.C: simplification of cursorEnd(), including partial
2648 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * buffer.C (readFile): add a space
2652 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2654 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2656 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2658 * buffer.C (readFile): new function, take a filename and a
2659 ParagraphList::iterator
2661 (readFile): adjust, make it private. don't use setStream, make
2662 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2663 always contain the filename.
2665 * BufferView.C (insertLyXFile): simplify and make it work for
2668 2003-08-30 John Levon <levon@movementarian.org>
2670 * Makefile.am: fix dist (from Kayvan)
2672 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * most files: change to use const Buffer refs
2676 2003-08-27 André Pönitz <poenitz@gmx.net>
2678 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2679 on top of ownerPar().
2681 2003-08-27 John Levon <levon@movementarian.org>
2683 * funcrequest.C: properly initialise POD members
2685 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2687 * lyxtext.h (top_y): move top_y from here
2692 * BufferView_pimpl.[Ch]: to here
2693 * frontends/screen.C:
2694 * insets/insettabular.C:
2695 * insets/insettext.C: adjust
2696 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2698 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2701 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2703 2003-08-26 André Pönitz <poenitz@gmx.net>
2705 * paragraph_func.[Ch] (outerPar): new function
2708 * paragraph_funcs.C:
2709 * paragraph_funcs.h:
2710 * paragraph_pimpl.C:
2711 * text2.C: remove Inset::par_owner
2713 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2718 * text2.C: eliminates the needFullRow/display() stuff
2719 altogether, putting the logic in metrics/draw in the insets.
2721 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2723 * text2.C (redoParagraphInternal, redoParagraphs):
2724 * text.C (redoParagraph): add a call to updateRowPositions at the
2725 end of each 'metrics-like' call. Remove all others.
2726 (getRow): remove the 'y-computing' version.
2727 (getRowNearY): do not compute nor return the real y. Solve the
2728 'y < 0' problem and simplify.
2730 2003-08-22 Angus Leeming <leeming@lyx.org>
2732 * *.[Ch]: clean-up of licence and author blurbs.
2733 Also move config.h out of a few .h files and into a few .C files.
2735 2003-08-22 André Pönitz <poenitz@gmx.net>
2737 * lyxrow.[Ch]: add x_ and *fill_ members
2742 * text2.C: adjust/remove prepareToPrint() calls
2744 2003-08-22 André Pönitz <poenitz@gmx.net>
2746 * lyxrow.[Ch]: add end_ member
2748 * lyxrow_funcs.C: use LyXRow::end_
2750 * lyxtext.h (singleWidth): add LyXFont parameter
2753 * text2.C: adjust LyXText::singleWidth() calls
2755 * text.C (redoParagraph): simplify row breaking logic
2758 2003-08-19 André Pönitz <poenitz@gmx.net>
2760 * funcrequest.C: initialize button_ member
2763 * rowpainter.[Ch]: interface consolidation
2765 2003-08-18 André Pönitz <poenitz@gmx.net>
2768 * BufferView_pimpl.C:
2770 * paragraph_funcs.C:
2772 * text3.C: remove LyXScreen::draw() and fitCursor calls
2774 * BranchList.h: remove spurious semicolons
2776 * MenuBackend.C: fix branchlist related crash
2778 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2786 * bufferparams.[Ch]:
2790 * text3.C: implements the 'branch inset'
2791 idea. This allows the output of various versions of a document
2792 from a single source version, selectively outputing or suppressing
2793 output of parts of the text.
2794 This implementation contains a 'branch list editor' in a separate
2795 tab of the document settings dialog. Branches are user definable
2796 and have a "display colour" to distinguish them on-screen.
2798 ColorHandler was somewhat cleaned up.
2799 (1) make possible a dynamically growing LColor list by allowing
2800 the graphic context cache to grow along (vector);
2801 (2) eliminate an IMHO unnecessary step in colour allocation.
2803 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2805 * BufferView_pimpl.C: compile fix
2807 2003-08-15 André Pönitz <poenitz@gmx.net>
2809 * rowpainter.C: remove extra metrics calls
2811 * lyxtext.h: merge the two constructors into a single one,
2812 pass reference to owner's par list
2814 * BufferView_pimpl.C:
2818 2003-08-15 André Pönitz <poenitz@gmx.net>
2820 * lyxrow_funcs.[Ch]:
2823 * paragraph_funcs.C:
2828 * text_funcs.C: split LyXText::rowlist_ into individual
2829 Paragraph::rows_ chunks
2832 * BufferView_pimpl.[Ch]:
2835 * text3.C: remove toggleSelection()
2837 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2839 * bufferlist.C: beautify two alerts (shorter text of buttons)
2840 * buffer.C: Remove redundant ' ' from message
2842 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2843 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2844 rename VALIGN_CENTER to VALIGN_MIDDLE
2846 2003-08-11 André Pönitz <poenitz@gmx.net>
2848 * lyxtext.h (getPar):
2849 * text.C: new function
2851 2003-08-11 André Pönitz <poenitz@gmx.net>
2854 * tracer.[Ch]: remove unneeded files
2856 * InsetList.[Ch]: remove resizeInsetsLyXText()
2861 * text3.C: merge insertParagraphs() and appendParagraph()
2862 remove breakAgain(), update()
2864 * BufferView_pimpl.[Ch]:
2865 * bufferview_funcs.[Ch]:
2869 * tabular.C: adjust after text & InsetList changes.
2871 2003-08-08 André Pönitz <poenitz@gmx.net>
2873 * text.C (insertChar, backspace): replace rowlist fiddling
2874 with rebreak of full par
2877 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2878 checkParagraph, updateInset): removed
2880 2003-08-07 André Pönitz <poenitz@gmx.net>
2883 * text3.C: merge some LFUN handlers, remove dead code
2885 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2887 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2889 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2891 * text2.C (DEPM): fix part of bug 1255 and 1256
2893 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2895 * BufferView_pimpl.C (workAreaDispatch): change to use
2896 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2897 that are no mouse related.
2899 2003-08-05 André Pönitz <poenitz@gmx.net>
2902 * BufferView_pimpl.[Ch]:
2903 * bufferview_funcs.C:
2905 * text3.C: rip out "deep update"
2907 * textcursor.[Ch] (last_sel_cursor): remove unused member
2909 2003-08-04 André Pönitz <poenitz@gmx.net>
2912 * BufferView_pimpl.[Ch]:
2913 * ParagraphParameters.C:
2914 * bufferview_funcs.C:
2920 * text3.C: replace "complicated" BufferView::update(...) calls with
2923 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2925 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2927 * Makefile.am (lyx_SOURCES): add paper.h
2929 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2931 * Makefile.am: move things around so that both lyx-qt and
2932 lyx-xforms can be built (according to --with-frontend). Then lyx
2933 is a symbolic link to lyx-[firstfrontend]
2935 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2937 * Always use std::endl with lyxerr
2939 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2941 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2943 2003-08-01 André Pönitz <poenitz@gmx.net>
2946 * BufferView_pimpl.[Ch]:
2948 * text3.C: merge BufferView::repaint() and BufferView::update()
2950 2003-08-01 José Matos <jamatos@lyx.org>
2952 * buffer.[Ch]: file_format is no longer a buffer data element.
2954 2003-08-01 André Pönitz <poenitz@gmx.net>
2959 * text2.C: make redoParagraph more independent of current cursor
2961 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2963 * text2.C: remove unneeded members
2965 2003-07-30 André Pönitz <poenitz@gmx.net>
2967 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2969 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2970 create a single function...
2972 * paragraph_funcs.C (moveItem): ... here.
2975 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2977 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2979 * LColor.[Ch]: Add comment and greyedout logical colors.
2981 2003-07-30 André Pönitz <poenitz@gmx.net>
2983 * tabular.C: don't use Assert too heavily. This crashes where it
2986 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2988 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2989 is disabled (bug 1232)
2991 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2993 * factory.C: limited 'arg' scope
2995 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2997 * factory.C: fixed Note submenu issues
2999 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3001 * factory.C: submenu for Note/Comment/Greyedout
3003 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3006 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3008 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3011 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3012 greyedout. Patch provided by Jürgen Spitzmüller.
3014 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3016 * kbmap.C (read): fix error message when reading bind files
3018 2003-07-29 Angus Leeming <leeming@lyx.org>
3020 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3021 certainly does not do what it purports to do. I am doing it, and
3022 us, a favour by killing it.
3024 2003-07-28 José Matos <jamatos@lyx.org>
3026 * buffer.C (readBody, do_writeFile):
3027 * paragraph.C(readParagraph): \end_document replaces \the_end.
3029 2003-07-29 André Pönitz <poenitz@gmx.net>
3032 * BufferView_pimpl.[Ch]:
3036 * textcursor.[Ch]: remove toggleToggle & Co
3038 2003-07-28 José Matos <jamatos@fep.up.pt>
3040 * buffer.C (readParagraph):
3041 * params_func (readParToken, readParagraph):
3042 * paragraph.C (write): \layout -> \begin_layout.
3044 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * lyxlex_pimpl.C (setFile): clean up slightly.
3048 * bufferparams.h: add compressed var
3050 * buffer_funcs.C (readFile): adjust for LyXLex change
3051 (newFile): ditto + simplify
3053 * buffer.C (writeFile): handle writing of compressed files
3055 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3056 Check if the file is compressed and set a bufferparm if so.
3058 * Makefile.am (lyx_LDADD): remove explicit -lz
3060 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3062 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3063 makeDocBookFile): put the real LyX version in the first line of
3067 * version.C.in: remove lyx_docversion
3069 * tabular.C (write_attribute): add a template-based version to
3070 write enums properly
3072 2003-07-28 André Pönitz <poenitz@gmx.net>
3077 * text3.C: use doubles again for x-coordinates. They are needed.
3079 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * messages.C (getLocaleDir): use lyx_localedir()
3083 * lyxlex_pimpl.C (setFile): compress stuff
3085 * buffer.C (writeFile): add some compression stuff
3086 (do_writeFile): new func, dont call expliti close... will this
3089 * Makefile.am (lyx_LDADD): add -lz
3091 2003-07-28 José Matos <jamatos@fep.up.pt>
3093 * buffer.C: increment file format.
3094 * paragraph_funcs (readParagraph, readParToken):
3095 * paragraph.C (readParagraph): add \end_layout.
3097 2003-07-27 Angus Leeming <leeming@lyx.org>
3099 * Makefile.am: remove special casing for configure-time setting of
3100 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3102 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3103 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3105 2003-07-26 André Pönitz <poenitz@gmx.net>
3107 * paragraph_func.[Ch]:
3108 * paragraph.C (realizeFont): inline it whereever it is used
3113 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3116 2003-07-26 André Pönitz <poenitz@gmx.net>
3120 * text2.C: get rid of LyXText::need_break_row
3122 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * toc.[Ch]: put namespace toc inside namespace lyx
3126 * MenuBackend.C (expandToc2): adjust for lyx::toc
3129 * lyxfunc.C (dispatch): adjust for lyx::find
3131 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3132 lyx::find instead. Reorganize a bit.
3133 (LyXReplace): rename to replace
3134 (LyXFind): rename to find
3136 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3139 2003-07-26 André Pönitz <poenitz@gmx.net>
3141 * text.C (setHeightOfRow): restrict scope of temporary variable
3143 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3144 code (never has been used?)
3146 2003-07-27 Asger Alstrup <alstrup@local>
3148 * text.C (fill): Optimise algorithm to exploit that we can reuse
3149 the LyXFont for many characters.
3150 (setHeightOfRow): Same thing.
3151 (rowBreakPoint): Same thing.
3153 2003-07-26 Asger Alstrup <alstrup@local>
3155 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3157 * text.C (singleWidth): Spurious font copying in hot-spot
3158 singleWidth avoided. Reorder tests for arabic for efficiency.
3160 * text.C (fill): handle empty paragraphs better.
3162 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3165 * encoding.h: add includes
3167 * lyxrc.C: remove reading of bind files
3169 * lyx_main.C (init): setup bindings and menus only if we have a
3172 * kbmap.C (read): new method. Do the actual reading of bind
3175 * converter.C (dvipdfm_options):
3178 (output): adapt PAPER_* enums.
3180 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3182 * bufferparams.h: remove paper-related enums from there
3184 * paper.h: New file. A trivial header file to hold paper-related
3185 enums. It should later expand to contain many paper-related
3188 * lyxrc.C: declare extern displayTranslator
3190 2003-07-27 José Matos <jamatos@fep.up.pt>
3192 * tabular.[Ch] (linuxdoc): add support for tables and figures
3195 2003-07-27 José Matos <jamatos@fep.up.pt>
3197 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3198 consistency in both functions.
3199 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3201 2003-07-26 Asger Alstrup <alstrup@local>
3203 * rowpainter.C (paintRows): Change algorithm to work directly on
3204 the insets rather than asking every character in the document
3205 whether its an inset.
3207 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3209 * buffer.C (openFileWrite): factorize some code
3211 2003-07-26 Angus Leeming <leeming@lyx.org>
3214 * lyx_main.[Ch]: replace occurances of system_tempdir with
3217 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * rename Inset to InsetOld
3221 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3223 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3224 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3225 which I think is a bit clearer. EDIT is gone, since it was
3226 premature optimisation, and broken for mathed anyway.
3227 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3228 with cursor positioning in insets as well (math insets still do not
3229 work, but that's a different story anyway.) It mysteriously
3230 crashes sometimes with undo in the first paragraph, but I'm fairly
3231 confident that this is a compiler bug.
3233 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3235 * paragraph.C (Paragraph): adjust for new clone return type
3237 (copyIntoMinibuffer): ditto
3239 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3241 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3242 by not having a special case, and always doing a full rebreak of
3243 the document after undo.
3245 2003-07-23 Angus Leeming <leeming@lyx.org>
3247 * factory.C (createInset): InsetExternal::setParams now takes a
3250 2003-07-23 Angus Leeming <leeming@lyx.org>
3252 * factory.C (createInset): changed interface to the external and
3253 graphics mailers' string2params functions.
3255 2003-07-23 Angus Leeming <leeming@lyx.org>
3257 * factory.C (createInset): pass a
3258 Buffer const * parameter to InsetExternalMailer's string2params.
3260 2003-07-22 John Levon <levon@movementarian.org>
3262 * Thesaurus.h: include the right aiksaurus header
3264 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3266 * MenuBackend.C (expand): check menu shortcuts unconditionally
3268 2003-07-21 Angus Leeming <leeming@lyx.org>
3270 * factory.C (createInset): pass a
3271 buffer_path parameter to InsetGraphicsMailer's string2params.
3273 2003-07-21 Angus Leeming <leeming@lyx.org>
3275 * BufferView_pimpl.C (buffer):
3278 * lyxfunc.C (dispatch):
3279 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3280 rather than the grfx shortcut.
3282 2003-07-21 André Pönitz <poenitz@gmx.net>
3284 * rowpainter.C: remove unused variables
3287 * tabular_funcs.h: move to tabular.C
3288 * Makefile.am: adjust
3290 * tabular.[Ch]: basic optical cleaning
3292 * author.h: pass references, not values
3294 2003-07-18 André Pönitz <poenitz@gmx.net>
3302 * text3.C: two-phase drawing for InsetText and InsetTabular
3303 some float -> int changes.
3305 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3307 * lyx_main.C: fix the fix
3309 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3311 * lyx_main.C: fix a crash in batch mode if no files specified
3314 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3316 * format.[Ch] (papersize): moved to BufferParams
3317 * converter.[Ch] (dvips_options): moved to BufferParams
3318 (dvipdfm_options): moved to anon namespace
3319 * bufferparams.[Ch]: added above functions.
3321 2003-07-17 André Pönitz <poenitz@gmx.net>
3325 * text2.C: don't call inset->update() anymore
3327 * metricsinfo.[Ch]: add convenience constructor
3329 2003-07-16 André Pönitz <poenitz@gmx.net>
3334 * text2.C: replace the LyXCursor::irow_ member with
3335 on-demand computation of the value
3337 2003-07-16 John Levon <levon@movementarian.org>
3339 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3341 2003-07-15 André Pönitz <poenitz@gmx.net>
3344 * text2.C: remove no more needed refresh_row
3346 2003-07-15 André Pönitz <poenitz@gmx.net>
3351 * text3.C: refresh_status tristate -> need_update bool
3353 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3355 * lyxtext.h (init): remove reinit argument (act as if always true)
3356 * text2.C: adjust to that
3358 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3360 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3361 * text3.C: use it to delete selections in some cases
3362 (bugs 441, 673, 702, 954).
3364 2003-07-14 André Pönitz <poenitz@gmx.net>
3366 * rowpainter.[Ch]: reduce interface
3368 2003-07-14 André Pönitz <poenitz@gmx.net>
3370 * BufferView_pimpl.C:
3371 * text2.C: adjust after removing unused BufferView * argument
3373 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3375 * text2.C (init): fix a crash fired on resize
3377 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3379 * buffer.[Ch]: added new closing signal
3380 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3381 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3382 BufferView::Pimpl via the closing the signal
3384 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3386 * buffer.[Ch]: take out all bv-related from buffer
3388 * BufferView_pimpl.[Ch]: connect to new signals
3389 * CutAndPaste.C: removed useless asserts
3390 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3393 * lyxfunc.C: moved view-related funciontality from vc here
3394 * paragraph.C: removed outdated comments
3397 2003-07-10 André Pönitz <poenitz@gmx.net>
3399 * BufferView_pimpl.C:
3403 * text2.C: remove InsetText::InnerCache, clean up consequences
3405 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3407 * ispell.C: fix two typos in error messages
3409 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3411 * Extend Note inset to other forms of annotation like Comment
3412 and Greyedout. Right button click gives dialog.
3414 Files modified or added (+):
3418 * ControlNote.[Ch] +
3420 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3421 frontends/controllers
3425 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3427 * aspell.C: add missing namespace lyx::support
3429 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3431 * BufferView.[Ch] (newFile): Add
3432 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3433 * LaTeX.[Ch] (message): added this signal and use it
3434 * buffer.[Ch] (busy, message): added these signals and use them
3435 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3439 * importer.C: use buffer signals instead of direct bv calling
3440 * lyx_cb.[Ch] (ShowMessage): removed
3443 * paragraph_funcs.C:
3444 * text2.C: use buffer signals
3446 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * introduce namespace lyx::graphics
3450 2003-07-02 André Pönitz <poenitz@gmx.net>
3452 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3454 2003-07-01 André Pönitz <poenitz@gmx.net>
3461 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3462 text*.C to text_func.C
3464 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * introduce namespace lyx::support
3468 2003-06-30 André Pönitz <poenitz@gmx.net>
3473 * text.C: re-enable --with-included-string
3475 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * textcursor.C: add <config.h>
3479 * text.C (getWord): remove const from word_location arg
3481 * lyxvc.C (getLogFile): fix const type order
3483 * lyxtext.h: remove const from word_location arg, add arg name
3485 * lyxlayout.h: currect type on labeltype.
3487 * importer.C: correct \file
3489 * converter.C (intToFormat): use std:: on ret val, ws changes
3491 * bufferlist.h: correct \file
3493 * buffer.C (makeLinuxDocFile): fix const type order
3494 (makeDocBookFile): ditto
3495 (fillWithBibKeys): use std:: on stdlib args.
3497 * CutAndPaste.C: fix authors.
3498 (availableSelections): use std:: on return vector
3500 2003-06-27 André Pönitz <poenitz@gmx.net>
3502 * BufferView_pimpl.C:
3503 * bufferview_funcs.C:
3511 * text3.C: remove LyXCursor::row_ member
3514 * text.C: rename fullRebreak() to partialRebreak() and implement
3515 a fullRebreak() that really bereks fully
3517 * textcursor.h: new struct for cursor-related data
3519 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3521 * lyx_main.C (LyX): get full path of document loaded on the
3524 2003-06-26 André Pönitz <poenitz@gmx.net>
3526 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3527 remove unused/broken operator>,<,>=.
3529 * text.C: remove only use of broken operator<= in an Assert().
3531 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3533 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3534 moved errorlist_.clear to showErrorList
3536 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3538 * converter.C (scanLog, runLaTeX):
3539 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3540 move the bv->showErrorList call to the callers
3541 * lyxfunc.C: i.e. here...
3543 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3544 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3545 namespace, the second to...
3546 * buffer_funcs (BufferFormat, parseErrors): added
3547 * errorlist.C (ErrorList(TeXErrors const &)): removed
3549 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3551 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3553 2003-06-24 "Garst R. Reese" <reese@isn.net>
3557 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3559 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3561 * version.C.in: change docversion to 1.4
3563 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3565 * buffer.C: fix a bug just introduced
3567 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3569 * buffer.[Ch]: added the parseError signal and use it, removed
3571 * BufferView.[Ch] (addError): moved to ...
3572 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3573 to the Buffer::parseError signal to catch (guess what) parse errors
3574 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3576 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3578 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3579 ability to create a buffer and to return an existing one from
3580 the list. Moved these functions to...
3581 * buffer_funcs.[Ch]: added
3582 * BufferView.[Ch] (loadLyXFile): added
3583 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3584 job removed from bufferlist::loadLyXFile.
3585 * buffer.C (setReadOnly): make it work without view
3586 (i.e added an if (users))
3588 2003-06-19 Angus Leeming <leeming@lyx.org>
3591 * LyXAction.C (init):
3592 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3593 with LFUN_DIALOG_SHOW <name> <data>.
3595 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3597 * CutAndPaste.C (availableSelections): small compilation fix for
3598 ancient (gcc 2.9x) compilers
3600 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * text3.C (cursorNext): add tmp var
3604 * text2.C (updateCounters): for function calling out of for clause
3605 (replaceSelectionWithString): ditto
3606 (insertStringAsParagraphs): ditto
3607 (getColumnNearX): add tmp var
3608 (setCursorFromCoordinates): add tmp var
3609 (cursorDownParagraph): add tmp var
3610 (deleteEmptyParagraphMechanism): add tmp var
3612 * text.C (insertChar): add tmp var
3614 * rowpainter.C (paintDepthBar): add tmp var
3616 * CutAndPaste.C (availableSelections): potentially check all
3617 paragraphs in a cut to fill the shown strings.
3619 2003-06-18 André Pönitz <poenitz@gmx.net>
3621 * kbmap.[Ch]: use vector<> instead of list<>
3623 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3625 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3626 pasteSelection with index
3628 * text2.C (pasteSelection): modify, call pasteSelection with index
3630 * paragraph.C (asString): reimplement version with no interval to
3631 call the one with interval.
3633 * lyxtext.h: add index arg to pasteSelection
3635 * MenuBackend.C (MenuItem): handle PasteRecent
3636 (Menu::read::Menutags): add md_pasterecent
3638 (expandPasteRecent): new function
3641 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3643 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3645 (availableSelections): new function
3647 2003-06-17 Angus Leeming <leeming@lyx.org>
3649 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3651 2003-06-17 Angus Leeming <leeming@lyx.org>
3654 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3656 * lyxfunc.C (dispatch): invoke it.
3658 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3660 * iterators.C (operator++, ParPosition): reintroduce some
3661 const_cast for the benefit of older compilers.
3663 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3665 * text3.C (dispatch): do not modify clipboard when doing
3666 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3667 LFUN_DELETE_SKIP on a selection selection
3669 2003-06-16 André Pönitz <poenitz@gmx.net>
3675 * tabular.[Ch]: IU of clone() and getLabelList();
3677 2003-06-13 André Pönitz <poenitz@gmx.net>
3679 * tabular.h: compactification
3681 2003-06-12 André Pönitz <poenitz@gmx.net>
3685 * tabular_funcs.h: some renaming plus whitespace
3687 2003-06-12 André Pönitz <poenitz@gmx.net>
3690 * BufferView_pimpl.C:
3696 * toc.C: Return a Paragraph & for ParIterator::operator*()
3698 2003-06-11 John Levon <levon@movementarian.org>
3702 * ToolbarBackend.C: add "Toolbars" section and
3705 2003-06-10 Angus Leeming <leeming@lyx.org>
3708 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3710 * lyxfunc.C (dispatch): invoke it.
3712 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * main.C: protect <ios> with HAVE_IOS
3715 (main): protect sync_with_stdio with HAVE_IOS
3717 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3719 * text2.C (cutSelection): adjust
3720 (pasteSelection): adjust
3722 * messages.C: handle get of empty string
3724 * main.C (main): use sync_with_stdio(false)
3726 * lyxfunc.C (dispatch): adjust
3728 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3729 (WriteAs): remove unneeded BufferView arg.
3731 * bufferparams.h: use correct types on papersize, papersize2 and
3734 * bufferparams.C (readToken): adjust for type
3735 (writeLaTeX): add missing cases to switch.
3737 * bufferlist.C (quitWriteBuffer): adjust
3740 * buffer.C (asciiParagraph): remove some commented code.
3742 * CutAndPaste.C: remove current_view extern variable.
3743 (cutSelection): add BufferParams arg.
3744 (eraseSelection): add BufferParams arg.
3745 (pasteSelection): add Buffer const & arg
3747 2003-06-07 John Levon <levon@movementarian.org>
3750 * paragraph_funcs.C:
3751 * paragraph_pimpl.C:
3755 * paragraph.C: allow InsetERT to freely space lines,
3756 and some consolidation of code
3758 2003-06-06 José Matos <jamatos@fep.up.pt>
3760 * buffer.C (makeDocBookFile): fix bug #821
3762 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3764 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3766 2003-06-04 Angus Leeming <leeming@lyx.org>
3768 * buffer.C: bump format to 224.
3770 2003-06-05 André Pönitz <poenitz@gmx.net>
3772 * text2.C (redoParagraphs): remove two const_cast<>
3774 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3776 * ParagraphList.h: remove last remnants of NO_STD_LIST
3778 2003-06-03 Angus Leeming <leeming@lyx.org>
3780 * factory.C (createInset): small change to the way InsetExternal's params
3783 2003-06-04 André Pönitz <poenitz@gmx.net>
3785 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3787 * paragraph_pimpl.h:
3788 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3790 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3792 * undo_funcs.C: make some simple cases of undo work again
3794 2003-06-03 John Levon <levon@movementarian.org>
3796 * ispell.C: HPUX doesn't have sys/select.h
3799 2003-06-03 John Levon <levon@movementarian.org>
3801 * CutAndPaste.C: update tabular and include inset
3806 * paragraph.C: remove owningBuffer(), don't pass Buffer
3809 * factory.C: insetGraphicsParams changed
3811 2003-06-02 John Levon <levon@movementarian.org>
3817 * text3.C: remove insetparent
3819 2003-06-02 John Levon <levon@movementarian.org>
3822 * buffer.C: fix inset_iterator.end(), move out of line
3825 2003-06-01 John Levon <levon@movementarian.org>
3827 * text3.C: use a proper cut/paste when doing inset
3828 insert (from Jürgen Spitzmüller)
3830 2003-06-01 John Levon <levon@movementarian.org>
3832 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3834 2003-05-30 André Pönitz <poenitz@gmx.net>
3836 * rowpainter.C: unify second drawing phase
3838 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * trans_mgr.C: remove one case of current_view
3842 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3844 * paragraph_funcs.h: remove paragraph.h include
3846 * paragraph.h: delete NO_STD_LIST stuff
3848 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3850 * buffer.h: remove paragraph.h include
3852 * ParagraphList.C: delete file
3854 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3856 * toc.C (getTocList): adjust
3858 * paragraph_pimpl.C (validate): adjust
3860 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3862 * paragraph.C (Paragraph): adjust
3863 (getPositionOfInset): use const_iterator, adjust
3864 (bibitem): use const_iterator, adjust
3865 (setInsetOwner): adjust
3867 * iterators.C (operator++): adjust
3869 * InsetList.[Ch]: Replace selfmade iterator with standard
3870 vector::iterator also introduce const_iterator. Remove getPos,
3871 getInset and setInset from InsetTable. Adjust accordingly.
3873 * BufferView.C (lockInset): adjust
3874 (ChangeInsets): adjust
3876 * tabular.[Ch]: delete commented same_id functions
3878 2003-05-28 John Levon <levon@movementarian.org>
3880 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3882 2003-05-28 André Pönitz <poenitz@gmx.net>
3884 * metricsinfo.[Ch]: remove 'fullredraw' member
3886 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3888 * lyxtextclass.C (operator): remove caching.
3890 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * text2.C (cursorBottom): adjust
3895 (setCounter): use ParagraphList::find, adjust
3897 * text.C (workWidth): use ParagraphList::find, adjust
3899 * lyxcursor.C (LyXCursor): adjust
3901 * buffer.C (inset_iterator): adjust
3903 * ParagraphList.h: make iterator(value_type) private, make
3904 ParagraphList a friend of iterator.
3906 * ParagraphList.C (find): new function
3908 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3910 2003-05-27 André Pönitz <poenitz@gmx.net>
3912 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3914 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3916 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3918 2003-05-26 John Levon <levon@movementarian.org>
3920 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3922 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * remove same_id from function signatures, adjust.
3926 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3930 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3932 * paragraph.C (Paragraph): get rid of same_ids parameter
3934 * ParagraphList.C (insert): adjust
3937 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * paragraph_funcs.C (breakParagraph): adjust
3940 (breakParagraphConservative): adjust
3942 * buffer.C (readParagraph): adjust
3944 * ParagraphList.C (insert): take a reference instead of a pointer
3947 * paragraph.[Ch] (id): new function
3949 * bufferlist.C (newFile): adjust
3951 * ParagraphList.C (ParagraphList): adjust
3953 (push_back): take a reference instead of a pointer.
3955 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3957 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3960 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3961 set else use old code.
3963 * ParagraphList.C: remove all NO_NEXT code and only compile this
3964 code of NO_STD_LIST is set.
3966 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3968 * BufferView_pimpl.C:
3978 * graphics/GraphicsConverter.C:
3979 * graphics/PreviewLoader.C: header adjustment
3981 2003-05-23 Angus Leeming <leeming@lyx.org>
3983 * LaTeXFeatures.[Ch] (useBabel): new method.
3984 * bufferparams.C (writeLaTeX): use it.
3986 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * ParagraphList.h (set): remove unused function.
3990 2003-05-23 André Pönitz <poenitz@gmx.net>
3993 * BufferView_pimpl.C:
3997 * undo_funcs.C: setUndo reworked
3999 * iterators.[Ch]: add access to topmost ParagraphList
4001 * lyxtext.[Ch] (workWidth): add a const
4003 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4005 * texrow.[Ch] (increasePos): remove function
4006 * exporter.C (export): removed unused var and outdated comment
4008 2003-05-23 Angus Leeming <leeming@lyx.org>
4010 * latexrunparams.h: rename fragile as moving_arg.
4011 * paragraph.C (simpleTeXOnePar): ditto.
4012 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4014 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4018 (textUndoOrRedo): comment out a currently unused var.
4020 * paragraph.h (NO_NEXT): enable NO_NEXT
4022 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4024 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4026 * exporter.C (Export): adjust for removeAutoInsets removal.
4028 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4030 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4032 * BufferView.[Ch] (removeAutoInsets): delete function
4034 2003-05-22 Angus Leeming <leeming@lyx.org>
4036 * latexrunparams.h: add a free_spacing variable.
4038 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4039 to pass moving_arg, as the data is stored in runparams.fragile.
4041 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4042 to Inset::latexOptional or to simpleTeXOnePar.
4044 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4045 free_spacing arg to Inset::latexOptional.
4047 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4050 2003-05-22 Angus Leeming <leeming@lyx.org>
4052 * latexrunparams.h: add fragile and use_babel variables.
4054 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4055 * buffer.C (makeLaTeXFile): store this returned value in
4056 runparams.use_babel, thus passing it to the inset::latex methods.
4058 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4059 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4061 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4062 longer has a fragile arg, as it is stored in runparams.fragile.
4064 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4065 moving_arg parameter as the data is stored in runparams.fragile.
4067 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4068 a fragile parameter as the data is stored in runparams.fragile.
4070 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4074 2003-05-22 Angus Leeming <leeming@lyx.org>
4076 * latexrunparams.h: add a 'bool nice' which defaults to false.
4078 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4079 now encapsulated within runparams.
4081 * bufferlist.C (updateIncludedTeXfiles):
4082 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4084 2003-05-22 Angus Leeming <leeming@lyx.org>
4086 * latexrunparams.h: new file containing struct LatexRunParams.
4087 * Makefile.am: add new file.
4089 * LaTeX.[Ch] (c-tor, run):
4090 * buffer.[Ch] (makeLaTeXFile):
4091 * bufferlist.[Ch] (updateIncludedTeXfiles):
4092 * converter.C (convert, scanLog):
4093 * converter.[Ch] (runLaTeX):
4094 * exporter.C (Export):
4095 * paragraph.[Ch] (simpleTeXOnePar):
4096 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4097 * paragraph_funcs.[Ch] (latexParagraphs):
4098 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4099 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4100 pass around a LatexRunParams parameter.
4102 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * paragraph.[Ch]: remove unused constructor
4106 * ParagraphList.C (erase): new function, taking two iterators
4108 2003-05-22 André Pönitz <poenitz@gmx.net>
4110 * undo_funcs.C: remove duplicated code
4112 * iterator.[Ch]: operator=
4114 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * tabular.C (SetMultiColumn): ws changes
4118 * rowpainter.C (paintFirst): get rid of a ->previous
4120 * lyx_cb.C (getPossibleLabel): parlist simplification
4122 * BufferView.C (ChangeInsets): simplify slightly.
4124 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4126 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4127 * lfuns.h: new LFUN_SPACE
4128 * lyxfunc.C: protected space has a new lfun
4129 * paragraph_funcs.C: read new space insets
4131 * factory.C: handle new space insets
4133 2003-05-22 André Pönitz <poenitz@gmx.net>
4136 * BufferView_pimpl.C:
4139 * undo_funcs.C: return a ParIterator from getParFromID.
4141 * iterators.[Ch]: add two const's
4143 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * toc.C (getTocList): adjust
4147 * iterators.[Ch]: rework for parlist
4149 * buffer.C (par_iterator_begin): adjust
4150 (par_iterator_end): adjust
4152 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4154 * BufferView.C (removeAutoInsets): adjust
4155 (ChangeInsets): adjust
4157 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4159 * text.C (top_y): fix bug 1110
4161 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4163 * errorlist.[Ch]: added
4166 * BufferView_pimpl.C:
4167 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4170 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * Makefile.am: ensure that lyx is relinked upon changes to the
4173 various "convenience" libs.
4175 2003-05-20 Angus Leeming <leeming@lyx.org>
4177 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4178 files are compiled in alphabetical order again.
4180 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4182 2003-05-19 Angus Leeming <leeming@lyx.org>
4184 * gettext.[Ch]: remove "char const * _(char const *)".
4186 2003-05-19 André Pönitz <poenitz@gmx.net>
4188 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4197 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4199 2003-05-19 André Pönitz <poenitz@gmx.net>
4203 * lyxtextclass.[Ch]:
4205 * paragraph_funcs.[Ch]:
4207 * text3.C: more insetenv work
4209 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4211 * ParagraphParameters.C (params2string): small bug fixed
4213 2003-05-16 André Pönitz <poenitz@gmx.net>
4216 * bufferview_funcs.C: patch from Kornel Benko to prevent
4217 crash when _(...) is called twice in a statement
4219 2003-05-16 André Pönitz <poenitz@gmx.net>
4226 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4228 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4230 * lyx_main.C (init): remove spurious static_cast
4232 2003-05-14 André Pönitz <poenitz@gmx.net>
4234 * BufferView.C: fix format string
4236 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4238 * BufferView.[Ch] (insertErrors): removed
4239 * BufferView.[Ch] (showErrorList): added
4240 * buffer.C (runChkTeX):
4241 * converter.C (scanLog): call showErrorList instead of inserterrors
4243 2003-05-13 André Pönitz <poenitz@gmx.net>
4245 * BufferView_pimpl.C:
4247 * bufferview_func.C:
4254 * tabular_funcs.h: tostr() from its own header
4256 * ParagraphParameters.C:
4261 * text3.C: STRCONV()
4263 2003-05-12 André Pönitz <poenitz@gmx.net>
4266 * BufferView_pimpl.C:
4270 * ParagraphParameters.C:
4274 * bufferview_funcs.C:
4287 * paragraph_funcs.C:
4291 * text3.C: boost::format -> bformat all over the place
4294 2003-05-09 André Pönitz <poenitz@gmx.net>
4296 * LColor.[Ch]: Pimpl the #include <map> away
4298 2003-05-09 John Levon <levon@movementarian.org>
4300 * bufferlist.C: never remove emergency saves
4302 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * Makefile.am: better lib building
4306 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4308 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4310 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4311 (simpleTeXSpecialChars): adjust
4312 (simpleTeXSpecialChars): adjust
4313 * paragraph.C (simpleTeXOnePar): adjust
4314 * buffer.C (makeLaTeXFile): adjust
4316 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4318 * text2.C (changeDepth): parlist cleanup
4319 (getColumnNearX): ditto
4321 * rowpainter.C (getLabelFont): parlist cleanup
4323 * bufferlist.C (newFile): parlist cleanup
4325 * CutAndPaste.C (eraseSelection): parlist cleanup
4327 * BufferView_pimpl.C (trackChanges): parlist cleanup
4330 * BufferView.C (lockInset): parlist cleanup.
4331 (ChangeInsets): ditto
4333 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * CutAndPaste.h: Update file header.
4337 * CutAndPaste.C: Update file header.
4338 Store the parts cut out of the Document in a limited_stack.
4339 (copySelection): adjust
4340 (pasteSelection): new function, takes the index in the limited stack.
4341 (nrOfParagraphs): adjust
4342 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4343 simplify error inset insertion.
4344 (checkPastePossible): adjust
4346 2003-05-06 John Levon <levon@movementarian.org>
4348 * text2.C: don't cast wrap inset to float
4350 2003-05-05 André Pönitz <poenitz@gmx.net>
4353 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4355 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4356 few naked Paragraph *.
4358 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4360 * bufferparams.C: Output warning if a document with missing
4361 TeX document class is loaded
4362 * exporter.C: Disable TeX exports if the document class is missing
4365 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4366 isTeXClassAvailable()
4368 2003-05-03 John Levon <levon@movementarian.org>
4371 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4372 explicit cursor show/hide
4374 * BufferView_pimpl.h:
4375 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4376 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4378 * lyxfunc.C: hide cursor before dispatching.
4383 * text3.C: remove explicit cursor hides
4385 2003-05-02 André Pönitz <poenitz@gmx.net>
4387 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4390 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4393 * text2.C: tiny whitespace
4395 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * undo_funcs.C: almost only ws changes.
4399 * ParagraphList.C (splice): just return if pl is empty.
4401 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4403 * ParagraphList.C (splice): new function.
4405 * CutAndPaste.C (pasteSelection): use it
4407 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4409 * CutAndPaste.C (pasteSelection): remove the last next and
4410 previous from this file.
4412 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * CutAndPaste.C (pasteSelection): more clean up, user proper
4415 ParagraphList functions for pasteing.
4417 * ParagraphList.C (insert): new function, three arg insert
4419 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * ParagraphList.C (insert): new function, three arg insert
4423 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4426 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4430 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4434 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4437 (copySelection): clean up a bit.
4438 (pasteSelection): use make_pair
4440 * ParagraphList.C (ParagraphList): implement copy constructor
4441 (operator=): implement, base on copy constructor.
4444 * paragraph.C (erase): return a bool
4446 * paragraph_pimpl.C (erasePos): remove function, move contents...
4447 (erase): ... here. Return a bool.
4448 (erase): call erase instead of erasePos.
4450 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4452 * ParagraphList.h: define PitPosPair
4453 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4454 ParagraphList, fix a bug on pasting multiple pars
4455 * text2.C: change interface to C&P
4457 2003-04-30 André Pönitz <poenitz@gmx.net>
4459 * undo_func.C: revert part of yesterday's patch 2
4461 2003-04-30 John Levon <levon@movementarian.org>
4463 * LColor.C: s/tabular/table/
4465 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * text3.C (dispatch): do not convert iterator -> pointer
4468 * undo_funcs.C (setCursorParUndo): ditto
4469 * text_funcs.C (transposeChars): ditto
4471 * text2.C (setLayout): ws changes only
4473 * text.C (breakParagraph): do not convert iterator -> pointer
4475 (acceptChange): ditto
4476 (rejectChange): ditto
4481 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4484 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4486 * text3.C (gotoInset): YABG (yet another bad getChar)
4488 2003-04-29 André Pönitz <poenitz@gmx.net>
4490 * paragraph.h: make operator= private unimplemented as long as
4493 * ParagraphList.C: whitespace
4496 * paragraph_pimpl.[Ch]:
4497 * paragraph_funcs.C:
4499 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4502 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4504 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4506 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4507 * paragraph.[Ch] (erase):
4508 * paragraph_pimpl.[Ch] (erase): change return type and value
4509 * text2.C (cutSelection): some rework
4511 2003-04-28 John Levon <levon@movementarian.org>
4513 * bufferlist.C: changes for unsaved changes dialog
4515 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * bufferlist.C (newFile): set language (messages_) for new
4520 * buffer.C (readFile): ws changes only.
4522 2003-04-28 André Pönitz <poenitz@gmx.net>
4527 * BufferView_pimpl.C:
4528 * BufferView.C: getParFromID related ParagraphList::iterator changes
4530 2003-04-28 André Pönitz <poenitz@gmx.net>
4532 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4535 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * messages.C: remove one more localedir class variable.
4539 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * messages.C (getLocaleDir): singleton generation function
4543 (Messages): add a default constructor.
4545 * main.C (main): do not setup localedir here, do not call
4548 * gettext.C (_): use it.
4549 (gettext_init): delete funciton
4551 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * gettext.C (getLyXMessages): new singleton generating function.
4555 * buffer.C (updateDocLang): adjust
4557 * Makefile.am (messages.o): add target
4558 (main.o): remove target
4560 2003-04-27 John Levon <levon@movementarian.org>
4565 * lyxvc.C: specify cancel button in Alert::prompt
4567 2003-04-26 John Levon <levon@movementarian.org>
4572 * LyXAction.C: add LFUN_INSET_SETTINGS
4574 * lyxfunc.C: don't enable tabular-feature when there's
4575 just any locking inset
4577 2003-04-26 John Levon <levon@movementarian.org>
4579 * bufferlist.C: re-add Cancel to buffer close question
4581 * lyxfunc.C: fix import UI a bit
4583 2003-04-25 John Levon <levon@movementarian.org>
4585 * gettext.C: remove the broken asserts for now
4587 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * messages.C: make case where setlocale cannot comply work better.
4591 * buffer.C (updateDocLang): new function
4592 (changeLanguage): use it
4595 * text2.C (setCounter): use B_ a bit.
4597 * lyxlayout.C (Read): be sure to trim the label strings.
4599 * messages.C (Messages): fix typo in comment
4601 * buffer.C (readFile): set message_ after file is loaded.
4602 (makeDocBookFile): remove double return
4603 (changeLanguage): reset message_ upon language change.
4604 (B_): new func, use this to get translated buffer strings.
4606 * main.C: add myself and Jean Marc as authors.
4608 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * messages.[hC]: pimplify Messages, and three different pimpls to be
4611 used in different circumstances.
4613 * gettext.[Ch]: change for use with new message code.
4615 2003-04-24 André Pönitz <poenitz@gmx.net>
4617 * factory.C: support for eqref
4619 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * messages.[Ch]: add missing char
4623 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4625 * messages.[Ch]: New files
4627 2003-04-18 John Levon <levon@movementarian.org>
4631 * BufferView_pimpl.C:
4635 * text2.C: remove layout-copy/paste (bug 778)
4637 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4639 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4641 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4643 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4644 if they succeed. Act accordingly.
4646 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * text2.C (setCharFont): adjust
4649 (setCounter): adjust
4650 (insertStringAsLines): adjust
4652 * text.C (leftMargin): adjust
4653 (setHeightOfRow): adjust
4655 * rowpainter.C (paintFirst): adjust
4658 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4660 (isFirstInSequence): ditto
4661 (getEndLabel): ditto
4664 * paragraph.C (getParLanguage): comment out some hard stuff.
4666 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4668 (simpleDocBookOnePar): ditto
4669 (makeDocBookFile): use ParagraphList::iterator
4671 * CutAndPaste.C (pasteSelection): adjust
4673 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * text2.C (getFont): adjust
4676 (getLayoutFont): adjust
4677 (getLabelFont): adjust
4679 * paragraph_funcs.C (TeXOnePar): adjust
4681 * buffer.C (simpleLinuxDocOnePar): adjust
4682 (simpleDocBookOnePar): adjust
4684 * CutAndPaste.C (pasteSelection): adjust
4686 * BufferView.C (getEncoding): adjust
4688 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4690 2003-04-16 John Levon <levon@movementarian.org>
4692 * lyxfind.C: use parlist stuff for search/changes
4694 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4698 * text2.C (deleteEmptyParagraphMechanism): adjust
4700 * text2.[Ch] (ownerParagraph): delete func (both of them
4702 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4706 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * ParagraphList.C: prepare for NO_NEXT
4710 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * text2.C (getFont): adjust
4713 (getLayoutFont): adjust
4714 (getLabelFont): adjust
4716 * paragraph.C (getFont): adjust
4717 (getLabelFont): adjust
4718 (getLayoutFont): adjust
4720 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4722 2003-04-15 John Levon <levon@movementarian.org>
4726 * lyx_main.C: handle Include in .ui files
4728 2003-04-15 John Levon <levon@movementarian.org>
4730 * MenuBackend.C: make the doc files length shorter
4733 * ToolbarBackend.C: handle toolbar placement flags,
4736 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4741 * paragraph_funcs.C (TeXOnePar): adjust
4743 * paragraph.C (getLabelFont): add outerfont arg, adjust
4744 (getLayoutFont): ditto
4745 (simpleTeXOnePar): adjust
4747 * paragraph_pimpl.C (realizeFont): delete func
4749 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4751 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4752 row argument, constify cur argument.
4754 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4756 * text2.C (getFont): adjust
4757 (getLayoutFont): adjust
4758 (getLabelFont): adjust
4760 * paragraph_funcs.C (TeXOnePar): adjust
4761 (outerFont): new func...
4762 (realizeFont): ...moved out from here, changed this to facilitate
4765 * paragraph.C (getFont): take outerfont as arg, adjust
4766 (simpleTeXOnePar): add outerfont arg, adjust
4768 * buffer.C (simpleLinuxDocOnePar): adjust
4769 (simpleDocBookOnePar): adjust
4771 * CutAndPaste.C (pasteSelection): adjust
4773 * BufferView.C (getEncoding): adjust
4775 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * text2.C (setCharFont): adjust
4778 (setCounter): adjust
4780 * text.C (leftMargin): adjust
4781 (setHeightOfRow): adjust
4783 * rowpainter.C (paintFirst): adjust
4786 * paragraph_pimpl.C (realizeFont): adjust
4788 * paragraph.C (isFirstInSequence): move from here...
4789 * paragraph_funcs.C (isFirstInSequence): ...to here
4791 * paragraph.C (outerHook): move from here...
4792 * paragraph_funcs.C (outerHook): ...to here
4794 * paragraph.C (depthHook): move from here...
4795 * paragraph_funcs.C (depthHook): ...to here
4797 * paragraph.C (getEndLabel): move from here...
4798 * paragraph_funcs.C (getEndLabel): ...to here
4800 * text2.C (realizeFont): move from here...
4801 * paragraph_funcs.C (realizeFont): ...to here
4803 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4807 2003-04-14 Angus Leeming <leeming@lyx.org>
4809 * LColor.[Ch]: scrap LColor mathcursor.
4811 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * lyxlex.[Ch] (text): delete function
4814 * trans.C (Load): adjust
4815 * paragraph_funcs.C (readParToken): adjust
4817 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4819 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4820 vector<char> instead of a char[].
4822 * lyxlex_pimpl.C (getString): adjust
4824 (lex): use getString
4828 * lyxlex.C (text): use pimpl_->getString()
4832 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4835 (makeFontEntriesLayoutSpecific): temp var for par.size()
4836 (setLayout): temp var for ownerParagraphs().end()
4837 (fullRebreak): temp var for rows().end()
4838 (selectionAsString): temp var for boost::next(startpit), realize
4839 that the while really is a regular for loop.
4840 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4841 setCursor in one place.
4842 (setParagraph): temp vr for ownerParagraphs().end()
4843 (updateCounters): make the while loop a for loop
4844 (cutSelection): temp var for ownerParagraphs().end()
4845 (updateInset): make the do {} while() a regular for loop
4846 (getCursorX): use temp vars
4847 (setCurrentFont): use temp vars
4848 (getColumnNearX): use temp vars
4850 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * text.C (transformChar): use temp var for getChar
4853 (computeBidiTables): use temp var for row->par()
4854 (fill): move temp vars for row->par() and pit->layout() earlier in
4856 (labelFill): use temp var for row->par()
4857 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4858 asc and desc, realize that pit never changes and that firstpit is
4859 just a duplicate and not needed. Exchange rit->par() with pit in a
4861 (breakAgain): use a temp var for boost::next(rit)
4862 (breakAgainOneRow): ditto
4863 (breakParagraph): use a temp var for rows().begin()
4864 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4865 (cursorRightOneWord): use temp var for cursor.par() and
4866 cursor.pos(), remove usage of tmpcursor.
4867 (cursorLeftOneWord): use temp var for cursor.par() and
4868 cursor.pos() only set cur at end of function.
4870 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4872 * text.C, text2.C: exchange all usage of Paragraph::next with
4873 boost::next(ParagraphList::iterator)
4875 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4877 * text2.C (cursorTop): simplify implementation
4878 (cursorBottom): ditto
4879 (setParagraph): use ParagraphList::iterator
4880 (setCurrentFont): adjust
4881 (getColumnNearX): adjust
4882 (cursorRight): adjust
4883 (cursorLeft): remove usage of Paragraph::previous
4884 (cursorUpParagraph): ditto
4885 (deleteEmptyParagraphMechanism): slight cleanup
4887 * text.C (isBoundary): take a Paragraph const & instead of a
4889 (addressBreakPoint): ditto
4890 (leftMargin): remove usage of Paragraph::previous.
4891 (setHeightOfRow): ditto
4892 (cursorLeftOneWord): ditto
4893 (selectNextWordToSpellcheck): ditto
4896 (breakParagraph): remove one usage of Paragraph::next
4897 (redoParagraph): ditto
4898 (acceptChange): ditto
4899 (insertChar): adjust
4900 (rowBreakPoint): adjust
4902 * bufferview_funcs.C (toggleAndShow): adjust
4904 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4906 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4907 methods to access it.
4909 * text.C: Added updateRowPositions to compute all row positions.
4910 Make top_y and getRowNearY() to use the cached y position
4912 2003-04-11 John Levon <levon@movementarian.org>
4914 * text.C (rowBreakPoint): reintroduce the labelEnd
4915 checks, code copied from the row fill stuff. Deep voodoo.
4917 * text.C (fill): add a comment and debugging for the
4920 2003-04-11 John Levon <levon@movementarian.org>
4922 * text.C: make sure fullrow insets get wrapped to the next line,
4923 even when they're in a manual label
4925 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * text2.C (insertParagraph): make it take ParagraphList::iterator
4929 (setLayout): make it return ParagraphList::iterator
4930 (redoParagraphs): ditto
4932 (checkParagraph): ditto
4934 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4936 * text2.C: adjust several funcs.
4937 (realizeFont): take a ParagraphList::iterator as arg.
4938 (getLayoutFont): ditto
4939 (getLabelFont): ditto
4940 (setCharFont): ditto
4942 * text.C: adjust several funcs.
4944 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4946 * text.C (selectNextWordToSpellcheck): don't accidentally
4949 2003-04-10 John Levon <levon@movementarian.org>
4951 * ToolbarBackend.C (getIcon): special handling for
4954 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4956 * text2.C (cursorRight): a getChar assert fixed
4958 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * text2.C (getFont): change to take a ParagraphList::iterator
4961 instead of Paragraph*
4962 Adjust several functions.
4964 * text.C (transformChar): change to take a ParagraphList::iterator
4965 instead of Paragraph*
4966 (singleWidth): ditto
4967 Adjust several functions.
4969 * rowpainter.C: adjust several functions
4970 * rowpainter.h:store a ParagraphList::iterator and not a
4974 2003-04-09 John Levon <levon@movementarian.org>
4979 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4980 and the "help" bits as well
4982 2003-04-09 John Levon <levon@movementarian.org>
4985 * ToolbarBackend.C: allow multiple toolbars
4987 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * undo_funcs.C (setCursorParUndo): adjust
4991 * text_funcs.C (transposeChars): adjust
4993 * text3.C (gotoNextInset): adjust
4996 * text2.C (setLayout): adjust
4997 (changeDepth): adjust
4999 (redoParagraphs): adjust
5000 (selectionAsString): adjust
5001 (setParagraph): adjust
5002 (insertInset): adjust
5003 (cutSelection): adjust
5004 (copySelection): adjust
5005 (pasteSelection): adjust
5006 (insertStringAsLines): adjust
5007 (updateInset): adjust
5008 (setCursor): change to take a ParagraphList::iterator parameter
5009 (setCursorIntern): change to take a ParagraphList::iterator parameter
5010 (setCurrentFont): adjust
5011 (cursorLeft): adjust
5012 (cursorRight): adjust
5013 (deleteEmptyParagraphMechanism): adjust
5015 * text.C (breakParagraph): adjust
5016 (insertChar): adjust
5017 (acceptChange): adjust
5018 (rejectChange): adjust
5019 (selectNextWordToSpellcheck): adjust
5020 (changeCase): adjust
5024 * lyxfind.C (SearchForward): adjust
5025 (SearchBackward): adjust
5026 (nextChange): adjust
5028 * lyxcursor.C (par): adjust
5030 * lyxcursor.h: store a ParagraphList::iterator instead of a
5033 * lyx_cb.C (getPossibleLabel): adjust
5035 * bufferview_funcs.C (toggleAndShow): adjust
5037 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5040 * BufferView.C (removeAutoInsets): adjust
5041 (lockedInsetStoreUndo): adjust
5043 2003-04-09 John Levon <levon@movementarian.org>
5045 * ToolbarBackend.C: try icon without argument
5046 if with argument fails
5048 2003-04-08 John Levon <levon@movementarian.org>
5051 * ToolbarBackend.C: add getIcon(), handle tooltip,
5052 and change from "Icon" to "Item".
5054 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5056 * BufferView.C (lockInset): another bad getchar crunched
5058 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5060 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5063 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5065 * lyxfind.C (searchForward, searchBackwards): bug 782
5067 2003-04-07 John Levon <levon@movementarian.org>
5069 * paragraph.C: remove dead comment
5071 * text.C: remove troublesome depth-fiddling code
5072 in leftMargin() and rightMargin() (bug 1017)
5074 * text.C: fix breaking of rows in nested lists
5077 * text2.C (updateCounters): fix up depth values
5080 2003-04-07 John Levon <levon@movementarian.org>
5082 * BufferView_pimpl.C: clear message when doc finishes resizing,
5083 and after a mouse event
5085 * lyxfunc.C: clear message after exiting inset
5087 2003-04-07 John Levon <levon@movementarian.org>
5089 * bufferview_funcs.C: show math status not outside
5090 status in the statusbar
5092 2003-04-07 John Levon <levon@movementarian.org>
5094 * lyxfunc.C: note status changed after a depth change
5096 2003-04-04 Angus Leeming <leeming@lyx.org>
5098 * LaTeX.h: move AuxInfo operator==, != out of line.
5099 Remove LaTeX virtual destructor; nothing derives from it.
5100 Move operator()() out of public area and rename it startscript().
5101 Change protected for private.
5103 2003-04-04 Angus Leeming <leeming@lyx.org>
5106 * text2.C: remove unneeded #includes.
5108 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5110 * text2.C (dEPM): fix the heigth of the next row
5112 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5114 * text.C: squashed an invalid getChar requester + some ws changes
5116 2003-04-03 John Levon <levon@movementarian.org>
5118 * bufferview_funcs.h:
5119 * bufferview_funcs.C:
5122 * text2.C: make getStatus work for the env depth lfuns
5124 2003-04-03 John Levon <levon@movementarian.org>
5126 * bufferview_funcs.h:
5127 * bufferview_funcs.C:
5130 * text2.C: parlistize decDepth(), by merging it with incDepth()
5132 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5134 * lyxrow.h: store a ParagraphList::iterator instead of a
5135 Paragraph* and adjust other class functions to suit.
5137 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5140 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5142 * text2.C (setCursor): do not anchor to cursor row for the time being
5144 2003-04-02 John Levon <levon@movementarian.org>
5151 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5153 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * paragraph.h: make ParagraphList and ParagraphList::iterator
5156 friends of Paragraph.
5158 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5160 * ParagraphList.C: Use the private next_ and previous_ from
5163 2003-04-01 John Levon <levon@movementarian.org>
5167 * Makefile.am: rename, remove defaults gunk
5170 * MenuBackend.C: remove defaults gunk
5173 * Languages.C: remove defaults gunk
5176 * lyx_main.C: error out if files couldn't be found.
5178 2003-04-02 John Levon <levon@movementarian.org>
5180 * text2.C: make incDepth() use parlist
5182 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5184 * undo_funcs.C (firstUndoParagraph): adjust
5186 * text3.C (gotoInset): adjust
5187 (dispatch): adjust, and rewrite loop.
5189 * text2.C (init): adjust, and rewrite loop.
5190 (redoParagraphs): adjust
5191 (updateInset): adjust, and rewrite loop.
5192 (deleteEmptyParagraphMechanism): adjust
5194 * tabular.C (LyXTabular): adjust
5195 (SetMultiColumn): adjust
5198 * lyxtext.[Ch] (ownerParagraph): delete function
5199 (ownerParagraphs): new function returns a ParagraphList.
5201 * BufferView.C (removeAutoInsets): adjust
5202 (insertErrors): adjust
5203 (setCursorFromRow): adjust
5205 2003-04-01 Angus Leeming <leeming@lyx.org>
5207 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5210 2003-04-02 John Levon <levon@movementarian.org>
5216 * text_funcs.C: make transposeChars a free function
5218 * lyxrow_funcs.C: remove wrong comment
5220 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * rowpainter.C: adjust
5228 * lyxrow_funcs. [Ch]: new files
5230 * lyxrow.[Ch]: remove next and previous pointers
5231 (next,previous): remove accessor functions
5232 (isParEnd): move to lyxrow_funcs
5233 (lastPos): move to lyxrow_funcs
5234 (nextRowIsAllInset): move to lyxrow_funcs
5235 (lastPrintablePos): move to lyxrow_funcs
5236 (numberOfSeparators): move to lyxrow_funcs
5237 (numberOfHfills): move to lyxrow_funcs
5238 (numberOfLabelHfills): move to lyxrow_funcs
5239 (hfillExpansion): move to lyxrow_funcs
5243 * bufferview_funcs.C (toggleAndShow): adjust
5245 * RowList.h: Remove class RowList from file leave just a
5248 * RowList.C: delete file
5250 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5253 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * text3.C (cursorPrevious): adjust
5256 (cursorNext): adjust
5259 * text2.C (redoHeightOfParagraph): adjust
5260 (redoDrawingOfParagraph): adjust
5263 * text.C (breakParagraph): adjust
5264 (insertChar): adjust
5267 * rowpainter.C (RowPainter): adjust
5268 (leftMargin): simplify and adjust
5269 (most rowpainter functions): adjust.
5271 * rowpainter.h: store the row as RowList::iterator not as Row*
5273 * lyxcursor.C (row): taka RowList::iterator as arg
5276 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5279 2003-04-01 Angus Leeming <leeming@lyx.org>
5281 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5282 stuff like bool Bool.
5284 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5286 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5289 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5291 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5294 * lyxtext.h (rows): drop one version and leve a const variant that
5295 returns a RowList::iterator.
5297 2003-03-31 Angus Leeming <leeming@lyx.org>
5299 * text.C (fill): ensure that the signature is the same as that in the
5302 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * text2.C (redoParagraphs): adjust
5305 (updateCounters): adjust
5306 (checkParagraph): adjust
5307 (getColumnNearX): adjust and reformat a bit.
5309 * text.C (top_y): adjust
5311 (leftMargin): adjust
5312 (prepareToPrint): adjust
5314 (getRowNearY): adjust
5316 * lyxtext.h: make rowlist_ mutable.
5318 * RowList.h: add const_iterator
5319 * RowList.C: adjust for RowList::const_iterator.
5321 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5324 2003-03-31 John Levon <levon@movementarian.org>
5327 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5329 * lyx_main.C: set default fonts from using lyx_gui funcs
5331 * exporter.C: pdf_mode moved from lyxrc
5334 * lyxfunc.C: changes from above
5336 2003-03-31 John Levon <levon@movementarian.org>
5338 * lyx_main.C: fix to the last fix
5340 2003-03-31 John Levon <levon@movementarian.org>
5342 * bufferlist.C: "Load original" -> "Load Original"
5348 * format.C: more Alert cleanups
5350 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * text2.C (removeParagraph): make it take a RowList::iterator as
5354 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5355 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5357 * text.C (anchor_row): make it take a RowList::iterator as arg,
5359 (computeBidiTables): make it take a const reference to Row instead
5360 of Row pointer, adjust.
5361 (leftMargin): make it take a RowList::iterator as arg, adjust.
5362 (rowBreakPoint): adjust
5363 (breakAgainOneRow): make it take a RowList::iterator as arg,
5365 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5367 * bufferview_funcs.C (toggleAndShow): adjust
5369 2003-03-30 John Levon <levon@movementarian.org>
5373 * boost-inst.C: moved to support
5375 * several files: changes as a result
5377 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5379 * text2.C (LyXText): adjust.
5381 (removeRow): make it take a RowList::iterator as arg, adjust.
5382 (fullRebreak): adjust
5383 (deleteEmptyParagraphMechanism): adjust
5384 (clearPaint): adjust
5387 * text.C (top_y): adjust
5388 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5389 (breakAgain): make it take a RowList::iterator as arg, adjust.
5390 (breakParagraph): adjust
5391 (insertChar): adjust
5394 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5395 need_break_row, and refresh_row.
5397 * text3.C (dispatch): adjust
5399 * text2.C (checkParagraph): adjust
5401 (setCursorFromCoordinates): adjust
5403 * text.C (top_y): adjust
5405 (getRow): make it return a RowList::iterator, adjust
5406 (getRowNearY): make it return a RowList::iterator, adjust
5408 * text2.C (init): adjust
5409 (insertRow): remove function
5410 (insertParagraph): adjust
5411 (redoParagraphs): adjust
5412 (fullRebreak): adjust
5413 (updateCounters): adjust
5415 * text.C (top_y): rewrite to use RowList iterators.
5417 (setHeightOfRow): rewrite to sue RowList iterators.
5418 (appendParagraph): adjust
5419 (breakAgain): adjust
5420 (breakAgainOneRow): adjust
5421 (breakParagraph): adjust
5423 (getRowNearY): adjust, and remove commented code.
5425 * lyxtext.h (firstRow): delete function
5426 (lastRow): delete function
5427 (rows): new function (const and non-const versions.)
5428 (insertRow): delete function
5430 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5432 2003-03-29 John Levon <levon@movementarian.org>
5434 * BufferView_pimpl.C: always update scrollbar top
5435 because pasting text when we're anchored could mean we
5436 miss an update altogether
5438 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * text2.C (init): use rowlist_.end() and not 0.
5441 (insertRow): change to take a RowList::iterator as arg, adjust
5443 (insertParagraph): change to take a RowList::iterator as arg,
5445 (redoParagraphs): remove some debug msgs.
5447 * text.C (appendParagraph): change to take a RowList::iterator
5448 arg, adjust for this.
5449 (breakAgain): add an assert
5450 (breakAgainOneRow): ditto
5452 2003-03-29 John Levon <levon@movementarian.org>
5454 * text2.C: do not clear selection after inc/decDepth
5457 2003-03-29 John Levon <levon@movementarian.org>
5460 * buffer.C: fix broken strerrors according to Lars
5462 2003-03-29 John Levon <levon@movementarian.org>
5464 * converters.C: more Alert cleanups
5466 2003-03-29 John Levon <levon@movementarian.org>
5468 * bufferview_funcs.C: remove pointless Alert
5470 * buffer.C: fix confusing error message when
5471 a template is chmoded 000
5473 2003-03-29 John Levon <levon@movementarian.org>
5477 * BufferView_pimpl.C: Alert fixes
5481 * tabular-old.C: remove unused table compat reading
5483 2003-03-29 John Levon <levon@movementarian.org>
5488 * lyx_cb.C: more Alert cleanups
5490 * lyxfunc.C: don't allow chktex if not latex document
5492 2003-03-29 John Levon <levon@movementarian.org>
5496 * buffer.C: warnings pushed down from support/,
5499 2003-03-29 John Levon <levon@movementarian.org>
5501 * lyxfunc.C: safety check for C-r (revert)
5503 2003-03-29 John Levon <levon@movementarian.org>
5506 * bufferlist.C: several UI fixes using Alert::prompt.
5507 Fix the pointless looping quit code. Fix stupid revert
5512 * lyx_cb.C: use Alert::prompt
5514 * lyx_main.C: remove a silly question
5516 * lyxfunc.C: remove a couple of silly questions,
5519 2003-03-28 John Levon <levon@movementarian.org>
5521 * text2.C: fix bug 974 (End on empty par)
5523 2003-03-28 John Levon <levon@movementarian.org>
5525 * BufferView_pimpl.C:
5527 * lfuns.h: remove do-nothing math greek lfuns
5529 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * lyxgluelength.h (isValidGlueLength): add default arg on
5532 parameter 2. Remove default arg from friend in class.
5534 * lyxlength.h (isValidLength): add default arg on parameter 2.
5535 Remove default arg from friend in class.
5537 * text2.C (LyXText): adjust, initialize refresh_row.
5541 (insertParagraph): adjst
5542 (redoParagraphs): adjust
5543 (fullRebreak): adjust
5544 (updateCounters): adjust
5545 (deleteEmptyParagraphMechanism): first attempt at fixing a
5548 * text.C (top_y): adjust
5549 (setHeightOfRow): adjust
5551 (getRowNearY): adjust
5553 * lyxtext.h: include RowList.h
5554 (~LyXText): not needed anymore, deleted.
5555 (firstRow): modify for RowList
5556 (lastRow): new function
5557 Delete firstrow and lastrow class variables, add a Rowlist
5558 rowlist_ class variable.
5560 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5563 * RowList.C (insert): fix case where it == begin().
5565 2003-03-26 Angus Leeming <leeming@lyx.org>
5567 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5568 the thesaurus dialog.
5570 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5574 * RowList.[Ch]: new files
5576 * ParagraphList.C (erase): handle the case where it == begin
5579 2003-03-25 John Levon <levon@movementarian.org>
5583 * aspell.C: add new aspell support
5586 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5589 2003-03-25 Angus Leeming <leeming@lyx.org>
5592 * LyXAction.C (init): new LFUN_INSET_INSERT.
5594 * BufferView_pimpl.C (dispatch): split out part of the
5595 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5597 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5600 2003-03-25 Angus Leeming <leeming@lyx.org>
5602 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5604 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5607 * text3.C: remove useless row->height(0)
5609 2003-03-25 John Levon <levon@movementarian.org>
5613 * text3.C: rename the refreshing stuff to better names
5615 2003-03-24 John Levon <levon@movementarian.org>
5617 * BufferView_pimpl.h:
5618 * BufferView_pimpl.C: update layout choice on a mouse
5621 2003-03-23 John Levon <levon@movementarian.org>
5623 * Makefile.am: fix commandtags.h reference
5625 2003-03-22 John Levon <levon@movementarian.org>
5627 * BufferView_pimpl.C:
5632 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5634 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5637 * text.C: take the rtl methods out of line
5639 2003-03-21 André Pönitz <poenitz@gmx.net>
5641 * metricsinfo.[Ch]: new files containing structures to be passed around
5642 during the two-phase-drawing...
5644 2003-03-21 André Pönitz <poenitz@gmx.net>
5646 * lyxtextclass.C: read 'environment' tag.
5648 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5650 * text2.C (removeRow): fix bug 964
5652 2003-03-20 John Levon <levon@movementarian.org>
5656 * text2.C: paint cleanups. Inset::update() dropped font
5659 2003-03-19 John Levon <levon@movementarian.org>
5661 * lyxfunc.C: only fitcursor/markDirty if available()
5663 2003-03-19 John Levon <levon@movementarian.org>
5665 * commandtags.h: rename to ...
5667 * lfuns.h: ... this, and renumber / cleanup
5669 2003-03-19 John Levon <levon@movementarian.org>
5671 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5672 fit the cursor after an lfun
5676 * BufferView_pimpl.h:
5677 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5679 * LyXAction.C: layout-character should have ReadOnly
5681 * ParagraphParameters.C:
5683 * bufferview_funcs.C:
5690 * undo_funcs.C: changes from above
5692 2003-03-18 John Levon <levon@movementarian.org>
5694 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5695 remove it from update()
5697 * lyxfunc.C: update layout choice after an lfun
5699 * text3.C: remove extra updateLayoutChoice()s
5701 2003-03-18 John Levon <levon@movementarian.org>
5703 * text.C: top_y change means full repaint, fix
5704 a drawing bug with cursor movement
5706 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5710 * text2.C: anchor row on setCursor
5712 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5714 * lyxtext.h: remove almost all mutable keywords
5717 * text3.C: remove const keywords accordingly
5719 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5723 (TeXEnvironment): ditto
5726 2003-03-17 John Levon <levon@movementarian.org>
5728 * text.C (rowBreakPoint): remove attempt to fix displayed
5729 math insets inside a manual label
5731 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * lyxtext.h: remove BufferView* as first arg from almost all class
5735 * other files: adjust.
5737 2003-03-17 John Levon <levon@movementarian.org>
5741 * text2.C: more paint cleanups
5743 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5746 * rowpainter.C: remove "smart" background painting code
5748 2003-03-16 John Levon <levon@movementarian.org>
5753 * text3.C: add helper functions for setting refresh_row/y
5755 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5757 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5758 newline inset which *can* get inserted in the pass_thru layouts.
5759 This is primarily for literate documents.
5761 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5763 * buffer.C: increment LYX_FORMAT to 223
5765 2003-03-14 André Pönitz <poenitz@gmx.net>
5767 * textclass.h: prepare for environment handling, ws changes
5768 * lyxlayout.C: read latexheader and latexfooter tags
5770 2003-03-14 John Levon <levon@movementarian.org>
5772 * text2.C: rewrite ::status() a bit
5774 2003-03-13 John Levon <levon@movementarian.org>
5776 * lyxtext.h: add some docs
5778 2003-03-13 John Levon <levon@movementarian.org>
5783 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5785 2003-03-13 John Levon <levon@movementarian.org>
5787 * text3.C: fix appendix redrawing
5789 2003-03-13 John Levon <levon@movementarian.org>
5791 * text.C (setHeightOfRow):
5793 * rowpainter.C: make appendix mark have the text
5794 "Appendix" so the user knows what it is
5797 * LColor.C: s/appendixline/appendix/ from above
5799 2003-03-13 John Levon <levon@movementarian.org>
5801 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5803 * text.C: fix a getChar(pos) bug properly
5805 2003-03-13 Angus Leeming <leeming@lyx.org>
5808 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5809 Probably only temporary. Let's see how things pan out.
5811 * BufferView.C (unlockInset):
5812 * BufferView_pimpl.C (fitCursor):
5813 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5815 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5816 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5818 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5819 new functions that convert ParagraphParameters to and from a string.
5821 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5822 BufferView::Pimpl's dispatch.
5823 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5825 2003-03-13 André Pönitz <poenitz@gmx.net>
5829 * factory.C: make it aware of InsetEnv
5831 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5833 * text2.C (setCursor): never ask for one past last
5834 (setCursor): add some debugging messages.
5836 * text.C (singleWidth): never ask for one past last
5837 (singleWidth): ditto
5839 (rightMargin): ditto
5840 (rowBreakPoint): ditto
5841 (setHeightOfRow): ditto
5842 (prepareToPrint): ditto
5844 * rowpainter.C (paintBackground): never ask for one past last
5845 (paintText): never ask for one past last
5847 * paragraph_pimpl.C (getChar): make the assert stricter, never
5848 allow the one past last pos to be taken
5850 * paragraph.C (getChar): ws changes only
5852 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5853 (numberOfSeparators): ditto
5854 (numberOfHfills): ditto
5856 2003-03-12 John Levon <levon@movementarian.org>
5862 * paragraph_funcs.C: fix per-buffer authorlists
5864 2003-03-12 John Levon <levon@movementarian.org>
5866 * text.C: fix newline in right address
5868 2003-03-12 Angus Leeming <leeming@lyx.org>
5870 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5871 duplicate those in LyXFunc::dispatch.
5875 * ToolbarDefaults.C:
5876 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5877 Add LFUN_FONTFREE_UPDATE.
5879 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5880 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5882 * bufferview_func.[Ch]: several new functions to facilliate
5883 transfer of data to and from the character dialog.
5885 2003-03-12 John Levon <levon@movementarian.org>
5890 * paragraph_funcs.C:
5891 * paragraph_pimpl.C:
5895 * text3.C: remove META_NEWLINE in favour of an inset
5898 * rowpainter.C: remove paintNewline (done by inset)
5900 2003-03-12 John Levon <levon@movementarian.org>
5902 * paragraph_pimpl.C: complain about bad getChar()s
5903 for a while at least
5905 2003-03-12 John Levon <levon@movementarian.org>
5908 * buffer.C: move paragraph read into a separate function,
5909 a little renaming to reflect that.
5912 * bufferparams.C: remove the author_ids map, not necessary now
5915 * factory.C: moved Buffer::readInset to here
5917 * paragraph_funcs.h:
5918 * paragraph_funcs.C: readParagraph free function moved from
5921 * tabular.C: name change
5923 2003-03-12 John Levon <levon@movementarian.org>
5926 * ParagraphParameters.C: move par params input to
5929 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5930 behave like a normal read from the stream wrt reading
5931 a line vs. a \\token
5933 2003-03-12 John Levon <levon@movementarian.org>
5936 * ParagraphParameters.h:
5937 * ParagraphParameters.C: move output code to a
5940 2003-03-12 John Levon <levon@movementarian.org>
5942 * BufferView.C (insertLyXFile):
5945 * tabular.C: use a parlist iterator for creating the
5948 2003-03-12 John Levon <levon@movementarian.org>
5950 * buffer.C: make current_change static local not
5953 2003-03-12 John Levon <levon@movementarian.org>
5955 * buffer.C: fix insertStringAsLines for change tracking
5957 2003-03-12 John Levon <levon@movementarian.org>
5964 * bufferparams.C: move author list into params. Rename some
5965 functions. Move the header reading into a separate token
5966 loop. Move the header token reading into BufferParams.
5968 2003-03-12 John Levon <levon@movementarian.org>
5970 * changes.C: put debug inside lyxerr.debugging() checks
5972 2003-03-11 André Pönitz <poenitz@gmx.net>
5974 * factory.C: make it aware of InsetHFill
5976 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5978 * buffer.C (latexParagraphs): move function from here...
5979 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5982 2003-03-10 Angus Leeming <leeming@lyx.org>
5984 * LyXAction.C (init): fix bug in poplating array with multiple entries
5985 with the same LFUN (spotted by JMarc).
5987 2003-03-10 John Levon <levon@movementarian.org>
5990 * text2.C: move getColumnNearX() near its
5993 2003-03-10 John Levon <levon@movementarian.org>
5995 * text.C: fix break before a minipage
5997 2003-03-10 John Levon <levon@movementarian.org>
5999 * text.C: fix the last commit
6001 2003-03-09 John Levon <levon@movementarian.org>
6005 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6006 bug 365 (don't break before insets unless needed). Don't
6007 return a value > last under any circumstances.
6009 2003-03-09 Angus Leeming <leeming@lyx.org>
6011 * BufferView_pimpl.C (trackChanges, dispatch): call
6012 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6014 2003-03-09 Angus Leeming <leeming@lyx.org>
6016 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6017 than Dialogs::showAboutlyx().
6019 2003-03-09 Angus Leeming <leeming@lyx.org>
6021 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6022 than Dialogs::showTabularCreate().
6024 2003-03-09 John Levon <levon@movementarian.org>
6028 * text2.C: 3rd arg to nextBreakPoint was always the same.
6031 2003-03-08 John Levon <levon@movementarian.org>
6038 * text2.C: Remove the "main" bit from the "main body"
6041 2003-03-08 John Levon <levon@movementarian.org>
6043 * text.C (leftMargin): The left margin of an empty
6044 manual label paragraph should not include the label width
6047 * text.C (prepareToPrint): don't attempt to measure hfills
6048 for empty manual label paragraphs - the answer should be 0
6050 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * CutAndPaste.C: remove commented code and reindent.
6054 2003-03-08 John Levon <levon@movementarian.org>
6057 * lyxfunc.C: move reloadBuffer()
6060 * BufferView.C: to here
6062 * lyxvc.C: add comment
6065 * vc-backend.C: call bv->reload() to avoid
6066 getStatus() check on MENURELOAD
6068 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6070 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6071 to an old format .dep file.
6073 2003-03-07 Angus Leeming <leeming@lyx.org>
6075 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6076 when the LFUN_MOUSE_RELEASE should have been handled by
6077 inset->localDispatch.
6079 2003-03-07 Angus Leeming <leeming@lyx.org>
6081 * BufferView_pimpl.C (dispatch):
6082 * LyXAction.C (init):
6083 * ToolbarDefaults.C (init):
6085 * lyxfunc.C (getStatus):
6086 remove LFUN_INSET_GRAPHICS.
6088 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6090 2003-03-07 Angus Leeming <leeming@lyx.org>
6093 * LyXAction.C (init):
6094 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6096 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6099 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6101 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6102 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6104 2003-03-07 Angus Leeming <leeming@lyx.org>
6106 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6109 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * ParagraphList.C (front): new function
6114 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6116 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6117 and top_row_offset_. removed var first_y.
6119 * text2.C (LyXText, removeRow):
6121 * BufferView_pimpl.C:
6122 use these methods instead of using first_y
6124 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6126 * text2.C (pasteSelection): adjust for checkPastePossible
6128 * CutAndPaste.C: remove Paragraph * buf and replace with
6129 ParagraphList paragraphs.
6130 (DeleteBuffer): delete
6131 (cutSelection): change the tc type to textclass_type
6132 (copySelection): change the tc type to textclass_type
6133 (copySelection): adjust for ParagraphList
6134 (pasteSelection): change the tc type to textclass_type
6135 (pasteSelection): adjust for Paragraphlist
6136 (nrOfParagraphs): simplify for ParagraphList
6137 (checkPastePossible): simplify for ParagraphList
6138 (checkPastePossible): remove unused arg
6140 * ParagraphList.C (insert): handle the case where there are no
6143 * CutAndPaste.h: make CutAndPaste a namespace.
6145 * text3.C (dispatch): adjust
6147 * text.C (breakParagraph): add a ParagraphList as arg
6149 * paragraph_funcs.C (breakParagraph): change to take a
6150 BufferParams and a ParagraphList as args.
6151 (breakParagraphConservative): ditto
6152 (mergeParagraph): ditto
6153 (TeXDeeper): add a ParagraphList arg
6154 (TeXEnvironment): ditto
6157 * buffer.C (readLyXformat2): adjust
6158 (insertStringAsLines): adjust
6159 (latexParagraphs): adjust
6161 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6162 (cutSelection): adjust
6163 (pasteSelection): adjust
6165 * BufferView_pimpl.C (insertInset): adjust
6167 2003-03-05 Angus Leeming <leeming@lyx.org>
6170 * LyXAction.C (init):
6171 * BufferView_pimpl.C (dispatch):
6172 * lyxfunc.C (getStatus):
6173 remove LFUN_CHILD_INSERT.
6175 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6177 2003-03-05 Angus Leeming <leeming@lyx.org>
6180 * LyXAction.C (init):
6181 * src/factory.C (createInset):
6182 * lyxfunc.C (getStatus):
6183 * text3.C (dispatch):
6184 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6186 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6188 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * ParagraphList.C (insert): handle insert right before end()
6191 (erase): fix cases where it can be first or last paragraph.
6193 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6196 Paragraph::next and Paragraph::previous
6199 * text.C (breakParagraph): adjust
6201 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6202 BufferParams& as arg.
6203 (breakParagraph): use ParagraphList::insert
6204 (breakParagraphConservative): take a Buffer* instead of a
6205 BufferParams& as arg.
6206 (breakParagraphConservative): use ParagraphList::insert.
6208 * buffer.C (insertStringAsLines): un-const it
6209 (insertStringAsLines): adjust
6211 * ParagraphList.C (insert): new function
6213 * CutAndPaste.C (pasteSelection): adjust
6215 * text.C (backspace): adjust
6217 * tabular.C (SetMultiColumn): adjust
6219 * CutAndPaste.C (cutSelection): adjust
6220 (pasteSelection): adjust
6222 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6223 Buffer const * as arg
6225 * ParagraphList.C (erase): new function
6226 * paragraph_funcs.C (mergeParagraph): use it
6227 (mergeParagraph): make it take a Buffer* instead of a
6228 BufferParams* as arg
6230 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6232 (breakParagraphConservative): ditto
6234 * paragraph.h: remove the breakParagraph friend
6236 * paragraph.C (eraseIntern): new function
6237 (setChange): new function
6239 * paragraph_funcs.C (mergeParagraph): make it take a
6240 ParagraphList::iterator instead of a Paragraph *, adjust
6243 * paragraph.h: move an #endif so that the change tracking stuff
6244 also works in the NO_NEXT case.
6246 2003-03-04 Angus Leeming <leeming@lyx.org>
6249 * LyXAction.C: new LFUN_INSET_MODIFY.
6251 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6252 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6254 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6256 * several files: ws changes only
6258 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6259 (TeXEnvironment): ditto
6262 * buffer.C (makeLaTeXFile): adjust
6263 (latexParagraphs): make it take ParagraphList::iterator as args
6265 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * buffer.C (latexParagraphs): adjust
6269 * paragraph.C (TeXOnePar): move function...
6270 (optArgInset): move function...
6271 (TeXEnvironment): move function...
6272 * paragraph_pimpl.C (TeXDeeper): move function...
6273 * paragraph_funcs.C: ...here
6275 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6277 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6279 * buffer.C (readInset): remove compability code for old Figure and
6282 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * buffer.C: ws changes
6287 * BufferView_pimpl.C: ditto
6290 * bufferlist.h: ditto
6294 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6296 * converter.[Ch]: split into itself +
6299 * Makefile.am: += graph.[Ch] + format.[Ch]
6306 * lyxrc.C: added #include "format.h"
6308 2003-02-27 Angus Leeming <leeming@lyx.org>
6310 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6313 * factory.C (createInset): add "label" to the factory.
6315 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6316 string and do no more.
6318 2003-02-27 Angus Leeming <leeming@lyx.org>
6321 * LyXAction.C (init):
6322 * factory.C (createInset):
6323 * BufferView_pimpl.C (dispatch):
6324 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6326 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6328 * lyxfunc.C (dispatch):
6329 * text3.C (dispatch): pass name to params2string.
6331 2003-02-26 Angus Leeming <leeming@lyx.org>
6333 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6335 Rearrange the ~includes. Strip out the unnecessary ones.
6337 * factory.C (createInset): reformat.
6338 create new insets for the various LFUN_XYZ_APPLY lfuns.
6340 2003-02-26 John Levon <levon@movementarian.org>
6343 * lyxrow.C: add isParStart,isParEnd helpers
6345 * paragraph.h: make isInserted/DeletedText take refs
6347 * paragraph_funcs.h:
6348 * paragraph_funcs.C: remove #if 0'd code
6353 * text.C: use lyxrow helpers above.
6354 Move draw and paint routines to RowPainter.
6355 Make several methods use refs not pointers.
6356 Make backgroundColor() const.
6357 Add markChangeInDraw(), isInInset().
6358 Merge changeRegionCase into changeCase.
6359 Make workWidth() shouldn't-happen code into an Assert.
6362 * rowpainter.C: new class for painting a row.
6365 * vspace.C: make inPixels take a ref
6367 2003-02-26 Angus Leeming <leeming@lyx.org>
6369 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6372 2003-02-25 John Levon <levon@movementarian.org>
6374 * ispell.C: give the forked command a more accurate name
6376 2003-02-22 John Levon <levon@movementarian.org>
6379 * toc.C: make TocItem store an id not a Paragraph *
6382 2003-02-21 Angus Leeming <leeming@lyx.org>
6384 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6385 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6386 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6387 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6388 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6389 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6391 * BufferView_pimpl.C (dispatch):
6392 * LyXAction.C (init):
6393 * factory.C (createInset):
6394 * lyxfunc.C (getStatus, dispatch):
6395 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6397 2003-02-21 Angus Leeming <leeming@lyx.org>
6399 * BufferView_pimpl.C (MenuInsertLyXFile):
6400 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6401 * lyxfunc.C (menuNew, open, doImport):
6402 no longer pass a LyXView & to fileDlg.
6404 2003-02-21 Angus Leeming <leeming@lyx.org>
6406 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6407 * LyXAction.C: change, BIBKEY to BIBITEM.
6408 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6409 Change InsetBibKey to InsetBibitem.
6410 Change BIBKEY_CODE to BIBITEM_CODE.
6411 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6412 * factory.C: replace insetbib.h with insetbibitem.h.
6413 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6414 * paragraph.C: replace insetbib.h with insetbibitem.h.
6415 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6416 Change bibkey() to bibitem().
6417 * text.C: remove insetbib.h.
6418 * text2.C: replace insetbib.h with insetbibitem.h.
6419 change bibkey() to bibitem().
6420 * text3.C: remove insetbib.h.
6421 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6423 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6425 * lyxrc.C (output): enclose user email in quotes (in case there are
6428 2003-02-18 John Levon <levon@movementarian.org>
6430 * buffer.h: add std::
6432 2003-02-17 John Levon <levon@movementarian.org>
6438 * pspell.C: reworking. Especially in ispell, a large
6439 number of clean ups and bug fixes.
6441 * lyxfunc.C: fix revert to behave sensibly
6443 2003-02-17 André Pönitz <poenitz@gmx.net>
6446 * commandtags.h: new LFUN_INSERT_BIBKEY
6456 * paragraph_func.C: remove special bibkey handling
6458 2003-02-17 John Levon <levon@movementarian.org>
6460 * text.C (Delete): fix case where delete at the end of
6461 the very first paragraph would not merge the pars
6463 2003-02-17 John Levon <levon@movementarian.org>
6465 * lyxrow.C: fix lastPrintablePos()
6467 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6469 * bufferparams.C (writeLaTeX): add a std:here
6471 * buffer.C: and remove a using directive there
6473 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6475 * buffer.C (makeLaTeXFile): move the code that generates the
6478 * bufferparams.C (writeLaTeX): ... in this new method
6480 * LaTeXFeatures.C (getEncodingSet): make const
6481 (getLanguages): make const
6483 * MenuBackend.C (binding): returns the binding associated to this
6485 (add): sets the status of each item by calling getStatus. Adds
6487 (read): add support for OptSubMenu
6488 (expand): remove extra separator at the end of expanded menu
6490 2003-02-15 John Levon <levon@movementarian.org>
6493 * BufferView_pimpl.C:
6495 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6496 inset code that had no actual effect. Remove unneeded status
6499 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6501 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6504 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6506 * text.C (drawLengthMarker): also draw an arrow marker for
6507 symbolic lengths (medskip...)
6509 2003-02-14 John Levon <levon@movementarian.org>
6512 * tabular.C: better method names
6514 2003-02-14 John Levon <levon@movementarian.org>
6516 * BufferView_pimpl.C:
6521 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6522 it's a more accurate name. Remove some pointless uses.
6524 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6526 * text2.C (LyXText): change order of initilizers to shut off
6529 2003-02-14 John Levon <levon@movementarian.org>
6531 * buffer.C: use ParIterator for getParFromID()
6535 * paragraph_pimpl.h:
6536 * paragraph_pimpl.C: remove unused getParFromID()
6538 2003-02-14 John Levon <levon@movementarian.org>
6540 * buffer.C: remove some very old #if 0'd parse code
6542 2003-02-13 John Levon <levon@movementarian.org>
6546 * text2.C: move hfillExpansion(), numberOfSeparators(),
6547 rowLast(), rowLastPrintable(), numberofHfills(),
6548 numberOfLabelHfills() ...
6551 * lyxrow.C: ... to member functions here.
6556 * text.C: remove LyXText::beginningOfMainBody(), and call
6557 p->beginningOfMainBody() directly. Move the check for
6558 LABEL_MANUAL into the latter.
6565 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6571 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6572 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6574 2003-02-13 John Levon <levon@movementarian.org>
6576 * CutAndPaste.C: remove debug
6578 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6580 * paragraph.C (asString): remove two unused variables
6582 * lyxtextclass.C (readTitleType):
6584 (LyXTextClass): handle new members titletype_ and titlename_
6586 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6588 2003-02-09 John Levon <levon@movementarian.org>
6591 * buffer.C: replace hand-coded list with a map for the dep clean
6593 2003-02-08 John Levon <levon@movementarian.org>
6595 * LaTeX.C: consolidate code into showRunMessage() helper
6597 2003-02-08 John Levon <levon@movementarian.org>
6602 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6603 and pass the size in explicitly
6605 * BufferView_pimpl.h:
6606 * BufferView_pimpl.C:
6608 * BufferView.C: add getCurrentChange()
6610 * BufferView_pimpl.h:
6611 * BufferView_pimpl.C: handle change lfuns
6613 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6614 for changes. Mark pasted paragraphs as new.
6616 * support/lyxtime.h:
6617 * support/lyxtime.C:
6618 * DepTable.C: abstract time_t as lyx::time_type
6621 * LColor.C: add colours for new text, deleted text, changebars
6623 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6624 package use "usenames" option.
6628 * LyXAction.C: add change lfuns
6632 * author.C: author handling
6635 * buffer.C: add a per-buffer author list, with first entry as
6636 current author. Handle new .lyx tokens for change tracking. Output
6637 author list to .lyx file. Output dvipost stuff to .tex preamble.
6638 Bump lyx format to 222.
6641 * bufferlist.C: add setCurrentAuthor() to reset current author details
6645 * bufferparams.C: add param for tracking
6647 * bufferview_funcs.C: output change info in minibuffer
6651 * changes.C: add change-tracking structure
6654 * debug.C: add CHANGES debug flag
6657 * lyxfind.C: add code for finding the next change piece
6660 * lyxrc.C: add user_name and user_email
6663 * lyxrow.C: add a metric for the top of the text line
6666 * text.C: implement accept/rejectChange()
6669 * text.C: paint changebars. Paint new/deleted text in the chosen
6670 colours. Strike through deleted text.
6674 * paragraph_pimpl.h:
6675 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6676 in the current change to the insert functions. Rework erase to
6677 mark text as deleted, adding an eraseIntern() and a range-based
6678 erase(). Implement per-paragraph change lookup and
6681 * paragraph_funcs.C: Fixup paste for change tracking.
6683 * tabular.C: mark added row/columns as new.
6685 * text.C: fix rowLast() to never return -1. Don't allow
6686 spellchecking of deleted text. Track transpose changes. Don't
6687 allow paragraph break or merge where appropriate.
6689 * text2.C: leave cursor at end of selection after a cut.
6691 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6693 * text.C (getLengthMarkerHeight):
6694 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6695 visible on screen too.
6697 2003-02-07 John Levon <levon@movementarian.org>
6699 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6701 2003-02-05 Angus Leeming <leeming@lyx.org>
6703 * lyxserver.C (read_ready): revert my patch of 11 September last year
6704 as it sends PC cpu through the roof. Presumably this means that
6705 the lyxserver will no longer run on an Alpha...
6707 2003-01-30 Angus Leeming <leeming@lyx.org>
6709 * factory.C (createInset): create an InsetCommandParam of type "index"
6710 and use it to 'do the right thing'.
6712 * text2.C (getStringToIndex): ensure that cursor position is always
6713 reset to the reset_cursor position.
6715 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6717 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6720 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6724 * lyxfunc.C: Output messages with identical spelling, punctuation,
6727 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6729 * MenuBackend.C (expandFormats): List only viewable export formats
6732 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6735 * lyxfunc.C (getStatus): Make sure that formats other than
6736 "fax" can also be disabled
6738 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6740 * text3.C (dispatch): put the lfuns that insert insets in 3
6741 groups, and call doInsertInset with appropriate arguments.
6742 (doInsertInset): new function, that creates an inset and inserts
6743 it according to some boolean parameters.
6745 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * buffer.C (readFile): remember to pass on 'par' when calling
6748 readFile recursively.
6750 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6752 * MenuBackend.C (expandFormats): add "..." to import formats.
6754 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6756 * paragraph.C (asString): Remove XForms RTL hacks.
6758 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6759 * buffer.C: fix typo
6761 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * Makefile.am (LIBS): delete var
6764 (lyx_LDADD): add @LIBS@ here instead.
6766 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6768 * Clarify the meaning of "wheel mouse jump"
6770 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6772 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6775 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6777 * importer.C (Loaders): do not preallocate 3 elements in the
6778 vector, since one ends up with 6 elements otherwise
6780 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6782 * DepTable.C (write): write the file name as last element of the
6783 .dep file (because it may contain spaces)
6784 (read): read info in the right order
6786 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6788 * paragraph_pimpl.C (simpleTeXBlanks):
6789 (simpleTeXSpecialChars):
6790 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6792 * tabular.C (latex): add some missing case statements. Reindent.
6794 * MenuBackend.C (expandToc): remove unused variable.
6796 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6805 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6808 2003-01-05 John Levon <levon@movementarian.org>
6811 * BufferView.C: add getEncoding()
6814 * kbsequence.C: do not store last keypress
6817 * lyxfunc.C: store last keypress here instead. Pass encoding
6820 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6822 * lyx_main.C (init): remove annoying error message when following
6823 symbolic links (bug #780)
6825 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6827 * text.C (insertChar):
6828 * lyxrc.C (getDescription): remove extra spaces
6830 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6832 * lyxrc.C (getDescription): remove extra spaces
6834 2002-12-20 John Levon <levon@movementarian.org>
6836 * text3.C: hack fix for page up/down across tall rows
6838 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6840 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6843 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6845 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6846 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6847 thesaurus is not compiled in
6849 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6851 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6853 2002-12-16 Angus Leeming <leeming@lyx.org>
6856 * lyx_main.C (init): remove override_x_deadkeys stuff.
6858 2002-12-12 John Levon <levon@movementarian.org>
6860 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6861 insert. Only remove shift modifier under strict
6864 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * MenuBackend.C (expandToc): fix crash.
6868 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6870 * MenuBackend.C (expandToc): gettext on float names.
6872 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6874 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6875 implement bool empty() [bug 490]
6877 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6879 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6881 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6883 * several files: ws changes
6885 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6887 * text2.C (setCounter): clean up a bit, use boost.format.
6888 (updateCounters): initialize par upon declaration.
6890 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6891 if the layout exists. We do not just store the layout any more.
6892 (SwitchLayoutsBetweenClasses): use boost.format
6894 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6896 * converter.C (convert): if from and to files are the same, use a
6897 temporary files as intermediary
6899 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6902 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6904 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6906 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6908 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * tabular.C (asciiPrintCell): use string(size, char) instead of
6913 * sgml.C (openTag): fix order of arguments to string constructor
6916 * lyxfunc.C (dispatch): use boost.format
6918 * lots of files: change "c" -> 'c'
6920 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6922 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6924 2002-11-25 Angus Leeming <leeming@lyx.org>
6926 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6928 * lyx_main.C (init): compile fix.
6930 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6932 * lyx_cb.C (start): boost.formatify
6933 do not include <iostream>
6935 * lengthcommon.C: ws only
6937 * boost-inst.C,BoostFormat.h: add more explict instantations
6939 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6941 * lots of files: handle USE_BOOST_FORMAT
6943 2002-11-21 John Levon <levon@movementarian.org>
6945 * pspell.C: fix compile
6947 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6949 * lyxfunc.C (dispatch): use boost::format
6953 * lyxfont.C (stateText): use boost::format
6955 * lyx_main.C (LyX): use boost::format
6957 (queryUserLyXDir): ditto
6960 (typedef boost::function): use the recommened syntax.
6962 * importer.C (Import): use boost::format
6964 * debug.C (showLevel): use boost::format
6966 * converter.C (view): use boost::format
6971 * bufferview_funcs.C (currentState): use boost::format
6973 * bufferlist.C (emergencyWrite): use boost::format
6975 * buffer.C (readLyXformat2): use boost::format
6976 (parseSingleLyXformat2Token): ditto
6978 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6980 * LaTeX.C (run): use boost::format
6982 * Chktex.C (scanLogFile): use boost::format
6984 * BufferView_pimpl.C (savePosition): use boost::format
6985 (restorePosition): ditto
6986 (MenuInsertLyXFile): ditto
6988 * BoostFormat.h: help file for explicit instation.
6990 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6992 * tabular.C (latex): Support for block alignment in fixed width
6995 2002-11-17 John Levon <levon@movementarian.org>
6997 * BufferView_pimpl.C:
6999 * lyxfunc.C: split filedialog into open/save
7001 2002-11-08 Juergen Vigna <jug@sad.it>
7003 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7004 by my last patch (hopefully).
7006 2002-11-08 John Levon <levon@movementarian.org>
7015 * toc.C: ParConstIterator, and use it (from Lars)
7017 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7019 * lyxtextclass.[Ch]: revise and add doxygen comments
7021 2002-11-07 John Levon <levon@movementarian.org>
7023 * text.C: fix progress value for spellchecker
7025 * toc.C: fix navigate menu for insetwrap inside minipage
7027 * paragraph_funcs.C: added FIXME for suspect code
7029 2002-11-07 John Levon <levon@movementarian.org>
7031 * BufferView_pimpl.C: fix redrawing of insets
7034 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7036 * text2.C (updateCounters): fix bug 668
7038 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7040 * text3.C (dispatch): Do not make the buffer dirty when moving the
7043 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * vc-backend.C: STRCONV
7048 * text2.C (setCounter): STRCONV
7050 * paragraph.C (asString): STRCONV
7052 * lyxlength.C (asString): STRCONV
7053 (asLatexString): ditto
7055 * lyxgluelength.C (asString): STRCONV
7056 (asLatexString): ditto
7058 * lyxfunc.C (dispatch): STRCONV
7061 * lyxfont.C (stateText): STRCONV
7063 * importer.C (Import): STRCONV
7065 * counters.C (labelItem): STRCONV
7066 (numberLabel): ditto
7067 (numberLabel): remove unused ostringstream o
7072 * bufferview_funcs.C (currentState): STRCONV
7074 * buffer.C (readFile): STRCONV
7075 (asciiParagraph): ditto
7076 (makeLaTeXFile): ditto
7078 * Spacing.C (writeEnvirBegin): STRCONV
7080 * LaTeXFeatures.C (getLanguages): STRCONV
7081 (getPackages): ditto
7083 (getBabelOptions): ditto
7084 (getTClassPreamble): ditto
7085 (getLyXSGMLEntities): ditto
7086 (getIncludedFiles): ditto
7090 (scanAuxFile): ditto
7093 * LString.h: add the STRCONV macros
7095 * BufferView_pimpl.C (savePosition): STRCONV
7096 (restorePosition): ditto
7097 (MenuInsertLyXFile): ditto
7099 * vc-backend.C (scanMaster): change from submatch[...] to
7102 * funcrequest.C: include config.h
7104 * factory.C: include config.h
7106 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7108 * box.C: include config.h
7110 * LaTeX.C (scanAuxFile): change from submatch[...] to
7114 2002-10-25 Angus Leeming <leeming@lyx.org>
7116 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7118 * ispell.[Ch] (setError): new method.
7119 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7120 Use setError() insetead of goto END.
7122 * lyx_cb.C (AutoSave): move out child process into new class
7125 2002-10-30 John Levon <levon@movementarian.org>
7127 * text3.C: make start appendix undoable
7129 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7131 * lyxlength.C (inPixels): Fix returned value.
7133 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7136 2002-10-24 Angus Leeming <leeming@lyx.org>
7138 * lyxgluelength.h: no need to forward declare BufferParams
7139 or BufferView, so don't.
7141 2002-10-21 John Levon <levon@movementarian.org>
7143 * BufferView.C: menuUndo ->undo, redo
7145 * BufferView.h: document, remove dead, make some methods private
7147 * paragraph_funcs.h:
7148 * paragraph_funcs.C:
7149 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7154 * sgml.C: move sgml open/close tag into sgml.C
7156 * bufferview_funcs.h: unused prototype
7159 * lyxfunc.C: remove unused
7162 * text.C: remove unused
7164 2002-10-21 John Levon <levon@movementarian.org>
7168 * BufferView_pimpl.h:
7169 * BufferView_pimpl.C: fix mouse wheel handling based on
7170 patch from Darren Freeman
7172 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7174 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7176 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7178 * lyxlength.C (inPixels): Fix hanfling of negative length.
7179 Fix LyXLength::MU case.
7181 2002-10-16 John Levon <levon@movementarian.org>
7183 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7185 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7187 * converter.C (view): add support for $$i (file name) and $$p
7188 (file path) for the viewer command. If $$i is not specified, then
7189 it is appended to the command (for compatibility with old syntax)
7191 2002-10-14 Juergen Vigna <jug@sad.it>
7193 * undo_funcs.C (textHandleUndo): alter the order in which the
7194 new undopar is added to the LyXText, as we have to set first
7195 the right prev/next and then add it as otherwise the rebuild of
7196 LyXText is not correct. Also reset the cursor to the right paragraph,
7197 with this IMO we could remove the hack in "redoParagraphs()".
7199 2002-10-09 Angus Leeming <leeming@lyx.org>
7201 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7202 to turn off an optimisation if a new inset is to be inserted.
7204 2002-10-11 André Pönitz <poenitz@gmx.net>
7206 * lyxtext.h: make some functions public to allow access
7207 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7209 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7211 * text3.C (dispatch): when changing layout, avoid an infinite loop
7214 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7216 * lyxrc.C (read): treat a viewer or converter command of "none" as
7219 * MenuBackend.C (expandFormats): for an update, also allow the
7220 formats that are not viewable
7222 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7223 script if it is newer than the lyxrc.defaults in user directory
7225 2002-10-07 André Pönitz <poenitz@gmx.net>
7227 * text.C: Vitaly Lipatov's small i18n fix
7229 2002-09-25 Angus Leeming <leeming@lyx.org>
7231 * ispell.h: doxygen fix.
7233 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7235 * buffer.h (readFile): Add a new argument to the method, to allow
7236 reading of old-format templates.
7238 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7240 * toc.C (getTocList): Get TOC from InsetWrap.
7242 2002-09-16 John Levon <levon@movementarian.org>
7244 * lyxfunc.C: check tabular for cut/copy too
7246 2002-09-12 John Levon <levon@movementarian.org>
7251 * factory.C: add header
7253 * paragraph_funcs.h:
7254 * paragraph_funcs.C: cleanup
7256 2002-09-11 John Levon <levon@movementarian.org>
7258 * PrinterParams.h: odd/even default to true
7260 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7262 * PrinterParams.h: update printer parameters for new xforms dialog
7264 2002-09-11 Angus Leeming <leeming@lyx.org>
7266 * lyxserver.C (read_ready): re-write to make it more transparent
7267 and to make it work in coherent fashion under Tru64 Unix.
7269 2002-09-11 André Pönitz <poenitz@gmx.net>
7273 * text3.C: implement LFUN_WORDSEL
7275 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7278 make floatlist_ a boost::shared_ptr<FloatList>
7280 * lyxtextclass.C: include FloatList.h
7281 (LyXTextClass): initialize floatlist_
7282 (TextClassTags): add TC_NOFLOAT
7283 (Read): match "nofloat" to TC_NOFLOAT and use it.
7284 (readFloat): modify call to floatlist_
7288 * FloatList.[Ch] (FloatList): remove commented out float
7290 (erase): new function
7292 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7294 * MenuBackend.C (expandToc): fix crash when there is no document
7297 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7299 * many files: Add insetwrap.
7301 2002-09-09 John Levon <levon@movementarian.org>
7303 * text2.C: remove confusing and awkward depth wraparound
7305 2002-09-09 John Levon <levon@movementarian.org>
7307 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7310 * buffer.C: remove getIncludeonlyList()
7313 * lyxfunc.C: remove headers
7315 2002-09-09 Juergen Vigna <jug@sad.it>
7317 * text.C (getColumnNearX): fix form Michael this is most
7318 probably a cut&paste bug.
7320 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7322 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7324 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7325 references, ws changes.
7327 * text2.C (init): update counters after init
7328 (insertParagraph): no need to set counter on idividual paragraphs.
7329 (setCounter): access the counters object in the textclass object
7330 on in the buffer object.
7331 (updateCounters): ditto
7333 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7334 shared_ptr<Counters> to avoid loading counters.h in all
7336 (LyXTextClass): initialize ctrs_
7337 (TextClassTags): add TC_COUNTER, and ...
7338 (Read): use it here.
7339 (CounterTags): new tags
7340 (readCounter): new function
7341 (counters): new funtion
7342 (defaultLayoutName): return a const reference
7344 * counters.C (Counters): remove contructor
7345 (newCounter): remove a couple of unneeded statements.
7346 (newCounter): simplify a bit.
7347 (numberLabel): some small formatting changes.
7349 * buffer.[Ch]: remove all traces of counters, move the Counters
7350 object to the LyXTextClass.
7352 2002-09-06 Alain Castera <castera@in2p3.fr>
7354 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7355 package to set the horizontal alignment on fixed width columns.
7358 * lyx_sty.h: added tabularnewline macro def.
7360 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7362 2002-09-06 John Levon <levon@movementarian.org>
7364 * LyXAction.C: tooltips for sub/superscript
7366 * MenuBackend.C: a bit more verbose
7368 * lyxfunc.C: tiny clean
7370 * undo_funcs.C: document undo_frozen
7372 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7374 * counters.C (Counters): add missing algorithm counter.
7376 * text2.C (setCounter): lookup the counter with layouts latexname
7377 instead of by section number.
7378 (setCounter): use a hackish way to lookup the correct enum
7380 a float name->type change
7381 reset enum couners with counter name directly instead of depth value.
7383 * counters.C (Counters): remove the push_backs, change to use the
7384 float type not the float name.
7385 (labelItem): remove unused string, float name->type change
7387 * counters.h: don't include vector, loose the enums and sects vectors
7389 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7391 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7392 (Read): add float->TC_FLOAT to textclassTags
7393 (Read): and handle it in the switch
7394 (readFloat): new function
7396 * FloatList.C (FloatList): comment out the hardcoded float
7399 * lyxlayout.h: ws change.
7401 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7403 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7405 2002-09-03 Angus Leeming <leeming@lyx.org>
7407 * BufferView_pimpl.h: qualified name is not allowed in member
7408 declaration: WorkArea & Pimpl::workarea() const;
7410 * factory.C: added using std::endl directive.
7412 * text3.C: added using std::find and std::vector directives.
7414 2002-08-29 André Pönitz <poenitz@gmx.net>
7417 * text2.C: remove unused member number_of_rows
7420 * BufferView2.C: remove file, move contents to...
7421 * BufferView.C: ... here
7423 * BufferView_pimpl.C:
7424 * factory.C: move more inset creation to factory
7426 * vspace.C: avoid direct usage of LyXText, ws changes
7429 don't provide direct access to WorkArea, use two simple
7430 acessors haveSelction() and workHeight() instead
7433 2002-08-29 John Levon <levon@movementarian.org>
7435 * BufferView_pimpl.C (dispatch): do not continue when
7438 2002-08-28 André Pönitz <poenitz@gmx.net>
7440 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7443 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7445 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7447 * buffer.C: increment LYX_FORMAT to 221
7449 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7450 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7452 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7454 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7456 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7458 * factory.C (createInset): use LyXTextClass::floats
7460 * MenuBackend.C (expandFloatListInsert):
7461 (expandFloatInsert):
7464 * text2.C (setCounter):
7466 * LaTeXFeatures.C (useFloat):
7467 (getFloatDefinitions):
7469 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7471 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7472 floatlist_, with accessor floats().
7474 * FloatList.h: remove global FloatList
7476 2002-08-26 André Pönitz <poenitz@gmx.net>
7478 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7482 * BufferView_pimpl.C:
7483 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7485 2002-08-25 John Levon <levon@movementarian.org>
7487 * LyXAction.C: fix margin note description
7489 2002-08-24 John Levon <levon@movementarian.org>
7493 * bufferview_funcs.C:
7495 * undo_funcs.C: cleanups
7497 * lyxfunc.C: disable CUT/COPY when no selection
7499 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7501 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7502 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7504 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7505 Add backward compatibility to "mono", "gray" and "no".
7507 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7509 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7510 (and file_format >= 200).
7512 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7514 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7516 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7518 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7520 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7522 * BufferView_pimpl.C:
7529 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7530 inset and code to make it work with the paragraph code. The inset
7531 can be anywhere in the paragraph, but will only do the expected
7532 thing in LaTeX if the layout file contains the parameter line
7534 (or more generally, a nonzero value) for that layout.
7536 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * paragraph.h: remove the declaration of undefined counters class
7541 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7543 * text2.C (setCounter): fixed enumeration mis-count as reported by
7544 Dr. Richard Hawkins.
7546 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7548 * paragraph_funcs.h: remove some unneeded includes
7550 * text.C (backspace): pasteParagraph now in global scipe
7552 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7553 (pasteSelection): ditto
7555 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7556 * paragraph_funcs.C (pasteParagraph): ... here
7558 2002-08-20 André Pönitz <poenitz@gmx.net>
7560 * commandtags.h: new LFUNs for swapping/copying table row/colums
7563 * lyxfunc.C: support for new lfuns
7565 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * buffer.[Ch]: remove NO_COMPABILITY stuff
7570 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * boost.C (throw_exception): new file, with helper function for
7573 boost compiled without exceptions.
7578 * ParameterStruct.h:
7579 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7581 * bufferlist.C (emergencyWriteAll): use boost bind
7583 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7585 * text.C: include paragraph_funcs.h
7586 (breakParagraph): breakParagraph is now in global scope
7588 * paragraph_funcs.[Ch]: new files
7590 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7593 * buffer.C: include paragraph_funcs.h
7594 (insertStringAsLines): breakParagraph is now in global scope
7596 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7599 * CutAndPaste.C: include paragraph_funcs.h
7600 (cutSelection): breakParagraphConservative is now in global scope
7601 (pasteSelection): ditto
7603 * buffer.h: declare oprator== and operator!= for
7604 Buffer::inset_iterator
7606 * bufferlist.C (emergencyWrite): don't use fmt(...)
7608 * text3.C: add using std::endl
7610 * BufferView.C (moveCursorUpdate): remove default arg
7612 2002-08-20 André Pönitz <poenitz@gmx.net>
7614 * buffer.[Ch]: move inline functions to .C
7617 * BufferView_pimpl.C:
7619 * buffer.[Ch]: use improved inset_iterator
7622 * paragraph.[Ch]: write one paragraph at a time
7624 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7626 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7627 style if style is not specified.
7629 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7631 * text2.C (setCounter): when searching for right label for a
7632 caption, make sure to recurse to parent insets (so that a caption
7633 in a minipage in a figure float works) (bug #568)
7635 2002-08-20 André Pönitz <poenitz@gmx.net>
7637 * text3.C: new file for LyXText::dispatch() and helpers
7639 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7641 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7643 2002-08-19 André Pönitz <poenitz@gmx.net>
7646 * text.C: new LyXText::dispatch()
7648 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7650 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7652 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7654 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7657 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7659 * Makefile.am: use $(variables) instead of @substitutions@
7661 2002-08-15 André Pönitz <poenitz@gmx.net>
7664 * BufferView_pimpl.C: streamlining mathed <-> outer world
7668 * LyXAction.C: remove unused LFUN_MATH
7670 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7674 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7676 * paragraph.C (Paragraph): reformat a bit
7677 (cutIntoMinibuffer): use builtin InsetList function instad of
7681 * buffer.C: include boost/bind.hpp, add using std::for_each
7682 (writeFileAscii): use ParagraphList iterators
7683 (validate): use for_each for validate traversal of paragraphs
7684 (getBibkeyList): use ParagraphList iterators
7685 (resizeInsets): use for_each to resizeInsetsLyXText for all
7687 (getParFromID): use ParagraphList iterators
7689 * BufferView2.C (lockInset): use paragraph list and iterators
7691 2002-08-14 John Levon <levon@movementarian.org>
7693 * lyxserver.C: remove spurious xforms include
7695 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7699 2002-08-13 André Pönitz <poenitz@gmx.net>
7702 * lyxfunc.C: further cleaning
7704 2002-08-13 André Pönitz <poenitz@gmx.net>
7706 * funcrequest.h: new constructor
7708 * funcrequest.C: move stuff here from .h
7711 * BufferView_pimpl.C:
7714 * lyxfunc.C: subsequent changes
7716 * lyxfunc.h: new view() member function
7718 * lyxfunc.C: subsequent changes
7720 2002-08-13 Angus Leeming <leeming@lyx.org>
7723 * BufferView_pimpl.C:
7731 changes due to the changed LyXView interface that now returns references
7732 to member variables not pointers.
7734 2002-08-13 Angus Leeming <leeming@lyx.org>
7736 * WordLangTuple (word, lang_code): return references to strings,
7741 * lyxtext.h: forward-declare WordLangTuple.
7746 * text.C: #include "WordLangTuple.h".
7749 * text.C: (selectNextWordToSpellcheck): constify return type.
7751 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7757 * paragraph_pimpl.h:
7760 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7762 Made updateCounter always count from start of buffer, and removed
7763 second argument (par).
7764 Reverted floats number display to '#'. Perhaps I'll try again when the
7765 code base is sanitized a bit.
7767 2002-08-12 Angus Leeming <leeming@lyx.org>
7769 * buffer.[Ch] (getLabelList): constify.
7771 2002-08-07 André Pönitz <poenitz@gmx.net>
7773 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7775 * funcrequest.h: extension to keep mouse (x,y) position
7777 2002-08-12 Juergen Vigna <jug@sad.it>
7779 * BufferView2.C (insertErrors): forbid undo when inserting error
7782 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7784 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7786 * ParagraphList.[Ch]: new files
7788 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7790 * BufferView2.C (lockInset): ParagraphList changes
7793 * bufferlist.C: ditto
7797 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7800 unused class variable counter_,
7802 * paragraph.[Ch] (getFirstCounter): delete unused function
7804 * counters.C: include LAssert.h
7805 (reset): add a new function with no arg, change other version to
7806 not have def. arg and to not allow empty arg.
7808 * text2.C (setCounter): remove empty arg from call to Counters::reset
7810 2002-08-11 John Levon <levon@movementarian.org>
7812 * Makefile.am: add WordLangTuple.h
7814 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7816 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7817 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7819 * insets/insettext.C: InsetList changes
7821 * graphics/GraphicsSupport.C (operator()): InsetList changes
7823 * toc.C (getTocList): InsetList changes
7825 * paragraph_pimpl.[Ch]: InsetList changes
7827 * paragraph.[Ch]: InsetList changes
7829 * buffer.C (inset_iterator): InsetList changes
7830 (setParagraph): ditto
7831 * buffer.h (inset_iterator): ditto
7832 * iterators.C (operator++): ditto
7833 * iterators.h: ditto
7835 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7837 * InsetList.[Ch]: new files, most InsetList handling moved out of
7840 * BufferView2.C (removeAutoInsets): InsetList changes
7842 (ChangeInsets): ditto
7844 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * paragraph_pimpl.h (empty): new function
7848 * paragraph.[Ch] (empty): new function
7850 * other files: use the new Paragraph::empty function
7852 2002-08-09 John Levon <levon@movementarian.org>
7854 * lyxtext.h: remove unused refresh_height
7856 2002-08-09 John Levon <levon@movementarian.org>
7863 * paragraph.C: move sgml char escaping out of paragraph
7866 * paragraph.C: remove id setter
7870 * paragraph_pimpl.C: remove dead tex_code_break_column
7872 * bufferview_funcs.C: small cleanup
7874 * lyxfunc.C: remove dead proto
7876 * lyxtext.h: make some stuff private. Remove some dead stuff.
7878 * lyxgluelength.C: make as[LyX]String() readable
7880 2002-08-08 John Levon <levon@movementarian.org>
7885 * ToolbarDefaults.C:
7888 * toc.C: lyxaction cleanup
7890 2002-08-08 John Levon <levon@movementarian.org>
7892 * BufferView2.C: small cleanup
7895 * lyxfind.C: move unnecessary header into the .C
7897 2002-08-08 John Levon <levon@movementarian.org>
7899 * funcrequest.h: just tedious nonsense
7902 * lyx_main.C: cleanups
7905 * vspace.C: remove dead header lyx_main.h
7907 2002-08-07 Angus Leeming <leeming@lyx.org>
7910 * paragraph_pimpl.h:
7911 Forward declare class Counters in paragraph.h by moving the ctrs member
7912 variable into Paragraph::Pimpl.
7913 (counters): new method, returning a reference to pimpl_->ctrs.
7915 * text2.C: ensuing changes.
7917 2002-08-07 John Levon <levon@movementarian.org>
7919 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7921 * BufferView_pimpl.C: announce X selection on double/triple
7924 * lyx_main.C: use correct bool in batch dispatch
7926 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7928 2002-08-07 André Pönitz <poenitz@gmx.net>
7930 * funcrequest.h: new class to wrap a kb_action and its argument
7933 * BufferView_pimpl[Ch]:
7937 * lyxrc.C: subsequent changes
7940 2002-08-07 John Levon <levon@movementarian.org>
7942 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7943 document options change.
7945 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7950 * makefile.am: move counters functionality over from
7951 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7953 2002-08-06 John Levon <levon@movementarian.org>
7955 * WordLangTuple.h: new file for word + language code tuple
7966 * BufferView2.C: use WordLangTuple
7969 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7971 2002-08-06 John Levon <levon@movementarian.org>
7973 * lyx_main.C: fix cmdline batch handling
7975 2002-08-06 André Pönitz <poenitz@gmx.net>
7977 * lyxrc.C: set default for show_banner to true
7979 2002-08-06 John Levon <levon@movementarian.org>
7981 * pspell.C: fix a crash, and allow new aspell to work
7983 2002-08-06 John Levon <levon@movementarian.org>
7986 * kbmap.C: small cleanup
7989 * vspace.C: add const
7991 2002-08-05 John Levon <levon@movementarian.org>
7993 * LyXAction.C: back to tabular-insert
7995 2002-08-04 John Levon <levon@movementarian.org>
7998 * BufferView.C: cosmetic change
8000 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8010 * BufferView2.C: purge all "Lyx" not "LyX" strings
8013 * lyxcursor.C: attempt to add some documentation
8018 * ToolbarDefaults.C:
8019 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8020 merge with LFUN_TABULAR_INSERT
8027 * pspell.C: split up i/pspell implementations into separate
8028 files, many cleanups
8030 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8032 * text2.C: some cleanup
8034 * lyxfunc.C: don't check for isp_command == "none" any more, it
8035 didn't make any sense
8037 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8042 * makefile.am: move counters functionality over
8043 from text2.C/paragraph.[Ch] to counters.[Ch], and
8045 2002-08-02 John Levon <levon@movementarian.org>
8047 * buffer.C: s/lyxconvert/lyx2lyx/
8049 2002-08-02 Angus Leeming <leeming@lyx.org>
8051 * lyxlex.C: revert John's change as it breaks reading of the user
8054 2002-08-02 Angus Leeming <leeming@lyx.org>
8056 * importer.C (Import):
8057 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8058 changes due to LyXView::view() now returning a boost::shared_ptr.
8060 2002-08-02 John Levon <levon@movementarian.org>
8062 * lyxlex.C: small cleanup
8064 2002-08-02 John Levon <levon@movementarian.org>
8066 * text2.C (status): small cleanup, no logic change
8068 2002-08-01 John Levon <levon@movementarian.org>
8071 * buffer.C (writeFile): don't output alerts, caller
8075 * lyx_cb.C: from above
8077 * lyxfunc.C: allow to open non-existent files
8079 2002-07-31 John Levon <levon@movementarian.org>
8081 * lyxserver.C: don't let incidental errors get
8084 2002-07-30 John Levon <levon@movementarian.org>
8086 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8088 2002-07-30 John Levon <levon@movementarian.org>
8091 * lyxserver.C: remove I/O callback too
8093 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8098 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * many files: strip,frontStrip -> trim,ltrim,rtrim
8102 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * PrinterParams.h: remove extern containsOnly, and include
8105 support/lstrings.h instead.
8107 * LaTeX.C (scanAuxFile): modify because of strip changes
8109 * buffer.C (makeLaTeXFile): ditto
8110 * bufferparams.C (writeFile): ditt
8111 * lyxfont.C (stateText): ditto
8112 * lyxserver.C (read_ready): ditto
8113 * vc-backend.C (scanMaster): ditto
8115 * BufferView_pimpl.h: ws changes
8117 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8119 2002-07-26 André Pönitz <poenitz@gmx.net>
8121 * kb_sequence.C: remove unnedred usings
8123 2002-07-26 Juergen Vigna <jug@sad.it>
8125 * lyxfind.C (LyXReplace): we have to check better if the returned
8126 text is not of theLockingInset()->getLockingInset().
8128 2002-07-25 Juergen Vigna <jug@sad.it>
8130 * lyxfind.C (LyXReplace): don't replace if we don't get the
8133 * undo_funcs.C (createUndo): remove debugging code.
8135 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8137 * buffer.C (parseSingleLyXformat2Token): Use default placement
8138 when reading old floats.
8140 * FloatList.C (FloatList): Change the default placement of figure
8141 and tables to "tbp".
8143 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8145 * MenuBackend.C: using std::max
8147 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8149 * MenuBackend.C (expandToc):
8150 (expandToc2): code moved from xforms menu frontend. It is now
8151 generic and TOCs are transparent to menu frontends.
8153 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8155 * toc.C (getTocList): protect against buf=0
8157 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8158 Menu as first parameter. Now, this calls itself recursively to
8159 expand a whole tree (this will be useful for TOC handling)
8160 (expandFloatInsert): remove 'wide' version of floats
8162 * MenuBackend.h (submenuname): returns the name of the submenu.
8163 (submenu): returns the submenu itself, provided it has been
8164 created by MenuBackend::expand
8166 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8168 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8169 insets which have noFontChange == true. (bug #172)
8171 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8173 * BufferView_pimpl.C: add connection objects and use them...
8176 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8178 * MenuBackend.C (expandLastfiles):
8181 (expandFloatListInsert):
8182 (expandFloatInsert):
8183 (expand): split expand in parts
8185 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8187 * lyx_gui.C: use lyx_gui::exit()
8189 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8191 * LyXAction.C: show the failing pseudo action
8193 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8195 * buffer.C (readFile): Run the lyxconvert script in order to read
8198 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8202 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8204 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8208 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8210 2002-07-22 Herbert Voss <voss@lyx.org>
8213 * lyxlength.[Ch]: add support for the vertical lengths
8215 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8217 * toc.[Ch]: std:: fixes
8219 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8221 * lyxrc.C: do not include lyx_main.h
8223 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8229 * BufferView2.C: include "lyxlex.h"
8232 * bufferparams.h: do not #include "lyxlex.h"
8234 * lyxtextclasslist.C (Add): remove method
8235 (classlist): renamed to classlist_
8237 * paragraph_pimpl.C:
8241 * bufferview_funcs.C:
8246 * toc.C (getTocList): use BufferParams::getLyXTextClass
8248 * toc.C (getTocList): use InsetFloat::addToToc
8250 * toc.[Ch]: new files, containing helper functions to handle table
8253 * lyxfunc.C (dispatch): no need to remove spaces around command
8255 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8256 first command of the sequence; it is not very clever, but I do not
8257 have a better idea, actually
8259 * LyXAction.C (LookupFunc): make sure to remove space at the
8260 beginning and end of the command
8262 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8264 * MenuBackend.C (getMenubar): new method: return the menubar of
8266 (read): treat differently reading of menu and menubar (in
8267 particular, the menubar has no name now)
8268 (Menu::menubar): remove
8270 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8273 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8275 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8276 a bibitem inset in a RTL paragraph.
8278 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8280 * paragraph_pimpl.C: constify
8282 * BufferView_pimpl.C:
8284 * lyxfunc.C: fix dispatch in a nicer way
8286 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8288 * lyxfunc.C (dispatch):
8289 * BufferView_pimpl.C:
8290 * BufferView_pimpl.h:
8292 * BufferView.h: rename Dispatch() to dispatch()
8294 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8296 * lyxlayout.C (Read): honor DependsOn tag
8298 * lyxlayout.[Ch] (depends_on): new method
8300 * version.C.in: update lyx_docversion
8302 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8304 * paragraph.C (validate): remove from here...
8305 * paragraph_pimpl.C (validate): ... and move here
8306 (isTextAt): make it const
8308 * buffer.C (getLists): ws cleanup
8310 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8312 * language.C (read): Use iso8859-1 encoding in latex_lang
8313 (this prevents LyX from crashing when using iso10646-1 encoding).
8315 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8317 * text2.C (toggleInset): if cursor is inside an inset, close the
8318 inset and leave cursor _after_ it
8320 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8322 * lyxfunc.C: move minibuffer completion handling out of here
8324 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8326 * BufferView_pimpl.C:
8327 * LaTeX.C: fix dispatch calls
8329 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8331 * text.C (drawChars): Fix Arabic text rendering.
8333 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8337 * lyxfunc.C: remove message-push/pop
8341 * lyxfunc.C: rationalise some code by removing verboseDispatch
8342 in favour of a bool argument to dispatch()
8344 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8346 * lyx_main.C (init): make sure to read symlinks as absolute paths
8348 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8351 * lyxfunc.C: no need for commandshortcut to be a member
8353 2002-07-15 André Pönitz <poenitz@gmx.net>
8355 * converter.C: add support for $$s (scripts from lib/scripts dir)
8356 * lyx_main.C: white space
8358 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8362 * lyxrc.C: remove second exit confirmation
8364 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8369 * BufferView_pimpl.h:
8370 * BufferView_pimpl.C:
8371 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8373 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8375 * MenuBackend.C (expand): add numeric shortcuts to document menu
8377 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8379 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * lyxfont.C (setLyXFamily):
8388 * buffer.C (asciiParagraph): use ascii_lowercase
8390 2002-07-15 Mike Fabian <mfabian@suse.de>
8392 * lyxlex_pimpl.C (search_kw):
8393 * lyxlex.C (getLongString):
8394 * converter.h (operator<):
8395 * converter.C (operator<):
8396 * buffer.C (parseSingleLyXformat2Token):
8398 * ToolbarDefaults.C (read):
8399 * MenuBackend.C (checkShortcuts):
8401 * LColor.C (getFromGUIName):
8402 (getFromLyXName): use the compare_ascii_no_case instead of
8403 compare_no_case, because in turkish, 'i' is not the lowercase
8404 version of 'I', and thus turkish locale breaks parsing of tags.
8406 2002-07-16 Angus Leeming <leeming@lyx.org>
8408 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8409 now takes a Buffer const & argument.
8411 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8413 * BufferView.C (resize): check there's a buffer to resize
8415 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8417 * lyxfunc.C: remove dead code
8420 * lyxserver.C: use lyx_guii::set_read_callback
8422 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8424 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8425 an inset in a RTL paragraph.
8427 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8429 * lyxfunc.C: repaint after a font size update
8431 2002-07-15 André Pönitz <poenitz@gmx.net>
8433 * lyxlength.C: inBP should be able to return negative values
8435 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8437 * lyxfunc.C: use lyx_gui::update_fonts()
8439 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8441 * lyxfunc.C: use lyx_gui::update_color()
8443 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8449 * lyxrc.C: remove file->new asks for name option, and let
8450 buffer-new take an argument
8452 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8454 * BufferView_pimpl.C: remove unneeded extra repaint()
8456 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8458 * LyXAction.C: allow command-sequence with NoBuffer
8460 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8462 2002-07-10 Angus Leeming <leeming@lyx.org>
8464 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8466 2002-07-09 Angus Leeming <leeming@lyx.org>
8468 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8470 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8472 * lengthcommon.h: whitespace
8474 * lyxfunc.C: update scrollbar after goto paragraph
8476 * lyxtext.h: factor out page break drawing, and fix it so
8477 page break/added space paints as selected nicely
8479 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8481 * BufferView_pimpl.C: add FIXMEs, clean up a little
8483 2002-07-09 André Pönitz <poenitz@gmx.net>
8485 * lyxfont.[Ch]: support for wasy symbols
8487 2002-07-08 André Pönitz <poenitz@gmx.net>
8489 * BufferView_pimpl.C: apply John's patch for #93.
8491 2002-07-05 Angus Leeming <leeming@lyx.org>
8493 * BufferView_pimpl.C (buffer): generate previews if desired.
8495 * LColor.h: add "preview" to the color enum.
8497 * LColor.C (LColor): add a corresponding entry to the items array.
8499 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8502 2002-07-05 Angus Leeming <leeming@lyx.org>
8504 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8505 The body of the code is now in the method that is passed an ostream &
8506 rather than a file name.
8507 Pass an additional only_preamble parameter, useful for the forthcoming
8510 2002-07-03 André Pönitz <poenitz@gmx.net>
8512 * lyxfunc.C: simplify getStatus() a bit for math stuff
8514 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8516 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8518 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8520 * text.C (changeRegionCase): do not change case of all the
8521 document when region ends at paragraph end (bug #461)
8523 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * paragraph.C (startTeXParParams):
8526 (endTeXParParams): add \protect when necessary
8528 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8530 * BufferView_pimpl.C (workAreaExpose): remove warning
8532 2002-06-27 Angus Leeming <leeming@lyx.org>
8534 * Makefile.am: add lyxlayout_ptr_fwd.h.
8536 2002-06-26 André Pönitz <poenitz@gmx.net>
8538 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8540 2002-06-25 Angus Leeming <leeming@lyx.org>
8542 * lyxfunc.C (dispatch): Comment out the call to
8543 grfx::GCache::changeDisplay. The method no longer exists now that the
8544 pixmap generation part of the graphics loader has been moved into
8547 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8549 * text2.C: layout as layout
8551 * text.C: layout as layout
8553 * tabular.C (OldFormatRead): layout as layout
8555 * paragraph_pimpl.C (TeXDeeper): layout as layout
8556 (realizeFont): layout as layout
8558 * paragraph.C (writeFile): layout as layout
8559 (validate): layout as layout
8560 (getFont): layout as layout
8561 (getLabelFont): layout as layout
8562 (getLayoutFont): layout as layout
8563 (breakParagraph): layout as layout
8564 (stripLeadingSpaces): layout as layout
8565 (getEndLabel): layout as layout
8566 (getMaxDepthAfter): layout as layout
8567 (applyLayout): layout as layout
8568 (TeXOnePar): layout as layout
8569 (simpleTeXOnePar): layout as layout
8570 (TeXEnvironment): layout as layout
8571 (layout): layout as layout
8572 (layout): layout as layout
8574 * lyxtextclass.C (compare_name): new functor to work with
8575 shared_ptr, layout as layout
8576 (Read): layout as layout
8577 (hasLayout): layout as layout
8578 (operator): layout as layout
8579 (delete_layout): layout as layout
8580 (defaultLayout): layout as layout
8582 * lyxlayout_ptr_fwd.h: new file
8584 * lyxlayout.C (Read): layout as layout
8586 * lyx_cb.C (MenuInsertLabel): layout as layout
8588 * bufferlist.C (newFile): layout as layout
8590 * buffer.C (readLyXformat2): layout as layout
8591 (parseSingleLyXformat2Token): layout as layout
8592 (insertStringAsLines): layout as layout
8593 (asciiParagraph): layout as layout
8594 (latexParagraphs): layout as layout
8595 (makeLinuxDocFile): layout as layout
8596 (simpleLinuxDocOnePar): layout as layout
8597 (makeDocBookFile): layout as layout
8598 (simpleDocBookOnePar): layout as layout
8599 (getLists): layout as layout
8601 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8603 * CutAndPaste.C (cutSelection): layout as layout
8604 (pasteSelection): layout as layout
8605 (SwitchLayoutsBetweenClasses): layout as layout
8607 * BufferView_pimpl.C (Dispatch): layout as layout
8608 (smartQuote): layout as layout
8610 * BufferView2.C (unlockInset): layout as layout
8612 2002-06-24 André Pönitz <poenitz@gmx.net>
8614 * lyxfunc.C: fix #487
8616 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8620 * lyxfunc.C: remove display_shortcuts, show_banner
8622 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8624 * Buffer_pimpl.C: oops, update on resize
8626 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8633 * BufferView.C: use repaint()
8635 * BufferView_pimpl.h:
8636 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8637 as it's a clearer description. Remove superfluous
8640 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8642 * text.C: fix bug 488. Not ideal, but getting
8643 getWord() to work properly for the insets that
8644 matter is more difficult ...
8646 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8648 * BufferView_pimpl.C:
8651 * lyxfunc.C: remove the six million index lyxfuncs to just
8652 one, and DTRT (bug 458)
8654 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8658 * BufferView_pimpl.h:
8659 * BufferView_pimpl.C: clean up resize() stuff,
8660 and unnecessary updateScreen()s
8662 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8666 * BufferView_pimpl.h:
8667 * BufferView_pimpl.C:
8670 * minibuffer.C: remove focus management of workarea,
8671 not needed. Use screen's greyOut()
8673 2002-06-17 Herbert Voss <voss@lyx.org>
8675 * converter.C: (convert) do not post a message, when converting
8676 fails, let the calling function decide what to do in this case
8678 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8680 * lyxfunc.C: tidy up a little
8682 2002-06-16 <alstrup@diku.dk>
8684 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8685 Got rid of FORMS_H_LOCATION include. Now we are
8688 2002-06-15 LyX Development team <lyx@rilke>
8690 * buffer.[Ch] (sgmlOpenTag):
8691 (sgmlCloseTag): Added support for avoiding pernicious mixed
8692 content. Return number of lines written.
8695 (makeDocBookFile): Fixed calls to sgml*Tag.
8696 Simple white space clean.
8698 (simpleDocBookOnePar): Simple white space clean.
8700 * tabular.[Ch] (docBook): Renamed to docbook and got another
8701 argument to related with the pernicious mixed content.
8703 (docbookRow): Fixed calls for docbook inset method.
8705 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8707 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8708 so it's X11 independent.
8712 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8714 2002-06-15 Lyx Development team <lyx@electronia>
8716 * intl.h: Renamed getTrans to getTransManager.
8718 2002-06-14 Angus Leeming <leeming@lyx.org>
8720 * Makefile.am: nuke forgotten stl_string_fwd.h.
8722 2002-06-12 Angus Leeming <leeming@lyx.org>
8724 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8726 2002-06-13 Angus Leeming <leeming@lyx.org>
8729 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8731 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8733 * kbmap.C (getiso): add support for cyrillic and greek
8735 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8739 * BufferView_pimpl.h:
8740 * BufferView_pimpl.C: move bogus scrolling logic
8743 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8746 * BufferView_pimpl.C: view->resize() change
8748 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8750 * BufferView_pimpl.C: topCursorVisible
8753 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8757 * lyx_gui.C: move to frontends/
8761 * lyx_main.C: changes from above
8763 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8770 * lyx_main.C: minor tidy
8772 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8774 * BufferView_pimpl.h:
8775 * BufferView_pimpl.C:
8777 * BufferView.C: make painter() const,
8780 * BufferView2.C: use screen() accessor
8783 * lyx_main.C: some minor cleanup
8785 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8787 * BufferView_pimpl.h:
8788 * BufferView_pimpl.C: remove enter/leaveView,
8791 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8796 * BufferView_pimpl.h:
8797 * BufferView_pimpl.C: only construct screen once,
8800 * lyxrc.C: remove pointless comment
8802 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8805 * BufferView.C: remove active() and belowMouse()
8807 * BufferView_pimpl.h:
8808 * BufferView_pimpl.C: use workarea() not workarea_,
8809 and make it use a scoped_ptr instead
8811 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8813 * lyx_gui.C: add debug message on BadWindow
8815 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8817 * sp_spell.C: fdopen is not part of the C++ standard.
8819 * paragraph.C (InsetIterator): use >= instead of ==
8821 2002-06-07 Angus Leeming <leeming@lyx.org>
8823 Fixes needed to compile with Compaq cxx 6.5.
8824 * BufferView_pimpl.C:
8831 * lyxtextclasslist.C:
8836 all c-library variables have been moved into namespace std. Wrap
8837 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8842 Add a using std::abs declaration.
8844 * kbmap.h (modifier_pair):
8845 * paragraph.h (InsetTable, InsetList):
8846 * lyxfont.h (FontBits):
8847 type definition made public.
8849 * bufferlist.C (emergencyWriteAll): the compiler complains that
8850 there is more than one possible lyx::class_fun template to choose from.
8851 I re-named the void specialisation as lyx::void_class_fun.
8853 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8855 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8856 the compiler is is unable to find tostr in write_attribute.
8858 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8860 * buffer.C (sgmlError): hide #warning
8862 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8864 * xtl/*: get rid of xtl, which is not in use anyway
8866 * LyXAction.C (init):
8867 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8868 were unimplemented xtl experimentation
8870 2002-06-04 André Pönitz <poenitz@gmx.net>
8872 * lyxfunc.C: disable array operation on simple formulae
8874 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8876 * converter.C: constify a bit
8878 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8880 * lyx_gui.C: check xforms version correctly
8882 2002-04-30 Herbert Voss <voss@lyx.org>
8884 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8887 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8889 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8890 attempt to register it with a VCS)
8892 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * lyx_main.C (init): honor variables LYX_DIR_13x and
8897 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8901 * lyx_main.C: fix a crash on bad command line,
8902 and give a useful exit status on error
8904 * lyxfunc.C (doImport): allow -i lyx to work
8906 2002-03-30 André Pönitz <poenitz@gmx.net>
8908 * lyxfunc.C: mathed font changes
8910 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8925 * trans_mgr.h: srcdocs, and some minor cleanups
8927 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8930 call getFont all the time)
8932 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8934 * switch from SigC signals to boost::signals
8936 2002-05-29 André Pönitz <poenitz@gmx.net>
8938 * paragraph_pimpl.C (getChar): don't call size() too often...
8940 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8942 * paragraph_pimpl.C (insertChar): do not try to update tables when
8943 appending (pos == size())
8945 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8946 in order to reduce drastically the number of comparisons needed to
8947 parse a large document
8949 2002-05-29 André Pönitz <poenitz@gmx.net>
8955 * textclasslist.[Ch]:
8956 * sp_ispell.h: whitespace change
8958 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8960 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8961 lyxaction directly now.
8963 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8967 * lyxvc.C: remove unused headers
8969 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8976 * undo_funcs.C: some cleanups. Use shared_ptr
8977 and a template for the undo stacks.
8979 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.h:
8982 * BufferView_pimpl.C:
8989 * text2.C: use key_state/mouse_state
8991 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8993 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8996 * chset.C: change include order
8997 (loadFile): use boost regex and get rid of LRegex and LSubstring
8999 * Makefile.am (BOOST_LIBS): new variable
9002 * LaTeX.C: change include order.
9003 (scanAuxFile): use boost regex and get rid of LRegex and
9007 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9012 * FontInfo.C: moved to frontends/xforms/
9015 * FontLoader.C: moved into frontends for GUIIzation
9020 * lyxfunc.C: changes from above
9022 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9024 * LColor.C: remove spurious X include
9026 * BufferView_pimpl.C:
9031 * text2.C: move font metrics to frontends/
9033 2002-05-24 Juergen Vigna <jug@sad.it>
9035 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9036 setting the undo_cursor.
9038 * ParagraphParameters.h: include local includes first.
9040 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9042 * BufferView_pimpl.C:
9043 * BufferView_pimpl.h:
9047 * screen.C: move WorkArea into frontends/
9053 * BufferView2.C: move LyXScreen into frontends/
9057 * lyx_gui.C: move lyxlookup into frontends/xforms/
9059 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9062 * BufferView_pimpl.C:
9072 * bufferview_funcs.C:
9085 * vc-backend.C: move LyX/XFormsView into frontends/
9087 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9099 * text2.C: move Painter to frontends/
9101 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9103 * buffer.C: comment out some some code that depend upon lyx_format
9106 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9107 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9109 * buffer.h (NO_COMPABILITY): turn off compability
9111 * ColorHandler.C: include scoped_array.hpp
9113 * font.C: Use more specific smart_ptr header.
9116 * ShareContainer.h: ditto
9120 * BufferView_pimpl.h: ditto
9121 * ColorHandler.h: ditto
9123 * kbmap.C (defkey): change call to shared_ptr::reset
9125 2002-05-21 Juergen Vigna <jug@sad.it>
9127 * buffer.C (insertErtContents): fix to insert ert asis if it is
9128 non empty. Skip it completely if it contains only whitespaces.
9130 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9132 * BufferView_pimpl.C:
9133 * BufferView2.C: clear selection on paste (bug 393)
9135 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * DepTable.C: include ctime
9139 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9141 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9143 2002-05-14 Juergen Vigna <jug@sad.it>
9145 * text.C (breakParagraph): fixed function to honor the keepempty
9146 layout in the right maner and also to permit the right breaking
9147 algorithm on empty or non empyt keepempty paragraphs.
9149 * paragraph.C (breakParagraph): we have to check also if the par
9150 is really empty (!size()) for isempty otherwise we do the wrong
9153 2002-05-10 Juergen Vigna <jug@sad.it>
9155 * buffer.[Ch] : The following are only changes to the ert
9156 compatibility read reading old LaTeX layout and font stuff and
9157 convert it to ERTInsets.
9159 * buffer.h: added isErtInset().
9161 * buffer.C (struct ErtComp): add a fromlayout bool to check
9162 if we're inside a LaTeX layout.
9163 (isErtInset): new helper function.
9164 (insertErtContents): look for other ert insets before this one
9165 and insert the contents there, so that we don't have subsequent
9166 ERT insets with nothing between them. This way we create only one
9167 inset with multiple paragraphs. Also check if we don't insert only
9168 spaces ' ' as they are ignored anyway afterwards in the .tex file
9169 so if we have only spaces we will ignore this latex part in the
9171 (parseSingleLyXformat2Token \\layout): better compatibility when
9172 reading layout-latex stuff.
9173 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9175 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9176 stuff after reading the inset only get the information back from
9179 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9181 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9183 * LaTeXFeatures.C (getBabelOptions): New method.
9185 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9187 * BufferView_pimpl.C (Dispatch): work around missing argument for
9190 2002-05-08 Juergen Vigna <jug@sad.it>
9192 * text.C (leftMargin): handle paragraph leftindent.
9194 * paragraph.C (writeFile): write the new \\leftindent tag.
9195 (validate): handle leftindent code.
9196 (TeXEnvironment): handle paragraphleftindent code again.
9198 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9200 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9201 for paragrap_extra indent code and new token \\leftindent.
9202 (latexParagraphs): handle the leftindent as environment.
9204 * ParameterStruct.h: added leftindent support.
9206 * ParagraphParameters.C (leftIndent): added support functions for
9207 the paragraph left indent.
9209 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9212 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9214 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9217 * text.C (computeBidiTables): No bidi in insetERT.
9219 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9222 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9224 * version.C.in: pre 5
9226 2002-05-02 José Matos <jamatos@fep.up.pt>
9227 * buffer.C (makeDocBookFile): white space changes, add newline to
9229 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9231 * tabular.C (docBook): fix typo.
9233 2002-05-03 Juergen Vigna <jug@sad.it>
9235 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9236 change in LyXText as we can not be sure it was not freed.
9237 (drawOneRow): remove unused code.
9239 * text.C (drawInset): redo the calculation of the need_break_row as
9240 it could have a row which was already freed.
9241 (draw): look at the return value of drawInset and return false if
9242 it also returned false.
9243 (paintRowText): look at the return value of draw and return false if
9244 it also returned false.
9246 * lyxtext.h: added bool return type to drawInset() and draw() so that
9247 if we have a change in the row so that the rowbreak has to be redone
9248 we abort drawing as it will be called again.
9250 2002-05-02 Juergen Vigna <jug@sad.it>
9252 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9253 a change in the maintext also if we're inside an inset.
9254 (Dispatch): set the cursor again after a break line and after the
9255 screen has been updated as it could be we're in a different row.
9257 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9258 to set the cursor behind the pargraph with > size().
9259 (setCursor): check also for the same paragraph when checking where
9260 to put the cursor if we have a NFR inset.
9262 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9263 parts of layout read further up as it still was in the wrong
9266 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9268 * screen.C (drawFromTo): change sine fullRebreak always return
9271 * buffer.C (parseSingleLyXformat2Token): reindent some
9273 * BufferView_pimpl.C (update): change since fullRebreak always
9275 (Dispatch): git rid of the last hardcoded "Standard"s.
9277 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * text2.[Ch] (fullRebreak): make it return void now that we always
9282 2002-04-30 Juergen Vigna <jug@sad.it>
9284 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9285 ert compatibility check for "latex" layout.
9287 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9289 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9290 minipages: use col% instead of p%, and also use the current font.
9291 (makeLaTeXFile): Fix use babel condition.
9292 (parseSingleLyXformat2Token): Correct font when reading old floats.
9294 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9296 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9297 inserting list of floats.
9299 2002-04-25 Herbert Voss <voss@lyx.org>
9301 * MenuBackend.C (expand): don't add the graphics extensions to the
9304 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9306 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9307 non-existing layout, do not complain if it was the default layout
9308 of the original class (bug #342)
9310 2002-04-24 Juergen Vigna <jug@sad.it>
9312 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9313 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9315 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9317 * buffer.C (getBibkeyList): If using \bibliography, return the
9318 option field with the reference itself. Enables us to provide natbib
9319 support when using \bibliography.
9321 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9323 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9325 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9326 natbib is provided by the LaTeX class.
9328 2002-04-23 Juergen Vigna <jug@sad.it>
9330 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9333 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9335 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9339 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9340 ensuremath around textordmasculine, textordfeminine and
9343 2002-04-19 Juergen Vigna <jug@sad.it>
9345 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9346 reinitializing the buffer otherwise row-dimensions may be wrong.
9347 (update): reset also the selection cursors if they do exits otherwise
9348 their x/y positions may be wrong.
9350 * text2.C (cursorDown): don't enter the inset if we came from a row
9351 above and are one row over the inset.
9353 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9354 really leaving an inset.
9356 2002-04-18 Juergen Vigna <jug@sad.it>
9358 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9359 of the selected paragraph does not have the selected layout also if
9362 * text2.C (setLayout): fixed bug which did not change last selected
9365 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9366 changed the read and substituted \\end_float with \\end_inset!
9368 * BufferView_pimpl.C (cursorPrevious):
9369 (cursorNext): fixed to make it work with rows heigher than the work
9370 area without moving the cursor only the draw of the row.
9371 (workAreaMotionNotify): fix jumping over high rows.
9373 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9378 2002-04-16 Juergen Vigna <jug@sad.it>
9380 * text2.C (setCursor): set also the irow().
9381 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9383 (cursorDown): support for locking an inset if the x_fix value goes
9384 inside it. That way I can transverse insets too with cursor up/down.
9386 * lyxrow.h: added irow helper function same as other (i) functions.
9388 * BufferView_pimpl.C (cursorPrevious):
9389 (cursorNext): fixed for insets!
9391 2002-04-15 Juergen Vigna <jug@sad.it>
9393 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9394 position otherwise it is wrong in some cases.
9396 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9397 inside the inset before the call.
9399 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9401 * buffer.[Ch] (getBibkeyList): make it const.
9403 2002-04-12 Juergen Vigna <jug@sad.it>
9405 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9407 * text2.C (getCursorX): new helper function
9408 (setCursor): compute also ix_
9409 (setCursorFromCoordinates): set also ix.
9411 * lyxcursor.h: added ix_ and helper functions.
9413 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9415 * buffer.C (insertStringAsLines): dont break paragraph if the this
9416 paragraph is inside an inset which does not permit it!
9418 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9419 also with no chars on this paragraph.
9420 (paintRowText): only paint stuff if it's inside the workarea!
9422 * paragraph.C (breakParagraph): honor keepempty flag and break the
9423 paragraph always below not above.
9425 * BufferView2.C (unlockInset): update the paragraph layout on inset
9426 unlock as we changed paragraph in such a case.
9428 * lyxfind.C (LyXFind): clear the former selection if not found!
9430 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9431 again called in insertChar().
9433 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9434 an inset which uses the whole row!
9435 (rightMargin): ditto.
9436 (insertChar): force a rebreak if we inserted an inset!
9438 2002-03-28 Herbert Voss <voss@lyx.org>
9440 * lyxlength.[Ch]: add inBP() to get the right PS-point
9441 units (BigPoint). With inPixels we have rounding errors
9443 2002-04-11 Juergen Vigna <jug@sad.it>
9445 * text2.C (setCursorFromCoordinates): set iy to the right value.
9446 (setCursor): add check if row->previous exists!
9448 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9449 an old float_type as this was the case in the old code!
9451 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9453 * BufferView2.C (showLockedInsetCursor): use iy
9454 (fitLockedInsetCursor): ditto
9456 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9457 locked insets as there we have the right value now.
9459 * lyxcursor.C: added iy_ variable and iy functions to set to the
9460 baseline of cursor-y of the locked inset.
9462 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9463 (setCursor): fixed for insets which need a full row.
9465 * text.C (rowLastPrintable): don't ignore the last space when before
9466 an inset which needs a full row.
9467 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9468 as last character of a row when before a inset which needs a full row.
9470 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9472 * version.C.in: update date
9474 * text2.C (fullRebreak): try to always return true and see what
9477 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * MenuBackend.C (expand): use Floating::listName
9481 * FloatList.C (FloatList): add listName argument to the built-in
9484 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9485 text associated with the float.
9487 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9489 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9491 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * ShareContainer.h: add a couple of missing typenames.
9495 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9497 * lyxrc.C (getDescription): use _() correctly rather than N_().
9499 2002-03-28 Herbert Voss <voss@lyx.org>
9501 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9502 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9504 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9506 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9507 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9509 2002-03-29 Juergen Vigna <jug@sad.it>
9511 * lyxfunc.C (dispatch): add a missing fitCursor call.
9513 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9514 it was scrolled by a cursor move, so return the bool status.
9516 * BufferView.C (fitCursor): return the bool flag also to the outside
9517 world as this is needed.
9519 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9521 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9522 call the edit() as it is not needed (and wrong) IMO.
9523 (workAreaButtonPress): set the screen_first variable before evt.
9524 unlock the inset as this may change screen_first and then we have
9525 a wrong y position for the click!
9527 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9529 * MenuBackend.C (expand): another translation that I missed
9531 2002-03-28 Juergen Vigna <jug@sad.it>
9533 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9535 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9537 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9539 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9541 * MenuBackend.C (expand): fix export/view/update when there is no
9544 2002-03-27 Herbert Voss <voss@lyx.org>
9546 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9549 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9551 * bufferview_funcs.C (currentState): only show paragraph number
9552 for is DEVEL_VERSION is set.
9554 * lyxfunc.C (dispatch): put warning in INFO channel
9556 * MenuBackend.C (expand): translate the name of floats
9558 * FloatList.C (FloatList): mark the float names for translation
9560 * converter.C (convert): use LibScriptSearch
9562 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9564 * MenuBackend.C (defaults): fix default menu (we might as well get
9567 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9569 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9572 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * lyxvc.C: reorder includes.
9576 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9578 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9581 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9583 * CutAndPaste.C: change layouts earlier on paste
9584 to avoid crashing when calling getFont()
9586 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9588 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9591 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9593 * WorkArea.C: remove 'Pending' debug message.
9595 * most files: ws cleanup
9597 * buffer.[Ch]: ws changes
9599 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9601 2002-03-21 Juergen Vigna <jug@sad.it>
9603 * tabular.C (SetMultiColumn): collapse also the contents of the
9604 cells and set the last border right. Added a Buffer const * param.
9606 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9611 2002-03-19 Juergen Vigna <jug@sad.it>
9613 * text2.C (clearSelection): reset also xsel_cache.
9615 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9616 where it needs to be called (John tells us to do so too :)
9617 (selectionLost): reset sel_cache.
9619 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9621 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9623 * text2.C (setCursorIntern): put debuging code in INSETS channel
9625 2002-03-19 André Pönitz <poenitz@gmx.net>
9627 * lyxfunc.C: tiny whitespace change
9629 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9631 * ToolbarDefaults.C (init):
9632 * LyXAction.C (init):
9634 * BufferView_pimpl.C (Dispatch):
9635 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9637 2002-03-19 Allan Rae <rae@lyx.org>
9639 * exporter.C (Export): removeAutoInsets before doing anything else.
9640 While I've just introduced a dependency on BufferView this really is
9641 the best place to clean the buffer otherwise you need to cleanup in
9642 a dozen places before calling export or cleanup in a dozen functions
9645 * converter.C (runLaTeX):
9646 (scanLog): Better handling of removeAutoInsets and screen updates.
9648 * lyxfunc.C (dispatch): small whitespace changes
9650 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * WorkArea.C (C_WorkAreaEvent): return a value.
9653 (event_cb): return 1 if we handled the event, 0 otherwise.
9655 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9657 2002-03-18 Juergen Vigna <jug@sad.it>
9659 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9660 (GetAdditionalWidth): ditto.
9664 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9665 inset if we're there actually (probably not used right now but this
9666 is the direction to go for unifying code).
9667 (paste): disable code to clear the selection.
9669 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9670 inside an InsetText and move the check further up as it is in the
9673 * text2.C (pasteSelection): set a selection over the pasted text.
9675 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9677 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9678 and libgraphics to build on Cygwin.
9680 2002-03-15 Juergen Vigna <jug@sad.it>
9682 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9683 inserting an Inset into the paragraph. I know this is not the best
9684 fix but we already use current_view in CutAndPaste so we will remove
9685 all of it's using at the same time.
9687 * buffer.C (sgmlError): deactivated function till it is rewritten in
9688 the right mode, now it can create problems.
9690 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9691 before accessing it.
9693 2002-03-14 Juergen Vigna <jug@sad.it>
9695 * undo_funcs.C (textHandleUndo): do the right thing when updating
9696 the inset after the undo/redo.
9698 * text2.C (setCursor): just some testcode for #44 not ready yet.
9700 * undo_funcs.C (textHandleUndo): set the next() and previous()
9701 pointers of the paragraph to 0 before deleting otherwise we have
9702 problems with the Paragraph::[destructor].
9704 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9705 on a paragraph insertion.
9707 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * buffer.C (asciiParagraph): use += operator for char append to
9712 * paragraph.C (getFontSettings): compare >= not just >
9713 (highestFontInRange): ditto
9716 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9718 * paragraph.C: change several algorithm to be more appripriate for
9719 the problem domain. This is lookip in FontList and in the InsetList.
9721 2002-03-13 André Pönitz <poenitz@gmx.net>
9724 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9726 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9731 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9733 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9735 * Painter.C (display): anon helper function, adjust code for this
9737 (pixmap): remove function.
9739 * Painter.h: remove private display variable.
9741 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9743 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9745 * WorkArea.[Ch]: remove figinset_canvas cruft.
9747 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * lyxtextclass.C (operator): add one item cache optimization.
9751 * bufferlist.h: doxy changes
9753 * bufferlist.C: ws changes
9755 * DepTable.[Ch] (ext_exist): place const in the right spot.
9757 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9759 (workAreaExpose): call resizeInsets when the with BufferView changes.
9760 (Dispatch): adjust for protectedBlank removal
9761 (specialChar): call updateInset if the insert went ok.
9763 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9764 specialChar instead.
9766 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9768 * BufferView.h: doxy change
9770 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9772 * lyxtextclass.C (operator[]): remove non-const version
9773 (defaultLayout): remove non-const version
9775 2002-03-12 Juergen Vigna <jug@sad.it>
9777 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9778 did resize the LyXText too.
9780 * buffer.C (readLyXformat2): set layout information on newly allocated
9783 * tabular.C (OldFormatRead): set layout information on the paragraph.
9785 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9787 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9789 2002-03-11 Juergen Vigna <jug@sad.it>
9791 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9793 (resizeCurrentBuffer): force also the insets to resize themselfes.
9794 (moveCursorUpdate): fixed up for InsetText.
9796 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9799 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9800 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9801 value of Dialogs::tooltipsEnabled().
9802 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9804 2002-03-08 Juergen Vigna <jug@sad.it>
9806 * BufferView_pimpl.C (updateInset): update inset inside inset also
9807 if it isn't inside theLockingInset().
9809 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9811 * buffer.C (asciiParagraph): redo some of the word and line length
9813 (getLists): look for Caption instead of caption.
9815 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * buffer.C (Buffer): initialize niceFile to true
9820 (makeDocBookFile): make sure niceFile is true on exit
9822 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9824 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9826 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9828 * LyXSendto.C: remove.
9829 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9830 * lyx_gui.C: remove now-redundant comment.
9831 * ColorHandler.h: remove forward declaration of class WorkArea.
9832 * lyxfunc.C: remove #include "WorkArea.h".
9834 2002-03-07 Juergen Vigna <jug@sad.it>
9836 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9837 got moved away with the DEPM and also set the inset_owner always
9838 right which before could have been omitted.
9840 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9842 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9843 wanted layout is not found.
9845 2002-03-07 Juergen Vigna <jug@sad.it>
9847 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9849 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9851 * paragraph.C (breakParagraph): use default layout not layout of
9853 (Paragraph): clear ParagraphParameters.
9855 2002-03-06 Juergen Vigna <jug@sad.it>
9857 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9858 otherwise it would not be a valid lenght. Fixed a special case in
9859 the minipage compatibility read where we end the document with a
9862 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9863 was set as it could be 0 for InsetTexts first entry.
9865 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9867 * paragraph.C (writeFile): if layout is empty write out
9868 defaultLayoutName().
9870 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9871 file without named layout we set layout to defaultLayoutName().
9873 2002-03-06 Juergen Vigna <jug@sad.it>
9875 * CutAndPaste.C (copySelection): set layout for new paragraph.
9877 * text.C (prepareToPrint): leave ERT inset left aligned
9878 (leftMargin): don't indent paragraphs inside ERT insets
9880 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9882 * paragraph.C (breakParagraph): dont call clear do the work manually
9884 * paragraph.[Ch] (clear): remove function
9886 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9888 * paragraph.C (Paragraph): dont call clear, the work has already
9891 * lyxtextclass.C (operator): assert if n is empty
9893 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9894 work manually instead.
9896 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9898 * BufferView_pimpl.C: protect selectionLost against text == 0
9900 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9902 * text.C (breakParagraph): fix a setting layout to '0' problem.
9904 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9906 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9907 final location of file, for the included files, and graphics.
9909 2002-03-05 Juergen Vigna <jug@sad.it>
9911 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9913 2002-03-04 Juergen Vigna <jug@sad.it>
9915 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9917 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9918 last column of multicolumn cells.
9919 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9921 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9923 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9924 file if it doesn't go to a temporary file.
9926 * buffer.C (sgmlOpenTag):
9927 (sgmlCloseTag): remove extra newline insertion.
9929 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9931 * text.C (getRowNearY): comment out debug msg
9933 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9935 * text2.C: first -> first_y
9937 * text.C (getRowNearY): add some attemts at a possible
9938 optimization, not working.
9940 * tabular.[Ch]: add BufferParams to several function so that newly
9941 created paragraph can be initialized to he default layotu for the
9944 * tabular-old.C (ReadOld): add buf->params to call of Init
9946 * screen.C: rename text->first to text->first_y
9948 * paragraph.C (breakParagraph): always set layout in the broken
9951 * lyxtextclass.C (Read): remove lowercase
9954 (delete_layout): ditto
9956 * lyxtext.h: rename first -> first_y
9958 * lyxlayout.C (Read): remove lowercase
9961 (obsoleted_by): ditto
9963 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9965 * buffer.C (insertErtContents): add params are to InsetERT
9966 (parseSingleLyXformat2Token): add code to check if a paragraphs
9967 layout really exist.
9968 (parseSingleLyXformat2Token): add params to several inset
9970 (asciiParagraph): remove lowercase, do the layout comparisons with
9973 * BufferView_pimpl.C (cursorNext): first -> first_y
9974 (resizeCurrentBuffer): first -> first_y
9975 (updateScrollbar): first -> first_y
9976 (scrollCB): first -> first_y
9977 (workAreaMotionNotify): first -> first_y
9978 (workAreaButtonPress): first -> first_y
9979 (checkInsetHit): first -> first_y
9980 (cursorPrevious): first -> first_y
9981 (cursorNext): first -> first_y
9982 (Dispatch): add buffer_->params to severl inset contructors
9984 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * lyxlayout.C (Read): remove some debug info that I forgot.
9988 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9989 clean up the code slightly.
9990 (makeLinuxDocFile): ditto
9991 (makeDocBookFile): ditto
9993 * text2.C: layout as string
9995 * text.C: layout as string
9997 * paragraph_pimpl.C: layout as string
9999 * paragraph.[Ch]: layout as string
10001 * lyxtextclasslist.[Ch]: layout as string
10003 * lyxtextclass.[Ch]: layout as string
10005 * lyxtext.h: layout as string
10007 * lyxlayout.[Ch]: layout as string
10009 * lyx_cb.C: layout as string
10011 * bufferview_funcs.C: layout as string
10013 * bufferparams.C: layout as string
10015 * buffer.C: layout as string
10017 * LyXView.[Ch]: layout as string
10019 * LaTeXFeatures.[Ch]: layout as string
10021 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10023 * BufferView_pimpl.C: change current_layout to string, remove
10028 (workAreaButtonRelease): layout as string
10030 * BufferView2.C (unlockInset): adjust
10032 * vspace.C (asLatexCommand): use an explict temp variable.
10034 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10036 * Makefile.am: use FRONTEND_*
10038 2002-03-01 Juergen Vigna <jug@sad.it>
10040 * tabular.C (SetWidthOfMulticolCell): changed to something better
10041 I hope but still work in progress.
10042 (recalculateMulticolumnsOfColumn): renamed function from
10043 recalculateMulticolCells as it is more appropriate now.
10044 (SetWidthOfCell): calculate multicols better.
10046 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10048 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10050 * lyxfunc.C (processKeySym): print sequence also if it is
10051 `deleted' (complete)
10053 * kbsequence.C (print): print sequence even if it is deleted
10054 (complete would be a better word, actually).
10056 * lyxfunc.C (dispatch): print complete options after a prefix key
10058 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10060 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10062 * text2.C (setCharFont): eliminate setCharFont code duplication.
10064 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10067 LFUN_TABULAR_FEATURE (bug #177)
10069 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10071 * Makefile.am: remove figure.h
10073 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10075 * Bufferview_pimpl.C:
10087 * text2.C: remove #include "lyx_gui_misc.h".
10089 * LaTeX.C: added #include <cstdio>
10091 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10093 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10094 that the paragraph following this one can have.
10096 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10098 * vspace.C (asLatexCommand): fix bogus gcc warning
10100 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10102 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10104 * text2.C (setLayout): get rid of redundant code
10106 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10108 * text2.C (incDepth): make sure depth cannot be increased beyond
10111 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10113 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10114 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10116 * PainterBase.h (image):
10117 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10118 a LyXImage const *.
10120 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10124 * BufferView_pimpl.C:
10125 * BufferView_pimpl.h:
10145 * sp_spell.C: remove fig inset, and the crap house of
10146 cards that follows it
10148 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10153 * os2_errortable.h:
10154 * nt_defines.h: move .h into support/
10156 * vms_defines.h: remove
10158 * WorkArea.C: add space in debug output
10162 * buffer.C: add WITH_WARNINGS
10166 * bufferlist.C: s/retrive/retrieve/, add docs
10175 * chset.C: add docs
10177 * lyxgui.C: add ID to X error handler
10179 * lyxtestclass.c: fix typo
10181 2002-02-26 Juergen Vigna <jug@sad.it>
10183 * tabular_funcs.C (write_attribute): changed so that some default
10184 attributes are not written at all.
10185 (getTokenValue): set default values before trying to read the
10186 value so we have the return value always set as default if we don't
10187 find the token we search for.
10189 * tabular.C (Write): write bools as bools not as strings!
10191 2002-02-22 Juergen Vigna <jug@sad.it>
10193 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10194 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10196 * text.C (leftMargin): don't add an indent for paragraphs inside
10197 tabular cells (fix #208).
10199 2002-02-21 José Matos <jamatos@fep.up.pt>
10201 * tabular.C (docBook): fixed support for long tables.
10203 2002-02-20 Juergen Vigna <jug@sad.it>
10205 * text2.C (getFont): get the drawing font of the Inset if this
10206 paragraph is inside an inset (only important for InsetERT for now).
10208 * buffer.C (insertErtContents): use new lanugage params in ERT
10211 * CutAndPaste.C: commenting out seemingly uneeded code.
10213 2002-02-19 Allan Rae <rae@lyx.org>
10215 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10216 Iterators might be simple to use but they also get invalidated.
10217 (removeAutoInsets): renamed saved cursor tracking variables and added
10218 some comments to clarify what everything does.
10220 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10227 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10228 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10231 * vc-backend.h: remove #include "support/syscall.h"
10235 * converter.C: rearrange #includes in Lars' approved fashion.
10237 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10238 forward declare class Timeout in the header file.
10240 * XFormsView.C: changes due to the above.
10242 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10243 similar to LyXView.
10245 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10246 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10248 2002-02-18 José Matos <jamatos@fep.up.pt>
10250 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10253 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10255 * a lot of small ws changes
10256 * add a lot of using std::XXX
10257 * use std construcs some places where approp.
10258 * use some exisint stuff from lyxfunctional where approp.
10259 * Make file changes to use partial linking (lets test this now...)
10261 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10265 remove #include "support/syscontr.h" as it's redundant. Always has been.
10273 change Systemcalls::System to Systemcalls::Wait and
10274 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10275 No change of functionality, just reflects the stripped down Systemcalls
10278 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10280 * debug.[Ch]: add a GRAPHICS type to the enum.
10282 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10284 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10286 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10289 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10292 match the changes below.
10294 * text2.C (toggleInset): if there is not editable inset at cursor
10295 position, try to see if cursor is _inside_ a collapsable inset
10298 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10300 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10301 document menu has a nice checkbox
10303 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * lyxlength.C (asLatexString): change PW to output as percent of
10308 * lengthcommon.C: change '%' to 't%'
10310 * lyxfunc.C (dispatch): a few comments from Martin
10312 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10316 * BufferView_pimpl.h:
10317 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10320 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10322 * vspace.C (inPixels): fix compiler warning
10324 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * lyxfunc.C (getStatus): fix status message for disabled commands.
10328 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10330 * BufferView_pimpl.C: fix crash on close buffer
10331 during selection (#227)
10333 2002-01-27 Herbert Voss <voss@lyx.org>
10335 * buffer.C: link old Figure to new graphic inset
10337 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10339 * FontLoader.C (getFontinfo): Change the latex font names in order
10340 to match the names of type1inst.
10342 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10346 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10347 (extchanged): ditto
10349 (remove_files_with_extension): ditto
10350 (remove_file): ditto
10353 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10354 document is smaller than the work area height. Do not initialize
10355 static variables to 0.
10357 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10359 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10361 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10362 LFUN_LAYOUT_PARAGRAPHS.
10364 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10365 tabular. It is possible to provide a possible cell, which will
10366 typically be the actcell from the corresponding insettabular
10368 * lyxfunc.C (getStatus): small cleanup; disable
10369 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10372 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10374 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10376 * paragraph.C (startTeXParParams):
10377 (endTeXParParams): new methods. The LaTeX code to
10378 start/end paragraph formatting
10379 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10380 empty (fixes bug #200)
10382 * vspace.C (inPixels): adapt to the change below
10383 (inPixels): [later] more cleanups (remove unused variables)
10385 * lyxlength.C (inPixels): change to use a width and a height as
10388 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10390 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10391 Replaced with \paperwidth
10393 * DepTable.C (insert): add std:: qualifier
10395 2002-01-18 Allan Rae <rae@lyx.org>
10397 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10400 * text.C (drawInset): Turned out I didn't know enough about how
10401 rebreaking worked. This fixes most of the redraw problems. I see
10402 an occasional cursor trail when a line is broken now and the cursor
10403 placement can seem out by a few pixels also after a rebreak.
10405 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * buffer.C (parseSingleLyXformat2Token): update because minipage
10408 width is now a LyXLength
10410 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10412 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10415 2002-01-17 Juergen Vigna <jug@sad.it>
10417 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10419 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10420 is set correctly and the inset is updated correctly.
10422 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10425 the beginning of the loop.
10427 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10429 * lyxrc.C: improve help for use_scalable_fonts
10431 2002-01-17 Allan Rae <rae@lyx.org>
10433 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10435 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10437 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10438 make sure to set their inset_owner to the right value (bug #171)
10440 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10443 * DepTable.C: Implement mtime checking to reduce time spent doing
10446 2002-01-16 Juergen Vigna <jug@sad.it>
10448 * tabular.C (GetAdditionalHeight): one of error fixed.
10450 * lyxrc.C (output): small fix in writing use_pspell.
10452 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10454 * sp_base.h: #include LString.h
10456 2002-01-16 Allan Rae <rae@lyx.org>
10458 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10459 Can someone check this please?
10461 * text.C (drawInset): It was possible that p.row would be removed by
10462 breakAgainOneRow upsetting a few other settings. There may be another
10463 small tweak possible by setting need_break_row = 0 when p.row has been
10464 removed but I don't know enough about the logic here.
10466 2002-01-15 Allan Rae <rae@lyx.org>
10468 * text.C (insertChar): removed conditional truism.
10470 * BufferView2.C (removeAutoInsets): More tweaks.
10471 cur_par_prev could be a stray pointer. Check for trailing empty line
10472 in case last line was cur_par and only had an error inset on it.
10474 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10476 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10479 * vc-backend.C (most methods):
10480 * exporter.C (Export):
10481 * converter.C (convert):
10483 * LyXSendto.C (SendtoApplyCB):
10484 * lyxfunc.C (dispatch):
10488 * lyx_cb.C (AutoSave):
10490 * BufferView_pimpl.C (MenuInsertLyXFile):
10491 * buffer.C (runChktex): use Buffer::filePath().
10493 * buffer.h: rename filename to filename_; rename filepath to
10494 filepath_ and make it private
10495 (filePath): new method
10497 * buffer.C (writeFile): use fileName()
10500 * lyx_main.C (init): fix starting of LyX when the binary is a
10501 link from so,ewhere else.
10503 * minibuffer.C: include <cctype> for isprint
10505 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10507 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10508 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10509 name clash with InsetCollapsable's width function.
10511 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10513 * lastfiles.C: include <iterator>
10515 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10517 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10520 * buffer.C (makeLaTeXFile): ditto.
10521 Also make loop operation more transparent.
10523 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10525 * ToolbarDefaults.C: remove trailing comma closing namespace.
10527 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10529 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10532 * trans.C (Load): comment out unused variable, allowed.
10534 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10536 * minibuffer.[Ch] (append_char): new method to recieve input from the
10537 drop-down completion browser. If a key was pressed, then recieve this
10538 char and append it to the existing string.
10539 (peek_event): modify the positioning data passed to the completion
10540 browser so that it can be placed above the minibuffer rather than below.
10541 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10543 * LyXAction.C (init): alloe error-next for readonly documents.
10545 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10548 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10550 * bufferlist.C (readFile): create the buffer _after_ checking that
10553 * lyxfunc.C (verboseDispatch): fix handling of arguments
10555 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10557 * lyxrc.C: use string::erase() instead of initializing to "".
10560 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10562 * BufferView_pimpl.h:
10563 * BufferView_pimpl.C:
10566 * text2.C: tell X when we have made a selection for copying
10568 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * BufferView_pimpl.C (MenuInsertLyXFile):
10571 * lyxfunc.C (menuNew):
10573 (doImport): add shortcuts to directory buttons
10575 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10578 * lyxfunc.C (setStatusMessage):
10579 (getStatusMessage): new methods
10580 (getStatus):use setStatusMessage instead of setErrorMessage
10581 (dispatch): when function is disabled, set error message here
10582 [instead of in getStatus previously]
10584 * BufferView_pimpl.C (workAreaButtonRelease): update
10585 toolbar/menubar here too.
10587 2002-01-13 Allan Rae <rae@lyx.org>
10589 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10590 Now seems indestructible. Remaining task is to audit all other
10591 code affected by deleteEmptyParagraphMechanism. One small quirk
10592 left is that an empty document with an error in the preamble can
10593 be made to report an error but no error box appears. I don't know
10595 (removeAutoInsets): Improved comments.
10597 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10600 * Thesaurus.C: update for Aiksaurus 0.14
10602 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10604 * text2.C (firstParagraph): removed member function, all uses
10605 replaces with ownerParagraph
10606 (redoParagraphs): here
10607 (updateInset): here
10608 (toggleAppendix): here
10609 * BufferView2.C (insertErrors): here
10610 (setCursorFromRow): here
10612 2002-01-13 Allan Rae <rae@lyx.org>
10614 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10615 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10616 There is still a way to segfault this although you may have to do this
10617 multiple times: Have an InsetERT with an unknown command in it.
10618 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10619 <down-arrow>, <Enter> again, View->DVI, BANG!
10621 * text2.C (setCursor):
10622 (deleteEmptyParagraphMechanism):
10623 * lyxtext.h (setCursor):
10624 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10625 Making use of the return value may help fix other bugs.
10627 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10629 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10631 * LyXView.C (updateMenubar): call MenuBar::update here
10632 (updateToolbar): but not here
10633 (showState): do not update toolbar/menubar
10635 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10636 should need to care about that.
10638 * lyxfunc.C (verboseDispatch): simplify a bit
10639 (getStatus): have a version which takes a pseudoaction, and
10640 another which requires a (kb_action,string).
10642 * LyXAction.C (retrieveActionArg): make it work also when action
10643 is not a pseudo-action.
10644 (getActionName): simplify a bit
10647 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * lyxfunc.C (verboseDispatch): new families of methods with
10650 several ways to specify a command and a bool to indicate whether
10651 the command name and shortcut should be displayed in minibuffer
10652 (eventually, we could extend that to a finer bitmask like
10653 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10654 (dispatch): the pristine dispatch command which just, well,
10655 dispatchs! Note it still sets its result to minibuffer; I'm not
10658 * lyxfunc.h: remove setHintMessage
10660 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10662 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10664 * BufferView_pimpl.C (specialChar): delete new inset if we have
10665 not been able to insert it.
10667 * kbmap.C: revert to using int instead of kb_action, since all we
10668 are dealing with is pseudo-actions.
10670 * LyXAction.C (searchActionArg): change to return int instead of
10671 kb_action, since the result is a pseudoaction.
10673 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10675 * buffer.C (insertErtContents): Fix (partially) the font bug.
10677 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10679 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10680 as the other one is broken on my machine!
10682 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10685 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10687 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10689 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10690 reflect their actual use. Provide compatibility code for older lyxrc
10693 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10695 change names of popup font variables in line with the changes to lyxrc.C
10697 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10699 * buffer.C (asciiParagraph): avoid outputing a word twice after
10702 * lyxrc.C (getDescription): document that document_path and
10703 template_path can be empty.
10705 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10707 * LaTeXFeatures.C (getMacros):
10708 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10710 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10712 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10714 (getPackages): rename feature "floats" to "float". Use an array to
10715 iterate over 'simple' features (i.e. just a \usepackage). Add
10716 handling of "amsmath" (renamed from "amsstyle").
10718 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10720 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10723 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10725 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10726 FuncStaus::FuncStatus & FuncStaus::some_method().
10728 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10730 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10731 of the func_satus stuff. Edited and massaged in various ways by
10734 * lyxfunc.C (getStatus): use FuncStatus
10736 2002-01-08 Juergen Vigna <jug@sad.it>
10738 * text.C (nextBreakPoint): use function Inset::isChar().
10740 * paragraph.C (TeXOnePar): use function
10741 Inset::forceDefaultParagraphs.
10743 * buffer.C (latexParagraphs): use function
10744 Inset::forceDefaultParagraphs.
10746 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10748 * lyx_gui.C (init): set the style of the menu popups to
10749 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10751 2002-01-07 Juergen Vigna <jug@sad.it>
10753 * text.C (setHeightOfRow): small fix
10754 (prepareToPrint): don't look at alignment if we don't have the place
10757 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10759 * box.C: New file. Move the Box methods and functions out of box.h,
10760 following Lars' suggestion.
10762 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10764 * box.h: #include "support/LOstream.h", needed for inlined function.
10767 * lyxtextclasslist.C: added some using std declarations.
10769 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10771 * box.h: make signed dimensions to allow insets wider than
10772 the screen (bug #162)
10774 * BufferView_pimpl.C: add some insetHit debug
10776 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10778 * vc-backend.C: add FIXME
10780 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10782 * lyxfunc.C (getStatus): enable code for showing math font status
10785 2002-01-07 Juergen Vigna <jug@sad.it>
10787 * text.C (nextBreakPoint): removed debug output not needed anymore.
10789 2002-01-06 Juergen Vigna <jug@sad.it>
10791 * text.C (nextBreakPoint): fixed up this function we had this bug
10792 since ever but now hopefully we break row better.
10793 (insertChar): we have to check if an inset is the next char as it
10794 could now happen that a large inset is causing a break.
10796 2002-01-05 Juergen Vigna <jug@sad.it>
10798 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10799 if it doesn't like to be drawed.
10801 2002-01-04 Juergen Vigna <jug@sad.it>
10803 * BufferView2.C (lockInset): forgot to set a cursor.
10805 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10807 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10809 * FormMathsPanel.C:
10812 * form_maths_panel.C:
10813 * form_maths_panel.h:
10814 * form_maths_panel.fd: implemented sub- and super- buttons in math
10817 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10818 (or ^ space) to be used as in TeX (req'd by André).
10820 * lyxfunc.C: Allow ^ and _ again to be used both as
10821 super/subscript (mathed) and as themselves (in text).
10823 2002-01-03 Allan Rae <rae@lyx.org>
10825 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10826 "LyX" or the filename of the current buffer if it has one. This is a
10827 modified form of John Levon's patch.
10829 * XFormsView.C (setWindowTitle): also set icon title.
10831 * LyXView.h (setWindowTitle): signature changed.
10832 * XFormsView.h (setWindowTitle): ditto.
10834 2002-01-02 Juergen Vigna <jug@sad.it>
10836 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10838 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * screen.C (topCursorVisible): introduce a temp var for
10841 text->cursor.row(), handle the case where this row is null. (kindo
10844 * text2.C (setCursor): add a couple of asserts.
10846 * paragraph.h (inset_iterator): add -> operator
10848 * paragraph.[Ch] (autoDeleteInsets): remove member function
10850 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10851 cursor pos correctly and handle inset deletion by itself.
10852 (insertErrors): move iterator declaration out of for expression
10854 * lyxtextclass.C: add <algorithm>
10856 * Makefile.am: added the new files to sources, removed layout.C
10858 * layout.C: removed file
10860 * layout.h: remove LYX_DUMMY_LAYOUT
10862 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10866 * lyxtextclass.[Ch]:
10867 * lyxtextclasslist.[Ch]: new files
10869 * include order changes to a lot of files, also changes because of
10872 2001-12-27 Juergen Vigna <jug@sad.it>
10874 * buffer.C (asciiParagraph): more fixes.
10876 * tabular.C (ascii): make ascii export support export of only the
10877 data separated by a column-delimiter.
10878 (ascii): better support for ascii export.
10880 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10882 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10884 * tabular_funcs.C: use a "using std::getline" instead of the
10885 previous fix from Angus (necessary for cxx + lyxstring)
10887 2001-12-24 Juergen Vigna <jug@sad.it>
10889 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10891 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10892 problems. First check a minipage also if we have some ert-contents
10893 (not only on par->size(), second set the right depth of the paragraph
10894 on the relink to the root-paragraph-list!
10896 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10897 which then did not anymore update the main paragraphs on undo/redo!
10899 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10901 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10902 code. Support all font-changing funcs (even those which are not in
10903 menu currently). Support for reporting font settings in
10904 mathed (disabled until Andre provides a function on mathed's side).
10906 * func_status.h (toggle): small helper function to set toggle
10909 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10911 * tabular_funcs.C: getline -> std::getline
10913 2001-12-21 Juergen Vigna <jug@sad.it>
10915 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10916 accessed and could be 0 (I couldn't generate this but it seems
10919 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10922 * tabular_funcs.h: here and include iosfwd
10924 2001-12-20 Juergen Vigna <jug@sad.it>
10926 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10927 inside inset but undo_par was.
10929 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * Thesaurus.C: always include <config.h> in sources.
10935 * box.h: do not include <config.h> in header files
10937 * text.C (paintLastRow): remove unused variable
10939 * text.C (transformChar):
10941 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10943 * Painter.C (text):
10944 * font.C (width): rewrite to use uppercase() instead of
10947 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10949 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10951 * lyxfind.C: clean up of find failure position change
10953 2001-12-20 Juergen Vigna <jug@sad.it>
10955 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10957 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10958 (TeXRow): added to LaTeX a single tabular row.
10959 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10960 (Latex): simplified and finally good LT-h/f support.
10961 (various_functions): just small adaptions for LT-h/f support.
10963 * tabular_funcs.[hC]: added and moved here all not classfunctions
10966 2001-12-19 Juergen Vigna <jug@sad.it>
10968 * tabular.[Ch]: better support for longtabular options (not finished
10971 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10973 * text.C (paintLastRow): use the label font instead of the font of
10974 the last character to compute the size of *_BOX. This makes more
10975 sense and avoids a crash with empty paragraphs.
10976 Use Painter::rectangle to draw EMPTY_BOX.
10978 2001-12-19 Juergen Vigna <jug@sad.it>
10980 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10981 the paragraphs if the replaced paragraph is not the first one!
10982 Tried to delete not used paragraphs but does not work yet so for
10983 now it's inside #ifdef's and by default off!
10985 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10987 * MenuBackend.C: include "lyx_main.h" instead of declaring
10988 lastfiles (actually was declared as LastFiles* instead of a
10991 2001-12-17 Juergen Vigna <jug@sad.it>
10993 * tabular.C (AppendColumn): applied John's fix
10995 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10999 * BufferView_pimpl.h:
11000 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11003 * box.h: new start of class for above
11005 * lyxfunc.C: ignore space-only minibuffer dispatches.
11006 Show the command name when it doesn't exist
11008 * minibuffer.C: don't add empty lines to the history
11010 * minibuffer.C: add a space on dropdown completion
11012 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11014 * text.C: fix line above/below drawing in insets
11016 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * lyxlength.C (LyXLength): Initialize private variables.
11020 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11022 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11023 when inserting error insets.
11025 2001-12-13 Juergen Vigna <jug@sad.it>
11027 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11028 actually sometimes the before-paragraph.
11029 (setUndo): don't clear the redostack if we're not actually undoing!
11031 2001-12-06 Juergen Vigna <jug@sad.it>
11033 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11034 and fixed redoing of main paragraph, so we can use it now ;)
11036 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11038 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11040 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11043 2001-12-13 André Pönitz <poenitz@gmx.net>
11046 * undo_func.C: minor cleanup
11048 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11051 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11052 font in urw-fonts package which is marked as -urw-fontspecific and
11053 does not work (incidentally, changing the encoding in the
11054 fonts.dir of this package to -adobe-fontspecific fixes the
11057 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11058 is a crash when undoing first paragraph (Juergen, please take a
11059 look). THis does not mean the undo fix is wrong, just that it
11062 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11063 the (Paragraph*) version when needed instead of duplicating the
11066 * text.C (workWidth): use Inset::parOwner to find out where the
11067 inset has been inserted. This is a huge performance gain for large
11068 documents with lots of insets. If Inset::parOwner is not set, fall
11069 back on the brute force method
11071 * paragraph_pimpl.C (insertInset):
11072 * paragraph.C (Paragraph):
11073 (cutIntoMinibuffer): set parOwner of insets when
11074 inserting/removing them
11076 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11078 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11084 * mathed/formulabase.C:
11085 * mathed/math_cursor.[Ch]:
11086 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11089 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11091 * lyxlength.[Ch] (operator!=): new function
11093 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11095 * text.C (workWidth): use Inset::parOwner to find out where the
11096 inset has been inserted. This is a huge performance gain for large
11097 documents with lots of insets. If Inset::parOwner is not set, fall
11098 back on the brute force method
11100 * paragraph_pimpl.C (insertInset):
11101 * paragraph.C (Paragraph):
11102 (cutIntoMinibuffer): set parOwner of insets when
11103 inserting/removing them
11105 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11107 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * tabular-old.C (getTokenValue):
11110 * tabular.C (getTokenValue):
11111 (write_attribute): new versions for LyXLength
11112 (everywhere): adjust the use of widths
11114 * tabular.h: change the type of widths from string to LyXLength
11116 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11118 * paragraph.C: fixed missing line number count when exporting
11119 Environments to LaTeX file
11121 * buffer.C: added informational message for checking line numbers.
11123 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11125 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11126 paragraph, do the 'double space' part, but not the 'empty
11129 * text.C (workWidth): small optimization
11130 (getLengthMarkerHeight): use minimal size for negative lengths.
11132 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11134 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11136 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11138 2001-12-11 André Pönitz <poenitz@gmx.net>
11141 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11143 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11145 * text2.C: keep selection on a setFont()
11147 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11149 * lyx_cb.C: another bv->text misuse, from insert label
11151 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11154 * kbsequence.C: re-instate nmodifier mask
11156 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11158 * lyx_main.h: make lyxGUI private.
11160 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11162 * lyxfind.C: place the cursor correctly on failed search
11164 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * text.C (getLengthMarkerHeight): for small heights, the arrows
11167 are not always on top/bottom of the text
11168 (drawLengthMarker): smaller arrows; take the left margin in
11169 account; draw also vfills.
11171 (paintLastRow): remove special code for vfill and standard spaces,
11172 since everything is handled in drawLengthMarker now.
11174 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11176 * buffer.C (insertErtContents): try to handle font and language
11177 interaction a bit better.g
11179 * ColorHandler.C (updateColor): change the hash to cover the whole
11180 LColor enum, ws cleanup
11181 (getGCLinepars): ditto
11182 (getGCLinepars): only lookup in the linecache once.
11184 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11186 * iterators.C (operator++): Make the iterator more robust
11188 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11190 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11192 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11195 * text.C: better added space drawing
11197 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11200 * BufferView2.C: fix layout combo update on inset unlock
11202 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11204 * Makefile.am: don't compile unused files
11206 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11210 * LyXAction.C: remove old LFUN_LAYOUTNO
11212 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11214 * paragraph_pimpl.h:
11215 * paragraph_pimpl.C: isTextAt() doesn't need font param
11217 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11220 * lyxlex.C: little cleanup
11222 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11224 * BufferView_pimpl.C: fix insertAscii for insets
11226 2001-12-05 Juergen Vigna <jug@sad.it>
11228 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11229 set the right font on the "multi" paragraph paste!
11231 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11237 * lyxlength.C: remove out-commented code.
11239 * BufferView_pimpl:
11253 * vc-backend.C: change "while(" to "while ("
11255 * lyxlength.[Ch]: add zero function to check if length is zero or
11257 * lyxgluelength.C: use it
11259 2001-12-05 Allan Rae <rae@lyx.org>
11261 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11262 Works for 2.95.3, from what I understand of Garst's reports this should
11263 work for other g++ versions. We're screwed if the abs(int) definition
11264 changed between bugfix releases of gcc.
11266 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11268 * text.C: fix chapter label offset !
11270 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11273 * text.C: fix hfill at end of line, clean up
11275 2001-12-04 Juergen Vigna <jug@sad.it>
11277 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11278 that we force an update of the inset and it's owners if neccessary.
11280 2001-12-03 Juergen Vigna <jug@sad.it>
11282 * text.C (rowLast): simplified code
11284 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11286 * lyxfunc.C: fix show options on timeout
11288 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11290 * screen.C (topCursorVisible): scroll half a page when the cursor
11291 reached top of bottom of screen
11293 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11295 * minibuffer.C: deactivate on loss of focus
11297 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11299 * vspace.[Ch] (operator!=): add operator.
11301 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView_pimpl.C: refuse to open an inset when
11304 there's a selection.
11306 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11308 * BufferView_pimpl.C: allow to click on RHS of full row insets
11310 2001-11-30 Juergen Vigna <jug@sad.it>
11312 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11313 insets for undo reasons.
11315 2001-11-28 André Pönitz <poenitz@gmx.net>
11317 * vspace.[Ch]: cosmetical changes
11319 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11329 * kbsequence.C: part re-write of old kb code
11332 * WorkArea.C: remove Lgb_bug_find_hack
11334 2001-11-30 José Matos <jamatos@fep.up.pt>
11336 * buffer.C (makeDocBookFile): add a comment to point a hack.
11337 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11338 Fixed a double write of labels.
11340 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11343 * LaTeX.h Fixed bug in LaTeX class where it would not
11344 re-run latex if no depfiles were changed, but the .dvi was removed.
11346 2001-11-28 André Pönitz <poenitz@gmx.net>
11348 * all the files from the change on 2001/11/26:
11349 use lyx::layout_type instead of LyXTextClass::size_type
11350 use lyx::textclass_type instead of LyXTextClassList::size_type
11352 2001-11-29 Juergen Vigna <jug@sad.it>
11354 * text.C: added support for paragraph::isFreeSpacing()
11356 * buffer.C: same as above
11358 * paragraph.h: inserted isFreeSpacing() function to enable
11359 FreeSpacing inside InsetERT.
11361 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11362 of the paragraph's in the cut/copy buffer to 0!
11364 * text2.C (removeRow): remove the assert as it can!
11366 * lyxtext.h: added helper function firstRow returning firstrow and
11367 made firstrow private again.
11369 * BufferView2.C (lockInset): don't relock if we're already locked!
11371 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11372 the only paragraph.
11373 (removeRow): added Assert::(firstrow)
11375 * debug.C: forgot to add INSETTEXT here.
11377 2001-11-28 Juergen Vigna <jug@sad.it>
11379 * sp_spell.C (initialize): changed error text to more general
11380 spellchecker command use (not only ispell!)
11382 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11384 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11386 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11388 * vspace.C: initialise lyxgluelength on failure
11390 2001-11-28 Allan Rae <rae@lyx.org>
11392 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11393 declaration & definition that looks like a function declaration.
11395 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11397 * BufferView2.C (copy):
11398 (copyEnvironment): do not clear the selection when doing a copy.
11400 * text.C (paintFirstRow): compilation fix
11402 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11404 * tabular.C (Latex): correct line count when writing latex.
11406 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11408 * paragraph_pimpl.h:
11409 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11412 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11416 * LColor.C: change vfillline->added_space
11418 * text.C: add markers and text for added space
11420 * vspace.C: fix comment
11422 2001-11-28 André Pönitz <poenitz@gmx.net>
11424 * paragraph.C: whitespace changes
11425 * all the other files from the change on 2001/11/26:
11426 change *::pos_type into lyx::pos_type
11428 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11430 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11431 language of the document when inserting error insets.
11433 2001-11-26 André Pönitz <poenitz@gmx.net>
11435 * BufferView_pimpl.[Ch]:
11443 * paragraph_pimpl.[Ch]:
11446 * text2.C: reduce header dependencies, introduce type for positions
11448 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11450 * <various>: change to use Alert.h
11452 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11454 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11455 when encountering an unknown token.
11456 (readLyXformat2): Show an error message if there were unknown tokens.
11458 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11461 * BufferView_pimpl.C:
11465 * text2.C: use par->isInset()
11467 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11469 * paragraph_pimpl.h:
11470 * paragraph_pimpl.C: cleanup
11472 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11474 * text2.C (removeRow):
11475 * text.C (setHeightOfRow): remove useless (and costly) call to
11478 2001-11-20 Allan Rae <rae@lyx.org>
11480 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11481 Now need Inset*::checkInsertChar() to return true for appropriate
11482 cases so that the characters in the minibuffer will actually be
11485 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * text.C: change the order of the includes.
11488 (workWidth): initialize it at once.
11489 (workWidth): make maxw unsigned
11490 (setHeightOfRow): remove unused variable (inset)
11491 (selectSelectedWord): remove unused variable (inset)
11492 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11494 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11497 server is not running.
11499 (closeConnection): add debug info when server is disabled.
11501 * ColorHandler.C (getGCForeground): send debug message to GUI
11504 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11506 * kbmap.C (bind): modify because return conventions of
11507 kb_sequence::parse have changed.
11509 * kbsequence.C (parse): only ignore spaces and not any stupid
11510 control character. This avoids tests like s[i] <= ' ', which are
11511 guaranteed to fail with 8bit characters and signed chars.
11512 Change return code to string::npos when there have been no error
11513 (0 was a bad idea when error is at first character)
11515 2001-11-14 José Matos <jamatos@fep.up.pt>
11518 * buffer.C (simpleDocBookOnePar): removed unused argument.
11520 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11522 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11523 insets which are part of a word. Paragraph::isLetter takes care of
11524 that now. Use Paragraph::isInset to identify insets.
11525 (selectSelectedWord): do not test for hyphenation break.
11527 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11528 that protected spaces are considered as spaces.
11530 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11533 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11536 * lyxserver.C: fix it. and small cleanup.
11538 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11540 * BufferView_pimpl.C: use inline helpers
11543 * LaTeXFeatures.C: fix typos
11546 * Spacing.C: move spacing_string into class
11548 * ToolbarDefaults.C: move stuff into namespace anon
11550 * layout.h: update enum
11552 * lyxfunc.C: use better debug
11554 * minibuffer.h: fix typo
11558 * WorkArea.C: add and use Debug::WORKAREA
11562 * text2.C: code re-organisation, inline helpers
11564 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11566 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11567 std::vector.empty().
11569 2001-11-09 Allan Rae <rae@lyx.org>
11571 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11572 '\n's after tables. Tabular and ERT inset work now makes this no
11575 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11578 * minibuffer.C: fix crash, improve drop-down completion
11580 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11583 * lyxserver.C: invalidate fd's when doing endPipe()
11585 2001-11-08 José Matos <jamatos@fep.up.pt>
11587 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11588 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11591 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11593 2001-11-07 José Matos <jamatos@fep.up.pt>
11596 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11599 * buffer.C (sgmlOpenTag):
11600 * buffer.C (sgmlCloseTag): removed debug info.
11602 * buffer.h (sgmlOpenTag):
11603 * buffer.h (sgmlCloseTag): made public.
11605 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11607 * buffer.C (saveParamsAsDefaults):
11608 * lyx_cb.C (MenuLayoutSave): remove
11610 * LyXAction.C (init):
11612 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11614 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11616 * buffer.C (setPaperStuff): removed from here...
11618 * bufferparams.C (setPaperStuff): ... and moved there.
11620 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11624 * XFormsView.C: add support for drop-down completion
11626 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11628 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11631 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11633 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11636 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11638 * lyx_main.C: change ref to known bugs
11640 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11642 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11643 to work around older babel problems.
11645 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11647 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11649 2001-10-24 Juergen Vigna <jug@sad.it>
11651 * tabular-old.C (ReadOld): below variable changes reflected.
11653 * tabular.[Ch]: added ltType struct for longtable header/footer
11654 defines and changed all instances where they are used. Added
11655 future support for double top/bottom rows.
11657 2001-10-24 José Matos <jamatos@fep.up.pt>
11659 * buffer.h (docbookHandleCaption):
11660 * buffer.C (docbookHandleCaption): removed unused function.
11661 (makeDocBookFile): moved docbook supported version to v4.1.
11663 2001-10-24 José Matos <jamatos@fep.up.pt>
11666 * tabular.C (docbookRow): new function to export docbook code of a row.
11667 (DocBook): now honors the longtable flags.
11669 2001-10-23 José Matos <jamatos@fep.up.pt>
11672 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11673 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11675 * buffer.C (makeLinuxDocFile):
11676 (makeDocBookFile): reworked the preamble, more clean, and with
11677 support for lyx defined entities. Changed the document declaration
11678 to be more XML friendly.
11680 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11681 if we need to output XML that should be done with a filter.
11683 2001-10-22 Juergen Vigna <jug@sad.it>
11685 * sp_pspell.h (class PSpell): add alive function needed in the
11686 controller to see if the spellchecker could be started.
11688 2001-10-22 Juergen Vigna <jug@sad.it>
11690 * buffer.C (insertStringAsLines): modify the font for inserting
11691 chars in certain conditions by calling checkInsertChar(font).
11693 2001-10-19 Juergen Vigna <jug@sad.it>
11695 * text.C (workWidth): use getRow instead of wrong algorithm.
11696 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11698 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11703 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11705 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * text.C (workWidth): do not search for the exact row when
11708 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11709 optimization for big documents.
11711 2001-10-18 Juergen Vigna <jug@sad.it>
11713 * text.C (workWidth): new function with added Inset * parameter.
11715 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11717 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11719 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11720 change return type of getColumnNearX.
11723 * text.C (changeRegionCase): use uppercase/lowercase instead of
11726 (rightMargin): simplify code by factoring out the uses of
11731 (appendParagraph): use Paragraph::size_type
11733 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11735 * vspace.C (asLatexString): add a missing break
11737 2001-10-15 Herbert Voss <voss@perce.de>
11739 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11741 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11743 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11746 2001-10-10 André Pönitz <poenitz@gmx.net>
11748 * lyxfunc.C: removed greek_kb_flag.
11750 2001-10-10 Herbert Voss <voss@perce.de>
11752 * lyx_main.C: delete global string help_lyxdir.
11754 2001-10-09 Herbert Voss <voss@perce.de>
11756 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11758 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11760 * lyx_main.C: added global string help_lyxdir.
11762 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11764 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11766 * lyxrc.C (set_font_norm_type): support iso8859-4
11768 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11770 * LaTeX.C (deplog): add another regex for MikTeX
11772 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11774 * lyxrc.C (set_font_norm_type): support iso8859-3
11776 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11780 * LaTeXFeatures.C: remove special case of french and index
11782 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11783 before \begin{document}). This solves several incompatibilities.
11785 2001-10-03 Garst Reese <reese@isn.net>
11787 * lyx_cb.C: change CheckTex error msg.
11789 2001-10-03 José Matos <jamatos@fep.up.pt>
11791 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11793 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11795 * .cvsignore: update
11797 * lyx_main.C (commandLineVersionInfo): use new style version info.
11799 * buffer.C (writeFile):
11801 (makeLinuxDocFile):
11802 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11804 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11806 * version.h: update to use stuff in version.C
11808 * version.C.in: new file. Contains version information determined
11809 at compile time. This is a merging of version.h and
11812 2001-10-03 Juergen Vigna <jug@sad.it>
11814 * BufferView_pimpl.C (update): don't change "dirty" status in
11817 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11819 * WorkArea.C (c-tor): re-position version string slightly.
11821 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11823 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11824 revert to previous code.
11826 WorkArea.[Ch]: (show, destroySplash): methods removed.
11828 WorkArea.C: rework code so that it's an amalgam of the codes before and
11829 after the splash screen was moved to WorkArea.
11831 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11834 * vspace.C (inPixels):
11837 * buffer.C (insertStringAsLines):
11838 (asciiParagraph): fix types to be large enough
11840 * lyxlex_pimpl.h: change member status from short to int
11842 * layout.h: fix type of endlabeltype
11845 * kbsequence.C (parse): change return type to string::size_type
11847 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11850 * Bullet.C (bulletSize):
11851 (bulletEntry): do not use short ints as parameters
11853 * BufferView2.C (insertLyXFile): change a char to an int.
11855 * WorkArea.C (WorkArea): remove unneeded floats in computation
11857 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11859 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11861 * paragraph.C (asString): Do not ignore newline/hfill chars when
11862 copying to the clipboard.
11864 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11866 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11867 after a multi-line inset.
11869 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11871 * paragraph.C (validate): Set NeedLyXFootnoteCode
11873 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11875 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11876 and decrease-error to decrease.
11878 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11880 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11881 it more readable (should be equivalent)
11883 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11885 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11887 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11889 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11890 of a cursor (row, etc.) after a character has been deleted
11891 (deleteEmptyParagraphMechanism): call the method above on _all_
11892 cursors held by the LyXText when a double space has been
11895 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11897 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11899 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11901 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11902 background. Use greyOut() and the new show() methods to toggle between
11903 the foreground and background. Add code to remove the splash after
11904 its initial showing.
11906 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11907 (create_forms): no longer call Dialogs::showSplash.
11909 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11911 * .cvsignore: add version_info.h
11913 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11915 * version_info.h.in: new file
11917 * Makefile.am: add version_info.h.in
11919 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11920 version_info.h instead of VERSION_INFO
11922 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11924 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11925 The ERT inset now returns string().
11927 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11929 * lyxtext.h, text.C (selectNextWord): renamed as
11930 selectNextWordToSpellcheck.
11932 * text.C (selectNextWordToSpellcheck): Modified to not select
11933 words inside an ERT inset.
11935 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11937 * lyx_cb.C (MenuLayoutSave): change a bit the question
11939 * sp_base.h: include <sys/types.h>
11941 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11943 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11945 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11947 * several files: fix typos in user-visible strings
11949 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11951 * text2.C (pasteSelection): do not set the selection, since it
11952 will be cleared later. Actually, the intent was to fix the way the
11953 selection was set, but I figured rmoving the code was just as good.
11955 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11957 * FontLoader.C (available): Check if font is available without
11960 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11962 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11964 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11966 * lyxrc.[Ch]: added display_graphics variable and associated code.
11968 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11970 * bufferparams.C (hasClassDefaults): new method. Returns true if
11971 the buffer parameters correspond to known class defaults
11973 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11975 * XFormsView.C (show): set minimum size to the main window.
11977 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11979 * text2.C (copySelection):
11981 * lyxfind.C (LyXReplace):
11982 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11983 LyXText::selectionAsString.
11985 * paragraph.C (asString): add "label" argument to the second form
11987 * text2.C (selectionAsString): add "label" argument and pass it to
11988 Paragraph::asString.
11990 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11992 * lyx_main.C (commandLineHelp): remove version information
11994 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11996 * lyx_main.C: add -version commandline option
11998 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12000 * paragraph.h: make the optional constructor arg required instead.
12001 some modifications to other files because of this.
12003 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12005 * lyxserver.C (C_LyXComm_callback): make it static
12007 * lyx_main.C (error_handler): make it static
12009 * lyx_gui.C (LyX_XErrHandler): make it static
12011 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12013 * WorkArea.C: make the extern "C" methods static.
12015 * Makefile.am (lyx_LDADD): simplify
12017 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12019 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12020 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12022 * LyXAction.C (init):
12023 * lyxfunc.C (dispatch): associated code removal.
12025 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12027 * lyxfont.h (isSymbolFont): shut off warning
12029 * text.C (setHeightOfRow):
12030 (getVisibleRow): fix crash with empty paragraphs which have a
12033 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12035 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12038 2001-09-04 José Matos <jamatos@fep.up.pt>
12041 * tabular.C (docbook): rename docBook method to docbook.
12043 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12045 * Makefile.am: add dependencies to main.o.
12047 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12049 * FontLoader.C (available): Return false if !lyxrc.use_gui
12051 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12053 * FontInfo.C (query):
12054 * converter.C (view):
12055 * importer.C (Import):
12056 * exporter.C (Export): Can not -> cannot.
12058 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12060 * BufferView_pimpl.C: allow to create index inset even if
12063 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12065 * buffer.C (getLists): replace boost::tie code with an explicit pair
12066 as boost::tie can break some compilers.
12068 * iterators.h: Added a std:: declaration to the return type of
12071 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12073 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12076 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12078 * iterators.[Ch]: New files. Provide paragraph iterators.
12080 * buffer.C (changeLanguage): Use paragraph iterators.
12081 (isMultiLingual): ditto
12083 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12085 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12087 * FontLoader.C: Support for cmr font.
12089 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12091 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12092 (available): New method.
12094 * FontInfo.C (getFontname): Use scalable fonts even when
12095 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12098 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12100 * converter.C (Formats::view): reverted! Incorrect fix.
12102 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12104 * converter.C (Formats::view): only output the -paper option
12105 if the dvi viewer is xdvi, thereby fixing bug #233429.
12107 2001-08-23 Herbert Voss <voss@perce>
12109 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12111 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12113 * Spacing.h (Spacing): Set space to Default on in the default
12116 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * vc-backend.h (RCS::versionString): add RCS to version
12119 (CVS::versionString): add CVS to version
12121 * vc-backend.C (scanMaster): do not add CVS to version.
12122 (scanMaster): do not add RCS to version
12124 * lyxvc.C (versionString): new method
12126 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12128 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12130 * Spacing.C (set): initialize fval
12132 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12134 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12137 2001-08-16 Juergen Vigna <jug@sad.it>
12139 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12141 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12143 * BufferView_pimpl.C:
12146 * text2.C: setParagraph takes linespacing now
12148 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12150 * LyxAction.C: add internal LFUN_CITATION_INSERT
12152 * LyXView.C: actually apply fix
12154 * bufferlist.C: fix open non-existent file
12156 * lyxfind.C: fix indentation
12158 * lyxfunc.C: remove unneeded assert, fix typo
12160 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12162 * MenuBackend.C: use "Floatname List"
12164 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12166 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12167 when converting LaTeX layout to insetERT.
12168 Generate a non-collapsed float when reading old float
12170 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12172 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12175 2001-08-13 Juergen Vigna <jug@sad.it>
12177 * text.C (fill): return 0 instead of 20 as this seems to be the more
12180 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12182 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12185 2001-08-13 Juergen Vigna <jug@sad.it>
12187 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12189 (SearchBackward): comment out the unlocking of the inset_owner this
12190 should not be needed!
12192 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12194 * Many files: Remove inherit_language, and add latex_language
12196 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12197 collapsible insets.
12199 2001-08-10 Juergen Vigna <jug@sad.it>
12201 * text.C (prepareToPrint): fixed hfill-width in draw!
12203 * BufferView2.C (selectLastWord): save the selection cursor as this
12204 now is cleared in the function LyXText::clearSelection!
12206 2001-08-08 Juergen Vigna <jug@sad.it>
12208 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12209 BACKSPACE type functions.
12211 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12212 is only cutted from the document but not put in the cut-buffer, where
12213 still the old stuff should be.
12215 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12217 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12219 * tabular.C (SetWidthOfCell): fixed special case where the width
12221 (LeftLine): handle '|' in align_special.
12223 (LeftAlreadyDrawed): ditto
12224 (SetWidthOfCell): ditto
12226 2001-08-07 Juergen Vigna <jug@sad.it>
12228 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12230 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12233 * lyxlex.[hC]: ditto
12235 2001-08-06 Juergen Vigna <jug@sad.it>
12237 * text.C (getVisibleRow): fix up row clearing a bit.
12239 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12241 * minibuffer.C: make sure the X server sees the changes in the input.
12243 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12245 * paragraph.C (getFont): split into...
12246 (getLabelFont): this
12247 (getLayoutFont): and this
12248 * paragraph_pimpl.C (realizeFont): calling this
12250 * text2.C (getFont): split into...
12251 (getLayoutFont): this
12252 (getLabelFont): and this
12253 (realizeFont): all three calling this
12255 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12258 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12260 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12262 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12264 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12265 layouts from the Quote inset insertion.
12267 2001-08-03 Juergen Vigna <jug@sad.it>
12269 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12271 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12272 only if status not is already CHANGED_IN_DRAW (second level).
12274 * text.C (draw): don't set the need_break_row when inside an
12277 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * buffer.C (parseSingleLyXformat2Token): handle more latex
12282 * bufferview_funcs.[hC]: change function names to
12283 begin with small char, adjust other files.
12285 2001-08-02 André Pönitz <poenitz@gmx.net>
12288 BufferView_pimpl.C: remove broken special code for math-greek
12290 2001-08-02 Juergen Vigna <jug@sad.it>
12292 * BufferView_pimpl.C (update): redone this function so that we
12293 update the text again if there was a CHANGE_IN_DRAW.
12295 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12296 (drawFromTo): added a new internal bool which is used by draw() and
12298 (general): some cursor drawing problems fixed.
12300 2001-08-01 Juergen Vigna <jug@sad.it>
12302 * lyxfind.C (LyXFind): fixed
12303 (SearchForward): ditto
12304 (SearchBackward): ditto
12306 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12307 spurius drawing of the cursor in the main area.
12309 * text2.C (status): small fix which could lead to a segfault!
12310 (clearSelection): remove unneeded BufferView param.
12312 2001-08-01 André Pönitz <poenitz@gmx.net>
12314 * lyxfunc.C: small change due to changed mathed interface
12316 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12318 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12320 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12322 * lyxfunc.c: fail gracefully if file doesn't exist
12327 * BufferView_pimpl.C: IsDirWriteable() proto changed
12329 * LyXView.C: fix updateWindowTitle() to store the last title
12331 2001-07-31 Juergen Vigna <jug@sad.it>
12333 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12334 the font (wrong since using of Paragraph::highestFontInRange).
12336 * paragraph.C (highestFontInRange): added a default_size parameter.
12338 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12339 (setHeightOfRow): reformat
12341 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12343 * converter.[hC] + affected files: move to (inital-char)lowercase
12346 * ParagraphParameters.C (ParagraphParameters): remove commented code
12348 * PainterBase.[Ch]: remove commented code
12350 * LaTeXFeatures.h: add "bool floats" for float.sty
12352 * LaTeXFeatures.C (LaTeXFeatures): init floats
12353 (require): handle float
12354 (getPackages): do it with floats
12356 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12358 * BufferView_pimpl.C (Dispatch): improve handling of
12359 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12361 * commandtags.h: #include lyxfont.h here temporarily to avoid
12364 * bufferlist.h: include LString.h here.
12366 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12368 * text2.C (getStringToIndex): new method.
12370 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12372 * *: Reduced header file dependencies all over.
12374 2001-07-30 Baruch Even <baruch@lyx.org>
12376 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12378 2001-07-29 Baruch Even <baruch@lyx.org>
12380 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12382 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12384 * ParameterStruct.h (endif): add a default constructor to make
12385 sure that all variables is initialized.
12387 * ParagraphParameters.C (ParagraphParameters): adjust
12389 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12391 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12392 index; also, check that there is something to index, and that it
12393 does not span over several paragraphs.
12394 (doubleClick): use WHOLE_WORD_STRICT for double click.
12396 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12398 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12401 2001-07-26 Baruch Even <baruch@lyx.org>
12403 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12404 an InsetFig figure, backwards compatible reading of old figure code.
12406 2001-07-27 Juergen Vigna <jug@sad.it>
12408 * text2.C: font.realize function adaption.
12410 * text.C (draw): add a warnings lyxerr text if needed.
12412 * layout.C: font.realize function adaption.
12414 * language.C: add inherit_language and implement it's handlings
12416 * bufferview_funcs.C (StyleReset): remove language parameter from
12417 font creation (should be language_inherit now).
12419 * bufferparams.C (writeFile): handle ignore_language.
12421 * paragraph.C (getFontSettings): the language has to be resolved
12422 otherwise we have problems in LyXFont!
12424 * lyxfont.C (lyxWriteChanges): added document_language parameter
12425 (update): removed unneeded language parameter
12427 * paragraph.C (validate): fixed wrong output of color-package when
12428 using interface colors for certain fonts in certain environments,
12429 which should not seen as that on the final output.
12431 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12433 * BufferView_pimpl.C:
12438 * LyXAction.C: add thesaurus support
12441 * lyxfind.C: add "once" parameter, for thesaurus, to not
12442 move to the next match
12444 2001-07-26 Juergen Vigna <jug@sad.it>
12446 * lyxfont.C (realize): honor ignore_language too!
12449 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12451 * text.C (draw): one place more for ignore_language to not draw
12454 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12456 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12458 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12460 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12461 the minipage conversion problem.
12463 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12468 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * BufferView.h: don't forward declare WorkArea
12472 * BufferView.C: don't include WorkArea.h
12474 2001-07-25 André Pönitz <poenitz@gmx.net>
12478 * lyxfunc.C: new LFUN 'math-space'
12480 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12482 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12484 * text2.C (toggleInset): call open/close
12486 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * lyxfunc.C (dispatch): add debug for the disabled case
12490 * font.C (buttonText): make similar to rectText
12492 * buffer.C (readInset): comment out parsing of insetlist and
12495 * PainterBase.C (rectText): small correction
12497 * BufferView_pimpl.C: comment out insettheorem and insetlist
12498 * LyXAction.C: ditto
12499 * commandtags.h: ditto
12501 2001-07-24 Juergen Vigna <jug@sad.it>
12503 * text.C (draw): honor the ignore_language.
12505 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12507 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12509 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12512 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12514 * lyxtext.h: remove unused (and unimplemented) methods
12516 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12518 * text.C (getVisibleRow): honor background color
12521 * Painter.h: remove default color argument for fillRectangle
12523 * text.C (backgroundColor): new method
12525 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * text.C (getVisibleRow): adjust
12529 * font.[Ch] (rectText): new method, metrics
12530 (buttonText): new method, metrics
12532 * PainterBase.[hC]: make rectText and buttonText always draw and take
12535 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12537 * ToolbarDefaults.C (read):
12538 * MenuBackend.C (read): allow escaping in all strings
12540 * BufferView_pimpl.C (insertAndEditInset): new method.
12541 (Dispatch): use insertAndEditInset whenever appropriate.
12543 * BufferView_pimpl.C (insertNote): removed
12545 * BufferView_pimpl.C (smartQuote): new method, moved from
12546 BufferView; if an insetquote cannot be inserted, insert a '"'
12549 * BufferView2.C: remove insertCorrectQuote();
12551 * lyxfunc.C (getStatus): Add support for all remaingin
12552 inset-insert lfuns.
12554 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12556 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12557 command (necessary to pass " as parameter of self-insert.
12559 * text.C (selectWordWhenUnderCursor):
12560 (selectWord): add word_location parameter
12561 (selectWordWhenUnderCursor): same + remove special code for word
12563 (selectNextWord): use kind() to guess type of insetspecialchar,
12566 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12567 (insertErtContents): create ert insets as collapsed.
12568 (readInset): better compatibility code for Info inset.
12570 2001-07-20 Juergen Vigna <jug@sad.it>
12572 * lyxfunc.C (dispatch): use always LyXFind now!
12574 * text2.C (init): add a reinit flag so that the LyXText can be
12575 reinited instead of deleted and reallocated (used in InsetText).
12577 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12583 2001-07-18 Juergen Vigna <jug@sad.it>
12585 * text.C (selectNextWord): handle insets inside inset by calling
12586 always the bv->text functions so that we can go up the_locking_inset!
12588 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12589 in strange locations when inside an inset!
12591 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12592 handling to include insets.
12594 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12596 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12598 * LyXAction.C (init):
12600 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12601 LIGATURE_BREAK, since the name is so stupid.
12603 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12605 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12608 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12610 * sp_form.[Ch]: remove.
12612 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12614 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12617 * src/buffer.C (readInset): ditto.
12619 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12621 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12622 menuSeparator(), endOfSentenceDot(), ldots() and
12623 hyphenationPoint(), which are therefore removed.
12624 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12626 * LyXAction.C (init):
12627 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12629 * paragraph.C (getWord): removed.
12631 * BufferView_pimpl.C (Dispatch): use last word or selection for
12632 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12634 * lyx_main.C (queryUserLyXDir): do not ask before creating
12635 user_dir, except if it has been named explicitely.
12637 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12639 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12640 a document of zero size.
12642 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12644 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12645 approriately in the c-tor and in require().
12646 (getPackages): output the appropriate LaTeX for natbib support.
12648 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12649 variables "use_natbib" and "use_numerical_citations" when reading the
12651 (readInset): read the various natbib cite commands.
12652 (validate): white-space change.
12654 * bufferparams.[Ch]: new variables "bool use_natbib" and
12655 "bool use_numerical_citations".
12656 (writeFile): output them in the LyX file.
12658 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12660 * lyxfunc.C (getStatus): add support for all the inset insertion
12663 * text2.C (insertInset):
12664 * paragraph.C (insetAllowed):
12665 * BufferView_pimpl.C (insertInset): update to take in account the
12666 renaming of insertInsetAllowed
12668 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12670 * text2.C (getInset): new method. returns inset at cursor position.
12672 * BufferView_pimpl.C (Dispatch): changes because of this.
12674 * LyXAction.C (init): rename open-stuff to inset-toggle.
12676 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12678 * text2.C (toggleInset): renamed from openStuff; use
12681 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12683 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12685 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12687 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12689 * buffer.C (readLyXformat2): Add filename to the error dialog
12691 2001-07-18 Juergen Vigna <jug@sad.it>
12693 * tabular.C (GetCellNumber): put an assert here instead of the check!
12695 2001-07-17 Juergen Vigna <jug@sad.it>
12697 * BufferView_pimpl.C (toggleSelection): adapted too.
12699 * text.C (selectNextWord): adapted for use with insets.
12700 (selectSelectedWord): ditto
12702 2001-07-17 Juergen Vigna <jug@sad.it>
12704 * sp_spell.C (PSpell): fix initialitation order.
12706 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12708 * paragraph.C: spacing
12710 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12712 * sp_spell.C: repair language selection for pspell
12714 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * lyxfunc.h: change more methods to begin with lower char.
12718 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12720 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12721 for unknown layouts.
12723 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12725 * buffer.C (readLyXformat2): Generate an error dialog if there are
12728 2001-07-16 Juergen Vigna <jug@sad.it>
12730 * sp_spell.C: always compile ISpell part.
12732 * lyxrc.C: added use_pspell entry and it's handling.
12734 2001-07-13 Juergen Vigna <jug@sad.it>
12736 * sp_spell.C: removed double includes.
12738 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12740 Consistent use of Lsstream.h:
12741 * Lsstream.h: added using std::stringstream for consistencies sake.
12743 * buffer.C: removed using std::stringstream
12745 * lyxfont.C (stateText):
12746 * paragraph.C (asString):
12747 * text.C (selectNextWord, selectSelectedWord):
12748 * text2.C (setCounter):
12749 * vspace.C (asString, asLatexString):
12750 std::ostringstream -> ostringstream.
12752 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12754 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12755 * commandtags.h: add LFUN_HELP_ABOUTLYX
12756 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12758 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12760 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12762 * lyx_gui_misc.C: remove spellchecker
12763 * lyxfunc.C: showSpellchecker
12765 * sp_ispell.h: added
12766 * sp_pspell.h: added
12767 * sp_spell.C: added
12768 * sp_form.[Ch]: removed
12769 * spellchecker.[Ch]: removed
12771 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12773 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12775 (simpleTeXSpecialChars): Simply print the input character without
12776 any special translation if pass_thru is set.
12778 * layout.h: Added bool pass_thru to layout class for being able to
12779 implement pass through of a paragraph for Literate Programming.
12781 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12782 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12783 * layout.C (Read): add "passthru" to list of layout tags and add
12784 code to set the pass_thru boolean when it is read.
12786 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * trans_decl.h: remove allowed from KmodInfo
12790 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12791 remove allowed code
12794 * paragraph_pimpl.C (erase): use boost::prior
12796 * Painter.C (text): use data() instead of c_str() when length is
12798 * WorkArea.C (putClipboard): ditto
12799 * font.h (width): ditto
12801 * BufferView2.C: use it-> instead of (*it). for iterators
12803 * paragraph_pimpl.C: ditto
12804 * paragraph.C: ditto
12805 * minibuffer.C: ditto
12806 * language.C: ditto
12808 * encoding.C: ditto
12809 * counters.C: ditto
12810 * converter.C: ditto
12812 * Variables.C: ditto
12813 * TextCache.C: ditto
12814 * MenuBackend.C: ditto
12815 * LyXAction.C: ditto
12817 * FloatList.C: ditto
12818 * DepTable.C: ditto
12819 * ColorHandler.C (LyXColorHandler): ditto
12821 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12825 * text2.C (openStuff): reintroduce this method (which had been
12826 nuked in NEW_INSETS frenzy).
12828 * lyxfunc.C (Dispatch): when an action has not been handled, use
12829 its name in the error message, not its number.
12831 * paragraph.C (inInset): change method name to begin with lowercase.
12834 * text2.C: updates because of this.
12836 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12838 * ToolbarDefaults.C (add): add spaces in error message
12840 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12843 (readLyXformat2): rename return_par to first_par, use lyxlex's
12844 pushToken and remove the manual push handling.
12845 (parseSingleLyXformat2Token): add another ert comp. variable:
12846 in_tabular, rename return_par to first_par. handle newlines better
12848 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12852 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * text2.C (getParFromID): removed
12856 * buffer.C (getParFromID): new method moved form lyxtext.
12857 * BufferView2.C (insertErrors): adjust
12858 (setCursorFromRow): adjust
12859 * BufferView_pimpl.C (restorePosition): adjust
12860 * lyxfunc.C (Dispatch): adjust
12861 * undo_funcs.C (textUndo): adjust
12863 (textHandleUndo): adjust
12864 (textHandleUndo): adjust
12866 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * buffer.C: up' the LYX_FORMAT
12870 * lyxfont.h: turn NO_LATEX on as default
12872 * buffer.C (insertErtContents): new methods of tex style compability.
12873 (parseSingleLyXformat2Token): use it several places.
12874 * tabular.C (OldFormatRead): and here
12876 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12878 * text2.C: remove some commented code.
12881 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12882 * trans.C: changes because of the above.
12884 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12886 * text2.C (setCounter): Fix counters bug with bibliography layout.
12888 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12891 own member functions
12892 (simpleTeXSpecialChars): ditto
12894 2001-07-06 Juergen Vigna <jug@sad.it>
12896 * a lot of files: changed the access to LyXText::status and the
12897 call of undo-functions.
12899 * undo.[Ch]: added a inset_id to the undo informations.
12901 * undo_funcs.[Ch]: added and moved here all undo functions.
12903 * lyxtext.h: give the status enum a weight, made status_ a private
12904 variable and made accessor functions for it, removed the whole bunch
12905 of undo-functions as they are now in their own file, make some
12906 functions publically available. Added function ownerParagraph with
12909 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12910 made InInset() a const function, added getParFromID() function.
12912 * buffer.[Ch]: added const version for inset_iterator functions,
12913 added getInsetFromID() function.
12915 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12916 changed undo functions for new version.
12918 2001-07-05 Juergen Vigna <jug@sad.it>
12920 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12921 unknow mechanism does not call the proper constructor but only this
12922 one also if I request the other!?
12924 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12926 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12928 * text2.C (LyXText): use initialization lists.
12930 * lyxtext.h (Selection): initialize set_ and mark_
12931 (init): remove method
12933 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12935 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12937 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12939 * screen.[Ch]: change method names to begin with lowercase
12941 * BufferView_pimpl.C (updateScrollbar): simplify further and
12942 hopefully make it a bit faster.
12944 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12946 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12947 calling directly xforms functions.
12949 * Painter.C (Painter):
12950 * lyx_cb.C (MenuWrite):
12951 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12954 * lyx_gui.C: remove bogus guiruntime extern declaration.
12956 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12958 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12960 (redoDrawingOfParagraph): ditto
12961 (redoParagraphs): ditto
12962 (cutSelection): don't create a object for CutAndPaste use the
12963 static method directly
12964 (pasteSelection): ditto
12966 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12969 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * modifications to some other files because of this.
12973 * Makefile.am (lyx_SOURCES): add XFormsView
12975 * XFormsView.[Ch]: new files
12977 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12978 the main window. Move the gui dependent stuff to XFormsView
12980 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * tabular.C (GetCellInset): update cur_cell also in the row/col
12983 version of this function.
12985 * lyxfunc.C: no need to include figure_form.h here.
12991 * lyxvc.C: no need to include forms.h here.
12993 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12995 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12997 * lyxfunc.C (Dispatch):
12999 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13000 constructor argument.
13002 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * paragraph.C (Paragraph): dont't clear, and just set layout.
13005 (makeSameLayout): use params's copy contructor.
13007 * ParagraphParameters.[Ch] (makeSame): delete method
13009 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13011 * Variables.[Ch]: fix indentation, rename set to isSet
13013 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * lyxfunc.C (Dispatch): fix typo
13017 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13019 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13022 * bufferlist.C: include assert.h for emergencyWrite().
13024 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13026 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13027 give up at last (bug #425202) !
13029 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13035 * spellchecker.C: strip spellchecker options and bring up
13036 preferences tab instead
13038 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13040 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13041 the istringstream constructor
13043 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13045 * paragraph.C (getLayout): fix return value
13047 * paragraph.h: do not declare getLayout as inline.
13049 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13051 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13053 * lyxcursor.h (operator<): new func
13054 (operator>): new func
13055 (operator>=): new func
13056 (operator<=): new func
13058 * text.C (changeCase): use selection.start and selection.end
13059 (changeRegionCase): require from to be <= to. Require par to be a
13062 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13064 2001-06-27 Juergen Vigna <jug@sad.it>
13066 * text.C (cursorLeftOneWord): changed to return the cursor and added
13067 overlay with BufferView * parameter which calls this one.
13069 (selectWord): use new getWord function.
13070 (changeCase): renamed from changeWordCase as and extended to work
13071 also on selections.
13073 * lyxtext.h: added enum word_location
13075 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13076 changeCase as this operates now also on selections.
13078 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13080 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13082 * many files: send debug output to Debug::INFO instead of
13085 * converter.C (View):
13087 (Move): send debug output to Debug::FILES instead of console.
13089 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13091 * lyxfunc.C (getStatus): use func_status
13093 * func_status.h: new header, describing the results of
13094 LyXFunc::getStatus;
13096 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13099 2001-06-25 The LyX Project <jug@sad.it>
13101 * buffer.C (sgmlOpenTag):
13103 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13105 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * text2.C: remove some dead code
13109 * tabular.C (GetCellInset): store the last cell checked (gotten)
13111 * tabular.h: add the helper for the speedup
13113 * lyxtext.h: remove some dead code
13115 2001-06-26 The LyX Project <Asger>
13117 * paragraph.C: Change export to LaTeX of alignment to
13118 \begin{center} and family for better roundtrip work with reLyX.
13120 * Tune the math drawing a bit.
13122 2001-06-25 The LyX Project <Asger>
13124 * LColor.C (LColor): New color for math background. New color
13127 2001-06-25 The LyX Project <jug@sad.it>
13129 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13131 * lyxfunc.C (Open):
13132 * bufferlist.C (newFile): do not restrict to files ending with
13135 * BufferView_pimpl.C (MenuInsertLyXFile):
13137 2001-06-24 The LyX Project <jug@sad.it>
13139 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13142 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * lyxtext.h: rename most methods to begin with a small char.
13145 Lots of changes because of this.
13147 * paragraph.C (Paragraph): do not call fitToSize
13148 (erase): call Pimpl::erase
13149 (insertChar): call Pimpl::insertChar
13150 (insertInset): call Pipl::insertInset
13151 (breakParagraph): do not call fitToSize
13152 (breakParagraphConservative): do not call fitToSize
13153 (fitToSize): remove method
13155 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13157 2001-06-24 The LyX Project <Asger>
13159 * Fix Qt compilation^2
13161 2001-06-24 The LyX Project <jug@sad.it>
13163 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13164 depthHook(getDepth()-1).
13167 * ParagraphParameters.h:
13168 * ParameterStruct.h: change type of depth to unsigned int ==
13169 depth_type. Many adaptations to other files before of that.
13171 2001-06-24 The LyX Project <Asger>
13173 * Fix Qt compilation.
13175 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * paragraph.h: renamed several methods to begin with small letter.
13178 several changes to many parts of the code because of this.
13180 2001-06-23 The LyX Project <jug@sad.it>
13182 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13183 rewritten to discard all double spaces when KeepEmpty is off
13184 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13185 to only handle newlines but not fiddle with spaces and friends.
13187 * lyxfunc.C (MenuNew): when doing 'new from template', use
13188 template_path as default directory
13190 2001-06-23 The LyX Project <Asger>
13192 * Clean-up of header file includes all over
13193 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13195 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * paragraph.h: renamed from lyxparagraph.h
13199 2001-06-23 Asger <lyx@violet.home.sad.it>
13201 * Buffer.h: Removed Buffer::resize
13202 * BufferList.h: Removed BufferList::resize
13203 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13204 the document lazily when we change the width, or the font settings.
13206 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13208 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13210 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13212 * buffer.h: remove out of date comment
13214 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13217 * screen.C: fix "theoretical" GC leak
13219 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * LaTeX.C (scanAuxFile):
13222 (deplog): remove trailing \r when reading stream (useful under
13225 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13227 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13228 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13229 and BufferView::theLockingInset(Inset*), so should use them and not
13230 access bv_->text->the_locking_inset directly.
13232 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13234 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13237 * tex-defs.h: remove old unused file
13239 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13241 * BufferView_pimpl.C: fix typo, remove minibuffer message
13242 when buffer has loaded
13244 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * lyxfunc.C (Dispatch): use stringstream
13247 (MenuNew): use stringstream
13248 (Open): use stringstream
13250 * importer.C (Import): use stringstream
13252 * bufferview_funcs.C (CurrentState): use stringstream
13254 * LaTeX.C (run): use stringstream
13256 * BufferView_pimpl.C (savePosition): use stringstream
13257 (restorePosition): use stringstream
13258 (MenuInsertLyXFile): use stringstream
13260 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13273 * vspace.C: removed // -*- C++ -*- as first line.
13276 * version.h: added // -*- C++ -*- as first line.
13278 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13280 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13282 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13285 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13290 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13292 * gettext.C: include LString.h even when --disable-nls is on.
13294 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13296 * converter.h (Get): changed argument type from int to
13297 FormatList::size_type to avoid unnecessary conversion.
13299 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13302 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * gettext.h: include LString.h even when --disable-nls is on.
13306 2001-06-07 Juergen Vigna <jug@sad.it>
13308 * text.C (BreakAgain): subst spaces with tabs.
13310 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13311 (resizeInsetsLyXText): set force on resizeLyXText.
13313 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * gettext.h (gettext_init):
13316 (locale_init): use a real definition instead of a macro
13318 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13320 * Bufferview_pimpl.C:
13322 * LColor.C: further lcolor tidies
13324 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13326 * BufferView_pimpl.C (updateScrollbar): simplify.
13328 * BufferView2.C: don't include insets/insetinfo.h, change
13329 prototype for insertInset and call the Pimpl version. let
13330 updateInset call Pimpl version.
13332 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13333 gotoInset to BufferView::Pimpl
13335 2001-06-01 Juergen Vigna <jug@sad.it>
13337 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13338 inside a LockingInset (is the update needed at all?).
13340 2001-05-31 Juergen Vigna <jug@sad.it>
13342 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13343 here not the old one otherwise how should we compare it afterwards
13346 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13351 * FontInfo.C: bring C functions into global namespace when
13354 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * LString.h: make sure config.h has been loaded before LString.h.
13358 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13359 (one for each char read by EatLine!).
13361 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13364 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13366 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13367 to the same as the par we break from
13369 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13371 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13373 * MenuBackend.C (expand): also create menu entries for wide
13374 versions of the floats.
13376 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13378 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13380 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13381 frontends/Makefile.am
13387 * tabular.C (getTokenValue): add std::
13389 * tabular-old.C (getTokenValue): add std::
13390 (getTokenValue): ditto
13391 (getTokenValue): ditto
13393 * screen.C (ToggleSelection): adjust
13395 * lyxtext.h: put selection cursors inside a Selection struct.
13397 * lyxfunc.C (moveCursorUpdate): adjust
13399 * lyxfont.C (latexWriteStartChanges): add std::
13401 * lyxfind.C: adjust
13403 * font.h: delete with(char const *, LyXFont const &)
13405 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13407 * FontInfo.C (getFontname): add std::
13409 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13410 (workAreaButtonPress): adjust
13411 (tripleClick): adjust
13413 (moveCursorUpdate): adjust
13416 * BufferView2.C (gotoInset): adjust
13418 2001-05-30 Juergen Vigna <jug@sad.it>
13420 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13421 to check pspell I add this as default as I now have new pspell
13422 libraries and they seem to use this.
13424 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13426 * text2.C (CutSelection): make the cursor valid before the call to
13429 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13432 relied on 0 terminated strings and other horrors. Bug found due to
13433 the new assert in lyxstring!
13435 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13438 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13443 * lyxfunc.C (processKeySym): change method of getting to the
13446 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13447 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13448 * BufferView_pimpl.[Ch]: here as private methods.
13450 2001-05-28 Juergen Vigna <jug@sad.it>
13452 * text.C (SetHeightOfRow): added the update() call again as it is
13453 needed to initialize inset dimensions!
13455 2001-05-16 Juergen Vigna <jug@sad.it>
13457 * text2.C (SetCharFont): Add new function with BufferView * and
13458 bool toggleall parameters for setting insets internal fonts.
13459 (SetFont): Freeze the undo as we may change fonts in Insets and
13460 all this change should be inside only one Undo!
13462 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13463 setting font's in insets as for them we have the SetFont function!
13465 2001-05-15 Juergen Vigna <jug@sad.it>
13467 * text2.C (ClearSelection): to be sure we REALLY don't have any
13470 * tabular.C (TeXCellPreamble): fixed the left border problem for
13473 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13475 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13478 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13480 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13481 LFUN_BREAKPARAGRAPH.
13483 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13484 help test to "internal only", similar for LFUN_INSERT_URL
13486 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13487 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13488 auto_region_delete and deadkeys.
13490 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13493 * LColor.C: remove some dead entries, tidy a little
13495 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13499 (Dispatch): implement LFUN_ESCAPE
13501 * commandtags.h: add LFUN_ESCAPE
13503 * LyXAction.C (init): add entry for LFUN_ESCAPE
13505 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13506 Remove commented code.
13507 (insertNote): moved here
13508 (open_new_inset): moved here
13510 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13513 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13515 * kbmap.C (findbinding): clean it up and make it work correctly.
13517 * lyx_main.C (init): do not pass argc and argv as parameters
13519 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13521 * buffer.C: fix path for OS/2 & Win32
13525 * lyx_main.C: Added os:: class.
13527 * os2_defines.h: update
13529 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13531 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13532 better by trying again with reduced state.
13534 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * lyxrc.C (read): print error about invalid key sequence only when
13537 debugging (because not all latinX keysyms are known to some X
13540 * kbsequence.C (getiso): add a few std:: qualifiers
13541 (getiso): comment out extra return statement.
13543 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13545 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13547 (Dispatch): enhance the accent inset a bit. (not perfect)
13549 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13551 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13553 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13555 * bufferlist.C (emergencyWrite): fix assert() call
13557 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13559 * text.C (InsertChar): Added trivial patch to only send the "you
13560 can not do multiple spaces this way" message once during a
13563 2001-05-08 Baruch Even <baruch@lyx.org>
13565 * Makefile.am: Changed order of libraries to get LyX to link properly
13566 with the gnome frontend.
13568 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13570 * LaTeXFeatures.h: add a std:: qualifier
13572 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13574 * paragraph.C (String): use stringstream
13576 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13578 * paragraph.C (writeFile): remove footflag arg
13580 * buffer.C (makeLaTeXFile): use stringstream
13581 (latexParagraphs): remove footnot gurba
13583 * LaTeXFeatures.C (getPackages): use stringstream
13584 (getMacros): likewise
13585 (getTClassPreamble): likewise
13586 (getFloatDefinitions): new method
13588 * paragraph.C (writeFile): reindent
13591 * WorkArea.h: revert the xpos + etc changes.
13593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13595 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13597 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13598 (pasteSelection): likewise
13599 * text2.C (CreateUndo): likewise
13601 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * minibuffer.C (peek_event): temporarily reduce the functionality
13604 of the minibuffer (to allow args on lfuns)
13606 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13607 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13609 * buffer.C (readInset): add compability reading of old float
13610 lists, add reading of new style float list.
13611 (readInset): avoid reevaluation of inscmd.getCmdName()
13612 (getLists): reindent
13614 * MenuBackend.C (MenuItem): implement parsing of
13615 md_floatlistinsert and md_floatinsert.
13616 (expand::LastFiles): move initalizaton of iterators out of loop,
13617 avoid reevaluation.
13618 (expand::Documents): introduce typdedef vector<string> Strings,
13620 (expand::ExportFormats): introduce typedef vector<Format const *>
13621 Formats, and use it.
13622 (expand): implement FloatListInsert and FloatInsert.
13624 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13625 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13626 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13628 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13630 (Dispatch::LFUN_FLOAT_LIST): implement
13632 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13634 * LaTeX.C (run): Fix problem with --export code.
13636 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13638 * BufferView.[Ch] (workarea): removed.
13639 (getClipboard) new method; wrapper for workarea()->getClipboard()
13641 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13644 * WorkArea.h (width, height, xpos, ypos): These methods all
13645 returned the dimensions of the work_area sub-area of WorkArea,
13646 resulting in a position error if the WorkArea were resized. Now
13647 return the dimensions of the entire WorkArea.
13649 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13651 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13653 * LaTeX.C (deplog): correct the syntax of regex reg1
13655 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * undo.C: remove !NEW_INSETS cruft
13659 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13661 * text2.C: remove !NEW_INSETS cruft
13663 * text.C: remove !NEW_INSETS cruft
13665 * tabular.C: remove !NEW_INSETS cruft
13667 * spellchecker.C: remove !NEW_INSETS cruft
13669 * lyxtext.h: remove !NEW_INSETS cruft
13671 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13673 * lyxfunc.C: remove !NEW_INSETS cruft
13675 * lyxfind.C: remove !NEW_INSETS cruft
13677 * lyx_cb.C: remove !NEW_INSETS cruft
13679 * figureForm.C: remove !NEW_INSETS cruft
13681 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13683 * buffer.[Ch]: remove !NEW_INSETS cruft
13685 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13687 * CutAndPaste.C: remove !NEW_INSETS cruft
13689 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13691 * BufferView2.C: remove !NEW_INSETS cruft
13693 * BufferView.h: remove !NEW_INSETS cruft
13695 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * Lsstream.h: include LString.h before the sstream headers to
13698 fix problem with gcc 2.95.3 and lyxstring
13700 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * lyx_main.C: add using directives when needed for C functions
13703 declared in std:: namespace.
13705 2001-04-27 Juergen Vigna <jug@sad.it>
13707 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13708 (SetHeightOfRow): comment out the update call should not be needed!
13710 2001-04-13 Juergen Vigna <jug@sad.it>
13712 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13713 (LyXTabular): tried to minimize operator= operations (and realized
13714 hopfully Lars wish).
13716 2001-04-27 Juergen Vigna <jug@sad.it>
13718 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13720 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13724 * buffer.C (readInset): hack to make listof algorithm work
13726 * BufferView_pimpl.C: hack to make listof algorithm work
13728 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * LyXAction.C: removed all !NEW_INSETS cruft
13731 (init): moved lfun_item in method
13733 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13735 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13737 * BufferView2.C (theLockingInset): white space.
13739 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13741 * minibuffer.C: include <iostream>
13743 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13745 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13747 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13749 * text.[Ch] (TransposeChars): new method
13751 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13753 * call message directly through LyXView instead of through LyXFunc
13754 * BufferView2.C: adjust
13755 * BufferView_pimpl.C: adjust
13756 * FontLoader.C: adjust
13758 * bufferview_funcs.C: adjust
13759 * converter.C: adjust
13760 * figureForm.C: adjust
13761 * importer.C: adjust
13763 * lyx_gui_misc.C: adjust
13764 * lyxfunc.C: adjust
13767 + more files in subdirs
13769 * lyxparagraph.h (size): move up int file
13772 * adjust all uses of Assert to lyx::Assert.
13774 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13775 lyxfunctional in namespace lyx
13776 * layout.C (hasLayout): ditto
13779 (delete_layout): ditto
13780 (NumberOfClass): ditto
13781 * converter.C (GetFormat): ditto
13786 * bufferlist.C (getFileNames): ditto
13787 (emergencyWriteAll): ditto
13790 * MenuBackend.C (hasSubmenu): ditto
13793 * BufferView_pimpl.C (getInsetByCode): ditto
13795 2001-04-18 Juergen Vigna <jug@sad.it>
13797 * vspace.C (asLatexString): fixed the 100% problem.
13799 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13801 * lyxfunc.C (Dispatch):
13803 * minibuffer.h: add a few std:: qualifiers
13805 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * minibuffer.[Ch]: reimplement so that commands is initiated and
13808 run from lyxfunc, simplified som handling, and made the completion
13809 and history code for complete. wip.
13811 * lyxfunc.C (processKeySym): call message
13812 (miniDispatch): new temporary method
13813 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13814 (LFUN_MESSAGE): implement
13815 (LFUN_MESSAGE_PUSH): implement
13816 (LFUN_MESSAGE_POP): implement
13817 (initMiniBuffer): the initial/defualt minibuffer message.
13819 * lyxfont.[Ch]: inline some more getters
13821 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13823 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13825 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13826 (AutoSave): use LFUN_MESSAGE
13827 (Reconfigure): ditto
13829 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13831 * figureForm.C: use LFUN_MESSAGE
13833 * converter.C (runLaTeX): use LFUN_MESSAGE
13835 * bufferview_funcs.C: use LFUN_MESSAGE
13837 (changeDepth): ditto
13839 * bufferparams.h: use boost::
13841 * bufferlist.h: inherit privately from noncopyable
13843 * bufferlist.C (loadLyXFile): remove some commented code.
13845 * buffer.C (runChktex): use LFUN_MESSAGE
13847 * ShareContainer.h: inherit privately from noncopyable
13849 * ParagraphParameters.[hC] (depth): inline it.
13851 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13853 (message): new method
13854 (messagePush): ditto
13855 (messagePop): ditto
13856 (show): init minibuffer
13857 (showState): direct call
13859 * LaTeX.[Ch]: inherit privately from noncopyable
13860 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13861 instead of WriteStatus.
13863 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13865 * BufferView_pimpl.C (buffer): don't init minibuffer
13866 (workAreaButtonPress): use LFUN_MESSAGE
13867 (workAreaButtonRelease): ditto
13868 (savePosition): ditto
13869 (restorePosition): ditto
13870 (MenuInsertLyXFile): ditto
13871 (workAreaExpose): don't init minibuffer
13872 (update): remove commented code, simplify
13874 * BufferView2.C (openStuff): use LFUN_MESSAGE
13875 (toggleFloat): ditto
13878 (copyEnvironment): ditto
13879 (pasteEnvironment): ditto
13884 (updateInset): remove some commented code
13886 * lastfiles.h: inherit privately from noncopyable
13889 * lyx_main.h: ditto
13891 * lyxlex_pimpl.h: ditto
13893 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13894 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13895 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13897 * LyXAction.h: inherit privately from noncopyable, add methods
13898 func_begin, func_end, returning iterators to the func map.
13900 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13901 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13902 (func_begin): new method
13903 (func_end): new method
13905 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13907 (copySelection): ditto
13908 (pasteSelection): ditto
13910 * BufferView.C: whitespace change
13911 * BufferView.h: inherit privately from noncopyable
13913 2001-04-16 Allan Rae <rae@lyx.org>
13915 * tabular-old.C (l_getline):
13916 * spellchecker.C (sc_check_word):
13917 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13918 an unrecognised preprocessor directive. So ensure they're wrapped.
13920 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13922 * src/exporter.C (Export): Give an error message when path to file
13925 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13927 * LaTeX.C (deplog): Always check that foundfile exists.
13929 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13932 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13934 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * tabular.[Ch] (getLabelList): implement new method
13938 * minibuffer.h: comment ouf setTiimer
13940 * minibuffer.C (ExecutingCB): constify res
13941 (peek_event): constify s
13942 (Set): constify ntext
13943 (Init): constify nicename
13945 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13947 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13948 (savePosition): use two params to Minibuffer::Set
13949 (restorePosition): ditto
13951 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13953 * lyx_main.C: include language.h
13955 * Makefile.am (lyx_main.o): add language.h
13957 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13963 * CutAndPaste.C: include gettext.h
13965 * lyxfont.h: remove old hack with ON and OFF.
13968 * lyxfont.h: do not include language.h...
13973 * bufferview_funcs.C:
13979 * paragraph.C: ... but do it here instead
13981 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13985 * tabular.C: small reformat
13987 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13990 (BreakParagraph): ditto
13991 (SetOnlyLayout): ditto
13994 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13997 * lastfiles.C: removed most using decl, add std:: where needed
13999 * buffer.C: ws changes
14001 * MenuBackend.C (class compare_format): put into anon namespace
14002 (expand): constify label, names, action, action2
14005 * text.C (SingleWidth): constify font
14006 (IsBoundary): constify rtl2
14007 (GetVisibleRow): constify ww
14009 * LaTeX.C (deplog): constify logfile
14011 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14013 (workAreaExpose): constify widthChange, heightChange
14015 * lyxrow.C (par): moved
14018 * lyxrow.h: as inlines here
14020 * lyxfont.h (shape): moved from lyxfont.C
14021 (emph): moved from lyxfont.C
14023 * lyxfont.C (LyXFont): use initialization list for all
14025 (shape): move to lyxfont.h as inline
14026 (emph): move to lyxfont.h as inline
14029 2001-04-04 Juergen Vigna <jug@sad.it>
14031 * vspace.C: had to include stdio.h for use of sscanf
14033 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14036 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14037 independent of xforms.
14039 2001-04-02 Juergen Vigna <jug@sad.it>
14041 * spellchecker.C: fixed namespace placing!
14043 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14045 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14046 the LyXParagraph * is 0.
14048 2001-03-29 Juergen Vigna <jug@sad.it>
14050 * vspace.C: added support for %, c%, p%, l%.
14051 (stringFromUnit): added helper function.
14052 (asLatexString): changed to give right results for the %-values.
14054 * buffer.C: convert the widthp in a width%.
14056 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14058 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14061 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14062 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14064 * lyx_cb.[Ch]: see above.
14066 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14070 * lyx.[Ch]: replaced by figure_form.[Ch].
14074 * lyxfunc.C: changed headers associated with above changes.
14076 2001-03-27 Juergen Vigna <jug@sad.it>
14078 * BufferView_pimpl.C: set the temporary cursor right!
14080 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14082 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14084 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14086 * LString.h: removed "using std::getline"!
14088 * BufferView_pimpl.C (Dispatch): changes due to changes in
14089 InsetInclude::Params.
14091 * buffer.C (tag_name): removed redundant break statements as they were
14092 producing lots of warnings with my compiler.
14094 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14096 * LString.h: add "using std::getline" when using the real <string>.
14098 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14100 * buffer.C: removed bitset usage.
14101 PAR_TAG moved to an anonymous name space.
14102 (tag_name): new funtion, also in the anonymous namespace.
14103 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14104 (makeDocBookFile): clean code. Completed transition from string arrays
14106 (SimpleDocBookOnePar): code clean.
14108 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14110 * tabular.C: add some comments.
14112 2001-03-22 Juergen Vigna <jug@sad.it>
14114 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14115 compatibility read a bit and fixed bug with minipage in different
14118 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14120 * buffer.C (pop_tag): removed.
14121 (push_tag): removed.
14122 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14123 array replaced with vector. Added support for CDATA sections.
14124 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14126 (makeDocBookFile): XML conformant declaration of CDATA section,
14127 fixed bug related to <emphasis> in the first paragraph char.
14128 (sgmlOpenTag): exclude empty tags.
14129 (sgmlCloseTag): ditto.
14131 * buffer.h (pop_tag): removed.
14132 (push_tag): removed.
14134 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14136 * language.h (Languages): added size_type and size().
14138 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14140 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14141 response on compability reading of minipages. One probliem is that
14142 the old usage of minipages was «flertydig»
14144 * several files here and in subdirs: don't use static at file
14145 scope use anon namespaces instead.
14147 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14149 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14150 LaTeX output. This is necessary for Literate document
14153 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14155 * buffer.C: insert hfill when needed.
14157 * tabular.C (l_getline): use string::erase, small whitespace change.
14159 * BufferView_pimpl.C: try the anon namespace.
14160 * WorkArea.C: ditto
14162 2001-03-16 Juergen Vigna <jug@sad.it>
14164 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14165 otherwise it won't open options-dialogs.
14167 * buffer.C: honor pextraWidth(p) on converting minipages.
14169 * tabular.C (l_getline): changed the functions to strip trailing \r.
14171 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14173 * BufferView_pimpl.C:
14174 * minibuffer..C: added "using SigC::slot" declaration.
14176 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14178 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14184 * paragraph.C: ditto
14186 * lyxtext.h: NO_PEXTRA
14188 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14190 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14191 * ParameterStruct.h: ditto
14192 * ParagraphParameters.h: ditto
14193 * lyxparagraph.h: ditto
14195 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14197 * buffer.C: add compability for minipage alignment.
14198 (latexParagraphs): remove unwanted pextra check.
14200 * several files: remove CXX_WORKING_NAMESPACES
14202 * buffer.C (pop_tag): tie is in namespace boost
14204 * BufferView.h: noncopyable is in namespace boost
14206 * lyx_main.h: ditto
14209 * lastfiles.h: ditto
14210 * bufferlist.h: ditto
14211 * ShareContainer.h: ditto
14213 * LyXAction.h: ditto
14216 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14218 * Merging changes from BRANCH_MVC back into HEAD.
14220 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14222 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14224 * BufferView_pimpl.C: change from intl.C
14228 * Makefile.am: move combox.*
14234 * intl.C: remove dialog (covered by prefs)
14236 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14238 * lyxfunc.C (Dispatch): removed redundant break statement.
14240 2001-03-14 Juergen Vigna <jug@sad.it>
14242 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14244 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14246 * buffer.C: add hack to fix compability reading of minipages.
14248 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14250 * buffer.C (getLists): Cleanup.
14252 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14254 * lyxfont.C (update): don't honor toggleall on font size.
14256 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14260 * Makefile.am: moved to frontends/xforms/
14264 * BufferView_pimpl.C: changes for moved mathpanel
14266 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14268 * gettext.h: fix gettext_init() in --disable-nls
14270 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14272 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14274 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14277 * lyx.h: strip external form
14279 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14281 * BufferView_pimpl.C: add comment, destroySplash()
14283 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14285 * BufferView_pimpl.C:
14289 * lyxfunc.C: use re-worked insetinclude
14291 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14293 * buffer.C: add using std::stringstream.
14295 * lyx_cb.C: readd using std::ios.
14297 * buffer.C: add using std::map.
14299 * BufferView_pimpl.C: add using std::vector.
14301 * ShareContainer.h: add std:: to swap.
14303 * buffer.h: add some typedefs
14304 * buffer.C (getLists): use them
14305 (getLists): renamed from getTocList.
14306 add a counter for the different float types and use it in the
14308 (getLists): use the same counter for the NEW_INSETS and the "non"
14311 * lyx_cb.h: remove unused items, includes, using etc.
14313 * ShareContainer.h: remove some commented code, add more comments
14314 and "documentation".
14316 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14318 * buffer.C (getTocList): make the list also when NEW_INSETS is
14321 * buffer.h: remove TocType
14323 * buffer.C (getTocList): change to return a map<string,
14324 vector<TocItem> >, implement for dynamic number of list.
14326 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14327 * text2.C (PasteSelection): adjust
14328 * CutAndPaste.C (pasteSelection): adjust
14330 * FloatList.C (FloatList): update from the new_insets branch.
14331 * Floating.[Ch]: ditto
14332 * LaTeXFeatures.C: ditto
14334 * lyxlex_pimpl.C: ditto
14336 * paragraph.C (Last): remove when NEW_INSETS is defined.
14338 * other file: changes because of the above.
14340 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14342 * lyxparagraph.h: rename next to next_, previous to previous_,
14343 make them private for NEW_INSETS. Rename Next() to next(),
14344 Previous() to previous().
14346 * other files: changes because of the above.
14348 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14351 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14354 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * main.C (main): pass lyx_localedir to gettext_init().
14358 * gettext.h: remove locale_init and gettext_init macros
14360 * gettext.C (locale_init): new function
14361 (gettext_init): new function
14363 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14366 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14368 * Moved credits to frontends:
14369 * credits.[Ch]: removed
14370 * credits_form.[Ch]: removed
14371 * lyx_gui_misc.C: remove credits stuff
14374 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14376 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14378 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14379 unneeded destructor.
14381 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14382 a standalone pointer again.
14384 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14386 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14392 * ToolbarDefaults.C:
14401 * BufferView_pimpl.C: use new file dialog in GUII
14404 * lyx_cb.C: remove LayoutsCB to Toolbar
14406 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * ShareContainer.h (get): add std:: qualifier
14410 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14412 * ShareContainer.h: define a proper ShareContainer::value_type
14413 type (and use typename to please compaq cxx)
14415 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14417 * lyxparagraph.h: move serveral local vars to
14418 ParameterStruct/ParagraphParameters., use ShareContainer in
14419 FontTable., make vars in FontTable private and add getter and
14422 * paragraph.C: changes because of the above.
14424 * lyxfont.h: remove copy constructor and copy assignment. (the
14425 default ones is ok), move number inside FontBits. move inlines to
14428 * lyxfont.C: add number to initializaton of statics, move several
14429 inlines here. constify several local vars. some whitespace
14430 cleanup. Dont hide outerscope variables.
14432 * Spacing.h: add two new constructors to match the set methods.
14434 * ShareContainer.h: new file, will perhaps be moved to support
14436 * ParameterStruct.h: new file
14438 * ParagraphParameters.h: new file
14440 * ParagraphParameters.C: new file
14442 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14443 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14445 * BufferView_pimpl.C: ParagraphParameter changes.
14446 * buffer.C: Likewise.
14447 * bufferview_funcs.C: Likewise.
14448 * text.C: Likewise.
14449 * text2.C: Likewise.
14451 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14453 * lyxfind.C (LyXReplace): do not redefine default argument in
14455 (IsStringInText): ditto
14456 (SearchForward): ditto
14457 (SearchBackward): ditto
14459 2001-03-06 Juergen Vigna <jug@sad.it>
14461 * lyxfind.C (IsStringInText): put parentes around expressions.
14463 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14465 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14467 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14469 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14471 * stl_string_fwd.h: add comment
14473 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14476 * tabular.C: remove unused DocBook methods
14482 killed DO_USE_DEFAULT_LANGUAGE
14484 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14486 * lyx_gui.C: do not include language.h.
14488 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14489 arguments in function implementation.
14491 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14493 * BufferView_pimpl.C: add <ctime>
14495 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14497 * BufferView_pimpl.C: add using std::find_if
14499 2001-02-27 José Matos <jamatos@fep.up.pt>
14501 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14504 2001-02-11 José Matos <jamatos@fep.up.pt>
14506 * buffer.C (makeDocBookFile): command styles now have a parameter as
14507 "title" by default.
14509 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14511 * layout_forms.[Ch]: removed
14512 * lyx_cb.[Ch]: out character
14513 * lyx_gui.C: out character
14514 * lyx_gui_misc.C: out character
14515 * bufferview_funcs.C: : out character,
14516 added toggleall as parameter in ToggleAndShow
14518 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14520 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14522 * text2.C (SetCurrentFont): Disable number property at boundary.
14524 2001-02-26 Juergen Vigna <jug@sad.it>
14526 * lyxfunc.C (getStatus): added a string argument override function so
14527 that this is correctly called from LyXFunc::Dispatch if it contains a
14528 do_not_use_argument which is used!
14529 (Dispatch): added check for "custom" export and call appropriate func.
14531 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14533 * lyxrc.C: Add language_command_local, language_use_babel and
14534 language_global_options.
14536 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14538 * buffer.C (makeLaTeXFile): Use language_use_babel and
14539 language_global_options.
14541 2001-02-23 Juergen Vigna <jug@sad.it>
14543 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14544 which works with LyXText and putted it inside BufferView. Here now we
14545 only call for that part the BufferView::Dispatch() function.
14547 * BufferView.C (Dispatch): added.
14549 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14550 functions which needs to use a LyXText over from LyXFunc.
14551 (MenuInsertLyXFile): added
14552 (getInsetByCode): added
14553 (moveCursorUpdate): added
14554 (static TEXT): added
14556 2001-02-22 Juergen Vigna <jug@sad.it>
14558 * BufferView_pimpl.C (update): call a status update to see if LyXText
14561 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14563 * vc-backend.C (revert): implement for CVS
14564 (getLog): implement for CVS
14566 2001-02-20 Juergen Vigna <jug@sad.it>
14568 * text2.C (ClearSelection): added BufferView param for inset_owner call
14570 * lyxfunc.C (TEXT): added this function and use it instead of
14571 directly owner->view()-text of getLyXText().
14573 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14575 * src/layout_forms.C: out preamble
14576 * src/layout_forms.h: out preamble
14577 * src/lyx_cb.C: out preamble
14578 * src/lyx_cb.h: out preamble
14579 * src/lyx_gui.C: out preamble
14580 * src/lyx_gui_misc.C: out preamble
14581 * src/lyxfunc.C: connect with guii preamble
14583 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14585 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14587 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14589 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14590 whether to run bibtex.
14592 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14594 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14596 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14598 * Makefile.am (lyx_SOURCES): removed bibforms.h
14600 * vspace.h: doxygen
14602 * text.C (GetVisibleRow): make several local vars const
14604 * tabular.C: small cleanup.
14606 * lyxserver.C (callback): use compare instead of strncmp
14608 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14609 inlines to after class or to paragraph.C
14611 * lyxfont.h: remove friend operator!=
14613 * converter.h: move friend bool operator< to non friend and after
14616 * combox.h: small cleanup
14618 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14619 to inlines after class def.
14621 * buffer.C (pop_tag): use string operations instead of strcmp
14623 * bmtable.c: doxygen, small cleanup
14625 * LaTeX.h: remove friend operator==
14627 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14639 * BufferView_pimpl.C:
14640 * BufferView.[Ch]: remove cruft
14642 2001-02-14 Juergen Vigna <jug@sad.it>
14644 * lyxfunc.C: removed #if 0 unused code
14646 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14648 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14650 * text2.C (SetSelection): added a BufferView * parameter
14652 2001-02-13 Juergen Vigna <jug@sad.it>
14654 * lyxfunc.C (Dispatch): fixed protected blank problem.
14655 * BufferView2.C (protectedBlank): added LyxText * parameter.
14657 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14658 (AppendColumn): same as above for column_info.
14660 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14661 (moveCursorUpdate): use a LyXText param for support of InsetText.
14663 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14664 (tripleClick): ditto
14666 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14668 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14670 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14672 * text2.C (SetSelection): set correct update status if inset_owner
14673 (ToggleFree): ditto
14675 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14677 * tabular.C: remove some commented code.
14679 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14681 * BufferView_pimpl.C: call hideSplash()
14683 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14686 * bibforms.h: remove
14689 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14690 add LFUN_CHILD_CREATE
14692 * counters.h: fix tiny typo
14697 * lyx.C: move splash to frontends/xforms/
14699 * lyx_gui_misc.C: move Include and Bibform to frontends
14701 * lyxvc.h: clarify comment
14703 * vspace.C: tiny housekeeping
14705 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14707 * text.C (PrepareToPrint): RTL Fix.
14709 * paragraph.C (GetUChar): New method.
14710 (String): Use GetUChar.
14712 * buffer.C (asciiParagraph): Use GetUChar.
14714 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14716 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14718 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14721 * buffer.C: rename to getLogName(), handle
14722 build log / latex log nicely
14724 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14727 * MenuBackend.h: remove support for reference menuitem type.
14729 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14731 * BufferView_pimpl.C: housekeeping
14732 * BufferView_pimpl.h:
14737 * minibuffer.h: move Timeout GUI-I
14739 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14741 * lyxrc.C (read): Update converters data-structures.
14743 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14745 * LaTeX.h (operator!=): add operator != for Aux_Info
14747 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14749 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14751 * LaTeXLog.C: deleted, useful code moved to Buffer
14754 * buffer.C: new function getLatexLogName()
14760 * lyxfunc.C: use frontends for LaTeX and VC logs
14762 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * LaTeX.h: yet another std:: that Allan forgot.
14766 * Variables.C (set): renamed from isset(), because this clashes
14767 with some HP-UX macros (grr).
14769 2001-02-06 Allan Rae <rae@lyx.org>
14771 * LaTeX.h: Another bug fix. Missing std:: this time.
14773 2001-02-04 Allan Rae <rae@lyx.org>
14775 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14776 floats problem. I've left it commented out because it's not quite
14777 correct. It should also test that the current object is a table or
14778 figure inset. But I haven't gotten around to figuring out how to do
14779 that. I *think* it'll be something like: "table" == inset.type()
14781 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14784 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14786 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14787 all the citation/databases/styles in the auxilary file.
14788 (run): Rerun latex if there was a babel language error.
14790 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14792 * text.C (Backspace): Preserve the font when changing newline char
14794 (BreakParagraph): If the cursor is before a space, delete the space.
14796 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14798 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14800 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14801 new argument (code).
14802 (ChangeCitationsIfUnique): New method.
14804 * paragraph.C (GetPositionOfInset): Handle bibkey.
14806 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * BufferView_pimpl.h: change type of Position::par_pos to
14809 LyXParagraph::size_type.
14811 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14813 * BufferView_pimpl.C (savePosition, restorePosition): Write
14814 messages to minibuffer.
14816 2001-01-28 José Matos <jamatos@fep.up.pt>
14818 * buffer.C (makeDocBookFile): adds support for document language.
14819 A silly restriction on the name of LatexCommand types where removed.
14820 Added support for CDATA sections, allows to chars unescaped, used
14821 among others in code, to avoid escape < and >.
14823 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14825 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14826 saved positions instrad of a stack. Furthermore, a position is
14827 stored using paragraph id/paragraph position.
14829 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14830 Remove LFUN_REF_BACK.
14832 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14834 * converter.C (dvipdfm_options): New method.
14836 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14838 * vspace.C (isValidLength): Fix for empty input string.
14840 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14842 * LyXAction.C (init): change description of LFUN_FIGURE to
14845 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * LaTeX.C: add using directive
14849 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14851 * MenuBackend.C (expand): Fix the sorting of the formats.
14853 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14855 * lyx_main.C: tiny error message fix
14857 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14859 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14860 calling fl_initialize(). This fixes the problem with ',' as
14861 decimal separator in text files.
14863 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14865 * trans.C (process): Fix the keymap bug.
14867 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14869 * LaTeX.C (scanAuxFiles): New method. Provides support for
14870 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14871 (scanLogFile) Scan for "run BibTeX" messages.
14873 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14874 OT1 font encoding. Also, load the aecompl package if the ae
14877 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14879 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14881 * texrow.C (increasePos): turn two error messages into debug
14884 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14886 * LaTeX.C (scanAux): Handle the \@input macro.
14887 (runBibTeX): Use scanAux().
14889 * language.C (latex_options_): New field.
14891 * LaTeXFeatures.C (getMacros): Add language macros.
14893 * buffer.C (makeLaTeXFile): Small fix.
14895 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14899 * text2.C: add a using directive.
14901 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14906 * lyxfunc.C: kill LyXBell.
14908 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14910 * text.C (IsBoundary): Remove the error message
14912 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14914 * lyxrc.C (setDefaults): Correct initialization value for
14917 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14919 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14922 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14923 and GotoNextNote().
14925 * src/LyXAction.C: Added reference-next.
14927 * text.C (InsertChar): Use contains instead of strchr.
14929 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14931 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14933 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14934 alignment commands (when needed).
14936 * text.C (InsertChar): Add ':' to number separator chars.