1 2004-03-17 Angus Leeming <leeming@lyx.org>
4 * LyXAction.C (init): remove LFUN_FORKS_KILL.
6 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
7 dialog and to kill a forked process.
9 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
11 * text2.C (setCursorFromCoordinates): fix font problem
13 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
15 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
16 bogus "rebuild cursor" code
18 2004-03-11 André Pönitz <poenitz@gmx.net>
20 * buffer.[Ch]: use InsetText instead of LyXText as container for
23 * dociterator.[Ch]: drop the BufferView * member which is not needed
24 anymore after the change to buffer.C
30 * BufferView_pimpl.[Ch]:
32 * cursor_slice.[Ch]: adjust
34 * text3.C: fix bug in mathDispatch
36 2004-03-08 André Pönitz <poenitz@gmx.net>
38 * undo.[Ch]: use 'StableDocumentIterator' as base for
41 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * bufferparams.[Ch]: add jurabib support and param.
46 * LaTeX.C: add FIXME/comment.
48 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
50 * buffer.C: increment file format to 230.
52 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
54 * cursor.C (dispatch): avoid infinite loops
56 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
58 * rowpainter.C (paintSelection): fix x coordinates
60 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
62 * text.C (rowBreakPoint): fix breaking before displayed insets
64 2004-03-01 André Pönitz <poenitz@gmx.net>
66 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
68 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
80 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
86 * BufferView_pimpl.C: rename textwidth -> maxwidth,
87 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
89 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
91 * Bidi.[Ch] (computeTables): const correctness
92 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
93 fill_hfill, fill_label_hfill and x from Row
94 * lyxtext.h: prepareToPrint returns a RowMetrics
95 * rowPainter.C: adjust
96 * text.C (prepareToPrint): use width, not textWidth. adjust
97 (redoParagraphInternal, cursorX): adjust
98 * text2.C (getColumnNearX): adjust
99 (init): put a default value to the top LyXText::width
101 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
103 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
105 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
107 * lyxtext.h: add FontIterator class
109 * text.C (FontIterator, operator*, operator->, operator++): add
110 (rowBreakPoint, setRowWidth): adjust (fixing a
113 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * BufferView_pimpl.C (workAreaDispatch): allow also
116 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
118 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
120 * text.C (rowBreakPoint): fix a bug showing with very large insets
122 2004-02-25 André Pönitz <poenitz@gmx.net>
125 * cursor.[Ch]: move some mathed specific code to mathed
127 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
129 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
130 use_tempdir in preferences
131 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
133 * lyx_main.C: ensure that tempdir is valid
134 * lyxlex.h: correct typo
135 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
136 * paragraph.[Ch] (isMultiLingual): make const
137 * cursor.[Ch] (openable): make const
139 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
141 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
143 2004-02-20 André Pönitz <poenitz@gmx.net>
145 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
147 * cursor.[Ch]: prepare for localized getStatus()
153 * text3.C: streamlines the LyXText cursor movement handlers a bit.
155 2004-02-20 André Pönitz <poenitz@gmx.net>
157 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
159 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
161 * text2.C (setCursorFromCoordinates): switch to absolute coords
164 * text3.C (dispatch): adjust
166 2004-02-16 André Pönitz <poenitz@gmx.net>
168 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
171 * cursor_slice.[Ch]: remove unneeded acessor function
173 * lyxtext.h: rename rtl() to isRTL()
181 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
183 * rowpainter.C (paintSelection): coord fix
185 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
187 * Spacing.C: compile fix
189 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
191 * cursor.C (dispatch): restore current_ before returning
193 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
195 * text2.C (cursorUp, cursorDown): fix coords
198 2004-02-12 André Pönitz <poenitz@gmx.net>
203 * text3.C: add LCursor & parameter to most cursor movement functions
204 remove usage of LyXText::cursorRow() and cursorPar()
206 * cursor.[Ch]: add textRow() needed members
209 * BufferView_pimpl.C:
212 * BufferView_pimpl.C: adjust
214 2004-02-11 André Pönitz <poenitz@gmx.net>
218 * BufferView_pimpl.C: shift undo/redo handling
220 * cursor.[Ch]: fix mathed crash
223 * lyxtext.h: move selectionAsText to LCursor
231 * rowpainter.C: fix excessive drawing
233 2004-02-06 André Pönitz <poenitz@gmx.net>
236 * BufferView_pimpl.[Ch]:
237 * text3.C: move some text specific LFUN handling
239 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
241 * text3.C (checkInsetHit): adjust coords
242 * text2.C (getColumnNearX): adjust coords
243 (edit): adjust coords
244 * text.C (getRowNearY): add two asserts
246 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
249 * format.C: add using std::distance to compile on gcc 2.95/stlport
251 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
253 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
255 2004-02-04 André Pönitz <poenitz@gmx.net>
257 * BufferView.[Ch] (insertInset):
258 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
263 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
265 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
266 on the default clause of the switch
267 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
268 wasn't catched by LCursor::dispatch
270 2004-02-03 André Pönitz <poenitz@gmx.net>
273 * cursor.[Ch]: some additional asserts
275 * undo.[Ch]: remove LyXText dependency in interface
279 * lyxtext.h (firstPar, lastPar): remove dead functions
284 * paragraph.[Ch]: adjust
286 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
288 * lyxfind.C (find): fix argument order in call to ::find
290 2004-02-02 André Pönitz <poenitz@gmx.net>
292 * cursor.[Ch]: remove direct access to anchor
294 * text.C: remove findText() hack
296 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
298 * iterators.[Ch] (lockPath): remove in favour of...
299 * BufferView.[Ch] (setCursor): this addition
300 * BufferView.C (putSelectionAt): adjust
301 * undo.C (performUndoOrRedo): adjust
302 * lyxfunc.C (dispatch): adjust
304 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
306 * iterators.C (lockPath): add a missing slice
307 * undo.C (performUndoOrRedo): remove redundant positioning code
309 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
311 * vc-backend.C (scanMaster): ";" -> ';'
313 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
315 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
318 * lyxtextclass.C (compare_name): rename to...
319 (LayoutNamesEqual): ...this
321 * lyxlex_pimpl.C (compare_tags): inherit from
322 std::binary_function, put back into anon namespace
324 * lyxfind.C (MatchString): inherig from std::binary_function
325 (findChange): use empty() istead of !size()
327 * format.C (FormatNamesEqual): new functor
334 * converter.C (compare_Converter): rename to...
335 (ConverterEqual): ...this, and fixup a bit.
336 (getConverter): use it, and make function const
337 (getNumber): use it, and make function const
341 * bufferlist.C: add using boost::bind
343 * MenuBackend.C (MenuNamesEqual): new functor
344 (hasMenu): use it, and make function const
345 (hasSubmenu): use nested bind to get rid of compare_memfun.
347 2004-01-30 André Pönitz <poenitz@gmx.net>
349 * BufferView_pimpl.C:
360 * text3.C: move some of the edit(x,y) handling to the insets
361 some coordinate changes.
363 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
365 * text.C: add using statements for std::advance and std::distance
367 * paragraph.C: add using statement for std::distance
369 * lyxfind.C: add using statement for std::advance
371 * cursor.C (region): remove std:: from swap
372 (openable): use nucleus in stead of operator->
374 * BufferView.C: add using statements for std::distance and std::swap
376 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
378 * iterators.C: Remove the pimple, move the needed structures to
379 the header file. Create accessor for the positions stack.
380 (asPosIterator): remove function
382 * PosIterator.C (PosIterator): move constructors to top of file
383 (PosIterator): reimplement the constructor taking a ParIterator in
385 (setFrom): new function
386 (operator!=): inline it
388 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
390 * lyxfind.C (replaceAll): use std::advance
392 * iterators.h: inherit from std::iterator.
394 * PosIterator.C (advance, distance): remove
395 * PosIterator.h: interit from std::iterator.
397 2004-01-26 André Pönitz <poenitz@gmx.net>
400 * BufferView_pimpl.[Ch]:
404 * bufferview_funcs.C:
415 * output_plaintext.C:
417 * paragraph_funcs.[Ch]:
418 * paragraph_pimpl.[Ch]:
424 * text3.C: more IU: dumps most of the rest of the mathcursor
425 implementation into cursor.[Ch]; "globalize" a bit of it.
427 2004-01-25 Angus Leeming <leeming@lyx.org>
429 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
431 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * LaTeXFeatures.h: add nice_ and nice() const
434 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
436 2004-01-20 André Pönitz <poenitz@gmx.net>
439 * BufferView_pimpl.C:
441 * bufferview_funcs.C:
454 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
455 LCursor and mathcursor parts to LCursor and InsetBase.
457 2004-01-15 André Pönitz <poenitz@gmx.net>
459 * cursor_slice.[Ch]: add a few covienience functions
461 * funcrequest.[Ch]: remove BufferView * member
463 * BufferView_pimpl.C:
470 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
472 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
474 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
475 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
477 2004-01-13 André Pönitz <poenitz@gmx.net>
480 * lyxtext.h: hide cursor and selection anchor behind accessor function
483 * BufferView_pimpl.[Ch]:
485 * bufferview_funcs.C:
495 * cursor_slice.[Ch]: some integer type changes for inset unification
497 * lyxcursor.[hC]: remove, it's CursorSlice now.
500 * BufferView_pimpl.[Ch]:
501 * bufferview_funcs.C:
507 * textcursor.[Ch]: adjust
509 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
511 * text2.C (undoSpan): add and use
512 * text.C (breakParagraph): use undoSpan (fix bug 578)
515 2004-01-08 Angus Leeming <leeming@lyx.org>
517 * BufferView_pimpl.C (MenuInsertLyXFile):
518 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
519 * lyxfunc.C (menuNew, open, doImport):
520 FileFilterList change to the FileDialog open and save functions.
522 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
524 * ShareContainer.h: make isEqual and isUnique adaptable
526 * CutAndPaste.C: make resetOwnerAndChanges adaptable
528 2004-01-07 Angus Leeming <leeming@lyx.org>
531 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
533 * BufferView_pimpl.C (dispatch): act on these LFUNs.
535 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
536 functions replacing find, replace and replaceAll.
538 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
539 LFUN_WORDFIND(FORWARD|BACKWARD).
541 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
543 * text.C (breakParagraph): remove an outdated #warning
545 2004-01-07 André Pönitz <poenitz@gmx.net>
547 * lyxfind.C: somewhat clearer logic
549 * text.C: prevent crash in cursorX on unitialized row cache
551 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
553 * lyxcursor.[Ch] (operator>): add
554 * textcursor.C (selStart, selEnd): use std::min and std::max
556 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
558 * Chktex.C: include boost/format.hpp
560 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
562 * InsetList.C: replace functor MathcIt with adaptable functor
564 (insetIterator): modify accordingly
566 * BranchList.h: move the BranchNamesEqual functor here from...
567 * BranchList.C: ... to here
569 * BranchList.C: new BranchListEqual fuctor, use it. Remove
571 (add): replace a finding loop with std::find_if.
573 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
575 * output_docbook.C: moving LatexParam functionality into
578 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * buffer.C: increment format to 229.
582 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
585 * lyx_sty.[Ch]: remove minipageindent_def
591 * text3.C: remove LFUN_INSET_MINIPAGE
593 2003-12-28 Angus Leeming <leeming@lyx.org>
595 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
597 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
599 * text2.C (setParagraph): fix off-by-one crash
601 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
603 * output_docbook.C: header stuff for AGU
605 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
607 * text2.C (redoCursor): remove
610 * BufferView_pimpl.C: remove calls to redoCursor and
611 setCursor(cursor.par(), cursor.pos()) all around
613 2003-12-15 Angus Leeming <leeming@lyx.org>
615 * buffer.C: up the format to 228.
617 2003-12-15 André Pönitz <poenitz@gmx.net>
619 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
624 * BufferView_pimpl.C:
633 2003-12-15 Angus Leeming <leeming@lyx.org>
635 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
636 than getFromGUIName to manipulate the color.
638 2003-12-14 Angus Leeming <leeming@lyx.org>
640 * BranchList.[Ch]: minimize the API.
641 (Branch::getBranch, getColor): now return a 'const &'.
642 (Branch::setSelected) now returns a bool set to true if the
643 selection status changes.
644 (BranchList::clear, size, getColor, setColor, setSelected,
645 allBranches, allSelected, separator): removed.
646 (BranchList::find): new functions, returning the Branch with
648 (BranchList::add, remove): return a bool indicating that
649 the operation was successful.
651 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
652 new InsetBranch::isBranchSlected member function.
654 * LColor.[Ch]: mimimize the API.
655 (fill): renamed as addColor and made private.
656 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
657 versions of these functions taking a string arg have been removed.
659 * bufferparams.C (readToken):
660 * lyxfunc.C (dispatch):
661 * lyxrc.C (read): changes due to the altered BranchList and
664 * factory.C (createInset, readInset): changes due to altered
667 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
670 * lyxfunc.C: remove insetminipage. "minipage-insert"
671 now produces a frameless minipage box inset.
673 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
675 * textcursor.[Ch] (selStart,selEnd): add new methods
676 remove selection::start, end, use LyXCursor::operator<
677 * lyxcursor.[Ch] (operator<): add
678 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
679 * BufferView.[Ch] (unsetXSel): add
680 * text2.C (clearSelection): use unsetXSel,adjust
683 * rowpainter.C: adjust
684 * bufferview_funcs.C (put_selection_at): adjust
686 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
688 * BufferView_pimpl.C: small coord. correction
690 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
692 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
693 dragging over the splash screen.
695 2003-12-11 Angus Leeming <leeming@lyx.org>
697 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
698 as it is now handled in LyXText::dispatch.
700 * text3.C (doInsertInset): remove a level of nesting.
702 2003-12-11 Angus Leeming <leeming@lyx.org>
704 * factory.C (createInset): changes due to the changed interface to
705 InsetCommandMailer::string2params.
707 2003-12-10 Angus Leeming <leeming@lyx.org>
709 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
710 'dialog-show-new-inset <inset name>'
712 2003-12-10 Angus Leeming <leeming@lyx.org>
714 * buffer.C: up the format to 227.
716 * factory.C: the box inset is now identified simply by 'Box'.
718 2003-12-10 Angus Leeming <leeming@lyx.org>
720 * buffer.C: up the format to 226.
722 * factory.C: the note inset is now identified simply by 'Note'.
724 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
726 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
727 when a pit is enough. Standarize a couple of loops.
729 2003-12-05 Angus Leeming <leeming@lyx.org>
731 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
732 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
733 data to the re-worked "log" dialog.
735 2003-12-03 André Pönitz <poenitz@gmx.net>
743 * text2.C: use Inset::getText instead of Inset::getParagraph
745 2003-12-03 André Pönitz <poenitz@gmx.net>
749 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
750 InsetText::read() as LyXText::read()
752 2003-12-02 Angus Leeming <leeming@lyx.org>
754 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
755 type. Add a comment in the implementation that the function uses
756 the stream's bad() function rather than fail() as the std::streams
759 2003-12-02 André Pönitz <poenitz@gmx.net>
761 * lyxlex.[Ch]: make interface more similar to std::stream
763 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
765 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
767 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
769 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
771 * vspace.[Ch]: remove VSpace::NONE
773 2003-12-01 André Pönitz <poenitz@gmx.net>
776 * lyxtext.h: move ParagraphList member to LyXText
777 rename LyXText::ownerParagraphs to LyXText::paragraph
780 * bufferview_funcs.C:
790 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
792 * undo.C: fix cursor positioning
794 2003-12-01 John Levon <levon@movementarian.org>
796 * BufferView_pimpl.C: fix a crash on exit with
799 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
801 * BranchList.C: fix setSelected() method.
803 2003-11-28 André Pönitz <poenitz@gmx.net>
805 * ParagraphParameters.[Ch]:
806 * ParameterStruct.h: remove space above/below from Paragraph to
809 * BufferView_pimpl.C:
821 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
823 * factory.C: Syntax change for CharStyles
825 2003-11-28 André Pönitz <poenitz@gmx.net>
830 * buffer.[Ch]: move LyXText member
832 2003-11-28 André Pönitz <poenitz@gmx.net>
834 * BufferView.[Ch]: make LyXText * text a private member
836 * BufferView_pimpl.C:
847 * output_plaintext.C: cleanup
849 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
852 * lyxtextclass.[Ch]: parametrize SGML document header
854 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
857 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
860 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
862 * text2.C (setFont): rework using PosIterator (no more recursive)
863 (setCharFont): no more needed
864 (setLayout): no more selection cursors fiddling (done by redoCursor)
865 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
866 destroy remaining ones)
868 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
870 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
872 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
875 * text3.C: adjust + re-allow multi par depth changes
876 * textcursor.C: simplify a bit
878 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
884 * src/output_docbook.C:
885 * src/output_latex.C:
890 * src/text2.C: Introducing a number of tags parametrizing various
891 XML formats that we may want to support
893 2003-11-25 André Pönitz <poenitz@gmx.net>
895 * InsetList.[Ch] (begein, end): inline as suggested by profiler
897 * lyxtext.h (leftMargin/rightMargin): simplify interface
904 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * lyxfunc.C (dispatch): propogate the bibtex databases from the
907 master file to any child files. Fixes bug 546.
909 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
911 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
913 2003-11-24 André Pönitz <poenitz@gmx.net>
915 * rowpainter.C: simplification
917 * text2.C (updateCounters): remove call to redoParagraph on
918 changed labels as this is far too expensive.
920 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
922 * converter.C (convert): fix a crash: this function gets
923 called with buffer == 0 from importer code.
925 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
927 * text3.C (cursorPrevious): make sure that we do not compare
928 iterators form different containers.
931 * rowpainter.C (paintSelection): make sure that we do not compare
932 iterators from different containers.
934 * text3.C (dispatch): [PRIOR] make sure that we do not compare
935 iterators from different ParagraphList containers.
938 * text2.C (LyXText): change order of initialization slightly
939 (operator=): new function. copy all variables except cache_par_
940 (moveUp): make sure that we do not compare iterators from
941 different ParagraphList constainers.
944 * text.C (firstPar): new function
945 (lastPar): new function
946 (endPar): new function
948 * lyxtext.h: move things around and group public functions, public
949 variables, private functions, private variables
951 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
953 * factory.C: change call to InsetERT constructor to avoid
954 additional invocation of method status
955 * text2.C (toggleInset): remove redundant update() call
956 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
957 instead of a Bufferview pointer
959 2003-11-21 André Pönitz <poenitz@gmx.net>
961 * rowpainter.C: simplification
963 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
965 * text3.C (dispatch): make possible to extend a word/row selection
968 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
970 * lyxtext.h: x0_,y0_ -> xo_,yo_
971 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
972 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
973 * rowpainter.C (paintRows): paint full paragraphs
975 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
977 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
980 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
982 * lyxtext.h: add x0_, y0_
983 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
984 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
986 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
988 * text2.C (setCursorIntern): move the x_target update here *
989 * text3.C: change some bv() to true/false in calls to
990 cursorUp/Down/Right/Left
991 * cursor.C: use helper function.
993 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
995 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
996 * paragraph_funcs.[Ch]: correct comment
997 * rowpainter.C: do not paint selections away from bv->cursor()
998 Fix a long standing selection painting bug.
999 * text3.C: generalize mouse-selection code to LyXTexts other that
1001 * textcursor.C: do not use y coords if we can use par offsets
1003 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1005 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1006 cursor position after e.g. inset insert)
1008 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1010 * lyxfind.C (replace): adjust to locking removal + some
1013 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1015 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1018 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1021 * output_docbook.C: XML sanitation: new layout
1022 parameters InnerTag and CommandDepth
1024 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1026 * BufferView_pimpl.C:
1028 * text3.C: Fix the insertion and modification of button-style
1031 2003-11-13 André Pönitz <poenitz@gmx.net>
1033 * InsetList.[Ch]: remove deleteLyXText
1035 * paragraph.[Ch]: cache beginOfBody position
1040 * text3.C: remove superfluous update() calls
1044 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1046 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1047 * BufferView.C (fitLockedInsetCursor): remove
1048 * cursor.[Ch] (getDim): add
1049 * text.C (getRowNearY): add faster version
1050 * text3.C: remove some update calls
1052 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1064 * text3.C: The Character Style /XML short element patch.
1066 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1069 * factory.C: Small step to solving 'unable to insert some insets'
1072 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1074 * cursor.[Ch] (updatePos): new function for updating the y
1075 position of the tip inset
1076 * bufferview_funcs.C (put_selection_at):
1077 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1079 2003-11-11 André Pönitz <poenitz@gmx.net>
1081 * text.C: remove big comment on invalid Paragraph pointers as it is
1084 2003-11-11 André Pönitz <poenitz@gmx.net>
1086 * text_funcs.[Ch]: merge with ...
1094 * Makefile.am: remove text_funcs.[Ch]
1096 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1098 * cursor.C (getPos): return absolute cached y coord
1100 * BufferView_pimpl.C (fitCursor): new simplistic code
1101 (workAreaDispatch): add a fitCursor call
1103 2003-11-10 André Pönitz <poenitz@gmx.net>
1106 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1108 2003-11-10 André Pönitz <poenitz@gmx.net>
1110 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1111 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1112 indicate that the cursor needs to leave an inset
1114 * lyxtext.h: remove inset locking
1116 * cursor.[Ch]: re-implement functionality provided by inset locking
1119 * BufferView_pimpl.[Ch]:
1121 * bufferview_funcs.[Ch]:
1133 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1135 * PosIterator.[Ch]: replace the stack with a vector, add inset
1137 * iterators.[C]: adjust
1139 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1141 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1143 * paragraph_funcs.C (readParToken): put the correct id in the
1144 error item, not the id of the top paragraph
1146 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1148 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1149 * bufferview_funcs.C (put_selection_at): use the above
1151 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1153 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1155 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * output_linuxdoc.h:
1158 * output_plaintext.h:
1160 * output_docbook.h: add #include statements
1162 2003-11-05 José Matos <jamatos@lyx.org>
1164 * output_docbook.[Ch]:
1165 * output_latex.[Ch]:
1166 * output_linuxdoc.[Ch]:
1167 * output_plaintext.[Ch]: New files for output formats.
1168 * output.[Ch]: New file for helper functions.
1171 * paragraph_funcs.[Ch]: output functions moved to new files.
1173 * outputparams.h: rename of latexrunparams.h
1181 * paragraph_funcs.[Ch]:
1182 * paragraph_pimpl.[Ch]:
1183 * tabular.[Ch]: rename ascii to plaintext
1184 and LatexRunParams to OutputParams.
1186 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1188 * iterators.[Ch] (text): require bv argument
1189 * undo.C (recordUndo):
1190 * lyxfunc.C (dispatch):
1191 * bufferview_funcs.C (put_selection_at): adjust
1193 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1195 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1197 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1199 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1202 2003-11-04 André Pönitz <poenitz@gmx.net>
1204 * cursor.[Ch]: restructure
1207 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1209 * iterators.[Ch] (asCursor): remove
1211 * lfuns.h: remove LFUN_INSET_EDIT
1217 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1219 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1221 * lyxfind.[Ch]: complete overhaul
1222 * BufferView_pimpl.C:
1224 * paragraph.[Ch] (insert): add
1226 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1230 * text.C: remove dead spellcheck code
1232 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1234 * dispatchresult.h: add a val setter
1236 * cursor.C (dispatch): use a tempvar for data_[i]
1238 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1240 * PosIterator.[Ch]: compile fix
1242 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1244 * text.C (cursorPar): deactivate the cursor cache
1246 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1248 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1250 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * text3.C (dispatch): adjust for new DisptchResult semantics.
1254 * lyxfunc.C (dispatch): handle update when return from
1255 Cursor::dispatch, adjust for new DispatchResult semantics.
1257 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1258 DispatchResult(true) mean to not update. Add class functions for
1259 setting dispatched and update, as well as reading.
1261 * cursor.C (dispatch): don't handle update here
1263 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1266 * trans_mgr.C: adjust
1268 * paragraph_funcs.C (readParToken): exception safety
1270 * lyxvc.h: store the vcs pointer in a scoped_ptr
1273 * lyxsocket.C (serverCallback): exception safety
1275 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1277 * ispell.C (clone): make it return a auto_ptr
1279 * factory.C (createInset): exception safety
1280 (readInset): exception safety
1282 * bufferlist.C (newBuffer): exception safety
1284 * Thesaurus.C (Thesaurus): use initialization for aik_
1286 * MenuBackend.C (expandToc): exception safety.
1288 2003-11-03 André Pönitz <poenitz@gmx.net>
1292 * bufferview_funcs.C: remove getInsetFromId()
1295 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1301 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1303 * PosIterator.C (distance, advance): new
1304 * bufferview_funcs.[Ch] (put_selection_at): new
1305 * iterators.[Ch] (lockPath): new
1307 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1309 * iterators.[Ch] (asPosIterator): added
1310 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1311 * PosIterator.[Ch]: added
1313 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * cursor.C (dispatch):
1318 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1320 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1321 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1322 contructor, add a class function dispatched. Remove operator>=
1324 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1326 * debug.C: only use the default constructor for debugstream
1329 * main.C (main): include debug.h and setup the lyxerr streambuf
1332 2003-10-31 José Matos <jamatos@lyx.org>
1334 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1336 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1337 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1338 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1339 * paragraph_pimpl.C (simpleTeXSpecialC):
1340 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1341 add LatexRunParams argument.
1343 * exporter.C (Export): change call accordingly.
1345 * latexrunparams.h: add new member to take care of the other backends.
1346 2003-10-30 José Matos <jamatos@lyx.org>
1348 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1349 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1350 factorise code for paragraph output.
1352 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1355 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * text3.C (dispatch):
1358 * lyxfunc.C (dispatch):
1359 * cursor.C (dispatch):
1360 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1362 * dispatchresult.h: make the dispatch_result_t ctor explicit
1364 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1367 * buffer.C: small refactoring of docbook stuff
1369 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1371 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1374 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1377 operator dispatch_result_t, and operators for == != and >=
1379 * cursor.C (dispatch): adjust for operator dispatch_result_t
1380 removal. comment out call to update
1382 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1384 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1392 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1395 * dispatchresult.h: new file, DispatchResult broken out of
1398 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1400 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1402 * text.C (rowBreakPoint): put a hack inside #if 0
1404 2003-10-28 André Pönitz <poenitz@gmx.net>
1408 * paragraph_funcs.C:
1411 * text2.C: general cleanup (lots of small stuff)
1413 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1415 * text2.C (cursorEnd): simple fix to the "end key goes to one
1416 before the end on last row" bug
1418 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1420 * text.C (backspace): fix the "zombie characters"
1422 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1424 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1426 2003-10-27 André Pönitz <poenitz@gmx.net>
1428 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1430 * factory.C: handle new InsetPagebreak, InsetLine
1432 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1433 and move handling into new InsetPagebreak, InsetLine
1435 * BufferView_pimpl.C:
1437 * ParagraphParameters.C:
1438 * ParameterStruct.h:
1443 * paragraph_funcs.C:
1444 * paragraph_pimpl.C:
1450 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1453 * lyxrow_funcs.[Ch]:
1459 * text3.C: remove lastPos uses in favour of Row::endpos
1461 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1463 * undo.C (performUndoOrRedo): fix two crashes by setting a
1464 cursor by hand and reordering some calls. Use bv->lockInset instead
1465 of inset->edit because the latter loses cursor information
1467 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1469 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1471 (rowBreakPoint): fix width. change point to point + 1.
1472 Add a missing check.
1474 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1477 * lyxfunc.C: fix (at least partly) the problems
1478 with the Nav menu and headers inside branch insets
1481 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1483 * paragraph.C (getChar): add strong asserts
1485 * lyxrow_funcs.C (lastPos): remove hideous hack
1487 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1488 (fill): adjust to that (avoid an infinite loop)
1490 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1492 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1494 2003-10-23 André Pönitz <poenitz@gmx.net>
1496 * RowList_fwd.h: change list<> to vector<> to gain speed
1497 after suggestion from Alfredo
1499 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1501 * lyxtext.h: move the bidi stuff from here...
1504 * Bidi.[Ch]: ... to here
1506 2003-10-23 André Pönitz <poenitz@gmx.net>
1509 * text.C (isLastRow, isFirstRow): new functions
1511 * paragraph.h: new width cache member
1513 * rowpainter.C: replace RowList::iterator with Row & where possible
1515 * lyxfunc.C: replace several view()->text with a single call
1517 * toc.C: fix 'unused' warning
1519 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1521 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1522 when woring with stream::pos_type
1523 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1525 2003-10-22 André Pönitz <poenitz@gmx.net>
1528 * text.C: use Row & instead of RowList::iterator
1530 * lyxrow.h: rename end() to endpos()
1536 2003-10-22 Angus Leeming <leeming@lyx.org>
1538 * buffer.[Ch] (fully_loaded): new member function, returning true
1539 only when the file has been loaded fully.
1540 Used to prevent the premature generation of previews and by the
1541 citation inset to prevent computation of the natbib-style label.
1543 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1544 templates are all set up.
1546 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1548 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1550 * text.C: fixed an "oops" in the "is a bit silly"
1553 2003-10-21 André Pönitz <poenitz@gmx.net>
1555 * FuncStatus.[Ch]: small stuff, whitespace
1557 * lyxfont.[Ch]: operator<<() for debug reasons
1561 * lyxtext.h: whitespace, spelling
1563 * paragraph.C: naming of variables
1566 * text2.C: small stuff
1569 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1571 * text.C: (1) finish off the inset display() work;
1572 (2) fix the "is a bit silly" bug (accessing char
1575 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1577 * text.C: re-introduce display() for insets, fixing the
1578 various bugs (stretch of line above, math inset
1581 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1583 * text.C (rightMargin): remove spurious semicolon
1585 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1588 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1590 * text3.C: fix one crash due to wrong cursor def
1592 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * vc-backend.C (scanMaster): make the regex static
1596 * LaTeX.C (scanAuxFile): make the regexs static
1598 * text3.C (doInsertInset, dispatch, dispatch):
1599 * text2.C (cursorUp, cursorDown):
1600 * text.C (selectNextWordToSpellcheck):
1601 * BufferView_pimpl.C (dispatch):
1602 * lyxfunc.C (dispatch): localDispatch -> dispatch
1604 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * lyxsocket.C: include <cerrno>
1608 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1610 * lyxfunc.C (dispatch): remove textcache stuff
1612 * bufferlist.C (release): remove textcache stuff
1615 * TextCache.C: delete file
1616 * TextCache.h: delete file
1618 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1620 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1621 delete of the bv_->text.
1622 (resizeCurrentBuffer): remove texcache stuff
1623 (workAreaResize): ditto
1625 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1630 2003-10-16 André Pönitz <poenitz@gmx.net>
1637 * text3.C: speed up by storing y positions per paragraph plus per-row
1638 offset instead of having a 'full' y position in the row.
1640 2003-10-15 André Pönitz <poenitz@gmx.net>
1644 * undo.[Ch]: make undo aware of inner insets
1646 2003-10-14 Angus Leeming <leeming@lyx.org>
1648 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1649 static member functions LyX::ref() and LyX::cref.
1650 (lastfiles): new accessor functions for the new lastfiles_ member var.
1651 (addLyXView, views_): add a new LyXView to the list of views_.
1652 (updateInset): loop over all LyXViews to call their own updateInset
1653 member function, returning a pointer to the Buffer owning the inset.
1655 * BufferView_pimpl.C (loadLyXFile):
1656 * MenuBackend.C (expandLastfiles):
1657 * bufferlist.C (MenuWrite, QuitLyX):
1658 lastfiles is no longer a global variable.
1659 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1661 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1662 static function. Access through LyX::cref().emergencyCleanup().
1664 2003-10-14 André Pönitz <poenitz@gmx.net>
1666 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1668 * undo.[Ch]: restoring part of 'undo in insets'
1671 * undo_funcs.[Ch]: merge with undo.[Ch]
1673 * tabular.C: small cleansing stuff
1675 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1677 * paragraph_funcs.C (readParToken): report unknown insets as error
1678 boxes. Use the outer paragraph as location (also for unknown
1681 * factory.C (readInset): do not abort on reading an unknown inset.
1682 Eat it and return 0.
1684 2003-10-13 Angus Leeming <leeming@lyx.org>
1686 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1688 * lyxrc.C: displayTranslator is now a function,
1689 declared in GraphicsTypes.h.
1691 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1693 * format.C: new placeholder $$a to pass the socket address.
1695 * bufferlist.[Ch]: new function getBufferFromTmp.
1697 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1698 files in the temporary dir.
1700 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1702 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1704 * Makefile.am: add lyxsocket.[Ch].
1706 * lyx_main.C (error_handler): handle SIGPIPE.
1708 2003-10-13 André Pönitz <poenitz@gmx.net>
1710 * BufferView_pimpl.C:
1715 * undo_funcs.[Ch]: use paroffset_type instead of
1716 ParagraphList::iterators to prevent multiple conversion
1717 (and get a more robust interface)
1719 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1723 * text3.C (dispatch): ditto
1725 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1728 move the onlyfile, use onlyfile instead of foundfile in a couple
1731 * DepTable.C (update): flush the error stream a bit more
1733 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * lyxserver.C (callback): adjust
1737 * lyxfunc.C (getStatus): add a missing brace in commented code
1738 (ensureBufferClean): reindent
1739 (dispatch): delete version taking a string
1741 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * LaTeX.C (deplog): move found file handlig from here...
1744 (handleFoundFile): .. to new function here.
1745 (deplog): make sure to discover several files mentioned on the
1748 2003-10-10 André Pönitz <poenitz@gmx.net>
1755 * text3.C: fix some of the tabular crashes
1757 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1759 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1761 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1763 2003-10-09 André Pönitz <poenitz@gmx.net>
1765 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1768 * BufferView_pimpl.C:
1769 * bufferview_funcs.C:
1780 * undo_funcs.C: adjust
1782 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * text2.C (incrementItemDepth): new function, use a backtracking
1785 algorithm to discover the correct item depth.
1786 (resetEnumCounterIfNeeded): new function, use a backtracking
1787 algorithm to discover if counter reset is needed.
1788 (setCounter): use them. Simplify a bit. Add different labels for
1789 different item depths for itemize.
1791 * paragraph.C (Paragraph): remove initialization of enumdepth
1794 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1795 enumerate and itemize. Change the type of itemdepth to signed char.
1797 2003-10-08 André Pönitz <poenitz@gmx.net>
1799 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1804 * tabular.[Ch]: fix crash after 'row-insert'
1806 2003-10-08 Angus Leeming <leeming@lyx.org>
1808 Fix doxygen warnings.
1810 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1811 Remove CutAndPaste:: prefix from header file declaration.
1813 * LColor.h (fill): remove LColor:: prefix from declaration.
1815 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1816 use lyx::depth_type rather than Paragraph::depth_type so that
1817 header file and .C file match.
1819 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1821 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1822 * aspell.C: \file aspell_local.C -> \file aspell.C
1823 * gettext.C: \file gettext.C -> \file src/gettext.C
1824 * gettext.h: \file gettext.h -> \file src/gettext.h
1825 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1826 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1827 * text.C: \file text.C -> \file src/text.C
1829 * toc.C: move comment so that doxygen is not confused.
1831 2003-10-07 Angus Leeming <leeming@lyx.org>
1833 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1835 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1838 * aspell_local.h: add forgotten std::string's.
1840 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1847 * text3.C: The Box patch. Fancybox support, minipage, parbox
1849 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1855 * ParagraphParameters.h:
1865 * lyxtextclasslist.h:
1868 * paragraph_pimpl.C:
1869 * textcursor.h: add <string> and other small fixes to make Lars'
1870 std::string patch compile with STLport.
1872 2003-10-06 Angus Leeming <leeming@lyx.org>
1874 * LColor.h: Add missing #include <string>.
1876 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1878 * All most all file in all subdirs: Make <string> be the prefered
1879 way of getting to std::string, add using declarations.
1881 2003-10-06 André Pönitz <poenitz@gmx.net>
1883 * metricsinfo.C: initialize LyXFont before changing attribute.
1884 (fixes the 'math in \emph is upright' bug)
1886 2003-10-06 André Pönitz <poenitz@gmx.net>
1888 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1890 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1893 * paragraph_pimpl.C: Small fixes to build using STLport
1895 2003-10-02 André Pönitz <poenitz@gmx.net>
1898 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1900 2003-10-01 André Pönitz <poenitz@gmx.net>
1902 * factory.C: assert early
1904 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1906 * lyx_main.C: remove the global debug object
1908 * debug.h: adjust for new debugstream
1910 * debug.C: adjust for new debugstream and keep the global debug
1913 2003-09-22 Angus Leeming <leeming@lyx.org>
1915 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1916 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1917 an incomplete class LyXFont.
1919 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1921 * factory.C: bug fix in branches
1923 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1925 * lyxfunc.C (processKeySym): adjust
1927 (dispatch): change arg name from ev to func, adjust
1928 (sendDispatchMessage): ditto
1930 * lyx_main.C (defaultKeyBindings): adjust keybindings
1931 (deadKeyBindings): ditto
1933 * kbsequence.C (addkey): return a FuncRequest
1935 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1937 * kbmap.C (bind): take a FuncRequest as arg, adjust
1940 (defkey): change to take a FuncRequest as arg, adjust
1941 (findbinding): take a FuncRequest as arg, adjust.
1943 * funcrequest.h (operator=): added
1945 * funcrequest.C (FuncRequest): default kb_action changed from
1946 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1948 * buffer.C (dispatch): simplify
1949 (dispatch): adjust to take a FuncRequest as arg, adjust
1951 * boost.C (assertion_failed): change assertion message slightly
1953 * ToolbarBackend.C (read): simplify
1955 * MenuBackend.C (binding): adjust call to findbinding, add a
1956 message if no binding is found.
1958 (expandToc): correct by adding a empty FuncRequest
1960 * LyXAction.C: include <boost/assert.hpp>
1961 (isPseudoAction): delete function
1962 (LookupFunc): change name to...
1963 (lookupFunc): this. change return type to FuncRequest.
1964 (getActionName): take kb_action as arg, simplify
1965 (funcHasFlag): add an assert, simplify.
1967 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * toc.C (action): return a FuncRequest, simplify
1971 * lyxfunc.C (processKeySym): adjust
1972 (getStatus): delete version that takes an int.
1974 (dispatch): delete version that takes action as int
1976 (sendDispatchMessage): simplify and adjust
1978 * funcrequest.C (getArg): take unsigned int as arg
1980 * ToolbarBackend.C (read): adjust
1981 (add): delete version that takes func as a string.
1982 (getIton): take a FuncRequest as arg
1984 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1987 * MenuBackend.C (MenuItem): add a new construct that only takes a
1988 Kind, simplify the constructor use for submenus.
1990 (expandLastfiles): adjust
1991 (expandDocuments): adjust
1992 (expandFormats): adjust
1993 (expandFloatListInsert): adjust
1994 (expandFloatInsert): adjust
1995 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1997 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1998 Remove class variables lyx_pseudo_map and lyx_arg_map
2000 * LyXAction.C (searchActionArg): delete function
2001 (getPseudoAction): delete function
2002 (retrieveActionArg): delete function
2003 (LookupFunc): make it return kb_action, simplify.
2004 (getActionName): simplify
2006 * factory.C (createInset): fix new bug
2008 2003-09-19 Angus Leeming <leeming@lyx.org>
2010 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2011 masterFilename_ parameter in the include inset.
2013 * factory.C (createInset): changes due to the changes to InsetInclude.
2015 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2017 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2019 2003-09-18 Angus Leeming <leeming@lyx.org>
2022 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2023 Inset::fillWithBibKeys.
2024 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2026 2003-09-18 Angus Leeming <leeming@lyx.org>
2028 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2030 (ctor): pass and store a 'Buffer const &'
2031 (buffer): new member function.
2033 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2034 '*this' to the LaTeXFeatures ctor.
2036 2003-09-18 Angus Leeming <leeming@lyx.org>
2042 * text.C: rename EnumLColor as LColor_color.
2044 2003-09-18 Angus Leeming <leeming@lyx.org>
2046 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2047 remove #include "insets/insetbase.h" from cursor.h.
2049 2003-09-18 Angus Leeming <leeming@lyx.org>
2051 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2052 InsetOld_code to remove #include "inset.h".
2054 * iterators.C: add #include "insets/inset.h"
2056 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2058 * BufferView.C: remove more locking stuff that apparently doesn't
2059 do anything sensible.
2061 2003-09-16 André Pönitz <poenitz@gmx.net>
2064 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2067 2003-09-16 Angus Leeming <leeming@lyx.org>
2069 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2071 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2074 * paragraph.h: remove #include "lyxfont.h". Forward declare
2077 2003-09-16 Angus Leeming <leeming@lyx.org>
2079 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2080 of support/textutils.h.
2081 (isWord): move the contents of support/textutils.h's IsWordChar here.
2087 * text2.C: add #include "paragraph.h".
2090 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2092 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * LaTeX.C: use namespace alias for lyx::support::os
2100 2003-09-16 Angus Leeming <leeming@lyx.org>
2103 * bufferview_funcs.C:
2106 * paragraph_pimpl.C:
2108 * text.C: add #include "LColor.h".
2110 2003-09-16 Angus Leeming <leeming@lyx.org>
2112 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2113 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2115 Store the FontBits::color variable as an int rather than as an
2116 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2119 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2120 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2121 string calls together.
2123 * lyxrc.C: add #include "LColor.h".
2125 2003-09-15 Angus Leeming <leeming@lyx.org>
2127 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2130 2003-09-15 Angus Leeming <leeming@lyx.org>
2132 * LColor.h: add an EnumLColor wrapper for LColor::color.
2134 * lyxfont.[Ch] (color, setColor, realColor):
2135 * lyxtext.h, text.C (backgroundColor):
2136 pass EnumLColor args to/from the functions, rather than LColor::color
2140 * lyxtext.h: forward declare EnumLColor.
2142 * lyx_main.C: add #include "LColor.h".
2144 2003-09-15 Angus Leeming <leeming@lyx.org>
2146 * .cvsignore: add lyx-gtk.
2148 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * ParagraphParameters.C
2157 * bufferview_funcs.C
2167 * vc-backend.C: remove usage of STRCONV
2169 2003-09-15 Angus Leeming <leeming@lyx.org>
2171 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2172 explicitly define the color passed to the painter.
2174 2003-09-15 Angus Leeming <leeming@lyx.org>
2176 * bufferparams.C (BufferParams): reorder member initializers to avoid
2179 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2181 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2182 * text.C (updateRowPositions): remove an unusual nop
2184 2003-09-12 André Pönitz <poenitz@gmx.net>
2186 * BufferView_pimpl.C:
2195 * Counters.[Ch]: finish the 'automatic counters' job
2197 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2199 * aspell.C: include <boost/assert.cpp> (compile fix)
2201 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2203 * boost.C (assertion_failed): use lyx::support::abort instead of
2206 2003-09-10 Angus Leeming <leeming@lyx.org>
2208 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2209 with their _fwd progeny.
2211 2003-09-09 Angus Leeming <leeming@lyx.org>
2213 134 files throughtout the source tree: replace 'using namespace abc;'
2214 directives with the appropriate 'using abc::xyz;' declarations.
2216 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2218 * boost.C (emergencyCleanup): moved here from LAssert.c
2219 (assertion_failed): new function, called by BOOST_ASSERT
2221 * several files: change Assert to BOOST_ASSERT
2223 2003-09-09 Angus Leeming <leeming@lyx.org>
2225 * buffer.[Ch]: Add an Impl class and move Buffer's member
2226 variables into it. As a result move several header files out of
2229 Add header files to lots of .C files all over the tree as a result.
2231 2003-09-09 Angus Leeming <leeming@lyx.org>
2233 * buffer.[Ch]: make Buffer's member variables private. Add
2236 Lots of changes all over the tree as a result.
2238 2003-09-08 Angus Leeming <leeming@lyx.org>
2240 * graph.C: #include <config.h>.
2242 2003-09-08 Angus Leeming <leeming@lyx.org>
2246 * BufferView_pimpl.C:
2275 * toc.C: remove redundant using directives.
2277 2003-09-07 Angus Leeming <leeming@lyx.org>
2279 * LaTeXFeatures.h: remove #include "support/types.h".
2280 * ToolbarBackend.h: remove #include <algorithm>.
2281 * changes.h: remove #include <ctime>.
2282 * debug.h: remove #include <iosfwd>.
2283 * graph.h: remove #include "support/std_string.h".
2284 * lyx_main.h: remove #include <csignal>.
2285 * lyxlex_pimpl.h: remove #include <fstream>.
2286 * sgml.h: remove #include <algorithm>, <utility>.
2287 * toc.h: remove #include "support/std_ostream.h".
2288 Add #include <iosfwd>.
2290 2003-09-07 Angus Leeming <leeming@lyx.org>
2292 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2294 * converter.h: forward declare LatexRunParams.
2295 * encoding.h: remove #include "lyxrc.h".
2296 * lyxtext.h: remove #include "LColor.h".
2297 * lyxtextclass.h: remove #include "support/types.h".
2298 * trans.h: remove #include "tex-accent.h".
2299 * trans_mgr.h: remove #include "tex-accent.h".
2300 * insets/inset.h: remove #include "support/types.h", <vector>.
2301 * insets/insetcollapsable.h: remove #include "LColor.h".
2302 * insets/insetinclude.h: remove #include "dimension.h".
2303 * insets/insetlatexaccent.h: remove #include "dimension.h".
2304 * insets/insetoptarg.h:: remove #include "insettext.h".
2305 * insets/insettext.h: remove #include "dimension.h",
2306 <boost/shared_ptr.hpp>
2308 * insets/renderers.h: add #include "dimension.h".
2309 * insets/updatableinset.h: add #include "support/types.h".
2311 * many .C files: Associated changes.
2313 2003-09-06 Angus Leeming <leeming@lyx.org>
2315 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2316 one, inside testInvariant.
2318 * PrinterParams.C: new file.
2319 * PrinterParams.[Ch]: move the function bodies out of line.
2321 2003-09-06 Angus Leeming <leeming@lyx.org>
2323 * ParagraphParameters.h: forward declare ParameterStruct rather than
2324 including its header file.
2325 (depth): moved out-of-line.
2327 2003-09-06 Angus Leeming <leeming@lyx.org>
2329 * BufferView_pimpl.h:
2332 * lyxfunc.h: forward declare LyXKeySym rather than
2333 #include "frontends/LyXKeySym.h".
2335 * BufferView_pimpl.C:
2338 * lyxfunc.C: associated changes.
2340 2003-09-06 Angus Leeming <leeming@lyx.org>
2342 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2343 As a result, can remove the #include "insets/inset.h" from BufferView.h
2345 2003-09-06 Angus Leeming <leeming@lyx.org>
2347 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2348 As a result, can remove the #include "insets/inset.h" from BufferView.h
2350 2003-09-06 Angus Leeming <leeming@lyx.org>
2356 * bufferview_funcs.C:
2357 * BufferView_pimpl.C:
2362 * ParagraphParameters.C:
2367 * frontends/controllers/ControlDocument.C:
2368 * insets/insetcaption.C: rearrange the #includes into some sort of
2371 * buffer.h: remove #includes ErrorList.h, undo.h
2373 2003-09-06 Angus Leeming <leeming@lyx.org>
2375 * support/types.h: add a 'depth_type' typedef, used to store the
2376 nesting depth of a paragraph.
2379 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2380 defining explicitly.
2383 * paragraph_funcs.h:
2384 * ParagraphParameters.h:
2385 * sgml.h: use lyx::depth_type rather than Paragraph or
2386 ParameterStruct's depth_type.
2389 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2392 * BufferView_pimpl.C:
2394 * ParagraphParameters.C:
2397 * bufferview_funcs.C:
2404 * frontends/LyXView.C:
2405 * frontends/controllers/ControlDocument.C:
2406 * frontends/controllers/ControlErrorList.C:
2407 * insets/insetbibitem.C:
2408 * insets/insetbranch.C:
2409 * insets/insetcaption.C:
2410 * insets/insetcollapsable.C:
2411 * insets/insetenv.C:
2412 * insets/insetert.C:
2413 * insets/insetfloat.C:
2414 * insets/insetfoot.C:
2415 * insets/insetfootlike.C:
2416 * insets/insetnewline.C:
2417 * insets/insetquotes.C:
2418 * insets/insettabular.C:
2419 * insets/insettext.C:
2420 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2422 * frontends/controllers/ControlChanges.C: #include "changes.h".
2424 2003-09-06 Angus Leeming <leeming@lyx.org>
2426 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2427 than #including paragraph.h.
2430 * RowList.h: deleted. Superfluous.
2440 * insets/insettext.h: use ParagraphList_fwd.h rather than
2443 * paragraph.h: don't forward declare ParagraphList.
2446 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2447 rather than ParagraphList.h. paragraph.h is still needed for the
2448 Paragraph::depth_type parameters.
2450 * textcursor.h: enable it to compile stand-alone in light of the
2453 * bufferview_funcs.C:
2465 * frontends/controllers/ControlParagraph.C:
2466 * frontends/controllers/ControlTabular.C:
2467 * insets/insetmarginal.C:
2468 * insets/insetminipage.C:
2469 * insets/insetnote.C:
2470 * insets/insetoptarg.C: add header files needed to compile again.
2472 2003-09-06 Angus Leeming <leeming@lyx.org>
2474 * RowList_fwd.h: new file, forward-declaring Row rather than
2475 #including lyxrow.h.
2480 * insets/insettext.h: use it instead of RowList.h
2482 * bufferview_funcs.C:
2489 * text3.C: #include "RowList.h".
2491 2003-09-05 Angus Leeming <leeming@lyx.org>
2493 * factory.C (createInset):
2494 * vspace.C (c-tor): replace sscanf call with an istringstream.
2495 * ispell.C: re-add missing HP/UX headers.
2496 * lyxserver.C: re-add missing os2 headers.
2498 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2507 * text3.C: re-add missing system headers, needed for 2.95.2.
2509 2003-09-05 Angus Leeming <leeming@lyx.org>
2511 Changes most place everywhere due to the removal of using directives
2512 from support/std_sstream.h.
2514 2003-09-05 Angus Leeming <leeming@lyx.org>
2516 Replace LString.h with support/std_string.h,
2517 Lsstream.h with support/std_sstream.h,
2518 support/LIstream.h with support/std_istream.h,
2519 support/LOstream.h with support/std_ostream.h.
2521 Changes resulting throughout the tree.
2523 2003-09-05 Angus Leeming <leeming@lyx.org>
2525 * sgml.h: ensure that the header file can be compiled stand-alone.
2526 * *.C: strip out redundant #includes. (320 in total.)
2528 2003-09-04 Angus Leeming <leeming@lyx.org>
2530 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2531 here (from getPackages).
2533 * debug.[Ch]: add a new EXTERNAL tag.
2535 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2537 * text2.C (cursorEnd): simplify
2539 (getColumnNearX): adjust
2541 * text.C (computeBidiTables): adjust
2544 * rowpainter.C (paintChars): adjust
2545 (paintSelection): adjust
2546 (paintChangeBar): adjust
2549 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2551 (numberOfSeparators): adjust
2553 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2559 * text3.C: Restricts the mouse click functionality
2560 of insets like bibtex, include, toc and floatlist to the visible
2561 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2562 up the dialogs. Cursor has to be in front of the inset (i.e.
2563 start of row) for this to function.
2565 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2567 * bufferview_funcs.C (currentState): output row information
2569 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2571 * bufferview_funcs.C (currentState): output paragraph position
2573 2003-09-04 Angus Leeming <leeming@lyx.org>
2575 * FloatList.h: move out #include "Floating.h".
2576 * LaTeX.h: move out #include "DepTable.h".
2577 * LyXAction.h: move out #include "funcrequest.h".
2578 * buffer.h: move out #include "author.h", "iterators.h".
2579 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2580 * lyx_main.h: move out #include "errorlist.h".
2581 * lyxfunc.h: move out #include "FuncStatus.h".
2582 * lyxtext: move out #include "lyxcursor.h".
2583 * paragraph_pimpl.h: move out #include "counters.h".
2585 2003-09-03 Angus Leeming <leeming@lyx.org>
2587 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2588 preamble_snippets list, enabling us to add snippets to the preamble
2589 only if the snippet was not there already.
2591 2003-09-04 Angus Leeming <leeming@lyx.org>
2593 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2595 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2597 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2600 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2602 * BranchList.C: point fix, earlier forgotten
2604 2003-09-02 Angus Leeming <leeming@lyx.org>
2606 * box.C (contains): renamed from 'contained' after a fantastic
2609 2003-09-02 John Levon <levon@movementarian.org>
2615 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2617 2003-09-02 John Levon <levon@movementarian.org>
2619 * text2.C: simplification of cursorEnd(), including partial
2622 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * buffer.C (readFile): add a space
2626 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2628 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2630 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * buffer.C (readFile): new function, take a filename and a
2633 ParagraphList::iterator
2635 (readFile): adjust, make it private. don't use setStream, make
2636 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2637 always contain the filename.
2639 * BufferView.C (insertLyXFile): simplify and make it work for
2642 2003-08-30 John Levon <levon@movementarian.org>
2644 * Makefile.am: fix dist (from Kayvan)
2646 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2648 * most files: change to use const Buffer refs
2650 2003-08-27 André Pönitz <poenitz@gmx.net>
2652 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2653 on top of ownerPar().
2655 2003-08-27 John Levon <levon@movementarian.org>
2657 * funcrequest.C: properly initialise POD members
2659 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2661 * lyxtext.h (top_y): move top_y from here
2666 * BufferView_pimpl.[Ch]: to here
2667 * frontends/screen.C:
2668 * insets/insettabular.C:
2669 * insets/insettext.C: adjust
2670 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2672 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2675 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2677 2003-08-26 André Pönitz <poenitz@gmx.net>
2679 * paragraph_func.[Ch] (outerPar): new function
2682 * paragraph_funcs.C:
2683 * paragraph_funcs.h:
2684 * paragraph_pimpl.C:
2685 * text2.C: remove Inset::par_owner
2687 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2692 * text2.C: eliminates the needFullRow/display() stuff
2693 altogether, putting the logic in metrics/draw in the insets.
2695 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2697 * text2.C (redoParagraphInternal, redoParagraphs):
2698 * text.C (redoParagraph): add a call to updateRowPositions at the
2699 end of each 'metrics-like' call. Remove all others.
2700 (getRow): remove the 'y-computing' version.
2701 (getRowNearY): do not compute nor return the real y. Solve the
2702 'y < 0' problem and simplify.
2704 2003-08-22 Angus Leeming <leeming@lyx.org>
2706 * *.[Ch]: clean-up of licence and author blurbs.
2707 Also move config.h out of a few .h files and into a few .C files.
2709 2003-08-22 André Pönitz <poenitz@gmx.net>
2711 * lyxrow.[Ch]: add x_ and *fill_ members
2716 * text2.C: adjust/remove prepareToPrint() calls
2718 2003-08-22 André Pönitz <poenitz@gmx.net>
2720 * lyxrow.[Ch]: add end_ member
2722 * lyxrow_funcs.C: use LyXRow::end_
2724 * lyxtext.h (singleWidth): add LyXFont parameter
2727 * text2.C: adjust LyXText::singleWidth() calls
2729 * text.C (redoParagraph): simplify row breaking logic
2732 2003-08-19 André Pönitz <poenitz@gmx.net>
2734 * funcrequest.C: initialize button_ member
2737 * rowpainter.[Ch]: interface consolidation
2739 2003-08-18 André Pönitz <poenitz@gmx.net>
2742 * BufferView_pimpl.C:
2744 * paragraph_funcs.C:
2746 * text3.C: remove LyXScreen::draw() and fitCursor calls
2748 * BranchList.h: remove spurious semicolons
2750 * MenuBackend.C: fix branchlist related crash
2752 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2760 * bufferparams.[Ch]:
2764 * text3.C: implements the 'branch inset'
2765 idea. This allows the output of various versions of a document
2766 from a single source version, selectively outputing or suppressing
2767 output of parts of the text.
2768 This implementation contains a 'branch list editor' in a separate
2769 tab of the document settings dialog. Branches are user definable
2770 and have a "display colour" to distinguish them on-screen.
2772 ColorHandler was somewhat cleaned up.
2773 (1) make possible a dynamically growing LColor list by allowing
2774 the graphic context cache to grow along (vector);
2775 (2) eliminate an IMHO unnecessary step in colour allocation.
2777 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2779 * BufferView_pimpl.C: compile fix
2781 2003-08-15 André Pönitz <poenitz@gmx.net>
2783 * rowpainter.C: remove extra metrics calls
2785 * lyxtext.h: merge the two constructors into a single one,
2786 pass reference to owner's par list
2788 * BufferView_pimpl.C:
2792 2003-08-15 André Pönitz <poenitz@gmx.net>
2794 * lyxrow_funcs.[Ch]:
2797 * paragraph_funcs.C:
2802 * text_funcs.C: split LyXText::rowlist_ into individual
2803 Paragraph::rows_ chunks
2806 * BufferView_pimpl.[Ch]:
2809 * text3.C: remove toggleSelection()
2811 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2813 * bufferlist.C: beautify two alerts (shorter text of buttons)
2814 * buffer.C: Remove redundant ' ' from message
2816 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2817 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2818 rename VALIGN_CENTER to VALIGN_MIDDLE
2820 2003-08-11 André Pönitz <poenitz@gmx.net>
2822 * lyxtext.h (getPar):
2823 * text.C: new function
2825 2003-08-11 André Pönitz <poenitz@gmx.net>
2828 * tracer.[Ch]: remove unneeded files
2830 * InsetList.[Ch]: remove resizeInsetsLyXText()
2835 * text3.C: merge insertParagraphs() and appendParagraph()
2836 remove breakAgain(), update()
2838 * BufferView_pimpl.[Ch]:
2839 * bufferview_funcs.[Ch]:
2843 * tabular.C: adjust after text & InsetList changes.
2845 2003-08-08 André Pönitz <poenitz@gmx.net>
2847 * text.C (insertChar, backspace): replace rowlist fiddling
2848 with rebreak of full par
2851 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2852 checkParagraph, updateInset): removed
2854 2003-08-07 André Pönitz <poenitz@gmx.net>
2857 * text3.C: merge some LFUN handlers, remove dead code
2859 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2861 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2863 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2865 * text2.C (DEPM): fix part of bug 1255 and 1256
2867 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2869 * BufferView_pimpl.C (workAreaDispatch): change to use
2870 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2871 that are no mouse related.
2873 2003-08-05 André Pönitz <poenitz@gmx.net>
2876 * BufferView_pimpl.[Ch]:
2877 * bufferview_funcs.C:
2879 * text3.C: rip out "deep update"
2881 * textcursor.[Ch] (last_sel_cursor): remove unused member
2883 2003-08-04 André Pönitz <poenitz@gmx.net>
2886 * BufferView_pimpl.[Ch]:
2887 * ParagraphParameters.C:
2888 * bufferview_funcs.C:
2894 * text3.C: replace "complicated" BufferView::update(...) calls with
2897 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2899 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2901 * Makefile.am (lyx_SOURCES): add paper.h
2903 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2905 * Makefile.am: move things around so that both lyx-qt and
2906 lyx-xforms can be built (according to --with-frontend). Then lyx
2907 is a symbolic link to lyx-[firstfrontend]
2909 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2911 * Always use std::endl with lyxerr
2913 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2915 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2917 2003-08-01 André Pönitz <poenitz@gmx.net>
2920 * BufferView_pimpl.[Ch]:
2922 * text3.C: merge BufferView::repaint() and BufferView::update()
2924 2003-08-01 José Matos <jamatos@lyx.org>
2926 * buffer.[Ch]: file_format is no longer a buffer data element.
2928 2003-08-01 André Pönitz <poenitz@gmx.net>
2933 * text2.C: make redoParagraph more independent of current cursor
2935 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2937 * text2.C: remove unneeded members
2939 2003-07-30 André Pönitz <poenitz@gmx.net>
2941 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2943 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2944 create a single function...
2946 * paragraph_funcs.C (moveItem): ... here.
2949 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2951 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2953 * LColor.[Ch]: Add comment and greyedout logical colors.
2955 2003-07-30 André Pönitz <poenitz@gmx.net>
2957 * tabular.C: don't use Assert too heavily. This crashes where it
2960 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2962 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2963 is disabled (bug 1232)
2965 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2967 * factory.C: limited 'arg' scope
2969 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2971 * factory.C: fixed Note submenu issues
2973 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2975 * factory.C: submenu for Note/Comment/Greyedout
2977 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2980 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2982 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2985 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2986 greyedout. Patch provided by Jürgen Spitzmüller.
2988 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2990 * kbmap.C (read): fix error message when reading bind files
2992 2003-07-29 Angus Leeming <leeming@lyx.org>
2994 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2995 certainly does not do what it purports to do. I am doing it, and
2996 us, a favour by killing it.
2998 2003-07-28 José Matos <jamatos@lyx.org>
3000 * buffer.C (readBody, do_writeFile):
3001 * paragraph.C(readParagraph): \end_document replaces \the_end.
3003 2003-07-29 André Pönitz <poenitz@gmx.net>
3006 * BufferView_pimpl.[Ch]:
3010 * textcursor.[Ch]: remove toggleToggle & Co
3012 2003-07-28 José Matos <jamatos@fep.up.pt>
3014 * buffer.C (readParagraph):
3015 * params_func (readParToken, readParagraph):
3016 * paragraph.C (write): \layout -> \begin_layout.
3018 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * lyxlex_pimpl.C (setFile): clean up slightly.
3022 * bufferparams.h: add compressed var
3024 * buffer_funcs.C (readFile): adjust for LyXLex change
3025 (newFile): ditto + simplify
3027 * buffer.C (writeFile): handle writing of compressed files
3029 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3030 Check if the file is compressed and set a bufferparm if so.
3032 * Makefile.am (lyx_LDADD): remove explicit -lz
3034 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3036 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3037 makeDocBookFile): put the real LyX version in the first line of
3041 * version.C.in: remove lyx_docversion
3043 * tabular.C (write_attribute): add a template-based version to
3044 write enums properly
3046 2003-07-28 André Pönitz <poenitz@gmx.net>
3051 * text3.C: use doubles again for x-coordinates. They are needed.
3053 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * messages.C (getLocaleDir): use lyx_localedir()
3057 * lyxlex_pimpl.C (setFile): compress stuff
3059 * buffer.C (writeFile): add some compression stuff
3060 (do_writeFile): new func, dont call expliti close... will this
3063 * Makefile.am (lyx_LDADD): add -lz
3065 2003-07-28 José Matos <jamatos@fep.up.pt>
3067 * buffer.C: increment file format.
3068 * paragraph_funcs (readParagraph, readParToken):
3069 * paragraph.C (readParagraph): add \end_layout.
3071 2003-07-27 Angus Leeming <leeming@lyx.org>
3073 * Makefile.am: remove special casing for configure-time setting of
3074 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3076 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3077 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3079 2003-07-26 André Pönitz <poenitz@gmx.net>
3081 * paragraph_func.[Ch]:
3082 * paragraph.C (realizeFont): inline it whereever it is used
3087 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3090 2003-07-26 André Pönitz <poenitz@gmx.net>
3094 * text2.C: get rid of LyXText::need_break_row
3096 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3098 * toc.[Ch]: put namespace toc inside namespace lyx
3100 * MenuBackend.C (expandToc2): adjust for lyx::toc
3103 * lyxfunc.C (dispatch): adjust for lyx::find
3105 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3106 lyx::find instead. Reorganize a bit.
3107 (LyXReplace): rename to replace
3108 (LyXFind): rename to find
3110 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3113 2003-07-26 André Pönitz <poenitz@gmx.net>
3115 * text.C (setHeightOfRow): restrict scope of temporary variable
3117 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3118 code (never has been used?)
3120 2003-07-27 Asger Alstrup <alstrup@local>
3122 * text.C (fill): Optimise algorithm to exploit that we can reuse
3123 the LyXFont for many characters.
3124 (setHeightOfRow): Same thing.
3125 (rowBreakPoint): Same thing.
3127 2003-07-26 Asger Alstrup <alstrup@local>
3129 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3131 * text.C (singleWidth): Spurious font copying in hot-spot
3132 singleWidth avoided. Reorder tests for arabic for efficiency.
3134 * text.C (fill): handle empty paragraphs better.
3136 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3139 * encoding.h: add includes
3141 * lyxrc.C: remove reading of bind files
3143 * lyx_main.C (init): setup bindings and menus only if we have a
3146 * kbmap.C (read): new method. Do the actual reading of bind
3149 * converter.C (dvipdfm_options):
3152 (output): adapt PAPER_* enums.
3154 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3156 * bufferparams.h: remove paper-related enums from there
3158 * paper.h: New file. A trivial header file to hold paper-related
3159 enums. It should later expand to contain many paper-related
3162 * lyxrc.C: declare extern displayTranslator
3164 2003-07-27 José Matos <jamatos@fep.up.pt>
3166 * tabular.[Ch] (linuxdoc): add support for tables and figures
3169 2003-07-27 José Matos <jamatos@fep.up.pt>
3171 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3172 consistency in both functions.
3173 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3175 2003-07-26 Asger Alstrup <alstrup@local>
3177 * rowpainter.C (paintRows): Change algorithm to work directly on
3178 the insets rather than asking every character in the document
3179 whether its an inset.
3181 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3183 * buffer.C (openFileWrite): factorize some code
3185 2003-07-26 Angus Leeming <leeming@lyx.org>
3188 * lyx_main.[Ch]: replace occurances of system_tempdir with
3191 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * rename Inset to InsetOld
3195 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3197 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3198 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3199 which I think is a bit clearer. EDIT is gone, since it was
3200 premature optimisation, and broken for mathed anyway.
3201 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3202 with cursor positioning in insets as well (math insets still do not
3203 work, but that's a different story anyway.) It mysteriously
3204 crashes sometimes with undo in the first paragraph, but I'm fairly
3205 confident that this is a compiler bug.
3207 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * paragraph.C (Paragraph): adjust for new clone return type
3211 (copyIntoMinibuffer): ditto
3213 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3215 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3216 by not having a special case, and always doing a full rebreak of
3217 the document after undo.
3219 2003-07-23 Angus Leeming <leeming@lyx.org>
3221 * factory.C (createInset): InsetExternal::setParams now takes a
3224 2003-07-23 Angus Leeming <leeming@lyx.org>
3226 * factory.C (createInset): changed interface to the external and
3227 graphics mailers' string2params functions.
3229 2003-07-23 Angus Leeming <leeming@lyx.org>
3231 * factory.C (createInset): pass a
3232 Buffer const * parameter to InsetExternalMailer's string2params.
3234 2003-07-22 John Levon <levon@movementarian.org>
3236 * Thesaurus.h: include the right aiksaurus header
3238 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3240 * MenuBackend.C (expand): check menu shortcuts unconditionally
3242 2003-07-21 Angus Leeming <leeming@lyx.org>
3244 * factory.C (createInset): pass a
3245 buffer_path parameter to InsetGraphicsMailer's string2params.
3247 2003-07-21 Angus Leeming <leeming@lyx.org>
3249 * BufferView_pimpl.C (buffer):
3252 * lyxfunc.C (dispatch):
3253 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3254 rather than the grfx shortcut.
3256 2003-07-21 André Pönitz <poenitz@gmx.net>
3258 * rowpainter.C: remove unused variables
3261 * tabular_funcs.h: move to tabular.C
3262 * Makefile.am: adjust
3264 * tabular.[Ch]: basic optical cleaning
3266 * author.h: pass references, not values
3268 2003-07-18 André Pönitz <poenitz@gmx.net>
3276 * text3.C: two-phase drawing for InsetText and InsetTabular
3277 some float -> int changes.
3279 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3281 * lyx_main.C: fix the fix
3283 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3285 * lyx_main.C: fix a crash in batch mode if no files specified
3288 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3290 * format.[Ch] (papersize): moved to BufferParams
3291 * converter.[Ch] (dvips_options): moved to BufferParams
3292 (dvipdfm_options): moved to anon namespace
3293 * bufferparams.[Ch]: added above functions.
3295 2003-07-17 André Pönitz <poenitz@gmx.net>
3299 * text2.C: don't call inset->update() anymore
3301 * metricsinfo.[Ch]: add convenience constructor
3303 2003-07-16 André Pönitz <poenitz@gmx.net>
3308 * text2.C: replace the LyXCursor::irow_ member with
3309 on-demand computation of the value
3311 2003-07-16 John Levon <levon@movementarian.org>
3313 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3315 2003-07-15 André Pönitz <poenitz@gmx.net>
3318 * text2.C: remove no more needed refresh_row
3320 2003-07-15 André Pönitz <poenitz@gmx.net>
3325 * text3.C: refresh_status tristate -> need_update bool
3327 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3329 * lyxtext.h (init): remove reinit argument (act as if always true)
3330 * text2.C: adjust to that
3332 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3334 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3335 * text3.C: use it to delete selections in some cases
3336 (bugs 441, 673, 702, 954).
3338 2003-07-14 André Pönitz <poenitz@gmx.net>
3340 * rowpainter.[Ch]: reduce interface
3342 2003-07-14 André Pönitz <poenitz@gmx.net>
3344 * BufferView_pimpl.C:
3345 * text2.C: adjust after removing unused BufferView * argument
3347 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3349 * text2.C (init): fix a crash fired on resize
3351 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3353 * buffer.[Ch]: added new closing signal
3354 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3355 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3356 BufferView::Pimpl via the closing the signal
3358 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3360 * buffer.[Ch]: take out all bv-related from buffer
3362 * BufferView_pimpl.[Ch]: connect to new signals
3363 * CutAndPaste.C: removed useless asserts
3364 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3367 * lyxfunc.C: moved view-related funciontality from vc here
3368 * paragraph.C: removed outdated comments
3371 2003-07-10 André Pönitz <poenitz@gmx.net>
3373 * BufferView_pimpl.C:
3377 * text2.C: remove InsetText::InnerCache, clean up consequences
3379 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3381 * ispell.C: fix two typos in error messages
3383 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3385 * Extend Note inset to other forms of annotation like Comment
3386 and Greyedout. Right button click gives dialog.
3388 Files modified or added (+):
3392 * ControlNote.[Ch] +
3394 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3395 frontends/controllers
3399 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3401 * aspell.C: add missing namespace lyx::support
3403 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3405 * BufferView.[Ch] (newFile): Add
3406 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3407 * LaTeX.[Ch] (message): added this signal and use it
3408 * buffer.[Ch] (busy, message): added these signals and use them
3409 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3413 * importer.C: use buffer signals instead of direct bv calling
3414 * lyx_cb.[Ch] (ShowMessage): removed
3417 * paragraph_funcs.C:
3418 * text2.C: use buffer signals
3420 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3422 * introduce namespace lyx::graphics
3424 2003-07-02 André Pönitz <poenitz@gmx.net>
3426 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3428 2003-07-01 André Pönitz <poenitz@gmx.net>
3435 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3436 text*.C to text_func.C
3438 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * introduce namespace lyx::support
3442 2003-06-30 André Pönitz <poenitz@gmx.net>
3447 * text.C: re-enable --with-included-string
3449 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * textcursor.C: add <config.h>
3453 * text.C (getWord): remove const from word_location arg
3455 * lyxvc.C (getLogFile): fix const type order
3457 * lyxtext.h: remove const from word_location arg, add arg name
3459 * lyxlayout.h: currect type on labeltype.
3461 * importer.C: correct \file
3463 * converter.C (intToFormat): use std:: on ret val, ws changes
3465 * bufferlist.h: correct \file
3467 * buffer.C (makeLinuxDocFile): fix const type order
3468 (makeDocBookFile): ditto
3469 (fillWithBibKeys): use std:: on stdlib args.
3471 * CutAndPaste.C: fix authors.
3472 (availableSelections): use std:: on return vector
3474 2003-06-27 André Pönitz <poenitz@gmx.net>
3476 * BufferView_pimpl.C:
3477 * bufferview_funcs.C:
3485 * text3.C: remove LyXCursor::row_ member
3488 * text.C: rename fullRebreak() to partialRebreak() and implement
3489 a fullRebreak() that really bereks fully
3491 * textcursor.h: new struct for cursor-related data
3493 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3495 * lyx_main.C (LyX): get full path of document loaded on the
3498 2003-06-26 André Pönitz <poenitz@gmx.net>
3500 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3501 remove unused/broken operator>,<,>=.
3503 * text.C: remove only use of broken operator<= in an Assert().
3505 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3507 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3508 moved errorlist_.clear to showErrorList
3510 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3512 * converter.C (scanLog, runLaTeX):
3513 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3514 move the bv->showErrorList call to the callers
3515 * lyxfunc.C: i.e. here...
3517 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3518 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3519 namespace, the second to...
3520 * buffer_funcs (BufferFormat, parseErrors): added
3521 * errorlist.C (ErrorList(TeXErrors const &)): removed
3523 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3525 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3527 2003-06-24 "Garst R. Reese" <reese@isn.net>
3531 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3533 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3535 * version.C.in: change docversion to 1.4
3537 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3539 * buffer.C: fix a bug just introduced
3541 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3543 * buffer.[Ch]: added the parseError signal and use it, removed
3545 * BufferView.[Ch] (addError): moved to ...
3546 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3547 to the Buffer::parseError signal to catch (guess what) parse errors
3548 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3550 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3552 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3553 ability to create a buffer and to return an existing one from
3554 the list. Moved these functions to...
3555 * buffer_funcs.[Ch]: added
3556 * BufferView.[Ch] (loadLyXFile): added
3557 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3558 job removed from bufferlist::loadLyXFile.
3559 * buffer.C (setReadOnly): make it work without view
3560 (i.e added an if (users))
3562 2003-06-19 Angus Leeming <leeming@lyx.org>
3565 * LyXAction.C (init):
3566 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3567 with LFUN_DIALOG_SHOW <name> <data>.
3569 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3571 * CutAndPaste.C (availableSelections): small compilation fix for
3572 ancient (gcc 2.9x) compilers
3574 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * text3.C (cursorNext): add tmp var
3578 * text2.C (updateCounters): for function calling out of for clause
3579 (replaceSelectionWithString): ditto
3580 (insertStringAsParagraphs): ditto
3581 (getColumnNearX): add tmp var
3582 (setCursorFromCoordinates): add tmp var
3583 (cursorDownParagraph): add tmp var
3584 (deleteEmptyParagraphMechanism): add tmp var
3586 * text.C (insertChar): add tmp var
3588 * rowpainter.C (paintDepthBar): add tmp var
3590 * CutAndPaste.C (availableSelections): potentially check all
3591 paragraphs in a cut to fill the shown strings.
3593 2003-06-18 André Pönitz <poenitz@gmx.net>
3595 * kbmap.[Ch]: use vector<> instead of list<>
3597 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3599 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3600 pasteSelection with index
3602 * text2.C (pasteSelection): modify, call pasteSelection with index
3604 * paragraph.C (asString): reimplement version with no interval to
3605 call the one with interval.
3607 * lyxtext.h: add index arg to pasteSelection
3609 * MenuBackend.C (MenuItem): handle PasteRecent
3610 (Menu::read::Menutags): add md_pasterecent
3612 (expandPasteRecent): new function
3615 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3617 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3619 (availableSelections): new function
3621 2003-06-17 Angus Leeming <leeming@lyx.org>
3623 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3625 2003-06-17 Angus Leeming <leeming@lyx.org>
3628 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3630 * lyxfunc.C (dispatch): invoke it.
3632 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3634 * iterators.C (operator++, ParPosition): reintroduce some
3635 const_cast for the benefit of older compilers.
3637 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3639 * text3.C (dispatch): do not modify clipboard when doing
3640 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3641 LFUN_DELETE_SKIP on a selection selection
3643 2003-06-16 André Pönitz <poenitz@gmx.net>
3649 * tabular.[Ch]: IU of clone() and getLabelList();
3651 2003-06-13 André Pönitz <poenitz@gmx.net>
3653 * tabular.h: compactification
3655 2003-06-12 André Pönitz <poenitz@gmx.net>
3659 * tabular_funcs.h: some renaming plus whitespace
3661 2003-06-12 André Pönitz <poenitz@gmx.net>
3664 * BufferView_pimpl.C:
3670 * toc.C: Return a Paragraph & for ParIterator::operator*()
3672 2003-06-11 John Levon <levon@movementarian.org>
3676 * ToolbarBackend.C: add "Toolbars" section and
3679 2003-06-10 Angus Leeming <leeming@lyx.org>
3682 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3684 * lyxfunc.C (dispatch): invoke it.
3686 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3688 * main.C: protect <ios> with HAVE_IOS
3689 (main): protect sync_with_stdio with HAVE_IOS
3691 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3693 * text2.C (cutSelection): adjust
3694 (pasteSelection): adjust
3696 * messages.C: handle get of empty string
3698 * main.C (main): use sync_with_stdio(false)
3700 * lyxfunc.C (dispatch): adjust
3702 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3703 (WriteAs): remove unneeded BufferView arg.
3705 * bufferparams.h: use correct types on papersize, papersize2 and
3708 * bufferparams.C (readToken): adjust for type
3709 (writeLaTeX): add missing cases to switch.
3711 * bufferlist.C (quitWriteBuffer): adjust
3714 * buffer.C (asciiParagraph): remove some commented code.
3716 * CutAndPaste.C: remove current_view extern variable.
3717 (cutSelection): add BufferParams arg.
3718 (eraseSelection): add BufferParams arg.
3719 (pasteSelection): add Buffer const & arg
3721 2003-06-07 John Levon <levon@movementarian.org>
3724 * paragraph_funcs.C:
3725 * paragraph_pimpl.C:
3729 * paragraph.C: allow InsetERT to freely space lines,
3730 and some consolidation of code
3732 2003-06-06 José Matos <jamatos@fep.up.pt>
3734 * buffer.C (makeDocBookFile): fix bug #821
3736 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3738 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3740 2003-06-04 Angus Leeming <leeming@lyx.org>
3742 * buffer.C: bump format to 224.
3744 2003-06-05 André Pönitz <poenitz@gmx.net>
3746 * text2.C (redoParagraphs): remove two const_cast<>
3748 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3750 * ParagraphList.h: remove last remnants of NO_STD_LIST
3752 2003-06-03 Angus Leeming <leeming@lyx.org>
3754 * factory.C (createInset): small change to the way InsetExternal's params
3757 2003-06-04 André Pönitz <poenitz@gmx.net>
3759 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3761 * paragraph_pimpl.h:
3762 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3764 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3766 * undo_funcs.C: make some simple cases of undo work again
3768 2003-06-03 John Levon <levon@movementarian.org>
3770 * ispell.C: HPUX doesn't have sys/select.h
3773 2003-06-03 John Levon <levon@movementarian.org>
3775 * CutAndPaste.C: update tabular and include inset
3780 * paragraph.C: remove owningBuffer(), don't pass Buffer
3783 * factory.C: insetGraphicsParams changed
3785 2003-06-02 John Levon <levon@movementarian.org>
3791 * text3.C: remove insetparent
3793 2003-06-02 John Levon <levon@movementarian.org>
3796 * buffer.C: fix inset_iterator.end(), move out of line
3799 2003-06-01 John Levon <levon@movementarian.org>
3801 * text3.C: use a proper cut/paste when doing inset
3802 insert (from Jürgen Spitzmüller)
3804 2003-06-01 John Levon <levon@movementarian.org>
3806 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3808 2003-05-30 André Pönitz <poenitz@gmx.net>
3810 * rowpainter.C: unify second drawing phase
3812 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * trans_mgr.C: remove one case of current_view
3816 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3818 * paragraph_funcs.h: remove paragraph.h include
3820 * paragraph.h: delete NO_STD_LIST stuff
3822 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3824 * buffer.h: remove paragraph.h include
3826 * ParagraphList.C: delete file
3828 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3830 * toc.C (getTocList): adjust
3832 * paragraph_pimpl.C (validate): adjust
3834 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3836 * paragraph.C (Paragraph): adjust
3837 (getPositionOfInset): use const_iterator, adjust
3838 (bibitem): use const_iterator, adjust
3839 (setInsetOwner): adjust
3841 * iterators.C (operator++): adjust
3843 * InsetList.[Ch]: Replace selfmade iterator with standard
3844 vector::iterator also introduce const_iterator. Remove getPos,
3845 getInset and setInset from InsetTable. Adjust accordingly.
3847 * BufferView.C (lockInset): adjust
3848 (ChangeInsets): adjust
3850 * tabular.[Ch]: delete commented same_id functions
3852 2003-05-28 John Levon <levon@movementarian.org>
3854 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3856 2003-05-28 André Pönitz <poenitz@gmx.net>
3858 * metricsinfo.[Ch]: remove 'fullredraw' member
3860 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3862 * lyxtextclass.C (operator): remove caching.
3864 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3868 * text2.C (cursorBottom): adjust
3869 (setCounter): use ParagraphList::find, adjust
3871 * text.C (workWidth): use ParagraphList::find, adjust
3873 * lyxcursor.C (LyXCursor): adjust
3875 * buffer.C (inset_iterator): adjust
3877 * ParagraphList.h: make iterator(value_type) private, make
3878 ParagraphList a friend of iterator.
3880 * ParagraphList.C (find): new function
3882 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3884 2003-05-27 André Pönitz <poenitz@gmx.net>
3886 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3888 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3890 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3892 2003-05-26 John Levon <levon@movementarian.org>
3894 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3896 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * remove same_id from function signatures, adjust.
3900 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3904 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3906 * paragraph.C (Paragraph): get rid of same_ids parameter
3908 * ParagraphList.C (insert): adjust
3911 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * paragraph_funcs.C (breakParagraph): adjust
3914 (breakParagraphConservative): adjust
3916 * buffer.C (readParagraph): adjust
3918 * ParagraphList.C (insert): take a reference instead of a pointer
3921 * paragraph.[Ch] (id): new function
3923 * bufferlist.C (newFile): adjust
3925 * ParagraphList.C (ParagraphList): adjust
3927 (push_back): take a reference instead of a pointer.
3929 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3931 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3934 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3935 set else use old code.
3937 * ParagraphList.C: remove all NO_NEXT code and only compile this
3938 code of NO_STD_LIST is set.
3940 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3942 * BufferView_pimpl.C:
3952 * graphics/GraphicsConverter.C:
3953 * graphics/PreviewLoader.C: header adjustment
3955 2003-05-23 Angus Leeming <leeming@lyx.org>
3957 * LaTeXFeatures.[Ch] (useBabel): new method.
3958 * bufferparams.C (writeLaTeX): use it.
3960 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * ParagraphList.h (set): remove unused function.
3964 2003-05-23 André Pönitz <poenitz@gmx.net>
3967 * BufferView_pimpl.C:
3971 * undo_funcs.C: setUndo reworked
3973 * iterators.[Ch]: add access to topmost ParagraphList
3975 * lyxtext.[Ch] (workWidth): add a const
3977 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3979 * texrow.[Ch] (increasePos): remove function
3980 * exporter.C (export): removed unused var and outdated comment
3982 2003-05-23 Angus Leeming <leeming@lyx.org>
3984 * latexrunparams.h: rename fragile as moving_arg.
3985 * paragraph.C (simpleTeXOnePar): ditto.
3986 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3988 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3992 (textUndoOrRedo): comment out a currently unused var.
3994 * paragraph.h (NO_NEXT): enable NO_NEXT
3996 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3998 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4000 * exporter.C (Export): adjust for removeAutoInsets removal.
4002 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4004 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4006 * BufferView.[Ch] (removeAutoInsets): delete function
4008 2003-05-22 Angus Leeming <leeming@lyx.org>
4010 * latexrunparams.h: add a free_spacing variable.
4012 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4013 to pass moving_arg, as the data is stored in runparams.fragile.
4015 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4016 to Inset::latexOptional or to simpleTeXOnePar.
4018 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4019 free_spacing arg to Inset::latexOptional.
4021 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4024 2003-05-22 Angus Leeming <leeming@lyx.org>
4026 * latexrunparams.h: add fragile and use_babel variables.
4028 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4029 * buffer.C (makeLaTeXFile): store this returned value in
4030 runparams.use_babel, thus passing it to the inset::latex methods.
4032 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4033 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4035 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4036 longer has a fragile arg, as it is stored in runparams.fragile.
4038 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4039 moving_arg parameter as the data is stored in runparams.fragile.
4041 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4042 a fragile parameter as the data is stored in runparams.fragile.
4044 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4048 2003-05-22 Angus Leeming <leeming@lyx.org>
4050 * latexrunparams.h: add a 'bool nice' which defaults to false.
4052 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4053 now encapsulated within runparams.
4055 * bufferlist.C (updateIncludedTeXfiles):
4056 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4058 2003-05-22 Angus Leeming <leeming@lyx.org>
4060 * latexrunparams.h: new file containing struct LatexRunParams.
4061 * Makefile.am: add new file.
4063 * LaTeX.[Ch] (c-tor, run):
4064 * buffer.[Ch] (makeLaTeXFile):
4065 * bufferlist.[Ch] (updateIncludedTeXfiles):
4066 * converter.C (convert, scanLog):
4067 * converter.[Ch] (runLaTeX):
4068 * exporter.C (Export):
4069 * paragraph.[Ch] (simpleTeXOnePar):
4070 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4071 * paragraph_funcs.[Ch] (latexParagraphs):
4072 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4073 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4074 pass around a LatexRunParams parameter.
4076 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * paragraph.[Ch]: remove unused constructor
4080 * ParagraphList.C (erase): new function, taking two iterators
4082 2003-05-22 André Pönitz <poenitz@gmx.net>
4084 * undo_funcs.C: remove duplicated code
4086 * iterator.[Ch]: operator=
4088 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * tabular.C (SetMultiColumn): ws changes
4092 * rowpainter.C (paintFirst): get rid of a ->previous
4094 * lyx_cb.C (getPossibleLabel): parlist simplification
4096 * BufferView.C (ChangeInsets): simplify slightly.
4098 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4100 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4101 * lfuns.h: new LFUN_SPACE
4102 * lyxfunc.C: protected space has a new lfun
4103 * paragraph_funcs.C: read new space insets
4105 * factory.C: handle new space insets
4107 2003-05-22 André Pönitz <poenitz@gmx.net>
4110 * BufferView_pimpl.C:
4113 * undo_funcs.C: return a ParIterator from getParFromID.
4115 * iterators.[Ch]: add two const's
4117 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4119 * toc.C (getTocList): adjust
4121 * iterators.[Ch]: rework for parlist
4123 * buffer.C (par_iterator_begin): adjust
4124 (par_iterator_end): adjust
4126 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4128 * BufferView.C (removeAutoInsets): adjust
4129 (ChangeInsets): adjust
4131 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4133 * text.C (top_y): fix bug 1110
4135 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4137 * errorlist.[Ch]: added
4140 * BufferView_pimpl.C:
4141 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4144 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * Makefile.am: ensure that lyx is relinked upon changes to the
4147 various "convenience" libs.
4149 2003-05-20 Angus Leeming <leeming@lyx.org>
4151 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4152 files are compiled in alphabetical order again.
4154 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4156 2003-05-19 Angus Leeming <leeming@lyx.org>
4158 * gettext.[Ch]: remove "char const * _(char const *)".
4160 2003-05-19 André Pönitz <poenitz@gmx.net>
4162 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4171 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4173 2003-05-19 André Pönitz <poenitz@gmx.net>
4177 * lyxtextclass.[Ch]:
4179 * paragraph_funcs.[Ch]:
4181 * text3.C: more insetenv work
4183 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4185 * ParagraphParameters.C (params2string): small bug fixed
4187 2003-05-16 André Pönitz <poenitz@gmx.net>
4190 * bufferview_funcs.C: patch from Kornel Benko to prevent
4191 crash when _(...) is called twice in a statement
4193 2003-05-16 André Pönitz <poenitz@gmx.net>
4200 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4202 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4204 * lyx_main.C (init): remove spurious static_cast
4206 2003-05-14 André Pönitz <poenitz@gmx.net>
4208 * BufferView.C: fix format string
4210 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4212 * BufferView.[Ch] (insertErrors): removed
4213 * BufferView.[Ch] (showErrorList): added
4214 * buffer.C (runChkTeX):
4215 * converter.C (scanLog): call showErrorList instead of inserterrors
4217 2003-05-13 André Pönitz <poenitz@gmx.net>
4219 * BufferView_pimpl.C:
4221 * bufferview_func.C:
4228 * tabular_funcs.h: tostr() from its own header
4230 * ParagraphParameters.C:
4235 * text3.C: STRCONV()
4237 2003-05-12 André Pönitz <poenitz@gmx.net>
4240 * BufferView_pimpl.C:
4244 * ParagraphParameters.C:
4248 * bufferview_funcs.C:
4261 * paragraph_funcs.C:
4265 * text3.C: boost::format -> bformat all over the place
4268 2003-05-09 André Pönitz <poenitz@gmx.net>
4270 * LColor.[Ch]: Pimpl the #include <map> away
4272 2003-05-09 John Levon <levon@movementarian.org>
4274 * bufferlist.C: never remove emergency saves
4276 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * Makefile.am: better lib building
4280 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4284 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4285 (simpleTeXSpecialChars): adjust
4286 (simpleTeXSpecialChars): adjust
4287 * paragraph.C (simpleTeXOnePar): adjust
4288 * buffer.C (makeLaTeXFile): adjust
4290 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4292 * text2.C (changeDepth): parlist cleanup
4293 (getColumnNearX): ditto
4295 * rowpainter.C (getLabelFont): parlist cleanup
4297 * bufferlist.C (newFile): parlist cleanup
4299 * CutAndPaste.C (eraseSelection): parlist cleanup
4301 * BufferView_pimpl.C (trackChanges): parlist cleanup
4304 * BufferView.C (lockInset): parlist cleanup.
4305 (ChangeInsets): ditto
4307 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * CutAndPaste.h: Update file header.
4311 * CutAndPaste.C: Update file header.
4312 Store the parts cut out of the Document in a limited_stack.
4313 (copySelection): adjust
4314 (pasteSelection): new function, takes the index in the limited stack.
4315 (nrOfParagraphs): adjust
4316 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4317 simplify error inset insertion.
4318 (checkPastePossible): adjust
4320 2003-05-06 John Levon <levon@movementarian.org>
4322 * text2.C: don't cast wrap inset to float
4324 2003-05-05 André Pönitz <poenitz@gmx.net>
4327 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4329 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4330 few naked Paragraph *.
4332 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4334 * bufferparams.C: Output warning if a document with missing
4335 TeX document class is loaded
4336 * exporter.C: Disable TeX exports if the document class is missing
4339 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4340 isTeXClassAvailable()
4342 2003-05-03 John Levon <levon@movementarian.org>
4345 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4346 explicit cursor show/hide
4348 * BufferView_pimpl.h:
4349 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4350 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4352 * lyxfunc.C: hide cursor before dispatching.
4357 * text3.C: remove explicit cursor hides
4359 2003-05-02 André Pönitz <poenitz@gmx.net>
4361 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4364 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4367 * text2.C: tiny whitespace
4369 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * undo_funcs.C: almost only ws changes.
4373 * ParagraphList.C (splice): just return if pl is empty.
4375 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * ParagraphList.C (splice): new function.
4379 * CutAndPaste.C (pasteSelection): use it
4381 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * CutAndPaste.C (pasteSelection): remove the last next and
4384 previous from this file.
4386 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * CutAndPaste.C (pasteSelection): more clean up, user proper
4389 ParagraphList functions for pasteing.
4391 * ParagraphList.C (insert): new function, three arg insert
4393 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * ParagraphList.C (insert): new function, three arg insert
4397 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4400 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4404 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4408 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4411 (copySelection): clean up a bit.
4412 (pasteSelection): use make_pair
4414 * ParagraphList.C (ParagraphList): implement copy constructor
4415 (operator=): implement, base on copy constructor.
4418 * paragraph.C (erase): return a bool
4420 * paragraph_pimpl.C (erasePos): remove function, move contents...
4421 (erase): ... here. Return a bool.
4422 (erase): call erase instead of erasePos.
4424 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4426 * ParagraphList.h: define PitPosPair
4427 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4428 ParagraphList, fix a bug on pasting multiple pars
4429 * text2.C: change interface to C&P
4431 2003-04-30 André Pönitz <poenitz@gmx.net>
4433 * undo_func.C: revert part of yesterday's patch 2
4435 2003-04-30 John Levon <levon@movementarian.org>
4437 * LColor.C: s/tabular/table/
4439 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * text3.C (dispatch): do not convert iterator -> pointer
4442 * undo_funcs.C (setCursorParUndo): ditto
4443 * text_funcs.C (transposeChars): ditto
4445 * text2.C (setLayout): ws changes only
4447 * text.C (breakParagraph): do not convert iterator -> pointer
4449 (acceptChange): ditto
4450 (rejectChange): ditto
4455 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4458 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4460 * text3.C (gotoInset): YABG (yet another bad getChar)
4462 2003-04-29 André Pönitz <poenitz@gmx.net>
4464 * paragraph.h: make operator= private unimplemented as long as
4467 * ParagraphList.C: whitespace
4470 * paragraph_pimpl.[Ch]:
4471 * paragraph_funcs.C:
4473 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4476 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4478 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4480 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4481 * paragraph.[Ch] (erase):
4482 * paragraph_pimpl.[Ch] (erase): change return type and value
4483 * text2.C (cutSelection): some rework
4485 2003-04-28 John Levon <levon@movementarian.org>
4487 * bufferlist.C: changes for unsaved changes dialog
4489 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * bufferlist.C (newFile): set language (messages_) for new
4494 * buffer.C (readFile): ws changes only.
4496 2003-04-28 André Pönitz <poenitz@gmx.net>
4501 * BufferView_pimpl.C:
4502 * BufferView.C: getParFromID related ParagraphList::iterator changes
4504 2003-04-28 André Pönitz <poenitz@gmx.net>
4506 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4509 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * messages.C: remove one more localedir class variable.
4513 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4515 * messages.C (getLocaleDir): singleton generation function
4517 (Messages): add a default constructor.
4519 * main.C (main): do not setup localedir here, do not call
4522 * gettext.C (_): use it.
4523 (gettext_init): delete funciton
4525 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * gettext.C (getLyXMessages): new singleton generating function.
4529 * buffer.C (updateDocLang): adjust
4531 * Makefile.am (messages.o): add target
4532 (main.o): remove target
4534 2003-04-27 John Levon <levon@movementarian.org>
4539 * lyxvc.C: specify cancel button in Alert::prompt
4541 2003-04-26 John Levon <levon@movementarian.org>
4546 * LyXAction.C: add LFUN_INSET_SETTINGS
4548 * lyxfunc.C: don't enable tabular-feature when there's
4549 just any locking inset
4551 2003-04-26 John Levon <levon@movementarian.org>
4553 * bufferlist.C: re-add Cancel to buffer close question
4555 * lyxfunc.C: fix import UI a bit
4557 2003-04-25 John Levon <levon@movementarian.org>
4559 * gettext.C: remove the broken asserts for now
4561 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * messages.C: make case where setlocale cannot comply work better.
4565 * buffer.C (updateDocLang): new function
4566 (changeLanguage): use it
4569 * text2.C (setCounter): use B_ a bit.
4571 * lyxlayout.C (Read): be sure to trim the label strings.
4573 * messages.C (Messages): fix typo in comment
4575 * buffer.C (readFile): set message_ after file is loaded.
4576 (makeDocBookFile): remove double return
4577 (changeLanguage): reset message_ upon language change.
4578 (B_): new func, use this to get translated buffer strings.
4580 * main.C: add myself and Jean Marc as authors.
4582 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4584 * messages.[hC]: pimplify Messages, and three different pimpls to be
4585 used in different circumstances.
4587 * gettext.[Ch]: change for use with new message code.
4589 2003-04-24 André Pönitz <poenitz@gmx.net>
4591 * factory.C: support for eqref
4593 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * messages.[Ch]: add missing char
4597 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4599 * messages.[Ch]: New files
4601 2003-04-18 John Levon <levon@movementarian.org>
4605 * BufferView_pimpl.C:
4609 * text2.C: remove layout-copy/paste (bug 778)
4611 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4613 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4615 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4617 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4618 if they succeed. Act accordingly.
4620 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * text2.C (setCharFont): adjust
4623 (setCounter): adjust
4624 (insertStringAsLines): adjust
4626 * text.C (leftMargin): adjust
4627 (setHeightOfRow): adjust
4629 * rowpainter.C (paintFirst): adjust
4632 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4634 (isFirstInSequence): ditto
4635 (getEndLabel): ditto
4638 * paragraph.C (getParLanguage): comment out some hard stuff.
4640 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4642 (simpleDocBookOnePar): ditto
4643 (makeDocBookFile): use ParagraphList::iterator
4645 * CutAndPaste.C (pasteSelection): adjust
4647 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * text2.C (getFont): adjust
4650 (getLayoutFont): adjust
4651 (getLabelFont): adjust
4653 * paragraph_funcs.C (TeXOnePar): adjust
4655 * buffer.C (simpleLinuxDocOnePar): adjust
4656 (simpleDocBookOnePar): adjust
4658 * CutAndPaste.C (pasteSelection): adjust
4660 * BufferView.C (getEncoding): adjust
4662 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4664 2003-04-16 John Levon <levon@movementarian.org>
4666 * lyxfind.C: use parlist stuff for search/changes
4668 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4672 * text2.C (deleteEmptyParagraphMechanism): adjust
4674 * text2.[Ch] (ownerParagraph): delete func (both of them
4676 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4680 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * ParagraphList.C: prepare for NO_NEXT
4684 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * text2.C (getFont): adjust
4687 (getLayoutFont): adjust
4688 (getLabelFont): adjust
4690 * paragraph.C (getFont): adjust
4691 (getLabelFont): adjust
4692 (getLayoutFont): adjust
4694 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4696 2003-04-15 John Levon <levon@movementarian.org>
4700 * lyx_main.C: handle Include in .ui files
4702 2003-04-15 John Levon <levon@movementarian.org>
4704 * MenuBackend.C: make the doc files length shorter
4707 * ToolbarBackend.C: handle toolbar placement flags,
4710 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4715 * paragraph_funcs.C (TeXOnePar): adjust
4717 * paragraph.C (getLabelFont): add outerfont arg, adjust
4718 (getLayoutFont): ditto
4719 (simpleTeXOnePar): adjust
4721 * paragraph_pimpl.C (realizeFont): delete func
4723 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4725 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4726 row argument, constify cur argument.
4728 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4730 * text2.C (getFont): adjust
4731 (getLayoutFont): adjust
4732 (getLabelFont): adjust
4734 * paragraph_funcs.C (TeXOnePar): adjust
4735 (outerFont): new func...
4736 (realizeFont): ...moved out from here, changed this to facilitate
4739 * paragraph.C (getFont): take outerfont as arg, adjust
4740 (simpleTeXOnePar): add outerfont arg, adjust
4742 * buffer.C (simpleLinuxDocOnePar): adjust
4743 (simpleDocBookOnePar): adjust
4745 * CutAndPaste.C (pasteSelection): adjust
4747 * BufferView.C (getEncoding): adjust
4749 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * text2.C (setCharFont): adjust
4752 (setCounter): adjust
4754 * text.C (leftMargin): adjust
4755 (setHeightOfRow): adjust
4757 * rowpainter.C (paintFirst): adjust
4760 * paragraph_pimpl.C (realizeFont): adjust
4762 * paragraph.C (isFirstInSequence): move from here...
4763 * paragraph_funcs.C (isFirstInSequence): ...to here
4765 * paragraph.C (outerHook): move from here...
4766 * paragraph_funcs.C (outerHook): ...to here
4768 * paragraph.C (depthHook): move from here...
4769 * paragraph_funcs.C (depthHook): ...to here
4771 * paragraph.C (getEndLabel): move from here...
4772 * paragraph_funcs.C (getEndLabel): ...to here
4774 * text2.C (realizeFont): move from here...
4775 * paragraph_funcs.C (realizeFont): ...to here
4777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4781 2003-04-14 Angus Leeming <leeming@lyx.org>
4783 * LColor.[Ch]: scrap LColor mathcursor.
4785 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * lyxlex.[Ch] (text): delete function
4788 * trans.C (Load): adjust
4789 * paragraph_funcs.C (readParToken): adjust
4791 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4793 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4794 vector<char> instead of a char[].
4796 * lyxlex_pimpl.C (getString): adjust
4798 (lex): use getString
4802 * lyxlex.C (text): use pimpl_->getString()
4806 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4809 (makeFontEntriesLayoutSpecific): temp var for par.size()
4810 (setLayout): temp var for ownerParagraphs().end()
4811 (fullRebreak): temp var for rows().end()
4812 (selectionAsString): temp var for boost::next(startpit), realize
4813 that the while really is a regular for loop.
4814 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4815 setCursor in one place.
4816 (setParagraph): temp vr for ownerParagraphs().end()
4817 (updateCounters): make the while loop a for loop
4818 (cutSelection): temp var for ownerParagraphs().end()
4819 (updateInset): make the do {} while() a regular for loop
4820 (getCursorX): use temp vars
4821 (setCurrentFont): use temp vars
4822 (getColumnNearX): use temp vars
4824 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * text.C (transformChar): use temp var for getChar
4827 (computeBidiTables): use temp var for row->par()
4828 (fill): move temp vars for row->par() and pit->layout() earlier in
4830 (labelFill): use temp var for row->par()
4831 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4832 asc and desc, realize that pit never changes and that firstpit is
4833 just a duplicate and not needed. Exchange rit->par() with pit in a
4835 (breakAgain): use a temp var for boost::next(rit)
4836 (breakAgainOneRow): ditto
4837 (breakParagraph): use a temp var for rows().begin()
4838 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4839 (cursorRightOneWord): use temp var for cursor.par() and
4840 cursor.pos(), remove usage of tmpcursor.
4841 (cursorLeftOneWord): use temp var for cursor.par() and
4842 cursor.pos() only set cur at end of function.
4844 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * text.C, text2.C: exchange all usage of Paragraph::next with
4847 boost::next(ParagraphList::iterator)
4849 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4851 * text2.C (cursorTop): simplify implementation
4852 (cursorBottom): ditto
4853 (setParagraph): use ParagraphList::iterator
4854 (setCurrentFont): adjust
4855 (getColumnNearX): adjust
4856 (cursorRight): adjust
4857 (cursorLeft): remove usage of Paragraph::previous
4858 (cursorUpParagraph): ditto
4859 (deleteEmptyParagraphMechanism): slight cleanup
4861 * text.C (isBoundary): take a Paragraph const & instead of a
4863 (addressBreakPoint): ditto
4864 (leftMargin): remove usage of Paragraph::previous.
4865 (setHeightOfRow): ditto
4866 (cursorLeftOneWord): ditto
4867 (selectNextWordToSpellcheck): ditto
4870 (breakParagraph): remove one usage of Paragraph::next
4871 (redoParagraph): ditto
4872 (acceptChange): ditto
4873 (insertChar): adjust
4874 (rowBreakPoint): adjust
4876 * bufferview_funcs.C (toggleAndShow): adjust
4878 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4880 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4881 methods to access it.
4883 * text.C: Added updateRowPositions to compute all row positions.
4884 Make top_y and getRowNearY() to use the cached y position
4886 2003-04-11 John Levon <levon@movementarian.org>
4888 * text.C (rowBreakPoint): reintroduce the labelEnd
4889 checks, code copied from the row fill stuff. Deep voodoo.
4891 * text.C (fill): add a comment and debugging for the
4894 2003-04-11 John Levon <levon@movementarian.org>
4896 * text.C: make sure fullrow insets get wrapped to the next line,
4897 even when they're in a manual label
4899 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * text2.C (insertParagraph): make it take ParagraphList::iterator
4903 (setLayout): make it return ParagraphList::iterator
4904 (redoParagraphs): ditto
4906 (checkParagraph): ditto
4908 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4910 * text2.C: adjust several funcs.
4911 (realizeFont): take a ParagraphList::iterator as arg.
4912 (getLayoutFont): ditto
4913 (getLabelFont): ditto
4914 (setCharFont): ditto
4916 * text.C: adjust several funcs.
4918 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4920 * text.C (selectNextWordToSpellcheck): don't accidentally
4923 2003-04-10 John Levon <levon@movementarian.org>
4925 * ToolbarBackend.C (getIcon): special handling for
4928 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4930 * text2.C (cursorRight): a getChar assert fixed
4932 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * text2.C (getFont): change to take a ParagraphList::iterator
4935 instead of Paragraph*
4936 Adjust several functions.
4938 * text.C (transformChar): change to take a ParagraphList::iterator
4939 instead of Paragraph*
4940 (singleWidth): ditto
4941 Adjust several functions.
4943 * rowpainter.C: adjust several functions
4944 * rowpainter.h:store a ParagraphList::iterator and not a
4948 2003-04-09 John Levon <levon@movementarian.org>
4953 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4954 and the "help" bits as well
4956 2003-04-09 John Levon <levon@movementarian.org>
4959 * ToolbarBackend.C: allow multiple toolbars
4961 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4963 * undo_funcs.C (setCursorParUndo): adjust
4965 * text_funcs.C (transposeChars): adjust
4967 * text3.C (gotoNextInset): adjust
4970 * text2.C (setLayout): adjust
4971 (changeDepth): adjust
4973 (redoParagraphs): adjust
4974 (selectionAsString): adjust
4975 (setParagraph): adjust
4976 (insertInset): adjust
4977 (cutSelection): adjust
4978 (copySelection): adjust
4979 (pasteSelection): adjust
4980 (insertStringAsLines): adjust
4981 (updateInset): adjust
4982 (setCursor): change to take a ParagraphList::iterator parameter
4983 (setCursorIntern): change to take a ParagraphList::iterator parameter
4984 (setCurrentFont): adjust
4985 (cursorLeft): adjust
4986 (cursorRight): adjust
4987 (deleteEmptyParagraphMechanism): adjust
4989 * text.C (breakParagraph): adjust
4990 (insertChar): adjust
4991 (acceptChange): adjust
4992 (rejectChange): adjust
4993 (selectNextWordToSpellcheck): adjust
4994 (changeCase): adjust
4998 * lyxfind.C (SearchForward): adjust
4999 (SearchBackward): adjust
5000 (nextChange): adjust
5002 * lyxcursor.C (par): adjust
5004 * lyxcursor.h: store a ParagraphList::iterator instead of a
5007 * lyx_cb.C (getPossibleLabel): adjust
5009 * bufferview_funcs.C (toggleAndShow): adjust
5011 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5014 * BufferView.C (removeAutoInsets): adjust
5015 (lockedInsetStoreUndo): adjust
5017 2003-04-09 John Levon <levon@movementarian.org>
5019 * ToolbarBackend.C: try icon without argument
5020 if with argument fails
5022 2003-04-08 John Levon <levon@movementarian.org>
5025 * ToolbarBackend.C: add getIcon(), handle tooltip,
5026 and change from "Icon" to "Item".
5028 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5030 * BufferView.C (lockInset): another bad getchar crunched
5032 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5034 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5037 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5039 * lyxfind.C (searchForward, searchBackwards): bug 782
5041 2003-04-07 John Levon <levon@movementarian.org>
5043 * paragraph.C: remove dead comment
5045 * text.C: remove troublesome depth-fiddling code
5046 in leftMargin() and rightMargin() (bug 1017)
5048 * text.C: fix breaking of rows in nested lists
5051 * text2.C (updateCounters): fix up depth values
5054 2003-04-07 John Levon <levon@movementarian.org>
5056 * BufferView_pimpl.C: clear message when doc finishes resizing,
5057 and after a mouse event
5059 * lyxfunc.C: clear message after exiting inset
5061 2003-04-07 John Levon <levon@movementarian.org>
5063 * bufferview_funcs.C: show math status not outside
5064 status in the statusbar
5066 2003-04-07 John Levon <levon@movementarian.org>
5068 * lyxfunc.C: note status changed after a depth change
5070 2003-04-04 Angus Leeming <leeming@lyx.org>
5072 * LaTeX.h: move AuxInfo operator==, != out of line.
5073 Remove LaTeX virtual destructor; nothing derives from it.
5074 Move operator()() out of public area and rename it startscript().
5075 Change protected for private.
5077 2003-04-04 Angus Leeming <leeming@lyx.org>
5080 * text2.C: remove unneeded #includes.
5082 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5084 * text2.C (dEPM): fix the heigth of the next row
5086 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5088 * text.C: squashed an invalid getChar requester + some ws changes
5090 2003-04-03 John Levon <levon@movementarian.org>
5092 * bufferview_funcs.h:
5093 * bufferview_funcs.C:
5096 * text2.C: make getStatus work for the env depth lfuns
5098 2003-04-03 John Levon <levon@movementarian.org>
5100 * bufferview_funcs.h:
5101 * bufferview_funcs.C:
5104 * text2.C: parlistize decDepth(), by merging it with incDepth()
5106 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * lyxrow.h: store a ParagraphList::iterator instead of a
5109 Paragraph* and adjust other class functions to suit.
5111 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5114 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5116 * text2.C (setCursor): do not anchor to cursor row for the time being
5118 2003-04-02 John Levon <levon@movementarian.org>
5125 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5127 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * paragraph.h: make ParagraphList and ParagraphList::iterator
5130 friends of Paragraph.
5132 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5134 * ParagraphList.C: Use the private next_ and previous_ from
5137 2003-04-01 John Levon <levon@movementarian.org>
5141 * Makefile.am: rename, remove defaults gunk
5144 * MenuBackend.C: remove defaults gunk
5147 * Languages.C: remove defaults gunk
5150 * lyx_main.C: error out if files couldn't be found.
5152 2003-04-02 John Levon <levon@movementarian.org>
5154 * text2.C: make incDepth() use parlist
5156 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * undo_funcs.C (firstUndoParagraph): adjust
5160 * text3.C (gotoInset): adjust
5161 (dispatch): adjust, and rewrite loop.
5163 * text2.C (init): adjust, and rewrite loop.
5164 (redoParagraphs): adjust
5165 (updateInset): adjust, and rewrite loop.
5166 (deleteEmptyParagraphMechanism): adjust
5168 * tabular.C (LyXTabular): adjust
5169 (SetMultiColumn): adjust
5172 * lyxtext.[Ch] (ownerParagraph): delete function
5173 (ownerParagraphs): new function returns a ParagraphList.
5175 * BufferView.C (removeAutoInsets): adjust
5176 (insertErrors): adjust
5177 (setCursorFromRow): adjust
5179 2003-04-01 Angus Leeming <leeming@lyx.org>
5181 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5184 2003-04-02 John Levon <levon@movementarian.org>
5190 * text_funcs.C: make transposeChars a free function
5192 * lyxrow_funcs.C: remove wrong comment
5194 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * rowpainter.C: adjust
5202 * lyxrow_funcs. [Ch]: new files
5204 * lyxrow.[Ch]: remove next and previous pointers
5205 (next,previous): remove accessor functions
5206 (isParEnd): move to lyxrow_funcs
5207 (lastPos): move to lyxrow_funcs
5208 (nextRowIsAllInset): move to lyxrow_funcs
5209 (lastPrintablePos): move to lyxrow_funcs
5210 (numberOfSeparators): move to lyxrow_funcs
5211 (numberOfHfills): move to lyxrow_funcs
5212 (numberOfLabelHfills): move to lyxrow_funcs
5213 (hfillExpansion): move to lyxrow_funcs
5217 * bufferview_funcs.C (toggleAndShow): adjust
5219 * RowList.h: Remove class RowList from file leave just a
5222 * RowList.C: delete file
5224 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5227 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5229 * text3.C (cursorPrevious): adjust
5230 (cursorNext): adjust
5233 * text2.C (redoHeightOfParagraph): adjust
5234 (redoDrawingOfParagraph): adjust
5237 * text.C (breakParagraph): adjust
5238 (insertChar): adjust
5241 * rowpainter.C (RowPainter): adjust
5242 (leftMargin): simplify and adjust
5243 (most rowpainter functions): adjust.
5245 * rowpainter.h: store the row as RowList::iterator not as Row*
5247 * lyxcursor.C (row): taka RowList::iterator as arg
5250 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5253 2003-04-01 Angus Leeming <leeming@lyx.org>
5255 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5256 stuff like bool Bool.
5258 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5260 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5263 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5268 * lyxtext.h (rows): drop one version and leve a const variant that
5269 returns a RowList::iterator.
5271 2003-03-31 Angus Leeming <leeming@lyx.org>
5273 * text.C (fill): ensure that the signature is the same as that in the
5276 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * text2.C (redoParagraphs): adjust
5279 (updateCounters): adjust
5280 (checkParagraph): adjust
5281 (getColumnNearX): adjust and reformat a bit.
5283 * text.C (top_y): adjust
5285 (leftMargin): adjust
5286 (prepareToPrint): adjust
5288 (getRowNearY): adjust
5290 * lyxtext.h: make rowlist_ mutable.
5292 * RowList.h: add const_iterator
5293 * RowList.C: adjust for RowList::const_iterator.
5295 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5298 2003-03-31 John Levon <levon@movementarian.org>
5301 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5303 * lyx_main.C: set default fonts from using lyx_gui funcs
5305 * exporter.C: pdf_mode moved from lyxrc
5308 * lyxfunc.C: changes from above
5310 2003-03-31 John Levon <levon@movementarian.org>
5312 * lyx_main.C: fix to the last fix
5314 2003-03-31 John Levon <levon@movementarian.org>
5316 * bufferlist.C: "Load original" -> "Load Original"
5322 * format.C: more Alert cleanups
5324 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5326 * text2.C (removeParagraph): make it take a RowList::iterator as
5328 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5329 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5331 * text.C (anchor_row): make it take a RowList::iterator as arg,
5333 (computeBidiTables): make it take a const reference to Row instead
5334 of Row pointer, adjust.
5335 (leftMargin): make it take a RowList::iterator as arg, adjust.
5336 (rowBreakPoint): adjust
5337 (breakAgainOneRow): make it take a RowList::iterator as arg,
5339 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5341 * bufferview_funcs.C (toggleAndShow): adjust
5343 2003-03-30 John Levon <levon@movementarian.org>
5347 * boost-inst.C: moved to support
5349 * several files: changes as a result
5351 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * text2.C (LyXText): adjust.
5355 (removeRow): make it take a RowList::iterator as arg, adjust.
5356 (fullRebreak): adjust
5357 (deleteEmptyParagraphMechanism): adjust
5358 (clearPaint): adjust
5361 * text.C (top_y): adjust
5362 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5363 (breakAgain): make it take a RowList::iterator as arg, adjust.
5364 (breakParagraph): adjust
5365 (insertChar): adjust
5368 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5369 need_break_row, and refresh_row.
5371 * text3.C (dispatch): adjust
5373 * text2.C (checkParagraph): adjust
5375 (setCursorFromCoordinates): adjust
5377 * text.C (top_y): adjust
5379 (getRow): make it return a RowList::iterator, adjust
5380 (getRowNearY): make it return a RowList::iterator, adjust
5382 * text2.C (init): adjust
5383 (insertRow): remove function
5384 (insertParagraph): adjust
5385 (redoParagraphs): adjust
5386 (fullRebreak): adjust
5387 (updateCounters): adjust
5389 * text.C (top_y): rewrite to use RowList iterators.
5391 (setHeightOfRow): rewrite to sue RowList iterators.
5392 (appendParagraph): adjust
5393 (breakAgain): adjust
5394 (breakAgainOneRow): adjust
5395 (breakParagraph): adjust
5397 (getRowNearY): adjust, and remove commented code.
5399 * lyxtext.h (firstRow): delete function
5400 (lastRow): delete function
5401 (rows): new function (const and non-const versions.)
5402 (insertRow): delete function
5404 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5406 2003-03-29 John Levon <levon@movementarian.org>
5408 * BufferView_pimpl.C: always update scrollbar top
5409 because pasting text when we're anchored could mean we
5410 miss an update altogether
5412 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * text2.C (init): use rowlist_.end() and not 0.
5415 (insertRow): change to take a RowList::iterator as arg, adjust
5417 (insertParagraph): change to take a RowList::iterator as arg,
5419 (redoParagraphs): remove some debug msgs.
5421 * text.C (appendParagraph): change to take a RowList::iterator
5422 arg, adjust for this.
5423 (breakAgain): add an assert
5424 (breakAgainOneRow): ditto
5426 2003-03-29 John Levon <levon@movementarian.org>
5428 * text2.C: do not clear selection after inc/decDepth
5431 2003-03-29 John Levon <levon@movementarian.org>
5434 * buffer.C: fix broken strerrors according to Lars
5436 2003-03-29 John Levon <levon@movementarian.org>
5438 * converters.C: more Alert cleanups
5440 2003-03-29 John Levon <levon@movementarian.org>
5442 * bufferview_funcs.C: remove pointless Alert
5444 * buffer.C: fix confusing error message when
5445 a template is chmoded 000
5447 2003-03-29 John Levon <levon@movementarian.org>
5451 * BufferView_pimpl.C: Alert fixes
5455 * tabular-old.C: remove unused table compat reading
5457 2003-03-29 John Levon <levon@movementarian.org>
5462 * lyx_cb.C: more Alert cleanups
5464 * lyxfunc.C: don't allow chktex if not latex document
5466 2003-03-29 John Levon <levon@movementarian.org>
5470 * buffer.C: warnings pushed down from support/,
5473 2003-03-29 John Levon <levon@movementarian.org>
5475 * lyxfunc.C: safety check for C-r (revert)
5477 2003-03-29 John Levon <levon@movementarian.org>
5480 * bufferlist.C: several UI fixes using Alert::prompt.
5481 Fix the pointless looping quit code. Fix stupid revert
5486 * lyx_cb.C: use Alert::prompt
5488 * lyx_main.C: remove a silly question
5490 * lyxfunc.C: remove a couple of silly questions,
5493 2003-03-28 John Levon <levon@movementarian.org>
5495 * text2.C: fix bug 974 (End on empty par)
5497 2003-03-28 John Levon <levon@movementarian.org>
5499 * BufferView_pimpl.C:
5501 * lfuns.h: remove do-nothing math greek lfuns
5503 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5505 * lyxgluelength.h (isValidGlueLength): add default arg on
5506 parameter 2. Remove default arg from friend in class.
5508 * lyxlength.h (isValidLength): add default arg on parameter 2.
5509 Remove default arg from friend in class.
5511 * text2.C (LyXText): adjust, initialize refresh_row.
5515 (insertParagraph): adjst
5516 (redoParagraphs): adjust
5517 (fullRebreak): adjust
5518 (updateCounters): adjust
5519 (deleteEmptyParagraphMechanism): first attempt at fixing a
5522 * text.C (top_y): adjust
5523 (setHeightOfRow): adjust
5525 (getRowNearY): adjust
5527 * lyxtext.h: include RowList.h
5528 (~LyXText): not needed anymore, deleted.
5529 (firstRow): modify for RowList
5530 (lastRow): new function
5531 Delete firstrow and lastrow class variables, add a Rowlist
5532 rowlist_ class variable.
5534 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5537 * RowList.C (insert): fix case where it == begin().
5539 2003-03-26 Angus Leeming <leeming@lyx.org>
5541 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5542 the thesaurus dialog.
5544 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5548 * RowList.[Ch]: new files
5550 * ParagraphList.C (erase): handle the case where it == begin
5553 2003-03-25 John Levon <levon@movementarian.org>
5557 * aspell.C: add new aspell support
5560 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5563 2003-03-25 Angus Leeming <leeming@lyx.org>
5566 * LyXAction.C (init): new LFUN_INSET_INSERT.
5568 * BufferView_pimpl.C (dispatch): split out part of the
5569 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5571 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5574 2003-03-25 Angus Leeming <leeming@lyx.org>
5576 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5578 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5581 * text3.C: remove useless row->height(0)
5583 2003-03-25 John Levon <levon@movementarian.org>
5587 * text3.C: rename the refreshing stuff to better names
5589 2003-03-24 John Levon <levon@movementarian.org>
5591 * BufferView_pimpl.h:
5592 * BufferView_pimpl.C: update layout choice on a mouse
5595 2003-03-23 John Levon <levon@movementarian.org>
5597 * Makefile.am: fix commandtags.h reference
5599 2003-03-22 John Levon <levon@movementarian.org>
5601 * BufferView_pimpl.C:
5606 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5608 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5611 * text.C: take the rtl methods out of line
5613 2003-03-21 André Pönitz <poenitz@gmx.net>
5615 * metricsinfo.[Ch]: new files containing structures to be passed around
5616 during the two-phase-drawing...
5618 2003-03-21 André Pönitz <poenitz@gmx.net>
5620 * lyxtextclass.C: read 'environment' tag.
5622 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5624 * text2.C (removeRow): fix bug 964
5626 2003-03-20 John Levon <levon@movementarian.org>
5630 * text2.C: paint cleanups. Inset::update() dropped font
5633 2003-03-19 John Levon <levon@movementarian.org>
5635 * lyxfunc.C: only fitcursor/markDirty if available()
5637 2003-03-19 John Levon <levon@movementarian.org>
5639 * commandtags.h: rename to ...
5641 * lfuns.h: ... this, and renumber / cleanup
5643 2003-03-19 John Levon <levon@movementarian.org>
5645 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5646 fit the cursor after an lfun
5650 * BufferView_pimpl.h:
5651 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5653 * LyXAction.C: layout-character should have ReadOnly
5655 * ParagraphParameters.C:
5657 * bufferview_funcs.C:
5664 * undo_funcs.C: changes from above
5666 2003-03-18 John Levon <levon@movementarian.org>
5668 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5669 remove it from update()
5671 * lyxfunc.C: update layout choice after an lfun
5673 * text3.C: remove extra updateLayoutChoice()s
5675 2003-03-18 John Levon <levon@movementarian.org>
5677 * text.C: top_y change means full repaint, fix
5678 a drawing bug with cursor movement
5680 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5684 * text2.C: anchor row on setCursor
5686 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5688 * lyxtext.h: remove almost all mutable keywords
5691 * text3.C: remove const keywords accordingly
5693 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5697 (TeXEnvironment): ditto
5700 2003-03-17 John Levon <levon@movementarian.org>
5702 * text.C (rowBreakPoint): remove attempt to fix displayed
5703 math insets inside a manual label
5705 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * lyxtext.h: remove BufferView* as first arg from almost all class
5709 * other files: adjust.
5711 2003-03-17 John Levon <levon@movementarian.org>
5715 * text2.C: more paint cleanups
5717 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5720 * rowpainter.C: remove "smart" background painting code
5722 2003-03-16 John Levon <levon@movementarian.org>
5727 * text3.C: add helper functions for setting refresh_row/y
5729 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5731 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5732 newline inset which *can* get inserted in the pass_thru layouts.
5733 This is primarily for literate documents.
5735 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5737 * buffer.C: increment LYX_FORMAT to 223
5739 2003-03-14 André Pönitz <poenitz@gmx.net>
5741 * textclass.h: prepare for environment handling, ws changes
5742 * lyxlayout.C: read latexheader and latexfooter tags
5744 2003-03-14 John Levon <levon@movementarian.org>
5746 * text2.C: rewrite ::status() a bit
5748 2003-03-13 John Levon <levon@movementarian.org>
5750 * lyxtext.h: add some docs
5752 2003-03-13 John Levon <levon@movementarian.org>
5757 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5759 2003-03-13 John Levon <levon@movementarian.org>
5761 * text3.C: fix appendix redrawing
5763 2003-03-13 John Levon <levon@movementarian.org>
5765 * text.C (setHeightOfRow):
5767 * rowpainter.C: make appendix mark have the text
5768 "Appendix" so the user knows what it is
5771 * LColor.C: s/appendixline/appendix/ from above
5773 2003-03-13 John Levon <levon@movementarian.org>
5775 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5777 * text.C: fix a getChar(pos) bug properly
5779 2003-03-13 Angus Leeming <leeming@lyx.org>
5782 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5783 Probably only temporary. Let's see how things pan out.
5785 * BufferView.C (unlockInset):
5786 * BufferView_pimpl.C (fitCursor):
5787 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5789 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5790 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5792 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5793 new functions that convert ParagraphParameters to and from a string.
5795 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5796 BufferView::Pimpl's dispatch.
5797 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5799 2003-03-13 André Pönitz <poenitz@gmx.net>
5803 * factory.C: make it aware of InsetEnv
5805 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5807 * text2.C (setCursor): never ask for one past last
5808 (setCursor): add some debugging messages.
5810 * text.C (singleWidth): never ask for one past last
5811 (singleWidth): ditto
5813 (rightMargin): ditto
5814 (rowBreakPoint): ditto
5815 (setHeightOfRow): ditto
5816 (prepareToPrint): ditto
5818 * rowpainter.C (paintBackground): never ask for one past last
5819 (paintText): never ask for one past last
5821 * paragraph_pimpl.C (getChar): make the assert stricter, never
5822 allow the one past last pos to be taken
5824 * paragraph.C (getChar): ws changes only
5826 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5827 (numberOfSeparators): ditto
5828 (numberOfHfills): ditto
5830 2003-03-12 John Levon <levon@movementarian.org>
5836 * paragraph_funcs.C: fix per-buffer authorlists
5838 2003-03-12 John Levon <levon@movementarian.org>
5840 * text.C: fix newline in right address
5842 2003-03-12 Angus Leeming <leeming@lyx.org>
5844 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5845 duplicate those in LyXFunc::dispatch.
5849 * ToolbarDefaults.C:
5850 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5851 Add LFUN_FONTFREE_UPDATE.
5853 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5854 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5856 * bufferview_func.[Ch]: several new functions to facilliate
5857 transfer of data to and from the character dialog.
5859 2003-03-12 John Levon <levon@movementarian.org>
5864 * paragraph_funcs.C:
5865 * paragraph_pimpl.C:
5869 * text3.C: remove META_NEWLINE in favour of an inset
5872 * rowpainter.C: remove paintNewline (done by inset)
5874 2003-03-12 John Levon <levon@movementarian.org>
5876 * paragraph_pimpl.C: complain about bad getChar()s
5877 for a while at least
5879 2003-03-12 John Levon <levon@movementarian.org>
5882 * buffer.C: move paragraph read into a separate function,
5883 a little renaming to reflect that.
5886 * bufferparams.C: remove the author_ids map, not necessary now
5889 * factory.C: moved Buffer::readInset to here
5891 * paragraph_funcs.h:
5892 * paragraph_funcs.C: readParagraph free function moved from
5895 * tabular.C: name change
5897 2003-03-12 John Levon <levon@movementarian.org>
5900 * ParagraphParameters.C: move par params input to
5903 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5904 behave like a normal read from the stream wrt reading
5905 a line vs. a \\token
5907 2003-03-12 John Levon <levon@movementarian.org>
5910 * ParagraphParameters.h:
5911 * ParagraphParameters.C: move output code to a
5914 2003-03-12 John Levon <levon@movementarian.org>
5916 * BufferView.C (insertLyXFile):
5919 * tabular.C: use a parlist iterator for creating the
5922 2003-03-12 John Levon <levon@movementarian.org>
5924 * buffer.C: make current_change static local not
5927 2003-03-12 John Levon <levon@movementarian.org>
5929 * buffer.C: fix insertStringAsLines for change tracking
5931 2003-03-12 John Levon <levon@movementarian.org>
5938 * bufferparams.C: move author list into params. Rename some
5939 functions. Move the header reading into a separate token
5940 loop. Move the header token reading into BufferParams.
5942 2003-03-12 John Levon <levon@movementarian.org>
5944 * changes.C: put debug inside lyxerr.debugging() checks
5946 2003-03-11 André Pönitz <poenitz@gmx.net>
5948 * factory.C: make it aware of InsetHFill
5950 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5952 * buffer.C (latexParagraphs): move function from here...
5953 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5956 2003-03-10 Angus Leeming <leeming@lyx.org>
5958 * LyXAction.C (init): fix bug in poplating array with multiple entries
5959 with the same LFUN (spotted by JMarc).
5961 2003-03-10 John Levon <levon@movementarian.org>
5964 * text2.C: move getColumnNearX() near its
5967 2003-03-10 John Levon <levon@movementarian.org>
5969 * text.C: fix break before a minipage
5971 2003-03-10 John Levon <levon@movementarian.org>
5973 * text.C: fix the last commit
5975 2003-03-09 John Levon <levon@movementarian.org>
5979 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5980 bug 365 (don't break before insets unless needed). Don't
5981 return a value > last under any circumstances.
5983 2003-03-09 Angus Leeming <leeming@lyx.org>
5985 * BufferView_pimpl.C (trackChanges, dispatch): call
5986 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5988 2003-03-09 Angus Leeming <leeming@lyx.org>
5990 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5991 than Dialogs::showAboutlyx().
5993 2003-03-09 Angus Leeming <leeming@lyx.org>
5995 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5996 than Dialogs::showTabularCreate().
5998 2003-03-09 John Levon <levon@movementarian.org>
6002 * text2.C: 3rd arg to nextBreakPoint was always the same.
6005 2003-03-08 John Levon <levon@movementarian.org>
6012 * text2.C: Remove the "main" bit from the "main body"
6015 2003-03-08 John Levon <levon@movementarian.org>
6017 * text.C (leftMargin): The left margin of an empty
6018 manual label paragraph should not include the label width
6021 * text.C (prepareToPrint): don't attempt to measure hfills
6022 for empty manual label paragraphs - the answer should be 0
6024 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6026 * CutAndPaste.C: remove commented code and reindent.
6028 2003-03-08 John Levon <levon@movementarian.org>
6031 * lyxfunc.C: move reloadBuffer()
6034 * BufferView.C: to here
6036 * lyxvc.C: add comment
6039 * vc-backend.C: call bv->reload() to avoid
6040 getStatus() check on MENURELOAD
6042 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6044 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6045 to an old format .dep file.
6047 2003-03-07 Angus Leeming <leeming@lyx.org>
6049 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6050 when the LFUN_MOUSE_RELEASE should have been handled by
6051 inset->localDispatch.
6053 2003-03-07 Angus Leeming <leeming@lyx.org>
6055 * BufferView_pimpl.C (dispatch):
6056 * LyXAction.C (init):
6057 * ToolbarDefaults.C (init):
6059 * lyxfunc.C (getStatus):
6060 remove LFUN_INSET_GRAPHICS.
6062 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6064 2003-03-07 Angus Leeming <leeming@lyx.org>
6067 * LyXAction.C (init):
6068 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6070 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6073 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6075 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6076 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6078 2003-03-07 Angus Leeming <leeming@lyx.org>
6080 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6083 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * ParagraphList.C (front): new function
6088 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6090 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6091 and top_row_offset_. removed var first_y.
6093 * text2.C (LyXText, removeRow):
6095 * BufferView_pimpl.C:
6096 use these methods instead of using first_y
6098 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * text2.C (pasteSelection): adjust for checkPastePossible
6102 * CutAndPaste.C: remove Paragraph * buf and replace with
6103 ParagraphList paragraphs.
6104 (DeleteBuffer): delete
6105 (cutSelection): change the tc type to textclass_type
6106 (copySelection): change the tc type to textclass_type
6107 (copySelection): adjust for ParagraphList
6108 (pasteSelection): change the tc type to textclass_type
6109 (pasteSelection): adjust for Paragraphlist
6110 (nrOfParagraphs): simplify for ParagraphList
6111 (checkPastePossible): simplify for ParagraphList
6112 (checkPastePossible): remove unused arg
6114 * ParagraphList.C (insert): handle the case where there are no
6117 * CutAndPaste.h: make CutAndPaste a namespace.
6119 * text3.C (dispatch): adjust
6121 * text.C (breakParagraph): add a ParagraphList as arg
6123 * paragraph_funcs.C (breakParagraph): change to take a
6124 BufferParams and a ParagraphList as args.
6125 (breakParagraphConservative): ditto
6126 (mergeParagraph): ditto
6127 (TeXDeeper): add a ParagraphList arg
6128 (TeXEnvironment): ditto
6131 * buffer.C (readLyXformat2): adjust
6132 (insertStringAsLines): adjust
6133 (latexParagraphs): adjust
6135 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6136 (cutSelection): adjust
6137 (pasteSelection): adjust
6139 * BufferView_pimpl.C (insertInset): adjust
6141 2003-03-05 Angus Leeming <leeming@lyx.org>
6144 * LyXAction.C (init):
6145 * BufferView_pimpl.C (dispatch):
6146 * lyxfunc.C (getStatus):
6147 remove LFUN_CHILD_INSERT.
6149 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6151 2003-03-05 Angus Leeming <leeming@lyx.org>
6154 * LyXAction.C (init):
6155 * src/factory.C (createInset):
6156 * lyxfunc.C (getStatus):
6157 * text3.C (dispatch):
6158 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6160 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6162 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * ParagraphList.C (insert): handle insert right before end()
6165 (erase): fix cases where it can be first or last paragraph.
6167 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6170 Paragraph::next and Paragraph::previous
6173 * text.C (breakParagraph): adjust
6175 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6176 BufferParams& as arg.
6177 (breakParagraph): use ParagraphList::insert
6178 (breakParagraphConservative): take a Buffer* instead of a
6179 BufferParams& as arg.
6180 (breakParagraphConservative): use ParagraphList::insert.
6182 * buffer.C (insertStringAsLines): un-const it
6183 (insertStringAsLines): adjust
6185 * ParagraphList.C (insert): new function
6187 * CutAndPaste.C (pasteSelection): adjust
6189 * text.C (backspace): adjust
6191 * tabular.C (SetMultiColumn): adjust
6193 * CutAndPaste.C (cutSelection): adjust
6194 (pasteSelection): adjust
6196 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6197 Buffer const * as arg
6199 * ParagraphList.C (erase): new function
6200 * paragraph_funcs.C (mergeParagraph): use it
6201 (mergeParagraph): make it take a Buffer* instead of a
6202 BufferParams* as arg
6204 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6206 (breakParagraphConservative): ditto
6208 * paragraph.h: remove the breakParagraph friend
6210 * paragraph.C (eraseIntern): new function
6211 (setChange): new function
6213 * paragraph_funcs.C (mergeParagraph): make it take a
6214 ParagraphList::iterator instead of a Paragraph *, adjust
6217 * paragraph.h: move an #endif so that the change tracking stuff
6218 also works in the NO_NEXT case.
6220 2003-03-04 Angus Leeming <leeming@lyx.org>
6223 * LyXAction.C: new LFUN_INSET_MODIFY.
6225 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6226 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6228 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6230 * several files: ws changes only
6232 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6233 (TeXEnvironment): ditto
6236 * buffer.C (makeLaTeXFile): adjust
6237 (latexParagraphs): make it take ParagraphList::iterator as args
6239 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * buffer.C (latexParagraphs): adjust
6243 * paragraph.C (TeXOnePar): move function...
6244 (optArgInset): move function...
6245 (TeXEnvironment): move function...
6246 * paragraph_pimpl.C (TeXDeeper): move function...
6247 * paragraph_funcs.C: ...here
6249 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6251 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6253 * buffer.C (readInset): remove compability code for old Figure and
6256 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * buffer.C: ws changes
6261 * BufferView_pimpl.C: ditto
6264 * bufferlist.h: ditto
6268 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6270 * converter.[Ch]: split into itself +
6273 * Makefile.am: += graph.[Ch] + format.[Ch]
6280 * lyxrc.C: added #include "format.h"
6282 2003-02-27 Angus Leeming <leeming@lyx.org>
6284 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6287 * factory.C (createInset): add "label" to the factory.
6289 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6290 string and do no more.
6292 2003-02-27 Angus Leeming <leeming@lyx.org>
6295 * LyXAction.C (init):
6296 * factory.C (createInset):
6297 * BufferView_pimpl.C (dispatch):
6298 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6300 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6302 * lyxfunc.C (dispatch):
6303 * text3.C (dispatch): pass name to params2string.
6305 2003-02-26 Angus Leeming <leeming@lyx.org>
6307 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6309 Rearrange the ~includes. Strip out the unnecessary ones.
6311 * factory.C (createInset): reformat.
6312 create new insets for the various LFUN_XYZ_APPLY lfuns.
6314 2003-02-26 John Levon <levon@movementarian.org>
6317 * lyxrow.C: add isParStart,isParEnd helpers
6319 * paragraph.h: make isInserted/DeletedText take refs
6321 * paragraph_funcs.h:
6322 * paragraph_funcs.C: remove #if 0'd code
6327 * text.C: use lyxrow helpers above.
6328 Move draw and paint routines to RowPainter.
6329 Make several methods use refs not pointers.
6330 Make backgroundColor() const.
6331 Add markChangeInDraw(), isInInset().
6332 Merge changeRegionCase into changeCase.
6333 Make workWidth() shouldn't-happen code into an Assert.
6336 * rowpainter.C: new class for painting a row.
6339 * vspace.C: make inPixels take a ref
6341 2003-02-26 Angus Leeming <leeming@lyx.org>
6343 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6346 2003-02-25 John Levon <levon@movementarian.org>
6348 * ispell.C: give the forked command a more accurate name
6350 2003-02-22 John Levon <levon@movementarian.org>
6353 * toc.C: make TocItem store an id not a Paragraph *
6356 2003-02-21 Angus Leeming <leeming@lyx.org>
6358 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6359 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6360 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6361 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6362 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6363 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6365 * BufferView_pimpl.C (dispatch):
6366 * LyXAction.C (init):
6367 * factory.C (createInset):
6368 * lyxfunc.C (getStatus, dispatch):
6369 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6371 2003-02-21 Angus Leeming <leeming@lyx.org>
6373 * BufferView_pimpl.C (MenuInsertLyXFile):
6374 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6375 * lyxfunc.C (menuNew, open, doImport):
6376 no longer pass a LyXView & to fileDlg.
6378 2003-02-21 Angus Leeming <leeming@lyx.org>
6380 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6381 * LyXAction.C: change, BIBKEY to BIBITEM.
6382 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6383 Change InsetBibKey to InsetBibitem.
6384 Change BIBKEY_CODE to BIBITEM_CODE.
6385 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6386 * factory.C: replace insetbib.h with insetbibitem.h.
6387 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6388 * paragraph.C: replace insetbib.h with insetbibitem.h.
6389 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6390 Change bibkey() to bibitem().
6391 * text.C: remove insetbib.h.
6392 * text2.C: replace insetbib.h with insetbibitem.h.
6393 change bibkey() to bibitem().
6394 * text3.C: remove insetbib.h.
6395 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6397 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6399 * lyxrc.C (output): enclose user email in quotes (in case there are
6402 2003-02-18 John Levon <levon@movementarian.org>
6404 * buffer.h: add std::
6406 2003-02-17 John Levon <levon@movementarian.org>
6412 * pspell.C: reworking. Especially in ispell, a large
6413 number of clean ups and bug fixes.
6415 * lyxfunc.C: fix revert to behave sensibly
6417 2003-02-17 André Pönitz <poenitz@gmx.net>
6420 * commandtags.h: new LFUN_INSERT_BIBKEY
6430 * paragraph_func.C: remove special bibkey handling
6432 2003-02-17 John Levon <levon@movementarian.org>
6434 * text.C (Delete): fix case where delete at the end of
6435 the very first paragraph would not merge the pars
6437 2003-02-17 John Levon <levon@movementarian.org>
6439 * lyxrow.C: fix lastPrintablePos()
6441 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6443 * bufferparams.C (writeLaTeX): add a std:here
6445 * buffer.C: and remove a using directive there
6447 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6449 * buffer.C (makeLaTeXFile): move the code that generates the
6452 * bufferparams.C (writeLaTeX): ... in this new method
6454 * LaTeXFeatures.C (getEncodingSet): make const
6455 (getLanguages): make const
6457 * MenuBackend.C (binding): returns the binding associated to this
6459 (add): sets the status of each item by calling getStatus. Adds
6461 (read): add support for OptSubMenu
6462 (expand): remove extra separator at the end of expanded menu
6464 2003-02-15 John Levon <levon@movementarian.org>
6467 * BufferView_pimpl.C:
6469 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6470 inset code that had no actual effect. Remove unneeded status
6473 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6475 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6478 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6480 * text.C (drawLengthMarker): also draw an arrow marker for
6481 symbolic lengths (medskip...)
6483 2003-02-14 John Levon <levon@movementarian.org>
6486 * tabular.C: better method names
6488 2003-02-14 John Levon <levon@movementarian.org>
6490 * BufferView_pimpl.C:
6495 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6496 it's a more accurate name. Remove some pointless uses.
6498 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6500 * text2.C (LyXText): change order of initilizers to shut off
6503 2003-02-14 John Levon <levon@movementarian.org>
6505 * buffer.C: use ParIterator for getParFromID()
6509 * paragraph_pimpl.h:
6510 * paragraph_pimpl.C: remove unused getParFromID()
6512 2003-02-14 John Levon <levon@movementarian.org>
6514 * buffer.C: remove some very old #if 0'd parse code
6516 2003-02-13 John Levon <levon@movementarian.org>
6520 * text2.C: move hfillExpansion(), numberOfSeparators(),
6521 rowLast(), rowLastPrintable(), numberofHfills(),
6522 numberOfLabelHfills() ...
6525 * lyxrow.C: ... to member functions here.
6530 * text.C: remove LyXText::beginningOfMainBody(), and call
6531 p->beginningOfMainBody() directly. Move the check for
6532 LABEL_MANUAL into the latter.
6539 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6545 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6546 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6548 2003-02-13 John Levon <levon@movementarian.org>
6550 * CutAndPaste.C: remove debug
6552 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6554 * paragraph.C (asString): remove two unused variables
6556 * lyxtextclass.C (readTitleType):
6558 (LyXTextClass): handle new members titletype_ and titlename_
6560 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6562 2003-02-09 John Levon <levon@movementarian.org>
6565 * buffer.C: replace hand-coded list with a map for the dep clean
6567 2003-02-08 John Levon <levon@movementarian.org>
6569 * LaTeX.C: consolidate code into showRunMessage() helper
6571 2003-02-08 John Levon <levon@movementarian.org>
6576 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6577 and pass the size in explicitly
6579 * BufferView_pimpl.h:
6580 * BufferView_pimpl.C:
6582 * BufferView.C: add getCurrentChange()
6584 * BufferView_pimpl.h:
6585 * BufferView_pimpl.C: handle change lfuns
6587 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6588 for changes. Mark pasted paragraphs as new.
6590 * support/lyxtime.h:
6591 * support/lyxtime.C:
6592 * DepTable.C: abstract time_t as lyx::time_type
6595 * LColor.C: add colours for new text, deleted text, changebars
6597 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6598 package use "usenames" option.
6602 * LyXAction.C: add change lfuns
6606 * author.C: author handling
6609 * buffer.C: add a per-buffer author list, with first entry as
6610 current author. Handle new .lyx tokens for change tracking. Output
6611 author list to .lyx file. Output dvipost stuff to .tex preamble.
6612 Bump lyx format to 222.
6615 * bufferlist.C: add setCurrentAuthor() to reset current author details
6619 * bufferparams.C: add param for tracking
6621 * bufferview_funcs.C: output change info in minibuffer
6625 * changes.C: add change-tracking structure
6628 * debug.C: add CHANGES debug flag
6631 * lyxfind.C: add code for finding the next change piece
6634 * lyxrc.C: add user_name and user_email
6637 * lyxrow.C: add a metric for the top of the text line
6640 * text.C: implement accept/rejectChange()
6643 * text.C: paint changebars. Paint new/deleted text in the chosen
6644 colours. Strike through deleted text.
6648 * paragraph_pimpl.h:
6649 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6650 in the current change to the insert functions. Rework erase to
6651 mark text as deleted, adding an eraseIntern() and a range-based
6652 erase(). Implement per-paragraph change lookup and
6655 * paragraph_funcs.C: Fixup paste for change tracking.
6657 * tabular.C: mark added row/columns as new.
6659 * text.C: fix rowLast() to never return -1. Don't allow
6660 spellchecking of deleted text. Track transpose changes. Don't
6661 allow paragraph break or merge where appropriate.
6663 * text2.C: leave cursor at end of selection after a cut.
6665 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6667 * text.C (getLengthMarkerHeight):
6668 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6669 visible on screen too.
6671 2003-02-07 John Levon <levon@movementarian.org>
6673 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6675 2003-02-05 Angus Leeming <leeming@lyx.org>
6677 * lyxserver.C (read_ready): revert my patch of 11 September last year
6678 as it sends PC cpu through the roof. Presumably this means that
6679 the lyxserver will no longer run on an Alpha...
6681 2003-01-30 Angus Leeming <leeming@lyx.org>
6683 * factory.C (createInset): create an InsetCommandParam of type "index"
6684 and use it to 'do the right thing'.
6686 * text2.C (getStringToIndex): ensure that cursor position is always
6687 reset to the reset_cursor position.
6689 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6691 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6694 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6698 * lyxfunc.C: Output messages with identical spelling, punctuation,
6701 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6703 * MenuBackend.C (expandFormats): List only viewable export formats
6706 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6709 * lyxfunc.C (getStatus): Make sure that formats other than
6710 "fax" can also be disabled
6712 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6714 * text3.C (dispatch): put the lfuns that insert insets in 3
6715 groups, and call doInsertInset with appropriate arguments.
6716 (doInsertInset): new function, that creates an inset and inserts
6717 it according to some boolean parameters.
6719 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6721 * buffer.C (readFile): remember to pass on 'par' when calling
6722 readFile recursively.
6724 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6726 * MenuBackend.C (expandFormats): add "..." to import formats.
6728 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6730 * paragraph.C (asString): Remove XForms RTL hacks.
6732 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6733 * buffer.C: fix typo
6735 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6737 * Makefile.am (LIBS): delete var
6738 (lyx_LDADD): add @LIBS@ here instead.
6740 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6742 * Clarify the meaning of "wheel mouse jump"
6744 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6746 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6749 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6751 * importer.C (Loaders): do not preallocate 3 elements in the
6752 vector, since one ends up with 6 elements otherwise
6754 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6756 * DepTable.C (write): write the file name as last element of the
6757 .dep file (because it may contain spaces)
6758 (read): read info in the right order
6760 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6762 * paragraph_pimpl.C (simpleTeXBlanks):
6763 (simpleTeXSpecialChars):
6764 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6766 * tabular.C (latex): add some missing case statements. Reindent.
6768 * MenuBackend.C (expandToc): remove unused variable.
6770 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6779 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6782 2003-01-05 John Levon <levon@movementarian.org>
6785 * BufferView.C: add getEncoding()
6788 * kbsequence.C: do not store last keypress
6791 * lyxfunc.C: store last keypress here instead. Pass encoding
6794 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6796 * lyx_main.C (init): remove annoying error message when following
6797 symbolic links (bug #780)
6799 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6801 * text.C (insertChar):
6802 * lyxrc.C (getDescription): remove extra spaces
6804 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6806 * lyxrc.C (getDescription): remove extra spaces
6808 2002-12-20 John Levon <levon@movementarian.org>
6810 * text3.C: hack fix for page up/down across tall rows
6812 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6814 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6817 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6819 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6820 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6821 thesaurus is not compiled in
6823 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6825 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6827 2002-12-16 Angus Leeming <leeming@lyx.org>
6830 * lyx_main.C (init): remove override_x_deadkeys stuff.
6832 2002-12-12 John Levon <levon@movementarian.org>
6834 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6835 insert. Only remove shift modifier under strict
6838 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * MenuBackend.C (expandToc): fix crash.
6842 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * MenuBackend.C (expandToc): gettext on float names.
6846 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6848 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6849 implement bool empty() [bug 490]
6851 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6855 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * several files: ws changes
6859 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * text2.C (setCounter): clean up a bit, use boost.format.
6862 (updateCounters): initialize par upon declaration.
6864 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6865 if the layout exists. We do not just store the layout any more.
6866 (SwitchLayoutsBetweenClasses): use boost.format
6868 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6870 * converter.C (convert): if from and to files are the same, use a
6871 temporary files as intermediary
6873 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6876 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6878 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6880 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6882 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * tabular.C (asciiPrintCell): use string(size, char) instead of
6887 * sgml.C (openTag): fix order of arguments to string constructor
6890 * lyxfunc.C (dispatch): use boost.format
6892 * lots of files: change "c" -> 'c'
6894 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6896 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6898 2002-11-25 Angus Leeming <leeming@lyx.org>
6900 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6902 * lyx_main.C (init): compile fix.
6904 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6906 * lyx_cb.C (start): boost.formatify
6907 do not include <iostream>
6909 * lengthcommon.C: ws only
6911 * boost-inst.C,BoostFormat.h: add more explict instantations
6913 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6915 * lots of files: handle USE_BOOST_FORMAT
6917 2002-11-21 John Levon <levon@movementarian.org>
6919 * pspell.C: fix compile
6921 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6923 * lyxfunc.C (dispatch): use boost::format
6927 * lyxfont.C (stateText): use boost::format
6929 * lyx_main.C (LyX): use boost::format
6931 (queryUserLyXDir): ditto
6934 (typedef boost::function): use the recommened syntax.
6936 * importer.C (Import): use boost::format
6938 * debug.C (showLevel): use boost::format
6940 * converter.C (view): use boost::format
6945 * bufferview_funcs.C (currentState): use boost::format
6947 * bufferlist.C (emergencyWrite): use boost::format
6949 * buffer.C (readLyXformat2): use boost::format
6950 (parseSingleLyXformat2Token): ditto
6952 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6954 * LaTeX.C (run): use boost::format
6956 * Chktex.C (scanLogFile): use boost::format
6958 * BufferView_pimpl.C (savePosition): use boost::format
6959 (restorePosition): ditto
6960 (MenuInsertLyXFile): ditto
6962 * BoostFormat.h: help file for explicit instation.
6964 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6966 * tabular.C (latex): Support for block alignment in fixed width
6969 2002-11-17 John Levon <levon@movementarian.org>
6971 * BufferView_pimpl.C:
6973 * lyxfunc.C: split filedialog into open/save
6975 2002-11-08 Juergen Vigna <jug@sad.it>
6977 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6978 by my last patch (hopefully).
6980 2002-11-08 John Levon <levon@movementarian.org>
6989 * toc.C: ParConstIterator, and use it (from Lars)
6991 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6993 * lyxtextclass.[Ch]: revise and add doxygen comments
6995 2002-11-07 John Levon <levon@movementarian.org>
6997 * text.C: fix progress value for spellchecker
6999 * toc.C: fix navigate menu for insetwrap inside minipage
7001 * paragraph_funcs.C: added FIXME for suspect code
7003 2002-11-07 John Levon <levon@movementarian.org>
7005 * BufferView_pimpl.C: fix redrawing of insets
7008 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7010 * text2.C (updateCounters): fix bug 668
7012 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7014 * text3.C (dispatch): Do not make the buffer dirty when moving the
7017 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * vc-backend.C: STRCONV
7022 * text2.C (setCounter): STRCONV
7024 * paragraph.C (asString): STRCONV
7026 * lyxlength.C (asString): STRCONV
7027 (asLatexString): ditto
7029 * lyxgluelength.C (asString): STRCONV
7030 (asLatexString): ditto
7032 * lyxfunc.C (dispatch): STRCONV
7035 * lyxfont.C (stateText): STRCONV
7037 * importer.C (Import): STRCONV
7039 * counters.C (labelItem): STRCONV
7040 (numberLabel): ditto
7041 (numberLabel): remove unused ostringstream o
7046 * bufferview_funcs.C (currentState): STRCONV
7048 * buffer.C (readFile): STRCONV
7049 (asciiParagraph): ditto
7050 (makeLaTeXFile): ditto
7052 * Spacing.C (writeEnvirBegin): STRCONV
7054 * LaTeXFeatures.C (getLanguages): STRCONV
7055 (getPackages): ditto
7057 (getBabelOptions): ditto
7058 (getTClassPreamble): ditto
7059 (getLyXSGMLEntities): ditto
7060 (getIncludedFiles): ditto
7064 (scanAuxFile): ditto
7067 * LString.h: add the STRCONV macros
7069 * BufferView_pimpl.C (savePosition): STRCONV
7070 (restorePosition): ditto
7071 (MenuInsertLyXFile): ditto
7073 * vc-backend.C (scanMaster): change from submatch[...] to
7076 * funcrequest.C: include config.h
7078 * factory.C: include config.h
7080 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7082 * box.C: include config.h
7084 * LaTeX.C (scanAuxFile): change from submatch[...] to
7088 2002-10-25 Angus Leeming <leeming@lyx.org>
7090 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7092 * ispell.[Ch] (setError): new method.
7093 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7094 Use setError() insetead of goto END.
7096 * lyx_cb.C (AutoSave): move out child process into new class
7099 2002-10-30 John Levon <levon@movementarian.org>
7101 * text3.C: make start appendix undoable
7103 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7105 * lyxlength.C (inPixels): Fix returned value.
7107 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7110 2002-10-24 Angus Leeming <leeming@lyx.org>
7112 * lyxgluelength.h: no need to forward declare BufferParams
7113 or BufferView, so don't.
7115 2002-10-21 John Levon <levon@movementarian.org>
7117 * BufferView.C: menuUndo ->undo, redo
7119 * BufferView.h: document, remove dead, make some methods private
7121 * paragraph_funcs.h:
7122 * paragraph_funcs.C:
7123 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7128 * sgml.C: move sgml open/close tag into sgml.C
7130 * bufferview_funcs.h: unused prototype
7133 * lyxfunc.C: remove unused
7136 * text.C: remove unused
7138 2002-10-21 John Levon <levon@movementarian.org>
7142 * BufferView_pimpl.h:
7143 * BufferView_pimpl.C: fix mouse wheel handling based on
7144 patch from Darren Freeman
7146 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7148 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7150 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7152 * lyxlength.C (inPixels): Fix hanfling of negative length.
7153 Fix LyXLength::MU case.
7155 2002-10-16 John Levon <levon@movementarian.org>
7157 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7159 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7161 * converter.C (view): add support for $$i (file name) and $$p
7162 (file path) for the viewer command. If $$i is not specified, then
7163 it is appended to the command (for compatibility with old syntax)
7165 2002-10-14 Juergen Vigna <jug@sad.it>
7167 * undo_funcs.C (textHandleUndo): alter the order in which the
7168 new undopar is added to the LyXText, as we have to set first
7169 the right prev/next and then add it as otherwise the rebuild of
7170 LyXText is not correct. Also reset the cursor to the right paragraph,
7171 with this IMO we could remove the hack in "redoParagraphs()".
7173 2002-10-09 Angus Leeming <leeming@lyx.org>
7175 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7176 to turn off an optimisation if a new inset is to be inserted.
7178 2002-10-11 André Pönitz <poenitz@gmx.net>
7180 * lyxtext.h: make some functions public to allow access
7181 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7183 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7185 * text3.C (dispatch): when changing layout, avoid an infinite loop
7188 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7190 * lyxrc.C (read): treat a viewer or converter command of "none" as
7193 * MenuBackend.C (expandFormats): for an update, also allow the
7194 formats that are not viewable
7196 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7197 script if it is newer than the lyxrc.defaults in user directory
7199 2002-10-07 André Pönitz <poenitz@gmx.net>
7201 * text.C: Vitaly Lipatov's small i18n fix
7203 2002-09-25 Angus Leeming <leeming@lyx.org>
7205 * ispell.h: doxygen fix.
7207 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7209 * buffer.h (readFile): Add a new argument to the method, to allow
7210 reading of old-format templates.
7212 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7214 * toc.C (getTocList): Get TOC from InsetWrap.
7216 2002-09-16 John Levon <levon@movementarian.org>
7218 * lyxfunc.C: check tabular for cut/copy too
7220 2002-09-12 John Levon <levon@movementarian.org>
7225 * factory.C: add header
7227 * paragraph_funcs.h:
7228 * paragraph_funcs.C: cleanup
7230 2002-09-11 John Levon <levon@movementarian.org>
7232 * PrinterParams.h: odd/even default to true
7234 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7236 * PrinterParams.h: update printer parameters for new xforms dialog
7238 2002-09-11 Angus Leeming <leeming@lyx.org>
7240 * lyxserver.C (read_ready): re-write to make it more transparent
7241 and to make it work in coherent fashion under Tru64 Unix.
7243 2002-09-11 André Pönitz <poenitz@gmx.net>
7247 * text3.C: implement LFUN_WORDSEL
7249 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7252 make floatlist_ a boost::shared_ptr<FloatList>
7254 * lyxtextclass.C: include FloatList.h
7255 (LyXTextClass): initialize floatlist_
7256 (TextClassTags): add TC_NOFLOAT
7257 (Read): match "nofloat" to TC_NOFLOAT and use it.
7258 (readFloat): modify call to floatlist_
7262 * FloatList.[Ch] (FloatList): remove commented out float
7264 (erase): new function
7266 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7268 * MenuBackend.C (expandToc): fix crash when there is no document
7271 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7273 * many files: Add insetwrap.
7275 2002-09-09 John Levon <levon@movementarian.org>
7277 * text2.C: remove confusing and awkward depth wraparound
7279 2002-09-09 John Levon <levon@movementarian.org>
7281 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7284 * buffer.C: remove getIncludeonlyList()
7287 * lyxfunc.C: remove headers
7289 2002-09-09 Juergen Vigna <jug@sad.it>
7291 * text.C (getColumnNearX): fix form Michael this is most
7292 probably a cut&paste bug.
7294 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7298 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7299 references, ws changes.
7301 * text2.C (init): update counters after init
7302 (insertParagraph): no need to set counter on idividual paragraphs.
7303 (setCounter): access the counters object in the textclass object
7304 on in the buffer object.
7305 (updateCounters): ditto
7307 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7308 shared_ptr<Counters> to avoid loading counters.h in all
7310 (LyXTextClass): initialize ctrs_
7311 (TextClassTags): add TC_COUNTER, and ...
7312 (Read): use it here.
7313 (CounterTags): new tags
7314 (readCounter): new function
7315 (counters): new funtion
7316 (defaultLayoutName): return a const reference
7318 * counters.C (Counters): remove contructor
7319 (newCounter): remove a couple of unneeded statements.
7320 (newCounter): simplify a bit.
7321 (numberLabel): some small formatting changes.
7323 * buffer.[Ch]: remove all traces of counters, move the Counters
7324 object to the LyXTextClass.
7326 2002-09-06 Alain Castera <castera@in2p3.fr>
7328 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7329 package to set the horizontal alignment on fixed width columns.
7332 * lyx_sty.h: added tabularnewline macro def.
7334 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7336 2002-09-06 John Levon <levon@movementarian.org>
7338 * LyXAction.C: tooltips for sub/superscript
7340 * MenuBackend.C: a bit more verbose
7342 * lyxfunc.C: tiny clean
7344 * undo_funcs.C: document undo_frozen
7346 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * counters.C (Counters): add missing algorithm counter.
7350 * text2.C (setCounter): lookup the counter with layouts latexname
7351 instead of by section number.
7352 (setCounter): use a hackish way to lookup the correct enum
7354 a float name->type change
7355 reset enum couners with counter name directly instead of depth value.
7357 * counters.C (Counters): remove the push_backs, change to use the
7358 float type not the float name.
7359 (labelItem): remove unused string, float name->type change
7361 * counters.h: don't include vector, loose the enums and sects vectors
7363 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7366 (Read): add float->TC_FLOAT to textclassTags
7367 (Read): and handle it in the switch
7368 (readFloat): new function
7370 * FloatList.C (FloatList): comment out the hardcoded float
7373 * lyxlayout.h: ws change.
7375 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7377 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7379 2002-09-03 Angus Leeming <leeming@lyx.org>
7381 * BufferView_pimpl.h: qualified name is not allowed in member
7382 declaration: WorkArea & Pimpl::workarea() const;
7384 * factory.C: added using std::endl directive.
7386 * text3.C: added using std::find and std::vector directives.
7388 2002-08-29 André Pönitz <poenitz@gmx.net>
7391 * text2.C: remove unused member number_of_rows
7394 * BufferView2.C: remove file, move contents to...
7395 * BufferView.C: ... here
7397 * BufferView_pimpl.C:
7398 * factory.C: move more inset creation to factory
7400 * vspace.C: avoid direct usage of LyXText, ws changes
7403 don't provide direct access to WorkArea, use two simple
7404 acessors haveSelction() and workHeight() instead
7407 2002-08-29 John Levon <levon@movementarian.org>
7409 * BufferView_pimpl.C (dispatch): do not continue when
7412 2002-08-28 André Pönitz <poenitz@gmx.net>
7414 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7417 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7419 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7421 * buffer.C: increment LYX_FORMAT to 221
7423 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7424 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7426 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7428 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7430 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7432 * factory.C (createInset): use LyXTextClass::floats
7434 * MenuBackend.C (expandFloatListInsert):
7435 (expandFloatInsert):
7438 * text2.C (setCounter):
7440 * LaTeXFeatures.C (useFloat):
7441 (getFloatDefinitions):
7443 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7445 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7446 floatlist_, with accessor floats().
7448 * FloatList.h: remove global FloatList
7450 2002-08-26 André Pönitz <poenitz@gmx.net>
7452 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7456 * BufferView_pimpl.C:
7457 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7459 2002-08-25 John Levon <levon@movementarian.org>
7461 * LyXAction.C: fix margin note description
7463 2002-08-24 John Levon <levon@movementarian.org>
7467 * bufferview_funcs.C:
7469 * undo_funcs.C: cleanups
7471 * lyxfunc.C: disable CUT/COPY when no selection
7473 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7475 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7476 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7478 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7479 Add backward compatibility to "mono", "gray" and "no".
7481 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7483 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7484 (and file_format >= 200).
7486 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7488 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7490 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7492 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7494 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7496 * BufferView_pimpl.C:
7503 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7504 inset and code to make it work with the paragraph code. The inset
7505 can be anywhere in the paragraph, but will only do the expected
7506 thing in LaTeX if the layout file contains the parameter line
7508 (or more generally, a nonzero value) for that layout.
7510 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * paragraph.h: remove the declaration of undefined counters class
7515 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7517 * text2.C (setCounter): fixed enumeration mis-count as reported by
7518 Dr. Richard Hawkins.
7520 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7522 * paragraph_funcs.h: remove some unneeded includes
7524 * text.C (backspace): pasteParagraph now in global scipe
7526 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7527 (pasteSelection): ditto
7529 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7530 * paragraph_funcs.C (pasteParagraph): ... here
7532 2002-08-20 André Pönitz <poenitz@gmx.net>
7534 * commandtags.h: new LFUNs for swapping/copying table row/colums
7537 * lyxfunc.C: support for new lfuns
7539 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * buffer.[Ch]: remove NO_COMPABILITY stuff
7544 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * boost.C (throw_exception): new file, with helper function for
7547 boost compiled without exceptions.
7552 * ParameterStruct.h:
7553 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7555 * bufferlist.C (emergencyWriteAll): use boost bind
7557 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7559 * text.C: include paragraph_funcs.h
7560 (breakParagraph): breakParagraph is now in global scope
7562 * paragraph_funcs.[Ch]: new files
7564 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7567 * buffer.C: include paragraph_funcs.h
7568 (insertStringAsLines): breakParagraph is now in global scope
7570 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7573 * CutAndPaste.C: include paragraph_funcs.h
7574 (cutSelection): breakParagraphConservative is now in global scope
7575 (pasteSelection): ditto
7577 * buffer.h: declare oprator== and operator!= for
7578 Buffer::inset_iterator
7580 * bufferlist.C (emergencyWrite): don't use fmt(...)
7582 * text3.C: add using std::endl
7584 * BufferView.C (moveCursorUpdate): remove default arg
7586 2002-08-20 André Pönitz <poenitz@gmx.net>
7588 * buffer.[Ch]: move inline functions to .C
7591 * BufferView_pimpl.C:
7593 * buffer.[Ch]: use improved inset_iterator
7596 * paragraph.[Ch]: write one paragraph at a time
7598 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7600 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7601 style if style is not specified.
7603 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7605 * text2.C (setCounter): when searching for right label for a
7606 caption, make sure to recurse to parent insets (so that a caption
7607 in a minipage in a figure float works) (bug #568)
7609 2002-08-20 André Pönitz <poenitz@gmx.net>
7611 * text3.C: new file for LyXText::dispatch() and helpers
7613 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7615 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7617 2002-08-19 André Pönitz <poenitz@gmx.net>
7620 * text.C: new LyXText::dispatch()
7622 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7624 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7626 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7628 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7631 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7633 * Makefile.am: use $(variables) instead of @substitutions@
7635 2002-08-15 André Pönitz <poenitz@gmx.net>
7638 * BufferView_pimpl.C: streamlining mathed <-> outer world
7642 * LyXAction.C: remove unused LFUN_MATH
7644 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7648 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * paragraph.C (Paragraph): reformat a bit
7651 (cutIntoMinibuffer): use builtin InsetList function instad of
7655 * buffer.C: include boost/bind.hpp, add using std::for_each
7656 (writeFileAscii): use ParagraphList iterators
7657 (validate): use for_each for validate traversal of paragraphs
7658 (getBibkeyList): use ParagraphList iterators
7659 (resizeInsets): use for_each to resizeInsetsLyXText for all
7661 (getParFromID): use ParagraphList iterators
7663 * BufferView2.C (lockInset): use paragraph list and iterators
7665 2002-08-14 John Levon <levon@movementarian.org>
7667 * lyxserver.C: remove spurious xforms include
7669 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7671 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7673 2002-08-13 André Pönitz <poenitz@gmx.net>
7676 * lyxfunc.C: further cleaning
7678 2002-08-13 André Pönitz <poenitz@gmx.net>
7680 * funcrequest.h: new constructor
7682 * funcrequest.C: move stuff here from .h
7685 * BufferView_pimpl.C:
7688 * lyxfunc.C: subsequent changes
7690 * lyxfunc.h: new view() member function
7692 * lyxfunc.C: subsequent changes
7694 2002-08-13 Angus Leeming <leeming@lyx.org>
7697 * BufferView_pimpl.C:
7705 changes due to the changed LyXView interface that now returns references
7706 to member variables not pointers.
7708 2002-08-13 Angus Leeming <leeming@lyx.org>
7710 * WordLangTuple (word, lang_code): return references to strings,
7715 * lyxtext.h: forward-declare WordLangTuple.
7720 * text.C: #include "WordLangTuple.h".
7723 * text.C: (selectNextWordToSpellcheck): constify return type.
7725 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7731 * paragraph_pimpl.h:
7734 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7736 Made updateCounter always count from start of buffer, and removed
7737 second argument (par).
7738 Reverted floats number display to '#'. Perhaps I'll try again when the
7739 code base is sanitized a bit.
7741 2002-08-12 Angus Leeming <leeming@lyx.org>
7743 * buffer.[Ch] (getLabelList): constify.
7745 2002-08-07 André Pönitz <poenitz@gmx.net>
7747 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7749 * funcrequest.h: extension to keep mouse (x,y) position
7751 2002-08-12 Juergen Vigna <jug@sad.it>
7753 * BufferView2.C (insertErrors): forbid undo when inserting error
7756 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7758 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7760 * ParagraphList.[Ch]: new files
7762 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7764 * BufferView2.C (lockInset): ParagraphList changes
7767 * bufferlist.C: ditto
7771 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7774 unused class variable counter_,
7776 * paragraph.[Ch] (getFirstCounter): delete unused function
7778 * counters.C: include LAssert.h
7779 (reset): add a new function with no arg, change other version to
7780 not have def. arg and to not allow empty arg.
7782 * text2.C (setCounter): remove empty arg from call to Counters::reset
7784 2002-08-11 John Levon <levon@movementarian.org>
7786 * Makefile.am: add WordLangTuple.h
7788 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7791 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7793 * insets/insettext.C: InsetList changes
7795 * graphics/GraphicsSupport.C (operator()): InsetList changes
7797 * toc.C (getTocList): InsetList changes
7799 * paragraph_pimpl.[Ch]: InsetList changes
7801 * paragraph.[Ch]: InsetList changes
7803 * buffer.C (inset_iterator): InsetList changes
7804 (setParagraph): ditto
7805 * buffer.h (inset_iterator): ditto
7806 * iterators.C (operator++): ditto
7807 * iterators.h: ditto
7809 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7811 * InsetList.[Ch]: new files, most InsetList handling moved out of
7814 * BufferView2.C (removeAutoInsets): InsetList changes
7816 (ChangeInsets): ditto
7818 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * paragraph_pimpl.h (empty): new function
7822 * paragraph.[Ch] (empty): new function
7824 * other files: use the new Paragraph::empty function
7826 2002-08-09 John Levon <levon@movementarian.org>
7828 * lyxtext.h: remove unused refresh_height
7830 2002-08-09 John Levon <levon@movementarian.org>
7837 * paragraph.C: move sgml char escaping out of paragraph
7840 * paragraph.C: remove id setter
7844 * paragraph_pimpl.C: remove dead tex_code_break_column
7846 * bufferview_funcs.C: small cleanup
7848 * lyxfunc.C: remove dead proto
7850 * lyxtext.h: make some stuff private. Remove some dead stuff.
7852 * lyxgluelength.C: make as[LyX]String() readable
7854 2002-08-08 John Levon <levon@movementarian.org>
7859 * ToolbarDefaults.C:
7862 * toc.C: lyxaction cleanup
7864 2002-08-08 John Levon <levon@movementarian.org>
7866 * BufferView2.C: small cleanup
7869 * lyxfind.C: move unnecessary header into the .C
7871 2002-08-08 John Levon <levon@movementarian.org>
7873 * funcrequest.h: just tedious nonsense
7876 * lyx_main.C: cleanups
7879 * vspace.C: remove dead header lyx_main.h
7881 2002-08-07 Angus Leeming <leeming@lyx.org>
7884 * paragraph_pimpl.h:
7885 Forward declare class Counters in paragraph.h by moving the ctrs member
7886 variable into Paragraph::Pimpl.
7887 (counters): new method, returning a reference to pimpl_->ctrs.
7889 * text2.C: ensuing changes.
7891 2002-08-07 John Levon <levon@movementarian.org>
7893 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7895 * BufferView_pimpl.C: announce X selection on double/triple
7898 * lyx_main.C: use correct bool in batch dispatch
7900 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7902 2002-08-07 André Pönitz <poenitz@gmx.net>
7904 * funcrequest.h: new class to wrap a kb_action and its argument
7907 * BufferView_pimpl[Ch]:
7911 * lyxrc.C: subsequent changes
7914 2002-08-07 John Levon <levon@movementarian.org>
7916 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7917 document options change.
7919 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7924 * makefile.am: move counters functionality over from
7925 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7927 2002-08-06 John Levon <levon@movementarian.org>
7929 * WordLangTuple.h: new file for word + language code tuple
7940 * BufferView2.C: use WordLangTuple
7943 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7945 2002-08-06 John Levon <levon@movementarian.org>
7947 * lyx_main.C: fix cmdline batch handling
7949 2002-08-06 André Pönitz <poenitz@gmx.net>
7951 * lyxrc.C: set default for show_banner to true
7953 2002-08-06 John Levon <levon@movementarian.org>
7955 * pspell.C: fix a crash, and allow new aspell to work
7957 2002-08-06 John Levon <levon@movementarian.org>
7960 * kbmap.C: small cleanup
7963 * vspace.C: add const
7965 2002-08-05 John Levon <levon@movementarian.org>
7967 * LyXAction.C: back to tabular-insert
7969 2002-08-04 John Levon <levon@movementarian.org>
7972 * BufferView.C: cosmetic change
7974 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7984 * BufferView2.C: purge all "Lyx" not "LyX" strings
7987 * lyxcursor.C: attempt to add some documentation
7992 * ToolbarDefaults.C:
7993 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7994 merge with LFUN_TABULAR_INSERT
8001 * pspell.C: split up i/pspell implementations into separate
8002 files, many cleanups
8004 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8006 * text2.C: some cleanup
8008 * lyxfunc.C: don't check for isp_command == "none" any more, it
8009 didn't make any sense
8011 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8016 * makefile.am: move counters functionality over
8017 from text2.C/paragraph.[Ch] to counters.[Ch], and
8019 2002-08-02 John Levon <levon@movementarian.org>
8021 * buffer.C: s/lyxconvert/lyx2lyx/
8023 2002-08-02 Angus Leeming <leeming@lyx.org>
8025 * lyxlex.C: revert John's change as it breaks reading of the user
8028 2002-08-02 Angus Leeming <leeming@lyx.org>
8030 * importer.C (Import):
8031 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8032 changes due to LyXView::view() now returning a boost::shared_ptr.
8034 2002-08-02 John Levon <levon@movementarian.org>
8036 * lyxlex.C: small cleanup
8038 2002-08-02 John Levon <levon@movementarian.org>
8040 * text2.C (status): small cleanup, no logic change
8042 2002-08-01 John Levon <levon@movementarian.org>
8045 * buffer.C (writeFile): don't output alerts, caller
8049 * lyx_cb.C: from above
8051 * lyxfunc.C: allow to open non-existent files
8053 2002-07-31 John Levon <levon@movementarian.org>
8055 * lyxserver.C: don't let incidental errors get
8058 2002-07-30 John Levon <levon@movementarian.org>
8060 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8062 2002-07-30 John Levon <levon@movementarian.org>
8065 * lyxserver.C: remove I/O callback too
8067 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8069 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8072 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * many files: strip,frontStrip -> trim,ltrim,rtrim
8076 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * PrinterParams.h: remove extern containsOnly, and include
8079 support/lstrings.h instead.
8081 * LaTeX.C (scanAuxFile): modify because of strip changes
8083 * buffer.C (makeLaTeXFile): ditto
8084 * bufferparams.C (writeFile): ditt
8085 * lyxfont.C (stateText): ditto
8086 * lyxserver.C (read_ready): ditto
8087 * vc-backend.C (scanMaster): ditto
8089 * BufferView_pimpl.h: ws changes
8091 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8093 2002-07-26 André Pönitz <poenitz@gmx.net>
8095 * kb_sequence.C: remove unnedred usings
8097 2002-07-26 Juergen Vigna <jug@sad.it>
8099 * lyxfind.C (LyXReplace): we have to check better if the returned
8100 text is not of theLockingInset()->getLockingInset().
8102 2002-07-25 Juergen Vigna <jug@sad.it>
8104 * lyxfind.C (LyXReplace): don't replace if we don't get the
8107 * undo_funcs.C (createUndo): remove debugging code.
8109 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8111 * buffer.C (parseSingleLyXformat2Token): Use default placement
8112 when reading old floats.
8114 * FloatList.C (FloatList): Change the default placement of figure
8115 and tables to "tbp".
8117 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8119 * MenuBackend.C: using std::max
8121 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8123 * MenuBackend.C (expandToc):
8124 (expandToc2): code moved from xforms menu frontend. It is now
8125 generic and TOCs are transparent to menu frontends.
8127 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8129 * toc.C (getTocList): protect against buf=0
8131 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8132 Menu as first parameter. Now, this calls itself recursively to
8133 expand a whole tree (this will be useful for TOC handling)
8134 (expandFloatInsert): remove 'wide' version of floats
8136 * MenuBackend.h (submenuname): returns the name of the submenu.
8137 (submenu): returns the submenu itself, provided it has been
8138 created by MenuBackend::expand
8140 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8142 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8143 insets which have noFontChange == true. (bug #172)
8145 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * BufferView_pimpl.C: add connection objects and use them...
8150 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8152 * MenuBackend.C (expandLastfiles):
8155 (expandFloatListInsert):
8156 (expandFloatInsert):
8157 (expand): split expand in parts
8159 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8161 * lyx_gui.C: use lyx_gui::exit()
8163 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8165 * LyXAction.C: show the failing pseudo action
8167 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8169 * buffer.C (readFile): Run the lyxconvert script in order to read
8172 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8176 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8178 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8182 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8184 2002-07-22 Herbert Voss <voss@lyx.org>
8187 * lyxlength.[Ch]: add support for the vertical lengths
8189 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8191 * toc.[Ch]: std:: fixes
8193 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8195 * lyxrc.C: do not include lyx_main.h
8197 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8203 * BufferView2.C: include "lyxlex.h"
8206 * bufferparams.h: do not #include "lyxlex.h"
8208 * lyxtextclasslist.C (Add): remove method
8209 (classlist): renamed to classlist_
8211 * paragraph_pimpl.C:
8215 * bufferview_funcs.C:
8220 * toc.C (getTocList): use BufferParams::getLyXTextClass
8222 * toc.C (getTocList): use InsetFloat::addToToc
8224 * toc.[Ch]: new files, containing helper functions to handle table
8227 * lyxfunc.C (dispatch): no need to remove spaces around command
8229 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8230 first command of the sequence; it is not very clever, but I do not
8231 have a better idea, actually
8233 * LyXAction.C (LookupFunc): make sure to remove space at the
8234 beginning and end of the command
8236 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8238 * MenuBackend.C (getMenubar): new method: return the menubar of
8240 (read): treat differently reading of menu and menubar (in
8241 particular, the menubar has no name now)
8242 (Menu::menubar): remove
8244 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8247 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8249 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8250 a bibitem inset in a RTL paragraph.
8252 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8254 * paragraph_pimpl.C: constify
8256 * BufferView_pimpl.C:
8258 * lyxfunc.C: fix dispatch in a nicer way
8260 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8262 * lyxfunc.C (dispatch):
8263 * BufferView_pimpl.C:
8264 * BufferView_pimpl.h:
8266 * BufferView.h: rename Dispatch() to dispatch()
8268 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8270 * lyxlayout.C (Read): honor DependsOn tag
8272 * lyxlayout.[Ch] (depends_on): new method
8274 * version.C.in: update lyx_docversion
8276 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8278 * paragraph.C (validate): remove from here...
8279 * paragraph_pimpl.C (validate): ... and move here
8280 (isTextAt): make it const
8282 * buffer.C (getLists): ws cleanup
8284 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8286 * language.C (read): Use iso8859-1 encoding in latex_lang
8287 (this prevents LyX from crashing when using iso10646-1 encoding).
8289 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8291 * text2.C (toggleInset): if cursor is inside an inset, close the
8292 inset and leave cursor _after_ it
8294 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8296 * lyxfunc.C: move minibuffer completion handling out of here
8298 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8300 * BufferView_pimpl.C:
8301 * LaTeX.C: fix dispatch calls
8303 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8305 * text.C (drawChars): Fix Arabic text rendering.
8307 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8311 * lyxfunc.C: remove message-push/pop
8315 * lyxfunc.C: rationalise some code by removing verboseDispatch
8316 in favour of a bool argument to dispatch()
8318 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8320 * lyx_main.C (init): make sure to read symlinks as absolute paths
8322 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8325 * lyxfunc.C: no need for commandshortcut to be a member
8327 2002-07-15 André Pönitz <poenitz@gmx.net>
8329 * converter.C: add support for $$s (scripts from lib/scripts dir)
8330 * lyx_main.C: white space
8332 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8336 * lyxrc.C: remove second exit confirmation
8338 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8343 * BufferView_pimpl.h:
8344 * BufferView_pimpl.C:
8345 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8347 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8349 * MenuBackend.C (expand): add numeric shortcuts to document menu
8351 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8353 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8355 * lyxfont.C (setLyXFamily):
8362 * buffer.C (asciiParagraph): use ascii_lowercase
8364 2002-07-15 Mike Fabian <mfabian@suse.de>
8366 * lyxlex_pimpl.C (search_kw):
8367 * lyxlex.C (getLongString):
8368 * converter.h (operator<):
8369 * converter.C (operator<):
8370 * buffer.C (parseSingleLyXformat2Token):
8372 * ToolbarDefaults.C (read):
8373 * MenuBackend.C (checkShortcuts):
8375 * LColor.C (getFromGUIName):
8376 (getFromLyXName): use the compare_ascii_no_case instead of
8377 compare_no_case, because in turkish, 'i' is not the lowercase
8378 version of 'I', and thus turkish locale breaks parsing of tags.
8380 2002-07-16 Angus Leeming <leeming@lyx.org>
8382 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8383 now takes a Buffer const & argument.
8385 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8387 * BufferView.C (resize): check there's a buffer to resize
8389 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8391 * lyxfunc.C: remove dead code
8394 * lyxserver.C: use lyx_guii::set_read_callback
8396 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8398 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8399 an inset in a RTL paragraph.
8401 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8403 * lyxfunc.C: repaint after a font size update
8405 2002-07-15 André Pönitz <poenitz@gmx.net>
8407 * lyxlength.C: inBP should be able to return negative values
8409 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8411 * lyxfunc.C: use lyx_gui::update_fonts()
8413 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8415 * lyxfunc.C: use lyx_gui::update_color()
8417 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8423 * lyxrc.C: remove file->new asks for name option, and let
8424 buffer-new take an argument
8426 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8428 * BufferView_pimpl.C: remove unneeded extra repaint()
8430 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8432 * LyXAction.C: allow command-sequence with NoBuffer
8434 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8436 2002-07-10 Angus Leeming <leeming@lyx.org>
8438 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8440 2002-07-09 Angus Leeming <leeming@lyx.org>
8442 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8444 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8446 * lengthcommon.h: whitespace
8448 * lyxfunc.C: update scrollbar after goto paragraph
8450 * lyxtext.h: factor out page break drawing, and fix it so
8451 page break/added space paints as selected nicely
8453 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8455 * BufferView_pimpl.C: add FIXMEs, clean up a little
8457 2002-07-09 André Pönitz <poenitz@gmx.net>
8459 * lyxfont.[Ch]: support for wasy symbols
8461 2002-07-08 André Pönitz <poenitz@gmx.net>
8463 * BufferView_pimpl.C: apply John's patch for #93.
8465 2002-07-05 Angus Leeming <leeming@lyx.org>
8467 * BufferView_pimpl.C (buffer): generate previews if desired.
8469 * LColor.h: add "preview" to the color enum.
8471 * LColor.C (LColor): add a corresponding entry to the items array.
8473 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8476 2002-07-05 Angus Leeming <leeming@lyx.org>
8478 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8479 The body of the code is now in the method that is passed an ostream &
8480 rather than a file name.
8481 Pass an additional only_preamble parameter, useful for the forthcoming
8484 2002-07-03 André Pönitz <poenitz@gmx.net>
8486 * lyxfunc.C: simplify getStatus() a bit for math stuff
8488 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8490 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8492 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8494 * text.C (changeRegionCase): do not change case of all the
8495 document when region ends at paragraph end (bug #461)
8497 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8499 * paragraph.C (startTeXParParams):
8500 (endTeXParParams): add \protect when necessary
8502 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8504 * BufferView_pimpl.C (workAreaExpose): remove warning
8506 2002-06-27 Angus Leeming <leeming@lyx.org>
8508 * Makefile.am: add lyxlayout_ptr_fwd.h.
8510 2002-06-26 André Pönitz <poenitz@gmx.net>
8512 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8514 2002-06-25 Angus Leeming <leeming@lyx.org>
8516 * lyxfunc.C (dispatch): Comment out the call to
8517 grfx::GCache::changeDisplay. The method no longer exists now that the
8518 pixmap generation part of the graphics loader has been moved into
8521 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8523 * text2.C: layout as layout
8525 * text.C: layout as layout
8527 * tabular.C (OldFormatRead): layout as layout
8529 * paragraph_pimpl.C (TeXDeeper): layout as layout
8530 (realizeFont): layout as layout
8532 * paragraph.C (writeFile): layout as layout
8533 (validate): layout as layout
8534 (getFont): layout as layout
8535 (getLabelFont): layout as layout
8536 (getLayoutFont): layout as layout
8537 (breakParagraph): layout as layout
8538 (stripLeadingSpaces): layout as layout
8539 (getEndLabel): layout as layout
8540 (getMaxDepthAfter): layout as layout
8541 (applyLayout): layout as layout
8542 (TeXOnePar): layout as layout
8543 (simpleTeXOnePar): layout as layout
8544 (TeXEnvironment): layout as layout
8545 (layout): layout as layout
8546 (layout): layout as layout
8548 * lyxtextclass.C (compare_name): new functor to work with
8549 shared_ptr, layout as layout
8550 (Read): layout as layout
8551 (hasLayout): layout as layout
8552 (operator): layout as layout
8553 (delete_layout): layout as layout
8554 (defaultLayout): layout as layout
8556 * lyxlayout_ptr_fwd.h: new file
8558 * lyxlayout.C (Read): layout as layout
8560 * lyx_cb.C (MenuInsertLabel): layout as layout
8562 * bufferlist.C (newFile): layout as layout
8564 * buffer.C (readLyXformat2): layout as layout
8565 (parseSingleLyXformat2Token): layout as layout
8566 (insertStringAsLines): layout as layout
8567 (asciiParagraph): layout as layout
8568 (latexParagraphs): layout as layout
8569 (makeLinuxDocFile): layout as layout
8570 (simpleLinuxDocOnePar): layout as layout
8571 (makeDocBookFile): layout as layout
8572 (simpleDocBookOnePar): layout as layout
8573 (getLists): layout as layout
8575 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8577 * CutAndPaste.C (cutSelection): layout as layout
8578 (pasteSelection): layout as layout
8579 (SwitchLayoutsBetweenClasses): layout as layout
8581 * BufferView_pimpl.C (Dispatch): layout as layout
8582 (smartQuote): layout as layout
8584 * BufferView2.C (unlockInset): layout as layout
8586 2002-06-24 André Pönitz <poenitz@gmx.net>
8588 * lyxfunc.C: fix #487
8590 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8594 * lyxfunc.C: remove display_shortcuts, show_banner
8596 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8598 * Buffer_pimpl.C: oops, update on resize
8600 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8607 * BufferView.C: use repaint()
8609 * BufferView_pimpl.h:
8610 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8611 as it's a clearer description. Remove superfluous
8614 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8616 * text.C: fix bug 488. Not ideal, but getting
8617 getWord() to work properly for the insets that
8618 matter is more difficult ...
8620 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8622 * BufferView_pimpl.C:
8625 * lyxfunc.C: remove the six million index lyxfuncs to just
8626 one, and DTRT (bug 458)
8628 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8632 * BufferView_pimpl.h:
8633 * BufferView_pimpl.C: clean up resize() stuff,
8634 and unnecessary updateScreen()s
8636 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8640 * BufferView_pimpl.h:
8641 * BufferView_pimpl.C:
8644 * minibuffer.C: remove focus management of workarea,
8645 not needed. Use screen's greyOut()
8647 2002-06-17 Herbert Voss <voss@lyx.org>
8649 * converter.C: (convert) do not post a message, when converting
8650 fails, let the calling function decide what to do in this case
8652 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8654 * lyxfunc.C: tidy up a little
8656 2002-06-16 <alstrup@diku.dk>
8658 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8659 Got rid of FORMS_H_LOCATION include. Now we are
8662 2002-06-15 LyX Development team <lyx@rilke>
8664 * buffer.[Ch] (sgmlOpenTag):
8665 (sgmlCloseTag): Added support for avoiding pernicious mixed
8666 content. Return number of lines written.
8669 (makeDocBookFile): Fixed calls to sgml*Tag.
8670 Simple white space clean.
8672 (simpleDocBookOnePar): Simple white space clean.
8674 * tabular.[Ch] (docBook): Renamed to docbook and got another
8675 argument to related with the pernicious mixed content.
8677 (docbookRow): Fixed calls for docbook inset method.
8679 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8681 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8682 so it's X11 independent.
8686 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8688 2002-06-15 Lyx Development team <lyx@electronia>
8690 * intl.h: Renamed getTrans to getTransManager.
8692 2002-06-14 Angus Leeming <leeming@lyx.org>
8694 * Makefile.am: nuke forgotten stl_string_fwd.h.
8696 2002-06-12 Angus Leeming <leeming@lyx.org>
8698 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8700 2002-06-13 Angus Leeming <leeming@lyx.org>
8703 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8705 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8707 * kbmap.C (getiso): add support for cyrillic and greek
8709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8713 * BufferView_pimpl.h:
8714 * BufferView_pimpl.C: move bogus scrolling logic
8717 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8720 * BufferView_pimpl.C: view->resize() change
8722 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8724 * BufferView_pimpl.C: topCursorVisible
8727 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8731 * lyx_gui.C: move to frontends/
8735 * lyx_main.C: changes from above
8737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8744 * lyx_main.C: minor tidy
8746 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8748 * BufferView_pimpl.h:
8749 * BufferView_pimpl.C:
8751 * BufferView.C: make painter() const,
8754 * BufferView2.C: use screen() accessor
8757 * lyx_main.C: some minor cleanup
8759 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8761 * BufferView_pimpl.h:
8762 * BufferView_pimpl.C: remove enter/leaveView,
8765 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8770 * BufferView_pimpl.h:
8771 * BufferView_pimpl.C: only construct screen once,
8774 * lyxrc.C: remove pointless comment
8776 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8779 * BufferView.C: remove active() and belowMouse()
8781 * BufferView_pimpl.h:
8782 * BufferView_pimpl.C: use workarea() not workarea_,
8783 and make it use a scoped_ptr instead
8785 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8787 * lyx_gui.C: add debug message on BadWindow
8789 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8791 * sp_spell.C: fdopen is not part of the C++ standard.
8793 * paragraph.C (InsetIterator): use >= instead of ==
8795 2002-06-07 Angus Leeming <leeming@lyx.org>
8797 Fixes needed to compile with Compaq cxx 6.5.
8798 * BufferView_pimpl.C:
8805 * lyxtextclasslist.C:
8810 all c-library variables have been moved into namespace std. Wrap
8811 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8816 Add a using std::abs declaration.
8818 * kbmap.h (modifier_pair):
8819 * paragraph.h (InsetTable, InsetList):
8820 * lyxfont.h (FontBits):
8821 type definition made public.
8823 * bufferlist.C (emergencyWriteAll): the compiler complains that
8824 there is more than one possible lyx::class_fun template to choose from.
8825 I re-named the void specialisation as lyx::void_class_fun.
8827 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8829 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8830 the compiler is is unable to find tostr in write_attribute.
8832 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8834 * buffer.C (sgmlError): hide #warning
8836 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * xtl/*: get rid of xtl, which is not in use anyway
8840 * LyXAction.C (init):
8841 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8842 were unimplemented xtl experimentation
8844 2002-06-04 André Pönitz <poenitz@gmx.net>
8846 * lyxfunc.C: disable array operation on simple formulae
8848 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8850 * converter.C: constify a bit
8852 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8854 * lyx_gui.C: check xforms version correctly
8856 2002-04-30 Herbert Voss <voss@lyx.org>
8858 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8861 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8863 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8864 attempt to register it with a VCS)
8866 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8868 * lyx_main.C (init): honor variables LYX_DIR_13x and
8871 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8875 * lyx_main.C: fix a crash on bad command line,
8876 and give a useful exit status on error
8878 * lyxfunc.C (doImport): allow -i lyx to work
8880 2002-03-30 André Pönitz <poenitz@gmx.net>
8882 * lyxfunc.C: mathed font changes
8884 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8899 * trans_mgr.h: srcdocs, and some minor cleanups
8901 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8903 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8904 call getFont all the time)
8906 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * switch from SigC signals to boost::signals
8910 2002-05-29 André Pönitz <poenitz@gmx.net>
8912 * paragraph_pimpl.C (getChar): don't call size() too often...
8914 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8916 * paragraph_pimpl.C (insertChar): do not try to update tables when
8917 appending (pos == size())
8919 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8920 in order to reduce drastically the number of comparisons needed to
8921 parse a large document
8923 2002-05-29 André Pönitz <poenitz@gmx.net>
8929 * textclasslist.[Ch]:
8930 * sp_ispell.h: whitespace change
8932 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8934 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8935 lyxaction directly now.
8937 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8941 * lyxvc.C: remove unused headers
8943 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8950 * undo_funcs.C: some cleanups. Use shared_ptr
8951 and a template for the undo stacks.
8953 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8955 * BufferView_pimpl.h:
8956 * BufferView_pimpl.C:
8963 * text2.C: use key_state/mouse_state
8965 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8967 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8970 * chset.C: change include order
8971 (loadFile): use boost regex and get rid of LRegex and LSubstring
8973 * Makefile.am (BOOST_LIBS): new variable
8976 * LaTeX.C: change include order.
8977 (scanAuxFile): use boost regex and get rid of LRegex and
8981 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8986 * FontInfo.C: moved to frontends/xforms/
8989 * FontLoader.C: moved into frontends for GUIIzation
8994 * lyxfunc.C: changes from above
8996 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8998 * LColor.C: remove spurious X include
9000 * BufferView_pimpl.C:
9005 * text2.C: move font metrics to frontends/
9007 2002-05-24 Juergen Vigna <jug@sad.it>
9009 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9010 setting the undo_cursor.
9012 * ParagraphParameters.h: include local includes first.
9014 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9016 * BufferView_pimpl.C:
9017 * BufferView_pimpl.h:
9021 * screen.C: move WorkArea into frontends/
9027 * BufferView2.C: move LyXScreen into frontends/
9031 * lyx_gui.C: move lyxlookup into frontends/xforms/
9033 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9036 * BufferView_pimpl.C:
9046 * bufferview_funcs.C:
9059 * vc-backend.C: move LyX/XFormsView into frontends/
9061 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9073 * text2.C: move Painter to frontends/
9075 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * buffer.C: comment out some some code that depend upon lyx_format
9080 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9081 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9083 * buffer.h (NO_COMPABILITY): turn off compability
9085 * ColorHandler.C: include scoped_array.hpp
9087 * font.C: Use more specific smart_ptr header.
9090 * ShareContainer.h: ditto
9094 * BufferView_pimpl.h: ditto
9095 * ColorHandler.h: ditto
9097 * kbmap.C (defkey): change call to shared_ptr::reset
9099 2002-05-21 Juergen Vigna <jug@sad.it>
9101 * buffer.C (insertErtContents): fix to insert ert asis if it is
9102 non empty. Skip it completely if it contains only whitespaces.
9104 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9106 * BufferView_pimpl.C:
9107 * BufferView2.C: clear selection on paste (bug 393)
9109 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * DepTable.C: include ctime
9113 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9115 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9117 2002-05-14 Juergen Vigna <jug@sad.it>
9119 * text.C (breakParagraph): fixed function to honor the keepempty
9120 layout in the right maner and also to permit the right breaking
9121 algorithm on empty or non empyt keepempty paragraphs.
9123 * paragraph.C (breakParagraph): we have to check also if the par
9124 is really empty (!size()) for isempty otherwise we do the wrong
9127 2002-05-10 Juergen Vigna <jug@sad.it>
9129 * buffer.[Ch] : The following are only changes to the ert
9130 compatibility read reading old LaTeX layout and font stuff and
9131 convert it to ERTInsets.
9133 * buffer.h: added isErtInset().
9135 * buffer.C (struct ErtComp): add a fromlayout bool to check
9136 if we're inside a LaTeX layout.
9137 (isErtInset): new helper function.
9138 (insertErtContents): look for other ert insets before this one
9139 and insert the contents there, so that we don't have subsequent
9140 ERT insets with nothing between them. This way we create only one
9141 inset with multiple paragraphs. Also check if we don't insert only
9142 spaces ' ' as they are ignored anyway afterwards in the .tex file
9143 so if we have only spaces we will ignore this latex part in the
9145 (parseSingleLyXformat2Token \\layout): better compatibility when
9146 reading layout-latex stuff.
9147 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9149 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9150 stuff after reading the inset only get the information back from
9153 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9155 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9157 * LaTeXFeatures.C (getBabelOptions): New method.
9159 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9161 * BufferView_pimpl.C (Dispatch): work around missing argument for
9164 2002-05-08 Juergen Vigna <jug@sad.it>
9166 * text.C (leftMargin): handle paragraph leftindent.
9168 * paragraph.C (writeFile): write the new \\leftindent tag.
9169 (validate): handle leftindent code.
9170 (TeXEnvironment): handle paragraphleftindent code again.
9172 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9174 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9175 for paragrap_extra indent code and new token \\leftindent.
9176 (latexParagraphs): handle the leftindent as environment.
9178 * ParameterStruct.h: added leftindent support.
9180 * ParagraphParameters.C (leftIndent): added support functions for
9181 the paragraph left indent.
9183 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9186 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9188 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9191 * text.C (computeBidiTables): No bidi in insetERT.
9193 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9196 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9198 * version.C.in: pre 5
9200 2002-05-02 José Matos <jamatos@fep.up.pt>
9201 * buffer.C (makeDocBookFile): white space changes, add newline to
9203 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9205 * tabular.C (docBook): fix typo.
9207 2002-05-03 Juergen Vigna <jug@sad.it>
9209 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9210 change in LyXText as we can not be sure it was not freed.
9211 (drawOneRow): remove unused code.
9213 * text.C (drawInset): redo the calculation of the need_break_row as
9214 it could have a row which was already freed.
9215 (draw): look at the return value of drawInset and return false if
9216 it also returned false.
9217 (paintRowText): look at the return value of draw and return false if
9218 it also returned false.
9220 * lyxtext.h: added bool return type to drawInset() and draw() so that
9221 if we have a change in the row so that the rowbreak has to be redone
9222 we abort drawing as it will be called again.
9224 2002-05-02 Juergen Vigna <jug@sad.it>
9226 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9227 a change in the maintext also if we're inside an inset.
9228 (Dispatch): set the cursor again after a break line and after the
9229 screen has been updated as it could be we're in a different row.
9231 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9232 to set the cursor behind the pargraph with > size().
9233 (setCursor): check also for the same paragraph when checking where
9234 to put the cursor if we have a NFR inset.
9236 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9237 parts of layout read further up as it still was in the wrong
9240 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9242 * screen.C (drawFromTo): change sine fullRebreak always return
9245 * buffer.C (parseSingleLyXformat2Token): reindent some
9247 * BufferView_pimpl.C (update): change since fullRebreak always
9249 (Dispatch): git rid of the last hardcoded "Standard"s.
9251 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9253 * text2.[Ch] (fullRebreak): make it return void now that we always
9256 2002-04-30 Juergen Vigna <jug@sad.it>
9258 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9259 ert compatibility check for "latex" layout.
9261 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9263 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9264 minipages: use col% instead of p%, and also use the current font.
9265 (makeLaTeXFile): Fix use babel condition.
9266 (parseSingleLyXformat2Token): Correct font when reading old floats.
9268 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9270 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9271 inserting list of floats.
9273 2002-04-25 Herbert Voss <voss@lyx.org>
9275 * MenuBackend.C (expand): don't add the graphics extensions to the
9278 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9280 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9281 non-existing layout, do not complain if it was the default layout
9282 of the original class (bug #342)
9284 2002-04-24 Juergen Vigna <jug@sad.it>
9286 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9287 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9289 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9291 * buffer.C (getBibkeyList): If using \bibliography, return the
9292 option field with the reference itself. Enables us to provide natbib
9293 support when using \bibliography.
9295 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9297 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9299 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9300 natbib is provided by the LaTeX class.
9302 2002-04-23 Juergen Vigna <jug@sad.it>
9304 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9307 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9309 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9313 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9314 ensuremath around textordmasculine, textordfeminine and
9317 2002-04-19 Juergen Vigna <jug@sad.it>
9319 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9320 reinitializing the buffer otherwise row-dimensions may be wrong.
9321 (update): reset also the selection cursors if they do exits otherwise
9322 their x/y positions may be wrong.
9324 * text2.C (cursorDown): don't enter the inset if we came from a row
9325 above and are one row over the inset.
9327 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9328 really leaving an inset.
9330 2002-04-18 Juergen Vigna <jug@sad.it>
9332 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9333 of the selected paragraph does not have the selected layout also if
9336 * text2.C (setLayout): fixed bug which did not change last selected
9339 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9340 changed the read and substituted \\end_float with \\end_inset!
9342 * BufferView_pimpl.C (cursorPrevious):
9343 (cursorNext): fixed to make it work with rows heigher than the work
9344 area without moving the cursor only the draw of the row.
9345 (workAreaMotionNotify): fix jumping over high rows.
9347 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9352 2002-04-16 Juergen Vigna <jug@sad.it>
9354 * text2.C (setCursor): set also the irow().
9355 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9357 (cursorDown): support for locking an inset if the x_fix value goes
9358 inside it. That way I can transverse insets too with cursor up/down.
9360 * lyxrow.h: added irow helper function same as other (i) functions.
9362 * BufferView_pimpl.C (cursorPrevious):
9363 (cursorNext): fixed for insets!
9365 2002-04-15 Juergen Vigna <jug@sad.it>
9367 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9368 position otherwise it is wrong in some cases.
9370 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9371 inside the inset before the call.
9373 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9375 * buffer.[Ch] (getBibkeyList): make it const.
9377 2002-04-12 Juergen Vigna <jug@sad.it>
9379 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9381 * text2.C (getCursorX): new helper function
9382 (setCursor): compute also ix_
9383 (setCursorFromCoordinates): set also ix.
9385 * lyxcursor.h: added ix_ and helper functions.
9387 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9389 * buffer.C (insertStringAsLines): dont break paragraph if the this
9390 paragraph is inside an inset which does not permit it!
9392 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9393 also with no chars on this paragraph.
9394 (paintRowText): only paint stuff if it's inside the workarea!
9396 * paragraph.C (breakParagraph): honor keepempty flag and break the
9397 paragraph always below not above.
9399 * BufferView2.C (unlockInset): update the paragraph layout on inset
9400 unlock as we changed paragraph in such a case.
9402 * lyxfind.C (LyXFind): clear the former selection if not found!
9404 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9405 again called in insertChar().
9407 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9408 an inset which uses the whole row!
9409 (rightMargin): ditto.
9410 (insertChar): force a rebreak if we inserted an inset!
9412 2002-03-28 Herbert Voss <voss@lyx.org>
9414 * lyxlength.[Ch]: add inBP() to get the right PS-point
9415 units (BigPoint). With inPixels we have rounding errors
9417 2002-04-11 Juergen Vigna <jug@sad.it>
9419 * text2.C (setCursorFromCoordinates): set iy to the right value.
9420 (setCursor): add check if row->previous exists!
9422 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9423 an old float_type as this was the case in the old code!
9425 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9427 * BufferView2.C (showLockedInsetCursor): use iy
9428 (fitLockedInsetCursor): ditto
9430 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9431 locked insets as there we have the right value now.
9433 * lyxcursor.C: added iy_ variable and iy functions to set to the
9434 baseline of cursor-y of the locked inset.
9436 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9437 (setCursor): fixed for insets which need a full row.
9439 * text.C (rowLastPrintable): don't ignore the last space when before
9440 an inset which needs a full row.
9441 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9442 as last character of a row when before a inset which needs a full row.
9444 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9446 * version.C.in: update date
9448 * text2.C (fullRebreak): try to always return true and see what
9451 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9453 * MenuBackend.C (expand): use Floating::listName
9455 * FloatList.C (FloatList): add listName argument to the built-in
9458 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9459 text associated with the float.
9461 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9463 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9465 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * ShareContainer.h: add a couple of missing typenames.
9469 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9471 * lyxrc.C (getDescription): use _() correctly rather than N_().
9473 2002-03-28 Herbert Voss <voss@lyx.org>
9475 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9476 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9478 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9480 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9481 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9483 2002-03-29 Juergen Vigna <jug@sad.it>
9485 * lyxfunc.C (dispatch): add a missing fitCursor call.
9487 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9488 it was scrolled by a cursor move, so return the bool status.
9490 * BufferView.C (fitCursor): return the bool flag also to the outside
9491 world as this is needed.
9493 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9495 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9496 call the edit() as it is not needed (and wrong) IMO.
9497 (workAreaButtonPress): set the screen_first variable before evt.
9498 unlock the inset as this may change screen_first and then we have
9499 a wrong y position for the click!
9501 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * MenuBackend.C (expand): another translation that I missed
9505 2002-03-28 Juergen Vigna <jug@sad.it>
9507 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9509 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9511 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9513 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9515 * MenuBackend.C (expand): fix export/view/update when there is no
9518 2002-03-27 Herbert Voss <voss@lyx.org>
9520 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9523 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9525 * bufferview_funcs.C (currentState): only show paragraph number
9526 for is DEVEL_VERSION is set.
9528 * lyxfunc.C (dispatch): put warning in INFO channel
9530 * MenuBackend.C (expand): translate the name of floats
9532 * FloatList.C (FloatList): mark the float names for translation
9534 * converter.C (convert): use LibScriptSearch
9536 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9538 * MenuBackend.C (defaults): fix default menu (we might as well get
9541 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9543 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9546 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9548 * lyxvc.C: reorder includes.
9550 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9552 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9555 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9557 * CutAndPaste.C: change layouts earlier on paste
9558 to avoid crashing when calling getFont()
9560 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9562 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9565 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * WorkArea.C: remove 'Pending' debug message.
9569 * most files: ws cleanup
9571 * buffer.[Ch]: ws changes
9573 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9575 2002-03-21 Juergen Vigna <jug@sad.it>
9577 * tabular.C (SetMultiColumn): collapse also the contents of the
9578 cells and set the last border right. Added a Buffer const * param.
9580 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9582 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9585 2002-03-19 Juergen Vigna <jug@sad.it>
9587 * text2.C (clearSelection): reset also xsel_cache.
9589 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9590 where it needs to be called (John tells us to do so too :)
9591 (selectionLost): reset sel_cache.
9593 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9595 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * text2.C (setCursorIntern): put debuging code in INSETS channel
9599 2002-03-19 André Pönitz <poenitz@gmx.net>
9601 * lyxfunc.C: tiny whitespace change
9603 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9605 * ToolbarDefaults.C (init):
9606 * LyXAction.C (init):
9608 * BufferView_pimpl.C (Dispatch):
9609 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9611 2002-03-19 Allan Rae <rae@lyx.org>
9613 * exporter.C (Export): removeAutoInsets before doing anything else.
9614 While I've just introduced a dependency on BufferView this really is
9615 the best place to clean the buffer otherwise you need to cleanup in
9616 a dozen places before calling export or cleanup in a dozen functions
9619 * converter.C (runLaTeX):
9620 (scanLog): Better handling of removeAutoInsets and screen updates.
9622 * lyxfunc.C (dispatch): small whitespace changes
9624 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9626 * WorkArea.C (C_WorkAreaEvent): return a value.
9627 (event_cb): return 1 if we handled the event, 0 otherwise.
9629 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9631 2002-03-18 Juergen Vigna <jug@sad.it>
9633 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9634 (GetAdditionalWidth): ditto.
9638 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9639 inset if we're there actually (probably not used right now but this
9640 is the direction to go for unifying code).
9641 (paste): disable code to clear the selection.
9643 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9644 inside an InsetText and move the check further up as it is in the
9647 * text2.C (pasteSelection): set a selection over the pasted text.
9649 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9651 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9652 and libgraphics to build on Cygwin.
9654 2002-03-15 Juergen Vigna <jug@sad.it>
9656 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9657 inserting an Inset into the paragraph. I know this is not the best
9658 fix but we already use current_view in CutAndPaste so we will remove
9659 all of it's using at the same time.
9661 * buffer.C (sgmlError): deactivated function till it is rewritten in
9662 the right mode, now it can create problems.
9664 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9665 before accessing it.
9667 2002-03-14 Juergen Vigna <jug@sad.it>
9669 * undo_funcs.C (textHandleUndo): do the right thing when updating
9670 the inset after the undo/redo.
9672 * text2.C (setCursor): just some testcode for #44 not ready yet.
9674 * undo_funcs.C (textHandleUndo): set the next() and previous()
9675 pointers of the paragraph to 0 before deleting otherwise we have
9676 problems with the Paragraph::[destructor].
9678 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9679 on a paragraph insertion.
9681 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9683 * buffer.C (asciiParagraph): use += operator for char append to
9686 * paragraph.C (getFontSettings): compare >= not just >
9687 (highestFontInRange): ditto
9690 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * paragraph.C: change several algorithm to be more appripriate for
9693 the problem domain. This is lookip in FontList and in the InsetList.
9695 2002-03-13 André Pönitz <poenitz@gmx.net>
9698 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9700 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9705 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9707 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * Painter.C (display): anon helper function, adjust code for this
9711 (pixmap): remove function.
9713 * Painter.h: remove private display variable.
9715 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9717 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9719 * WorkArea.[Ch]: remove figinset_canvas cruft.
9721 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9723 * lyxtextclass.C (operator): add one item cache optimization.
9725 * bufferlist.h: doxy changes
9727 * bufferlist.C: ws changes
9729 * DepTable.[Ch] (ext_exist): place const in the right spot.
9731 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9733 (workAreaExpose): call resizeInsets when the with BufferView changes.
9734 (Dispatch): adjust for protectedBlank removal
9735 (specialChar): call updateInset if the insert went ok.
9737 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9738 specialChar instead.
9740 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9742 * BufferView.h: doxy change
9744 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9746 * lyxtextclass.C (operator[]): remove non-const version
9747 (defaultLayout): remove non-const version
9749 2002-03-12 Juergen Vigna <jug@sad.it>
9751 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9752 did resize the LyXText too.
9754 * buffer.C (readLyXformat2): set layout information on newly allocated
9757 * tabular.C (OldFormatRead): set layout information on the paragraph.
9759 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9761 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9763 2002-03-11 Juergen Vigna <jug@sad.it>
9765 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9767 (resizeCurrentBuffer): force also the insets to resize themselfes.
9768 (moveCursorUpdate): fixed up for InsetText.
9770 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9773 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9774 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9775 value of Dialogs::tooltipsEnabled().
9776 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9778 2002-03-08 Juergen Vigna <jug@sad.it>
9780 * BufferView_pimpl.C (updateInset): update inset inside inset also
9781 if it isn't inside theLockingInset().
9783 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * buffer.C (asciiParagraph): redo some of the word and line length
9787 (getLists): look for Caption instead of caption.
9789 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9791 * buffer.C (Buffer): initialize niceFile to true
9794 (makeDocBookFile): make sure niceFile is true on exit
9796 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9800 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9802 * LyXSendto.C: remove.
9803 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9804 * lyx_gui.C: remove now-redundant comment.
9805 * ColorHandler.h: remove forward declaration of class WorkArea.
9806 * lyxfunc.C: remove #include "WorkArea.h".
9808 2002-03-07 Juergen Vigna <jug@sad.it>
9810 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9811 got moved away with the DEPM and also set the inset_owner always
9812 right which before could have been omitted.
9814 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9817 wanted layout is not found.
9819 2002-03-07 Juergen Vigna <jug@sad.it>
9821 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9823 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * paragraph.C (breakParagraph): use default layout not layout of
9827 (Paragraph): clear ParagraphParameters.
9829 2002-03-06 Juergen Vigna <jug@sad.it>
9831 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9832 otherwise it would not be a valid lenght. Fixed a special case in
9833 the minipage compatibility read where we end the document with a
9836 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9837 was set as it could be 0 for InsetTexts first entry.
9839 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9841 * paragraph.C (writeFile): if layout is empty write out
9842 defaultLayoutName().
9844 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9845 file without named layout we set layout to defaultLayoutName().
9847 2002-03-06 Juergen Vigna <jug@sad.it>
9849 * CutAndPaste.C (copySelection): set layout for new paragraph.
9851 * text.C (prepareToPrint): leave ERT inset left aligned
9852 (leftMargin): don't indent paragraphs inside ERT insets
9854 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9856 * paragraph.C (breakParagraph): dont call clear do the work manually
9858 * paragraph.[Ch] (clear): remove function
9860 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9862 * paragraph.C (Paragraph): dont call clear, the work has already
9865 * lyxtextclass.C (operator): assert if n is empty
9867 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9868 work manually instead.
9870 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9872 * BufferView_pimpl.C: protect selectionLost against text == 0
9874 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9876 * text.C (breakParagraph): fix a setting layout to '0' problem.
9878 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9880 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9881 final location of file, for the included files, and graphics.
9883 2002-03-05 Juergen Vigna <jug@sad.it>
9885 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9887 2002-03-04 Juergen Vigna <jug@sad.it>
9889 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9891 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9892 last column of multicolumn cells.
9893 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9895 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9897 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9898 file if it doesn't go to a temporary file.
9900 * buffer.C (sgmlOpenTag):
9901 (sgmlCloseTag): remove extra newline insertion.
9903 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9905 * text.C (getRowNearY): comment out debug msg
9907 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * text2.C: first -> first_y
9911 * text.C (getRowNearY): add some attemts at a possible
9912 optimization, not working.
9914 * tabular.[Ch]: add BufferParams to several function so that newly
9915 created paragraph can be initialized to he default layotu for the
9918 * tabular-old.C (ReadOld): add buf->params to call of Init
9920 * screen.C: rename text->first to text->first_y
9922 * paragraph.C (breakParagraph): always set layout in the broken
9925 * lyxtextclass.C (Read): remove lowercase
9928 (delete_layout): ditto
9930 * lyxtext.h: rename first -> first_y
9932 * lyxlayout.C (Read): remove lowercase
9935 (obsoleted_by): ditto
9937 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9939 * buffer.C (insertErtContents): add params are to InsetERT
9940 (parseSingleLyXformat2Token): add code to check if a paragraphs
9941 layout really exist.
9942 (parseSingleLyXformat2Token): add params to several inset
9944 (asciiParagraph): remove lowercase, do the layout comparisons with
9947 * BufferView_pimpl.C (cursorNext): first -> first_y
9948 (resizeCurrentBuffer): first -> first_y
9949 (updateScrollbar): first -> first_y
9950 (scrollCB): first -> first_y
9951 (workAreaMotionNotify): first -> first_y
9952 (workAreaButtonPress): first -> first_y
9953 (checkInsetHit): first -> first_y
9954 (cursorPrevious): first -> first_y
9955 (cursorNext): first -> first_y
9956 (Dispatch): add buffer_->params to severl inset contructors
9958 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * lyxlayout.C (Read): remove some debug info that I forgot.
9962 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9963 clean up the code slightly.
9964 (makeLinuxDocFile): ditto
9965 (makeDocBookFile): ditto
9967 * text2.C: layout as string
9969 * text.C: layout as string
9971 * paragraph_pimpl.C: layout as string
9973 * paragraph.[Ch]: layout as string
9975 * lyxtextclasslist.[Ch]: layout as string
9977 * lyxtextclass.[Ch]: layout as string
9979 * lyxtext.h: layout as string
9981 * lyxlayout.[Ch]: layout as string
9983 * lyx_cb.C: layout as string
9985 * bufferview_funcs.C: layout as string
9987 * bufferparams.C: layout as string
9989 * buffer.C: layout as string
9991 * LyXView.[Ch]: layout as string
9993 * LaTeXFeatures.[Ch]: layout as string
9995 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9997 * BufferView_pimpl.C: change current_layout to string, remove
10002 (workAreaButtonRelease): layout as string
10004 * BufferView2.C (unlockInset): adjust
10006 * vspace.C (asLatexCommand): use an explict temp variable.
10008 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10010 * Makefile.am: use FRONTEND_*
10012 2002-03-01 Juergen Vigna <jug@sad.it>
10014 * tabular.C (SetWidthOfMulticolCell): changed to something better
10015 I hope but still work in progress.
10016 (recalculateMulticolumnsOfColumn): renamed function from
10017 recalculateMulticolCells as it is more appropriate now.
10018 (SetWidthOfCell): calculate multicols better.
10020 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10024 * lyxfunc.C (processKeySym): print sequence also if it is
10025 `deleted' (complete)
10027 * kbsequence.C (print): print sequence even if it is deleted
10028 (complete would be a better word, actually).
10030 * lyxfunc.C (dispatch): print complete options after a prefix key
10032 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10034 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10036 * text2.C (setCharFont): eliminate setCharFont code duplication.
10038 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10040 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10041 LFUN_TABULAR_FEATURE (bug #177)
10043 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10045 * Makefile.am: remove figure.h
10047 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10049 * Bufferview_pimpl.C:
10061 * text2.C: remove #include "lyx_gui_misc.h".
10063 * LaTeX.C: added #include <cstdio>
10065 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10068 that the paragraph following this one can have.
10070 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10072 * vspace.C (asLatexCommand): fix bogus gcc warning
10074 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10076 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10078 * text2.C (setLayout): get rid of redundant code
10080 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10082 * text2.C (incDepth): make sure depth cannot be increased beyond
10085 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10087 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10088 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10090 * PainterBase.h (image):
10091 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10092 a LyXImage const *.
10094 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10098 * BufferView_pimpl.C:
10099 * BufferView_pimpl.h:
10119 * sp_spell.C: remove fig inset, and the crap house of
10120 cards that follows it
10122 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10127 * os2_errortable.h:
10128 * nt_defines.h: move .h into support/
10130 * vms_defines.h: remove
10132 * WorkArea.C: add space in debug output
10136 * buffer.C: add WITH_WARNINGS
10140 * bufferlist.C: s/retrive/retrieve/, add docs
10149 * chset.C: add docs
10151 * lyxgui.C: add ID to X error handler
10153 * lyxtestclass.c: fix typo
10155 2002-02-26 Juergen Vigna <jug@sad.it>
10157 * tabular_funcs.C (write_attribute): changed so that some default
10158 attributes are not written at all.
10159 (getTokenValue): set default values before trying to read the
10160 value so we have the return value always set as default if we don't
10161 find the token we search for.
10163 * tabular.C (Write): write bools as bools not as strings!
10165 2002-02-22 Juergen Vigna <jug@sad.it>
10167 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10168 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10170 * text.C (leftMargin): don't add an indent for paragraphs inside
10171 tabular cells (fix #208).
10173 2002-02-21 José Matos <jamatos@fep.up.pt>
10175 * tabular.C (docBook): fixed support for long tables.
10177 2002-02-20 Juergen Vigna <jug@sad.it>
10179 * text2.C (getFont): get the drawing font of the Inset if this
10180 paragraph is inside an inset (only important for InsetERT for now).
10182 * buffer.C (insertErtContents): use new lanugage params in ERT
10185 * CutAndPaste.C: commenting out seemingly uneeded code.
10187 2002-02-19 Allan Rae <rae@lyx.org>
10189 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10190 Iterators might be simple to use but they also get invalidated.
10191 (removeAutoInsets): renamed saved cursor tracking variables and added
10192 some comments to clarify what everything does.
10194 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10201 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10202 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10205 * vc-backend.h: remove #include "support/syscall.h"
10209 * converter.C: rearrange #includes in Lars' approved fashion.
10211 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10212 forward declare class Timeout in the header file.
10214 * XFormsView.C: changes due to the above.
10216 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10217 similar to LyXView.
10219 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10220 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10222 2002-02-18 José Matos <jamatos@fep.up.pt>
10224 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10227 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10229 * a lot of small ws changes
10230 * add a lot of using std::XXX
10231 * use std construcs some places where approp.
10232 * use some exisint stuff from lyxfunctional where approp.
10233 * Make file changes to use partial linking (lets test this now...)
10235 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10239 remove #include "support/syscontr.h" as it's redundant. Always has been.
10247 change Systemcalls::System to Systemcalls::Wait and
10248 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10249 No change of functionality, just reflects the stripped down Systemcalls
10252 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10254 * debug.[Ch]: add a GRAPHICS type to the enum.
10256 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10258 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10260 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10263 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10265 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10266 match the changes below.
10268 * text2.C (toggleInset): if there is not editable inset at cursor
10269 position, try to see if cursor is _inside_ a collapsable inset
10272 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10274 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10275 document menu has a nice checkbox
10277 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * lyxlength.C (asLatexString): change PW to output as percent of
10282 * lengthcommon.C: change '%' to 't%'
10284 * lyxfunc.C (dispatch): a few comments from Martin
10286 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10290 * BufferView_pimpl.h:
10291 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10294 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10296 * vspace.C (inPixels): fix compiler warning
10298 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10300 * lyxfunc.C (getStatus): fix status message for disabled commands.
10302 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10304 * BufferView_pimpl.C: fix crash on close buffer
10305 during selection (#227)
10307 2002-01-27 Herbert Voss <voss@lyx.org>
10309 * buffer.C: link old Figure to new graphic inset
10311 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10313 * FontLoader.C (getFontinfo): Change the latex font names in order
10314 to match the names of type1inst.
10316 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10318 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10320 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10321 (extchanged): ditto
10323 (remove_files_with_extension): ditto
10324 (remove_file): ditto
10327 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10328 document is smaller than the work area height. Do not initialize
10329 static variables to 0.
10331 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10335 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10336 LFUN_LAYOUT_PARAGRAPHS.
10338 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10339 tabular. It is possible to provide a possible cell, which will
10340 typically be the actcell from the corresponding insettabular
10342 * lyxfunc.C (getStatus): small cleanup; disable
10343 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10346 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10350 * paragraph.C (startTeXParParams):
10351 (endTeXParParams): new methods. The LaTeX code to
10352 start/end paragraph formatting
10353 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10354 empty (fixes bug #200)
10356 * vspace.C (inPixels): adapt to the change below
10357 (inPixels): [later] more cleanups (remove unused variables)
10359 * lyxlength.C (inPixels): change to use a width and a height as
10362 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10364 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10365 Replaced with \paperwidth
10367 * DepTable.C (insert): add std:: qualifier
10369 2002-01-18 Allan Rae <rae@lyx.org>
10371 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10374 * text.C (drawInset): Turned out I didn't know enough about how
10375 rebreaking worked. This fixes most of the redraw problems. I see
10376 an occasional cursor trail when a line is broken now and the cursor
10377 placement can seem out by a few pixels also after a rebreak.
10379 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10381 * buffer.C (parseSingleLyXformat2Token): update because minipage
10382 width is now a LyXLength
10384 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10386 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10389 2002-01-17 Juergen Vigna <jug@sad.it>
10391 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10393 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10394 is set correctly and the inset is updated correctly.
10396 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10398 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10399 the beginning of the loop.
10401 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10403 * lyxrc.C: improve help for use_scalable_fonts
10405 2002-01-17 Allan Rae <rae@lyx.org>
10407 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10409 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10411 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10412 make sure to set their inset_owner to the right value (bug #171)
10414 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10417 * DepTable.C: Implement mtime checking to reduce time spent doing
10420 2002-01-16 Juergen Vigna <jug@sad.it>
10422 * tabular.C (GetAdditionalHeight): one of error fixed.
10424 * lyxrc.C (output): small fix in writing use_pspell.
10426 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10428 * sp_base.h: #include LString.h
10430 2002-01-16 Allan Rae <rae@lyx.org>
10432 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10433 Can someone check this please?
10435 * text.C (drawInset): It was possible that p.row would be removed by
10436 breakAgainOneRow upsetting a few other settings. There may be another
10437 small tweak possible by setting need_break_row = 0 when p.row has been
10438 removed but I don't know enough about the logic here.
10440 2002-01-15 Allan Rae <rae@lyx.org>
10442 * text.C (insertChar): removed conditional truism.
10444 * BufferView2.C (removeAutoInsets): More tweaks.
10445 cur_par_prev could be a stray pointer. Check for trailing empty line
10446 in case last line was cur_par and only had an error inset on it.
10448 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10453 * vc-backend.C (most methods):
10454 * exporter.C (Export):
10455 * converter.C (convert):
10457 * LyXSendto.C (SendtoApplyCB):
10458 * lyxfunc.C (dispatch):
10462 * lyx_cb.C (AutoSave):
10464 * BufferView_pimpl.C (MenuInsertLyXFile):
10465 * buffer.C (runChktex): use Buffer::filePath().
10467 * buffer.h: rename filename to filename_; rename filepath to
10468 filepath_ and make it private
10469 (filePath): new method
10471 * buffer.C (writeFile): use fileName()
10474 * lyx_main.C (init): fix starting of LyX when the binary is a
10475 link from so,ewhere else.
10477 * minibuffer.C: include <cctype> for isprint
10479 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10481 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10482 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10483 name clash with InsetCollapsable's width function.
10485 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * lastfiles.C: include <iterator>
10489 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10491 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10494 * buffer.C (makeLaTeXFile): ditto.
10495 Also make loop operation more transparent.
10497 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10499 * ToolbarDefaults.C: remove trailing comma closing namespace.
10501 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10503 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10506 * trans.C (Load): comment out unused variable, allowed.
10508 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10510 * minibuffer.[Ch] (append_char): new method to recieve input from the
10511 drop-down completion browser. If a key was pressed, then recieve this
10512 char and append it to the existing string.
10513 (peek_event): modify the positioning data passed to the completion
10514 browser so that it can be placed above the minibuffer rather than below.
10515 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10517 * LyXAction.C (init): alloe error-next for readonly documents.
10519 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10522 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * bufferlist.C (readFile): create the buffer _after_ checking that
10527 * lyxfunc.C (verboseDispatch): fix handling of arguments
10529 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10531 * lyxrc.C: use string::erase() instead of initializing to "".
10534 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10536 * BufferView_pimpl.h:
10537 * BufferView_pimpl.C:
10540 * text2.C: tell X when we have made a selection for copying
10542 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * BufferView_pimpl.C (MenuInsertLyXFile):
10545 * lyxfunc.C (menuNew):
10547 (doImport): add shortcuts to directory buttons
10549 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10552 * lyxfunc.C (setStatusMessage):
10553 (getStatusMessage): new methods
10554 (getStatus):use setStatusMessage instead of setErrorMessage
10555 (dispatch): when function is disabled, set error message here
10556 [instead of in getStatus previously]
10558 * BufferView_pimpl.C (workAreaButtonRelease): update
10559 toolbar/menubar here too.
10561 2002-01-13 Allan Rae <rae@lyx.org>
10563 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10564 Now seems indestructible. Remaining task is to audit all other
10565 code affected by deleteEmptyParagraphMechanism. One small quirk
10566 left is that an empty document with an error in the preamble can
10567 be made to report an error but no error box appears. I don't know
10569 (removeAutoInsets): Improved comments.
10571 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10574 * Thesaurus.C: update for Aiksaurus 0.14
10576 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * text2.C (firstParagraph): removed member function, all uses
10579 replaces with ownerParagraph
10580 (redoParagraphs): here
10581 (updateInset): here
10582 (toggleAppendix): here
10583 * BufferView2.C (insertErrors): here
10584 (setCursorFromRow): here
10586 2002-01-13 Allan Rae <rae@lyx.org>
10588 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10589 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10590 There is still a way to segfault this although you may have to do this
10591 multiple times: Have an InsetERT with an unknown command in it.
10592 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10593 <down-arrow>, <Enter> again, View->DVI, BANG!
10595 * text2.C (setCursor):
10596 (deleteEmptyParagraphMechanism):
10597 * lyxtext.h (setCursor):
10598 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10599 Making use of the return value may help fix other bugs.
10601 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10605 * LyXView.C (updateMenubar): call MenuBar::update here
10606 (updateToolbar): but not here
10607 (showState): do not update toolbar/menubar
10609 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10610 should need to care about that.
10612 * lyxfunc.C (verboseDispatch): simplify a bit
10613 (getStatus): have a version which takes a pseudoaction, and
10614 another which requires a (kb_action,string).
10616 * LyXAction.C (retrieveActionArg): make it work also when action
10617 is not a pseudo-action.
10618 (getActionName): simplify a bit
10621 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10623 * lyxfunc.C (verboseDispatch): new families of methods with
10624 several ways to specify a command and a bool to indicate whether
10625 the command name and shortcut should be displayed in minibuffer
10626 (eventually, we could extend that to a finer bitmask like
10627 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10628 (dispatch): the pristine dispatch command which just, well,
10629 dispatchs! Note it still sets its result to minibuffer; I'm not
10632 * lyxfunc.h: remove setHintMessage
10634 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10636 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10638 * BufferView_pimpl.C (specialChar): delete new inset if we have
10639 not been able to insert it.
10641 * kbmap.C: revert to using int instead of kb_action, since all we
10642 are dealing with is pseudo-actions.
10644 * LyXAction.C (searchActionArg): change to return int instead of
10645 kb_action, since the result is a pseudoaction.
10647 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10649 * buffer.C (insertErtContents): Fix (partially) the font bug.
10651 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10653 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10654 as the other one is broken on my machine!
10656 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10659 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10661 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10663 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10664 reflect their actual use. Provide compatibility code for older lyxrc
10667 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10669 change names of popup font variables in line with the changes to lyxrc.C
10671 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10673 * buffer.C (asciiParagraph): avoid outputing a word twice after
10676 * lyxrc.C (getDescription): document that document_path and
10677 template_path can be empty.
10679 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10681 * LaTeXFeatures.C (getMacros):
10682 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10684 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10686 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10688 (getPackages): rename feature "floats" to "float". Use an array to
10689 iterate over 'simple' features (i.e. just a \usepackage). Add
10690 handling of "amsmath" (renamed from "amsstyle").
10692 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10694 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10697 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10699 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10700 FuncStaus::FuncStatus & FuncStaus::some_method().
10702 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10704 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10705 of the func_satus stuff. Edited and massaged in various ways by
10708 * lyxfunc.C (getStatus): use FuncStatus
10710 2002-01-08 Juergen Vigna <jug@sad.it>
10712 * text.C (nextBreakPoint): use function Inset::isChar().
10714 * paragraph.C (TeXOnePar): use function
10715 Inset::forceDefaultParagraphs.
10717 * buffer.C (latexParagraphs): use function
10718 Inset::forceDefaultParagraphs.
10720 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10722 * lyx_gui.C (init): set the style of the menu popups to
10723 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10725 2002-01-07 Juergen Vigna <jug@sad.it>
10727 * text.C (setHeightOfRow): small fix
10728 (prepareToPrint): don't look at alignment if we don't have the place
10731 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10733 * box.C: New file. Move the Box methods and functions out of box.h,
10734 following Lars' suggestion.
10736 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10738 * box.h: #include "support/LOstream.h", needed for inlined function.
10741 * lyxtextclasslist.C: added some using std declarations.
10743 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10745 * box.h: make signed dimensions to allow insets wider than
10746 the screen (bug #162)
10748 * BufferView_pimpl.C: add some insetHit debug
10750 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10752 * vc-backend.C: add FIXME
10754 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * lyxfunc.C (getStatus): enable code for showing math font status
10759 2002-01-07 Juergen Vigna <jug@sad.it>
10761 * text.C (nextBreakPoint): removed debug output not needed anymore.
10763 2002-01-06 Juergen Vigna <jug@sad.it>
10765 * text.C (nextBreakPoint): fixed up this function we had this bug
10766 since ever but now hopefully we break row better.
10767 (insertChar): we have to check if an inset is the next char as it
10768 could now happen that a large inset is causing a break.
10770 2002-01-05 Juergen Vigna <jug@sad.it>
10772 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10773 if it doesn't like to be drawed.
10775 2002-01-04 Juergen Vigna <jug@sad.it>
10777 * BufferView2.C (lockInset): forgot to set a cursor.
10779 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10781 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10783 * FormMathsPanel.C:
10786 * form_maths_panel.C:
10787 * form_maths_panel.h:
10788 * form_maths_panel.fd: implemented sub- and super- buttons in math
10791 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10792 (or ^ space) to be used as in TeX (req'd by André).
10794 * lyxfunc.C: Allow ^ and _ again to be used both as
10795 super/subscript (mathed) and as themselves (in text).
10797 2002-01-03 Allan Rae <rae@lyx.org>
10799 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10800 "LyX" or the filename of the current buffer if it has one. This is a
10801 modified form of John Levon's patch.
10803 * XFormsView.C (setWindowTitle): also set icon title.
10805 * LyXView.h (setWindowTitle): signature changed.
10806 * XFormsView.h (setWindowTitle): ditto.
10808 2002-01-02 Juergen Vigna <jug@sad.it>
10810 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10812 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10814 * screen.C (topCursorVisible): introduce a temp var for
10815 text->cursor.row(), handle the case where this row is null. (kindo
10818 * text2.C (setCursor): add a couple of asserts.
10820 * paragraph.h (inset_iterator): add -> operator
10822 * paragraph.[Ch] (autoDeleteInsets): remove member function
10824 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10825 cursor pos correctly and handle inset deletion by itself.
10826 (insertErrors): move iterator declaration out of for expression
10828 * lyxtextclass.C: add <algorithm>
10830 * Makefile.am: added the new files to sources, removed layout.C
10832 * layout.C: removed file
10834 * layout.h: remove LYX_DUMMY_LAYOUT
10836 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10840 * lyxtextclass.[Ch]:
10841 * lyxtextclasslist.[Ch]: new files
10843 * include order changes to a lot of files, also changes because of
10846 2001-12-27 Juergen Vigna <jug@sad.it>
10848 * buffer.C (asciiParagraph): more fixes.
10850 * tabular.C (ascii): make ascii export support export of only the
10851 data separated by a column-delimiter.
10852 (ascii): better support for ascii export.
10854 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10856 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10858 * tabular_funcs.C: use a "using std::getline" instead of the
10859 previous fix from Angus (necessary for cxx + lyxstring)
10861 2001-12-24 Juergen Vigna <jug@sad.it>
10863 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10865 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10866 problems. First check a minipage also if we have some ert-contents
10867 (not only on par->size(), second set the right depth of the paragraph
10868 on the relink to the root-paragraph-list!
10870 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10871 which then did not anymore update the main paragraphs on undo/redo!
10873 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10875 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10876 code. Support all font-changing funcs (even those which are not in
10877 menu currently). Support for reporting font settings in
10878 mathed (disabled until Andre provides a function on mathed's side).
10880 * func_status.h (toggle): small helper function to set toggle
10883 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10885 * tabular_funcs.C: getline -> std::getline
10887 2001-12-21 Juergen Vigna <jug@sad.it>
10889 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10890 accessed and could be 0 (I couldn't generate this but it seems
10893 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10896 * tabular_funcs.h: here and include iosfwd
10898 2001-12-20 Juergen Vigna <jug@sad.it>
10900 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10901 inside inset but undo_par was.
10903 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10905 * Thesaurus.C: always include <config.h> in sources.
10909 * box.h: do not include <config.h> in header files
10911 * text.C (paintLastRow): remove unused variable
10913 * text.C (transformChar):
10915 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10917 * Painter.C (text):
10918 * font.C (width): rewrite to use uppercase() instead of
10921 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10923 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10925 * lyxfind.C: clean up of find failure position change
10927 2001-12-20 Juergen Vigna <jug@sad.it>
10929 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10931 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10932 (TeXRow): added to LaTeX a single tabular row.
10933 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10934 (Latex): simplified and finally good LT-h/f support.
10935 (various_functions): just small adaptions for LT-h/f support.
10937 * tabular_funcs.[hC]: added and moved here all not classfunctions
10940 2001-12-19 Juergen Vigna <jug@sad.it>
10942 * tabular.[Ch]: better support for longtabular options (not finished
10945 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10947 * text.C (paintLastRow): use the label font instead of the font of
10948 the last character to compute the size of *_BOX. This makes more
10949 sense and avoids a crash with empty paragraphs.
10950 Use Painter::rectangle to draw EMPTY_BOX.
10952 2001-12-19 Juergen Vigna <jug@sad.it>
10954 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10955 the paragraphs if the replaced paragraph is not the first one!
10956 Tried to delete not used paragraphs but does not work yet so for
10957 now it's inside #ifdef's and by default off!
10959 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10961 * MenuBackend.C: include "lyx_main.h" instead of declaring
10962 lastfiles (actually was declared as LastFiles* instead of a
10965 2001-12-17 Juergen Vigna <jug@sad.it>
10967 * tabular.C (AppendColumn): applied John's fix
10969 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10973 * BufferView_pimpl.h:
10974 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10977 * box.h: new start of class for above
10979 * lyxfunc.C: ignore space-only minibuffer dispatches.
10980 Show the command name when it doesn't exist
10982 * minibuffer.C: don't add empty lines to the history
10984 * minibuffer.C: add a space on dropdown completion
10986 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10988 * text.C: fix line above/below drawing in insets
10990 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10992 * lyxlength.C (LyXLength): Initialize private variables.
10994 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10996 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10997 when inserting error insets.
10999 2001-12-13 Juergen Vigna <jug@sad.it>
11001 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11002 actually sometimes the before-paragraph.
11003 (setUndo): don't clear the redostack if we're not actually undoing!
11005 2001-12-06 Juergen Vigna <jug@sad.it>
11007 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11008 and fixed redoing of main paragraph, so we can use it now ;)
11010 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11012 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11014 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11017 2001-12-13 André Pönitz <poenitz@gmx.net>
11020 * undo_func.C: minor cleanup
11022 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11024 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11025 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11026 font in urw-fonts package which is marked as -urw-fontspecific and
11027 does not work (incidentally, changing the encoding in the
11028 fonts.dir of this package to -adobe-fontspecific fixes the
11031 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11032 is a crash when undoing first paragraph (Juergen, please take a
11033 look). THis does not mean the undo fix is wrong, just that it
11036 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11037 the (Paragraph*) version when needed instead of duplicating the
11040 * text.C (workWidth): use Inset::parOwner to find out where the
11041 inset has been inserted. This is a huge performance gain for large
11042 documents with lots of insets. If Inset::parOwner is not set, fall
11043 back on the brute force method
11045 * paragraph_pimpl.C (insertInset):
11046 * paragraph.C (Paragraph):
11047 (cutIntoMinibuffer): set parOwner of insets when
11048 inserting/removing them
11050 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11052 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11058 * mathed/formulabase.C:
11059 * mathed/math_cursor.[Ch]:
11060 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11063 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11065 * lyxlength.[Ch] (operator!=): new function
11067 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11069 * text.C (workWidth): use Inset::parOwner to find out where the
11070 inset has been inserted. This is a huge performance gain for large
11071 documents with lots of insets. If Inset::parOwner is not set, fall
11072 back on the brute force method
11074 * paragraph_pimpl.C (insertInset):
11075 * paragraph.C (Paragraph):
11076 (cutIntoMinibuffer): set parOwner of insets when
11077 inserting/removing them
11079 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11081 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * tabular-old.C (getTokenValue):
11084 * tabular.C (getTokenValue):
11085 (write_attribute): new versions for LyXLength
11086 (everywhere): adjust the use of widths
11088 * tabular.h: change the type of widths from string to LyXLength
11090 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11092 * paragraph.C: fixed missing line number count when exporting
11093 Environments to LaTeX file
11095 * buffer.C: added informational message for checking line numbers.
11097 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11099 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11100 paragraph, do the 'double space' part, but not the 'empty
11103 * text.C (workWidth): small optimization
11104 (getLengthMarkerHeight): use minimal size for negative lengths.
11106 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11108 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11110 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11112 2001-12-11 André Pönitz <poenitz@gmx.net>
11115 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11117 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11119 * text2.C: keep selection on a setFont()
11121 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11123 * lyx_cb.C: another bv->text misuse, from insert label
11125 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11128 * kbsequence.C: re-instate nmodifier mask
11130 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11132 * lyx_main.h: make lyxGUI private.
11134 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11136 * lyxfind.C: place the cursor correctly on failed search
11138 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * text.C (getLengthMarkerHeight): for small heights, the arrows
11141 are not always on top/bottom of the text
11142 (drawLengthMarker): smaller arrows; take the left margin in
11143 account; draw also vfills.
11145 (paintLastRow): remove special code for vfill and standard spaces,
11146 since everything is handled in drawLengthMarker now.
11148 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11150 * buffer.C (insertErtContents): try to handle font and language
11151 interaction a bit better.g
11153 * ColorHandler.C (updateColor): change the hash to cover the whole
11154 LColor enum, ws cleanup
11155 (getGCLinepars): ditto
11156 (getGCLinepars): only lookup in the linecache once.
11158 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11160 * iterators.C (operator++): Make the iterator more robust
11162 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11164 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11166 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11169 * text.C: better added space drawing
11171 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11174 * BufferView2.C: fix layout combo update on inset unlock
11176 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11178 * Makefile.am: don't compile unused files
11180 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11184 * LyXAction.C: remove old LFUN_LAYOUTNO
11186 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11188 * paragraph_pimpl.h:
11189 * paragraph_pimpl.C: isTextAt() doesn't need font param
11191 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11194 * lyxlex.C: little cleanup
11196 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11198 * BufferView_pimpl.C: fix insertAscii for insets
11200 2001-12-05 Juergen Vigna <jug@sad.it>
11202 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11203 set the right font on the "multi" paragraph paste!
11205 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11211 * lyxlength.C: remove out-commented code.
11213 * BufferView_pimpl:
11227 * vc-backend.C: change "while(" to "while ("
11229 * lyxlength.[Ch]: add zero function to check if length is zero or
11231 * lyxgluelength.C: use it
11233 2001-12-05 Allan Rae <rae@lyx.org>
11235 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11236 Works for 2.95.3, from what I understand of Garst's reports this should
11237 work for other g++ versions. We're screwed if the abs(int) definition
11238 changed between bugfix releases of gcc.
11240 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11242 * text.C: fix chapter label offset !
11244 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11247 * text.C: fix hfill at end of line, clean up
11249 2001-12-04 Juergen Vigna <jug@sad.it>
11251 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11252 that we force an update of the inset and it's owners if neccessary.
11254 2001-12-03 Juergen Vigna <jug@sad.it>
11256 * text.C (rowLast): simplified code
11258 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11260 * lyxfunc.C: fix show options on timeout
11262 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11264 * screen.C (topCursorVisible): scroll half a page when the cursor
11265 reached top of bottom of screen
11267 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11269 * minibuffer.C: deactivate on loss of focus
11271 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11273 * vspace.[Ch] (operator!=): add operator.
11275 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11277 * BufferView_pimpl.C: refuse to open an inset when
11278 there's a selection.
11280 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11282 * BufferView_pimpl.C: allow to click on RHS of full row insets
11284 2001-11-30 Juergen Vigna <jug@sad.it>
11286 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11287 insets for undo reasons.
11289 2001-11-28 André Pönitz <poenitz@gmx.net>
11291 * vspace.[Ch]: cosmetical changes
11293 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11303 * kbsequence.C: part re-write of old kb code
11306 * WorkArea.C: remove Lgb_bug_find_hack
11308 2001-11-30 José Matos <jamatos@fep.up.pt>
11310 * buffer.C (makeDocBookFile): add a comment to point a hack.
11311 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11312 Fixed a double write of labels.
11314 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11317 * LaTeX.h Fixed bug in LaTeX class where it would not
11318 re-run latex if no depfiles were changed, but the .dvi was removed.
11320 2001-11-28 André Pönitz <poenitz@gmx.net>
11322 * all the files from the change on 2001/11/26:
11323 use lyx::layout_type instead of LyXTextClass::size_type
11324 use lyx::textclass_type instead of LyXTextClassList::size_type
11326 2001-11-29 Juergen Vigna <jug@sad.it>
11328 * text.C: added support for paragraph::isFreeSpacing()
11330 * buffer.C: same as above
11332 * paragraph.h: inserted isFreeSpacing() function to enable
11333 FreeSpacing inside InsetERT.
11335 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11336 of the paragraph's in the cut/copy buffer to 0!
11338 * text2.C (removeRow): remove the assert as it can!
11340 * lyxtext.h: added helper function firstRow returning firstrow and
11341 made firstrow private again.
11343 * BufferView2.C (lockInset): don't relock if we're already locked!
11345 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11346 the only paragraph.
11347 (removeRow): added Assert::(firstrow)
11349 * debug.C: forgot to add INSETTEXT here.
11351 2001-11-28 Juergen Vigna <jug@sad.it>
11353 * sp_spell.C (initialize): changed error text to more general
11354 spellchecker command use (not only ispell!)
11356 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11358 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11360 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11362 * vspace.C: initialise lyxgluelength on failure
11364 2001-11-28 Allan Rae <rae@lyx.org>
11366 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11367 declaration & definition that looks like a function declaration.
11369 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11371 * BufferView2.C (copy):
11372 (copyEnvironment): do not clear the selection when doing a copy.
11374 * text.C (paintFirstRow): compilation fix
11376 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11378 * tabular.C (Latex): correct line count when writing latex.
11380 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11382 * paragraph_pimpl.h:
11383 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11386 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11390 * LColor.C: change vfillline->added_space
11392 * text.C: add markers and text for added space
11394 * vspace.C: fix comment
11396 2001-11-28 André Pönitz <poenitz@gmx.net>
11398 * paragraph.C: whitespace changes
11399 * all the other files from the change on 2001/11/26:
11400 change *::pos_type into lyx::pos_type
11402 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11404 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11405 language of the document when inserting error insets.
11407 2001-11-26 André Pönitz <poenitz@gmx.net>
11409 * BufferView_pimpl.[Ch]:
11417 * paragraph_pimpl.[Ch]:
11420 * text2.C: reduce header dependencies, introduce type for positions
11422 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11424 * <various>: change to use Alert.h
11426 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11428 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11429 when encountering an unknown token.
11430 (readLyXformat2): Show an error message if there were unknown tokens.
11432 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11435 * BufferView_pimpl.C:
11439 * text2.C: use par->isInset()
11441 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11443 * paragraph_pimpl.h:
11444 * paragraph_pimpl.C: cleanup
11446 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11448 * text2.C (removeRow):
11449 * text.C (setHeightOfRow): remove useless (and costly) call to
11452 2001-11-20 Allan Rae <rae@lyx.org>
11454 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11455 Now need Inset*::checkInsertChar() to return true for appropriate
11456 cases so that the characters in the minibuffer will actually be
11459 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11461 * text.C: change the order of the includes.
11462 (workWidth): initialize it at once.
11463 (workWidth): make maxw unsigned
11464 (setHeightOfRow): remove unused variable (inset)
11465 (selectSelectedWord): remove unused variable (inset)
11466 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11468 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11470 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11471 server is not running.
11473 (closeConnection): add debug info when server is disabled.
11475 * ColorHandler.C (getGCForeground): send debug message to GUI
11478 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11480 * kbmap.C (bind): modify because return conventions of
11481 kb_sequence::parse have changed.
11483 * kbsequence.C (parse): only ignore spaces and not any stupid
11484 control character. This avoids tests like s[i] <= ' ', which are
11485 guaranteed to fail with 8bit characters and signed chars.
11486 Change return code to string::npos when there have been no error
11487 (0 was a bad idea when error is at first character)
11489 2001-11-14 José Matos <jamatos@fep.up.pt>
11492 * buffer.C (simpleDocBookOnePar): removed unused argument.
11494 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11497 insets which are part of a word. Paragraph::isLetter takes care of
11498 that now. Use Paragraph::isInset to identify insets.
11499 (selectSelectedWord): do not test for hyphenation break.
11501 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11502 that protected spaces are considered as spaces.
11504 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11507 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11510 * lyxserver.C: fix it. and small cleanup.
11512 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11514 * BufferView_pimpl.C: use inline helpers
11517 * LaTeXFeatures.C: fix typos
11520 * Spacing.C: move spacing_string into class
11522 * ToolbarDefaults.C: move stuff into namespace anon
11524 * layout.h: update enum
11526 * lyxfunc.C: use better debug
11528 * minibuffer.h: fix typo
11532 * WorkArea.C: add and use Debug::WORKAREA
11536 * text2.C: code re-organisation, inline helpers
11538 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11540 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11541 std::vector.empty().
11543 2001-11-09 Allan Rae <rae@lyx.org>
11545 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11546 '\n's after tables. Tabular and ERT inset work now makes this no
11549 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11552 * minibuffer.C: fix crash, improve drop-down completion
11554 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11557 * lyxserver.C: invalidate fd's when doing endPipe()
11559 2001-11-08 José Matos <jamatos@fep.up.pt>
11561 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11562 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11565 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11567 2001-11-07 José Matos <jamatos@fep.up.pt>
11570 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11573 * buffer.C (sgmlOpenTag):
11574 * buffer.C (sgmlCloseTag): removed debug info.
11576 * buffer.h (sgmlOpenTag):
11577 * buffer.h (sgmlCloseTag): made public.
11579 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11581 * buffer.C (saveParamsAsDefaults):
11582 * lyx_cb.C (MenuLayoutSave): remove
11584 * LyXAction.C (init):
11586 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11588 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11590 * buffer.C (setPaperStuff): removed from here...
11592 * bufferparams.C (setPaperStuff): ... and moved there.
11594 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11598 * XFormsView.C: add support for drop-down completion
11600 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11602 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11605 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11607 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11610 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11612 * lyx_main.C: change ref to known bugs
11614 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11616 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11617 to work around older babel problems.
11619 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11621 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11623 2001-10-24 Juergen Vigna <jug@sad.it>
11625 * tabular-old.C (ReadOld): below variable changes reflected.
11627 * tabular.[Ch]: added ltType struct for longtable header/footer
11628 defines and changed all instances where they are used. Added
11629 future support for double top/bottom rows.
11631 2001-10-24 José Matos <jamatos@fep.up.pt>
11633 * buffer.h (docbookHandleCaption):
11634 * buffer.C (docbookHandleCaption): removed unused function.
11635 (makeDocBookFile): moved docbook supported version to v4.1.
11637 2001-10-24 José Matos <jamatos@fep.up.pt>
11640 * tabular.C (docbookRow): new function to export docbook code of a row.
11641 (DocBook): now honors the longtable flags.
11643 2001-10-23 José Matos <jamatos@fep.up.pt>
11646 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11647 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11649 * buffer.C (makeLinuxDocFile):
11650 (makeDocBookFile): reworked the preamble, more clean, and with
11651 support for lyx defined entities. Changed the document declaration
11652 to be more XML friendly.
11654 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11655 if we need to output XML that should be done with a filter.
11657 2001-10-22 Juergen Vigna <jug@sad.it>
11659 * sp_pspell.h (class PSpell): add alive function needed in the
11660 controller to see if the spellchecker could be started.
11662 2001-10-22 Juergen Vigna <jug@sad.it>
11664 * buffer.C (insertStringAsLines): modify the font for inserting
11665 chars in certain conditions by calling checkInsertChar(font).
11667 2001-10-19 Juergen Vigna <jug@sad.it>
11669 * text.C (workWidth): use getRow instead of wrong algorithm.
11670 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11672 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11677 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11679 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11681 * text.C (workWidth): do not search for the exact row when
11682 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11683 optimization for big documents.
11685 2001-10-18 Juergen Vigna <jug@sad.it>
11687 * text.C (workWidth): new function with added Inset * parameter.
11689 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11691 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11693 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11694 change return type of getColumnNearX.
11697 * text.C (changeRegionCase): use uppercase/lowercase instead of
11700 (rightMargin): simplify code by factoring out the uses of
11705 (appendParagraph): use Paragraph::size_type
11707 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11709 * vspace.C (asLatexString): add a missing break
11711 2001-10-15 Herbert Voss <voss@perce.de>
11713 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11715 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11717 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11720 2001-10-10 André Pönitz <poenitz@gmx.net>
11722 * lyxfunc.C: removed greek_kb_flag.
11724 2001-10-10 Herbert Voss <voss@perce.de>
11726 * lyx_main.C: delete global string help_lyxdir.
11728 2001-10-09 Herbert Voss <voss@perce.de>
11730 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11732 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11734 * lyx_main.C: added global string help_lyxdir.
11736 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11738 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11740 * lyxrc.C (set_font_norm_type): support iso8859-4
11742 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11744 * LaTeX.C (deplog): add another regex for MikTeX
11746 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11748 * lyxrc.C (set_font_norm_type): support iso8859-3
11750 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11752 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11754 * LaTeXFeatures.C: remove special case of french and index
11756 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11757 before \begin{document}). This solves several incompatibilities.
11759 2001-10-03 Garst Reese <reese@isn.net>
11761 * lyx_cb.C: change CheckTex error msg.
11763 2001-10-03 José Matos <jamatos@fep.up.pt>
11765 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11767 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11769 * .cvsignore: update
11771 * lyx_main.C (commandLineVersionInfo): use new style version info.
11773 * buffer.C (writeFile):
11775 (makeLinuxDocFile):
11776 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11778 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11780 * version.h: update to use stuff in version.C
11782 * version.C.in: new file. Contains version information determined
11783 at compile time. This is a merging of version.h and
11786 2001-10-03 Juergen Vigna <jug@sad.it>
11788 * BufferView_pimpl.C (update): don't change "dirty" status in
11791 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11793 * WorkArea.C (c-tor): re-position version string slightly.
11795 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11797 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11798 revert to previous code.
11800 WorkArea.[Ch]: (show, destroySplash): methods removed.
11802 WorkArea.C: rework code so that it's an amalgam of the codes before and
11803 after the splash screen was moved to WorkArea.
11805 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11808 * vspace.C (inPixels):
11811 * buffer.C (insertStringAsLines):
11812 (asciiParagraph): fix types to be large enough
11814 * lyxlex_pimpl.h: change member status from short to int
11816 * layout.h: fix type of endlabeltype
11819 * kbsequence.C (parse): change return type to string::size_type
11821 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11824 * Bullet.C (bulletSize):
11825 (bulletEntry): do not use short ints as parameters
11827 * BufferView2.C (insertLyXFile): change a char to an int.
11829 * WorkArea.C (WorkArea): remove unneeded floats in computation
11831 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11833 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11835 * paragraph.C (asString): Do not ignore newline/hfill chars when
11836 copying to the clipboard.
11838 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11840 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11841 after a multi-line inset.
11843 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11845 * paragraph.C (validate): Set NeedLyXFootnoteCode
11847 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11849 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11850 and decrease-error to decrease.
11852 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11854 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11855 it more readable (should be equivalent)
11857 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11859 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11861 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11863 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11864 of a cursor (row, etc.) after a character has been deleted
11865 (deleteEmptyParagraphMechanism): call the method above on _all_
11866 cursors held by the LyXText when a double space has been
11869 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11871 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11873 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11875 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11876 background. Use greyOut() and the new show() methods to toggle between
11877 the foreground and background. Add code to remove the splash after
11878 its initial showing.
11880 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11881 (create_forms): no longer call Dialogs::showSplash.
11883 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11885 * .cvsignore: add version_info.h
11887 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11889 * version_info.h.in: new file
11891 * Makefile.am: add version_info.h.in
11893 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11894 version_info.h instead of VERSION_INFO
11896 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11898 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11899 The ERT inset now returns string().
11901 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11903 * lyxtext.h, text.C (selectNextWord): renamed as
11904 selectNextWordToSpellcheck.
11906 * text.C (selectNextWordToSpellcheck): Modified to not select
11907 words inside an ERT inset.
11909 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11911 * lyx_cb.C (MenuLayoutSave): change a bit the question
11913 * sp_base.h: include <sys/types.h>
11915 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11917 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11919 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11921 * several files: fix typos in user-visible strings
11923 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11925 * text2.C (pasteSelection): do not set the selection, since it
11926 will be cleared later. Actually, the intent was to fix the way the
11927 selection was set, but I figured rmoving the code was just as good.
11929 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11931 * FontLoader.C (available): Check if font is available without
11934 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11936 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11938 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11940 * lyxrc.[Ch]: added display_graphics variable and associated code.
11942 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11944 * bufferparams.C (hasClassDefaults): new method. Returns true if
11945 the buffer parameters correspond to known class defaults
11947 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11949 * XFormsView.C (show): set minimum size to the main window.
11951 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11953 * text2.C (copySelection):
11955 * lyxfind.C (LyXReplace):
11956 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11957 LyXText::selectionAsString.
11959 * paragraph.C (asString): add "label" argument to the second form
11961 * text2.C (selectionAsString): add "label" argument and pass it to
11962 Paragraph::asString.
11964 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11966 * lyx_main.C (commandLineHelp): remove version information
11968 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11970 * lyx_main.C: add -version commandline option
11972 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11974 * paragraph.h: make the optional constructor arg required instead.
11975 some modifications to other files because of this.
11977 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11979 * lyxserver.C (C_LyXComm_callback): make it static
11981 * lyx_main.C (error_handler): make it static
11983 * lyx_gui.C (LyX_XErrHandler): make it static
11985 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11987 * WorkArea.C: make the extern "C" methods static.
11989 * Makefile.am (lyx_LDADD): simplify
11991 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11993 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11994 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11996 * LyXAction.C (init):
11997 * lyxfunc.C (dispatch): associated code removal.
11999 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12001 * lyxfont.h (isSymbolFont): shut off warning
12003 * text.C (setHeightOfRow):
12004 (getVisibleRow): fix crash with empty paragraphs which have a
12007 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12009 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12012 2001-09-04 José Matos <jamatos@fep.up.pt>
12015 * tabular.C (docbook): rename docBook method to docbook.
12017 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12019 * Makefile.am: add dependencies to main.o.
12021 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12023 * FontLoader.C (available): Return false if !lyxrc.use_gui
12025 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12027 * FontInfo.C (query):
12028 * converter.C (view):
12029 * importer.C (Import):
12030 * exporter.C (Export): Can not -> cannot.
12032 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12034 * BufferView_pimpl.C: allow to create index inset even if
12037 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12039 * buffer.C (getLists): replace boost::tie code with an explicit pair
12040 as boost::tie can break some compilers.
12042 * iterators.h: Added a std:: declaration to the return type of
12045 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12047 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12050 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12052 * iterators.[Ch]: New files. Provide paragraph iterators.
12054 * buffer.C (changeLanguage): Use paragraph iterators.
12055 (isMultiLingual): ditto
12057 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12059 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12061 * FontLoader.C: Support for cmr font.
12063 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12065 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12066 (available): New method.
12068 * FontInfo.C (getFontname): Use scalable fonts even when
12069 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12072 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12074 * converter.C (Formats::view): reverted! Incorrect fix.
12076 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12078 * converter.C (Formats::view): only output the -paper option
12079 if the dvi viewer is xdvi, thereby fixing bug #233429.
12081 2001-08-23 Herbert Voss <voss@perce>
12083 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12085 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12087 * Spacing.h (Spacing): Set space to Default on in the default
12090 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12092 * vc-backend.h (RCS::versionString): add RCS to version
12093 (CVS::versionString): add CVS to version
12095 * vc-backend.C (scanMaster): do not add CVS to version.
12096 (scanMaster): do not add RCS to version
12098 * lyxvc.C (versionString): new method
12100 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12102 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * Spacing.C (set): initialize fval
12106 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12108 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12111 2001-08-16 Juergen Vigna <jug@sad.it>
12113 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12115 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12117 * BufferView_pimpl.C:
12120 * text2.C: setParagraph takes linespacing now
12122 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12124 * LyxAction.C: add internal LFUN_CITATION_INSERT
12126 * LyXView.C: actually apply fix
12128 * bufferlist.C: fix open non-existent file
12130 * lyxfind.C: fix indentation
12132 * lyxfunc.C: remove unneeded assert, fix typo
12134 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12136 * MenuBackend.C: use "Floatname List"
12138 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12140 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12141 when converting LaTeX layout to insetERT.
12142 Generate a non-collapsed float when reading old float
12144 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12146 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12149 2001-08-13 Juergen Vigna <jug@sad.it>
12151 * text.C (fill): return 0 instead of 20 as this seems to be the more
12154 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12156 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12159 2001-08-13 Juergen Vigna <jug@sad.it>
12161 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12163 (SearchBackward): comment out the unlocking of the inset_owner this
12164 should not be needed!
12166 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12168 * Many files: Remove inherit_language, and add latex_language
12170 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12171 collapsible insets.
12173 2001-08-10 Juergen Vigna <jug@sad.it>
12175 * text.C (prepareToPrint): fixed hfill-width in draw!
12177 * BufferView2.C (selectLastWord): save the selection cursor as this
12178 now is cleared in the function LyXText::clearSelection!
12180 2001-08-08 Juergen Vigna <jug@sad.it>
12182 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12183 BACKSPACE type functions.
12185 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12186 is only cutted from the document but not put in the cut-buffer, where
12187 still the old stuff should be.
12189 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12191 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12193 * tabular.C (SetWidthOfCell): fixed special case where the width
12195 (LeftLine): handle '|' in align_special.
12197 (LeftAlreadyDrawed): ditto
12198 (SetWidthOfCell): ditto
12200 2001-08-07 Juergen Vigna <jug@sad.it>
12202 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12204 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12207 * lyxlex.[hC]: ditto
12209 2001-08-06 Juergen Vigna <jug@sad.it>
12211 * text.C (getVisibleRow): fix up row clearing a bit.
12213 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * minibuffer.C: make sure the X server sees the changes in the input.
12217 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12219 * paragraph.C (getFont): split into...
12220 (getLabelFont): this
12221 (getLayoutFont): and this
12222 * paragraph_pimpl.C (realizeFont): calling this
12224 * text2.C (getFont): split into...
12225 (getLayoutFont): this
12226 (getLabelFont): and this
12227 (realizeFont): all three calling this
12229 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12232 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12234 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12236 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12238 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12239 layouts from the Quote inset insertion.
12241 2001-08-03 Juergen Vigna <jug@sad.it>
12243 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12245 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12246 only if status not is already CHANGED_IN_DRAW (second level).
12248 * text.C (draw): don't set the need_break_row when inside an
12251 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * buffer.C (parseSingleLyXformat2Token): handle more latex
12256 * bufferview_funcs.[hC]: change function names to
12257 begin with small char, adjust other files.
12259 2001-08-02 André Pönitz <poenitz@gmx.net>
12262 BufferView_pimpl.C: remove broken special code for math-greek
12264 2001-08-02 Juergen Vigna <jug@sad.it>
12266 * BufferView_pimpl.C (update): redone this function so that we
12267 update the text again if there was a CHANGE_IN_DRAW.
12269 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12270 (drawFromTo): added a new internal bool which is used by draw() and
12272 (general): some cursor drawing problems fixed.
12274 2001-08-01 Juergen Vigna <jug@sad.it>
12276 * lyxfind.C (LyXFind): fixed
12277 (SearchForward): ditto
12278 (SearchBackward): ditto
12280 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12281 spurius drawing of the cursor in the main area.
12283 * text2.C (status): small fix which could lead to a segfault!
12284 (clearSelection): remove unneeded BufferView param.
12286 2001-08-01 André Pönitz <poenitz@gmx.net>
12288 * lyxfunc.C: small change due to changed mathed interface
12290 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12292 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12294 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12296 * lyxfunc.c: fail gracefully if file doesn't exist
12301 * BufferView_pimpl.C: IsDirWriteable() proto changed
12303 * LyXView.C: fix updateWindowTitle() to store the last title
12305 2001-07-31 Juergen Vigna <jug@sad.it>
12307 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12308 the font (wrong since using of Paragraph::highestFontInRange).
12310 * paragraph.C (highestFontInRange): added a default_size parameter.
12312 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12313 (setHeightOfRow): reformat
12315 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * converter.[hC] + affected files: move to (inital-char)lowercase
12320 * ParagraphParameters.C (ParagraphParameters): remove commented code
12322 * PainterBase.[Ch]: remove commented code
12324 * LaTeXFeatures.h: add "bool floats" for float.sty
12326 * LaTeXFeatures.C (LaTeXFeatures): init floats
12327 (require): handle float
12328 (getPackages): do it with floats
12330 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12332 * BufferView_pimpl.C (Dispatch): improve handling of
12333 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12335 * commandtags.h: #include lyxfont.h here temporarily to avoid
12338 * bufferlist.h: include LString.h here.
12340 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12342 * text2.C (getStringToIndex): new method.
12344 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12346 * *: Reduced header file dependencies all over.
12348 2001-07-30 Baruch Even <baruch@lyx.org>
12350 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12352 2001-07-29 Baruch Even <baruch@lyx.org>
12354 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12356 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12358 * ParameterStruct.h (endif): add a default constructor to make
12359 sure that all variables is initialized.
12361 * ParagraphParameters.C (ParagraphParameters): adjust
12363 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12365 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12366 index; also, check that there is something to index, and that it
12367 does not span over several paragraphs.
12368 (doubleClick): use WHOLE_WORD_STRICT for double click.
12370 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12372 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12375 2001-07-26 Baruch Even <baruch@lyx.org>
12377 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12378 an InsetFig figure, backwards compatible reading of old figure code.
12380 2001-07-27 Juergen Vigna <jug@sad.it>
12382 * text2.C: font.realize function adaption.
12384 * text.C (draw): add a warnings lyxerr text if needed.
12386 * layout.C: font.realize function adaption.
12388 * language.C: add inherit_language and implement it's handlings
12390 * bufferview_funcs.C (StyleReset): remove language parameter from
12391 font creation (should be language_inherit now).
12393 * bufferparams.C (writeFile): handle ignore_language.
12395 * paragraph.C (getFontSettings): the language has to be resolved
12396 otherwise we have problems in LyXFont!
12398 * lyxfont.C (lyxWriteChanges): added document_language parameter
12399 (update): removed unneeded language parameter
12401 * paragraph.C (validate): fixed wrong output of color-package when
12402 using interface colors for certain fonts in certain environments,
12403 which should not seen as that on the final output.
12405 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12407 * BufferView_pimpl.C:
12412 * LyXAction.C: add thesaurus support
12415 * lyxfind.C: add "once" parameter, for thesaurus, to not
12416 move to the next match
12418 2001-07-26 Juergen Vigna <jug@sad.it>
12420 * lyxfont.C (realize): honor ignore_language too!
12423 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12425 * text.C (draw): one place more for ignore_language to not draw
12428 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12430 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12432 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12435 the minipage conversion problem.
12437 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12439 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12442 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * BufferView.h: don't forward declare WorkArea
12446 * BufferView.C: don't include WorkArea.h
12448 2001-07-25 André Pönitz <poenitz@gmx.net>
12452 * lyxfunc.C: new LFUN 'math-space'
12454 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12456 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * text2.C (toggleInset): call open/close
12460 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12462 * lyxfunc.C (dispatch): add debug for the disabled case
12464 * font.C (buttonText): make similar to rectText
12466 * buffer.C (readInset): comment out parsing of insetlist and
12469 * PainterBase.C (rectText): small correction
12471 * BufferView_pimpl.C: comment out insettheorem and insetlist
12472 * LyXAction.C: ditto
12473 * commandtags.h: ditto
12475 2001-07-24 Juergen Vigna <jug@sad.it>
12477 * text.C (draw): honor the ignore_language.
12479 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12481 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12483 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12486 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12488 * lyxtext.h: remove unused (and unimplemented) methods
12490 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12492 * text.C (getVisibleRow): honor background color
12495 * Painter.h: remove default color argument for fillRectangle
12497 * text.C (backgroundColor): new method
12499 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12501 * text.C (getVisibleRow): adjust
12503 * font.[Ch] (rectText): new method, metrics
12504 (buttonText): new method, metrics
12506 * PainterBase.[hC]: make rectText and buttonText always draw and take
12509 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12511 * ToolbarDefaults.C (read):
12512 * MenuBackend.C (read): allow escaping in all strings
12514 * BufferView_pimpl.C (insertAndEditInset): new method.
12515 (Dispatch): use insertAndEditInset whenever appropriate.
12517 * BufferView_pimpl.C (insertNote): removed
12519 * BufferView_pimpl.C (smartQuote): new method, moved from
12520 BufferView; if an insetquote cannot be inserted, insert a '"'
12523 * BufferView2.C: remove insertCorrectQuote();
12525 * lyxfunc.C (getStatus): Add support for all remaingin
12526 inset-insert lfuns.
12528 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12530 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12531 command (necessary to pass " as parameter of self-insert.
12533 * text.C (selectWordWhenUnderCursor):
12534 (selectWord): add word_location parameter
12535 (selectWordWhenUnderCursor): same + remove special code for word
12537 (selectNextWord): use kind() to guess type of insetspecialchar,
12540 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12541 (insertErtContents): create ert insets as collapsed.
12542 (readInset): better compatibility code for Info inset.
12544 2001-07-20 Juergen Vigna <jug@sad.it>
12546 * lyxfunc.C (dispatch): use always LyXFind now!
12548 * text2.C (init): add a reinit flag so that the LyXText can be
12549 reinited instead of deleted and reallocated (used in InsetText).
12551 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12557 2001-07-18 Juergen Vigna <jug@sad.it>
12559 * text.C (selectNextWord): handle insets inside inset by calling
12560 always the bv->text functions so that we can go up the_locking_inset!
12562 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12563 in strange locations when inside an inset!
12565 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12566 handling to include insets.
12568 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12570 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12572 * LyXAction.C (init):
12574 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12575 LIGATURE_BREAK, since the name is so stupid.
12577 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12579 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12582 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12584 * sp_form.[Ch]: remove.
12586 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12588 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12591 * src/buffer.C (readInset): ditto.
12593 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12595 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12596 menuSeparator(), endOfSentenceDot(), ldots() and
12597 hyphenationPoint(), which are therefore removed.
12598 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12600 * LyXAction.C (init):
12601 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12603 * paragraph.C (getWord): removed.
12605 * BufferView_pimpl.C (Dispatch): use last word or selection for
12606 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12608 * lyx_main.C (queryUserLyXDir): do not ask before creating
12609 user_dir, except if it has been named explicitely.
12611 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12613 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12614 a document of zero size.
12616 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12618 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12619 approriately in the c-tor and in require().
12620 (getPackages): output the appropriate LaTeX for natbib support.
12622 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12623 variables "use_natbib" and "use_numerical_citations" when reading the
12625 (readInset): read the various natbib cite commands.
12626 (validate): white-space change.
12628 * bufferparams.[Ch]: new variables "bool use_natbib" and
12629 "bool use_numerical_citations".
12630 (writeFile): output them in the LyX file.
12632 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12634 * lyxfunc.C (getStatus): add support for all the inset insertion
12637 * text2.C (insertInset):
12638 * paragraph.C (insetAllowed):
12639 * BufferView_pimpl.C (insertInset): update to take in account the
12640 renaming of insertInsetAllowed
12642 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12644 * text2.C (getInset): new method. returns inset at cursor position.
12646 * BufferView_pimpl.C (Dispatch): changes because of this.
12648 * LyXAction.C (init): rename open-stuff to inset-toggle.
12650 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12652 * text2.C (toggleInset): renamed from openStuff; use
12655 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12657 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12659 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12661 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12663 * buffer.C (readLyXformat2): Add filename to the error dialog
12665 2001-07-18 Juergen Vigna <jug@sad.it>
12667 * tabular.C (GetCellNumber): put an assert here instead of the check!
12669 2001-07-17 Juergen Vigna <jug@sad.it>
12671 * BufferView_pimpl.C (toggleSelection): adapted too.
12673 * text.C (selectNextWord): adapted for use with insets.
12674 (selectSelectedWord): ditto
12676 2001-07-17 Juergen Vigna <jug@sad.it>
12678 * sp_spell.C (PSpell): fix initialitation order.
12680 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12682 * paragraph.C: spacing
12684 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12686 * sp_spell.C: repair language selection for pspell
12688 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12690 * lyxfunc.h: change more methods to begin with lower char.
12692 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12694 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12695 for unknown layouts.
12697 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12699 * buffer.C (readLyXformat2): Generate an error dialog if there are
12702 2001-07-16 Juergen Vigna <jug@sad.it>
12704 * sp_spell.C: always compile ISpell part.
12706 * lyxrc.C: added use_pspell entry and it's handling.
12708 2001-07-13 Juergen Vigna <jug@sad.it>
12710 * sp_spell.C: removed double includes.
12712 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12714 Consistent use of Lsstream.h:
12715 * Lsstream.h: added using std::stringstream for consistencies sake.
12717 * buffer.C: removed using std::stringstream
12719 * lyxfont.C (stateText):
12720 * paragraph.C (asString):
12721 * text.C (selectNextWord, selectSelectedWord):
12722 * text2.C (setCounter):
12723 * vspace.C (asString, asLatexString):
12724 std::ostringstream -> ostringstream.
12726 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12728 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12729 * commandtags.h: add LFUN_HELP_ABOUTLYX
12730 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12732 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12734 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12736 * lyx_gui_misc.C: remove spellchecker
12737 * lyxfunc.C: showSpellchecker
12739 * sp_ispell.h: added
12740 * sp_pspell.h: added
12741 * sp_spell.C: added
12742 * sp_form.[Ch]: removed
12743 * spellchecker.[Ch]: removed
12745 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12747 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12749 (simpleTeXSpecialChars): Simply print the input character without
12750 any special translation if pass_thru is set.
12752 * layout.h: Added bool pass_thru to layout class for being able to
12753 implement pass through of a paragraph for Literate Programming.
12755 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12756 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12757 * layout.C (Read): add "passthru" to list of layout tags and add
12758 code to set the pass_thru boolean when it is read.
12760 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12762 * trans_decl.h: remove allowed from KmodInfo
12764 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12765 remove allowed code
12768 * paragraph_pimpl.C (erase): use boost::prior
12770 * Painter.C (text): use data() instead of c_str() when length is
12772 * WorkArea.C (putClipboard): ditto
12773 * font.h (width): ditto
12775 * BufferView2.C: use it-> instead of (*it). for iterators
12777 * paragraph_pimpl.C: ditto
12778 * paragraph.C: ditto
12779 * minibuffer.C: ditto
12780 * language.C: ditto
12782 * encoding.C: ditto
12783 * counters.C: ditto
12784 * converter.C: ditto
12786 * Variables.C: ditto
12787 * TextCache.C: ditto
12788 * MenuBackend.C: ditto
12789 * LyXAction.C: ditto
12791 * FloatList.C: ditto
12792 * DepTable.C: ditto
12793 * ColorHandler.C (LyXColorHandler): ditto
12795 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12797 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12799 * text2.C (openStuff): reintroduce this method (which had been
12800 nuked in NEW_INSETS frenzy).
12802 * lyxfunc.C (Dispatch): when an action has not been handled, use
12803 its name in the error message, not its number.
12805 * paragraph.C (inInset): change method name to begin with lowercase.
12808 * text2.C: updates because of this.
12810 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12812 * ToolbarDefaults.C (add): add spaces in error message
12814 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12817 (readLyXformat2): rename return_par to first_par, use lyxlex's
12818 pushToken and remove the manual push handling.
12819 (parseSingleLyXformat2Token): add another ert comp. variable:
12820 in_tabular, rename return_par to first_par. handle newlines better
12822 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12824 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12826 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * text2.C (getParFromID): removed
12830 * buffer.C (getParFromID): new method moved form lyxtext.
12831 * BufferView2.C (insertErrors): adjust
12832 (setCursorFromRow): adjust
12833 * BufferView_pimpl.C (restorePosition): adjust
12834 * lyxfunc.C (Dispatch): adjust
12835 * undo_funcs.C (textUndo): adjust
12837 (textHandleUndo): adjust
12838 (textHandleUndo): adjust
12840 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * buffer.C: up' the LYX_FORMAT
12844 * lyxfont.h: turn NO_LATEX on as default
12846 * buffer.C (insertErtContents): new methods of tex style compability.
12847 (parseSingleLyXformat2Token): use it several places.
12848 * tabular.C (OldFormatRead): and here
12850 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12852 * text2.C: remove some commented code.
12855 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12856 * trans.C: changes because of the above.
12858 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12860 * text2.C (setCounter): Fix counters bug with bibliography layout.
12862 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12865 own member functions
12866 (simpleTeXSpecialChars): ditto
12868 2001-07-06 Juergen Vigna <jug@sad.it>
12870 * a lot of files: changed the access to LyXText::status and the
12871 call of undo-functions.
12873 * undo.[Ch]: added a inset_id to the undo informations.
12875 * undo_funcs.[Ch]: added and moved here all undo functions.
12877 * lyxtext.h: give the status enum a weight, made status_ a private
12878 variable and made accessor functions for it, removed the whole bunch
12879 of undo-functions as they are now in their own file, make some
12880 functions publically available. Added function ownerParagraph with
12883 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12884 made InInset() a const function, added getParFromID() function.
12886 * buffer.[Ch]: added const version for inset_iterator functions,
12887 added getInsetFromID() function.
12889 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12890 changed undo functions for new version.
12892 2001-07-05 Juergen Vigna <jug@sad.it>
12894 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12895 unknow mechanism does not call the proper constructor but only this
12896 one also if I request the other!?
12898 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12900 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12902 * text2.C (LyXText): use initialization lists.
12904 * lyxtext.h (Selection): initialize set_ and mark_
12905 (init): remove method
12907 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12909 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12911 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12913 * screen.[Ch]: change method names to begin with lowercase
12915 * BufferView_pimpl.C (updateScrollbar): simplify further and
12916 hopefully make it a bit faster.
12918 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12920 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12921 calling directly xforms functions.
12923 * Painter.C (Painter):
12924 * lyx_cb.C (MenuWrite):
12925 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12928 * lyx_gui.C: remove bogus guiruntime extern declaration.
12930 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12932 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12934 (redoDrawingOfParagraph): ditto
12935 (redoParagraphs): ditto
12936 (cutSelection): don't create a object for CutAndPaste use the
12937 static method directly
12938 (pasteSelection): ditto
12940 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12943 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * modifications to some other files because of this.
12947 * Makefile.am (lyx_SOURCES): add XFormsView
12949 * XFormsView.[Ch]: new files
12951 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12952 the main window. Move the gui dependent stuff to XFormsView
12954 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12956 * tabular.C (GetCellInset): update cur_cell also in the row/col
12957 version of this function.
12959 * lyxfunc.C: no need to include figure_form.h here.
12965 * lyxvc.C: no need to include forms.h here.
12967 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12971 * lyxfunc.C (Dispatch):
12973 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12974 constructor argument.
12976 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * paragraph.C (Paragraph): dont't clear, and just set layout.
12979 (makeSameLayout): use params's copy contructor.
12981 * ParagraphParameters.[Ch] (makeSame): delete method
12983 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12985 * Variables.[Ch]: fix indentation, rename set to isSet
12987 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * lyxfunc.C (Dispatch): fix typo
12991 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12996 * bufferlist.C: include assert.h for emergencyWrite().
12998 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13000 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13001 give up at last (bug #425202) !
13003 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13009 * spellchecker.C: strip spellchecker options and bring up
13010 preferences tab instead
13012 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13014 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13015 the istringstream constructor
13017 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13019 * paragraph.C (getLayout): fix return value
13021 * paragraph.h: do not declare getLayout as inline.
13023 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13025 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * lyxcursor.h (operator<): new func
13028 (operator>): new func
13029 (operator>=): new func
13030 (operator<=): new func
13032 * text.C (changeCase): use selection.start and selection.end
13033 (changeRegionCase): require from to be <= to. Require par to be a
13036 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13038 2001-06-27 Juergen Vigna <jug@sad.it>
13040 * text.C (cursorLeftOneWord): changed to return the cursor and added
13041 overlay with BufferView * parameter which calls this one.
13043 (selectWord): use new getWord function.
13044 (changeCase): renamed from changeWordCase as and extended to work
13045 also on selections.
13047 * lyxtext.h: added enum word_location
13049 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13050 changeCase as this operates now also on selections.
13052 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13054 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13056 * many files: send debug output to Debug::INFO instead of
13059 * converter.C (View):
13061 (Move): send debug output to Debug::FILES instead of console.
13063 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13065 * lyxfunc.C (getStatus): use func_status
13067 * func_status.h: new header, describing the results of
13068 LyXFunc::getStatus;
13070 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13073 2001-06-25 The LyX Project <jug@sad.it>
13075 * buffer.C (sgmlOpenTag):
13077 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13079 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * text2.C: remove some dead code
13083 * tabular.C (GetCellInset): store the last cell checked (gotten)
13085 * tabular.h: add the helper for the speedup
13087 * lyxtext.h: remove some dead code
13089 2001-06-26 The LyX Project <Asger>
13091 * paragraph.C: Change export to LaTeX of alignment to
13092 \begin{center} and family for better roundtrip work with reLyX.
13094 * Tune the math drawing a bit.
13096 2001-06-25 The LyX Project <Asger>
13098 * LColor.C (LColor): New color for math background. New color
13101 2001-06-25 The LyX Project <jug@sad.it>
13103 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13105 * lyxfunc.C (Open):
13106 * bufferlist.C (newFile): do not restrict to files ending with
13109 * BufferView_pimpl.C (MenuInsertLyXFile):
13111 2001-06-24 The LyX Project <jug@sad.it>
13113 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13116 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * lyxtext.h: rename most methods to begin with a small char.
13119 Lots of changes because of this.
13121 * paragraph.C (Paragraph): do not call fitToSize
13122 (erase): call Pimpl::erase
13123 (insertChar): call Pimpl::insertChar
13124 (insertInset): call Pipl::insertInset
13125 (breakParagraph): do not call fitToSize
13126 (breakParagraphConservative): do not call fitToSize
13127 (fitToSize): remove method
13129 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13131 2001-06-24 The LyX Project <Asger>
13133 * Fix Qt compilation^2
13135 2001-06-24 The LyX Project <jug@sad.it>
13137 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13138 depthHook(getDepth()-1).
13141 * ParagraphParameters.h:
13142 * ParameterStruct.h: change type of depth to unsigned int ==
13143 depth_type. Many adaptations to other files before of that.
13145 2001-06-24 The LyX Project <Asger>
13147 * Fix Qt compilation.
13149 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * paragraph.h: renamed several methods to begin with small letter.
13152 several changes to many parts of the code because of this.
13154 2001-06-23 The LyX Project <jug@sad.it>
13156 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13157 rewritten to discard all double spaces when KeepEmpty is off
13158 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13159 to only handle newlines but not fiddle with spaces and friends.
13161 * lyxfunc.C (MenuNew): when doing 'new from template', use
13162 template_path as default directory
13164 2001-06-23 The LyX Project <Asger>
13166 * Clean-up of header file includes all over
13167 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13169 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13171 * paragraph.h: renamed from lyxparagraph.h
13173 2001-06-23 Asger <lyx@violet.home.sad.it>
13175 * Buffer.h: Removed Buffer::resize
13176 * BufferList.h: Removed BufferList::resize
13177 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13178 the document lazily when we change the width, or the font settings.
13180 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13182 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13184 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13186 * buffer.h: remove out of date comment
13188 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13191 * screen.C: fix "theoretical" GC leak
13193 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * LaTeX.C (scanAuxFile):
13196 (deplog): remove trailing \r when reading stream (useful under
13199 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13201 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13202 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13203 and BufferView::theLockingInset(Inset*), so should use them and not
13204 access bv_->text->the_locking_inset directly.
13206 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13208 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13211 * tex-defs.h: remove old unused file
13213 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13215 * BufferView_pimpl.C: fix typo, remove minibuffer message
13216 when buffer has loaded
13218 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13220 * lyxfunc.C (Dispatch): use stringstream
13221 (MenuNew): use stringstream
13222 (Open): use stringstream
13224 * importer.C (Import): use stringstream
13226 * bufferview_funcs.C (CurrentState): use stringstream
13228 * LaTeX.C (run): use stringstream
13230 * BufferView_pimpl.C (savePosition): use stringstream
13231 (restorePosition): use stringstream
13232 (MenuInsertLyXFile): use stringstream
13234 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13247 * vspace.C: removed // -*- C++ -*- as first line.
13250 * version.h: added // -*- C++ -*- as first line.
13252 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13254 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13256 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13259 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13261 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13264 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13266 * gettext.C: include LString.h even when --disable-nls is on.
13268 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13270 * converter.h (Get): changed argument type from int to
13271 FormatList::size_type to avoid unnecessary conversion.
13273 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13276 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * gettext.h: include LString.h even when --disable-nls is on.
13280 2001-06-07 Juergen Vigna <jug@sad.it>
13282 * text.C (BreakAgain): subst spaces with tabs.
13284 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13285 (resizeInsetsLyXText): set force on resizeLyXText.
13287 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13289 * gettext.h (gettext_init):
13290 (locale_init): use a real definition instead of a macro
13292 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13294 * Bufferview_pimpl.C:
13296 * LColor.C: further lcolor tidies
13298 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13300 * BufferView_pimpl.C (updateScrollbar): simplify.
13302 * BufferView2.C: don't include insets/insetinfo.h, change
13303 prototype for insertInset and call the Pimpl version. let
13304 updateInset call Pimpl version.
13306 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13307 gotoInset to BufferView::Pimpl
13309 2001-06-01 Juergen Vigna <jug@sad.it>
13311 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13312 inside a LockingInset (is the update needed at all?).
13314 2001-05-31 Juergen Vigna <jug@sad.it>
13316 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13317 here not the old one otherwise how should we compare it afterwards
13320 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13325 * FontInfo.C: bring C functions into global namespace when
13328 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13330 * LString.h: make sure config.h has been loaded before LString.h.
13332 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13333 (one for each char read by EatLine!).
13335 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13338 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13341 to the same as the par we break from
13343 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13347 * MenuBackend.C (expand): also create menu entries for wide
13348 versions of the floats.
13350 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13352 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13354 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13355 frontends/Makefile.am
13361 * tabular.C (getTokenValue): add std::
13363 * tabular-old.C (getTokenValue): add std::
13364 (getTokenValue): ditto
13365 (getTokenValue): ditto
13367 * screen.C (ToggleSelection): adjust
13369 * lyxtext.h: put selection cursors inside a Selection struct.
13371 * lyxfunc.C (moveCursorUpdate): adjust
13373 * lyxfont.C (latexWriteStartChanges): add std::
13375 * lyxfind.C: adjust
13377 * font.h: delete with(char const *, LyXFont const &)
13379 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13381 * FontInfo.C (getFontname): add std::
13383 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13384 (workAreaButtonPress): adjust
13385 (tripleClick): adjust
13387 (moveCursorUpdate): adjust
13390 * BufferView2.C (gotoInset): adjust
13392 2001-05-30 Juergen Vigna <jug@sad.it>
13394 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13395 to check pspell I add this as default as I now have new pspell
13396 libraries and they seem to use this.
13398 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13400 * text2.C (CutSelection): make the cursor valid before the call to
13403 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13406 relied on 0 terminated strings and other horrors. Bug found due to
13407 the new assert in lyxstring!
13409 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13412 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13414 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13417 * lyxfunc.C (processKeySym): change method of getting to the
13420 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13421 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13422 * BufferView_pimpl.[Ch]: here as private methods.
13424 2001-05-28 Juergen Vigna <jug@sad.it>
13426 * text.C (SetHeightOfRow): added the update() call again as it is
13427 needed to initialize inset dimensions!
13429 2001-05-16 Juergen Vigna <jug@sad.it>
13431 * text2.C (SetCharFont): Add new function with BufferView * and
13432 bool toggleall parameters for setting insets internal fonts.
13433 (SetFont): Freeze the undo as we may change fonts in Insets and
13434 all this change should be inside only one Undo!
13436 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13437 setting font's in insets as for them we have the SetFont function!
13439 2001-05-15 Juergen Vigna <jug@sad.it>
13441 * text2.C (ClearSelection): to be sure we REALLY don't have any
13444 * tabular.C (TeXCellPreamble): fixed the left border problem for
13447 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13449 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13452 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13454 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13455 LFUN_BREAKPARAGRAPH.
13457 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13458 help test to "internal only", similar for LFUN_INSERT_URL
13460 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13461 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13462 auto_region_delete and deadkeys.
13464 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13467 * LColor.C: remove some dead entries, tidy a little
13469 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13473 (Dispatch): implement LFUN_ESCAPE
13475 * commandtags.h: add LFUN_ESCAPE
13477 * LyXAction.C (init): add entry for LFUN_ESCAPE
13479 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13480 Remove commented code.
13481 (insertNote): moved here
13482 (open_new_inset): moved here
13484 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13487 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13489 * kbmap.C (findbinding): clean it up and make it work correctly.
13491 * lyx_main.C (init): do not pass argc and argv as parameters
13493 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13495 * buffer.C: fix path for OS/2 & Win32
13499 * lyx_main.C: Added os:: class.
13501 * os2_defines.h: update
13503 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13506 better by trying again with reduced state.
13508 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * lyxrc.C (read): print error about invalid key sequence only when
13511 debugging (because not all latinX keysyms are known to some X
13514 * kbsequence.C (getiso): add a few std:: qualifiers
13515 (getiso): comment out extra return statement.
13517 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13519 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13521 (Dispatch): enhance the accent inset a bit. (not perfect)
13523 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13527 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13529 * bufferlist.C (emergencyWrite): fix assert() call
13531 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13533 * text.C (InsertChar): Added trivial patch to only send the "you
13534 can not do multiple spaces this way" message once during a
13537 2001-05-08 Baruch Even <baruch@lyx.org>
13539 * Makefile.am: Changed order of libraries to get LyX to link properly
13540 with the gnome frontend.
13542 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13544 * LaTeXFeatures.h: add a std:: qualifier
13546 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * paragraph.C (String): use stringstream
13550 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * paragraph.C (writeFile): remove footflag arg
13554 * buffer.C (makeLaTeXFile): use stringstream
13555 (latexParagraphs): remove footnot gurba
13557 * LaTeXFeatures.C (getPackages): use stringstream
13558 (getMacros): likewise
13559 (getTClassPreamble): likewise
13560 (getFloatDefinitions): new method
13562 * paragraph.C (writeFile): reindent
13565 * WorkArea.h: revert the xpos + etc changes.
13567 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13569 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13571 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13572 (pasteSelection): likewise
13573 * text2.C (CreateUndo): likewise
13575 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * minibuffer.C (peek_event): temporarily reduce the functionality
13578 of the minibuffer (to allow args on lfuns)
13580 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13581 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13583 * buffer.C (readInset): add compability reading of old float
13584 lists, add reading of new style float list.
13585 (readInset): avoid reevaluation of inscmd.getCmdName()
13586 (getLists): reindent
13588 * MenuBackend.C (MenuItem): implement parsing of
13589 md_floatlistinsert and md_floatinsert.
13590 (expand::LastFiles): move initalizaton of iterators out of loop,
13591 avoid reevaluation.
13592 (expand::Documents): introduce typdedef vector<string> Strings,
13594 (expand::ExportFormats): introduce typedef vector<Format const *>
13595 Formats, and use it.
13596 (expand): implement FloatListInsert and FloatInsert.
13598 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13599 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13600 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13602 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13604 (Dispatch::LFUN_FLOAT_LIST): implement
13606 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13608 * LaTeX.C (run): Fix problem with --export code.
13610 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13612 * BufferView.[Ch] (workarea): removed.
13613 (getClipboard) new method; wrapper for workarea()->getClipboard()
13615 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13618 * WorkArea.h (width, height, xpos, ypos): These methods all
13619 returned the dimensions of the work_area sub-area of WorkArea,
13620 resulting in a position error if the WorkArea were resized. Now
13621 return the dimensions of the entire WorkArea.
13623 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13625 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13627 * LaTeX.C (deplog): correct the syntax of regex reg1
13629 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13631 * undo.C: remove !NEW_INSETS cruft
13633 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * text2.C: remove !NEW_INSETS cruft
13637 * text.C: remove !NEW_INSETS cruft
13639 * tabular.C: remove !NEW_INSETS cruft
13641 * spellchecker.C: remove !NEW_INSETS cruft
13643 * lyxtext.h: remove !NEW_INSETS cruft
13645 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13647 * lyxfunc.C: remove !NEW_INSETS cruft
13649 * lyxfind.C: remove !NEW_INSETS cruft
13651 * lyx_cb.C: remove !NEW_INSETS cruft
13653 * figureForm.C: remove !NEW_INSETS cruft
13655 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13657 * buffer.[Ch]: remove !NEW_INSETS cruft
13659 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13661 * CutAndPaste.C: remove !NEW_INSETS cruft
13663 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13665 * BufferView2.C: remove !NEW_INSETS cruft
13667 * BufferView.h: remove !NEW_INSETS cruft
13669 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13671 * Lsstream.h: include LString.h before the sstream headers to
13672 fix problem with gcc 2.95.3 and lyxstring
13674 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13676 * lyx_main.C: add using directives when needed for C functions
13677 declared in std:: namespace.
13679 2001-04-27 Juergen Vigna <jug@sad.it>
13681 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13682 (SetHeightOfRow): comment out the update call should not be needed!
13684 2001-04-13 Juergen Vigna <jug@sad.it>
13686 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13687 (LyXTabular): tried to minimize operator= operations (and realized
13688 hopfully Lars wish).
13690 2001-04-27 Juergen Vigna <jug@sad.it>
13692 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13694 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13696 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13698 * buffer.C (readInset): hack to make listof algorithm work
13700 * BufferView_pimpl.C: hack to make listof algorithm work
13702 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * LyXAction.C: removed all !NEW_INSETS cruft
13705 (init): moved lfun_item in method
13707 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13709 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13711 * BufferView2.C (theLockingInset): white space.
13713 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13715 * minibuffer.C: include <iostream>
13717 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13719 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13721 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13723 * text.[Ch] (TransposeChars): new method
13725 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * call message directly through LyXView instead of through LyXFunc
13728 * BufferView2.C: adjust
13729 * BufferView_pimpl.C: adjust
13730 * FontLoader.C: adjust
13732 * bufferview_funcs.C: adjust
13733 * converter.C: adjust
13734 * figureForm.C: adjust
13735 * importer.C: adjust
13737 * lyx_gui_misc.C: adjust
13738 * lyxfunc.C: adjust
13741 + more files in subdirs
13743 * lyxparagraph.h (size): move up int file
13746 * adjust all uses of Assert to lyx::Assert.
13748 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13749 lyxfunctional in namespace lyx
13750 * layout.C (hasLayout): ditto
13753 (delete_layout): ditto
13754 (NumberOfClass): ditto
13755 * converter.C (GetFormat): ditto
13760 * bufferlist.C (getFileNames): ditto
13761 (emergencyWriteAll): ditto
13764 * MenuBackend.C (hasSubmenu): ditto
13767 * BufferView_pimpl.C (getInsetByCode): ditto
13769 2001-04-18 Juergen Vigna <jug@sad.it>
13771 * vspace.C (asLatexString): fixed the 100% problem.
13773 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13775 * lyxfunc.C (Dispatch):
13777 * minibuffer.h: add a few std:: qualifiers
13779 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13781 * minibuffer.[Ch]: reimplement so that commands is initiated and
13782 run from lyxfunc, simplified som handling, and made the completion
13783 and history code for complete. wip.
13785 * lyxfunc.C (processKeySym): call message
13786 (miniDispatch): new temporary method
13787 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13788 (LFUN_MESSAGE): implement
13789 (LFUN_MESSAGE_PUSH): implement
13790 (LFUN_MESSAGE_POP): implement
13791 (initMiniBuffer): the initial/defualt minibuffer message.
13793 * lyxfont.[Ch]: inline some more getters
13795 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13797 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13799 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13800 (AutoSave): use LFUN_MESSAGE
13801 (Reconfigure): ditto
13803 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13805 * figureForm.C: use LFUN_MESSAGE
13807 * converter.C (runLaTeX): use LFUN_MESSAGE
13809 * bufferview_funcs.C: use LFUN_MESSAGE
13811 (changeDepth): ditto
13813 * bufferparams.h: use boost::
13815 * bufferlist.h: inherit privately from noncopyable
13817 * bufferlist.C (loadLyXFile): remove some commented code.
13819 * buffer.C (runChktex): use LFUN_MESSAGE
13821 * ShareContainer.h: inherit privately from noncopyable
13823 * ParagraphParameters.[hC] (depth): inline it.
13825 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13827 (message): new method
13828 (messagePush): ditto
13829 (messagePop): ditto
13830 (show): init minibuffer
13831 (showState): direct call
13833 * LaTeX.[Ch]: inherit privately from noncopyable
13834 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13835 instead of WriteStatus.
13837 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13839 * BufferView_pimpl.C (buffer): don't init minibuffer
13840 (workAreaButtonPress): use LFUN_MESSAGE
13841 (workAreaButtonRelease): ditto
13842 (savePosition): ditto
13843 (restorePosition): ditto
13844 (MenuInsertLyXFile): ditto
13845 (workAreaExpose): don't init minibuffer
13846 (update): remove commented code, simplify
13848 * BufferView2.C (openStuff): use LFUN_MESSAGE
13849 (toggleFloat): ditto
13852 (copyEnvironment): ditto
13853 (pasteEnvironment): ditto
13858 (updateInset): remove some commented code
13860 * lastfiles.h: inherit privately from noncopyable
13863 * lyx_main.h: ditto
13865 * lyxlex_pimpl.h: ditto
13867 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13868 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13869 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13871 * LyXAction.h: inherit privately from noncopyable, add methods
13872 func_begin, func_end, returning iterators to the func map.
13874 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13875 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13876 (func_begin): new method
13877 (func_end): new method
13879 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13881 (copySelection): ditto
13882 (pasteSelection): ditto
13884 * BufferView.C: whitespace change
13885 * BufferView.h: inherit privately from noncopyable
13887 2001-04-16 Allan Rae <rae@lyx.org>
13889 * tabular-old.C (l_getline):
13890 * spellchecker.C (sc_check_word):
13891 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13892 an unrecognised preprocessor directive. So ensure they're wrapped.
13894 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13896 * src/exporter.C (Export): Give an error message when path to file
13899 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13901 * LaTeX.C (deplog): Always check that foundfile exists.
13903 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13908 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * tabular.[Ch] (getLabelList): implement new method
13912 * minibuffer.h: comment ouf setTiimer
13914 * minibuffer.C (ExecutingCB): constify res
13915 (peek_event): constify s
13916 (Set): constify ntext
13917 (Init): constify nicename
13919 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13921 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13922 (savePosition): use two params to Minibuffer::Set
13923 (restorePosition): ditto
13925 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13927 * lyx_main.C: include language.h
13929 * Makefile.am (lyx_main.o): add language.h
13931 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * CutAndPaste.C: include gettext.h
13939 * lyxfont.h: remove old hack with ON and OFF.
13942 * lyxfont.h: do not include language.h...
13947 * bufferview_funcs.C:
13953 * paragraph.C: ... but do it here instead
13955 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13957 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13959 * tabular.C: small reformat
13961 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13964 (BreakParagraph): ditto
13965 (SetOnlyLayout): ditto
13968 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13971 * lastfiles.C: removed most using decl, add std:: where needed
13973 * buffer.C: ws changes
13975 * MenuBackend.C (class compare_format): put into anon namespace
13976 (expand): constify label, names, action, action2
13979 * text.C (SingleWidth): constify font
13980 (IsBoundary): constify rtl2
13981 (GetVisibleRow): constify ww
13983 * LaTeX.C (deplog): constify logfile
13985 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13987 (workAreaExpose): constify widthChange, heightChange
13989 * lyxrow.C (par): moved
13992 * lyxrow.h: as inlines here
13994 * lyxfont.h (shape): moved from lyxfont.C
13995 (emph): moved from lyxfont.C
13997 * lyxfont.C (LyXFont): use initialization list for all
13999 (shape): move to lyxfont.h as inline
14000 (emph): move to lyxfont.h as inline
14003 2001-04-04 Juergen Vigna <jug@sad.it>
14005 * vspace.C: had to include stdio.h for use of sscanf
14007 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14010 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14011 independent of xforms.
14013 2001-04-02 Juergen Vigna <jug@sad.it>
14015 * spellchecker.C: fixed namespace placing!
14017 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14019 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14020 the LyXParagraph * is 0.
14022 2001-03-29 Juergen Vigna <jug@sad.it>
14024 * vspace.C: added support for %, c%, p%, l%.
14025 (stringFromUnit): added helper function.
14026 (asLatexString): changed to give right results for the %-values.
14028 * buffer.C: convert the widthp in a width%.
14030 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14032 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14035 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14036 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14038 * lyx_cb.[Ch]: see above.
14040 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14044 * lyx.[Ch]: replaced by figure_form.[Ch].
14048 * lyxfunc.C: changed headers associated with above changes.
14050 2001-03-27 Juergen Vigna <jug@sad.it>
14052 * BufferView_pimpl.C: set the temporary cursor right!
14054 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14056 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14058 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14060 * LString.h: removed "using std::getline"!
14062 * BufferView_pimpl.C (Dispatch): changes due to changes in
14063 InsetInclude::Params.
14065 * buffer.C (tag_name): removed redundant break statements as they were
14066 producing lots of warnings with my compiler.
14068 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * LString.h: add "using std::getline" when using the real <string>.
14072 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14074 * buffer.C: removed bitset usage.
14075 PAR_TAG moved to an anonymous name space.
14076 (tag_name): new funtion, also in the anonymous namespace.
14077 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14078 (makeDocBookFile): clean code. Completed transition from string arrays
14080 (SimpleDocBookOnePar): code clean.
14082 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14084 * tabular.C: add some comments.
14086 2001-03-22 Juergen Vigna <jug@sad.it>
14088 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14089 compatibility read a bit and fixed bug with minipage in different
14092 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14094 * buffer.C (pop_tag): removed.
14095 (push_tag): removed.
14096 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14097 array replaced with vector. Added support for CDATA sections.
14098 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14100 (makeDocBookFile): XML conformant declaration of CDATA section,
14101 fixed bug related to <emphasis> in the first paragraph char.
14102 (sgmlOpenTag): exclude empty tags.
14103 (sgmlCloseTag): ditto.
14105 * buffer.h (pop_tag): removed.
14106 (push_tag): removed.
14108 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14110 * language.h (Languages): added size_type and size().
14112 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14114 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14115 response on compability reading of minipages. One probliem is that
14116 the old usage of minipages was «flertydig»
14118 * several files here and in subdirs: don't use static at file
14119 scope use anon namespaces instead.
14121 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14123 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14124 LaTeX output. This is necessary for Literate document
14127 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14129 * buffer.C: insert hfill when needed.
14131 * tabular.C (l_getline): use string::erase, small whitespace change.
14133 * BufferView_pimpl.C: try the anon namespace.
14134 * WorkArea.C: ditto
14136 2001-03-16 Juergen Vigna <jug@sad.it>
14138 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14139 otherwise it won't open options-dialogs.
14141 * buffer.C: honor pextraWidth(p) on converting minipages.
14143 * tabular.C (l_getline): changed the functions to strip trailing \r.
14145 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14147 * BufferView_pimpl.C:
14148 * minibuffer..C: added "using SigC::slot" declaration.
14150 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14152 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14158 * paragraph.C: ditto
14160 * lyxtext.h: NO_PEXTRA
14162 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14164 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14165 * ParameterStruct.h: ditto
14166 * ParagraphParameters.h: ditto
14167 * lyxparagraph.h: ditto
14169 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14171 * buffer.C: add compability for minipage alignment.
14172 (latexParagraphs): remove unwanted pextra check.
14174 * several files: remove CXX_WORKING_NAMESPACES
14176 * buffer.C (pop_tag): tie is in namespace boost
14178 * BufferView.h: noncopyable is in namespace boost
14180 * lyx_main.h: ditto
14183 * lastfiles.h: ditto
14184 * bufferlist.h: ditto
14185 * ShareContainer.h: ditto
14187 * LyXAction.h: ditto
14190 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14192 * Merging changes from BRANCH_MVC back into HEAD.
14194 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14196 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14198 * BufferView_pimpl.C: change from intl.C
14202 * Makefile.am: move combox.*
14208 * intl.C: remove dialog (covered by prefs)
14210 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14212 * lyxfunc.C (Dispatch): removed redundant break statement.
14214 2001-03-14 Juergen Vigna <jug@sad.it>
14216 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14218 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14220 * buffer.C: add hack to fix compability reading of minipages.
14222 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14224 * buffer.C (getLists): Cleanup.
14226 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14228 * lyxfont.C (update): don't honor toggleall on font size.
14230 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14234 * Makefile.am: moved to frontends/xforms/
14238 * BufferView_pimpl.C: changes for moved mathpanel
14240 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14242 * gettext.h: fix gettext_init() in --disable-nls
14244 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14246 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14248 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14251 * lyx.h: strip external form
14253 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14255 * BufferView_pimpl.C: add comment, destroySplash()
14257 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14259 * BufferView_pimpl.C:
14263 * lyxfunc.C: use re-worked insetinclude
14265 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14267 * buffer.C: add using std::stringstream.
14269 * lyx_cb.C: readd using std::ios.
14271 * buffer.C: add using std::map.
14273 * BufferView_pimpl.C: add using std::vector.
14275 * ShareContainer.h: add std:: to swap.
14277 * buffer.h: add some typedefs
14278 * buffer.C (getLists): use them
14279 (getLists): renamed from getTocList.
14280 add a counter for the different float types and use it in the
14282 (getLists): use the same counter for the NEW_INSETS and the "non"
14285 * lyx_cb.h: remove unused items, includes, using etc.
14287 * ShareContainer.h: remove some commented code, add more comments
14288 and "documentation".
14290 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14292 * buffer.C (getTocList): make the list also when NEW_INSETS is
14295 * buffer.h: remove TocType
14297 * buffer.C (getTocList): change to return a map<string,
14298 vector<TocItem> >, implement for dynamic number of list.
14300 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14301 * text2.C (PasteSelection): adjust
14302 * CutAndPaste.C (pasteSelection): adjust
14304 * FloatList.C (FloatList): update from the new_insets branch.
14305 * Floating.[Ch]: ditto
14306 * LaTeXFeatures.C: ditto
14308 * lyxlex_pimpl.C: ditto
14310 * paragraph.C (Last): remove when NEW_INSETS is defined.
14312 * other file: changes because of the above.
14314 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14316 * lyxparagraph.h: rename next to next_, previous to previous_,
14317 make them private for NEW_INSETS. Rename Next() to next(),
14318 Previous() to previous().
14320 * other files: changes because of the above.
14322 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14325 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14328 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14330 * main.C (main): pass lyx_localedir to gettext_init().
14332 * gettext.h: remove locale_init and gettext_init macros
14334 * gettext.C (locale_init): new function
14335 (gettext_init): new function
14337 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14340 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14342 * Moved credits to frontends:
14343 * credits.[Ch]: removed
14344 * credits_form.[Ch]: removed
14345 * lyx_gui_misc.C: remove credits stuff
14348 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14350 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14352 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14353 unneeded destructor.
14355 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14356 a standalone pointer again.
14358 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14360 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14366 * ToolbarDefaults.C:
14375 * BufferView_pimpl.C: use new file dialog in GUII
14378 * lyx_cb.C: remove LayoutsCB to Toolbar
14380 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14382 * ShareContainer.h (get): add std:: qualifier
14384 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14386 * ShareContainer.h: define a proper ShareContainer::value_type
14387 type (and use typename to please compaq cxx)
14389 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14391 * lyxparagraph.h: move serveral local vars to
14392 ParameterStruct/ParagraphParameters., use ShareContainer in
14393 FontTable., make vars in FontTable private and add getter and
14396 * paragraph.C: changes because of the above.
14398 * lyxfont.h: remove copy constructor and copy assignment. (the
14399 default ones is ok), move number inside FontBits. move inlines to
14402 * lyxfont.C: add number to initializaton of statics, move several
14403 inlines here. constify several local vars. some whitespace
14404 cleanup. Dont hide outerscope variables.
14406 * Spacing.h: add two new constructors to match the set methods.
14408 * ShareContainer.h: new file, will perhaps be moved to support
14410 * ParameterStruct.h: new file
14412 * ParagraphParameters.h: new file
14414 * ParagraphParameters.C: new file
14416 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14417 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14419 * BufferView_pimpl.C: ParagraphParameter changes.
14420 * buffer.C: Likewise.
14421 * bufferview_funcs.C: Likewise.
14422 * text.C: Likewise.
14423 * text2.C: Likewise.
14425 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14427 * lyxfind.C (LyXReplace): do not redefine default argument in
14429 (IsStringInText): ditto
14430 (SearchForward): ditto
14431 (SearchBackward): ditto
14433 2001-03-06 Juergen Vigna <jug@sad.it>
14435 * lyxfind.C (IsStringInText): put parentes around expressions.
14437 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14439 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14441 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14443 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14445 * stl_string_fwd.h: add comment
14447 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14450 * tabular.C: remove unused DocBook methods
14456 killed DO_USE_DEFAULT_LANGUAGE
14458 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * lyx_gui.C: do not include language.h.
14462 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14463 arguments in function implementation.
14465 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14467 * BufferView_pimpl.C: add <ctime>
14469 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14471 * BufferView_pimpl.C: add using std::find_if
14473 2001-02-27 José Matos <jamatos@fep.up.pt>
14475 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14478 2001-02-11 José Matos <jamatos@fep.up.pt>
14480 * buffer.C (makeDocBookFile): command styles now have a parameter as
14481 "title" by default.
14483 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14485 * layout_forms.[Ch]: removed
14486 * lyx_cb.[Ch]: out character
14487 * lyx_gui.C: out character
14488 * lyx_gui_misc.C: out character
14489 * bufferview_funcs.C: : out character,
14490 added toggleall as parameter in ToggleAndShow
14492 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14494 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14496 * text2.C (SetCurrentFont): Disable number property at boundary.
14498 2001-02-26 Juergen Vigna <jug@sad.it>
14500 * lyxfunc.C (getStatus): added a string argument override function so
14501 that this is correctly called from LyXFunc::Dispatch if it contains a
14502 do_not_use_argument which is used!
14503 (Dispatch): added check for "custom" export and call appropriate func.
14505 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14507 * lyxrc.C: Add language_command_local, language_use_babel and
14508 language_global_options.
14510 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14512 * buffer.C (makeLaTeXFile): Use language_use_babel and
14513 language_global_options.
14515 2001-02-23 Juergen Vigna <jug@sad.it>
14517 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14518 which works with LyXText and putted it inside BufferView. Here now we
14519 only call for that part the BufferView::Dispatch() function.
14521 * BufferView.C (Dispatch): added.
14523 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14524 functions which needs to use a LyXText over from LyXFunc.
14525 (MenuInsertLyXFile): added
14526 (getInsetByCode): added
14527 (moveCursorUpdate): added
14528 (static TEXT): added
14530 2001-02-22 Juergen Vigna <jug@sad.it>
14532 * BufferView_pimpl.C (update): call a status update to see if LyXText
14535 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14537 * vc-backend.C (revert): implement for CVS
14538 (getLog): implement for CVS
14540 2001-02-20 Juergen Vigna <jug@sad.it>
14542 * text2.C (ClearSelection): added BufferView param for inset_owner call
14544 * lyxfunc.C (TEXT): added this function and use it instead of
14545 directly owner->view()-text of getLyXText().
14547 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14549 * src/layout_forms.C: out preamble
14550 * src/layout_forms.h: out preamble
14551 * src/lyx_cb.C: out preamble
14552 * src/lyx_cb.h: out preamble
14553 * src/lyx_gui.C: out preamble
14554 * src/lyx_gui_misc.C: out preamble
14555 * src/lyxfunc.C: connect with guii preamble
14557 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14559 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14561 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14563 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14564 whether to run bibtex.
14566 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14568 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14570 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14572 * Makefile.am (lyx_SOURCES): removed bibforms.h
14574 * vspace.h: doxygen
14576 * text.C (GetVisibleRow): make several local vars const
14578 * tabular.C: small cleanup.
14580 * lyxserver.C (callback): use compare instead of strncmp
14582 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14583 inlines to after class or to paragraph.C
14585 * lyxfont.h: remove friend operator!=
14587 * converter.h: move friend bool operator< to non friend and after
14590 * combox.h: small cleanup
14592 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14593 to inlines after class def.
14595 * buffer.C (pop_tag): use string operations instead of strcmp
14597 * bmtable.c: doxygen, small cleanup
14599 * LaTeX.h: remove friend operator==
14601 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14613 * BufferView_pimpl.C:
14614 * BufferView.[Ch]: remove cruft
14616 2001-02-14 Juergen Vigna <jug@sad.it>
14618 * lyxfunc.C: removed #if 0 unused code
14620 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14622 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14624 * text2.C (SetSelection): added a BufferView * parameter
14626 2001-02-13 Juergen Vigna <jug@sad.it>
14628 * lyxfunc.C (Dispatch): fixed protected blank problem.
14629 * BufferView2.C (protectedBlank): added LyxText * parameter.
14631 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14632 (AppendColumn): same as above for column_info.
14634 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14635 (moveCursorUpdate): use a LyXText param for support of InsetText.
14637 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14638 (tripleClick): ditto
14640 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14642 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14644 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14646 * text2.C (SetSelection): set correct update status if inset_owner
14647 (ToggleFree): ditto
14649 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14651 * tabular.C: remove some commented code.
14653 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14655 * BufferView_pimpl.C: call hideSplash()
14657 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14660 * bibforms.h: remove
14663 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14664 add LFUN_CHILD_CREATE
14666 * counters.h: fix tiny typo
14671 * lyx.C: move splash to frontends/xforms/
14673 * lyx_gui_misc.C: move Include and Bibform to frontends
14675 * lyxvc.h: clarify comment
14677 * vspace.C: tiny housekeeping
14679 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14681 * text.C (PrepareToPrint): RTL Fix.
14683 * paragraph.C (GetUChar): New method.
14684 (String): Use GetUChar.
14686 * buffer.C (asciiParagraph): Use GetUChar.
14688 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14690 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14692 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14695 * buffer.C: rename to getLogName(), handle
14696 build log / latex log nicely
14698 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * MenuBackend.h: remove support for reference menuitem type.
14703 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14705 * BufferView_pimpl.C: housekeeping
14706 * BufferView_pimpl.h:
14711 * minibuffer.h: move Timeout GUI-I
14713 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14715 * lyxrc.C (read): Update converters data-structures.
14717 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14719 * LaTeX.h (operator!=): add operator != for Aux_Info
14721 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14723 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14725 * LaTeXLog.C: deleted, useful code moved to Buffer
14728 * buffer.C: new function getLatexLogName()
14734 * lyxfunc.C: use frontends for LaTeX and VC logs
14736 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14738 * LaTeX.h: yet another std:: that Allan forgot.
14740 * Variables.C (set): renamed from isset(), because this clashes
14741 with some HP-UX macros (grr).
14743 2001-02-06 Allan Rae <rae@lyx.org>
14745 * LaTeX.h: Another bug fix. Missing std:: this time.
14747 2001-02-04 Allan Rae <rae@lyx.org>
14749 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14750 floats problem. I've left it commented out because it's not quite
14751 correct. It should also test that the current object is a table or
14752 figure inset. But I haven't gotten around to figuring out how to do
14753 that. I *think* it'll be something like: "table" == inset.type()
14755 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14758 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14760 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14761 all the citation/databases/styles in the auxilary file.
14762 (run): Rerun latex if there was a babel language error.
14764 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14766 * text.C (Backspace): Preserve the font when changing newline char
14768 (BreakParagraph): If the cursor is before a space, delete the space.
14770 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14772 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14774 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14775 new argument (code).
14776 (ChangeCitationsIfUnique): New method.
14778 * paragraph.C (GetPositionOfInset): Handle bibkey.
14780 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * BufferView_pimpl.h: change type of Position::par_pos to
14783 LyXParagraph::size_type.
14785 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14787 * BufferView_pimpl.C (savePosition, restorePosition): Write
14788 messages to minibuffer.
14790 2001-01-28 José Matos <jamatos@fep.up.pt>
14792 * buffer.C (makeDocBookFile): adds support for document language.
14793 A silly restriction on the name of LatexCommand types where removed.
14794 Added support for CDATA sections, allows to chars unescaped, used
14795 among others in code, to avoid escape < and >.
14797 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14799 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14800 saved positions instrad of a stack. Furthermore, a position is
14801 stored using paragraph id/paragraph position.
14803 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14804 Remove LFUN_REF_BACK.
14806 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14808 * converter.C (dvipdfm_options): New method.
14810 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14812 * vspace.C (isValidLength): Fix for empty input string.
14814 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14816 * LyXAction.C (init): change description of LFUN_FIGURE to
14819 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14821 * LaTeX.C: add using directive
14823 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14825 * MenuBackend.C (expand): Fix the sorting of the formats.
14827 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14829 * lyx_main.C: tiny error message fix
14831 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14834 calling fl_initialize(). This fixes the problem with ',' as
14835 decimal separator in text files.
14837 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14839 * trans.C (process): Fix the keymap bug.
14841 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14843 * LaTeX.C (scanAuxFiles): New method. Provides support for
14844 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14845 (scanLogFile) Scan for "run BibTeX" messages.
14847 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14848 OT1 font encoding. Also, load the aecompl package if the ae
14851 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14853 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14855 * texrow.C (increasePos): turn two error messages into debug
14858 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14860 * LaTeX.C (scanAux): Handle the \@input macro.
14861 (runBibTeX): Use scanAux().
14863 * language.C (latex_options_): New field.
14865 * LaTeXFeatures.C (getMacros): Add language macros.
14867 * buffer.C (makeLaTeXFile): Small fix.
14869 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14871 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14873 * text2.C: add a using directive.
14875 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14880 * lyxfunc.C: kill LyXBell.
14882 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14884 * text.C (IsBoundary): Remove the error message
14886 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14888 * lyxrc.C (setDefaults): Correct initialization value for
14891 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14893 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14896 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14897 and GotoNextNote().
14899 * src/LyXAction.C: Added reference-next.
14901 * text.C (InsertChar): Use contains instead of strchr.
14903 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14905 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14907 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14908 alignment commands (when needed).
14910 * text.C (InsertChar): Add ':' to number separator chars.