1 2004-03-22 Angus Leeming <leeming@lyx.org>
3 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
4 Ensure that error_handler is processed once only and that all data
5 is saved before attempting to output any warning messages.
7 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
9 * tabular.C (TeXRow): crash fix (from Kayvan and André)
11 2004-03-19 André Pönitz <poenitz@gmx.net>
13 * cursor.[Ch] (reset): take main text inset as argument
16 * BufferView_pimpl.C: adjust
18 * paragraph.[Ch]: fix completely broken operator=()
20 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * LColor.C (getFromLyXName): make sure that the color name is used
25 2004-03-17 Angus Leeming <leeming@lyx.org>
28 * LyXAction.C (init): remove LFUN_FORKS_KILL.
30 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
31 dialog and to kill a forked process.
33 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
35 * text2.C (setCursorFromCoordinates): fix font problem
37 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
39 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
40 bogus "rebuild cursor" code
42 2004-03-11 André Pönitz <poenitz@gmx.net>
44 * buffer.[Ch]: use InsetText instead of LyXText as container for
47 * dociterator.[Ch]: drop the BufferView * member which is not needed
48 anymore after the change to buffer.C
54 * BufferView_pimpl.[Ch]:
56 * cursor_slice.[Ch]: adjust
58 * text3.C: fix bug in mathDispatch
60 2004-03-08 André Pönitz <poenitz@gmx.net>
62 * undo.[Ch]: use 'StableDocumentIterator' as base for
65 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * bufferparams.[Ch]: add jurabib support and param.
70 * LaTeX.C: add FIXME/comment.
72 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
74 * buffer.C: increment file format to 230.
76 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
78 * cursor.C (dispatch): avoid infinite loops
80 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
82 * rowpainter.C (paintSelection): fix x coordinates
84 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
86 * text.C (rowBreakPoint): fix breaking before displayed insets
88 2004-03-01 André Pönitz <poenitz@gmx.net>
90 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
92 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
104 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
110 * BufferView_pimpl.C: rename textwidth -> maxwidth,
111 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
113 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
115 * Bidi.[Ch] (computeTables): const correctness
116 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
117 fill_hfill, fill_label_hfill and x from Row
118 * lyxtext.h: prepareToPrint returns a RowMetrics
119 * rowPainter.C: adjust
120 * text.C (prepareToPrint): use width, not textWidth. adjust
121 (redoParagraphInternal, cursorX): adjust
122 * text2.C (getColumnNearX): adjust
123 (init): put a default value to the top LyXText::width
125 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
127 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
129 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
131 * lyxtext.h: add FontIterator class
133 * text.C (FontIterator, operator*, operator->, operator++): add
134 (rowBreakPoint, setRowWidth): adjust (fixing a
137 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * BufferView_pimpl.C (workAreaDispatch): allow also
140 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
142 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
144 * text.C (rowBreakPoint): fix a bug showing with very large insets
146 2004-02-25 André Pönitz <poenitz@gmx.net>
149 * cursor.[Ch]: move some mathed specific code to mathed
151 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
153 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
154 use_tempdir in preferences
155 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
157 * lyx_main.C: ensure that tempdir is valid
158 * lyxlex.h: correct typo
159 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
160 * paragraph.[Ch] (isMultiLingual): make const
161 * cursor.[Ch] (openable): make const
163 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
165 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
167 2004-02-20 André Pönitz <poenitz@gmx.net>
169 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
171 * cursor.[Ch]: prepare for localized getStatus()
177 * text3.C: streamlines the LyXText cursor movement handlers a bit.
179 2004-02-20 André Pönitz <poenitz@gmx.net>
181 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
183 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
185 * text2.C (setCursorFromCoordinates): switch to absolute coords
188 * text3.C (dispatch): adjust
190 2004-02-16 André Pönitz <poenitz@gmx.net>
192 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
195 * cursor_slice.[Ch]: remove unneeded acessor function
197 * lyxtext.h: rename rtl() to isRTL()
205 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
207 * rowpainter.C (paintSelection): coord fix
209 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
211 * Spacing.C: compile fix
213 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
215 * cursor.C (dispatch): restore current_ before returning
217 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
219 * text2.C (cursorUp, cursorDown): fix coords
222 2004-02-12 André Pönitz <poenitz@gmx.net>
227 * text3.C: add LCursor & parameter to most cursor movement functions
228 remove usage of LyXText::cursorRow() and cursorPar()
230 * cursor.[Ch]: add textRow() needed members
233 * BufferView_pimpl.C:
236 * BufferView_pimpl.C: adjust
238 2004-02-11 André Pönitz <poenitz@gmx.net>
242 * BufferView_pimpl.C: shift undo/redo handling
244 * cursor.[Ch]: fix mathed crash
247 * lyxtext.h: move selectionAsText to LCursor
255 * rowpainter.C: fix excessive drawing
257 2004-02-06 André Pönitz <poenitz@gmx.net>
260 * BufferView_pimpl.[Ch]:
261 * text3.C: move some text specific LFUN handling
263 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
265 * text3.C (checkInsetHit): adjust coords
266 * text2.C (getColumnNearX): adjust coords
267 (edit): adjust coords
268 * text.C (getRowNearY): add two asserts
270 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
273 * format.C: add using std::distance to compile on gcc 2.95/stlport
275 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
277 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
279 2004-02-04 André Pönitz <poenitz@gmx.net>
281 * BufferView.[Ch] (insertInset):
282 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
287 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
289 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
290 on the default clause of the switch
291 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
292 wasn't catched by LCursor::dispatch
294 2004-02-03 André Pönitz <poenitz@gmx.net>
297 * cursor.[Ch]: some additional asserts
299 * undo.[Ch]: remove LyXText dependency in interface
303 * lyxtext.h (firstPar, lastPar): remove dead functions
308 * paragraph.[Ch]: adjust
310 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
312 * lyxfind.C (find): fix argument order in call to ::find
314 2004-02-02 André Pönitz <poenitz@gmx.net>
316 * cursor.[Ch]: remove direct access to anchor
318 * text.C: remove findText() hack
320 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
322 * iterators.[Ch] (lockPath): remove in favour of...
323 * BufferView.[Ch] (setCursor): this addition
324 * BufferView.C (putSelectionAt): adjust
325 * undo.C (performUndoOrRedo): adjust
326 * lyxfunc.C (dispatch): adjust
328 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
330 * iterators.C (lockPath): add a missing slice
331 * undo.C (performUndoOrRedo): remove redundant positioning code
333 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
335 * vc-backend.C (scanMaster): ";" -> ';'
337 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
339 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
342 * lyxtextclass.C (compare_name): rename to...
343 (LayoutNamesEqual): ...this
345 * lyxlex_pimpl.C (compare_tags): inherit from
346 std::binary_function, put back into anon namespace
348 * lyxfind.C (MatchString): inherig from std::binary_function
349 (findChange): use empty() istead of !size()
351 * format.C (FormatNamesEqual): new functor
358 * converter.C (compare_Converter): rename to...
359 (ConverterEqual): ...this, and fixup a bit.
360 (getConverter): use it, and make function const
361 (getNumber): use it, and make function const
365 * bufferlist.C: add using boost::bind
367 * MenuBackend.C (MenuNamesEqual): new functor
368 (hasMenu): use it, and make function const
369 (hasSubmenu): use nested bind to get rid of compare_memfun.
371 2004-01-30 André Pönitz <poenitz@gmx.net>
373 * BufferView_pimpl.C:
384 * text3.C: move some of the edit(x,y) handling to the insets
385 some coordinate changes.
387 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
389 * text.C: add using statements for std::advance and std::distance
391 * paragraph.C: add using statement for std::distance
393 * lyxfind.C: add using statement for std::advance
395 * cursor.C (region): remove std:: from swap
396 (openable): use nucleus in stead of operator->
398 * BufferView.C: add using statements for std::distance and std::swap
400 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
402 * iterators.C: Remove the pimple, move the needed structures to
403 the header file. Create accessor for the positions stack.
404 (asPosIterator): remove function
406 * PosIterator.C (PosIterator): move constructors to top of file
407 (PosIterator): reimplement the constructor taking a ParIterator in
409 (setFrom): new function
410 (operator!=): inline it
412 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
414 * lyxfind.C (replaceAll): use std::advance
416 * iterators.h: inherit from std::iterator.
418 * PosIterator.C (advance, distance): remove
419 * PosIterator.h: interit from std::iterator.
421 2004-01-26 André Pönitz <poenitz@gmx.net>
424 * BufferView_pimpl.[Ch]:
428 * bufferview_funcs.C:
439 * output_plaintext.C:
441 * paragraph_funcs.[Ch]:
442 * paragraph_pimpl.[Ch]:
448 * text3.C: more IU: dumps most of the rest of the mathcursor
449 implementation into cursor.[Ch]; "globalize" a bit of it.
451 2004-01-25 Angus Leeming <leeming@lyx.org>
453 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
455 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
457 * LaTeXFeatures.h: add nice_ and nice() const
458 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
460 2004-01-20 André Pönitz <poenitz@gmx.net>
463 * BufferView_pimpl.C:
465 * bufferview_funcs.C:
478 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
479 LCursor and mathcursor parts to LCursor and InsetBase.
481 2004-01-15 André Pönitz <poenitz@gmx.net>
483 * cursor_slice.[Ch]: add a few covienience functions
485 * funcrequest.[Ch]: remove BufferView * member
487 * BufferView_pimpl.C:
494 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
496 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
498 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
499 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
501 2004-01-13 André Pönitz <poenitz@gmx.net>
504 * lyxtext.h: hide cursor and selection anchor behind accessor function
507 * BufferView_pimpl.[Ch]:
509 * bufferview_funcs.C:
519 * cursor_slice.[Ch]: some integer type changes for inset unification
521 * lyxcursor.[hC]: remove, it's CursorSlice now.
524 * BufferView_pimpl.[Ch]:
525 * bufferview_funcs.C:
531 * textcursor.[Ch]: adjust
533 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
535 * text2.C (undoSpan): add and use
536 * text.C (breakParagraph): use undoSpan (fix bug 578)
539 2004-01-08 Angus Leeming <leeming@lyx.org>
541 * BufferView_pimpl.C (MenuInsertLyXFile):
542 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
543 * lyxfunc.C (menuNew, open, doImport):
544 FileFilterList change to the FileDialog open and save functions.
546 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
548 * ShareContainer.h: make isEqual and isUnique adaptable
550 * CutAndPaste.C: make resetOwnerAndChanges adaptable
552 2004-01-07 Angus Leeming <leeming@lyx.org>
555 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
557 * BufferView_pimpl.C (dispatch): act on these LFUNs.
559 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
560 functions replacing find, replace and replaceAll.
562 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
563 LFUN_WORDFIND(FORWARD|BACKWARD).
565 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
567 * text.C (breakParagraph): remove an outdated #warning
569 2004-01-07 André Pönitz <poenitz@gmx.net>
571 * lyxfind.C: somewhat clearer logic
573 * text.C: prevent crash in cursorX on unitialized row cache
575 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
577 * lyxcursor.[Ch] (operator>): add
578 * textcursor.C (selStart, selEnd): use std::min and std::max
580 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
582 * Chktex.C: include boost/format.hpp
584 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
586 * InsetList.C: replace functor MathcIt with adaptable functor
588 (insetIterator): modify accordingly
590 * BranchList.h: move the BranchNamesEqual functor here from...
591 * BranchList.C: ... to here
593 * BranchList.C: new BranchListEqual fuctor, use it. Remove
595 (add): replace a finding loop with std::find_if.
597 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
599 * output_docbook.C: moving LatexParam functionality into
602 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
604 * buffer.C: increment format to 229.
606 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
609 * lyx_sty.[Ch]: remove minipageindent_def
615 * text3.C: remove LFUN_INSET_MINIPAGE
617 2003-12-28 Angus Leeming <leeming@lyx.org>
619 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
621 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
623 * text2.C (setParagraph): fix off-by-one crash
625 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
627 * output_docbook.C: header stuff for AGU
629 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
631 * text2.C (redoCursor): remove
634 * BufferView_pimpl.C: remove calls to redoCursor and
635 setCursor(cursor.par(), cursor.pos()) all around
637 2003-12-15 Angus Leeming <leeming@lyx.org>
639 * buffer.C: up the format to 228.
641 2003-12-15 André Pönitz <poenitz@gmx.net>
643 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
648 * BufferView_pimpl.C:
657 2003-12-15 Angus Leeming <leeming@lyx.org>
659 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
660 than getFromGUIName to manipulate the color.
662 2003-12-14 Angus Leeming <leeming@lyx.org>
664 * BranchList.[Ch]: minimize the API.
665 (Branch::getBranch, getColor): now return a 'const &'.
666 (Branch::setSelected) now returns a bool set to true if the
667 selection status changes.
668 (BranchList::clear, size, getColor, setColor, setSelected,
669 allBranches, allSelected, separator): removed.
670 (BranchList::find): new functions, returning the Branch with
672 (BranchList::add, remove): return a bool indicating that
673 the operation was successful.
675 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
676 new InsetBranch::isBranchSlected member function.
678 * LColor.[Ch]: mimimize the API.
679 (fill): renamed as addColor and made private.
680 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
681 versions of these functions taking a string arg have been removed.
683 * bufferparams.C (readToken):
684 * lyxfunc.C (dispatch):
685 * lyxrc.C (read): changes due to the altered BranchList and
688 * factory.C (createInset, readInset): changes due to altered
691 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
694 * lyxfunc.C: remove insetminipage. "minipage-insert"
695 now produces a frameless minipage box inset.
697 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
699 * textcursor.[Ch] (selStart,selEnd): add new methods
700 remove selection::start, end, use LyXCursor::operator<
701 * lyxcursor.[Ch] (operator<): add
702 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
703 * BufferView.[Ch] (unsetXSel): add
704 * text2.C (clearSelection): use unsetXSel,adjust
707 * rowpainter.C: adjust
708 * bufferview_funcs.C (put_selection_at): adjust
710 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
712 * BufferView_pimpl.C: small coord. correction
714 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
716 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
717 dragging over the splash screen.
719 2003-12-11 Angus Leeming <leeming@lyx.org>
721 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
722 as it is now handled in LyXText::dispatch.
724 * text3.C (doInsertInset): remove a level of nesting.
726 2003-12-11 Angus Leeming <leeming@lyx.org>
728 * factory.C (createInset): changes due to the changed interface to
729 InsetCommandMailer::string2params.
731 2003-12-10 Angus Leeming <leeming@lyx.org>
733 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
734 'dialog-show-new-inset <inset name>'
736 2003-12-10 Angus Leeming <leeming@lyx.org>
738 * buffer.C: up the format to 227.
740 * factory.C: the box inset is now identified simply by 'Box'.
742 2003-12-10 Angus Leeming <leeming@lyx.org>
744 * buffer.C: up the format to 226.
746 * factory.C: the note inset is now identified simply by 'Note'.
748 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
750 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
751 when a pit is enough. Standarize a couple of loops.
753 2003-12-05 Angus Leeming <leeming@lyx.org>
755 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
756 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
757 data to the re-worked "log" dialog.
759 2003-12-03 André Pönitz <poenitz@gmx.net>
767 * text2.C: use Inset::getText instead of Inset::getParagraph
769 2003-12-03 André Pönitz <poenitz@gmx.net>
773 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
774 InsetText::read() as LyXText::read()
776 2003-12-02 Angus Leeming <leeming@lyx.org>
778 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
779 type. Add a comment in the implementation that the function uses
780 the stream's bad() function rather than fail() as the std::streams
783 2003-12-02 André Pönitz <poenitz@gmx.net>
785 * lyxlex.[Ch]: make interface more similar to std::stream
787 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
789 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
791 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
793 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
795 * vspace.[Ch]: remove VSpace::NONE
797 2003-12-01 André Pönitz <poenitz@gmx.net>
800 * lyxtext.h: move ParagraphList member to LyXText
801 rename LyXText::ownerParagraphs to LyXText::paragraph
804 * bufferview_funcs.C:
814 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
816 * undo.C: fix cursor positioning
818 2003-12-01 John Levon <levon@movementarian.org>
820 * BufferView_pimpl.C: fix a crash on exit with
823 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
825 * BranchList.C: fix setSelected() method.
827 2003-11-28 André Pönitz <poenitz@gmx.net>
829 * ParagraphParameters.[Ch]:
830 * ParameterStruct.h: remove space above/below from Paragraph to
833 * BufferView_pimpl.C:
845 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
847 * factory.C: Syntax change for CharStyles
849 2003-11-28 André Pönitz <poenitz@gmx.net>
854 * buffer.[Ch]: move LyXText member
856 2003-11-28 André Pönitz <poenitz@gmx.net>
858 * BufferView.[Ch]: make LyXText * text a private member
860 * BufferView_pimpl.C:
871 * output_plaintext.C: cleanup
873 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
876 * lyxtextclass.[Ch]: parametrize SGML document header
878 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
881 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
884 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
886 * text2.C (setFont): rework using PosIterator (no more recursive)
887 (setCharFont): no more needed
888 (setLayout): no more selection cursors fiddling (done by redoCursor)
889 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
890 destroy remaining ones)
892 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
894 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
896 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
899 * text3.C: adjust + re-allow multi par depth changes
900 * textcursor.C: simplify a bit
902 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
908 * src/output_docbook.C:
909 * src/output_latex.C:
914 * src/text2.C: Introducing a number of tags parametrizing various
915 XML formats that we may want to support
917 2003-11-25 André Pönitz <poenitz@gmx.net>
919 * InsetList.[Ch] (begein, end): inline as suggested by profiler
921 * lyxtext.h (leftMargin/rightMargin): simplify interface
928 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
930 * lyxfunc.C (dispatch): propogate the bibtex databases from the
931 master file to any child files. Fixes bug 546.
933 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
935 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
937 2003-11-24 André Pönitz <poenitz@gmx.net>
939 * rowpainter.C: simplification
941 * text2.C (updateCounters): remove call to redoParagraph on
942 changed labels as this is far too expensive.
944 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
946 * converter.C (convert): fix a crash: this function gets
947 called with buffer == 0 from importer code.
949 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
951 * text3.C (cursorPrevious): make sure that we do not compare
952 iterators form different containers.
955 * rowpainter.C (paintSelection): make sure that we do not compare
956 iterators from different containers.
958 * text3.C (dispatch): [PRIOR] make sure that we do not compare
959 iterators from different ParagraphList containers.
962 * text2.C (LyXText): change order of initialization slightly
963 (operator=): new function. copy all variables except cache_par_
964 (moveUp): make sure that we do not compare iterators from
965 different ParagraphList constainers.
968 * text.C (firstPar): new function
969 (lastPar): new function
970 (endPar): new function
972 * lyxtext.h: move things around and group public functions, public
973 variables, private functions, private variables
975 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
977 * factory.C: change call to InsetERT constructor to avoid
978 additional invocation of method status
979 * text2.C (toggleInset): remove redundant update() call
980 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
981 instead of a Bufferview pointer
983 2003-11-21 André Pönitz <poenitz@gmx.net>
985 * rowpainter.C: simplification
987 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
989 * text3.C (dispatch): make possible to extend a word/row selection
992 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
994 * lyxtext.h: x0_,y0_ -> xo_,yo_
995 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
996 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
997 * rowpainter.C (paintRows): paint full paragraphs
999 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1001 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1004 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1006 * lyxtext.h: add x0_, y0_
1007 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1008 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1010 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1012 * text2.C (setCursorIntern): move the x_target update here *
1013 * text3.C: change some bv() to true/false in calls to
1014 cursorUp/Down/Right/Left
1015 * cursor.C: use helper function.
1017 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1019 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1020 * paragraph_funcs.[Ch]: correct comment
1021 * rowpainter.C: do not paint selections away from bv->cursor()
1022 Fix a long standing selection painting bug.
1023 * text3.C: generalize mouse-selection code to LyXTexts other that
1025 * textcursor.C: do not use y coords if we can use par offsets
1027 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1029 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1030 cursor position after e.g. inset insert)
1032 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1034 * lyxfind.C (replace): adjust to locking removal + some
1037 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1039 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1042 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1045 * output_docbook.C: XML sanitation: new layout
1046 parameters InnerTag and CommandDepth
1048 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1050 * BufferView_pimpl.C:
1052 * text3.C: Fix the insertion and modification of button-style
1055 2003-11-13 André Pönitz <poenitz@gmx.net>
1057 * InsetList.[Ch]: remove deleteLyXText
1059 * paragraph.[Ch]: cache beginOfBody position
1064 * text3.C: remove superfluous update() calls
1068 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1070 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1071 * BufferView.C (fitLockedInsetCursor): remove
1072 * cursor.[Ch] (getDim): add
1073 * text.C (getRowNearY): add faster version
1074 * text3.C: remove some update calls
1076 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1088 * text3.C: The Character Style /XML short element patch.
1090 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1093 * factory.C: Small step to solving 'unable to insert some insets'
1096 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1098 * cursor.[Ch] (updatePos): new function for updating the y
1099 position of the tip inset
1100 * bufferview_funcs.C (put_selection_at):
1101 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1103 2003-11-11 André Pönitz <poenitz@gmx.net>
1105 * text.C: remove big comment on invalid Paragraph pointers as it is
1108 2003-11-11 André Pönitz <poenitz@gmx.net>
1110 * text_funcs.[Ch]: merge with ...
1118 * Makefile.am: remove text_funcs.[Ch]
1120 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1122 * cursor.C (getPos): return absolute cached y coord
1124 * BufferView_pimpl.C (fitCursor): new simplistic code
1125 (workAreaDispatch): add a fitCursor call
1127 2003-11-10 André Pönitz <poenitz@gmx.net>
1130 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1132 2003-11-10 André Pönitz <poenitz@gmx.net>
1134 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1135 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1136 indicate that the cursor needs to leave an inset
1138 * lyxtext.h: remove inset locking
1140 * cursor.[Ch]: re-implement functionality provided by inset locking
1143 * BufferView_pimpl.[Ch]:
1145 * bufferview_funcs.[Ch]:
1157 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1159 * PosIterator.[Ch]: replace the stack with a vector, add inset
1161 * iterators.[C]: adjust
1163 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1165 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1167 * paragraph_funcs.C (readParToken): put the correct id in the
1168 error item, not the id of the top paragraph
1170 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1172 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1173 * bufferview_funcs.C (put_selection_at): use the above
1175 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1177 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1179 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * output_linuxdoc.h:
1182 * output_plaintext.h:
1184 * output_docbook.h: add #include statements
1186 2003-11-05 José Matos <jamatos@lyx.org>
1188 * output_docbook.[Ch]:
1189 * output_latex.[Ch]:
1190 * output_linuxdoc.[Ch]:
1191 * output_plaintext.[Ch]: New files for output formats.
1192 * output.[Ch]: New file for helper functions.
1195 * paragraph_funcs.[Ch]: output functions moved to new files.
1197 * outputparams.h: rename of latexrunparams.h
1205 * paragraph_funcs.[Ch]:
1206 * paragraph_pimpl.[Ch]:
1207 * tabular.[Ch]: rename ascii to plaintext
1208 and LatexRunParams to OutputParams.
1210 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1212 * iterators.[Ch] (text): require bv argument
1213 * undo.C (recordUndo):
1214 * lyxfunc.C (dispatch):
1215 * bufferview_funcs.C (put_selection_at): adjust
1217 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1219 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1221 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1223 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1226 2003-11-04 André Pönitz <poenitz@gmx.net>
1228 * cursor.[Ch]: restructure
1231 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1233 * iterators.[Ch] (asCursor): remove
1235 * lfuns.h: remove LFUN_INSET_EDIT
1241 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1243 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1245 * lyxfind.[Ch]: complete overhaul
1246 * BufferView_pimpl.C:
1248 * paragraph.[Ch] (insert): add
1250 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1254 * text.C: remove dead spellcheck code
1256 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * dispatchresult.h: add a val setter
1260 * cursor.C (dispatch): use a tempvar for data_[i]
1262 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1264 * PosIterator.[Ch]: compile fix
1266 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1268 * text.C (cursorPar): deactivate the cursor cache
1270 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1272 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1274 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1276 * text3.C (dispatch): adjust for new DisptchResult semantics.
1278 * lyxfunc.C (dispatch): handle update when return from
1279 Cursor::dispatch, adjust for new DispatchResult semantics.
1281 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1282 DispatchResult(true) mean to not update. Add class functions for
1283 setting dispatched and update, as well as reading.
1285 * cursor.C (dispatch): don't handle update here
1287 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1289 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1290 * trans_mgr.C: adjust
1292 * paragraph_funcs.C (readParToken): exception safety
1294 * lyxvc.h: store the vcs pointer in a scoped_ptr
1297 * lyxsocket.C (serverCallback): exception safety
1299 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1301 * ispell.C (clone): make it return a auto_ptr
1303 * factory.C (createInset): exception safety
1304 (readInset): exception safety
1306 * bufferlist.C (newBuffer): exception safety
1308 * Thesaurus.C (Thesaurus): use initialization for aik_
1310 * MenuBackend.C (expandToc): exception safety.
1312 2003-11-03 André Pönitz <poenitz@gmx.net>
1316 * bufferview_funcs.C: remove getInsetFromId()
1319 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1325 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1327 * PosIterator.C (distance, advance): new
1328 * bufferview_funcs.[Ch] (put_selection_at): new
1329 * iterators.[Ch] (lockPath): new
1331 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1333 * iterators.[Ch] (asPosIterator): added
1334 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1335 * PosIterator.[Ch]: added
1337 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * cursor.C (dispatch):
1342 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1344 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1345 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1346 contructor, add a class function dispatched. Remove operator>=
1348 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * debug.C: only use the default constructor for debugstream
1353 * main.C (main): include debug.h and setup the lyxerr streambuf
1356 2003-10-31 José Matos <jamatos@lyx.org>
1358 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1360 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1361 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1362 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1363 * paragraph_pimpl.C (simpleTeXSpecialC):
1364 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1365 add LatexRunParams argument.
1367 * exporter.C (Export): change call accordingly.
1369 * latexrunparams.h: add new member to take care of the other backends.
1370 2003-10-30 José Matos <jamatos@lyx.org>
1372 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1373 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1374 factorise code for paragraph output.
1376 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1379 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * text3.C (dispatch):
1382 * lyxfunc.C (dispatch):
1383 * cursor.C (dispatch):
1384 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1386 * dispatchresult.h: make the dispatch_result_t ctor explicit
1388 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1391 * buffer.C: small refactoring of docbook stuff
1393 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1395 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1398 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1400 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1401 operator dispatch_result_t, and operators for == != and >=
1403 * cursor.C (dispatch): adjust for operator dispatch_result_t
1404 removal. comment out call to update
1406 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1408 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1416 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1419 * dispatchresult.h: new file, DispatchResult broken out of
1422 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1424 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1426 * text.C (rowBreakPoint): put a hack inside #if 0
1428 2003-10-28 André Pönitz <poenitz@gmx.net>
1432 * paragraph_funcs.C:
1435 * text2.C: general cleanup (lots of small stuff)
1437 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1439 * text2.C (cursorEnd): simple fix to the "end key goes to one
1440 before the end on last row" bug
1442 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1444 * text.C (backspace): fix the "zombie characters"
1446 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1448 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1450 2003-10-27 André Pönitz <poenitz@gmx.net>
1452 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1454 * factory.C: handle new InsetPagebreak, InsetLine
1456 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1457 and move handling into new InsetPagebreak, InsetLine
1459 * BufferView_pimpl.C:
1461 * ParagraphParameters.C:
1462 * ParameterStruct.h:
1467 * paragraph_funcs.C:
1468 * paragraph_pimpl.C:
1474 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1477 * lyxrow_funcs.[Ch]:
1483 * text3.C: remove lastPos uses in favour of Row::endpos
1485 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1487 * undo.C (performUndoOrRedo): fix two crashes by setting a
1488 cursor by hand and reordering some calls. Use bv->lockInset instead
1489 of inset->edit because the latter loses cursor information
1491 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1493 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1495 (rowBreakPoint): fix width. change point to point + 1.
1496 Add a missing check.
1498 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1501 * lyxfunc.C: fix (at least partly) the problems
1502 with the Nav menu and headers inside branch insets
1505 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1507 * paragraph.C (getChar): add strong asserts
1509 * lyxrow_funcs.C (lastPos): remove hideous hack
1511 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1512 (fill): adjust to that (avoid an infinite loop)
1514 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1516 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1518 2003-10-23 André Pönitz <poenitz@gmx.net>
1520 * RowList_fwd.h: change list<> to vector<> to gain speed
1521 after suggestion from Alfredo
1523 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1525 * lyxtext.h: move the bidi stuff from here...
1528 * Bidi.[Ch]: ... to here
1530 2003-10-23 André Pönitz <poenitz@gmx.net>
1533 * text.C (isLastRow, isFirstRow): new functions
1535 * paragraph.h: new width cache member
1537 * rowpainter.C: replace RowList::iterator with Row & where possible
1539 * lyxfunc.C: replace several view()->text with a single call
1541 * toc.C: fix 'unused' warning
1543 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1546 when woring with stream::pos_type
1547 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1549 2003-10-22 André Pönitz <poenitz@gmx.net>
1552 * text.C: use Row & instead of RowList::iterator
1554 * lyxrow.h: rename end() to endpos()
1560 2003-10-22 Angus Leeming <leeming@lyx.org>
1562 * buffer.[Ch] (fully_loaded): new member function, returning true
1563 only when the file has been loaded fully.
1564 Used to prevent the premature generation of previews and by the
1565 citation inset to prevent computation of the natbib-style label.
1567 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1568 templates are all set up.
1570 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1572 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1574 * text.C: fixed an "oops" in the "is a bit silly"
1577 2003-10-21 André Pönitz <poenitz@gmx.net>
1579 * FuncStatus.[Ch]: small stuff, whitespace
1581 * lyxfont.[Ch]: operator<<() for debug reasons
1585 * lyxtext.h: whitespace, spelling
1587 * paragraph.C: naming of variables
1590 * text2.C: small stuff
1593 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1595 * text.C: (1) finish off the inset display() work;
1596 (2) fix the "is a bit silly" bug (accessing char
1599 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1601 * text.C: re-introduce display() for insets, fixing the
1602 various bugs (stretch of line above, math inset
1605 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1607 * text.C (rightMargin): remove spurious semicolon
1609 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1612 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1614 * text3.C: fix one crash due to wrong cursor def
1616 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * vc-backend.C (scanMaster): make the regex static
1620 * LaTeX.C (scanAuxFile): make the regexs static
1622 * text3.C (doInsertInset, dispatch, dispatch):
1623 * text2.C (cursorUp, cursorDown):
1624 * text.C (selectNextWordToSpellcheck):
1625 * BufferView_pimpl.C (dispatch):
1626 * lyxfunc.C (dispatch): localDispatch -> dispatch
1628 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1630 * lyxsocket.C: include <cerrno>
1632 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * lyxfunc.C (dispatch): remove textcache stuff
1636 * bufferlist.C (release): remove textcache stuff
1639 * TextCache.C: delete file
1640 * TextCache.h: delete file
1642 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1644 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1645 delete of the bv_->text.
1646 (resizeCurrentBuffer): remove texcache stuff
1647 (workAreaResize): ditto
1649 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1651 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1654 2003-10-16 André Pönitz <poenitz@gmx.net>
1661 * text3.C: speed up by storing y positions per paragraph plus per-row
1662 offset instead of having a 'full' y position in the row.
1664 2003-10-15 André Pönitz <poenitz@gmx.net>
1668 * undo.[Ch]: make undo aware of inner insets
1670 2003-10-14 Angus Leeming <leeming@lyx.org>
1672 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1673 static member functions LyX::ref() and LyX::cref.
1674 (lastfiles): new accessor functions for the new lastfiles_ member var.
1675 (addLyXView, views_): add a new LyXView to the list of views_.
1676 (updateInset): loop over all LyXViews to call their own updateInset
1677 member function, returning a pointer to the Buffer owning the inset.
1679 * BufferView_pimpl.C (loadLyXFile):
1680 * MenuBackend.C (expandLastfiles):
1681 * bufferlist.C (MenuWrite, QuitLyX):
1682 lastfiles is no longer a global variable.
1683 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1685 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1686 static function. Access through LyX::cref().emergencyCleanup().
1688 2003-10-14 André Pönitz <poenitz@gmx.net>
1690 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1692 * undo.[Ch]: restoring part of 'undo in insets'
1695 * undo_funcs.[Ch]: merge with undo.[Ch]
1697 * tabular.C: small cleansing stuff
1699 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1701 * paragraph_funcs.C (readParToken): report unknown insets as error
1702 boxes. Use the outer paragraph as location (also for unknown
1705 * factory.C (readInset): do not abort on reading an unknown inset.
1706 Eat it and return 0.
1708 2003-10-13 Angus Leeming <leeming@lyx.org>
1710 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1712 * lyxrc.C: displayTranslator is now a function,
1713 declared in GraphicsTypes.h.
1715 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1717 * format.C: new placeholder $$a to pass the socket address.
1719 * bufferlist.[Ch]: new function getBufferFromTmp.
1721 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1722 files in the temporary dir.
1724 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1726 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1728 * Makefile.am: add lyxsocket.[Ch].
1730 * lyx_main.C (error_handler): handle SIGPIPE.
1732 2003-10-13 André Pönitz <poenitz@gmx.net>
1734 * BufferView_pimpl.C:
1739 * undo_funcs.[Ch]: use paroffset_type instead of
1740 ParagraphList::iterators to prevent multiple conversion
1741 (and get a more robust interface)
1743 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1747 * text3.C (dispatch): ditto
1749 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1752 move the onlyfile, use onlyfile instead of foundfile in a couple
1755 * DepTable.C (update): flush the error stream a bit more
1757 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * lyxserver.C (callback): adjust
1761 * lyxfunc.C (getStatus): add a missing brace in commented code
1762 (ensureBufferClean): reindent
1763 (dispatch): delete version taking a string
1765 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1767 * LaTeX.C (deplog): move found file handlig from here...
1768 (handleFoundFile): .. to new function here.
1769 (deplog): make sure to discover several files mentioned on the
1772 2003-10-10 André Pönitz <poenitz@gmx.net>
1779 * text3.C: fix some of the tabular crashes
1781 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1783 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1785 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1787 2003-10-09 André Pönitz <poenitz@gmx.net>
1789 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1792 * BufferView_pimpl.C:
1793 * bufferview_funcs.C:
1804 * undo_funcs.C: adjust
1806 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1808 * text2.C (incrementItemDepth): new function, use a backtracking
1809 algorithm to discover the correct item depth.
1810 (resetEnumCounterIfNeeded): new function, use a backtracking
1811 algorithm to discover if counter reset is needed.
1812 (setCounter): use them. Simplify a bit. Add different labels for
1813 different item depths for itemize.
1815 * paragraph.C (Paragraph): remove initialization of enumdepth
1818 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1819 enumerate and itemize. Change the type of itemdepth to signed char.
1821 2003-10-08 André Pönitz <poenitz@gmx.net>
1823 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1828 * tabular.[Ch]: fix crash after 'row-insert'
1830 2003-10-08 Angus Leeming <leeming@lyx.org>
1832 Fix doxygen warnings.
1834 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1835 Remove CutAndPaste:: prefix from header file declaration.
1837 * LColor.h (fill): remove LColor:: prefix from declaration.
1839 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1840 use lyx::depth_type rather than Paragraph::depth_type so that
1841 header file and .C file match.
1843 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1845 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1846 * aspell.C: \file aspell_local.C -> \file aspell.C
1847 * gettext.C: \file gettext.C -> \file src/gettext.C
1848 * gettext.h: \file gettext.h -> \file src/gettext.h
1849 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1850 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1851 * text.C: \file text.C -> \file src/text.C
1853 * toc.C: move comment so that doxygen is not confused.
1855 2003-10-07 Angus Leeming <leeming@lyx.org>
1857 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1859 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1862 * aspell_local.h: add forgotten std::string's.
1864 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1871 * text3.C: The Box patch. Fancybox support, minipage, parbox
1873 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1879 * ParagraphParameters.h:
1889 * lyxtextclasslist.h:
1892 * paragraph_pimpl.C:
1893 * textcursor.h: add <string> and other small fixes to make Lars'
1894 std::string patch compile with STLport.
1896 2003-10-06 Angus Leeming <leeming@lyx.org>
1898 * LColor.h: Add missing #include <string>.
1900 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * All most all file in all subdirs: Make <string> be the prefered
1903 way of getting to std::string, add using declarations.
1905 2003-10-06 André Pönitz <poenitz@gmx.net>
1907 * metricsinfo.C: initialize LyXFont before changing attribute.
1908 (fixes the 'math in \emph is upright' bug)
1910 2003-10-06 André Pönitz <poenitz@gmx.net>
1912 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1914 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1917 * paragraph_pimpl.C: Small fixes to build using STLport
1919 2003-10-02 André Pönitz <poenitz@gmx.net>
1922 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1924 2003-10-01 André Pönitz <poenitz@gmx.net>
1926 * factory.C: assert early
1928 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * lyx_main.C: remove the global debug object
1932 * debug.h: adjust for new debugstream
1934 * debug.C: adjust for new debugstream and keep the global debug
1937 2003-09-22 Angus Leeming <leeming@lyx.org>
1939 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1940 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1941 an incomplete class LyXFont.
1943 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1945 * factory.C: bug fix in branches
1947 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1949 * lyxfunc.C (processKeySym): adjust
1951 (dispatch): change arg name from ev to func, adjust
1952 (sendDispatchMessage): ditto
1954 * lyx_main.C (defaultKeyBindings): adjust keybindings
1955 (deadKeyBindings): ditto
1957 * kbsequence.C (addkey): return a FuncRequest
1959 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1961 * kbmap.C (bind): take a FuncRequest as arg, adjust
1964 (defkey): change to take a FuncRequest as arg, adjust
1965 (findbinding): take a FuncRequest as arg, adjust.
1967 * funcrequest.h (operator=): added
1969 * funcrequest.C (FuncRequest): default kb_action changed from
1970 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1972 * buffer.C (dispatch): simplify
1973 (dispatch): adjust to take a FuncRequest as arg, adjust
1975 * boost.C (assertion_failed): change assertion message slightly
1977 * ToolbarBackend.C (read): simplify
1979 * MenuBackend.C (binding): adjust call to findbinding, add a
1980 message if no binding is found.
1982 (expandToc): correct by adding a empty FuncRequest
1984 * LyXAction.C: include <boost/assert.hpp>
1985 (isPseudoAction): delete function
1986 (LookupFunc): change name to...
1987 (lookupFunc): this. change return type to FuncRequest.
1988 (getActionName): take kb_action as arg, simplify
1989 (funcHasFlag): add an assert, simplify.
1991 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1993 * toc.C (action): return a FuncRequest, simplify
1995 * lyxfunc.C (processKeySym): adjust
1996 (getStatus): delete version that takes an int.
1998 (dispatch): delete version that takes action as int
2000 (sendDispatchMessage): simplify and adjust
2002 * funcrequest.C (getArg): take unsigned int as arg
2004 * ToolbarBackend.C (read): adjust
2005 (add): delete version that takes func as a string.
2006 (getIton): take a FuncRequest as arg
2008 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2011 * MenuBackend.C (MenuItem): add a new construct that only takes a
2012 Kind, simplify the constructor use for submenus.
2014 (expandLastfiles): adjust
2015 (expandDocuments): adjust
2016 (expandFormats): adjust
2017 (expandFloatListInsert): adjust
2018 (expandFloatInsert): adjust
2019 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2021 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2022 Remove class variables lyx_pseudo_map and lyx_arg_map
2024 * LyXAction.C (searchActionArg): delete function
2025 (getPseudoAction): delete function
2026 (retrieveActionArg): delete function
2027 (LookupFunc): make it return kb_action, simplify.
2028 (getActionName): simplify
2030 * factory.C (createInset): fix new bug
2032 2003-09-19 Angus Leeming <leeming@lyx.org>
2034 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2035 masterFilename_ parameter in the include inset.
2037 * factory.C (createInset): changes due to the changes to InsetInclude.
2039 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2041 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2043 2003-09-18 Angus Leeming <leeming@lyx.org>
2046 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2047 Inset::fillWithBibKeys.
2048 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2050 2003-09-18 Angus Leeming <leeming@lyx.org>
2052 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2054 (ctor): pass and store a 'Buffer const &'
2055 (buffer): new member function.
2057 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2058 '*this' to the LaTeXFeatures ctor.
2060 2003-09-18 Angus Leeming <leeming@lyx.org>
2066 * text.C: rename EnumLColor as LColor_color.
2068 2003-09-18 Angus Leeming <leeming@lyx.org>
2070 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2071 remove #include "insets/insetbase.h" from cursor.h.
2073 2003-09-18 Angus Leeming <leeming@lyx.org>
2075 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2076 InsetOld_code to remove #include "inset.h".
2078 * iterators.C: add #include "insets/inset.h"
2080 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2082 * BufferView.C: remove more locking stuff that apparently doesn't
2083 do anything sensible.
2085 2003-09-16 André Pönitz <poenitz@gmx.net>
2088 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2091 2003-09-16 Angus Leeming <leeming@lyx.org>
2093 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2095 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2098 * paragraph.h: remove #include "lyxfont.h". Forward declare
2101 2003-09-16 Angus Leeming <leeming@lyx.org>
2103 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2104 of support/textutils.h.
2105 (isWord): move the contents of support/textutils.h's IsWordChar here.
2111 * text2.C: add #include "paragraph.h".
2114 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2116 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * LaTeX.C: use namespace alias for lyx::support::os
2124 2003-09-16 Angus Leeming <leeming@lyx.org>
2127 * bufferview_funcs.C:
2130 * paragraph_pimpl.C:
2132 * text.C: add #include "LColor.h".
2134 2003-09-16 Angus Leeming <leeming@lyx.org>
2136 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2137 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2139 Store the FontBits::color variable as an int rather than as an
2140 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2143 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2144 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2145 string calls together.
2147 * lyxrc.C: add #include "LColor.h".
2149 2003-09-15 Angus Leeming <leeming@lyx.org>
2151 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2154 2003-09-15 Angus Leeming <leeming@lyx.org>
2156 * LColor.h: add an EnumLColor wrapper for LColor::color.
2158 * lyxfont.[Ch] (color, setColor, realColor):
2159 * lyxtext.h, text.C (backgroundColor):
2160 pass EnumLColor args to/from the functions, rather than LColor::color
2164 * lyxtext.h: forward declare EnumLColor.
2166 * lyx_main.C: add #include "LColor.h".
2168 2003-09-15 Angus Leeming <leeming@lyx.org>
2170 * .cvsignore: add lyx-gtk.
2172 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * ParagraphParameters.C
2181 * bufferview_funcs.C
2191 * vc-backend.C: remove usage of STRCONV
2193 2003-09-15 Angus Leeming <leeming@lyx.org>
2195 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2196 explicitly define the color passed to the painter.
2198 2003-09-15 Angus Leeming <leeming@lyx.org>
2200 * bufferparams.C (BufferParams): reorder member initializers to avoid
2203 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2205 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2206 * text.C (updateRowPositions): remove an unusual nop
2208 2003-09-12 André Pönitz <poenitz@gmx.net>
2210 * BufferView_pimpl.C:
2219 * Counters.[Ch]: finish the 'automatic counters' job
2221 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2223 * aspell.C: include <boost/assert.cpp> (compile fix)
2225 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2227 * boost.C (assertion_failed): use lyx::support::abort instead of
2230 2003-09-10 Angus Leeming <leeming@lyx.org>
2232 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2233 with their _fwd progeny.
2235 2003-09-09 Angus Leeming <leeming@lyx.org>
2237 134 files throughtout the source tree: replace 'using namespace abc;'
2238 directives with the appropriate 'using abc::xyz;' declarations.
2240 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2242 * boost.C (emergencyCleanup): moved here from LAssert.c
2243 (assertion_failed): new function, called by BOOST_ASSERT
2245 * several files: change Assert to BOOST_ASSERT
2247 2003-09-09 Angus Leeming <leeming@lyx.org>
2249 * buffer.[Ch]: Add an Impl class and move Buffer's member
2250 variables into it. As a result move several header files out of
2253 Add header files to lots of .C files all over the tree as a result.
2255 2003-09-09 Angus Leeming <leeming@lyx.org>
2257 * buffer.[Ch]: make Buffer's member variables private. Add
2260 Lots of changes all over the tree as a result.
2262 2003-09-08 Angus Leeming <leeming@lyx.org>
2264 * graph.C: #include <config.h>.
2266 2003-09-08 Angus Leeming <leeming@lyx.org>
2270 * BufferView_pimpl.C:
2299 * toc.C: remove redundant using directives.
2301 2003-09-07 Angus Leeming <leeming@lyx.org>
2303 * LaTeXFeatures.h: remove #include "support/types.h".
2304 * ToolbarBackend.h: remove #include <algorithm>.
2305 * changes.h: remove #include <ctime>.
2306 * debug.h: remove #include <iosfwd>.
2307 * graph.h: remove #include "support/std_string.h".
2308 * lyx_main.h: remove #include <csignal>.
2309 * lyxlex_pimpl.h: remove #include <fstream>.
2310 * sgml.h: remove #include <algorithm>, <utility>.
2311 * toc.h: remove #include "support/std_ostream.h".
2312 Add #include <iosfwd>.
2314 2003-09-07 Angus Leeming <leeming@lyx.org>
2316 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2318 * converter.h: forward declare LatexRunParams.
2319 * encoding.h: remove #include "lyxrc.h".
2320 * lyxtext.h: remove #include "LColor.h".
2321 * lyxtextclass.h: remove #include "support/types.h".
2322 * trans.h: remove #include "tex-accent.h".
2323 * trans_mgr.h: remove #include "tex-accent.h".
2324 * insets/inset.h: remove #include "support/types.h", <vector>.
2325 * insets/insetcollapsable.h: remove #include "LColor.h".
2326 * insets/insetinclude.h: remove #include "dimension.h".
2327 * insets/insetlatexaccent.h: remove #include "dimension.h".
2328 * insets/insetoptarg.h:: remove #include "insettext.h".
2329 * insets/insettext.h: remove #include "dimension.h",
2330 <boost/shared_ptr.hpp>
2332 * insets/renderers.h: add #include "dimension.h".
2333 * insets/updatableinset.h: add #include "support/types.h".
2335 * many .C files: Associated changes.
2337 2003-09-06 Angus Leeming <leeming@lyx.org>
2339 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2340 one, inside testInvariant.
2342 * PrinterParams.C: new file.
2343 * PrinterParams.[Ch]: move the function bodies out of line.
2345 2003-09-06 Angus Leeming <leeming@lyx.org>
2347 * ParagraphParameters.h: forward declare ParameterStruct rather than
2348 including its header file.
2349 (depth): moved out-of-line.
2351 2003-09-06 Angus Leeming <leeming@lyx.org>
2353 * BufferView_pimpl.h:
2356 * lyxfunc.h: forward declare LyXKeySym rather than
2357 #include "frontends/LyXKeySym.h".
2359 * BufferView_pimpl.C:
2362 * lyxfunc.C: associated changes.
2364 2003-09-06 Angus Leeming <leeming@lyx.org>
2366 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2367 As a result, can remove the #include "insets/inset.h" from BufferView.h
2369 2003-09-06 Angus Leeming <leeming@lyx.org>
2371 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2372 As a result, can remove the #include "insets/inset.h" from BufferView.h
2374 2003-09-06 Angus Leeming <leeming@lyx.org>
2380 * bufferview_funcs.C:
2381 * BufferView_pimpl.C:
2386 * ParagraphParameters.C:
2391 * frontends/controllers/ControlDocument.C:
2392 * insets/insetcaption.C: rearrange the #includes into some sort of
2395 * buffer.h: remove #includes ErrorList.h, undo.h
2397 2003-09-06 Angus Leeming <leeming@lyx.org>
2399 * support/types.h: add a 'depth_type' typedef, used to store the
2400 nesting depth of a paragraph.
2403 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2404 defining explicitly.
2407 * paragraph_funcs.h:
2408 * ParagraphParameters.h:
2409 * sgml.h: use lyx::depth_type rather than Paragraph or
2410 ParameterStruct's depth_type.
2413 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2416 * BufferView_pimpl.C:
2418 * ParagraphParameters.C:
2421 * bufferview_funcs.C:
2428 * frontends/LyXView.C:
2429 * frontends/controllers/ControlDocument.C:
2430 * frontends/controllers/ControlErrorList.C:
2431 * insets/insetbibitem.C:
2432 * insets/insetbranch.C:
2433 * insets/insetcaption.C:
2434 * insets/insetcollapsable.C:
2435 * insets/insetenv.C:
2436 * insets/insetert.C:
2437 * insets/insetfloat.C:
2438 * insets/insetfoot.C:
2439 * insets/insetfootlike.C:
2440 * insets/insetnewline.C:
2441 * insets/insetquotes.C:
2442 * insets/insettabular.C:
2443 * insets/insettext.C:
2444 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2446 * frontends/controllers/ControlChanges.C: #include "changes.h".
2448 2003-09-06 Angus Leeming <leeming@lyx.org>
2450 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2451 than #including paragraph.h.
2454 * RowList.h: deleted. Superfluous.
2464 * insets/insettext.h: use ParagraphList_fwd.h rather than
2467 * paragraph.h: don't forward declare ParagraphList.
2470 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2471 rather than ParagraphList.h. paragraph.h is still needed for the
2472 Paragraph::depth_type parameters.
2474 * textcursor.h: enable it to compile stand-alone in light of the
2477 * bufferview_funcs.C:
2489 * frontends/controllers/ControlParagraph.C:
2490 * frontends/controllers/ControlTabular.C:
2491 * insets/insetmarginal.C:
2492 * insets/insetminipage.C:
2493 * insets/insetnote.C:
2494 * insets/insetoptarg.C: add header files needed to compile again.
2496 2003-09-06 Angus Leeming <leeming@lyx.org>
2498 * RowList_fwd.h: new file, forward-declaring Row rather than
2499 #including lyxrow.h.
2504 * insets/insettext.h: use it instead of RowList.h
2506 * bufferview_funcs.C:
2513 * text3.C: #include "RowList.h".
2515 2003-09-05 Angus Leeming <leeming@lyx.org>
2517 * factory.C (createInset):
2518 * vspace.C (c-tor): replace sscanf call with an istringstream.
2519 * ispell.C: re-add missing HP/UX headers.
2520 * lyxserver.C: re-add missing os2 headers.
2522 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2531 * text3.C: re-add missing system headers, needed for 2.95.2.
2533 2003-09-05 Angus Leeming <leeming@lyx.org>
2535 Changes most place everywhere due to the removal of using directives
2536 from support/std_sstream.h.
2538 2003-09-05 Angus Leeming <leeming@lyx.org>
2540 Replace LString.h with support/std_string.h,
2541 Lsstream.h with support/std_sstream.h,
2542 support/LIstream.h with support/std_istream.h,
2543 support/LOstream.h with support/std_ostream.h.
2545 Changes resulting throughout the tree.
2547 2003-09-05 Angus Leeming <leeming@lyx.org>
2549 * sgml.h: ensure that the header file can be compiled stand-alone.
2550 * *.C: strip out redundant #includes. (320 in total.)
2552 2003-09-04 Angus Leeming <leeming@lyx.org>
2554 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2555 here (from getPackages).
2557 * debug.[Ch]: add a new EXTERNAL tag.
2559 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2561 * text2.C (cursorEnd): simplify
2563 (getColumnNearX): adjust
2565 * text.C (computeBidiTables): adjust
2568 * rowpainter.C (paintChars): adjust
2569 (paintSelection): adjust
2570 (paintChangeBar): adjust
2573 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2575 (numberOfSeparators): adjust
2577 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2583 * text3.C: Restricts the mouse click functionality
2584 of insets like bibtex, include, toc and floatlist to the visible
2585 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2586 up the dialogs. Cursor has to be in front of the inset (i.e.
2587 start of row) for this to function.
2589 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2591 * bufferview_funcs.C (currentState): output row information
2593 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2595 * bufferview_funcs.C (currentState): output paragraph position
2597 2003-09-04 Angus Leeming <leeming@lyx.org>
2599 * FloatList.h: move out #include "Floating.h".
2600 * LaTeX.h: move out #include "DepTable.h".
2601 * LyXAction.h: move out #include "funcrequest.h".
2602 * buffer.h: move out #include "author.h", "iterators.h".
2603 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2604 * lyx_main.h: move out #include "errorlist.h".
2605 * lyxfunc.h: move out #include "FuncStatus.h".
2606 * lyxtext: move out #include "lyxcursor.h".
2607 * paragraph_pimpl.h: move out #include "counters.h".
2609 2003-09-03 Angus Leeming <leeming@lyx.org>
2611 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2612 preamble_snippets list, enabling us to add snippets to the preamble
2613 only if the snippet was not there already.
2615 2003-09-04 Angus Leeming <leeming@lyx.org>
2617 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2619 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2624 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2626 * BranchList.C: point fix, earlier forgotten
2628 2003-09-02 Angus Leeming <leeming@lyx.org>
2630 * box.C (contains): renamed from 'contained' after a fantastic
2633 2003-09-02 John Levon <levon@movementarian.org>
2639 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2641 2003-09-02 John Levon <levon@movementarian.org>
2643 * text2.C: simplification of cursorEnd(), including partial
2646 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2648 * buffer.C (readFile): add a space
2650 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2652 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2654 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * buffer.C (readFile): new function, take a filename and a
2657 ParagraphList::iterator
2659 (readFile): adjust, make it private. don't use setStream, make
2660 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2661 always contain the filename.
2663 * BufferView.C (insertLyXFile): simplify and make it work for
2666 2003-08-30 John Levon <levon@movementarian.org>
2668 * Makefile.am: fix dist (from Kayvan)
2670 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * most files: change to use const Buffer refs
2674 2003-08-27 André Pönitz <poenitz@gmx.net>
2676 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2677 on top of ownerPar().
2679 2003-08-27 John Levon <levon@movementarian.org>
2681 * funcrequest.C: properly initialise POD members
2683 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2685 * lyxtext.h (top_y): move top_y from here
2690 * BufferView_pimpl.[Ch]: to here
2691 * frontends/screen.C:
2692 * insets/insettabular.C:
2693 * insets/insettext.C: adjust
2694 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2696 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2699 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2701 2003-08-26 André Pönitz <poenitz@gmx.net>
2703 * paragraph_func.[Ch] (outerPar): new function
2706 * paragraph_funcs.C:
2707 * paragraph_funcs.h:
2708 * paragraph_pimpl.C:
2709 * text2.C: remove Inset::par_owner
2711 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2716 * text2.C: eliminates the needFullRow/display() stuff
2717 altogether, putting the logic in metrics/draw in the insets.
2719 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2721 * text2.C (redoParagraphInternal, redoParagraphs):
2722 * text.C (redoParagraph): add a call to updateRowPositions at the
2723 end of each 'metrics-like' call. Remove all others.
2724 (getRow): remove the 'y-computing' version.
2725 (getRowNearY): do not compute nor return the real y. Solve the
2726 'y < 0' problem and simplify.
2728 2003-08-22 Angus Leeming <leeming@lyx.org>
2730 * *.[Ch]: clean-up of licence and author blurbs.
2731 Also move config.h out of a few .h files and into a few .C files.
2733 2003-08-22 André Pönitz <poenitz@gmx.net>
2735 * lyxrow.[Ch]: add x_ and *fill_ members
2740 * text2.C: adjust/remove prepareToPrint() calls
2742 2003-08-22 André Pönitz <poenitz@gmx.net>
2744 * lyxrow.[Ch]: add end_ member
2746 * lyxrow_funcs.C: use LyXRow::end_
2748 * lyxtext.h (singleWidth): add LyXFont parameter
2751 * text2.C: adjust LyXText::singleWidth() calls
2753 * text.C (redoParagraph): simplify row breaking logic
2756 2003-08-19 André Pönitz <poenitz@gmx.net>
2758 * funcrequest.C: initialize button_ member
2761 * rowpainter.[Ch]: interface consolidation
2763 2003-08-18 André Pönitz <poenitz@gmx.net>
2766 * BufferView_pimpl.C:
2768 * paragraph_funcs.C:
2770 * text3.C: remove LyXScreen::draw() and fitCursor calls
2772 * BranchList.h: remove spurious semicolons
2774 * MenuBackend.C: fix branchlist related crash
2776 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2784 * bufferparams.[Ch]:
2788 * text3.C: implements the 'branch inset'
2789 idea. This allows the output of various versions of a document
2790 from a single source version, selectively outputing or suppressing
2791 output of parts of the text.
2792 This implementation contains a 'branch list editor' in a separate
2793 tab of the document settings dialog. Branches are user definable
2794 and have a "display colour" to distinguish them on-screen.
2796 ColorHandler was somewhat cleaned up.
2797 (1) make possible a dynamically growing LColor list by allowing
2798 the graphic context cache to grow along (vector);
2799 (2) eliminate an IMHO unnecessary step in colour allocation.
2801 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2803 * BufferView_pimpl.C: compile fix
2805 2003-08-15 André Pönitz <poenitz@gmx.net>
2807 * rowpainter.C: remove extra metrics calls
2809 * lyxtext.h: merge the two constructors into a single one,
2810 pass reference to owner's par list
2812 * BufferView_pimpl.C:
2816 2003-08-15 André Pönitz <poenitz@gmx.net>
2818 * lyxrow_funcs.[Ch]:
2821 * paragraph_funcs.C:
2826 * text_funcs.C: split LyXText::rowlist_ into individual
2827 Paragraph::rows_ chunks
2830 * BufferView_pimpl.[Ch]:
2833 * text3.C: remove toggleSelection()
2835 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2837 * bufferlist.C: beautify two alerts (shorter text of buttons)
2838 * buffer.C: Remove redundant ' ' from message
2840 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2841 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2842 rename VALIGN_CENTER to VALIGN_MIDDLE
2844 2003-08-11 André Pönitz <poenitz@gmx.net>
2846 * lyxtext.h (getPar):
2847 * text.C: new function
2849 2003-08-11 André Pönitz <poenitz@gmx.net>
2852 * tracer.[Ch]: remove unneeded files
2854 * InsetList.[Ch]: remove resizeInsetsLyXText()
2859 * text3.C: merge insertParagraphs() and appendParagraph()
2860 remove breakAgain(), update()
2862 * BufferView_pimpl.[Ch]:
2863 * bufferview_funcs.[Ch]:
2867 * tabular.C: adjust after text & InsetList changes.
2869 2003-08-08 André Pönitz <poenitz@gmx.net>
2871 * text.C (insertChar, backspace): replace rowlist fiddling
2872 with rebreak of full par
2875 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2876 checkParagraph, updateInset): removed
2878 2003-08-07 André Pönitz <poenitz@gmx.net>
2881 * text3.C: merge some LFUN handlers, remove dead code
2883 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2885 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2887 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2889 * text2.C (DEPM): fix part of bug 1255 and 1256
2891 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2893 * BufferView_pimpl.C (workAreaDispatch): change to use
2894 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2895 that are no mouse related.
2897 2003-08-05 André Pönitz <poenitz@gmx.net>
2900 * BufferView_pimpl.[Ch]:
2901 * bufferview_funcs.C:
2903 * text3.C: rip out "deep update"
2905 * textcursor.[Ch] (last_sel_cursor): remove unused member
2907 2003-08-04 André Pönitz <poenitz@gmx.net>
2910 * BufferView_pimpl.[Ch]:
2911 * ParagraphParameters.C:
2912 * bufferview_funcs.C:
2918 * text3.C: replace "complicated" BufferView::update(...) calls with
2921 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2923 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2925 * Makefile.am (lyx_SOURCES): add paper.h
2927 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2929 * Makefile.am: move things around so that both lyx-qt and
2930 lyx-xforms can be built (according to --with-frontend). Then lyx
2931 is a symbolic link to lyx-[firstfrontend]
2933 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2935 * Always use std::endl with lyxerr
2937 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2939 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2941 2003-08-01 André Pönitz <poenitz@gmx.net>
2944 * BufferView_pimpl.[Ch]:
2946 * text3.C: merge BufferView::repaint() and BufferView::update()
2948 2003-08-01 José Matos <jamatos@lyx.org>
2950 * buffer.[Ch]: file_format is no longer a buffer data element.
2952 2003-08-01 André Pönitz <poenitz@gmx.net>
2957 * text2.C: make redoParagraph more independent of current cursor
2959 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2961 * text2.C: remove unneeded members
2963 2003-07-30 André Pönitz <poenitz@gmx.net>
2965 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2967 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2968 create a single function...
2970 * paragraph_funcs.C (moveItem): ... here.
2973 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2975 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2977 * LColor.[Ch]: Add comment and greyedout logical colors.
2979 2003-07-30 André Pönitz <poenitz@gmx.net>
2981 * tabular.C: don't use Assert too heavily. This crashes where it
2984 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2986 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2987 is disabled (bug 1232)
2989 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2991 * factory.C: limited 'arg' scope
2993 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2995 * factory.C: fixed Note submenu issues
2997 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2999 * factory.C: submenu for Note/Comment/Greyedout
3001 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3004 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3006 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3009 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3010 greyedout. Patch provided by Jürgen Spitzmüller.
3012 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3014 * kbmap.C (read): fix error message when reading bind files
3016 2003-07-29 Angus Leeming <leeming@lyx.org>
3018 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3019 certainly does not do what it purports to do. I am doing it, and
3020 us, a favour by killing it.
3022 2003-07-28 José Matos <jamatos@lyx.org>
3024 * buffer.C (readBody, do_writeFile):
3025 * paragraph.C(readParagraph): \end_document replaces \the_end.
3027 2003-07-29 André Pönitz <poenitz@gmx.net>
3030 * BufferView_pimpl.[Ch]:
3034 * textcursor.[Ch]: remove toggleToggle & Co
3036 2003-07-28 José Matos <jamatos@fep.up.pt>
3038 * buffer.C (readParagraph):
3039 * params_func (readParToken, readParagraph):
3040 * paragraph.C (write): \layout -> \begin_layout.
3042 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * lyxlex_pimpl.C (setFile): clean up slightly.
3046 * bufferparams.h: add compressed var
3048 * buffer_funcs.C (readFile): adjust for LyXLex change
3049 (newFile): ditto + simplify
3051 * buffer.C (writeFile): handle writing of compressed files
3053 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3054 Check if the file is compressed and set a bufferparm if so.
3056 * Makefile.am (lyx_LDADD): remove explicit -lz
3058 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3060 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3061 makeDocBookFile): put the real LyX version in the first line of
3065 * version.C.in: remove lyx_docversion
3067 * tabular.C (write_attribute): add a template-based version to
3068 write enums properly
3070 2003-07-28 André Pönitz <poenitz@gmx.net>
3075 * text3.C: use doubles again for x-coordinates. They are needed.
3077 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * messages.C (getLocaleDir): use lyx_localedir()
3081 * lyxlex_pimpl.C (setFile): compress stuff
3083 * buffer.C (writeFile): add some compression stuff
3084 (do_writeFile): new func, dont call expliti close... will this
3087 * Makefile.am (lyx_LDADD): add -lz
3089 2003-07-28 José Matos <jamatos@fep.up.pt>
3091 * buffer.C: increment file format.
3092 * paragraph_funcs (readParagraph, readParToken):
3093 * paragraph.C (readParagraph): add \end_layout.
3095 2003-07-27 Angus Leeming <leeming@lyx.org>
3097 * Makefile.am: remove special casing for configure-time setting of
3098 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3100 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3101 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3103 2003-07-26 André Pönitz <poenitz@gmx.net>
3105 * paragraph_func.[Ch]:
3106 * paragraph.C (realizeFont): inline it whereever it is used
3111 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3114 2003-07-26 André Pönitz <poenitz@gmx.net>
3118 * text2.C: get rid of LyXText::need_break_row
3120 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * toc.[Ch]: put namespace toc inside namespace lyx
3124 * MenuBackend.C (expandToc2): adjust for lyx::toc
3127 * lyxfunc.C (dispatch): adjust for lyx::find
3129 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3130 lyx::find instead. Reorganize a bit.
3131 (LyXReplace): rename to replace
3132 (LyXFind): rename to find
3134 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3137 2003-07-26 André Pönitz <poenitz@gmx.net>
3139 * text.C (setHeightOfRow): restrict scope of temporary variable
3141 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3142 code (never has been used?)
3144 2003-07-27 Asger Alstrup <alstrup@local>
3146 * text.C (fill): Optimise algorithm to exploit that we can reuse
3147 the LyXFont for many characters.
3148 (setHeightOfRow): Same thing.
3149 (rowBreakPoint): Same thing.
3151 2003-07-26 Asger Alstrup <alstrup@local>
3153 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3155 * text.C (singleWidth): Spurious font copying in hot-spot
3156 singleWidth avoided. Reorder tests for arabic for efficiency.
3158 * text.C (fill): handle empty paragraphs better.
3160 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3163 * encoding.h: add includes
3165 * lyxrc.C: remove reading of bind files
3167 * lyx_main.C (init): setup bindings and menus only if we have a
3170 * kbmap.C (read): new method. Do the actual reading of bind
3173 * converter.C (dvipdfm_options):
3176 (output): adapt PAPER_* enums.
3178 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3180 * bufferparams.h: remove paper-related enums from there
3182 * paper.h: New file. A trivial header file to hold paper-related
3183 enums. It should later expand to contain many paper-related
3186 * lyxrc.C: declare extern displayTranslator
3188 2003-07-27 José Matos <jamatos@fep.up.pt>
3190 * tabular.[Ch] (linuxdoc): add support for tables and figures
3193 2003-07-27 José Matos <jamatos@fep.up.pt>
3195 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3196 consistency in both functions.
3197 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3199 2003-07-26 Asger Alstrup <alstrup@local>
3201 * rowpainter.C (paintRows): Change algorithm to work directly on
3202 the insets rather than asking every character in the document
3203 whether its an inset.
3205 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3207 * buffer.C (openFileWrite): factorize some code
3209 2003-07-26 Angus Leeming <leeming@lyx.org>
3212 * lyx_main.[Ch]: replace occurances of system_tempdir with
3215 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * rename Inset to InsetOld
3219 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3221 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3222 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3223 which I think is a bit clearer. EDIT is gone, since it was
3224 premature optimisation, and broken for mathed anyway.
3225 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3226 with cursor positioning in insets as well (math insets still do not
3227 work, but that's a different story anyway.) It mysteriously
3228 crashes sometimes with undo in the first paragraph, but I'm fairly
3229 confident that this is a compiler bug.
3231 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * paragraph.C (Paragraph): adjust for new clone return type
3235 (copyIntoMinibuffer): ditto
3237 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3239 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3240 by not having a special case, and always doing a full rebreak of
3241 the document after undo.
3243 2003-07-23 Angus Leeming <leeming@lyx.org>
3245 * factory.C (createInset): InsetExternal::setParams now takes a
3248 2003-07-23 Angus Leeming <leeming@lyx.org>
3250 * factory.C (createInset): changed interface to the external and
3251 graphics mailers' string2params functions.
3253 2003-07-23 Angus Leeming <leeming@lyx.org>
3255 * factory.C (createInset): pass a
3256 Buffer const * parameter to InsetExternalMailer's string2params.
3258 2003-07-22 John Levon <levon@movementarian.org>
3260 * Thesaurus.h: include the right aiksaurus header
3262 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3264 * MenuBackend.C (expand): check menu shortcuts unconditionally
3266 2003-07-21 Angus Leeming <leeming@lyx.org>
3268 * factory.C (createInset): pass a
3269 buffer_path parameter to InsetGraphicsMailer's string2params.
3271 2003-07-21 Angus Leeming <leeming@lyx.org>
3273 * BufferView_pimpl.C (buffer):
3276 * lyxfunc.C (dispatch):
3277 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3278 rather than the grfx shortcut.
3280 2003-07-21 André Pönitz <poenitz@gmx.net>
3282 * rowpainter.C: remove unused variables
3285 * tabular_funcs.h: move to tabular.C
3286 * Makefile.am: adjust
3288 * tabular.[Ch]: basic optical cleaning
3290 * author.h: pass references, not values
3292 2003-07-18 André Pönitz <poenitz@gmx.net>
3300 * text3.C: two-phase drawing for InsetText and InsetTabular
3301 some float -> int changes.
3303 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3305 * lyx_main.C: fix the fix
3307 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3309 * lyx_main.C: fix a crash in batch mode if no files specified
3312 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3314 * format.[Ch] (papersize): moved to BufferParams
3315 * converter.[Ch] (dvips_options): moved to BufferParams
3316 (dvipdfm_options): moved to anon namespace
3317 * bufferparams.[Ch]: added above functions.
3319 2003-07-17 André Pönitz <poenitz@gmx.net>
3323 * text2.C: don't call inset->update() anymore
3325 * metricsinfo.[Ch]: add convenience constructor
3327 2003-07-16 André Pönitz <poenitz@gmx.net>
3332 * text2.C: replace the LyXCursor::irow_ member with
3333 on-demand computation of the value
3335 2003-07-16 John Levon <levon@movementarian.org>
3337 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3339 2003-07-15 André Pönitz <poenitz@gmx.net>
3342 * text2.C: remove no more needed refresh_row
3344 2003-07-15 André Pönitz <poenitz@gmx.net>
3349 * text3.C: refresh_status tristate -> need_update bool
3351 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3353 * lyxtext.h (init): remove reinit argument (act as if always true)
3354 * text2.C: adjust to that
3356 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3358 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3359 * text3.C: use it to delete selections in some cases
3360 (bugs 441, 673, 702, 954).
3362 2003-07-14 André Pönitz <poenitz@gmx.net>
3364 * rowpainter.[Ch]: reduce interface
3366 2003-07-14 André Pönitz <poenitz@gmx.net>
3368 * BufferView_pimpl.C:
3369 * text2.C: adjust after removing unused BufferView * argument
3371 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3373 * text2.C (init): fix a crash fired on resize
3375 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3377 * buffer.[Ch]: added new closing signal
3378 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3379 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3380 BufferView::Pimpl via the closing the signal
3382 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3384 * buffer.[Ch]: take out all bv-related from buffer
3386 * BufferView_pimpl.[Ch]: connect to new signals
3387 * CutAndPaste.C: removed useless asserts
3388 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3391 * lyxfunc.C: moved view-related funciontality from vc here
3392 * paragraph.C: removed outdated comments
3395 2003-07-10 André Pönitz <poenitz@gmx.net>
3397 * BufferView_pimpl.C:
3401 * text2.C: remove InsetText::InnerCache, clean up consequences
3403 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3405 * ispell.C: fix two typos in error messages
3407 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3409 * Extend Note inset to other forms of annotation like Comment
3410 and Greyedout. Right button click gives dialog.
3412 Files modified or added (+):
3416 * ControlNote.[Ch] +
3418 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3419 frontends/controllers
3423 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3425 * aspell.C: add missing namespace lyx::support
3427 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3429 * BufferView.[Ch] (newFile): Add
3430 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3431 * LaTeX.[Ch] (message): added this signal and use it
3432 * buffer.[Ch] (busy, message): added these signals and use them
3433 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3437 * importer.C: use buffer signals instead of direct bv calling
3438 * lyx_cb.[Ch] (ShowMessage): removed
3441 * paragraph_funcs.C:
3442 * text2.C: use buffer signals
3444 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * introduce namespace lyx::graphics
3448 2003-07-02 André Pönitz <poenitz@gmx.net>
3450 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3452 2003-07-01 André Pönitz <poenitz@gmx.net>
3459 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3460 text*.C to text_func.C
3462 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * introduce namespace lyx::support
3466 2003-06-30 André Pönitz <poenitz@gmx.net>
3471 * text.C: re-enable --with-included-string
3473 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * textcursor.C: add <config.h>
3477 * text.C (getWord): remove const from word_location arg
3479 * lyxvc.C (getLogFile): fix const type order
3481 * lyxtext.h: remove const from word_location arg, add arg name
3483 * lyxlayout.h: currect type on labeltype.
3485 * importer.C: correct \file
3487 * converter.C (intToFormat): use std:: on ret val, ws changes
3489 * bufferlist.h: correct \file
3491 * buffer.C (makeLinuxDocFile): fix const type order
3492 (makeDocBookFile): ditto
3493 (fillWithBibKeys): use std:: on stdlib args.
3495 * CutAndPaste.C: fix authors.
3496 (availableSelections): use std:: on return vector
3498 2003-06-27 André Pönitz <poenitz@gmx.net>
3500 * BufferView_pimpl.C:
3501 * bufferview_funcs.C:
3509 * text3.C: remove LyXCursor::row_ member
3512 * text.C: rename fullRebreak() to partialRebreak() and implement
3513 a fullRebreak() that really bereks fully
3515 * textcursor.h: new struct for cursor-related data
3517 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3519 * lyx_main.C (LyX): get full path of document loaded on the
3522 2003-06-26 André Pönitz <poenitz@gmx.net>
3524 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3525 remove unused/broken operator>,<,>=.
3527 * text.C: remove only use of broken operator<= in an Assert().
3529 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3531 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3532 moved errorlist_.clear to showErrorList
3534 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3536 * converter.C (scanLog, runLaTeX):
3537 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3538 move the bv->showErrorList call to the callers
3539 * lyxfunc.C: i.e. here...
3541 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3542 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3543 namespace, the second to...
3544 * buffer_funcs (BufferFormat, parseErrors): added
3545 * errorlist.C (ErrorList(TeXErrors const &)): removed
3547 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3549 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3551 2003-06-24 "Garst R. Reese" <reese@isn.net>
3555 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3557 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3559 * version.C.in: change docversion to 1.4
3561 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3563 * buffer.C: fix a bug just introduced
3565 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3567 * buffer.[Ch]: added the parseError signal and use it, removed
3569 * BufferView.[Ch] (addError): moved to ...
3570 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3571 to the Buffer::parseError signal to catch (guess what) parse errors
3572 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3574 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3576 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3577 ability to create a buffer and to return an existing one from
3578 the list. Moved these functions to...
3579 * buffer_funcs.[Ch]: added
3580 * BufferView.[Ch] (loadLyXFile): added
3581 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3582 job removed from bufferlist::loadLyXFile.
3583 * buffer.C (setReadOnly): make it work without view
3584 (i.e added an if (users))
3586 2003-06-19 Angus Leeming <leeming@lyx.org>
3589 * LyXAction.C (init):
3590 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3591 with LFUN_DIALOG_SHOW <name> <data>.
3593 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3595 * CutAndPaste.C (availableSelections): small compilation fix for
3596 ancient (gcc 2.9x) compilers
3598 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * text3.C (cursorNext): add tmp var
3602 * text2.C (updateCounters): for function calling out of for clause
3603 (replaceSelectionWithString): ditto
3604 (insertStringAsParagraphs): ditto
3605 (getColumnNearX): add tmp var
3606 (setCursorFromCoordinates): add tmp var
3607 (cursorDownParagraph): add tmp var
3608 (deleteEmptyParagraphMechanism): add tmp var
3610 * text.C (insertChar): add tmp var
3612 * rowpainter.C (paintDepthBar): add tmp var
3614 * CutAndPaste.C (availableSelections): potentially check all
3615 paragraphs in a cut to fill the shown strings.
3617 2003-06-18 André Pönitz <poenitz@gmx.net>
3619 * kbmap.[Ch]: use vector<> instead of list<>
3621 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3623 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3624 pasteSelection with index
3626 * text2.C (pasteSelection): modify, call pasteSelection with index
3628 * paragraph.C (asString): reimplement version with no interval to
3629 call the one with interval.
3631 * lyxtext.h: add index arg to pasteSelection
3633 * MenuBackend.C (MenuItem): handle PasteRecent
3634 (Menu::read::Menutags): add md_pasterecent
3636 (expandPasteRecent): new function
3639 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3641 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3643 (availableSelections): new function
3645 2003-06-17 Angus Leeming <leeming@lyx.org>
3647 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3649 2003-06-17 Angus Leeming <leeming@lyx.org>
3652 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3654 * lyxfunc.C (dispatch): invoke it.
3656 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3658 * iterators.C (operator++, ParPosition): reintroduce some
3659 const_cast for the benefit of older compilers.
3661 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3663 * text3.C (dispatch): do not modify clipboard when doing
3664 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3665 LFUN_DELETE_SKIP on a selection selection
3667 2003-06-16 André Pönitz <poenitz@gmx.net>
3673 * tabular.[Ch]: IU of clone() and getLabelList();
3675 2003-06-13 André Pönitz <poenitz@gmx.net>
3677 * tabular.h: compactification
3679 2003-06-12 André Pönitz <poenitz@gmx.net>
3683 * tabular_funcs.h: some renaming plus whitespace
3685 2003-06-12 André Pönitz <poenitz@gmx.net>
3688 * BufferView_pimpl.C:
3694 * toc.C: Return a Paragraph & for ParIterator::operator*()
3696 2003-06-11 John Levon <levon@movementarian.org>
3700 * ToolbarBackend.C: add "Toolbars" section and
3703 2003-06-10 Angus Leeming <leeming@lyx.org>
3706 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3708 * lyxfunc.C (dispatch): invoke it.
3710 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * main.C: protect <ios> with HAVE_IOS
3713 (main): protect sync_with_stdio with HAVE_IOS
3715 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3717 * text2.C (cutSelection): adjust
3718 (pasteSelection): adjust
3720 * messages.C: handle get of empty string
3722 * main.C (main): use sync_with_stdio(false)
3724 * lyxfunc.C (dispatch): adjust
3726 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3727 (WriteAs): remove unneeded BufferView arg.
3729 * bufferparams.h: use correct types on papersize, papersize2 and
3732 * bufferparams.C (readToken): adjust for type
3733 (writeLaTeX): add missing cases to switch.
3735 * bufferlist.C (quitWriteBuffer): adjust
3738 * buffer.C (asciiParagraph): remove some commented code.
3740 * CutAndPaste.C: remove current_view extern variable.
3741 (cutSelection): add BufferParams arg.
3742 (eraseSelection): add BufferParams arg.
3743 (pasteSelection): add Buffer const & arg
3745 2003-06-07 John Levon <levon@movementarian.org>
3748 * paragraph_funcs.C:
3749 * paragraph_pimpl.C:
3753 * paragraph.C: allow InsetERT to freely space lines,
3754 and some consolidation of code
3756 2003-06-06 José Matos <jamatos@fep.up.pt>
3758 * buffer.C (makeDocBookFile): fix bug #821
3760 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3762 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3764 2003-06-04 Angus Leeming <leeming@lyx.org>
3766 * buffer.C: bump format to 224.
3768 2003-06-05 André Pönitz <poenitz@gmx.net>
3770 * text2.C (redoParagraphs): remove two const_cast<>
3772 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3774 * ParagraphList.h: remove last remnants of NO_STD_LIST
3776 2003-06-03 Angus Leeming <leeming@lyx.org>
3778 * factory.C (createInset): small change to the way InsetExternal's params
3781 2003-06-04 André Pönitz <poenitz@gmx.net>
3783 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3785 * paragraph_pimpl.h:
3786 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3788 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3790 * undo_funcs.C: make some simple cases of undo work again
3792 2003-06-03 John Levon <levon@movementarian.org>
3794 * ispell.C: HPUX doesn't have sys/select.h
3797 2003-06-03 John Levon <levon@movementarian.org>
3799 * CutAndPaste.C: update tabular and include inset
3804 * paragraph.C: remove owningBuffer(), don't pass Buffer
3807 * factory.C: insetGraphicsParams changed
3809 2003-06-02 John Levon <levon@movementarian.org>
3815 * text3.C: remove insetparent
3817 2003-06-02 John Levon <levon@movementarian.org>
3820 * buffer.C: fix inset_iterator.end(), move out of line
3823 2003-06-01 John Levon <levon@movementarian.org>
3825 * text3.C: use a proper cut/paste when doing inset
3826 insert (from Jürgen Spitzmüller)
3828 2003-06-01 John Levon <levon@movementarian.org>
3830 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3832 2003-05-30 André Pönitz <poenitz@gmx.net>
3834 * rowpainter.C: unify second drawing phase
3836 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * trans_mgr.C: remove one case of current_view
3840 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3842 * paragraph_funcs.h: remove paragraph.h include
3844 * paragraph.h: delete NO_STD_LIST stuff
3846 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3848 * buffer.h: remove paragraph.h include
3850 * ParagraphList.C: delete file
3852 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3854 * toc.C (getTocList): adjust
3856 * paragraph_pimpl.C (validate): adjust
3858 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3860 * paragraph.C (Paragraph): adjust
3861 (getPositionOfInset): use const_iterator, adjust
3862 (bibitem): use const_iterator, adjust
3863 (setInsetOwner): adjust
3865 * iterators.C (operator++): adjust
3867 * InsetList.[Ch]: Replace selfmade iterator with standard
3868 vector::iterator also introduce const_iterator. Remove getPos,
3869 getInset and setInset from InsetTable. Adjust accordingly.
3871 * BufferView.C (lockInset): adjust
3872 (ChangeInsets): adjust
3874 * tabular.[Ch]: delete commented same_id functions
3876 2003-05-28 John Levon <levon@movementarian.org>
3878 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3880 2003-05-28 André Pönitz <poenitz@gmx.net>
3882 * metricsinfo.[Ch]: remove 'fullredraw' member
3884 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3886 * lyxtextclass.C (operator): remove caching.
3888 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * text2.C (cursorBottom): adjust
3893 (setCounter): use ParagraphList::find, adjust
3895 * text.C (workWidth): use ParagraphList::find, adjust
3897 * lyxcursor.C (LyXCursor): adjust
3899 * buffer.C (inset_iterator): adjust
3901 * ParagraphList.h: make iterator(value_type) private, make
3902 ParagraphList a friend of iterator.
3904 * ParagraphList.C (find): new function
3906 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3908 2003-05-27 André Pönitz <poenitz@gmx.net>
3910 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3912 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3914 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3916 2003-05-26 John Levon <levon@movementarian.org>
3918 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3920 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3922 * remove same_id from function signatures, adjust.
3924 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3928 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3930 * paragraph.C (Paragraph): get rid of same_ids parameter
3932 * ParagraphList.C (insert): adjust
3935 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * paragraph_funcs.C (breakParagraph): adjust
3938 (breakParagraphConservative): adjust
3940 * buffer.C (readParagraph): adjust
3942 * ParagraphList.C (insert): take a reference instead of a pointer
3945 * paragraph.[Ch] (id): new function
3947 * bufferlist.C (newFile): adjust
3949 * ParagraphList.C (ParagraphList): adjust
3951 (push_back): take a reference instead of a pointer.
3953 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3955 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3958 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3959 set else use old code.
3961 * ParagraphList.C: remove all NO_NEXT code and only compile this
3962 code of NO_STD_LIST is set.
3964 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3966 * BufferView_pimpl.C:
3976 * graphics/GraphicsConverter.C:
3977 * graphics/PreviewLoader.C: header adjustment
3979 2003-05-23 Angus Leeming <leeming@lyx.org>
3981 * LaTeXFeatures.[Ch] (useBabel): new method.
3982 * bufferparams.C (writeLaTeX): use it.
3984 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * ParagraphList.h (set): remove unused function.
3988 2003-05-23 André Pönitz <poenitz@gmx.net>
3991 * BufferView_pimpl.C:
3995 * undo_funcs.C: setUndo reworked
3997 * iterators.[Ch]: add access to topmost ParagraphList
3999 * lyxtext.[Ch] (workWidth): add a const
4001 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4003 * texrow.[Ch] (increasePos): remove function
4004 * exporter.C (export): removed unused var and outdated comment
4006 2003-05-23 Angus Leeming <leeming@lyx.org>
4008 * latexrunparams.h: rename fragile as moving_arg.
4009 * paragraph.C (simpleTeXOnePar): ditto.
4010 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4012 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4014 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4016 (textUndoOrRedo): comment out a currently unused var.
4018 * paragraph.h (NO_NEXT): enable NO_NEXT
4020 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4022 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4024 * exporter.C (Export): adjust for removeAutoInsets removal.
4026 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4028 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4030 * BufferView.[Ch] (removeAutoInsets): delete function
4032 2003-05-22 Angus Leeming <leeming@lyx.org>
4034 * latexrunparams.h: add a free_spacing variable.
4036 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4037 to pass moving_arg, as the data is stored in runparams.fragile.
4039 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4040 to Inset::latexOptional or to simpleTeXOnePar.
4042 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4043 free_spacing arg to Inset::latexOptional.
4045 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4048 2003-05-22 Angus Leeming <leeming@lyx.org>
4050 * latexrunparams.h: add fragile and use_babel variables.
4052 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4053 * buffer.C (makeLaTeXFile): store this returned value in
4054 runparams.use_babel, thus passing it to the inset::latex methods.
4056 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4057 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4059 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4060 longer has a fragile arg, as it is stored in runparams.fragile.
4062 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4063 moving_arg parameter as the data is stored in runparams.fragile.
4065 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4066 a fragile parameter as the data is stored in runparams.fragile.
4068 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4072 2003-05-22 Angus Leeming <leeming@lyx.org>
4074 * latexrunparams.h: add a 'bool nice' which defaults to false.
4076 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4077 now encapsulated within runparams.
4079 * bufferlist.C (updateIncludedTeXfiles):
4080 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4082 2003-05-22 Angus Leeming <leeming@lyx.org>
4084 * latexrunparams.h: new file containing struct LatexRunParams.
4085 * Makefile.am: add new file.
4087 * LaTeX.[Ch] (c-tor, run):
4088 * buffer.[Ch] (makeLaTeXFile):
4089 * bufferlist.[Ch] (updateIncludedTeXfiles):
4090 * converter.C (convert, scanLog):
4091 * converter.[Ch] (runLaTeX):
4092 * exporter.C (Export):
4093 * paragraph.[Ch] (simpleTeXOnePar):
4094 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4095 * paragraph_funcs.[Ch] (latexParagraphs):
4096 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4097 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4098 pass around a LatexRunParams parameter.
4100 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * paragraph.[Ch]: remove unused constructor
4104 * ParagraphList.C (erase): new function, taking two iterators
4106 2003-05-22 André Pönitz <poenitz@gmx.net>
4108 * undo_funcs.C: remove duplicated code
4110 * iterator.[Ch]: operator=
4112 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * tabular.C (SetMultiColumn): ws changes
4116 * rowpainter.C (paintFirst): get rid of a ->previous
4118 * lyx_cb.C (getPossibleLabel): parlist simplification
4120 * BufferView.C (ChangeInsets): simplify slightly.
4122 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4124 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4125 * lfuns.h: new LFUN_SPACE
4126 * lyxfunc.C: protected space has a new lfun
4127 * paragraph_funcs.C: read new space insets
4129 * factory.C: handle new space insets
4131 2003-05-22 André Pönitz <poenitz@gmx.net>
4134 * BufferView_pimpl.C:
4137 * undo_funcs.C: return a ParIterator from getParFromID.
4139 * iterators.[Ch]: add two const's
4141 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4143 * toc.C (getTocList): adjust
4145 * iterators.[Ch]: rework for parlist
4147 * buffer.C (par_iterator_begin): adjust
4148 (par_iterator_end): adjust
4150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4152 * BufferView.C (removeAutoInsets): adjust
4153 (ChangeInsets): adjust
4155 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4157 * text.C (top_y): fix bug 1110
4159 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4161 * errorlist.[Ch]: added
4164 * BufferView_pimpl.C:
4165 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4168 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * Makefile.am: ensure that lyx is relinked upon changes to the
4171 various "convenience" libs.
4173 2003-05-20 Angus Leeming <leeming@lyx.org>
4175 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4176 files are compiled in alphabetical order again.
4178 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4180 2003-05-19 Angus Leeming <leeming@lyx.org>
4182 * gettext.[Ch]: remove "char const * _(char const *)".
4184 2003-05-19 André Pönitz <poenitz@gmx.net>
4186 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4195 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4197 2003-05-19 André Pönitz <poenitz@gmx.net>
4201 * lyxtextclass.[Ch]:
4203 * paragraph_funcs.[Ch]:
4205 * text3.C: more insetenv work
4207 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4209 * ParagraphParameters.C (params2string): small bug fixed
4211 2003-05-16 André Pönitz <poenitz@gmx.net>
4214 * bufferview_funcs.C: patch from Kornel Benko to prevent
4215 crash when _(...) is called twice in a statement
4217 2003-05-16 André Pönitz <poenitz@gmx.net>
4224 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4226 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4228 * lyx_main.C (init): remove spurious static_cast
4230 2003-05-14 André Pönitz <poenitz@gmx.net>
4232 * BufferView.C: fix format string
4234 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4236 * BufferView.[Ch] (insertErrors): removed
4237 * BufferView.[Ch] (showErrorList): added
4238 * buffer.C (runChkTeX):
4239 * converter.C (scanLog): call showErrorList instead of inserterrors
4241 2003-05-13 André Pönitz <poenitz@gmx.net>
4243 * BufferView_pimpl.C:
4245 * bufferview_func.C:
4252 * tabular_funcs.h: tostr() from its own header
4254 * ParagraphParameters.C:
4259 * text3.C: STRCONV()
4261 2003-05-12 André Pönitz <poenitz@gmx.net>
4264 * BufferView_pimpl.C:
4268 * ParagraphParameters.C:
4272 * bufferview_funcs.C:
4285 * paragraph_funcs.C:
4289 * text3.C: boost::format -> bformat all over the place
4292 2003-05-09 André Pönitz <poenitz@gmx.net>
4294 * LColor.[Ch]: Pimpl the #include <map> away
4296 2003-05-09 John Levon <levon@movementarian.org>
4298 * bufferlist.C: never remove emergency saves
4300 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * Makefile.am: better lib building
4304 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4308 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4309 (simpleTeXSpecialChars): adjust
4310 (simpleTeXSpecialChars): adjust
4311 * paragraph.C (simpleTeXOnePar): adjust
4312 * buffer.C (makeLaTeXFile): adjust
4314 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4316 * text2.C (changeDepth): parlist cleanup
4317 (getColumnNearX): ditto
4319 * rowpainter.C (getLabelFont): parlist cleanup
4321 * bufferlist.C (newFile): parlist cleanup
4323 * CutAndPaste.C (eraseSelection): parlist cleanup
4325 * BufferView_pimpl.C (trackChanges): parlist cleanup
4328 * BufferView.C (lockInset): parlist cleanup.
4329 (ChangeInsets): ditto
4331 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * CutAndPaste.h: Update file header.
4335 * CutAndPaste.C: Update file header.
4336 Store the parts cut out of the Document in a limited_stack.
4337 (copySelection): adjust
4338 (pasteSelection): new function, takes the index in the limited stack.
4339 (nrOfParagraphs): adjust
4340 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4341 simplify error inset insertion.
4342 (checkPastePossible): adjust
4344 2003-05-06 John Levon <levon@movementarian.org>
4346 * text2.C: don't cast wrap inset to float
4348 2003-05-05 André Pönitz <poenitz@gmx.net>
4351 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4353 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4354 few naked Paragraph *.
4356 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4358 * bufferparams.C: Output warning if a document with missing
4359 TeX document class is loaded
4360 * exporter.C: Disable TeX exports if the document class is missing
4363 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4364 isTeXClassAvailable()
4366 2003-05-03 John Levon <levon@movementarian.org>
4369 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4370 explicit cursor show/hide
4372 * BufferView_pimpl.h:
4373 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4374 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4376 * lyxfunc.C: hide cursor before dispatching.
4381 * text3.C: remove explicit cursor hides
4383 2003-05-02 André Pönitz <poenitz@gmx.net>
4385 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4388 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4391 * text2.C: tiny whitespace
4393 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * undo_funcs.C: almost only ws changes.
4397 * ParagraphList.C (splice): just return if pl is empty.
4399 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * ParagraphList.C (splice): new function.
4403 * CutAndPaste.C (pasteSelection): use it
4405 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * CutAndPaste.C (pasteSelection): remove the last next and
4408 previous from this file.
4410 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * CutAndPaste.C (pasteSelection): more clean up, user proper
4413 ParagraphList functions for pasteing.
4415 * ParagraphList.C (insert): new function, three arg insert
4417 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * ParagraphList.C (insert): new function, three arg insert
4421 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4424 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4428 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4432 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4435 (copySelection): clean up a bit.
4436 (pasteSelection): use make_pair
4438 * ParagraphList.C (ParagraphList): implement copy constructor
4439 (operator=): implement, base on copy constructor.
4442 * paragraph.C (erase): return a bool
4444 * paragraph_pimpl.C (erasePos): remove function, move contents...
4445 (erase): ... here. Return a bool.
4446 (erase): call erase instead of erasePos.
4448 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4450 * ParagraphList.h: define PitPosPair
4451 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4452 ParagraphList, fix a bug on pasting multiple pars
4453 * text2.C: change interface to C&P
4455 2003-04-30 André Pönitz <poenitz@gmx.net>
4457 * undo_func.C: revert part of yesterday's patch 2
4459 2003-04-30 John Levon <levon@movementarian.org>
4461 * LColor.C: s/tabular/table/
4463 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * text3.C (dispatch): do not convert iterator -> pointer
4466 * undo_funcs.C (setCursorParUndo): ditto
4467 * text_funcs.C (transposeChars): ditto
4469 * text2.C (setLayout): ws changes only
4471 * text.C (breakParagraph): do not convert iterator -> pointer
4473 (acceptChange): ditto
4474 (rejectChange): ditto
4479 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4482 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4484 * text3.C (gotoInset): YABG (yet another bad getChar)
4486 2003-04-29 André Pönitz <poenitz@gmx.net>
4488 * paragraph.h: make operator= private unimplemented as long as
4491 * ParagraphList.C: whitespace
4494 * paragraph_pimpl.[Ch]:
4495 * paragraph_funcs.C:
4497 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4500 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4502 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4504 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4505 * paragraph.[Ch] (erase):
4506 * paragraph_pimpl.[Ch] (erase): change return type and value
4507 * text2.C (cutSelection): some rework
4509 2003-04-28 John Levon <levon@movementarian.org>
4511 * bufferlist.C: changes for unsaved changes dialog
4513 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4515 * bufferlist.C (newFile): set language (messages_) for new
4518 * buffer.C (readFile): ws changes only.
4520 2003-04-28 André Pönitz <poenitz@gmx.net>
4525 * BufferView_pimpl.C:
4526 * BufferView.C: getParFromID related ParagraphList::iterator changes
4528 2003-04-28 André Pönitz <poenitz@gmx.net>
4530 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4533 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4535 * messages.C: remove one more localedir class variable.
4537 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * messages.C (getLocaleDir): singleton generation function
4541 (Messages): add a default constructor.
4543 * main.C (main): do not setup localedir here, do not call
4546 * gettext.C (_): use it.
4547 (gettext_init): delete funciton
4549 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4551 * gettext.C (getLyXMessages): new singleton generating function.
4553 * buffer.C (updateDocLang): adjust
4555 * Makefile.am (messages.o): add target
4556 (main.o): remove target
4558 2003-04-27 John Levon <levon@movementarian.org>
4563 * lyxvc.C: specify cancel button in Alert::prompt
4565 2003-04-26 John Levon <levon@movementarian.org>
4570 * LyXAction.C: add LFUN_INSET_SETTINGS
4572 * lyxfunc.C: don't enable tabular-feature when there's
4573 just any locking inset
4575 2003-04-26 John Levon <levon@movementarian.org>
4577 * bufferlist.C: re-add Cancel to buffer close question
4579 * lyxfunc.C: fix import UI a bit
4581 2003-04-25 John Levon <levon@movementarian.org>
4583 * gettext.C: remove the broken asserts for now
4585 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * messages.C: make case where setlocale cannot comply work better.
4589 * buffer.C (updateDocLang): new function
4590 (changeLanguage): use it
4593 * text2.C (setCounter): use B_ a bit.
4595 * lyxlayout.C (Read): be sure to trim the label strings.
4597 * messages.C (Messages): fix typo in comment
4599 * buffer.C (readFile): set message_ after file is loaded.
4600 (makeDocBookFile): remove double return
4601 (changeLanguage): reset message_ upon language change.
4602 (B_): new func, use this to get translated buffer strings.
4604 * main.C: add myself and Jean Marc as authors.
4606 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * messages.[hC]: pimplify Messages, and three different pimpls to be
4609 used in different circumstances.
4611 * gettext.[Ch]: change for use with new message code.
4613 2003-04-24 André Pönitz <poenitz@gmx.net>
4615 * factory.C: support for eqref
4617 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * messages.[Ch]: add missing char
4621 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4623 * messages.[Ch]: New files
4625 2003-04-18 John Levon <levon@movementarian.org>
4629 * BufferView_pimpl.C:
4633 * text2.C: remove layout-copy/paste (bug 778)
4635 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4637 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4639 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4641 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4642 if they succeed. Act accordingly.
4644 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * text2.C (setCharFont): adjust
4647 (setCounter): adjust
4648 (insertStringAsLines): adjust
4650 * text.C (leftMargin): adjust
4651 (setHeightOfRow): adjust
4653 * rowpainter.C (paintFirst): adjust
4656 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4658 (isFirstInSequence): ditto
4659 (getEndLabel): ditto
4662 * paragraph.C (getParLanguage): comment out some hard stuff.
4664 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4666 (simpleDocBookOnePar): ditto
4667 (makeDocBookFile): use ParagraphList::iterator
4669 * CutAndPaste.C (pasteSelection): adjust
4671 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * text2.C (getFont): adjust
4674 (getLayoutFont): adjust
4675 (getLabelFont): adjust
4677 * paragraph_funcs.C (TeXOnePar): adjust
4679 * buffer.C (simpleLinuxDocOnePar): adjust
4680 (simpleDocBookOnePar): adjust
4682 * CutAndPaste.C (pasteSelection): adjust
4684 * BufferView.C (getEncoding): adjust
4686 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4688 2003-04-16 John Levon <levon@movementarian.org>
4690 * lyxfind.C: use parlist stuff for search/changes
4692 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4696 * text2.C (deleteEmptyParagraphMechanism): adjust
4698 * text2.[Ch] (ownerParagraph): delete func (both of them
4700 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * ParagraphList.C: prepare for NO_NEXT
4708 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * text2.C (getFont): adjust
4711 (getLayoutFont): adjust
4712 (getLabelFont): adjust
4714 * paragraph.C (getFont): adjust
4715 (getLabelFont): adjust
4716 (getLayoutFont): adjust
4718 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4720 2003-04-15 John Levon <levon@movementarian.org>
4724 * lyx_main.C: handle Include in .ui files
4726 2003-04-15 John Levon <levon@movementarian.org>
4728 * MenuBackend.C: make the doc files length shorter
4731 * ToolbarBackend.C: handle toolbar placement flags,
4734 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4739 * paragraph_funcs.C (TeXOnePar): adjust
4741 * paragraph.C (getLabelFont): add outerfont arg, adjust
4742 (getLayoutFont): ditto
4743 (simpleTeXOnePar): adjust
4745 * paragraph_pimpl.C (realizeFont): delete func
4747 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4749 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4750 row argument, constify cur argument.
4752 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * text2.C (getFont): adjust
4755 (getLayoutFont): adjust
4756 (getLabelFont): adjust
4758 * paragraph_funcs.C (TeXOnePar): adjust
4759 (outerFont): new func...
4760 (realizeFont): ...moved out from here, changed this to facilitate
4763 * paragraph.C (getFont): take outerfont as arg, adjust
4764 (simpleTeXOnePar): add outerfont arg, adjust
4766 * buffer.C (simpleLinuxDocOnePar): adjust
4767 (simpleDocBookOnePar): adjust
4769 * CutAndPaste.C (pasteSelection): adjust
4771 * BufferView.C (getEncoding): adjust
4773 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * text2.C (setCharFont): adjust
4776 (setCounter): adjust
4778 * text.C (leftMargin): adjust
4779 (setHeightOfRow): adjust
4781 * rowpainter.C (paintFirst): adjust
4784 * paragraph_pimpl.C (realizeFont): adjust
4786 * paragraph.C (isFirstInSequence): move from here...
4787 * paragraph_funcs.C (isFirstInSequence): ...to here
4789 * paragraph.C (outerHook): move from here...
4790 * paragraph_funcs.C (outerHook): ...to here
4792 * paragraph.C (depthHook): move from here...
4793 * paragraph_funcs.C (depthHook): ...to here
4795 * paragraph.C (getEndLabel): move from here...
4796 * paragraph_funcs.C (getEndLabel): ...to here
4798 * text2.C (realizeFont): move from here...
4799 * paragraph_funcs.C (realizeFont): ...to here
4801 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4805 2003-04-14 Angus Leeming <leeming@lyx.org>
4807 * LColor.[Ch]: scrap LColor mathcursor.
4809 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4811 * lyxlex.[Ch] (text): delete function
4812 * trans.C (Load): adjust
4813 * paragraph_funcs.C (readParToken): adjust
4815 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4818 vector<char> instead of a char[].
4820 * lyxlex_pimpl.C (getString): adjust
4822 (lex): use getString
4826 * lyxlex.C (text): use pimpl_->getString()
4830 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4832 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4833 (makeFontEntriesLayoutSpecific): temp var for par.size()
4834 (setLayout): temp var for ownerParagraphs().end()
4835 (fullRebreak): temp var for rows().end()
4836 (selectionAsString): temp var for boost::next(startpit), realize
4837 that the while really is a regular for loop.
4838 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4839 setCursor in one place.
4840 (setParagraph): temp vr for ownerParagraphs().end()
4841 (updateCounters): make the while loop a for loop
4842 (cutSelection): temp var for ownerParagraphs().end()
4843 (updateInset): make the do {} while() a regular for loop
4844 (getCursorX): use temp vars
4845 (setCurrentFont): use temp vars
4846 (getColumnNearX): use temp vars
4848 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * text.C (transformChar): use temp var for getChar
4851 (computeBidiTables): use temp var for row->par()
4852 (fill): move temp vars for row->par() and pit->layout() earlier in
4854 (labelFill): use temp var for row->par()
4855 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4856 asc and desc, realize that pit never changes and that firstpit is
4857 just a duplicate and not needed. Exchange rit->par() with pit in a
4859 (breakAgain): use a temp var for boost::next(rit)
4860 (breakAgainOneRow): ditto
4861 (breakParagraph): use a temp var for rows().begin()
4862 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4863 (cursorRightOneWord): use temp var for cursor.par() and
4864 cursor.pos(), remove usage of tmpcursor.
4865 (cursorLeftOneWord): use temp var for cursor.par() and
4866 cursor.pos() only set cur at end of function.
4868 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4870 * text.C, text2.C: exchange all usage of Paragraph::next with
4871 boost::next(ParagraphList::iterator)
4873 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4875 * text2.C (cursorTop): simplify implementation
4876 (cursorBottom): ditto
4877 (setParagraph): use ParagraphList::iterator
4878 (setCurrentFont): adjust
4879 (getColumnNearX): adjust
4880 (cursorRight): adjust
4881 (cursorLeft): remove usage of Paragraph::previous
4882 (cursorUpParagraph): ditto
4883 (deleteEmptyParagraphMechanism): slight cleanup
4885 * text.C (isBoundary): take a Paragraph const & instead of a
4887 (addressBreakPoint): ditto
4888 (leftMargin): remove usage of Paragraph::previous.
4889 (setHeightOfRow): ditto
4890 (cursorLeftOneWord): ditto
4891 (selectNextWordToSpellcheck): ditto
4894 (breakParagraph): remove one usage of Paragraph::next
4895 (redoParagraph): ditto
4896 (acceptChange): ditto
4897 (insertChar): adjust
4898 (rowBreakPoint): adjust
4900 * bufferview_funcs.C (toggleAndShow): adjust
4902 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4904 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4905 methods to access it.
4907 * text.C: Added updateRowPositions to compute all row positions.
4908 Make top_y and getRowNearY() to use the cached y position
4910 2003-04-11 John Levon <levon@movementarian.org>
4912 * text.C (rowBreakPoint): reintroduce the labelEnd
4913 checks, code copied from the row fill stuff. Deep voodoo.
4915 * text.C (fill): add a comment and debugging for the
4918 2003-04-11 John Levon <levon@movementarian.org>
4920 * text.C: make sure fullrow insets get wrapped to the next line,
4921 even when they're in a manual label
4923 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * text2.C (insertParagraph): make it take ParagraphList::iterator
4927 (setLayout): make it return ParagraphList::iterator
4928 (redoParagraphs): ditto
4930 (checkParagraph): ditto
4932 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4934 * text2.C: adjust several funcs.
4935 (realizeFont): take a ParagraphList::iterator as arg.
4936 (getLayoutFont): ditto
4937 (getLabelFont): ditto
4938 (setCharFont): ditto
4940 * text.C: adjust several funcs.
4942 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4944 * text.C (selectNextWordToSpellcheck): don't accidentally
4947 2003-04-10 John Levon <levon@movementarian.org>
4949 * ToolbarBackend.C (getIcon): special handling for
4952 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4954 * text2.C (cursorRight): a getChar assert fixed
4956 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * text2.C (getFont): change to take a ParagraphList::iterator
4959 instead of Paragraph*
4960 Adjust several functions.
4962 * text.C (transformChar): change to take a ParagraphList::iterator
4963 instead of Paragraph*
4964 (singleWidth): ditto
4965 Adjust several functions.
4967 * rowpainter.C: adjust several functions
4968 * rowpainter.h:store a ParagraphList::iterator and not a
4972 2003-04-09 John Levon <levon@movementarian.org>
4977 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4978 and the "help" bits as well
4980 2003-04-09 John Levon <levon@movementarian.org>
4983 * ToolbarBackend.C: allow multiple toolbars
4985 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * undo_funcs.C (setCursorParUndo): adjust
4989 * text_funcs.C (transposeChars): adjust
4991 * text3.C (gotoNextInset): adjust
4994 * text2.C (setLayout): adjust
4995 (changeDepth): adjust
4997 (redoParagraphs): adjust
4998 (selectionAsString): adjust
4999 (setParagraph): adjust
5000 (insertInset): adjust
5001 (cutSelection): adjust
5002 (copySelection): adjust
5003 (pasteSelection): adjust
5004 (insertStringAsLines): adjust
5005 (updateInset): adjust
5006 (setCursor): change to take a ParagraphList::iterator parameter
5007 (setCursorIntern): change to take a ParagraphList::iterator parameter
5008 (setCurrentFont): adjust
5009 (cursorLeft): adjust
5010 (cursorRight): adjust
5011 (deleteEmptyParagraphMechanism): adjust
5013 * text.C (breakParagraph): adjust
5014 (insertChar): adjust
5015 (acceptChange): adjust
5016 (rejectChange): adjust
5017 (selectNextWordToSpellcheck): adjust
5018 (changeCase): adjust
5022 * lyxfind.C (SearchForward): adjust
5023 (SearchBackward): adjust
5024 (nextChange): adjust
5026 * lyxcursor.C (par): adjust
5028 * lyxcursor.h: store a ParagraphList::iterator instead of a
5031 * lyx_cb.C (getPossibleLabel): adjust
5033 * bufferview_funcs.C (toggleAndShow): adjust
5035 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5038 * BufferView.C (removeAutoInsets): adjust
5039 (lockedInsetStoreUndo): adjust
5041 2003-04-09 John Levon <levon@movementarian.org>
5043 * ToolbarBackend.C: try icon without argument
5044 if with argument fails
5046 2003-04-08 John Levon <levon@movementarian.org>
5049 * ToolbarBackend.C: add getIcon(), handle tooltip,
5050 and change from "Icon" to "Item".
5052 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5054 * BufferView.C (lockInset): another bad getchar crunched
5056 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5058 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5061 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5063 * lyxfind.C (searchForward, searchBackwards): bug 782
5065 2003-04-07 John Levon <levon@movementarian.org>
5067 * paragraph.C: remove dead comment
5069 * text.C: remove troublesome depth-fiddling code
5070 in leftMargin() and rightMargin() (bug 1017)
5072 * text.C: fix breaking of rows in nested lists
5075 * text2.C (updateCounters): fix up depth values
5078 2003-04-07 John Levon <levon@movementarian.org>
5080 * BufferView_pimpl.C: clear message when doc finishes resizing,
5081 and after a mouse event
5083 * lyxfunc.C: clear message after exiting inset
5085 2003-04-07 John Levon <levon@movementarian.org>
5087 * bufferview_funcs.C: show math status not outside
5088 status in the statusbar
5090 2003-04-07 John Levon <levon@movementarian.org>
5092 * lyxfunc.C: note status changed after a depth change
5094 2003-04-04 Angus Leeming <leeming@lyx.org>
5096 * LaTeX.h: move AuxInfo operator==, != out of line.
5097 Remove LaTeX virtual destructor; nothing derives from it.
5098 Move operator()() out of public area and rename it startscript().
5099 Change protected for private.
5101 2003-04-04 Angus Leeming <leeming@lyx.org>
5104 * text2.C: remove unneeded #includes.
5106 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5108 * text2.C (dEPM): fix the heigth of the next row
5110 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5112 * text.C: squashed an invalid getChar requester + some ws changes
5114 2003-04-03 John Levon <levon@movementarian.org>
5116 * bufferview_funcs.h:
5117 * bufferview_funcs.C:
5120 * text2.C: make getStatus work for the env depth lfuns
5122 2003-04-03 John Levon <levon@movementarian.org>
5124 * bufferview_funcs.h:
5125 * bufferview_funcs.C:
5128 * text2.C: parlistize decDepth(), by merging it with incDepth()
5130 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * lyxrow.h: store a ParagraphList::iterator instead of a
5133 Paragraph* and adjust other class functions to suit.
5135 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5138 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5140 * text2.C (setCursor): do not anchor to cursor row for the time being
5142 2003-04-02 John Levon <levon@movementarian.org>
5149 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5151 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * paragraph.h: make ParagraphList and ParagraphList::iterator
5154 friends of Paragraph.
5156 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5158 * ParagraphList.C: Use the private next_ and previous_ from
5161 2003-04-01 John Levon <levon@movementarian.org>
5165 * Makefile.am: rename, remove defaults gunk
5168 * MenuBackend.C: remove defaults gunk
5171 * Languages.C: remove defaults gunk
5174 * lyx_main.C: error out if files couldn't be found.
5176 2003-04-02 John Levon <levon@movementarian.org>
5178 * text2.C: make incDepth() use parlist
5180 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * undo_funcs.C (firstUndoParagraph): adjust
5184 * text3.C (gotoInset): adjust
5185 (dispatch): adjust, and rewrite loop.
5187 * text2.C (init): adjust, and rewrite loop.
5188 (redoParagraphs): adjust
5189 (updateInset): adjust, and rewrite loop.
5190 (deleteEmptyParagraphMechanism): adjust
5192 * tabular.C (LyXTabular): adjust
5193 (SetMultiColumn): adjust
5196 * lyxtext.[Ch] (ownerParagraph): delete function
5197 (ownerParagraphs): new function returns a ParagraphList.
5199 * BufferView.C (removeAutoInsets): adjust
5200 (insertErrors): adjust
5201 (setCursorFromRow): adjust
5203 2003-04-01 Angus Leeming <leeming@lyx.org>
5205 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5208 2003-04-02 John Levon <levon@movementarian.org>
5214 * text_funcs.C: make transposeChars a free function
5216 * lyxrow_funcs.C: remove wrong comment
5218 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5221 * rowpainter.C: adjust
5226 * lyxrow_funcs. [Ch]: new files
5228 * lyxrow.[Ch]: remove next and previous pointers
5229 (next,previous): remove accessor functions
5230 (isParEnd): move to lyxrow_funcs
5231 (lastPos): move to lyxrow_funcs
5232 (nextRowIsAllInset): move to lyxrow_funcs
5233 (lastPrintablePos): move to lyxrow_funcs
5234 (numberOfSeparators): move to lyxrow_funcs
5235 (numberOfHfills): move to lyxrow_funcs
5236 (numberOfLabelHfills): move to lyxrow_funcs
5237 (hfillExpansion): move to lyxrow_funcs
5241 * bufferview_funcs.C (toggleAndShow): adjust
5243 * RowList.h: Remove class RowList from file leave just a
5246 * RowList.C: delete file
5248 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5251 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5253 * text3.C (cursorPrevious): adjust
5254 (cursorNext): adjust
5257 * text2.C (redoHeightOfParagraph): adjust
5258 (redoDrawingOfParagraph): adjust
5261 * text.C (breakParagraph): adjust
5262 (insertChar): adjust
5265 * rowpainter.C (RowPainter): adjust
5266 (leftMargin): simplify and adjust
5267 (most rowpainter functions): adjust.
5269 * rowpainter.h: store the row as RowList::iterator not as Row*
5271 * lyxcursor.C (row): taka RowList::iterator as arg
5274 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5277 2003-04-01 Angus Leeming <leeming@lyx.org>
5279 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5280 stuff like bool Bool.
5282 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5284 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5287 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5289 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5292 * lyxtext.h (rows): drop one version and leve a const variant that
5293 returns a RowList::iterator.
5295 2003-03-31 Angus Leeming <leeming@lyx.org>
5297 * text.C (fill): ensure that the signature is the same as that in the
5300 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * text2.C (redoParagraphs): adjust
5303 (updateCounters): adjust
5304 (checkParagraph): adjust
5305 (getColumnNearX): adjust and reformat a bit.
5307 * text.C (top_y): adjust
5309 (leftMargin): adjust
5310 (prepareToPrint): adjust
5312 (getRowNearY): adjust
5314 * lyxtext.h: make rowlist_ mutable.
5316 * RowList.h: add const_iterator
5317 * RowList.C: adjust for RowList::const_iterator.
5319 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5322 2003-03-31 John Levon <levon@movementarian.org>
5325 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5327 * lyx_main.C: set default fonts from using lyx_gui funcs
5329 * exporter.C: pdf_mode moved from lyxrc
5332 * lyxfunc.C: changes from above
5334 2003-03-31 John Levon <levon@movementarian.org>
5336 * lyx_main.C: fix to the last fix
5338 2003-03-31 John Levon <levon@movementarian.org>
5340 * bufferlist.C: "Load original" -> "Load Original"
5346 * format.C: more Alert cleanups
5348 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * text2.C (removeParagraph): make it take a RowList::iterator as
5352 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5353 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5355 * text.C (anchor_row): make it take a RowList::iterator as arg,
5357 (computeBidiTables): make it take a const reference to Row instead
5358 of Row pointer, adjust.
5359 (leftMargin): make it take a RowList::iterator as arg, adjust.
5360 (rowBreakPoint): adjust
5361 (breakAgainOneRow): make it take a RowList::iterator as arg,
5363 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5365 * bufferview_funcs.C (toggleAndShow): adjust
5367 2003-03-30 John Levon <levon@movementarian.org>
5371 * boost-inst.C: moved to support
5373 * several files: changes as a result
5375 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * text2.C (LyXText): adjust.
5379 (removeRow): make it take a RowList::iterator as arg, adjust.
5380 (fullRebreak): adjust
5381 (deleteEmptyParagraphMechanism): adjust
5382 (clearPaint): adjust
5385 * text.C (top_y): adjust
5386 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5387 (breakAgain): make it take a RowList::iterator as arg, adjust.
5388 (breakParagraph): adjust
5389 (insertChar): adjust
5392 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5393 need_break_row, and refresh_row.
5395 * text3.C (dispatch): adjust
5397 * text2.C (checkParagraph): adjust
5399 (setCursorFromCoordinates): adjust
5401 * text.C (top_y): adjust
5403 (getRow): make it return a RowList::iterator, adjust
5404 (getRowNearY): make it return a RowList::iterator, adjust
5406 * text2.C (init): adjust
5407 (insertRow): remove function
5408 (insertParagraph): adjust
5409 (redoParagraphs): adjust
5410 (fullRebreak): adjust
5411 (updateCounters): adjust
5413 * text.C (top_y): rewrite to use RowList iterators.
5415 (setHeightOfRow): rewrite to sue RowList iterators.
5416 (appendParagraph): adjust
5417 (breakAgain): adjust
5418 (breakAgainOneRow): adjust
5419 (breakParagraph): adjust
5421 (getRowNearY): adjust, and remove commented code.
5423 * lyxtext.h (firstRow): delete function
5424 (lastRow): delete function
5425 (rows): new function (const and non-const versions.)
5426 (insertRow): delete function
5428 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5430 2003-03-29 John Levon <levon@movementarian.org>
5432 * BufferView_pimpl.C: always update scrollbar top
5433 because pasting text when we're anchored could mean we
5434 miss an update altogether
5436 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5438 * text2.C (init): use rowlist_.end() and not 0.
5439 (insertRow): change to take a RowList::iterator as arg, adjust
5441 (insertParagraph): change to take a RowList::iterator as arg,
5443 (redoParagraphs): remove some debug msgs.
5445 * text.C (appendParagraph): change to take a RowList::iterator
5446 arg, adjust for this.
5447 (breakAgain): add an assert
5448 (breakAgainOneRow): ditto
5450 2003-03-29 John Levon <levon@movementarian.org>
5452 * text2.C: do not clear selection after inc/decDepth
5455 2003-03-29 John Levon <levon@movementarian.org>
5458 * buffer.C: fix broken strerrors according to Lars
5460 2003-03-29 John Levon <levon@movementarian.org>
5462 * converters.C: more Alert cleanups
5464 2003-03-29 John Levon <levon@movementarian.org>
5466 * bufferview_funcs.C: remove pointless Alert
5468 * buffer.C: fix confusing error message when
5469 a template is chmoded 000
5471 2003-03-29 John Levon <levon@movementarian.org>
5475 * BufferView_pimpl.C: Alert fixes
5479 * tabular-old.C: remove unused table compat reading
5481 2003-03-29 John Levon <levon@movementarian.org>
5486 * lyx_cb.C: more Alert cleanups
5488 * lyxfunc.C: don't allow chktex if not latex document
5490 2003-03-29 John Levon <levon@movementarian.org>
5494 * buffer.C: warnings pushed down from support/,
5497 2003-03-29 John Levon <levon@movementarian.org>
5499 * lyxfunc.C: safety check for C-r (revert)
5501 2003-03-29 John Levon <levon@movementarian.org>
5504 * bufferlist.C: several UI fixes using Alert::prompt.
5505 Fix the pointless looping quit code. Fix stupid revert
5510 * lyx_cb.C: use Alert::prompt
5512 * lyx_main.C: remove a silly question
5514 * lyxfunc.C: remove a couple of silly questions,
5517 2003-03-28 John Levon <levon@movementarian.org>
5519 * text2.C: fix bug 974 (End on empty par)
5521 2003-03-28 John Levon <levon@movementarian.org>
5523 * BufferView_pimpl.C:
5525 * lfuns.h: remove do-nothing math greek lfuns
5527 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5529 * lyxgluelength.h (isValidGlueLength): add default arg on
5530 parameter 2. Remove default arg from friend in class.
5532 * lyxlength.h (isValidLength): add default arg on parameter 2.
5533 Remove default arg from friend in class.
5535 * text2.C (LyXText): adjust, initialize refresh_row.
5539 (insertParagraph): adjst
5540 (redoParagraphs): adjust
5541 (fullRebreak): adjust
5542 (updateCounters): adjust
5543 (deleteEmptyParagraphMechanism): first attempt at fixing a
5546 * text.C (top_y): adjust
5547 (setHeightOfRow): adjust
5549 (getRowNearY): adjust
5551 * lyxtext.h: include RowList.h
5552 (~LyXText): not needed anymore, deleted.
5553 (firstRow): modify for RowList
5554 (lastRow): new function
5555 Delete firstrow and lastrow class variables, add a Rowlist
5556 rowlist_ class variable.
5558 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5561 * RowList.C (insert): fix case where it == begin().
5563 2003-03-26 Angus Leeming <leeming@lyx.org>
5565 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5566 the thesaurus dialog.
5568 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5572 * RowList.[Ch]: new files
5574 * ParagraphList.C (erase): handle the case where it == begin
5577 2003-03-25 John Levon <levon@movementarian.org>
5581 * aspell.C: add new aspell support
5584 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5587 2003-03-25 Angus Leeming <leeming@lyx.org>
5590 * LyXAction.C (init): new LFUN_INSET_INSERT.
5592 * BufferView_pimpl.C (dispatch): split out part of the
5593 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5595 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5598 2003-03-25 Angus Leeming <leeming@lyx.org>
5600 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5602 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5605 * text3.C: remove useless row->height(0)
5607 2003-03-25 John Levon <levon@movementarian.org>
5611 * text3.C: rename the refreshing stuff to better names
5613 2003-03-24 John Levon <levon@movementarian.org>
5615 * BufferView_pimpl.h:
5616 * BufferView_pimpl.C: update layout choice on a mouse
5619 2003-03-23 John Levon <levon@movementarian.org>
5621 * Makefile.am: fix commandtags.h reference
5623 2003-03-22 John Levon <levon@movementarian.org>
5625 * BufferView_pimpl.C:
5630 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5632 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5635 * text.C: take the rtl methods out of line
5637 2003-03-21 André Pönitz <poenitz@gmx.net>
5639 * metricsinfo.[Ch]: new files containing structures to be passed around
5640 during the two-phase-drawing...
5642 2003-03-21 André Pönitz <poenitz@gmx.net>
5644 * lyxtextclass.C: read 'environment' tag.
5646 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5648 * text2.C (removeRow): fix bug 964
5650 2003-03-20 John Levon <levon@movementarian.org>
5654 * text2.C: paint cleanups. Inset::update() dropped font
5657 2003-03-19 John Levon <levon@movementarian.org>
5659 * lyxfunc.C: only fitcursor/markDirty if available()
5661 2003-03-19 John Levon <levon@movementarian.org>
5663 * commandtags.h: rename to ...
5665 * lfuns.h: ... this, and renumber / cleanup
5667 2003-03-19 John Levon <levon@movementarian.org>
5669 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5670 fit the cursor after an lfun
5674 * BufferView_pimpl.h:
5675 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5677 * LyXAction.C: layout-character should have ReadOnly
5679 * ParagraphParameters.C:
5681 * bufferview_funcs.C:
5688 * undo_funcs.C: changes from above
5690 2003-03-18 John Levon <levon@movementarian.org>
5692 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5693 remove it from update()
5695 * lyxfunc.C: update layout choice after an lfun
5697 * text3.C: remove extra updateLayoutChoice()s
5699 2003-03-18 John Levon <levon@movementarian.org>
5701 * text.C: top_y change means full repaint, fix
5702 a drawing bug with cursor movement
5704 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5708 * text2.C: anchor row on setCursor
5710 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5712 * lyxtext.h: remove almost all mutable keywords
5715 * text3.C: remove const keywords accordingly
5717 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5719 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5721 (TeXEnvironment): ditto
5724 2003-03-17 John Levon <levon@movementarian.org>
5726 * text.C (rowBreakPoint): remove attempt to fix displayed
5727 math insets inside a manual label
5729 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5731 * lyxtext.h: remove BufferView* as first arg from almost all class
5733 * other files: adjust.
5735 2003-03-17 John Levon <levon@movementarian.org>
5739 * text2.C: more paint cleanups
5741 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5744 * rowpainter.C: remove "smart" background painting code
5746 2003-03-16 John Levon <levon@movementarian.org>
5751 * text3.C: add helper functions for setting refresh_row/y
5753 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5755 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5756 newline inset which *can* get inserted in the pass_thru layouts.
5757 This is primarily for literate documents.
5759 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5761 * buffer.C: increment LYX_FORMAT to 223
5763 2003-03-14 André Pönitz <poenitz@gmx.net>
5765 * textclass.h: prepare for environment handling, ws changes
5766 * lyxlayout.C: read latexheader and latexfooter tags
5768 2003-03-14 John Levon <levon@movementarian.org>
5770 * text2.C: rewrite ::status() a bit
5772 2003-03-13 John Levon <levon@movementarian.org>
5774 * lyxtext.h: add some docs
5776 2003-03-13 John Levon <levon@movementarian.org>
5781 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5783 2003-03-13 John Levon <levon@movementarian.org>
5785 * text3.C: fix appendix redrawing
5787 2003-03-13 John Levon <levon@movementarian.org>
5789 * text.C (setHeightOfRow):
5791 * rowpainter.C: make appendix mark have the text
5792 "Appendix" so the user knows what it is
5795 * LColor.C: s/appendixline/appendix/ from above
5797 2003-03-13 John Levon <levon@movementarian.org>
5799 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5801 * text.C: fix a getChar(pos) bug properly
5803 2003-03-13 Angus Leeming <leeming@lyx.org>
5806 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5807 Probably only temporary. Let's see how things pan out.
5809 * BufferView.C (unlockInset):
5810 * BufferView_pimpl.C (fitCursor):
5811 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5813 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5814 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5816 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5817 new functions that convert ParagraphParameters to and from a string.
5819 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5820 BufferView::Pimpl's dispatch.
5821 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5823 2003-03-13 André Pönitz <poenitz@gmx.net>
5827 * factory.C: make it aware of InsetEnv
5829 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5831 * text2.C (setCursor): never ask for one past last
5832 (setCursor): add some debugging messages.
5834 * text.C (singleWidth): never ask for one past last
5835 (singleWidth): ditto
5837 (rightMargin): ditto
5838 (rowBreakPoint): ditto
5839 (setHeightOfRow): ditto
5840 (prepareToPrint): ditto
5842 * rowpainter.C (paintBackground): never ask for one past last
5843 (paintText): never ask for one past last
5845 * paragraph_pimpl.C (getChar): make the assert stricter, never
5846 allow the one past last pos to be taken
5848 * paragraph.C (getChar): ws changes only
5850 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5851 (numberOfSeparators): ditto
5852 (numberOfHfills): ditto
5854 2003-03-12 John Levon <levon@movementarian.org>
5860 * paragraph_funcs.C: fix per-buffer authorlists
5862 2003-03-12 John Levon <levon@movementarian.org>
5864 * text.C: fix newline in right address
5866 2003-03-12 Angus Leeming <leeming@lyx.org>
5868 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5869 duplicate those in LyXFunc::dispatch.
5873 * ToolbarDefaults.C:
5874 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5875 Add LFUN_FONTFREE_UPDATE.
5877 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5878 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5880 * bufferview_func.[Ch]: several new functions to facilliate
5881 transfer of data to and from the character dialog.
5883 2003-03-12 John Levon <levon@movementarian.org>
5888 * paragraph_funcs.C:
5889 * paragraph_pimpl.C:
5893 * text3.C: remove META_NEWLINE in favour of an inset
5896 * rowpainter.C: remove paintNewline (done by inset)
5898 2003-03-12 John Levon <levon@movementarian.org>
5900 * paragraph_pimpl.C: complain about bad getChar()s
5901 for a while at least
5903 2003-03-12 John Levon <levon@movementarian.org>
5906 * buffer.C: move paragraph read into a separate function,
5907 a little renaming to reflect that.
5910 * bufferparams.C: remove the author_ids map, not necessary now
5913 * factory.C: moved Buffer::readInset to here
5915 * paragraph_funcs.h:
5916 * paragraph_funcs.C: readParagraph free function moved from
5919 * tabular.C: name change
5921 2003-03-12 John Levon <levon@movementarian.org>
5924 * ParagraphParameters.C: move par params input to
5927 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5928 behave like a normal read from the stream wrt reading
5929 a line vs. a \\token
5931 2003-03-12 John Levon <levon@movementarian.org>
5934 * ParagraphParameters.h:
5935 * ParagraphParameters.C: move output code to a
5938 2003-03-12 John Levon <levon@movementarian.org>
5940 * BufferView.C (insertLyXFile):
5943 * tabular.C: use a parlist iterator for creating the
5946 2003-03-12 John Levon <levon@movementarian.org>
5948 * buffer.C: make current_change static local not
5951 2003-03-12 John Levon <levon@movementarian.org>
5953 * buffer.C: fix insertStringAsLines for change tracking
5955 2003-03-12 John Levon <levon@movementarian.org>
5962 * bufferparams.C: move author list into params. Rename some
5963 functions. Move the header reading into a separate token
5964 loop. Move the header token reading into BufferParams.
5966 2003-03-12 John Levon <levon@movementarian.org>
5968 * changes.C: put debug inside lyxerr.debugging() checks
5970 2003-03-11 André Pönitz <poenitz@gmx.net>
5972 * factory.C: make it aware of InsetHFill
5974 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5976 * buffer.C (latexParagraphs): move function from here...
5977 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5980 2003-03-10 Angus Leeming <leeming@lyx.org>
5982 * LyXAction.C (init): fix bug in poplating array with multiple entries
5983 with the same LFUN (spotted by JMarc).
5985 2003-03-10 John Levon <levon@movementarian.org>
5988 * text2.C: move getColumnNearX() near its
5991 2003-03-10 John Levon <levon@movementarian.org>
5993 * text.C: fix break before a minipage
5995 2003-03-10 John Levon <levon@movementarian.org>
5997 * text.C: fix the last commit
5999 2003-03-09 John Levon <levon@movementarian.org>
6003 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6004 bug 365 (don't break before insets unless needed). Don't
6005 return a value > last under any circumstances.
6007 2003-03-09 Angus Leeming <leeming@lyx.org>
6009 * BufferView_pimpl.C (trackChanges, dispatch): call
6010 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6012 2003-03-09 Angus Leeming <leeming@lyx.org>
6014 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6015 than Dialogs::showAboutlyx().
6017 2003-03-09 Angus Leeming <leeming@lyx.org>
6019 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6020 than Dialogs::showTabularCreate().
6022 2003-03-09 John Levon <levon@movementarian.org>
6026 * text2.C: 3rd arg to nextBreakPoint was always the same.
6029 2003-03-08 John Levon <levon@movementarian.org>
6036 * text2.C: Remove the "main" bit from the "main body"
6039 2003-03-08 John Levon <levon@movementarian.org>
6041 * text.C (leftMargin): The left margin of an empty
6042 manual label paragraph should not include the label width
6045 * text.C (prepareToPrint): don't attempt to measure hfills
6046 for empty manual label paragraphs - the answer should be 0
6048 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6050 * CutAndPaste.C: remove commented code and reindent.
6052 2003-03-08 John Levon <levon@movementarian.org>
6055 * lyxfunc.C: move reloadBuffer()
6058 * BufferView.C: to here
6060 * lyxvc.C: add comment
6063 * vc-backend.C: call bv->reload() to avoid
6064 getStatus() check on MENURELOAD
6066 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6068 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6069 to an old format .dep file.
6071 2003-03-07 Angus Leeming <leeming@lyx.org>
6073 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6074 when the LFUN_MOUSE_RELEASE should have been handled by
6075 inset->localDispatch.
6077 2003-03-07 Angus Leeming <leeming@lyx.org>
6079 * BufferView_pimpl.C (dispatch):
6080 * LyXAction.C (init):
6081 * ToolbarDefaults.C (init):
6083 * lyxfunc.C (getStatus):
6084 remove LFUN_INSET_GRAPHICS.
6086 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6088 2003-03-07 Angus Leeming <leeming@lyx.org>
6091 * LyXAction.C (init):
6092 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6094 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6097 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6099 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6100 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6102 2003-03-07 Angus Leeming <leeming@lyx.org>
6104 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6107 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6109 * ParagraphList.C (front): new function
6112 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6114 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6115 and top_row_offset_. removed var first_y.
6117 * text2.C (LyXText, removeRow):
6119 * BufferView_pimpl.C:
6120 use these methods instead of using first_y
6122 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * text2.C (pasteSelection): adjust for checkPastePossible
6126 * CutAndPaste.C: remove Paragraph * buf and replace with
6127 ParagraphList paragraphs.
6128 (DeleteBuffer): delete
6129 (cutSelection): change the tc type to textclass_type
6130 (copySelection): change the tc type to textclass_type
6131 (copySelection): adjust for ParagraphList
6132 (pasteSelection): change the tc type to textclass_type
6133 (pasteSelection): adjust for Paragraphlist
6134 (nrOfParagraphs): simplify for ParagraphList
6135 (checkPastePossible): simplify for ParagraphList
6136 (checkPastePossible): remove unused arg
6138 * ParagraphList.C (insert): handle the case where there are no
6141 * CutAndPaste.h: make CutAndPaste a namespace.
6143 * text3.C (dispatch): adjust
6145 * text.C (breakParagraph): add a ParagraphList as arg
6147 * paragraph_funcs.C (breakParagraph): change to take a
6148 BufferParams and a ParagraphList as args.
6149 (breakParagraphConservative): ditto
6150 (mergeParagraph): ditto
6151 (TeXDeeper): add a ParagraphList arg
6152 (TeXEnvironment): ditto
6155 * buffer.C (readLyXformat2): adjust
6156 (insertStringAsLines): adjust
6157 (latexParagraphs): adjust
6159 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6160 (cutSelection): adjust
6161 (pasteSelection): adjust
6163 * BufferView_pimpl.C (insertInset): adjust
6165 2003-03-05 Angus Leeming <leeming@lyx.org>
6168 * LyXAction.C (init):
6169 * BufferView_pimpl.C (dispatch):
6170 * lyxfunc.C (getStatus):
6171 remove LFUN_CHILD_INSERT.
6173 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6175 2003-03-05 Angus Leeming <leeming@lyx.org>
6178 * LyXAction.C (init):
6179 * src/factory.C (createInset):
6180 * lyxfunc.C (getStatus):
6181 * text3.C (dispatch):
6182 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6184 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6186 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6188 * ParagraphList.C (insert): handle insert right before end()
6189 (erase): fix cases where it can be first or last paragraph.
6191 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6194 Paragraph::next and Paragraph::previous
6197 * text.C (breakParagraph): adjust
6199 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6200 BufferParams& as arg.
6201 (breakParagraph): use ParagraphList::insert
6202 (breakParagraphConservative): take a Buffer* instead of a
6203 BufferParams& as arg.
6204 (breakParagraphConservative): use ParagraphList::insert.
6206 * buffer.C (insertStringAsLines): un-const it
6207 (insertStringAsLines): adjust
6209 * ParagraphList.C (insert): new function
6211 * CutAndPaste.C (pasteSelection): adjust
6213 * text.C (backspace): adjust
6215 * tabular.C (SetMultiColumn): adjust
6217 * CutAndPaste.C (cutSelection): adjust
6218 (pasteSelection): adjust
6220 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6221 Buffer const * as arg
6223 * ParagraphList.C (erase): new function
6224 * paragraph_funcs.C (mergeParagraph): use it
6225 (mergeParagraph): make it take a Buffer* instead of a
6226 BufferParams* as arg
6228 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6230 (breakParagraphConservative): ditto
6232 * paragraph.h: remove the breakParagraph friend
6234 * paragraph.C (eraseIntern): new function
6235 (setChange): new function
6237 * paragraph_funcs.C (mergeParagraph): make it take a
6238 ParagraphList::iterator instead of a Paragraph *, adjust
6241 * paragraph.h: move an #endif so that the change tracking stuff
6242 also works in the NO_NEXT case.
6244 2003-03-04 Angus Leeming <leeming@lyx.org>
6247 * LyXAction.C: new LFUN_INSET_MODIFY.
6249 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6250 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6252 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * several files: ws changes only
6256 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6257 (TeXEnvironment): ditto
6260 * buffer.C (makeLaTeXFile): adjust
6261 (latexParagraphs): make it take ParagraphList::iterator as args
6263 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * buffer.C (latexParagraphs): adjust
6267 * paragraph.C (TeXOnePar): move function...
6268 (optArgInset): move function...
6269 (TeXEnvironment): move function...
6270 * paragraph_pimpl.C (TeXDeeper): move function...
6271 * paragraph_funcs.C: ...here
6273 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6275 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * buffer.C (readInset): remove compability code for old Figure and
6280 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * buffer.C: ws changes
6285 * BufferView_pimpl.C: ditto
6288 * bufferlist.h: ditto
6292 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6294 * converter.[Ch]: split into itself +
6297 * Makefile.am: += graph.[Ch] + format.[Ch]
6304 * lyxrc.C: added #include "format.h"
6306 2003-02-27 Angus Leeming <leeming@lyx.org>
6308 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6311 * factory.C (createInset): add "label" to the factory.
6313 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6314 string and do no more.
6316 2003-02-27 Angus Leeming <leeming@lyx.org>
6319 * LyXAction.C (init):
6320 * factory.C (createInset):
6321 * BufferView_pimpl.C (dispatch):
6322 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6324 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6326 * lyxfunc.C (dispatch):
6327 * text3.C (dispatch): pass name to params2string.
6329 2003-02-26 Angus Leeming <leeming@lyx.org>
6331 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6333 Rearrange the ~includes. Strip out the unnecessary ones.
6335 * factory.C (createInset): reformat.
6336 create new insets for the various LFUN_XYZ_APPLY lfuns.
6338 2003-02-26 John Levon <levon@movementarian.org>
6341 * lyxrow.C: add isParStart,isParEnd helpers
6343 * paragraph.h: make isInserted/DeletedText take refs
6345 * paragraph_funcs.h:
6346 * paragraph_funcs.C: remove #if 0'd code
6351 * text.C: use lyxrow helpers above.
6352 Move draw and paint routines to RowPainter.
6353 Make several methods use refs not pointers.
6354 Make backgroundColor() const.
6355 Add markChangeInDraw(), isInInset().
6356 Merge changeRegionCase into changeCase.
6357 Make workWidth() shouldn't-happen code into an Assert.
6360 * rowpainter.C: new class for painting a row.
6363 * vspace.C: make inPixels take a ref
6365 2003-02-26 Angus Leeming <leeming@lyx.org>
6367 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6370 2003-02-25 John Levon <levon@movementarian.org>
6372 * ispell.C: give the forked command a more accurate name
6374 2003-02-22 John Levon <levon@movementarian.org>
6377 * toc.C: make TocItem store an id not a Paragraph *
6380 2003-02-21 Angus Leeming <leeming@lyx.org>
6382 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6383 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6384 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6385 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6386 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6387 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6389 * BufferView_pimpl.C (dispatch):
6390 * LyXAction.C (init):
6391 * factory.C (createInset):
6392 * lyxfunc.C (getStatus, dispatch):
6393 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6395 2003-02-21 Angus Leeming <leeming@lyx.org>
6397 * BufferView_pimpl.C (MenuInsertLyXFile):
6398 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6399 * lyxfunc.C (menuNew, open, doImport):
6400 no longer pass a LyXView & to fileDlg.
6402 2003-02-21 Angus Leeming <leeming@lyx.org>
6404 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6405 * LyXAction.C: change, BIBKEY to BIBITEM.
6406 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6407 Change InsetBibKey to InsetBibitem.
6408 Change BIBKEY_CODE to BIBITEM_CODE.
6409 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6410 * factory.C: replace insetbib.h with insetbibitem.h.
6411 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6412 * paragraph.C: replace insetbib.h with insetbibitem.h.
6413 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6414 Change bibkey() to bibitem().
6415 * text.C: remove insetbib.h.
6416 * text2.C: replace insetbib.h with insetbibitem.h.
6417 change bibkey() to bibitem().
6418 * text3.C: remove insetbib.h.
6419 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6421 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6423 * lyxrc.C (output): enclose user email in quotes (in case there are
6426 2003-02-18 John Levon <levon@movementarian.org>
6428 * buffer.h: add std::
6430 2003-02-17 John Levon <levon@movementarian.org>
6436 * pspell.C: reworking. Especially in ispell, a large
6437 number of clean ups and bug fixes.
6439 * lyxfunc.C: fix revert to behave sensibly
6441 2003-02-17 André Pönitz <poenitz@gmx.net>
6444 * commandtags.h: new LFUN_INSERT_BIBKEY
6454 * paragraph_func.C: remove special bibkey handling
6456 2003-02-17 John Levon <levon@movementarian.org>
6458 * text.C (Delete): fix case where delete at the end of
6459 the very first paragraph would not merge the pars
6461 2003-02-17 John Levon <levon@movementarian.org>
6463 * lyxrow.C: fix lastPrintablePos()
6465 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6467 * bufferparams.C (writeLaTeX): add a std:here
6469 * buffer.C: and remove a using directive there
6471 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6473 * buffer.C (makeLaTeXFile): move the code that generates the
6476 * bufferparams.C (writeLaTeX): ... in this new method
6478 * LaTeXFeatures.C (getEncodingSet): make const
6479 (getLanguages): make const
6481 * MenuBackend.C (binding): returns the binding associated to this
6483 (add): sets the status of each item by calling getStatus. Adds
6485 (read): add support for OptSubMenu
6486 (expand): remove extra separator at the end of expanded menu
6488 2003-02-15 John Levon <levon@movementarian.org>
6491 * BufferView_pimpl.C:
6493 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6494 inset code that had no actual effect. Remove unneeded status
6497 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6499 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6502 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6504 * text.C (drawLengthMarker): also draw an arrow marker for
6505 symbolic lengths (medskip...)
6507 2003-02-14 John Levon <levon@movementarian.org>
6510 * tabular.C: better method names
6512 2003-02-14 John Levon <levon@movementarian.org>
6514 * BufferView_pimpl.C:
6519 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6520 it's a more accurate name. Remove some pointless uses.
6522 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6524 * text2.C (LyXText): change order of initilizers to shut off
6527 2003-02-14 John Levon <levon@movementarian.org>
6529 * buffer.C: use ParIterator for getParFromID()
6533 * paragraph_pimpl.h:
6534 * paragraph_pimpl.C: remove unused getParFromID()
6536 2003-02-14 John Levon <levon@movementarian.org>
6538 * buffer.C: remove some very old #if 0'd parse code
6540 2003-02-13 John Levon <levon@movementarian.org>
6544 * text2.C: move hfillExpansion(), numberOfSeparators(),
6545 rowLast(), rowLastPrintable(), numberofHfills(),
6546 numberOfLabelHfills() ...
6549 * lyxrow.C: ... to member functions here.
6554 * text.C: remove LyXText::beginningOfMainBody(), and call
6555 p->beginningOfMainBody() directly. Move the check for
6556 LABEL_MANUAL into the latter.
6563 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6569 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6570 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6572 2003-02-13 John Levon <levon@movementarian.org>
6574 * CutAndPaste.C: remove debug
6576 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6578 * paragraph.C (asString): remove two unused variables
6580 * lyxtextclass.C (readTitleType):
6582 (LyXTextClass): handle new members titletype_ and titlename_
6584 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6586 2003-02-09 John Levon <levon@movementarian.org>
6589 * buffer.C: replace hand-coded list with a map for the dep clean
6591 2003-02-08 John Levon <levon@movementarian.org>
6593 * LaTeX.C: consolidate code into showRunMessage() helper
6595 2003-02-08 John Levon <levon@movementarian.org>
6600 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6601 and pass the size in explicitly
6603 * BufferView_pimpl.h:
6604 * BufferView_pimpl.C:
6606 * BufferView.C: add getCurrentChange()
6608 * BufferView_pimpl.h:
6609 * BufferView_pimpl.C: handle change lfuns
6611 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6612 for changes. Mark pasted paragraphs as new.
6614 * support/lyxtime.h:
6615 * support/lyxtime.C:
6616 * DepTable.C: abstract time_t as lyx::time_type
6619 * LColor.C: add colours for new text, deleted text, changebars
6621 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6622 package use "usenames" option.
6626 * LyXAction.C: add change lfuns
6630 * author.C: author handling
6633 * buffer.C: add a per-buffer author list, with first entry as
6634 current author. Handle new .lyx tokens for change tracking. Output
6635 author list to .lyx file. Output dvipost stuff to .tex preamble.
6636 Bump lyx format to 222.
6639 * bufferlist.C: add setCurrentAuthor() to reset current author details
6643 * bufferparams.C: add param for tracking
6645 * bufferview_funcs.C: output change info in minibuffer
6649 * changes.C: add change-tracking structure
6652 * debug.C: add CHANGES debug flag
6655 * lyxfind.C: add code for finding the next change piece
6658 * lyxrc.C: add user_name and user_email
6661 * lyxrow.C: add a metric for the top of the text line
6664 * text.C: implement accept/rejectChange()
6667 * text.C: paint changebars. Paint new/deleted text in the chosen
6668 colours. Strike through deleted text.
6672 * paragraph_pimpl.h:
6673 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6674 in the current change to the insert functions. Rework erase to
6675 mark text as deleted, adding an eraseIntern() and a range-based
6676 erase(). Implement per-paragraph change lookup and
6679 * paragraph_funcs.C: Fixup paste for change tracking.
6681 * tabular.C: mark added row/columns as new.
6683 * text.C: fix rowLast() to never return -1. Don't allow
6684 spellchecking of deleted text. Track transpose changes. Don't
6685 allow paragraph break or merge where appropriate.
6687 * text2.C: leave cursor at end of selection after a cut.
6689 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6691 * text.C (getLengthMarkerHeight):
6692 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6693 visible on screen too.
6695 2003-02-07 John Levon <levon@movementarian.org>
6697 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6699 2003-02-05 Angus Leeming <leeming@lyx.org>
6701 * lyxserver.C (read_ready): revert my patch of 11 September last year
6702 as it sends PC cpu through the roof. Presumably this means that
6703 the lyxserver will no longer run on an Alpha...
6705 2003-01-30 Angus Leeming <leeming@lyx.org>
6707 * factory.C (createInset): create an InsetCommandParam of type "index"
6708 and use it to 'do the right thing'.
6710 * text2.C (getStringToIndex): ensure that cursor position is always
6711 reset to the reset_cursor position.
6713 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6715 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6718 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6722 * lyxfunc.C: Output messages with identical spelling, punctuation,
6725 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6727 * MenuBackend.C (expandFormats): List only viewable export formats
6730 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6733 * lyxfunc.C (getStatus): Make sure that formats other than
6734 "fax" can also be disabled
6736 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6738 * text3.C (dispatch): put the lfuns that insert insets in 3
6739 groups, and call doInsertInset with appropriate arguments.
6740 (doInsertInset): new function, that creates an inset and inserts
6741 it according to some boolean parameters.
6743 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * buffer.C (readFile): remember to pass on 'par' when calling
6746 readFile recursively.
6748 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6750 * MenuBackend.C (expandFormats): add "..." to import formats.
6752 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6754 * paragraph.C (asString): Remove XForms RTL hacks.
6756 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6757 * buffer.C: fix typo
6759 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * Makefile.am (LIBS): delete var
6762 (lyx_LDADD): add @LIBS@ here instead.
6764 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6766 * Clarify the meaning of "wheel mouse jump"
6768 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6770 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6773 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6775 * importer.C (Loaders): do not preallocate 3 elements in the
6776 vector, since one ends up with 6 elements otherwise
6778 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6780 * DepTable.C (write): write the file name as last element of the
6781 .dep file (because it may contain spaces)
6782 (read): read info in the right order
6784 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6786 * paragraph_pimpl.C (simpleTeXBlanks):
6787 (simpleTeXSpecialChars):
6788 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6790 * tabular.C (latex): add some missing case statements. Reindent.
6792 * MenuBackend.C (expandToc): remove unused variable.
6794 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6803 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6806 2003-01-05 John Levon <levon@movementarian.org>
6809 * BufferView.C: add getEncoding()
6812 * kbsequence.C: do not store last keypress
6815 * lyxfunc.C: store last keypress here instead. Pass encoding
6818 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6820 * lyx_main.C (init): remove annoying error message when following
6821 symbolic links (bug #780)
6823 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6825 * text.C (insertChar):
6826 * lyxrc.C (getDescription): remove extra spaces
6828 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6830 * lyxrc.C (getDescription): remove extra spaces
6832 2002-12-20 John Levon <levon@movementarian.org>
6834 * text3.C: hack fix for page up/down across tall rows
6836 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6838 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6841 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6843 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6844 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6845 thesaurus is not compiled in
6847 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6849 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6851 2002-12-16 Angus Leeming <leeming@lyx.org>
6854 * lyx_main.C (init): remove override_x_deadkeys stuff.
6856 2002-12-12 John Levon <levon@movementarian.org>
6858 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6859 insert. Only remove shift modifier under strict
6862 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6864 * MenuBackend.C (expandToc): fix crash.
6866 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * MenuBackend.C (expandToc): gettext on float names.
6870 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6872 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6873 implement bool empty() [bug 490]
6875 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6877 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6879 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6881 * several files: ws changes
6883 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6885 * text2.C (setCounter): clean up a bit, use boost.format.
6886 (updateCounters): initialize par upon declaration.
6888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6889 if the layout exists. We do not just store the layout any more.
6890 (SwitchLayoutsBetweenClasses): use boost.format
6892 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6894 * converter.C (convert): if from and to files are the same, use a
6895 temporary files as intermediary
6897 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6900 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6902 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6904 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6906 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * tabular.C (asciiPrintCell): use string(size, char) instead of
6911 * sgml.C (openTag): fix order of arguments to string constructor
6914 * lyxfunc.C (dispatch): use boost.format
6916 * lots of files: change "c" -> 'c'
6918 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6920 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6922 2002-11-25 Angus Leeming <leeming@lyx.org>
6924 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6926 * lyx_main.C (init): compile fix.
6928 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6930 * lyx_cb.C (start): boost.formatify
6931 do not include <iostream>
6933 * lengthcommon.C: ws only
6935 * boost-inst.C,BoostFormat.h: add more explict instantations
6937 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * lots of files: handle USE_BOOST_FORMAT
6941 2002-11-21 John Levon <levon@movementarian.org>
6943 * pspell.C: fix compile
6945 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6947 * lyxfunc.C (dispatch): use boost::format
6951 * lyxfont.C (stateText): use boost::format
6953 * lyx_main.C (LyX): use boost::format
6955 (queryUserLyXDir): ditto
6958 (typedef boost::function): use the recommened syntax.
6960 * importer.C (Import): use boost::format
6962 * debug.C (showLevel): use boost::format
6964 * converter.C (view): use boost::format
6969 * bufferview_funcs.C (currentState): use boost::format
6971 * bufferlist.C (emergencyWrite): use boost::format
6973 * buffer.C (readLyXformat2): use boost::format
6974 (parseSingleLyXformat2Token): ditto
6976 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6978 * LaTeX.C (run): use boost::format
6980 * Chktex.C (scanLogFile): use boost::format
6982 * BufferView_pimpl.C (savePosition): use boost::format
6983 (restorePosition): ditto
6984 (MenuInsertLyXFile): ditto
6986 * BoostFormat.h: help file for explicit instation.
6988 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6990 * tabular.C (latex): Support for block alignment in fixed width
6993 2002-11-17 John Levon <levon@movementarian.org>
6995 * BufferView_pimpl.C:
6997 * lyxfunc.C: split filedialog into open/save
6999 2002-11-08 Juergen Vigna <jug@sad.it>
7001 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7002 by my last patch (hopefully).
7004 2002-11-08 John Levon <levon@movementarian.org>
7013 * toc.C: ParConstIterator, and use it (from Lars)
7015 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7017 * lyxtextclass.[Ch]: revise and add doxygen comments
7019 2002-11-07 John Levon <levon@movementarian.org>
7021 * text.C: fix progress value for spellchecker
7023 * toc.C: fix navigate menu for insetwrap inside minipage
7025 * paragraph_funcs.C: added FIXME for suspect code
7027 2002-11-07 John Levon <levon@movementarian.org>
7029 * BufferView_pimpl.C: fix redrawing of insets
7032 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7034 * text2.C (updateCounters): fix bug 668
7036 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7038 * text3.C (dispatch): Do not make the buffer dirty when moving the
7041 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * vc-backend.C: STRCONV
7046 * text2.C (setCounter): STRCONV
7048 * paragraph.C (asString): STRCONV
7050 * lyxlength.C (asString): STRCONV
7051 (asLatexString): ditto
7053 * lyxgluelength.C (asString): STRCONV
7054 (asLatexString): ditto
7056 * lyxfunc.C (dispatch): STRCONV
7059 * lyxfont.C (stateText): STRCONV
7061 * importer.C (Import): STRCONV
7063 * counters.C (labelItem): STRCONV
7064 (numberLabel): ditto
7065 (numberLabel): remove unused ostringstream o
7070 * bufferview_funcs.C (currentState): STRCONV
7072 * buffer.C (readFile): STRCONV
7073 (asciiParagraph): ditto
7074 (makeLaTeXFile): ditto
7076 * Spacing.C (writeEnvirBegin): STRCONV
7078 * LaTeXFeatures.C (getLanguages): STRCONV
7079 (getPackages): ditto
7081 (getBabelOptions): ditto
7082 (getTClassPreamble): ditto
7083 (getLyXSGMLEntities): ditto
7084 (getIncludedFiles): ditto
7088 (scanAuxFile): ditto
7091 * LString.h: add the STRCONV macros
7093 * BufferView_pimpl.C (savePosition): STRCONV
7094 (restorePosition): ditto
7095 (MenuInsertLyXFile): ditto
7097 * vc-backend.C (scanMaster): change from submatch[...] to
7100 * funcrequest.C: include config.h
7102 * factory.C: include config.h
7104 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7106 * box.C: include config.h
7108 * LaTeX.C (scanAuxFile): change from submatch[...] to
7112 2002-10-25 Angus Leeming <leeming@lyx.org>
7114 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7116 * ispell.[Ch] (setError): new method.
7117 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7118 Use setError() insetead of goto END.
7120 * lyx_cb.C (AutoSave): move out child process into new class
7123 2002-10-30 John Levon <levon@movementarian.org>
7125 * text3.C: make start appendix undoable
7127 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7129 * lyxlength.C (inPixels): Fix returned value.
7131 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7134 2002-10-24 Angus Leeming <leeming@lyx.org>
7136 * lyxgluelength.h: no need to forward declare BufferParams
7137 or BufferView, so don't.
7139 2002-10-21 John Levon <levon@movementarian.org>
7141 * BufferView.C: menuUndo ->undo, redo
7143 * BufferView.h: document, remove dead, make some methods private
7145 * paragraph_funcs.h:
7146 * paragraph_funcs.C:
7147 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7152 * sgml.C: move sgml open/close tag into sgml.C
7154 * bufferview_funcs.h: unused prototype
7157 * lyxfunc.C: remove unused
7160 * text.C: remove unused
7162 2002-10-21 John Levon <levon@movementarian.org>
7166 * BufferView_pimpl.h:
7167 * BufferView_pimpl.C: fix mouse wheel handling based on
7168 patch from Darren Freeman
7170 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7172 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7174 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7176 * lyxlength.C (inPixels): Fix hanfling of negative length.
7177 Fix LyXLength::MU case.
7179 2002-10-16 John Levon <levon@movementarian.org>
7181 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7183 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7185 * converter.C (view): add support for $$i (file name) and $$p
7186 (file path) for the viewer command. If $$i is not specified, then
7187 it is appended to the command (for compatibility with old syntax)
7189 2002-10-14 Juergen Vigna <jug@sad.it>
7191 * undo_funcs.C (textHandleUndo): alter the order in which the
7192 new undopar is added to the LyXText, as we have to set first
7193 the right prev/next and then add it as otherwise the rebuild of
7194 LyXText is not correct. Also reset the cursor to the right paragraph,
7195 with this IMO we could remove the hack in "redoParagraphs()".
7197 2002-10-09 Angus Leeming <leeming@lyx.org>
7199 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7200 to turn off an optimisation if a new inset is to be inserted.
7202 2002-10-11 André Pönitz <poenitz@gmx.net>
7204 * lyxtext.h: make some functions public to allow access
7205 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7207 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7209 * text3.C (dispatch): when changing layout, avoid an infinite loop
7212 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7214 * lyxrc.C (read): treat a viewer or converter command of "none" as
7217 * MenuBackend.C (expandFormats): for an update, also allow the
7218 formats that are not viewable
7220 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7221 script if it is newer than the lyxrc.defaults in user directory
7223 2002-10-07 André Pönitz <poenitz@gmx.net>
7225 * text.C: Vitaly Lipatov's small i18n fix
7227 2002-09-25 Angus Leeming <leeming@lyx.org>
7229 * ispell.h: doxygen fix.
7231 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7233 * buffer.h (readFile): Add a new argument to the method, to allow
7234 reading of old-format templates.
7236 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7238 * toc.C (getTocList): Get TOC from InsetWrap.
7240 2002-09-16 John Levon <levon@movementarian.org>
7242 * lyxfunc.C: check tabular for cut/copy too
7244 2002-09-12 John Levon <levon@movementarian.org>
7249 * factory.C: add header
7251 * paragraph_funcs.h:
7252 * paragraph_funcs.C: cleanup
7254 2002-09-11 John Levon <levon@movementarian.org>
7256 * PrinterParams.h: odd/even default to true
7258 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7260 * PrinterParams.h: update printer parameters for new xforms dialog
7262 2002-09-11 Angus Leeming <leeming@lyx.org>
7264 * lyxserver.C (read_ready): re-write to make it more transparent
7265 and to make it work in coherent fashion under Tru64 Unix.
7267 2002-09-11 André Pönitz <poenitz@gmx.net>
7271 * text3.C: implement LFUN_WORDSEL
7273 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7276 make floatlist_ a boost::shared_ptr<FloatList>
7278 * lyxtextclass.C: include FloatList.h
7279 (LyXTextClass): initialize floatlist_
7280 (TextClassTags): add TC_NOFLOAT
7281 (Read): match "nofloat" to TC_NOFLOAT and use it.
7282 (readFloat): modify call to floatlist_
7286 * FloatList.[Ch] (FloatList): remove commented out float
7288 (erase): new function
7290 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7292 * MenuBackend.C (expandToc): fix crash when there is no document
7295 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7297 * many files: Add insetwrap.
7299 2002-09-09 John Levon <levon@movementarian.org>
7301 * text2.C: remove confusing and awkward depth wraparound
7303 2002-09-09 John Levon <levon@movementarian.org>
7305 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7308 * buffer.C: remove getIncludeonlyList()
7311 * lyxfunc.C: remove headers
7313 2002-09-09 Juergen Vigna <jug@sad.it>
7315 * text.C (getColumnNearX): fix form Michael this is most
7316 probably a cut&paste bug.
7318 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7322 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7323 references, ws changes.
7325 * text2.C (init): update counters after init
7326 (insertParagraph): no need to set counter on idividual paragraphs.
7327 (setCounter): access the counters object in the textclass object
7328 on in the buffer object.
7329 (updateCounters): ditto
7331 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7332 shared_ptr<Counters> to avoid loading counters.h in all
7334 (LyXTextClass): initialize ctrs_
7335 (TextClassTags): add TC_COUNTER, and ...
7336 (Read): use it here.
7337 (CounterTags): new tags
7338 (readCounter): new function
7339 (counters): new funtion
7340 (defaultLayoutName): return a const reference
7342 * counters.C (Counters): remove contructor
7343 (newCounter): remove a couple of unneeded statements.
7344 (newCounter): simplify a bit.
7345 (numberLabel): some small formatting changes.
7347 * buffer.[Ch]: remove all traces of counters, move the Counters
7348 object to the LyXTextClass.
7350 2002-09-06 Alain Castera <castera@in2p3.fr>
7352 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7353 package to set the horizontal alignment on fixed width columns.
7356 * lyx_sty.h: added tabularnewline macro def.
7358 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7360 2002-09-06 John Levon <levon@movementarian.org>
7362 * LyXAction.C: tooltips for sub/superscript
7364 * MenuBackend.C: a bit more verbose
7366 * lyxfunc.C: tiny clean
7368 * undo_funcs.C: document undo_frozen
7370 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * counters.C (Counters): add missing algorithm counter.
7374 * text2.C (setCounter): lookup the counter with layouts latexname
7375 instead of by section number.
7376 (setCounter): use a hackish way to lookup the correct enum
7378 a float name->type change
7379 reset enum couners with counter name directly instead of depth value.
7381 * counters.C (Counters): remove the push_backs, change to use the
7382 float type not the float name.
7383 (labelItem): remove unused string, float name->type change
7385 * counters.h: don't include vector, loose the enums and sects vectors
7387 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7390 (Read): add float->TC_FLOAT to textclassTags
7391 (Read): and handle it in the switch
7392 (readFloat): new function
7394 * FloatList.C (FloatList): comment out the hardcoded float
7397 * lyxlayout.h: ws change.
7399 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7401 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7403 2002-09-03 Angus Leeming <leeming@lyx.org>
7405 * BufferView_pimpl.h: qualified name is not allowed in member
7406 declaration: WorkArea & Pimpl::workarea() const;
7408 * factory.C: added using std::endl directive.
7410 * text3.C: added using std::find and std::vector directives.
7412 2002-08-29 André Pönitz <poenitz@gmx.net>
7415 * text2.C: remove unused member number_of_rows
7418 * BufferView2.C: remove file, move contents to...
7419 * BufferView.C: ... here
7421 * BufferView_pimpl.C:
7422 * factory.C: move more inset creation to factory
7424 * vspace.C: avoid direct usage of LyXText, ws changes
7427 don't provide direct access to WorkArea, use two simple
7428 acessors haveSelction() and workHeight() instead
7431 2002-08-29 John Levon <levon@movementarian.org>
7433 * BufferView_pimpl.C (dispatch): do not continue when
7436 2002-08-28 André Pönitz <poenitz@gmx.net>
7438 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7441 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7443 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7445 * buffer.C: increment LYX_FORMAT to 221
7447 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7448 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7450 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7452 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7454 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7456 * factory.C (createInset): use LyXTextClass::floats
7458 * MenuBackend.C (expandFloatListInsert):
7459 (expandFloatInsert):
7462 * text2.C (setCounter):
7464 * LaTeXFeatures.C (useFloat):
7465 (getFloatDefinitions):
7467 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7469 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7470 floatlist_, with accessor floats().
7472 * FloatList.h: remove global FloatList
7474 2002-08-26 André Pönitz <poenitz@gmx.net>
7476 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7480 * BufferView_pimpl.C:
7481 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7483 2002-08-25 John Levon <levon@movementarian.org>
7485 * LyXAction.C: fix margin note description
7487 2002-08-24 John Levon <levon@movementarian.org>
7491 * bufferview_funcs.C:
7493 * undo_funcs.C: cleanups
7495 * lyxfunc.C: disable CUT/COPY when no selection
7497 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7499 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7500 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7502 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7503 Add backward compatibility to "mono", "gray" and "no".
7505 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7507 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7508 (and file_format >= 200).
7510 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7512 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7514 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7516 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7518 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7520 * BufferView_pimpl.C:
7527 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7528 inset and code to make it work with the paragraph code. The inset
7529 can be anywhere in the paragraph, but will only do the expected
7530 thing in LaTeX if the layout file contains the parameter line
7532 (or more generally, a nonzero value) for that layout.
7534 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7536 * paragraph.h: remove the declaration of undefined counters class
7539 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7541 * text2.C (setCounter): fixed enumeration mis-count as reported by
7542 Dr. Richard Hawkins.
7544 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7546 * paragraph_funcs.h: remove some unneeded includes
7548 * text.C (backspace): pasteParagraph now in global scipe
7550 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7551 (pasteSelection): ditto
7553 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7554 * paragraph_funcs.C (pasteParagraph): ... here
7556 2002-08-20 André Pönitz <poenitz@gmx.net>
7558 * commandtags.h: new LFUNs for swapping/copying table row/colums
7561 * lyxfunc.C: support for new lfuns
7563 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * buffer.[Ch]: remove NO_COMPABILITY stuff
7568 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * boost.C (throw_exception): new file, with helper function for
7571 boost compiled without exceptions.
7576 * ParameterStruct.h:
7577 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7579 * bufferlist.C (emergencyWriteAll): use boost bind
7581 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7583 * text.C: include paragraph_funcs.h
7584 (breakParagraph): breakParagraph is now in global scope
7586 * paragraph_funcs.[Ch]: new files
7588 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7591 * buffer.C: include paragraph_funcs.h
7592 (insertStringAsLines): breakParagraph is now in global scope
7594 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7597 * CutAndPaste.C: include paragraph_funcs.h
7598 (cutSelection): breakParagraphConservative is now in global scope
7599 (pasteSelection): ditto
7601 * buffer.h: declare oprator== and operator!= for
7602 Buffer::inset_iterator
7604 * bufferlist.C (emergencyWrite): don't use fmt(...)
7606 * text3.C: add using std::endl
7608 * BufferView.C (moveCursorUpdate): remove default arg
7610 2002-08-20 André Pönitz <poenitz@gmx.net>
7612 * buffer.[Ch]: move inline functions to .C
7615 * BufferView_pimpl.C:
7617 * buffer.[Ch]: use improved inset_iterator
7620 * paragraph.[Ch]: write one paragraph at a time
7622 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7624 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7625 style if style is not specified.
7627 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7629 * text2.C (setCounter): when searching for right label for a
7630 caption, make sure to recurse to parent insets (so that a caption
7631 in a minipage in a figure float works) (bug #568)
7633 2002-08-20 André Pönitz <poenitz@gmx.net>
7635 * text3.C: new file for LyXText::dispatch() and helpers
7637 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7639 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7641 2002-08-19 André Pönitz <poenitz@gmx.net>
7644 * text.C: new LyXText::dispatch()
7646 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7648 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7650 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7652 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7655 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7657 * Makefile.am: use $(variables) instead of @substitutions@
7659 2002-08-15 André Pönitz <poenitz@gmx.net>
7662 * BufferView_pimpl.C: streamlining mathed <-> outer world
7666 * LyXAction.C: remove unused LFUN_MATH
7668 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7672 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7674 * paragraph.C (Paragraph): reformat a bit
7675 (cutIntoMinibuffer): use builtin InsetList function instad of
7679 * buffer.C: include boost/bind.hpp, add using std::for_each
7680 (writeFileAscii): use ParagraphList iterators
7681 (validate): use for_each for validate traversal of paragraphs
7682 (getBibkeyList): use ParagraphList iterators
7683 (resizeInsets): use for_each to resizeInsetsLyXText for all
7685 (getParFromID): use ParagraphList iterators
7687 * BufferView2.C (lockInset): use paragraph list and iterators
7689 2002-08-14 John Levon <levon@movementarian.org>
7691 * lyxserver.C: remove spurious xforms include
7693 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7695 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7697 2002-08-13 André Pönitz <poenitz@gmx.net>
7700 * lyxfunc.C: further cleaning
7702 2002-08-13 André Pönitz <poenitz@gmx.net>
7704 * funcrequest.h: new constructor
7706 * funcrequest.C: move stuff here from .h
7709 * BufferView_pimpl.C:
7712 * lyxfunc.C: subsequent changes
7714 * lyxfunc.h: new view() member function
7716 * lyxfunc.C: subsequent changes
7718 2002-08-13 Angus Leeming <leeming@lyx.org>
7721 * BufferView_pimpl.C:
7729 changes due to the changed LyXView interface that now returns references
7730 to member variables not pointers.
7732 2002-08-13 Angus Leeming <leeming@lyx.org>
7734 * WordLangTuple (word, lang_code): return references to strings,
7739 * lyxtext.h: forward-declare WordLangTuple.
7744 * text.C: #include "WordLangTuple.h".
7747 * text.C: (selectNextWordToSpellcheck): constify return type.
7749 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7755 * paragraph_pimpl.h:
7758 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7760 Made updateCounter always count from start of buffer, and removed
7761 second argument (par).
7762 Reverted floats number display to '#'. Perhaps I'll try again when the
7763 code base is sanitized a bit.
7765 2002-08-12 Angus Leeming <leeming@lyx.org>
7767 * buffer.[Ch] (getLabelList): constify.
7769 2002-08-07 André Pönitz <poenitz@gmx.net>
7771 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7773 * funcrequest.h: extension to keep mouse (x,y) position
7775 2002-08-12 Juergen Vigna <jug@sad.it>
7777 * BufferView2.C (insertErrors): forbid undo when inserting error
7780 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7782 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7784 * ParagraphList.[Ch]: new files
7786 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7788 * BufferView2.C (lockInset): ParagraphList changes
7791 * bufferlist.C: ditto
7795 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7797 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7798 unused class variable counter_,
7800 * paragraph.[Ch] (getFirstCounter): delete unused function
7802 * counters.C: include LAssert.h
7803 (reset): add a new function with no arg, change other version to
7804 not have def. arg and to not allow empty arg.
7806 * text2.C (setCounter): remove empty arg from call to Counters::reset
7808 2002-08-11 John Levon <levon@movementarian.org>
7810 * Makefile.am: add WordLangTuple.h
7812 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7815 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7817 * insets/insettext.C: InsetList changes
7819 * graphics/GraphicsSupport.C (operator()): InsetList changes
7821 * toc.C (getTocList): InsetList changes
7823 * paragraph_pimpl.[Ch]: InsetList changes
7825 * paragraph.[Ch]: InsetList changes
7827 * buffer.C (inset_iterator): InsetList changes
7828 (setParagraph): ditto
7829 * buffer.h (inset_iterator): ditto
7830 * iterators.C (operator++): ditto
7831 * iterators.h: ditto
7833 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7835 * InsetList.[Ch]: new files, most InsetList handling moved out of
7838 * BufferView2.C (removeAutoInsets): InsetList changes
7840 (ChangeInsets): ditto
7842 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7844 * paragraph_pimpl.h (empty): new function
7846 * paragraph.[Ch] (empty): new function
7848 * other files: use the new Paragraph::empty function
7850 2002-08-09 John Levon <levon@movementarian.org>
7852 * lyxtext.h: remove unused refresh_height
7854 2002-08-09 John Levon <levon@movementarian.org>
7861 * paragraph.C: move sgml char escaping out of paragraph
7864 * paragraph.C: remove id setter
7868 * paragraph_pimpl.C: remove dead tex_code_break_column
7870 * bufferview_funcs.C: small cleanup
7872 * lyxfunc.C: remove dead proto
7874 * lyxtext.h: make some stuff private. Remove some dead stuff.
7876 * lyxgluelength.C: make as[LyX]String() readable
7878 2002-08-08 John Levon <levon@movementarian.org>
7883 * ToolbarDefaults.C:
7886 * toc.C: lyxaction cleanup
7888 2002-08-08 John Levon <levon@movementarian.org>
7890 * BufferView2.C: small cleanup
7893 * lyxfind.C: move unnecessary header into the .C
7895 2002-08-08 John Levon <levon@movementarian.org>
7897 * funcrequest.h: just tedious nonsense
7900 * lyx_main.C: cleanups
7903 * vspace.C: remove dead header lyx_main.h
7905 2002-08-07 Angus Leeming <leeming@lyx.org>
7908 * paragraph_pimpl.h:
7909 Forward declare class Counters in paragraph.h by moving the ctrs member
7910 variable into Paragraph::Pimpl.
7911 (counters): new method, returning a reference to pimpl_->ctrs.
7913 * text2.C: ensuing changes.
7915 2002-08-07 John Levon <levon@movementarian.org>
7917 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7919 * BufferView_pimpl.C: announce X selection on double/triple
7922 * lyx_main.C: use correct bool in batch dispatch
7924 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7926 2002-08-07 André Pönitz <poenitz@gmx.net>
7928 * funcrequest.h: new class to wrap a kb_action and its argument
7931 * BufferView_pimpl[Ch]:
7935 * lyxrc.C: subsequent changes
7938 2002-08-07 John Levon <levon@movementarian.org>
7940 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7941 document options change.
7943 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7948 * makefile.am: move counters functionality over from
7949 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7951 2002-08-06 John Levon <levon@movementarian.org>
7953 * WordLangTuple.h: new file for word + language code tuple
7964 * BufferView2.C: use WordLangTuple
7967 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7969 2002-08-06 John Levon <levon@movementarian.org>
7971 * lyx_main.C: fix cmdline batch handling
7973 2002-08-06 André Pönitz <poenitz@gmx.net>
7975 * lyxrc.C: set default for show_banner to true
7977 2002-08-06 John Levon <levon@movementarian.org>
7979 * pspell.C: fix a crash, and allow new aspell to work
7981 2002-08-06 John Levon <levon@movementarian.org>
7984 * kbmap.C: small cleanup
7987 * vspace.C: add const
7989 2002-08-05 John Levon <levon@movementarian.org>
7991 * LyXAction.C: back to tabular-insert
7993 2002-08-04 John Levon <levon@movementarian.org>
7996 * BufferView.C: cosmetic change
7998 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8008 * BufferView2.C: purge all "Lyx" not "LyX" strings
8011 * lyxcursor.C: attempt to add some documentation
8016 * ToolbarDefaults.C:
8017 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8018 merge with LFUN_TABULAR_INSERT
8025 * pspell.C: split up i/pspell implementations into separate
8026 files, many cleanups
8028 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8030 * text2.C: some cleanup
8032 * lyxfunc.C: don't check for isp_command == "none" any more, it
8033 didn't make any sense
8035 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8040 * makefile.am: move counters functionality over
8041 from text2.C/paragraph.[Ch] to counters.[Ch], and
8043 2002-08-02 John Levon <levon@movementarian.org>
8045 * buffer.C: s/lyxconvert/lyx2lyx/
8047 2002-08-02 Angus Leeming <leeming@lyx.org>
8049 * lyxlex.C: revert John's change as it breaks reading of the user
8052 2002-08-02 Angus Leeming <leeming@lyx.org>
8054 * importer.C (Import):
8055 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8056 changes due to LyXView::view() now returning a boost::shared_ptr.
8058 2002-08-02 John Levon <levon@movementarian.org>
8060 * lyxlex.C: small cleanup
8062 2002-08-02 John Levon <levon@movementarian.org>
8064 * text2.C (status): small cleanup, no logic change
8066 2002-08-01 John Levon <levon@movementarian.org>
8069 * buffer.C (writeFile): don't output alerts, caller
8073 * lyx_cb.C: from above
8075 * lyxfunc.C: allow to open non-existent files
8077 2002-07-31 John Levon <levon@movementarian.org>
8079 * lyxserver.C: don't let incidental errors get
8082 2002-07-30 John Levon <levon@movementarian.org>
8084 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8086 2002-07-30 John Levon <levon@movementarian.org>
8089 * lyxserver.C: remove I/O callback too
8091 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8093 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8096 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8098 * many files: strip,frontStrip -> trim,ltrim,rtrim
8100 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * PrinterParams.h: remove extern containsOnly, and include
8103 support/lstrings.h instead.
8105 * LaTeX.C (scanAuxFile): modify because of strip changes
8107 * buffer.C (makeLaTeXFile): ditto
8108 * bufferparams.C (writeFile): ditt
8109 * lyxfont.C (stateText): ditto
8110 * lyxserver.C (read_ready): ditto
8111 * vc-backend.C (scanMaster): ditto
8113 * BufferView_pimpl.h: ws changes
8115 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8117 2002-07-26 André Pönitz <poenitz@gmx.net>
8119 * kb_sequence.C: remove unnedred usings
8121 2002-07-26 Juergen Vigna <jug@sad.it>
8123 * lyxfind.C (LyXReplace): we have to check better if the returned
8124 text is not of theLockingInset()->getLockingInset().
8126 2002-07-25 Juergen Vigna <jug@sad.it>
8128 * lyxfind.C (LyXReplace): don't replace if we don't get the
8131 * undo_funcs.C (createUndo): remove debugging code.
8133 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8135 * buffer.C (parseSingleLyXformat2Token): Use default placement
8136 when reading old floats.
8138 * FloatList.C (FloatList): Change the default placement of figure
8139 and tables to "tbp".
8141 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8143 * MenuBackend.C: using std::max
8145 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8147 * MenuBackend.C (expandToc):
8148 (expandToc2): code moved from xforms menu frontend. It is now
8149 generic and TOCs are transparent to menu frontends.
8151 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8153 * toc.C (getTocList): protect against buf=0
8155 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8156 Menu as first parameter. Now, this calls itself recursively to
8157 expand a whole tree (this will be useful for TOC handling)
8158 (expandFloatInsert): remove 'wide' version of floats
8160 * MenuBackend.h (submenuname): returns the name of the submenu.
8161 (submenu): returns the submenu itself, provided it has been
8162 created by MenuBackend::expand
8164 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8166 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8167 insets which have noFontChange == true. (bug #172)
8169 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8171 * BufferView_pimpl.C: add connection objects and use them...
8174 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8176 * MenuBackend.C (expandLastfiles):
8179 (expandFloatListInsert):
8180 (expandFloatInsert):
8181 (expand): split expand in parts
8183 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8185 * lyx_gui.C: use lyx_gui::exit()
8187 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8189 * LyXAction.C: show the failing pseudo action
8191 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8193 * buffer.C (readFile): Run the lyxconvert script in order to read
8196 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8200 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8202 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8206 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8208 2002-07-22 Herbert Voss <voss@lyx.org>
8211 * lyxlength.[Ch]: add support for the vertical lengths
8213 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8215 * toc.[Ch]: std:: fixes
8217 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8219 * lyxrc.C: do not include lyx_main.h
8221 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8227 * BufferView2.C: include "lyxlex.h"
8230 * bufferparams.h: do not #include "lyxlex.h"
8232 * lyxtextclasslist.C (Add): remove method
8233 (classlist): renamed to classlist_
8235 * paragraph_pimpl.C:
8239 * bufferview_funcs.C:
8244 * toc.C (getTocList): use BufferParams::getLyXTextClass
8246 * toc.C (getTocList): use InsetFloat::addToToc
8248 * toc.[Ch]: new files, containing helper functions to handle table
8251 * lyxfunc.C (dispatch): no need to remove spaces around command
8253 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8254 first command of the sequence; it is not very clever, but I do not
8255 have a better idea, actually
8257 * LyXAction.C (LookupFunc): make sure to remove space at the
8258 beginning and end of the command
8260 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8262 * MenuBackend.C (getMenubar): new method: return the menubar of
8264 (read): treat differently reading of menu and menubar (in
8265 particular, the menubar has no name now)
8266 (Menu::menubar): remove
8268 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8271 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8273 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8274 a bibitem inset in a RTL paragraph.
8276 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8278 * paragraph_pimpl.C: constify
8280 * BufferView_pimpl.C:
8282 * lyxfunc.C: fix dispatch in a nicer way
8284 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8286 * lyxfunc.C (dispatch):
8287 * BufferView_pimpl.C:
8288 * BufferView_pimpl.h:
8290 * BufferView.h: rename Dispatch() to dispatch()
8292 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8294 * lyxlayout.C (Read): honor DependsOn tag
8296 * lyxlayout.[Ch] (depends_on): new method
8298 * version.C.in: update lyx_docversion
8300 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8302 * paragraph.C (validate): remove from here...
8303 * paragraph_pimpl.C (validate): ... and move here
8304 (isTextAt): make it const
8306 * buffer.C (getLists): ws cleanup
8308 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8310 * language.C (read): Use iso8859-1 encoding in latex_lang
8311 (this prevents LyX from crashing when using iso10646-1 encoding).
8313 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * text2.C (toggleInset): if cursor is inside an inset, close the
8316 inset and leave cursor _after_ it
8318 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8320 * lyxfunc.C: move minibuffer completion handling out of here
8322 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8324 * BufferView_pimpl.C:
8325 * LaTeX.C: fix dispatch calls
8327 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8329 * text.C (drawChars): Fix Arabic text rendering.
8331 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8335 * lyxfunc.C: remove message-push/pop
8339 * lyxfunc.C: rationalise some code by removing verboseDispatch
8340 in favour of a bool argument to dispatch()
8342 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * lyx_main.C (init): make sure to read symlinks as absolute paths
8346 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8349 * lyxfunc.C: no need for commandshortcut to be a member
8351 2002-07-15 André Pönitz <poenitz@gmx.net>
8353 * converter.C: add support for $$s (scripts from lib/scripts dir)
8354 * lyx_main.C: white space
8356 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8360 * lyxrc.C: remove second exit confirmation
8362 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8367 * BufferView_pimpl.h:
8368 * BufferView_pimpl.C:
8369 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8371 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8373 * MenuBackend.C (expand): add numeric shortcuts to document menu
8375 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8377 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8379 * lyxfont.C (setLyXFamily):
8386 * buffer.C (asciiParagraph): use ascii_lowercase
8388 2002-07-15 Mike Fabian <mfabian@suse.de>
8390 * lyxlex_pimpl.C (search_kw):
8391 * lyxlex.C (getLongString):
8392 * converter.h (operator<):
8393 * converter.C (operator<):
8394 * buffer.C (parseSingleLyXformat2Token):
8396 * ToolbarDefaults.C (read):
8397 * MenuBackend.C (checkShortcuts):
8399 * LColor.C (getFromGUIName):
8400 (getFromLyXName): use the compare_ascii_no_case instead of
8401 compare_no_case, because in turkish, 'i' is not the lowercase
8402 version of 'I', and thus turkish locale breaks parsing of tags.
8404 2002-07-16 Angus Leeming <leeming@lyx.org>
8406 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8407 now takes a Buffer const & argument.
8409 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8411 * BufferView.C (resize): check there's a buffer to resize
8413 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8415 * lyxfunc.C: remove dead code
8418 * lyxserver.C: use lyx_guii::set_read_callback
8420 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8422 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8423 an inset in a RTL paragraph.
8425 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8427 * lyxfunc.C: repaint after a font size update
8429 2002-07-15 André Pönitz <poenitz@gmx.net>
8431 * lyxlength.C: inBP should be able to return negative values
8433 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8435 * lyxfunc.C: use lyx_gui::update_fonts()
8437 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8439 * lyxfunc.C: use lyx_gui::update_color()
8441 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8447 * lyxrc.C: remove file->new asks for name option, and let
8448 buffer-new take an argument
8450 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8452 * BufferView_pimpl.C: remove unneeded extra repaint()
8454 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8456 * LyXAction.C: allow command-sequence with NoBuffer
8458 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8460 2002-07-10 Angus Leeming <leeming@lyx.org>
8462 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8464 2002-07-09 Angus Leeming <leeming@lyx.org>
8466 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8468 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8470 * lengthcommon.h: whitespace
8472 * lyxfunc.C: update scrollbar after goto paragraph
8474 * lyxtext.h: factor out page break drawing, and fix it so
8475 page break/added space paints as selected nicely
8477 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8479 * BufferView_pimpl.C: add FIXMEs, clean up a little
8481 2002-07-09 André Pönitz <poenitz@gmx.net>
8483 * lyxfont.[Ch]: support for wasy symbols
8485 2002-07-08 André Pönitz <poenitz@gmx.net>
8487 * BufferView_pimpl.C: apply John's patch for #93.
8489 2002-07-05 Angus Leeming <leeming@lyx.org>
8491 * BufferView_pimpl.C (buffer): generate previews if desired.
8493 * LColor.h: add "preview" to the color enum.
8495 * LColor.C (LColor): add a corresponding entry to the items array.
8497 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8500 2002-07-05 Angus Leeming <leeming@lyx.org>
8502 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8503 The body of the code is now in the method that is passed an ostream &
8504 rather than a file name.
8505 Pass an additional only_preamble parameter, useful for the forthcoming
8508 2002-07-03 André Pönitz <poenitz@gmx.net>
8510 * lyxfunc.C: simplify getStatus() a bit for math stuff
8512 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8516 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8518 * text.C (changeRegionCase): do not change case of all the
8519 document when region ends at paragraph end (bug #461)
8521 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8523 * paragraph.C (startTeXParParams):
8524 (endTeXParParams): add \protect when necessary
8526 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * BufferView_pimpl.C (workAreaExpose): remove warning
8530 2002-06-27 Angus Leeming <leeming@lyx.org>
8532 * Makefile.am: add lyxlayout_ptr_fwd.h.
8534 2002-06-26 André Pönitz <poenitz@gmx.net>
8536 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8538 2002-06-25 Angus Leeming <leeming@lyx.org>
8540 * lyxfunc.C (dispatch): Comment out the call to
8541 grfx::GCache::changeDisplay. The method no longer exists now that the
8542 pixmap generation part of the graphics loader has been moved into
8545 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8547 * text2.C: layout as layout
8549 * text.C: layout as layout
8551 * tabular.C (OldFormatRead): layout as layout
8553 * paragraph_pimpl.C (TeXDeeper): layout as layout
8554 (realizeFont): layout as layout
8556 * paragraph.C (writeFile): layout as layout
8557 (validate): layout as layout
8558 (getFont): layout as layout
8559 (getLabelFont): layout as layout
8560 (getLayoutFont): layout as layout
8561 (breakParagraph): layout as layout
8562 (stripLeadingSpaces): layout as layout
8563 (getEndLabel): layout as layout
8564 (getMaxDepthAfter): layout as layout
8565 (applyLayout): layout as layout
8566 (TeXOnePar): layout as layout
8567 (simpleTeXOnePar): layout as layout
8568 (TeXEnvironment): layout as layout
8569 (layout): layout as layout
8570 (layout): layout as layout
8572 * lyxtextclass.C (compare_name): new functor to work with
8573 shared_ptr, layout as layout
8574 (Read): layout as layout
8575 (hasLayout): layout as layout
8576 (operator): layout as layout
8577 (delete_layout): layout as layout
8578 (defaultLayout): layout as layout
8580 * lyxlayout_ptr_fwd.h: new file
8582 * lyxlayout.C (Read): layout as layout
8584 * lyx_cb.C (MenuInsertLabel): layout as layout
8586 * bufferlist.C (newFile): layout as layout
8588 * buffer.C (readLyXformat2): layout as layout
8589 (parseSingleLyXformat2Token): layout as layout
8590 (insertStringAsLines): layout as layout
8591 (asciiParagraph): layout as layout
8592 (latexParagraphs): layout as layout
8593 (makeLinuxDocFile): layout as layout
8594 (simpleLinuxDocOnePar): layout as layout
8595 (makeDocBookFile): layout as layout
8596 (simpleDocBookOnePar): layout as layout
8597 (getLists): layout as layout
8599 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8601 * CutAndPaste.C (cutSelection): layout as layout
8602 (pasteSelection): layout as layout
8603 (SwitchLayoutsBetweenClasses): layout as layout
8605 * BufferView_pimpl.C (Dispatch): layout as layout
8606 (smartQuote): layout as layout
8608 * BufferView2.C (unlockInset): layout as layout
8610 2002-06-24 André Pönitz <poenitz@gmx.net>
8612 * lyxfunc.C: fix #487
8614 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8618 * lyxfunc.C: remove display_shortcuts, show_banner
8620 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8622 * Buffer_pimpl.C: oops, update on resize
8624 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8631 * BufferView.C: use repaint()
8633 * BufferView_pimpl.h:
8634 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8635 as it's a clearer description. Remove superfluous
8638 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8640 * text.C: fix bug 488. Not ideal, but getting
8641 getWord() to work properly for the insets that
8642 matter is more difficult ...
8644 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8646 * BufferView_pimpl.C:
8649 * lyxfunc.C: remove the six million index lyxfuncs to just
8650 one, and DTRT (bug 458)
8652 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8656 * BufferView_pimpl.h:
8657 * BufferView_pimpl.C: clean up resize() stuff,
8658 and unnecessary updateScreen()s
8660 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8664 * BufferView_pimpl.h:
8665 * BufferView_pimpl.C:
8668 * minibuffer.C: remove focus management of workarea,
8669 not needed. Use screen's greyOut()
8671 2002-06-17 Herbert Voss <voss@lyx.org>
8673 * converter.C: (convert) do not post a message, when converting
8674 fails, let the calling function decide what to do in this case
8676 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8678 * lyxfunc.C: tidy up a little
8680 2002-06-16 <alstrup@diku.dk>
8682 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8683 Got rid of FORMS_H_LOCATION include. Now we are
8686 2002-06-15 LyX Development team <lyx@rilke>
8688 * buffer.[Ch] (sgmlOpenTag):
8689 (sgmlCloseTag): Added support for avoiding pernicious mixed
8690 content. Return number of lines written.
8693 (makeDocBookFile): Fixed calls to sgml*Tag.
8694 Simple white space clean.
8696 (simpleDocBookOnePar): Simple white space clean.
8698 * tabular.[Ch] (docBook): Renamed to docbook and got another
8699 argument to related with the pernicious mixed content.
8701 (docbookRow): Fixed calls for docbook inset method.
8703 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8705 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8706 so it's X11 independent.
8710 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8712 2002-06-15 Lyx Development team <lyx@electronia>
8714 * intl.h: Renamed getTrans to getTransManager.
8716 2002-06-14 Angus Leeming <leeming@lyx.org>
8718 * Makefile.am: nuke forgotten stl_string_fwd.h.
8720 2002-06-12 Angus Leeming <leeming@lyx.org>
8722 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8724 2002-06-13 Angus Leeming <leeming@lyx.org>
8727 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8729 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8731 * kbmap.C (getiso): add support for cyrillic and greek
8733 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8737 * BufferView_pimpl.h:
8738 * BufferView_pimpl.C: move bogus scrolling logic
8741 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8744 * BufferView_pimpl.C: view->resize() change
8746 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8748 * BufferView_pimpl.C: topCursorVisible
8751 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8755 * lyx_gui.C: move to frontends/
8759 * lyx_main.C: changes from above
8761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8768 * lyx_main.C: minor tidy
8770 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8772 * BufferView_pimpl.h:
8773 * BufferView_pimpl.C:
8775 * BufferView.C: make painter() const,
8778 * BufferView2.C: use screen() accessor
8781 * lyx_main.C: some minor cleanup
8783 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8785 * BufferView_pimpl.h:
8786 * BufferView_pimpl.C: remove enter/leaveView,
8789 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8794 * BufferView_pimpl.h:
8795 * BufferView_pimpl.C: only construct screen once,
8798 * lyxrc.C: remove pointless comment
8800 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8803 * BufferView.C: remove active() and belowMouse()
8805 * BufferView_pimpl.h:
8806 * BufferView_pimpl.C: use workarea() not workarea_,
8807 and make it use a scoped_ptr instead
8809 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8811 * lyx_gui.C: add debug message on BadWindow
8813 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8815 * sp_spell.C: fdopen is not part of the C++ standard.
8817 * paragraph.C (InsetIterator): use >= instead of ==
8819 2002-06-07 Angus Leeming <leeming@lyx.org>
8821 Fixes needed to compile with Compaq cxx 6.5.
8822 * BufferView_pimpl.C:
8829 * lyxtextclasslist.C:
8834 all c-library variables have been moved into namespace std. Wrap
8835 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8840 Add a using std::abs declaration.
8842 * kbmap.h (modifier_pair):
8843 * paragraph.h (InsetTable, InsetList):
8844 * lyxfont.h (FontBits):
8845 type definition made public.
8847 * bufferlist.C (emergencyWriteAll): the compiler complains that
8848 there is more than one possible lyx::class_fun template to choose from.
8849 I re-named the void specialisation as lyx::void_class_fun.
8851 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8853 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8854 the compiler is is unable to find tostr in write_attribute.
8856 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8858 * buffer.C (sgmlError): hide #warning
8860 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8862 * xtl/*: get rid of xtl, which is not in use anyway
8864 * LyXAction.C (init):
8865 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8866 were unimplemented xtl experimentation
8868 2002-06-04 André Pönitz <poenitz@gmx.net>
8870 * lyxfunc.C: disable array operation on simple formulae
8872 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8874 * converter.C: constify a bit
8876 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8878 * lyx_gui.C: check xforms version correctly
8880 2002-04-30 Herbert Voss <voss@lyx.org>
8882 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8885 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8887 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8888 attempt to register it with a VCS)
8890 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8892 * lyx_main.C (init): honor variables LYX_DIR_13x and
8895 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8899 * lyx_main.C: fix a crash on bad command line,
8900 and give a useful exit status on error
8902 * lyxfunc.C (doImport): allow -i lyx to work
8904 2002-03-30 André Pönitz <poenitz@gmx.net>
8906 * lyxfunc.C: mathed font changes
8908 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8923 * trans_mgr.h: srcdocs, and some minor cleanups
8925 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8927 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8928 call getFont all the time)
8930 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * switch from SigC signals to boost::signals
8934 2002-05-29 André Pönitz <poenitz@gmx.net>
8936 * paragraph_pimpl.C (getChar): don't call size() too often...
8938 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8940 * paragraph_pimpl.C (insertChar): do not try to update tables when
8941 appending (pos == size())
8943 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8944 in order to reduce drastically the number of comparisons needed to
8945 parse a large document
8947 2002-05-29 André Pönitz <poenitz@gmx.net>
8953 * textclasslist.[Ch]:
8954 * sp_ispell.h: whitespace change
8956 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8958 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8959 lyxaction directly now.
8961 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8965 * lyxvc.C: remove unused headers
8967 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8974 * undo_funcs.C: some cleanups. Use shared_ptr
8975 and a template for the undo stacks.
8977 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8979 * BufferView_pimpl.h:
8980 * BufferView_pimpl.C:
8987 * text2.C: use key_state/mouse_state
8989 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8991 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8994 * chset.C: change include order
8995 (loadFile): use boost regex and get rid of LRegex and LSubstring
8997 * Makefile.am (BOOST_LIBS): new variable
9000 * LaTeX.C: change include order.
9001 (scanAuxFile): use boost regex and get rid of LRegex and
9005 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9010 * FontInfo.C: moved to frontends/xforms/
9013 * FontLoader.C: moved into frontends for GUIIzation
9018 * lyxfunc.C: changes from above
9020 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9022 * LColor.C: remove spurious X include
9024 * BufferView_pimpl.C:
9029 * text2.C: move font metrics to frontends/
9031 2002-05-24 Juergen Vigna <jug@sad.it>
9033 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9034 setting the undo_cursor.
9036 * ParagraphParameters.h: include local includes first.
9038 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9040 * BufferView_pimpl.C:
9041 * BufferView_pimpl.h:
9045 * screen.C: move WorkArea into frontends/
9051 * BufferView2.C: move LyXScreen into frontends/
9055 * lyx_gui.C: move lyxlookup into frontends/xforms/
9057 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9060 * BufferView_pimpl.C:
9070 * bufferview_funcs.C:
9083 * vc-backend.C: move LyX/XFormsView into frontends/
9085 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9097 * text2.C: move Painter to frontends/
9099 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9101 * buffer.C: comment out some some code that depend upon lyx_format
9104 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9105 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9107 * buffer.h (NO_COMPABILITY): turn off compability
9109 * ColorHandler.C: include scoped_array.hpp
9111 * font.C: Use more specific smart_ptr header.
9114 * ShareContainer.h: ditto
9118 * BufferView_pimpl.h: ditto
9119 * ColorHandler.h: ditto
9121 * kbmap.C (defkey): change call to shared_ptr::reset
9123 2002-05-21 Juergen Vigna <jug@sad.it>
9125 * buffer.C (insertErtContents): fix to insert ert asis if it is
9126 non empty. Skip it completely if it contains only whitespaces.
9128 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9130 * BufferView_pimpl.C:
9131 * BufferView2.C: clear selection on paste (bug 393)
9133 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9135 * DepTable.C: include ctime
9137 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9139 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9141 2002-05-14 Juergen Vigna <jug@sad.it>
9143 * text.C (breakParagraph): fixed function to honor the keepempty
9144 layout in the right maner and also to permit the right breaking
9145 algorithm on empty or non empyt keepempty paragraphs.
9147 * paragraph.C (breakParagraph): we have to check also if the par
9148 is really empty (!size()) for isempty otherwise we do the wrong
9151 2002-05-10 Juergen Vigna <jug@sad.it>
9153 * buffer.[Ch] : The following are only changes to the ert
9154 compatibility read reading old LaTeX layout and font stuff and
9155 convert it to ERTInsets.
9157 * buffer.h: added isErtInset().
9159 * buffer.C (struct ErtComp): add a fromlayout bool to check
9160 if we're inside a LaTeX layout.
9161 (isErtInset): new helper function.
9162 (insertErtContents): look for other ert insets before this one
9163 and insert the contents there, so that we don't have subsequent
9164 ERT insets with nothing between them. This way we create only one
9165 inset with multiple paragraphs. Also check if we don't insert only
9166 spaces ' ' as they are ignored anyway afterwards in the .tex file
9167 so if we have only spaces we will ignore this latex part in the
9169 (parseSingleLyXformat2Token \\layout): better compatibility when
9170 reading layout-latex stuff.
9171 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9173 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9174 stuff after reading the inset only get the information back from
9177 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9179 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9181 * LaTeXFeatures.C (getBabelOptions): New method.
9183 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9185 * BufferView_pimpl.C (Dispatch): work around missing argument for
9188 2002-05-08 Juergen Vigna <jug@sad.it>
9190 * text.C (leftMargin): handle paragraph leftindent.
9192 * paragraph.C (writeFile): write the new \\leftindent tag.
9193 (validate): handle leftindent code.
9194 (TeXEnvironment): handle paragraphleftindent code again.
9196 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9198 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9199 for paragrap_extra indent code and new token \\leftindent.
9200 (latexParagraphs): handle the leftindent as environment.
9202 * ParameterStruct.h: added leftindent support.
9204 * ParagraphParameters.C (leftIndent): added support functions for
9205 the paragraph left indent.
9207 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9210 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9212 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9215 * text.C (computeBidiTables): No bidi in insetERT.
9217 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9220 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * version.C.in: pre 5
9224 2002-05-02 José Matos <jamatos@fep.up.pt>
9225 * buffer.C (makeDocBookFile): white space changes, add newline to
9227 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9229 * tabular.C (docBook): fix typo.
9231 2002-05-03 Juergen Vigna <jug@sad.it>
9233 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9234 change in LyXText as we can not be sure it was not freed.
9235 (drawOneRow): remove unused code.
9237 * text.C (drawInset): redo the calculation of the need_break_row as
9238 it could have a row which was already freed.
9239 (draw): look at the return value of drawInset and return false if
9240 it also returned false.
9241 (paintRowText): look at the return value of draw and return false if
9242 it also returned false.
9244 * lyxtext.h: added bool return type to drawInset() and draw() so that
9245 if we have a change in the row so that the rowbreak has to be redone
9246 we abort drawing as it will be called again.
9248 2002-05-02 Juergen Vigna <jug@sad.it>
9250 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9251 a change in the maintext also if we're inside an inset.
9252 (Dispatch): set the cursor again after a break line and after the
9253 screen has been updated as it could be we're in a different row.
9255 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9256 to set the cursor behind the pargraph with > size().
9257 (setCursor): check also for the same paragraph when checking where
9258 to put the cursor if we have a NFR inset.
9260 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9261 parts of layout read further up as it still was in the wrong
9264 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9266 * screen.C (drawFromTo): change sine fullRebreak always return
9269 * buffer.C (parseSingleLyXformat2Token): reindent some
9271 * BufferView_pimpl.C (update): change since fullRebreak always
9273 (Dispatch): git rid of the last hardcoded "Standard"s.
9275 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9277 * text2.[Ch] (fullRebreak): make it return void now that we always
9280 2002-04-30 Juergen Vigna <jug@sad.it>
9282 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9283 ert compatibility check for "latex" layout.
9285 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9287 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9288 minipages: use col% instead of p%, and also use the current font.
9289 (makeLaTeXFile): Fix use babel condition.
9290 (parseSingleLyXformat2Token): Correct font when reading old floats.
9292 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9294 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9295 inserting list of floats.
9297 2002-04-25 Herbert Voss <voss@lyx.org>
9299 * MenuBackend.C (expand): don't add the graphics extensions to the
9302 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9304 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9305 non-existing layout, do not complain if it was the default layout
9306 of the original class (bug #342)
9308 2002-04-24 Juergen Vigna <jug@sad.it>
9310 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9311 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9313 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9315 * buffer.C (getBibkeyList): If using \bibliography, return the
9316 option field with the reference itself. Enables us to provide natbib
9317 support when using \bibliography.
9319 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9321 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9323 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9324 natbib is provided by the LaTeX class.
9326 2002-04-23 Juergen Vigna <jug@sad.it>
9328 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9331 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9333 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9335 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9337 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9338 ensuremath around textordmasculine, textordfeminine and
9341 2002-04-19 Juergen Vigna <jug@sad.it>
9343 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9344 reinitializing the buffer otherwise row-dimensions may be wrong.
9345 (update): reset also the selection cursors if they do exits otherwise
9346 their x/y positions may be wrong.
9348 * text2.C (cursorDown): don't enter the inset if we came from a row
9349 above and are one row over the inset.
9351 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9352 really leaving an inset.
9354 2002-04-18 Juergen Vigna <jug@sad.it>
9356 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9357 of the selected paragraph does not have the selected layout also if
9360 * text2.C (setLayout): fixed bug which did not change last selected
9363 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9364 changed the read and substituted \\end_float with \\end_inset!
9366 * BufferView_pimpl.C (cursorPrevious):
9367 (cursorNext): fixed to make it work with rows heigher than the work
9368 area without moving the cursor only the draw of the row.
9369 (workAreaMotionNotify): fix jumping over high rows.
9371 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9373 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9376 2002-04-16 Juergen Vigna <jug@sad.it>
9378 * text2.C (setCursor): set also the irow().
9379 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9381 (cursorDown): support for locking an inset if the x_fix value goes
9382 inside it. That way I can transverse insets too with cursor up/down.
9384 * lyxrow.h: added irow helper function same as other (i) functions.
9386 * BufferView_pimpl.C (cursorPrevious):
9387 (cursorNext): fixed for insets!
9389 2002-04-15 Juergen Vigna <jug@sad.it>
9391 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9392 position otherwise it is wrong in some cases.
9394 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9395 inside the inset before the call.
9397 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9399 * buffer.[Ch] (getBibkeyList): make it const.
9401 2002-04-12 Juergen Vigna <jug@sad.it>
9403 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9405 * text2.C (getCursorX): new helper function
9406 (setCursor): compute also ix_
9407 (setCursorFromCoordinates): set also ix.
9409 * lyxcursor.h: added ix_ and helper functions.
9411 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9413 * buffer.C (insertStringAsLines): dont break paragraph if the this
9414 paragraph is inside an inset which does not permit it!
9416 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9417 also with no chars on this paragraph.
9418 (paintRowText): only paint stuff if it's inside the workarea!
9420 * paragraph.C (breakParagraph): honor keepempty flag and break the
9421 paragraph always below not above.
9423 * BufferView2.C (unlockInset): update the paragraph layout on inset
9424 unlock as we changed paragraph in such a case.
9426 * lyxfind.C (LyXFind): clear the former selection if not found!
9428 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9429 again called in insertChar().
9431 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9432 an inset which uses the whole row!
9433 (rightMargin): ditto.
9434 (insertChar): force a rebreak if we inserted an inset!
9436 2002-03-28 Herbert Voss <voss@lyx.org>
9438 * lyxlength.[Ch]: add inBP() to get the right PS-point
9439 units (BigPoint). With inPixels we have rounding errors
9441 2002-04-11 Juergen Vigna <jug@sad.it>
9443 * text2.C (setCursorFromCoordinates): set iy to the right value.
9444 (setCursor): add check if row->previous exists!
9446 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9447 an old float_type as this was the case in the old code!
9449 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9451 * BufferView2.C (showLockedInsetCursor): use iy
9452 (fitLockedInsetCursor): ditto
9454 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9455 locked insets as there we have the right value now.
9457 * lyxcursor.C: added iy_ variable and iy functions to set to the
9458 baseline of cursor-y of the locked inset.
9460 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9461 (setCursor): fixed for insets which need a full row.
9463 * text.C (rowLastPrintable): don't ignore the last space when before
9464 an inset which needs a full row.
9465 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9466 as last character of a row when before a inset which needs a full row.
9468 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * version.C.in: update date
9472 * text2.C (fullRebreak): try to always return true and see what
9475 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9477 * MenuBackend.C (expand): use Floating::listName
9479 * FloatList.C (FloatList): add listName argument to the built-in
9482 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9483 text associated with the float.
9485 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9489 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9491 * ShareContainer.h: add a couple of missing typenames.
9493 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9495 * lyxrc.C (getDescription): use _() correctly rather than N_().
9497 2002-03-28 Herbert Voss <voss@lyx.org>
9499 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9500 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9502 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9505 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9507 2002-03-29 Juergen Vigna <jug@sad.it>
9509 * lyxfunc.C (dispatch): add a missing fitCursor call.
9511 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9512 it was scrolled by a cursor move, so return the bool status.
9514 * BufferView.C (fitCursor): return the bool flag also to the outside
9515 world as this is needed.
9517 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9519 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9520 call the edit() as it is not needed (and wrong) IMO.
9521 (workAreaButtonPress): set the screen_first variable before evt.
9522 unlock the inset as this may change screen_first and then we have
9523 a wrong y position for the click!
9525 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * MenuBackend.C (expand): another translation that I missed
9529 2002-03-28 Juergen Vigna <jug@sad.it>
9531 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9533 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9535 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9537 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9539 * MenuBackend.C (expand): fix export/view/update when there is no
9542 2002-03-27 Herbert Voss <voss@lyx.org>
9544 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9547 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9549 * bufferview_funcs.C (currentState): only show paragraph number
9550 for is DEVEL_VERSION is set.
9552 * lyxfunc.C (dispatch): put warning in INFO channel
9554 * MenuBackend.C (expand): translate the name of floats
9556 * FloatList.C (FloatList): mark the float names for translation
9558 * converter.C (convert): use LibScriptSearch
9560 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9562 * MenuBackend.C (defaults): fix default menu (we might as well get
9565 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9570 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9572 * lyxvc.C: reorder includes.
9574 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9576 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9579 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9581 * CutAndPaste.C: change layouts earlier on paste
9582 to avoid crashing when calling getFont()
9584 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9586 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9589 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9591 * WorkArea.C: remove 'Pending' debug message.
9593 * most files: ws cleanup
9595 * buffer.[Ch]: ws changes
9597 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9599 2002-03-21 Juergen Vigna <jug@sad.it>
9601 * tabular.C (SetMultiColumn): collapse also the contents of the
9602 cells and set the last border right. Added a Buffer const * param.
9604 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9606 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9609 2002-03-19 Juergen Vigna <jug@sad.it>
9611 * text2.C (clearSelection): reset also xsel_cache.
9613 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9614 where it needs to be called (John tells us to do so too :)
9615 (selectionLost): reset sel_cache.
9617 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9619 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * text2.C (setCursorIntern): put debuging code in INSETS channel
9623 2002-03-19 André Pönitz <poenitz@gmx.net>
9625 * lyxfunc.C: tiny whitespace change
9627 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9629 * ToolbarDefaults.C (init):
9630 * LyXAction.C (init):
9632 * BufferView_pimpl.C (Dispatch):
9633 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9635 2002-03-19 Allan Rae <rae@lyx.org>
9637 * exporter.C (Export): removeAutoInsets before doing anything else.
9638 While I've just introduced a dependency on BufferView this really is
9639 the best place to clean the buffer otherwise you need to cleanup in
9640 a dozen places before calling export or cleanup in a dozen functions
9643 * converter.C (runLaTeX):
9644 (scanLog): Better handling of removeAutoInsets and screen updates.
9646 * lyxfunc.C (dispatch): small whitespace changes
9648 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * WorkArea.C (C_WorkAreaEvent): return a value.
9651 (event_cb): return 1 if we handled the event, 0 otherwise.
9653 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9655 2002-03-18 Juergen Vigna <jug@sad.it>
9657 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9658 (GetAdditionalWidth): ditto.
9662 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9663 inset if we're there actually (probably not used right now but this
9664 is the direction to go for unifying code).
9665 (paste): disable code to clear the selection.
9667 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9668 inside an InsetText and move the check further up as it is in the
9671 * text2.C (pasteSelection): set a selection over the pasted text.
9673 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9675 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9676 and libgraphics to build on Cygwin.
9678 2002-03-15 Juergen Vigna <jug@sad.it>
9680 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9681 inserting an Inset into the paragraph. I know this is not the best
9682 fix but we already use current_view in CutAndPaste so we will remove
9683 all of it's using at the same time.
9685 * buffer.C (sgmlError): deactivated function till it is rewritten in
9686 the right mode, now it can create problems.
9688 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9689 before accessing it.
9691 2002-03-14 Juergen Vigna <jug@sad.it>
9693 * undo_funcs.C (textHandleUndo): do the right thing when updating
9694 the inset after the undo/redo.
9696 * text2.C (setCursor): just some testcode for #44 not ready yet.
9698 * undo_funcs.C (textHandleUndo): set the next() and previous()
9699 pointers of the paragraph to 0 before deleting otherwise we have
9700 problems with the Paragraph::[destructor].
9702 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9703 on a paragraph insertion.
9705 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * buffer.C (asciiParagraph): use += operator for char append to
9710 * paragraph.C (getFontSettings): compare >= not just >
9711 (highestFontInRange): ditto
9714 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * paragraph.C: change several algorithm to be more appripriate for
9717 the problem domain. This is lookip in FontList and in the InsetList.
9719 2002-03-13 André Pönitz <poenitz@gmx.net>
9722 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9724 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9729 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9731 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9733 * Painter.C (display): anon helper function, adjust code for this
9735 (pixmap): remove function.
9737 * Painter.h: remove private display variable.
9739 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9741 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9743 * WorkArea.[Ch]: remove figinset_canvas cruft.
9745 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9747 * lyxtextclass.C (operator): add one item cache optimization.
9749 * bufferlist.h: doxy changes
9751 * bufferlist.C: ws changes
9753 * DepTable.[Ch] (ext_exist): place const in the right spot.
9755 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9757 (workAreaExpose): call resizeInsets when the with BufferView changes.
9758 (Dispatch): adjust for protectedBlank removal
9759 (specialChar): call updateInset if the insert went ok.
9761 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9762 specialChar instead.
9764 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9766 * BufferView.h: doxy change
9768 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9770 * lyxtextclass.C (operator[]): remove non-const version
9771 (defaultLayout): remove non-const version
9773 2002-03-12 Juergen Vigna <jug@sad.it>
9775 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9776 did resize the LyXText too.
9778 * buffer.C (readLyXformat2): set layout information on newly allocated
9781 * tabular.C (OldFormatRead): set layout information on the paragraph.
9783 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9785 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9787 2002-03-11 Juergen Vigna <jug@sad.it>
9789 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9791 (resizeCurrentBuffer): force also the insets to resize themselfes.
9792 (moveCursorUpdate): fixed up for InsetText.
9794 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9797 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9798 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9799 value of Dialogs::tooltipsEnabled().
9800 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9802 2002-03-08 Juergen Vigna <jug@sad.it>
9804 * BufferView_pimpl.C (updateInset): update inset inside inset also
9805 if it isn't inside theLockingInset().
9807 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * buffer.C (asciiParagraph): redo some of the word and line length
9811 (getLists): look for Caption instead of caption.
9813 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * buffer.C (Buffer): initialize niceFile to true
9818 (makeDocBookFile): make sure niceFile is true on exit
9820 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9824 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9826 * LyXSendto.C: remove.
9827 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9828 * lyx_gui.C: remove now-redundant comment.
9829 * ColorHandler.h: remove forward declaration of class WorkArea.
9830 * lyxfunc.C: remove #include "WorkArea.h".
9832 2002-03-07 Juergen Vigna <jug@sad.it>
9834 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9835 got moved away with the DEPM and also set the inset_owner always
9836 right which before could have been omitted.
9838 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9840 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9841 wanted layout is not found.
9843 2002-03-07 Juergen Vigna <jug@sad.it>
9845 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9847 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9849 * paragraph.C (breakParagraph): use default layout not layout of
9851 (Paragraph): clear ParagraphParameters.
9853 2002-03-06 Juergen Vigna <jug@sad.it>
9855 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9856 otherwise it would not be a valid lenght. Fixed a special case in
9857 the minipage compatibility read where we end the document with a
9860 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9861 was set as it could be 0 for InsetTexts first entry.
9863 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * paragraph.C (writeFile): if layout is empty write out
9866 defaultLayoutName().
9868 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9869 file without named layout we set layout to defaultLayoutName().
9871 2002-03-06 Juergen Vigna <jug@sad.it>
9873 * CutAndPaste.C (copySelection): set layout for new paragraph.
9875 * text.C (prepareToPrint): leave ERT inset left aligned
9876 (leftMargin): don't indent paragraphs inside ERT insets
9878 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9880 * paragraph.C (breakParagraph): dont call clear do the work manually
9882 * paragraph.[Ch] (clear): remove function
9884 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9886 * paragraph.C (Paragraph): dont call clear, the work has already
9889 * lyxtextclass.C (operator): assert if n is empty
9891 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9892 work manually instead.
9894 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9896 * BufferView_pimpl.C: protect selectionLost against text == 0
9898 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9900 * text.C (breakParagraph): fix a setting layout to '0' problem.
9902 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9904 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9905 final location of file, for the included files, and graphics.
9907 2002-03-05 Juergen Vigna <jug@sad.it>
9909 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9911 2002-03-04 Juergen Vigna <jug@sad.it>
9913 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9915 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9916 last column of multicolumn cells.
9917 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9919 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9921 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9922 file if it doesn't go to a temporary file.
9924 * buffer.C (sgmlOpenTag):
9925 (sgmlCloseTag): remove extra newline insertion.
9927 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * text.C (getRowNearY): comment out debug msg
9931 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * text2.C: first -> first_y
9935 * text.C (getRowNearY): add some attemts at a possible
9936 optimization, not working.
9938 * tabular.[Ch]: add BufferParams to several function so that newly
9939 created paragraph can be initialized to he default layotu for the
9942 * tabular-old.C (ReadOld): add buf->params to call of Init
9944 * screen.C: rename text->first to text->first_y
9946 * paragraph.C (breakParagraph): always set layout in the broken
9949 * lyxtextclass.C (Read): remove lowercase
9952 (delete_layout): ditto
9954 * lyxtext.h: rename first -> first_y
9956 * lyxlayout.C (Read): remove lowercase
9959 (obsoleted_by): ditto
9961 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9963 * buffer.C (insertErtContents): add params are to InsetERT
9964 (parseSingleLyXformat2Token): add code to check if a paragraphs
9965 layout really exist.
9966 (parseSingleLyXformat2Token): add params to several inset
9968 (asciiParagraph): remove lowercase, do the layout comparisons with
9971 * BufferView_pimpl.C (cursorNext): first -> first_y
9972 (resizeCurrentBuffer): first -> first_y
9973 (updateScrollbar): first -> first_y
9974 (scrollCB): first -> first_y
9975 (workAreaMotionNotify): first -> first_y
9976 (workAreaButtonPress): first -> first_y
9977 (checkInsetHit): first -> first_y
9978 (cursorPrevious): first -> first_y
9979 (cursorNext): first -> first_y
9980 (Dispatch): add buffer_->params to severl inset contructors
9982 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9984 * lyxlayout.C (Read): remove some debug info that I forgot.
9986 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9987 clean up the code slightly.
9988 (makeLinuxDocFile): ditto
9989 (makeDocBookFile): ditto
9991 * text2.C: layout as string
9993 * text.C: layout as string
9995 * paragraph_pimpl.C: layout as string
9997 * paragraph.[Ch]: layout as string
9999 * lyxtextclasslist.[Ch]: layout as string
10001 * lyxtextclass.[Ch]: layout as string
10003 * lyxtext.h: layout as string
10005 * lyxlayout.[Ch]: layout as string
10007 * lyx_cb.C: layout as string
10009 * bufferview_funcs.C: layout as string
10011 * bufferparams.C: layout as string
10013 * buffer.C: layout as string
10015 * LyXView.[Ch]: layout as string
10017 * LaTeXFeatures.[Ch]: layout as string
10019 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10021 * BufferView_pimpl.C: change current_layout to string, remove
10026 (workAreaButtonRelease): layout as string
10028 * BufferView2.C (unlockInset): adjust
10030 * vspace.C (asLatexCommand): use an explict temp variable.
10032 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10034 * Makefile.am: use FRONTEND_*
10036 2002-03-01 Juergen Vigna <jug@sad.it>
10038 * tabular.C (SetWidthOfMulticolCell): changed to something better
10039 I hope but still work in progress.
10040 (recalculateMulticolumnsOfColumn): renamed function from
10041 recalculateMulticolCells as it is more appropriate now.
10042 (SetWidthOfCell): calculate multicols better.
10044 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10048 * lyxfunc.C (processKeySym): print sequence also if it is
10049 `deleted' (complete)
10051 * kbsequence.C (print): print sequence even if it is deleted
10052 (complete would be a better word, actually).
10054 * lyxfunc.C (dispatch): print complete options after a prefix key
10056 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10058 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10060 * text2.C (setCharFont): eliminate setCharFont code duplication.
10062 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10064 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10065 LFUN_TABULAR_FEATURE (bug #177)
10067 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10069 * Makefile.am: remove figure.h
10071 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10073 * Bufferview_pimpl.C:
10085 * text2.C: remove #include "lyx_gui_misc.h".
10087 * LaTeX.C: added #include <cstdio>
10089 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10092 that the paragraph following this one can have.
10094 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10096 * vspace.C (asLatexCommand): fix bogus gcc warning
10098 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10100 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10102 * text2.C (setLayout): get rid of redundant code
10104 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10106 * text2.C (incDepth): make sure depth cannot be increased beyond
10109 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10111 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10112 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10114 * PainterBase.h (image):
10115 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10116 a LyXImage const *.
10118 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10122 * BufferView_pimpl.C:
10123 * BufferView_pimpl.h:
10143 * sp_spell.C: remove fig inset, and the crap house of
10144 cards that follows it
10146 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10151 * os2_errortable.h:
10152 * nt_defines.h: move .h into support/
10154 * vms_defines.h: remove
10156 * WorkArea.C: add space in debug output
10160 * buffer.C: add WITH_WARNINGS
10164 * bufferlist.C: s/retrive/retrieve/, add docs
10173 * chset.C: add docs
10175 * lyxgui.C: add ID to X error handler
10177 * lyxtestclass.c: fix typo
10179 2002-02-26 Juergen Vigna <jug@sad.it>
10181 * tabular_funcs.C (write_attribute): changed so that some default
10182 attributes are not written at all.
10183 (getTokenValue): set default values before trying to read the
10184 value so we have the return value always set as default if we don't
10185 find the token we search for.
10187 * tabular.C (Write): write bools as bools not as strings!
10189 2002-02-22 Juergen Vigna <jug@sad.it>
10191 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10192 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10194 * text.C (leftMargin): don't add an indent for paragraphs inside
10195 tabular cells (fix #208).
10197 2002-02-21 José Matos <jamatos@fep.up.pt>
10199 * tabular.C (docBook): fixed support for long tables.
10201 2002-02-20 Juergen Vigna <jug@sad.it>
10203 * text2.C (getFont): get the drawing font of the Inset if this
10204 paragraph is inside an inset (only important for InsetERT for now).
10206 * buffer.C (insertErtContents): use new lanugage params in ERT
10209 * CutAndPaste.C: commenting out seemingly uneeded code.
10211 2002-02-19 Allan Rae <rae@lyx.org>
10213 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10214 Iterators might be simple to use but they also get invalidated.
10215 (removeAutoInsets): renamed saved cursor tracking variables and added
10216 some comments to clarify what everything does.
10218 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10225 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10226 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10229 * vc-backend.h: remove #include "support/syscall.h"
10233 * converter.C: rearrange #includes in Lars' approved fashion.
10235 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10236 forward declare class Timeout in the header file.
10238 * XFormsView.C: changes due to the above.
10240 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10241 similar to LyXView.
10243 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10244 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10246 2002-02-18 José Matos <jamatos@fep.up.pt>
10248 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10251 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10253 * a lot of small ws changes
10254 * add a lot of using std::XXX
10255 * use std construcs some places where approp.
10256 * use some exisint stuff from lyxfunctional where approp.
10257 * Make file changes to use partial linking (lets test this now...)
10259 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10263 remove #include "support/syscontr.h" as it's redundant. Always has been.
10271 change Systemcalls::System to Systemcalls::Wait and
10272 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10273 No change of functionality, just reflects the stripped down Systemcalls
10276 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10278 * debug.[Ch]: add a GRAPHICS type to the enum.
10280 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10282 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10284 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10287 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10290 match the changes below.
10292 * text2.C (toggleInset): if there is not editable inset at cursor
10293 position, try to see if cursor is _inside_ a collapsable inset
10296 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10299 document menu has a nice checkbox
10301 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10303 * lyxlength.C (asLatexString): change PW to output as percent of
10306 * lengthcommon.C: change '%' to 't%'
10308 * lyxfunc.C (dispatch): a few comments from Martin
10310 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10314 * BufferView_pimpl.h:
10315 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10318 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10320 * vspace.C (inPixels): fix compiler warning
10322 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * lyxfunc.C (getStatus): fix status message for disabled commands.
10326 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10328 * BufferView_pimpl.C: fix crash on close buffer
10329 during selection (#227)
10331 2002-01-27 Herbert Voss <voss@lyx.org>
10333 * buffer.C: link old Figure to new graphic inset
10335 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10337 * FontLoader.C (getFontinfo): Change the latex font names in order
10338 to match the names of type1inst.
10340 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10344 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10345 (extchanged): ditto
10347 (remove_files_with_extension): ditto
10348 (remove_file): ditto
10351 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10352 document is smaller than the work area height. Do not initialize
10353 static variables to 0.
10355 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10357 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10359 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10360 LFUN_LAYOUT_PARAGRAPHS.
10362 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10363 tabular. It is possible to provide a possible cell, which will
10364 typically be the actcell from the corresponding insettabular
10366 * lyxfunc.C (getStatus): small cleanup; disable
10367 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10370 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10372 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10374 * paragraph.C (startTeXParParams):
10375 (endTeXParParams): new methods. The LaTeX code to
10376 start/end paragraph formatting
10377 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10378 empty (fixes bug #200)
10380 * vspace.C (inPixels): adapt to the change below
10381 (inPixels): [later] more cleanups (remove unused variables)
10383 * lyxlength.C (inPixels): change to use a width and a height as
10386 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10389 Replaced with \paperwidth
10391 * DepTable.C (insert): add std:: qualifier
10393 2002-01-18 Allan Rae <rae@lyx.org>
10395 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10398 * text.C (drawInset): Turned out I didn't know enough about how
10399 rebreaking worked. This fixes most of the redraw problems. I see
10400 an occasional cursor trail when a line is broken now and the cursor
10401 placement can seem out by a few pixels also after a rebreak.
10403 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10405 * buffer.C (parseSingleLyXformat2Token): update because minipage
10406 width is now a LyXLength
10408 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10410 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10413 2002-01-17 Juergen Vigna <jug@sad.it>
10415 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10417 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10418 is set correctly and the inset is updated correctly.
10420 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10422 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10423 the beginning of the loop.
10425 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10427 * lyxrc.C: improve help for use_scalable_fonts
10429 2002-01-17 Allan Rae <rae@lyx.org>
10431 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10433 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10436 make sure to set their inset_owner to the right value (bug #171)
10438 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10441 * DepTable.C: Implement mtime checking to reduce time spent doing
10444 2002-01-16 Juergen Vigna <jug@sad.it>
10446 * tabular.C (GetAdditionalHeight): one of error fixed.
10448 * lyxrc.C (output): small fix in writing use_pspell.
10450 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10452 * sp_base.h: #include LString.h
10454 2002-01-16 Allan Rae <rae@lyx.org>
10456 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10457 Can someone check this please?
10459 * text.C (drawInset): It was possible that p.row would be removed by
10460 breakAgainOneRow upsetting a few other settings. There may be another
10461 small tweak possible by setting need_break_row = 0 when p.row has been
10462 removed but I don't know enough about the logic here.
10464 2002-01-15 Allan Rae <rae@lyx.org>
10466 * text.C (insertChar): removed conditional truism.
10468 * BufferView2.C (removeAutoInsets): More tweaks.
10469 cur_par_prev could be a stray pointer. Check for trailing empty line
10470 in case last line was cur_par and only had an error inset on it.
10472 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10474 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10477 * vc-backend.C (most methods):
10478 * exporter.C (Export):
10479 * converter.C (convert):
10481 * LyXSendto.C (SendtoApplyCB):
10482 * lyxfunc.C (dispatch):
10486 * lyx_cb.C (AutoSave):
10488 * BufferView_pimpl.C (MenuInsertLyXFile):
10489 * buffer.C (runChktex): use Buffer::filePath().
10491 * buffer.h: rename filename to filename_; rename filepath to
10492 filepath_ and make it private
10493 (filePath): new method
10495 * buffer.C (writeFile): use fileName()
10498 * lyx_main.C (init): fix starting of LyX when the binary is a
10499 link from so,ewhere else.
10501 * minibuffer.C: include <cctype> for isprint
10503 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10505 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10506 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10507 name clash with InsetCollapsable's width function.
10509 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10511 * lastfiles.C: include <iterator>
10513 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10515 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10518 * buffer.C (makeLaTeXFile): ditto.
10519 Also make loop operation more transparent.
10521 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10523 * ToolbarDefaults.C: remove trailing comma closing namespace.
10525 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10527 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10530 * trans.C (Load): comment out unused variable, allowed.
10532 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10534 * minibuffer.[Ch] (append_char): new method to recieve input from the
10535 drop-down completion browser. If a key was pressed, then recieve this
10536 char and append it to the existing string.
10537 (peek_event): modify the positioning data passed to the completion
10538 browser so that it can be placed above the minibuffer rather than below.
10539 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * LyXAction.C (init): alloe error-next for readonly documents.
10543 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10546 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * bufferlist.C (readFile): create the buffer _after_ checking that
10551 * lyxfunc.C (verboseDispatch): fix handling of arguments
10553 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10555 * lyxrc.C: use string::erase() instead of initializing to "".
10558 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10560 * BufferView_pimpl.h:
10561 * BufferView_pimpl.C:
10564 * text2.C: tell X when we have made a selection for copying
10566 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * BufferView_pimpl.C (MenuInsertLyXFile):
10569 * lyxfunc.C (menuNew):
10571 (doImport): add shortcuts to directory buttons
10573 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10576 * lyxfunc.C (setStatusMessage):
10577 (getStatusMessage): new methods
10578 (getStatus):use setStatusMessage instead of setErrorMessage
10579 (dispatch): when function is disabled, set error message here
10580 [instead of in getStatus previously]
10582 * BufferView_pimpl.C (workAreaButtonRelease): update
10583 toolbar/menubar here too.
10585 2002-01-13 Allan Rae <rae@lyx.org>
10587 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10588 Now seems indestructible. Remaining task is to audit all other
10589 code affected by deleteEmptyParagraphMechanism. One small quirk
10590 left is that an empty document with an error in the preamble can
10591 be made to report an error but no error box appears. I don't know
10593 (removeAutoInsets): Improved comments.
10595 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10598 * Thesaurus.C: update for Aiksaurus 0.14
10600 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10602 * text2.C (firstParagraph): removed member function, all uses
10603 replaces with ownerParagraph
10604 (redoParagraphs): here
10605 (updateInset): here
10606 (toggleAppendix): here
10607 * BufferView2.C (insertErrors): here
10608 (setCursorFromRow): here
10610 2002-01-13 Allan Rae <rae@lyx.org>
10612 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10613 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10614 There is still a way to segfault this although you may have to do this
10615 multiple times: Have an InsetERT with an unknown command in it.
10616 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10617 <down-arrow>, <Enter> again, View->DVI, BANG!
10619 * text2.C (setCursor):
10620 (deleteEmptyParagraphMechanism):
10621 * lyxtext.h (setCursor):
10622 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10623 Making use of the return value may help fix other bugs.
10625 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10629 * LyXView.C (updateMenubar): call MenuBar::update here
10630 (updateToolbar): but not here
10631 (showState): do not update toolbar/menubar
10633 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10634 should need to care about that.
10636 * lyxfunc.C (verboseDispatch): simplify a bit
10637 (getStatus): have a version which takes a pseudoaction, and
10638 another which requires a (kb_action,string).
10640 * LyXAction.C (retrieveActionArg): make it work also when action
10641 is not a pseudo-action.
10642 (getActionName): simplify a bit
10645 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10647 * lyxfunc.C (verboseDispatch): new families of methods with
10648 several ways to specify a command and a bool to indicate whether
10649 the command name and shortcut should be displayed in minibuffer
10650 (eventually, we could extend that to a finer bitmask like
10651 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10652 (dispatch): the pristine dispatch command which just, well,
10653 dispatchs! Note it still sets its result to minibuffer; I'm not
10656 * lyxfunc.h: remove setHintMessage
10658 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10660 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * BufferView_pimpl.C (specialChar): delete new inset if we have
10663 not been able to insert it.
10665 * kbmap.C: revert to using int instead of kb_action, since all we
10666 are dealing with is pseudo-actions.
10668 * LyXAction.C (searchActionArg): change to return int instead of
10669 kb_action, since the result is a pseudoaction.
10671 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10673 * buffer.C (insertErtContents): Fix (partially) the font bug.
10675 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10677 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10678 as the other one is broken on my machine!
10680 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10683 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10685 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10687 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10688 reflect their actual use. Provide compatibility code for older lyxrc
10691 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10693 change names of popup font variables in line with the changes to lyxrc.C
10695 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10697 * buffer.C (asciiParagraph): avoid outputing a word twice after
10700 * lyxrc.C (getDescription): document that document_path and
10701 template_path can be empty.
10703 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * LaTeXFeatures.C (getMacros):
10706 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10708 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10710 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10712 (getPackages): rename feature "floats" to "float". Use an array to
10713 iterate over 'simple' features (i.e. just a \usepackage). Add
10714 handling of "amsmath" (renamed from "amsstyle").
10716 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10718 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10721 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10723 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10724 FuncStaus::FuncStatus & FuncStaus::some_method().
10726 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10728 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10729 of the func_satus stuff. Edited and massaged in various ways by
10732 * lyxfunc.C (getStatus): use FuncStatus
10734 2002-01-08 Juergen Vigna <jug@sad.it>
10736 * text.C (nextBreakPoint): use function Inset::isChar().
10738 * paragraph.C (TeXOnePar): use function
10739 Inset::forceDefaultParagraphs.
10741 * buffer.C (latexParagraphs): use function
10742 Inset::forceDefaultParagraphs.
10744 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10746 * lyx_gui.C (init): set the style of the menu popups to
10747 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10749 2002-01-07 Juergen Vigna <jug@sad.it>
10751 * text.C (setHeightOfRow): small fix
10752 (prepareToPrint): don't look at alignment if we don't have the place
10755 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10757 * box.C: New file. Move the Box methods and functions out of box.h,
10758 following Lars' suggestion.
10760 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10762 * box.h: #include "support/LOstream.h", needed for inlined function.
10765 * lyxtextclasslist.C: added some using std declarations.
10767 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10769 * box.h: make signed dimensions to allow insets wider than
10770 the screen (bug #162)
10772 * BufferView_pimpl.C: add some insetHit debug
10774 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10776 * vc-backend.C: add FIXME
10778 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10780 * lyxfunc.C (getStatus): enable code for showing math font status
10783 2002-01-07 Juergen Vigna <jug@sad.it>
10785 * text.C (nextBreakPoint): removed debug output not needed anymore.
10787 2002-01-06 Juergen Vigna <jug@sad.it>
10789 * text.C (nextBreakPoint): fixed up this function we had this bug
10790 since ever but now hopefully we break row better.
10791 (insertChar): we have to check if an inset is the next char as it
10792 could now happen that a large inset is causing a break.
10794 2002-01-05 Juergen Vigna <jug@sad.it>
10796 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10797 if it doesn't like to be drawed.
10799 2002-01-04 Juergen Vigna <jug@sad.it>
10801 * BufferView2.C (lockInset): forgot to set a cursor.
10803 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10805 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10807 * FormMathsPanel.C:
10810 * form_maths_panel.C:
10811 * form_maths_panel.h:
10812 * form_maths_panel.fd: implemented sub- and super- buttons in math
10815 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10816 (or ^ space) to be used as in TeX (req'd by André).
10818 * lyxfunc.C: Allow ^ and _ again to be used both as
10819 super/subscript (mathed) and as themselves (in text).
10821 2002-01-03 Allan Rae <rae@lyx.org>
10823 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10824 "LyX" or the filename of the current buffer if it has one. This is a
10825 modified form of John Levon's patch.
10827 * XFormsView.C (setWindowTitle): also set icon title.
10829 * LyXView.h (setWindowTitle): signature changed.
10830 * XFormsView.h (setWindowTitle): ditto.
10832 2002-01-02 Juergen Vigna <jug@sad.it>
10834 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10836 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10838 * screen.C (topCursorVisible): introduce a temp var for
10839 text->cursor.row(), handle the case where this row is null. (kindo
10842 * text2.C (setCursor): add a couple of asserts.
10844 * paragraph.h (inset_iterator): add -> operator
10846 * paragraph.[Ch] (autoDeleteInsets): remove member function
10848 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10849 cursor pos correctly and handle inset deletion by itself.
10850 (insertErrors): move iterator declaration out of for expression
10852 * lyxtextclass.C: add <algorithm>
10854 * Makefile.am: added the new files to sources, removed layout.C
10856 * layout.C: removed file
10858 * layout.h: remove LYX_DUMMY_LAYOUT
10860 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10864 * lyxtextclass.[Ch]:
10865 * lyxtextclasslist.[Ch]: new files
10867 * include order changes to a lot of files, also changes because of
10870 2001-12-27 Juergen Vigna <jug@sad.it>
10872 * buffer.C (asciiParagraph): more fixes.
10874 * tabular.C (ascii): make ascii export support export of only the
10875 data separated by a column-delimiter.
10876 (ascii): better support for ascii export.
10878 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10880 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10882 * tabular_funcs.C: use a "using std::getline" instead of the
10883 previous fix from Angus (necessary for cxx + lyxstring)
10885 2001-12-24 Juergen Vigna <jug@sad.it>
10887 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10889 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10890 problems. First check a minipage also if we have some ert-contents
10891 (not only on par->size(), second set the right depth of the paragraph
10892 on the relink to the root-paragraph-list!
10894 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10895 which then did not anymore update the main paragraphs on undo/redo!
10897 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10899 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10900 code. Support all font-changing funcs (even those which are not in
10901 menu currently). Support for reporting font settings in
10902 mathed (disabled until Andre provides a function on mathed's side).
10904 * func_status.h (toggle): small helper function to set toggle
10907 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10909 * tabular_funcs.C: getline -> std::getline
10911 2001-12-21 Juergen Vigna <jug@sad.it>
10913 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10914 accessed and could be 0 (I couldn't generate this but it seems
10917 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10919 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10920 * tabular_funcs.h: here and include iosfwd
10922 2001-12-20 Juergen Vigna <jug@sad.it>
10924 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10925 inside inset but undo_par was.
10927 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10929 * Thesaurus.C: always include <config.h> in sources.
10933 * box.h: do not include <config.h> in header files
10935 * text.C (paintLastRow): remove unused variable
10937 * text.C (transformChar):
10939 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10941 * Painter.C (text):
10942 * font.C (width): rewrite to use uppercase() instead of
10945 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10947 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10949 * lyxfind.C: clean up of find failure position change
10951 2001-12-20 Juergen Vigna <jug@sad.it>
10953 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10955 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10956 (TeXRow): added to LaTeX a single tabular row.
10957 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10958 (Latex): simplified and finally good LT-h/f support.
10959 (various_functions): just small adaptions for LT-h/f support.
10961 * tabular_funcs.[hC]: added and moved here all not classfunctions
10964 2001-12-19 Juergen Vigna <jug@sad.it>
10966 * tabular.[Ch]: better support for longtabular options (not finished
10969 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10971 * text.C (paintLastRow): use the label font instead of the font of
10972 the last character to compute the size of *_BOX. This makes more
10973 sense and avoids a crash with empty paragraphs.
10974 Use Painter::rectangle to draw EMPTY_BOX.
10976 2001-12-19 Juergen Vigna <jug@sad.it>
10978 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10979 the paragraphs if the replaced paragraph is not the first one!
10980 Tried to delete not used paragraphs but does not work yet so for
10981 now it's inside #ifdef's and by default off!
10983 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10985 * MenuBackend.C: include "lyx_main.h" instead of declaring
10986 lastfiles (actually was declared as LastFiles* instead of a
10989 2001-12-17 Juergen Vigna <jug@sad.it>
10991 * tabular.C (AppendColumn): applied John's fix
10993 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10997 * BufferView_pimpl.h:
10998 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11001 * box.h: new start of class for above
11003 * lyxfunc.C: ignore space-only minibuffer dispatches.
11004 Show the command name when it doesn't exist
11006 * minibuffer.C: don't add empty lines to the history
11008 * minibuffer.C: add a space on dropdown completion
11010 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11012 * text.C: fix line above/below drawing in insets
11014 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11016 * lyxlength.C (LyXLength): Initialize private variables.
11018 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11020 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11021 when inserting error insets.
11023 2001-12-13 Juergen Vigna <jug@sad.it>
11025 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11026 actually sometimes the before-paragraph.
11027 (setUndo): don't clear the redostack if we're not actually undoing!
11029 2001-12-06 Juergen Vigna <jug@sad.it>
11031 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11032 and fixed redoing of main paragraph, so we can use it now ;)
11034 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11036 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11038 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11041 2001-12-13 André Pönitz <poenitz@gmx.net>
11044 * undo_func.C: minor cleanup
11046 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11048 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11049 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11050 font in urw-fonts package which is marked as -urw-fontspecific and
11051 does not work (incidentally, changing the encoding in the
11052 fonts.dir of this package to -adobe-fontspecific fixes the
11055 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11056 is a crash when undoing first paragraph (Juergen, please take a
11057 look). THis does not mean the undo fix is wrong, just that it
11060 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11061 the (Paragraph*) version when needed instead of duplicating the
11064 * text.C (workWidth): use Inset::parOwner to find out where the
11065 inset has been inserted. This is a huge performance gain for large
11066 documents with lots of insets. If Inset::parOwner is not set, fall
11067 back on the brute force method
11069 * paragraph_pimpl.C (insertInset):
11070 * paragraph.C (Paragraph):
11071 (cutIntoMinibuffer): set parOwner of insets when
11072 inserting/removing them
11074 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11076 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11082 * mathed/formulabase.C:
11083 * mathed/math_cursor.[Ch]:
11084 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11087 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * lyxlength.[Ch] (operator!=): new function
11091 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * text.C (workWidth): use Inset::parOwner to find out where the
11094 inset has been inserted. This is a huge performance gain for large
11095 documents with lots of insets. If Inset::parOwner is not set, fall
11096 back on the brute force method
11098 * paragraph_pimpl.C (insertInset):
11099 * paragraph.C (Paragraph):
11100 (cutIntoMinibuffer): set parOwner of insets when
11101 inserting/removing them
11103 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11105 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11107 * tabular-old.C (getTokenValue):
11108 * tabular.C (getTokenValue):
11109 (write_attribute): new versions for LyXLength
11110 (everywhere): adjust the use of widths
11112 * tabular.h: change the type of widths from string to LyXLength
11114 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11116 * paragraph.C: fixed missing line number count when exporting
11117 Environments to LaTeX file
11119 * buffer.C: added informational message for checking line numbers.
11121 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11124 paragraph, do the 'double space' part, but not the 'empty
11127 * text.C (workWidth): small optimization
11128 (getLengthMarkerHeight): use minimal size for negative lengths.
11130 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11132 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11134 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11136 2001-12-11 André Pönitz <poenitz@gmx.net>
11139 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11141 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11143 * text2.C: keep selection on a setFont()
11145 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11147 * lyx_cb.C: another bv->text misuse, from insert label
11149 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11152 * kbsequence.C: re-instate nmodifier mask
11154 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11156 * lyx_main.h: make lyxGUI private.
11158 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11160 * lyxfind.C: place the cursor correctly on failed search
11162 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11164 * text.C (getLengthMarkerHeight): for small heights, the arrows
11165 are not always on top/bottom of the text
11166 (drawLengthMarker): smaller arrows; take the left margin in
11167 account; draw also vfills.
11169 (paintLastRow): remove special code for vfill and standard spaces,
11170 since everything is handled in drawLengthMarker now.
11172 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * buffer.C (insertErtContents): try to handle font and language
11175 interaction a bit better.g
11177 * ColorHandler.C (updateColor): change the hash to cover the whole
11178 LColor enum, ws cleanup
11179 (getGCLinepars): ditto
11180 (getGCLinepars): only lookup in the linecache once.
11182 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11184 * iterators.C (operator++): Make the iterator more robust
11186 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11188 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11190 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11193 * text.C: better added space drawing
11195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11198 * BufferView2.C: fix layout combo update on inset unlock
11200 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11202 * Makefile.am: don't compile unused files
11204 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11208 * LyXAction.C: remove old LFUN_LAYOUTNO
11210 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11212 * paragraph_pimpl.h:
11213 * paragraph_pimpl.C: isTextAt() doesn't need font param
11215 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11218 * lyxlex.C: little cleanup
11220 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11222 * BufferView_pimpl.C: fix insertAscii for insets
11224 2001-12-05 Juergen Vigna <jug@sad.it>
11226 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11227 set the right font on the "multi" paragraph paste!
11229 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11235 * lyxlength.C: remove out-commented code.
11237 * BufferView_pimpl:
11251 * vc-backend.C: change "while(" to "while ("
11253 * lyxlength.[Ch]: add zero function to check if length is zero or
11255 * lyxgluelength.C: use it
11257 2001-12-05 Allan Rae <rae@lyx.org>
11259 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11260 Works for 2.95.3, from what I understand of Garst's reports this should
11261 work for other g++ versions. We're screwed if the abs(int) definition
11262 changed between bugfix releases of gcc.
11264 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11266 * text.C: fix chapter label offset !
11268 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11271 * text.C: fix hfill at end of line, clean up
11273 2001-12-04 Juergen Vigna <jug@sad.it>
11275 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11276 that we force an update of the inset and it's owners if neccessary.
11278 2001-12-03 Juergen Vigna <jug@sad.it>
11280 * text.C (rowLast): simplified code
11282 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11284 * lyxfunc.C: fix show options on timeout
11286 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * screen.C (topCursorVisible): scroll half a page when the cursor
11289 reached top of bottom of screen
11291 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11293 * minibuffer.C: deactivate on loss of focus
11295 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11297 * vspace.[Ch] (operator!=): add operator.
11299 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11301 * BufferView_pimpl.C: refuse to open an inset when
11302 there's a selection.
11304 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11306 * BufferView_pimpl.C: allow to click on RHS of full row insets
11308 2001-11-30 Juergen Vigna <jug@sad.it>
11310 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11311 insets for undo reasons.
11313 2001-11-28 André Pönitz <poenitz@gmx.net>
11315 * vspace.[Ch]: cosmetical changes
11317 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11327 * kbsequence.C: part re-write of old kb code
11330 * WorkArea.C: remove Lgb_bug_find_hack
11332 2001-11-30 José Matos <jamatos@fep.up.pt>
11334 * buffer.C (makeDocBookFile): add a comment to point a hack.
11335 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11336 Fixed a double write of labels.
11338 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11341 * LaTeX.h Fixed bug in LaTeX class where it would not
11342 re-run latex if no depfiles were changed, but the .dvi was removed.
11344 2001-11-28 André Pönitz <poenitz@gmx.net>
11346 * all the files from the change on 2001/11/26:
11347 use lyx::layout_type instead of LyXTextClass::size_type
11348 use lyx::textclass_type instead of LyXTextClassList::size_type
11350 2001-11-29 Juergen Vigna <jug@sad.it>
11352 * text.C: added support for paragraph::isFreeSpacing()
11354 * buffer.C: same as above
11356 * paragraph.h: inserted isFreeSpacing() function to enable
11357 FreeSpacing inside InsetERT.
11359 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11360 of the paragraph's in the cut/copy buffer to 0!
11362 * text2.C (removeRow): remove the assert as it can!
11364 * lyxtext.h: added helper function firstRow returning firstrow and
11365 made firstrow private again.
11367 * BufferView2.C (lockInset): don't relock if we're already locked!
11369 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11370 the only paragraph.
11371 (removeRow): added Assert::(firstrow)
11373 * debug.C: forgot to add INSETTEXT here.
11375 2001-11-28 Juergen Vigna <jug@sad.it>
11377 * sp_spell.C (initialize): changed error text to more general
11378 spellchecker command use (not only ispell!)
11380 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11382 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11384 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11386 * vspace.C: initialise lyxgluelength on failure
11388 2001-11-28 Allan Rae <rae@lyx.org>
11390 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11391 declaration & definition that looks like a function declaration.
11393 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * BufferView2.C (copy):
11396 (copyEnvironment): do not clear the selection when doing a copy.
11398 * text.C (paintFirstRow): compilation fix
11400 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11402 * tabular.C (Latex): correct line count when writing latex.
11404 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11406 * paragraph_pimpl.h:
11407 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11410 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11414 * LColor.C: change vfillline->added_space
11416 * text.C: add markers and text for added space
11418 * vspace.C: fix comment
11420 2001-11-28 André Pönitz <poenitz@gmx.net>
11422 * paragraph.C: whitespace changes
11423 * all the other files from the change on 2001/11/26:
11424 change *::pos_type into lyx::pos_type
11426 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11428 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11429 language of the document when inserting error insets.
11431 2001-11-26 André Pönitz <poenitz@gmx.net>
11433 * BufferView_pimpl.[Ch]:
11441 * paragraph_pimpl.[Ch]:
11444 * text2.C: reduce header dependencies, introduce type for positions
11446 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11448 * <various>: change to use Alert.h
11450 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11452 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11453 when encountering an unknown token.
11454 (readLyXformat2): Show an error message if there were unknown tokens.
11456 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11459 * BufferView_pimpl.C:
11463 * text2.C: use par->isInset()
11465 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11467 * paragraph_pimpl.h:
11468 * paragraph_pimpl.C: cleanup
11470 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11472 * text2.C (removeRow):
11473 * text.C (setHeightOfRow): remove useless (and costly) call to
11476 2001-11-20 Allan Rae <rae@lyx.org>
11478 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11479 Now need Inset*::checkInsertChar() to return true for appropriate
11480 cases so that the characters in the minibuffer will actually be
11483 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * text.C: change the order of the includes.
11486 (workWidth): initialize it at once.
11487 (workWidth): make maxw unsigned
11488 (setHeightOfRow): remove unused variable (inset)
11489 (selectSelectedWord): remove unused variable (inset)
11490 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11492 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11494 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11495 server is not running.
11497 (closeConnection): add debug info when server is disabled.
11499 * ColorHandler.C (getGCForeground): send debug message to GUI
11502 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11504 * kbmap.C (bind): modify because return conventions of
11505 kb_sequence::parse have changed.
11507 * kbsequence.C (parse): only ignore spaces and not any stupid
11508 control character. This avoids tests like s[i] <= ' ', which are
11509 guaranteed to fail with 8bit characters and signed chars.
11510 Change return code to string::npos when there have been no error
11511 (0 was a bad idea when error is at first character)
11513 2001-11-14 José Matos <jamatos@fep.up.pt>
11516 * buffer.C (simpleDocBookOnePar): removed unused argument.
11518 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11521 insets which are part of a word. Paragraph::isLetter takes care of
11522 that now. Use Paragraph::isInset to identify insets.
11523 (selectSelectedWord): do not test for hyphenation break.
11525 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11526 that protected spaces are considered as spaces.
11528 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11531 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11534 * lyxserver.C: fix it. and small cleanup.
11536 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11538 * BufferView_pimpl.C: use inline helpers
11541 * LaTeXFeatures.C: fix typos
11544 * Spacing.C: move spacing_string into class
11546 * ToolbarDefaults.C: move stuff into namespace anon
11548 * layout.h: update enum
11550 * lyxfunc.C: use better debug
11552 * minibuffer.h: fix typo
11556 * WorkArea.C: add and use Debug::WORKAREA
11560 * text2.C: code re-organisation, inline helpers
11562 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11564 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11565 std::vector.empty().
11567 2001-11-09 Allan Rae <rae@lyx.org>
11569 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11570 '\n's after tables. Tabular and ERT inset work now makes this no
11573 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11576 * minibuffer.C: fix crash, improve drop-down completion
11578 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11581 * lyxserver.C: invalidate fd's when doing endPipe()
11583 2001-11-08 José Matos <jamatos@fep.up.pt>
11585 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11586 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11589 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11591 2001-11-07 José Matos <jamatos@fep.up.pt>
11594 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11597 * buffer.C (sgmlOpenTag):
11598 * buffer.C (sgmlCloseTag): removed debug info.
11600 * buffer.h (sgmlOpenTag):
11601 * buffer.h (sgmlCloseTag): made public.
11603 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11605 * buffer.C (saveParamsAsDefaults):
11606 * lyx_cb.C (MenuLayoutSave): remove
11608 * LyXAction.C (init):
11610 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11612 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11614 * buffer.C (setPaperStuff): removed from here...
11616 * bufferparams.C (setPaperStuff): ... and moved there.
11618 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11622 * XFormsView.C: add support for drop-down completion
11624 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11626 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11629 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11631 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11634 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11636 * lyx_main.C: change ref to known bugs
11638 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11640 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11641 to work around older babel problems.
11643 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11645 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11647 2001-10-24 Juergen Vigna <jug@sad.it>
11649 * tabular-old.C (ReadOld): below variable changes reflected.
11651 * tabular.[Ch]: added ltType struct for longtable header/footer
11652 defines and changed all instances where they are used. Added
11653 future support for double top/bottom rows.
11655 2001-10-24 José Matos <jamatos@fep.up.pt>
11657 * buffer.h (docbookHandleCaption):
11658 * buffer.C (docbookHandleCaption): removed unused function.
11659 (makeDocBookFile): moved docbook supported version to v4.1.
11661 2001-10-24 José Matos <jamatos@fep.up.pt>
11664 * tabular.C (docbookRow): new function to export docbook code of a row.
11665 (DocBook): now honors the longtable flags.
11667 2001-10-23 José Matos <jamatos@fep.up.pt>
11670 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11671 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11673 * buffer.C (makeLinuxDocFile):
11674 (makeDocBookFile): reworked the preamble, more clean, and with
11675 support for lyx defined entities. Changed the document declaration
11676 to be more XML friendly.
11678 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11679 if we need to output XML that should be done with a filter.
11681 2001-10-22 Juergen Vigna <jug@sad.it>
11683 * sp_pspell.h (class PSpell): add alive function needed in the
11684 controller to see if the spellchecker could be started.
11686 2001-10-22 Juergen Vigna <jug@sad.it>
11688 * buffer.C (insertStringAsLines): modify the font for inserting
11689 chars in certain conditions by calling checkInsertChar(font).
11691 2001-10-19 Juergen Vigna <jug@sad.it>
11693 * text.C (workWidth): use getRow instead of wrong algorithm.
11694 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11696 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11701 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11703 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11705 * text.C (workWidth): do not search for the exact row when
11706 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11707 optimization for big documents.
11709 2001-10-18 Juergen Vigna <jug@sad.it>
11711 * text.C (workWidth): new function with added Inset * parameter.
11713 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11717 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11718 change return type of getColumnNearX.
11721 * text.C (changeRegionCase): use uppercase/lowercase instead of
11724 (rightMargin): simplify code by factoring out the uses of
11729 (appendParagraph): use Paragraph::size_type
11731 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * vspace.C (asLatexString): add a missing break
11735 2001-10-15 Herbert Voss <voss@perce.de>
11737 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11739 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11741 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11744 2001-10-10 André Pönitz <poenitz@gmx.net>
11746 * lyxfunc.C: removed greek_kb_flag.
11748 2001-10-10 Herbert Voss <voss@perce.de>
11750 * lyx_main.C: delete global string help_lyxdir.
11752 2001-10-09 Herbert Voss <voss@perce.de>
11754 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11756 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11758 * lyx_main.C: added global string help_lyxdir.
11760 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11762 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11764 * lyxrc.C (set_font_norm_type): support iso8859-4
11766 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11768 * LaTeX.C (deplog): add another regex for MikTeX
11770 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11772 * lyxrc.C (set_font_norm_type): support iso8859-3
11774 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11776 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11778 * LaTeXFeatures.C: remove special case of french and index
11780 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11781 before \begin{document}). This solves several incompatibilities.
11783 2001-10-03 Garst Reese <reese@isn.net>
11785 * lyx_cb.C: change CheckTex error msg.
11787 2001-10-03 José Matos <jamatos@fep.up.pt>
11789 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11791 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11793 * .cvsignore: update
11795 * lyx_main.C (commandLineVersionInfo): use new style version info.
11797 * buffer.C (writeFile):
11799 (makeLinuxDocFile):
11800 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11802 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11804 * version.h: update to use stuff in version.C
11806 * version.C.in: new file. Contains version information determined
11807 at compile time. This is a merging of version.h and
11810 2001-10-03 Juergen Vigna <jug@sad.it>
11812 * BufferView_pimpl.C (update): don't change "dirty" status in
11815 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11817 * WorkArea.C (c-tor): re-position version string slightly.
11819 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11821 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11822 revert to previous code.
11824 WorkArea.[Ch]: (show, destroySplash): methods removed.
11826 WorkArea.C: rework code so that it's an amalgam of the codes before and
11827 after the splash screen was moved to WorkArea.
11829 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11832 * vspace.C (inPixels):
11835 * buffer.C (insertStringAsLines):
11836 (asciiParagraph): fix types to be large enough
11838 * lyxlex_pimpl.h: change member status from short to int
11840 * layout.h: fix type of endlabeltype
11843 * kbsequence.C (parse): change return type to string::size_type
11845 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11848 * Bullet.C (bulletSize):
11849 (bulletEntry): do not use short ints as parameters
11851 * BufferView2.C (insertLyXFile): change a char to an int.
11853 * WorkArea.C (WorkArea): remove unneeded floats in computation
11855 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11857 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11859 * paragraph.C (asString): Do not ignore newline/hfill chars when
11860 copying to the clipboard.
11862 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11864 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11865 after a multi-line inset.
11867 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11869 * paragraph.C (validate): Set NeedLyXFootnoteCode
11871 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11873 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11874 and decrease-error to decrease.
11876 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11879 it more readable (should be equivalent)
11881 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11883 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11885 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11888 of a cursor (row, etc.) after a character has been deleted
11889 (deleteEmptyParagraphMechanism): call the method above on _all_
11890 cursors held by the LyXText when a double space has been
11893 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11895 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11897 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11899 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11900 background. Use greyOut() and the new show() methods to toggle between
11901 the foreground and background. Add code to remove the splash after
11902 its initial showing.
11904 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11905 (create_forms): no longer call Dialogs::showSplash.
11907 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11909 * .cvsignore: add version_info.h
11911 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * version_info.h.in: new file
11915 * Makefile.am: add version_info.h.in
11917 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11918 version_info.h instead of VERSION_INFO
11920 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11922 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11923 The ERT inset now returns string().
11925 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11927 * lyxtext.h, text.C (selectNextWord): renamed as
11928 selectNextWordToSpellcheck.
11930 * text.C (selectNextWordToSpellcheck): Modified to not select
11931 words inside an ERT inset.
11933 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11935 * lyx_cb.C (MenuLayoutSave): change a bit the question
11937 * sp_base.h: include <sys/types.h>
11939 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11941 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11943 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11945 * several files: fix typos in user-visible strings
11947 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11949 * text2.C (pasteSelection): do not set the selection, since it
11950 will be cleared later. Actually, the intent was to fix the way the
11951 selection was set, but I figured rmoving the code was just as good.
11953 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11955 * FontLoader.C (available): Check if font is available without
11958 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11960 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11962 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11964 * lyxrc.[Ch]: added display_graphics variable and associated code.
11966 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11968 * bufferparams.C (hasClassDefaults): new method. Returns true if
11969 the buffer parameters correspond to known class defaults
11971 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11973 * XFormsView.C (show): set minimum size to the main window.
11975 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11977 * text2.C (copySelection):
11979 * lyxfind.C (LyXReplace):
11980 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11981 LyXText::selectionAsString.
11983 * paragraph.C (asString): add "label" argument to the second form
11985 * text2.C (selectionAsString): add "label" argument and pass it to
11986 Paragraph::asString.
11988 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11990 * lyx_main.C (commandLineHelp): remove version information
11992 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11994 * lyx_main.C: add -version commandline option
11996 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11998 * paragraph.h: make the optional constructor arg required instead.
11999 some modifications to other files because of this.
12001 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12003 * lyxserver.C (C_LyXComm_callback): make it static
12005 * lyx_main.C (error_handler): make it static
12007 * lyx_gui.C (LyX_XErrHandler): make it static
12009 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12011 * WorkArea.C: make the extern "C" methods static.
12013 * Makefile.am (lyx_LDADD): simplify
12015 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12017 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12018 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12020 * LyXAction.C (init):
12021 * lyxfunc.C (dispatch): associated code removal.
12023 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12025 * lyxfont.h (isSymbolFont): shut off warning
12027 * text.C (setHeightOfRow):
12028 (getVisibleRow): fix crash with empty paragraphs which have a
12031 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12033 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12036 2001-09-04 José Matos <jamatos@fep.up.pt>
12039 * tabular.C (docbook): rename docBook method to docbook.
12041 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12043 * Makefile.am: add dependencies to main.o.
12045 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12047 * FontLoader.C (available): Return false if !lyxrc.use_gui
12049 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12051 * FontInfo.C (query):
12052 * converter.C (view):
12053 * importer.C (Import):
12054 * exporter.C (Export): Can not -> cannot.
12056 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12058 * BufferView_pimpl.C: allow to create index inset even if
12061 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12063 * buffer.C (getLists): replace boost::tie code with an explicit pair
12064 as boost::tie can break some compilers.
12066 * iterators.h: Added a std:: declaration to the return type of
12069 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12071 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12074 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12076 * iterators.[Ch]: New files. Provide paragraph iterators.
12078 * buffer.C (changeLanguage): Use paragraph iterators.
12079 (isMultiLingual): ditto
12081 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12083 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12085 * FontLoader.C: Support for cmr font.
12087 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12089 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12090 (available): New method.
12092 * FontInfo.C (getFontname): Use scalable fonts even when
12093 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12096 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12098 * converter.C (Formats::view): reverted! Incorrect fix.
12100 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12102 * converter.C (Formats::view): only output the -paper option
12103 if the dvi viewer is xdvi, thereby fixing bug #233429.
12105 2001-08-23 Herbert Voss <voss@perce>
12107 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12109 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12111 * Spacing.h (Spacing): Set space to Default on in the default
12114 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12116 * vc-backend.h (RCS::versionString): add RCS to version
12117 (CVS::versionString): add CVS to version
12119 * vc-backend.C (scanMaster): do not add CVS to version.
12120 (scanMaster): do not add RCS to version
12122 * lyxvc.C (versionString): new method
12124 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12126 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * Spacing.C (set): initialize fval
12130 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12132 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12135 2001-08-16 Juergen Vigna <jug@sad.it>
12137 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12139 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12141 * BufferView_pimpl.C:
12144 * text2.C: setParagraph takes linespacing now
12146 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12148 * LyxAction.C: add internal LFUN_CITATION_INSERT
12150 * LyXView.C: actually apply fix
12152 * bufferlist.C: fix open non-existent file
12154 * lyxfind.C: fix indentation
12156 * lyxfunc.C: remove unneeded assert, fix typo
12158 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12160 * MenuBackend.C: use "Floatname List"
12162 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12164 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12165 when converting LaTeX layout to insetERT.
12166 Generate a non-collapsed float when reading old float
12168 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12170 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12173 2001-08-13 Juergen Vigna <jug@sad.it>
12175 * text.C (fill): return 0 instead of 20 as this seems to be the more
12178 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12180 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12183 2001-08-13 Juergen Vigna <jug@sad.it>
12185 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12187 (SearchBackward): comment out the unlocking of the inset_owner this
12188 should not be needed!
12190 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12192 * Many files: Remove inherit_language, and add latex_language
12194 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12195 collapsible insets.
12197 2001-08-10 Juergen Vigna <jug@sad.it>
12199 * text.C (prepareToPrint): fixed hfill-width in draw!
12201 * BufferView2.C (selectLastWord): save the selection cursor as this
12202 now is cleared in the function LyXText::clearSelection!
12204 2001-08-08 Juergen Vigna <jug@sad.it>
12206 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12207 BACKSPACE type functions.
12209 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12210 is only cutted from the document but not put in the cut-buffer, where
12211 still the old stuff should be.
12213 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12215 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12217 * tabular.C (SetWidthOfCell): fixed special case where the width
12219 (LeftLine): handle '|' in align_special.
12221 (LeftAlreadyDrawed): ditto
12222 (SetWidthOfCell): ditto
12224 2001-08-07 Juergen Vigna <jug@sad.it>
12226 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12228 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12230 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12231 * lyxlex.[hC]: ditto
12233 2001-08-06 Juergen Vigna <jug@sad.it>
12235 * text.C (getVisibleRow): fix up row clearing a bit.
12237 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * minibuffer.C: make sure the X server sees the changes in the input.
12241 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * paragraph.C (getFont): split into...
12244 (getLabelFont): this
12245 (getLayoutFont): and this
12246 * paragraph_pimpl.C (realizeFont): calling this
12248 * text2.C (getFont): split into...
12249 (getLayoutFont): this
12250 (getLabelFont): and this
12251 (realizeFont): all three calling this
12253 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12256 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12258 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12260 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12262 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12263 layouts from the Quote inset insertion.
12265 2001-08-03 Juergen Vigna <jug@sad.it>
12267 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12269 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12270 only if status not is already CHANGED_IN_DRAW (second level).
12272 * text.C (draw): don't set the need_break_row when inside an
12275 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12277 * buffer.C (parseSingleLyXformat2Token): handle more latex
12280 * bufferview_funcs.[hC]: change function names to
12281 begin with small char, adjust other files.
12283 2001-08-02 André Pönitz <poenitz@gmx.net>
12286 BufferView_pimpl.C: remove broken special code for math-greek
12288 2001-08-02 Juergen Vigna <jug@sad.it>
12290 * BufferView_pimpl.C (update): redone this function so that we
12291 update the text again if there was a CHANGE_IN_DRAW.
12293 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12294 (drawFromTo): added a new internal bool which is used by draw() and
12296 (general): some cursor drawing problems fixed.
12298 2001-08-01 Juergen Vigna <jug@sad.it>
12300 * lyxfind.C (LyXFind): fixed
12301 (SearchForward): ditto
12302 (SearchBackward): ditto
12304 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12305 spurius drawing of the cursor in the main area.
12307 * text2.C (status): small fix which could lead to a segfault!
12308 (clearSelection): remove unneeded BufferView param.
12310 2001-08-01 André Pönitz <poenitz@gmx.net>
12312 * lyxfunc.C: small change due to changed mathed interface
12314 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12316 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12318 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12320 * lyxfunc.c: fail gracefully if file doesn't exist
12325 * BufferView_pimpl.C: IsDirWriteable() proto changed
12327 * LyXView.C: fix updateWindowTitle() to store the last title
12329 2001-07-31 Juergen Vigna <jug@sad.it>
12331 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12332 the font (wrong since using of Paragraph::highestFontInRange).
12334 * paragraph.C (highestFontInRange): added a default_size parameter.
12336 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12337 (setHeightOfRow): reformat
12339 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * converter.[hC] + affected files: move to (inital-char)lowercase
12344 * ParagraphParameters.C (ParagraphParameters): remove commented code
12346 * PainterBase.[Ch]: remove commented code
12348 * LaTeXFeatures.h: add "bool floats" for float.sty
12350 * LaTeXFeatures.C (LaTeXFeatures): init floats
12351 (require): handle float
12352 (getPackages): do it with floats
12354 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12356 * BufferView_pimpl.C (Dispatch): improve handling of
12357 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12359 * commandtags.h: #include lyxfont.h here temporarily to avoid
12362 * bufferlist.h: include LString.h here.
12364 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12366 * text2.C (getStringToIndex): new method.
12368 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12370 * *: Reduced header file dependencies all over.
12372 2001-07-30 Baruch Even <baruch@lyx.org>
12374 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12376 2001-07-29 Baruch Even <baruch@lyx.org>
12378 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12380 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * ParameterStruct.h (endif): add a default constructor to make
12383 sure that all variables is initialized.
12385 * ParagraphParameters.C (ParagraphParameters): adjust
12387 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12389 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12390 index; also, check that there is something to index, and that it
12391 does not span over several paragraphs.
12392 (doubleClick): use WHOLE_WORD_STRICT for double click.
12394 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12396 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12399 2001-07-26 Baruch Even <baruch@lyx.org>
12401 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12402 an InsetFig figure, backwards compatible reading of old figure code.
12404 2001-07-27 Juergen Vigna <jug@sad.it>
12406 * text2.C: font.realize function adaption.
12408 * text.C (draw): add a warnings lyxerr text if needed.
12410 * layout.C: font.realize function adaption.
12412 * language.C: add inherit_language and implement it's handlings
12414 * bufferview_funcs.C (StyleReset): remove language parameter from
12415 font creation (should be language_inherit now).
12417 * bufferparams.C (writeFile): handle ignore_language.
12419 * paragraph.C (getFontSettings): the language has to be resolved
12420 otherwise we have problems in LyXFont!
12422 * lyxfont.C (lyxWriteChanges): added document_language parameter
12423 (update): removed unneeded language parameter
12425 * paragraph.C (validate): fixed wrong output of color-package when
12426 using interface colors for certain fonts in certain environments,
12427 which should not seen as that on the final output.
12429 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12431 * BufferView_pimpl.C:
12436 * LyXAction.C: add thesaurus support
12439 * lyxfind.C: add "once" parameter, for thesaurus, to not
12440 move to the next match
12442 2001-07-26 Juergen Vigna <jug@sad.it>
12444 * lyxfont.C (realize): honor ignore_language too!
12447 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12449 * text.C (draw): one place more for ignore_language to not draw
12452 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12454 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12456 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12459 the minipage conversion problem.
12461 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12466 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * BufferView.h: don't forward declare WorkArea
12470 * BufferView.C: don't include WorkArea.h
12472 2001-07-25 André Pönitz <poenitz@gmx.net>
12476 * lyxfunc.C: new LFUN 'math-space'
12478 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12480 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12482 * text2.C (toggleInset): call open/close
12484 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12486 * lyxfunc.C (dispatch): add debug for the disabled case
12488 * font.C (buttonText): make similar to rectText
12490 * buffer.C (readInset): comment out parsing of insetlist and
12493 * PainterBase.C (rectText): small correction
12495 * BufferView_pimpl.C: comment out insettheorem and insetlist
12496 * LyXAction.C: ditto
12497 * commandtags.h: ditto
12499 2001-07-24 Juergen Vigna <jug@sad.it>
12501 * text.C (draw): honor the ignore_language.
12503 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12505 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12507 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12510 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12512 * lyxtext.h: remove unused (and unimplemented) methods
12514 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12516 * text.C (getVisibleRow): honor background color
12519 * Painter.h: remove default color argument for fillRectangle
12521 * text.C (backgroundColor): new method
12523 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12525 * text.C (getVisibleRow): adjust
12527 * font.[Ch] (rectText): new method, metrics
12528 (buttonText): new method, metrics
12530 * PainterBase.[hC]: make rectText and buttonText always draw and take
12533 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12535 * ToolbarDefaults.C (read):
12536 * MenuBackend.C (read): allow escaping in all strings
12538 * BufferView_pimpl.C (insertAndEditInset): new method.
12539 (Dispatch): use insertAndEditInset whenever appropriate.
12541 * BufferView_pimpl.C (insertNote): removed
12543 * BufferView_pimpl.C (smartQuote): new method, moved from
12544 BufferView; if an insetquote cannot be inserted, insert a '"'
12547 * BufferView2.C: remove insertCorrectQuote();
12549 * lyxfunc.C (getStatus): Add support for all remaingin
12550 inset-insert lfuns.
12552 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12554 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12555 command (necessary to pass " as parameter of self-insert.
12557 * text.C (selectWordWhenUnderCursor):
12558 (selectWord): add word_location parameter
12559 (selectWordWhenUnderCursor): same + remove special code for word
12561 (selectNextWord): use kind() to guess type of insetspecialchar,
12564 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12565 (insertErtContents): create ert insets as collapsed.
12566 (readInset): better compatibility code for Info inset.
12568 2001-07-20 Juergen Vigna <jug@sad.it>
12570 * lyxfunc.C (dispatch): use always LyXFind now!
12572 * text2.C (init): add a reinit flag so that the LyXText can be
12573 reinited instead of deleted and reallocated (used in InsetText).
12575 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12581 2001-07-18 Juergen Vigna <jug@sad.it>
12583 * text.C (selectNextWord): handle insets inside inset by calling
12584 always the bv->text functions so that we can go up the_locking_inset!
12586 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12587 in strange locations when inside an inset!
12589 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12590 handling to include insets.
12592 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12594 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12596 * LyXAction.C (init):
12598 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12599 LIGATURE_BREAK, since the name is so stupid.
12601 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12603 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12606 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12608 * sp_form.[Ch]: remove.
12610 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12612 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12615 * src/buffer.C (readInset): ditto.
12617 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12619 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12620 menuSeparator(), endOfSentenceDot(), ldots() and
12621 hyphenationPoint(), which are therefore removed.
12622 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12624 * LyXAction.C (init):
12625 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12627 * paragraph.C (getWord): removed.
12629 * BufferView_pimpl.C (Dispatch): use last word or selection for
12630 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12632 * lyx_main.C (queryUserLyXDir): do not ask before creating
12633 user_dir, except if it has been named explicitely.
12635 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12637 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12638 a document of zero size.
12640 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12642 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12643 approriately in the c-tor and in require().
12644 (getPackages): output the appropriate LaTeX for natbib support.
12646 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12647 variables "use_natbib" and "use_numerical_citations" when reading the
12649 (readInset): read the various natbib cite commands.
12650 (validate): white-space change.
12652 * bufferparams.[Ch]: new variables "bool use_natbib" and
12653 "bool use_numerical_citations".
12654 (writeFile): output them in the LyX file.
12656 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12658 * lyxfunc.C (getStatus): add support for all the inset insertion
12661 * text2.C (insertInset):
12662 * paragraph.C (insetAllowed):
12663 * BufferView_pimpl.C (insertInset): update to take in account the
12664 renaming of insertInsetAllowed
12666 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12668 * text2.C (getInset): new method. returns inset at cursor position.
12670 * BufferView_pimpl.C (Dispatch): changes because of this.
12672 * LyXAction.C (init): rename open-stuff to inset-toggle.
12674 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12676 * text2.C (toggleInset): renamed from openStuff; use
12679 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12681 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12683 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12685 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12687 * buffer.C (readLyXformat2): Add filename to the error dialog
12689 2001-07-18 Juergen Vigna <jug@sad.it>
12691 * tabular.C (GetCellNumber): put an assert here instead of the check!
12693 2001-07-17 Juergen Vigna <jug@sad.it>
12695 * BufferView_pimpl.C (toggleSelection): adapted too.
12697 * text.C (selectNextWord): adapted for use with insets.
12698 (selectSelectedWord): ditto
12700 2001-07-17 Juergen Vigna <jug@sad.it>
12702 * sp_spell.C (PSpell): fix initialitation order.
12704 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12706 * paragraph.C: spacing
12708 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12710 * sp_spell.C: repair language selection for pspell
12712 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12714 * lyxfunc.h: change more methods to begin with lower char.
12716 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12718 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12719 for unknown layouts.
12721 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12723 * buffer.C (readLyXformat2): Generate an error dialog if there are
12726 2001-07-16 Juergen Vigna <jug@sad.it>
12728 * sp_spell.C: always compile ISpell part.
12730 * lyxrc.C: added use_pspell entry and it's handling.
12732 2001-07-13 Juergen Vigna <jug@sad.it>
12734 * sp_spell.C: removed double includes.
12736 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12738 Consistent use of Lsstream.h:
12739 * Lsstream.h: added using std::stringstream for consistencies sake.
12741 * buffer.C: removed using std::stringstream
12743 * lyxfont.C (stateText):
12744 * paragraph.C (asString):
12745 * text.C (selectNextWord, selectSelectedWord):
12746 * text2.C (setCounter):
12747 * vspace.C (asString, asLatexString):
12748 std::ostringstream -> ostringstream.
12750 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12752 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12753 * commandtags.h: add LFUN_HELP_ABOUTLYX
12754 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12756 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12758 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12760 * lyx_gui_misc.C: remove spellchecker
12761 * lyxfunc.C: showSpellchecker
12763 * sp_ispell.h: added
12764 * sp_pspell.h: added
12765 * sp_spell.C: added
12766 * sp_form.[Ch]: removed
12767 * spellchecker.[Ch]: removed
12769 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12771 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12773 (simpleTeXSpecialChars): Simply print the input character without
12774 any special translation if pass_thru is set.
12776 * layout.h: Added bool pass_thru to layout class for being able to
12777 implement pass through of a paragraph for Literate Programming.
12779 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12780 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12781 * layout.C (Read): add "passthru" to list of layout tags and add
12782 code to set the pass_thru boolean when it is read.
12784 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * trans_decl.h: remove allowed from KmodInfo
12788 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12789 remove allowed code
12792 * paragraph_pimpl.C (erase): use boost::prior
12794 * Painter.C (text): use data() instead of c_str() when length is
12796 * WorkArea.C (putClipboard): ditto
12797 * font.h (width): ditto
12799 * BufferView2.C: use it-> instead of (*it). for iterators
12801 * paragraph_pimpl.C: ditto
12802 * paragraph.C: ditto
12803 * minibuffer.C: ditto
12804 * language.C: ditto
12806 * encoding.C: ditto
12807 * counters.C: ditto
12808 * converter.C: ditto
12810 * Variables.C: ditto
12811 * TextCache.C: ditto
12812 * MenuBackend.C: ditto
12813 * LyXAction.C: ditto
12815 * FloatList.C: ditto
12816 * DepTable.C: ditto
12817 * ColorHandler.C (LyXColorHandler): ditto
12819 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12821 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12823 * text2.C (openStuff): reintroduce this method (which had been
12824 nuked in NEW_INSETS frenzy).
12826 * lyxfunc.C (Dispatch): when an action has not been handled, use
12827 its name in the error message, not its number.
12829 * paragraph.C (inInset): change method name to begin with lowercase.
12832 * text2.C: updates because of this.
12834 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12836 * ToolbarDefaults.C (add): add spaces in error message
12838 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12841 (readLyXformat2): rename return_par to first_par, use lyxlex's
12842 pushToken and remove the manual push handling.
12843 (parseSingleLyXformat2Token): add another ert comp. variable:
12844 in_tabular, rename return_par to first_par. handle newlines better
12846 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12848 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12850 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12852 * text2.C (getParFromID): removed
12854 * buffer.C (getParFromID): new method moved form lyxtext.
12855 * BufferView2.C (insertErrors): adjust
12856 (setCursorFromRow): adjust
12857 * BufferView_pimpl.C (restorePosition): adjust
12858 * lyxfunc.C (Dispatch): adjust
12859 * undo_funcs.C (textUndo): adjust
12861 (textHandleUndo): adjust
12862 (textHandleUndo): adjust
12864 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * buffer.C: up' the LYX_FORMAT
12868 * lyxfont.h: turn NO_LATEX on as default
12870 * buffer.C (insertErtContents): new methods of tex style compability.
12871 (parseSingleLyXformat2Token): use it several places.
12872 * tabular.C (OldFormatRead): and here
12874 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12876 * text2.C: remove some commented code.
12879 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12880 * trans.C: changes because of the above.
12882 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12884 * text2.C (setCounter): Fix counters bug with bibliography layout.
12886 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12889 own member functions
12890 (simpleTeXSpecialChars): ditto
12892 2001-07-06 Juergen Vigna <jug@sad.it>
12894 * a lot of files: changed the access to LyXText::status and the
12895 call of undo-functions.
12897 * undo.[Ch]: added a inset_id to the undo informations.
12899 * undo_funcs.[Ch]: added and moved here all undo functions.
12901 * lyxtext.h: give the status enum a weight, made status_ a private
12902 variable and made accessor functions for it, removed the whole bunch
12903 of undo-functions as they are now in their own file, make some
12904 functions publically available. Added function ownerParagraph with
12907 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12908 made InInset() a const function, added getParFromID() function.
12910 * buffer.[Ch]: added const version for inset_iterator functions,
12911 added getInsetFromID() function.
12913 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12914 changed undo functions for new version.
12916 2001-07-05 Juergen Vigna <jug@sad.it>
12918 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12919 unknow mechanism does not call the proper constructor but only this
12920 one also if I request the other!?
12922 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12926 * text2.C (LyXText): use initialization lists.
12928 * lyxtext.h (Selection): initialize set_ and mark_
12929 (init): remove method
12931 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12933 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12935 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * screen.[Ch]: change method names to begin with lowercase
12939 * BufferView_pimpl.C (updateScrollbar): simplify further and
12940 hopefully make it a bit faster.
12942 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12944 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12945 calling directly xforms functions.
12947 * Painter.C (Painter):
12948 * lyx_cb.C (MenuWrite):
12949 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12952 * lyx_gui.C: remove bogus guiruntime extern declaration.
12954 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12958 (redoDrawingOfParagraph): ditto
12959 (redoParagraphs): ditto
12960 (cutSelection): don't create a object for CutAndPaste use the
12961 static method directly
12962 (pasteSelection): ditto
12964 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12967 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12969 * modifications to some other files because of this.
12971 * Makefile.am (lyx_SOURCES): add XFormsView
12973 * XFormsView.[Ch]: new files
12975 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12976 the main window. Move the gui dependent stuff to XFormsView
12978 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12980 * tabular.C (GetCellInset): update cur_cell also in the row/col
12981 version of this function.
12983 * lyxfunc.C: no need to include figure_form.h here.
12989 * lyxvc.C: no need to include forms.h here.
12991 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12995 * lyxfunc.C (Dispatch):
12997 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12998 constructor argument.
13000 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * paragraph.C (Paragraph): dont't clear, and just set layout.
13003 (makeSameLayout): use params's copy contructor.
13005 * ParagraphParameters.[Ch] (makeSame): delete method
13007 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13009 * Variables.[Ch]: fix indentation, rename set to isSet
13011 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13013 * lyxfunc.C (Dispatch): fix typo
13015 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13017 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13020 * bufferlist.C: include assert.h for emergencyWrite().
13022 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13024 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13025 give up at last (bug #425202) !
13027 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13033 * spellchecker.C: strip spellchecker options and bring up
13034 preferences tab instead
13036 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13038 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13039 the istringstream constructor
13041 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13043 * paragraph.C (getLayout): fix return value
13045 * paragraph.h: do not declare getLayout as inline.
13047 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13049 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * lyxcursor.h (operator<): new func
13052 (operator>): new func
13053 (operator>=): new func
13054 (operator<=): new func
13056 * text.C (changeCase): use selection.start and selection.end
13057 (changeRegionCase): require from to be <= to. Require par to be a
13060 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13062 2001-06-27 Juergen Vigna <jug@sad.it>
13064 * text.C (cursorLeftOneWord): changed to return the cursor and added
13065 overlay with BufferView * parameter which calls this one.
13067 (selectWord): use new getWord function.
13068 (changeCase): renamed from changeWordCase as and extended to work
13069 also on selections.
13071 * lyxtext.h: added enum word_location
13073 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13074 changeCase as this operates now also on selections.
13076 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13078 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13080 * many files: send debug output to Debug::INFO instead of
13083 * converter.C (View):
13085 (Move): send debug output to Debug::FILES instead of console.
13087 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13089 * lyxfunc.C (getStatus): use func_status
13091 * func_status.h: new header, describing the results of
13092 LyXFunc::getStatus;
13094 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13097 2001-06-25 The LyX Project <jug@sad.it>
13099 * buffer.C (sgmlOpenTag):
13101 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13103 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13105 * text2.C: remove some dead code
13107 * tabular.C (GetCellInset): store the last cell checked (gotten)
13109 * tabular.h: add the helper for the speedup
13111 * lyxtext.h: remove some dead code
13113 2001-06-26 The LyX Project <Asger>
13115 * paragraph.C: Change export to LaTeX of alignment to
13116 \begin{center} and family for better roundtrip work with reLyX.
13118 * Tune the math drawing a bit.
13120 2001-06-25 The LyX Project <Asger>
13122 * LColor.C (LColor): New color for math background. New color
13125 2001-06-25 The LyX Project <jug@sad.it>
13127 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13129 * lyxfunc.C (Open):
13130 * bufferlist.C (newFile): do not restrict to files ending with
13133 * BufferView_pimpl.C (MenuInsertLyXFile):
13135 2001-06-24 The LyX Project <jug@sad.it>
13137 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13140 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13142 * lyxtext.h: rename most methods to begin with a small char.
13143 Lots of changes because of this.
13145 * paragraph.C (Paragraph): do not call fitToSize
13146 (erase): call Pimpl::erase
13147 (insertChar): call Pimpl::insertChar
13148 (insertInset): call Pipl::insertInset
13149 (breakParagraph): do not call fitToSize
13150 (breakParagraphConservative): do not call fitToSize
13151 (fitToSize): remove method
13153 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13155 2001-06-24 The LyX Project <Asger>
13157 * Fix Qt compilation^2
13159 2001-06-24 The LyX Project <jug@sad.it>
13161 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13162 depthHook(getDepth()-1).
13165 * ParagraphParameters.h:
13166 * ParameterStruct.h: change type of depth to unsigned int ==
13167 depth_type. Many adaptations to other files before of that.
13169 2001-06-24 The LyX Project <Asger>
13171 * Fix Qt compilation.
13173 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13175 * paragraph.h: renamed several methods to begin with small letter.
13176 several changes to many parts of the code because of this.
13178 2001-06-23 The LyX Project <jug@sad.it>
13180 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13181 rewritten to discard all double spaces when KeepEmpty is off
13182 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13183 to only handle newlines but not fiddle with spaces and friends.
13185 * lyxfunc.C (MenuNew): when doing 'new from template', use
13186 template_path as default directory
13188 2001-06-23 The LyX Project <Asger>
13190 * Clean-up of header file includes all over
13191 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13193 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13195 * paragraph.h: renamed from lyxparagraph.h
13197 2001-06-23 Asger <lyx@violet.home.sad.it>
13199 * Buffer.h: Removed Buffer::resize
13200 * BufferList.h: Removed BufferList::resize
13201 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13202 the document lazily when we change the width, or the font settings.
13204 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13206 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13208 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13210 * buffer.h: remove out of date comment
13212 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13215 * screen.C: fix "theoretical" GC leak
13217 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13219 * LaTeX.C (scanAuxFile):
13220 (deplog): remove trailing \r when reading stream (useful under
13223 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13225 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13226 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13227 and BufferView::theLockingInset(Inset*), so should use them and not
13228 access bv_->text->the_locking_inset directly.
13230 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13232 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13235 * tex-defs.h: remove old unused file
13237 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13239 * BufferView_pimpl.C: fix typo, remove minibuffer message
13240 when buffer has loaded
13242 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * lyxfunc.C (Dispatch): use stringstream
13245 (MenuNew): use stringstream
13246 (Open): use stringstream
13248 * importer.C (Import): use stringstream
13250 * bufferview_funcs.C (CurrentState): use stringstream
13252 * LaTeX.C (run): use stringstream
13254 * BufferView_pimpl.C (savePosition): use stringstream
13255 (restorePosition): use stringstream
13256 (MenuInsertLyXFile): use stringstream
13258 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13271 * vspace.C: removed // -*- C++ -*- as first line.
13274 * version.h: added // -*- C++ -*- as first line.
13276 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13280 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13283 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13288 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * gettext.C: include LString.h even when --disable-nls is on.
13292 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13294 * converter.h (Get): changed argument type from int to
13295 FormatList::size_type to avoid unnecessary conversion.
13297 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13300 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13302 * gettext.h: include LString.h even when --disable-nls is on.
13304 2001-06-07 Juergen Vigna <jug@sad.it>
13306 * text.C (BreakAgain): subst spaces with tabs.
13308 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13309 (resizeInsetsLyXText): set force on resizeLyXText.
13311 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13313 * gettext.h (gettext_init):
13314 (locale_init): use a real definition instead of a macro
13316 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13318 * Bufferview_pimpl.C:
13320 * LColor.C: further lcolor tidies
13322 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13324 * BufferView_pimpl.C (updateScrollbar): simplify.
13326 * BufferView2.C: don't include insets/insetinfo.h, change
13327 prototype for insertInset and call the Pimpl version. let
13328 updateInset call Pimpl version.
13330 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13331 gotoInset to BufferView::Pimpl
13333 2001-06-01 Juergen Vigna <jug@sad.it>
13335 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13336 inside a LockingInset (is the update needed at all?).
13338 2001-05-31 Juergen Vigna <jug@sad.it>
13340 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13341 here not the old one otherwise how should we compare it afterwards
13344 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13349 * FontInfo.C: bring C functions into global namespace when
13352 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13354 * LString.h: make sure config.h has been loaded before LString.h.
13356 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13357 (one for each char read by EatLine!).
13359 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13362 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13364 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13365 to the same as the par we break from
13367 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13369 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13371 * MenuBackend.C (expand): also create menu entries for wide
13372 versions of the floats.
13374 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13376 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13378 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13379 frontends/Makefile.am
13385 * tabular.C (getTokenValue): add std::
13387 * tabular-old.C (getTokenValue): add std::
13388 (getTokenValue): ditto
13389 (getTokenValue): ditto
13391 * screen.C (ToggleSelection): adjust
13393 * lyxtext.h: put selection cursors inside a Selection struct.
13395 * lyxfunc.C (moveCursorUpdate): adjust
13397 * lyxfont.C (latexWriteStartChanges): add std::
13399 * lyxfind.C: adjust
13401 * font.h: delete with(char const *, LyXFont const &)
13403 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13405 * FontInfo.C (getFontname): add std::
13407 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13408 (workAreaButtonPress): adjust
13409 (tripleClick): adjust
13411 (moveCursorUpdate): adjust
13414 * BufferView2.C (gotoInset): adjust
13416 2001-05-30 Juergen Vigna <jug@sad.it>
13418 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13419 to check pspell I add this as default as I now have new pspell
13420 libraries and they seem to use this.
13422 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * text2.C (CutSelection): make the cursor valid before the call to
13427 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13429 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13430 relied on 0 terminated strings and other horrors. Bug found due to
13431 the new assert in lyxstring!
13433 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13436 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13441 * lyxfunc.C (processKeySym): change method of getting to the
13444 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13445 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13446 * BufferView_pimpl.[Ch]: here as private methods.
13448 2001-05-28 Juergen Vigna <jug@sad.it>
13450 * text.C (SetHeightOfRow): added the update() call again as it is
13451 needed to initialize inset dimensions!
13453 2001-05-16 Juergen Vigna <jug@sad.it>
13455 * text2.C (SetCharFont): Add new function with BufferView * and
13456 bool toggleall parameters for setting insets internal fonts.
13457 (SetFont): Freeze the undo as we may change fonts in Insets and
13458 all this change should be inside only one Undo!
13460 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13461 setting font's in insets as for them we have the SetFont function!
13463 2001-05-15 Juergen Vigna <jug@sad.it>
13465 * text2.C (ClearSelection): to be sure we REALLY don't have any
13468 * tabular.C (TeXCellPreamble): fixed the left border problem for
13471 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13473 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13476 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13479 LFUN_BREAKPARAGRAPH.
13481 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13482 help test to "internal only", similar for LFUN_INSERT_URL
13484 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13485 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13486 auto_region_delete and deadkeys.
13488 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13491 * LColor.C: remove some dead entries, tidy a little
13493 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13495 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13497 (Dispatch): implement LFUN_ESCAPE
13499 * commandtags.h: add LFUN_ESCAPE
13501 * LyXAction.C (init): add entry for LFUN_ESCAPE
13503 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13504 Remove commented code.
13505 (insertNote): moved here
13506 (open_new_inset): moved here
13508 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13511 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * kbmap.C (findbinding): clean it up and make it work correctly.
13515 * lyx_main.C (init): do not pass argc and argv as parameters
13517 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13519 * buffer.C: fix path for OS/2 & Win32
13523 * lyx_main.C: Added os:: class.
13525 * os2_defines.h: update
13527 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13530 better by trying again with reduced state.
13532 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13534 * lyxrc.C (read): print error about invalid key sequence only when
13535 debugging (because not all latinX keysyms are known to some X
13538 * kbsequence.C (getiso): add a few std:: qualifiers
13539 (getiso): comment out extra return statement.
13541 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13545 (Dispatch): enhance the accent inset a bit. (not perfect)
13547 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13549 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13551 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13553 * bufferlist.C (emergencyWrite): fix assert() call
13555 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13557 * text.C (InsertChar): Added trivial patch to only send the "you
13558 can not do multiple spaces this way" message once during a
13561 2001-05-08 Baruch Even <baruch@lyx.org>
13563 * Makefile.am: Changed order of libraries to get LyX to link properly
13564 with the gnome frontend.
13566 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * LaTeXFeatures.h: add a std:: qualifier
13570 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * paragraph.C (String): use stringstream
13574 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * paragraph.C (writeFile): remove footflag arg
13578 * buffer.C (makeLaTeXFile): use stringstream
13579 (latexParagraphs): remove footnot gurba
13581 * LaTeXFeatures.C (getPackages): use stringstream
13582 (getMacros): likewise
13583 (getTClassPreamble): likewise
13584 (getFloatDefinitions): new method
13586 * paragraph.C (writeFile): reindent
13589 * WorkArea.h: revert the xpos + etc changes.
13591 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13593 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13595 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13596 (pasteSelection): likewise
13597 * text2.C (CreateUndo): likewise
13599 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * minibuffer.C (peek_event): temporarily reduce the functionality
13602 of the minibuffer (to allow args on lfuns)
13604 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13605 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13607 * buffer.C (readInset): add compability reading of old float
13608 lists, add reading of new style float list.
13609 (readInset): avoid reevaluation of inscmd.getCmdName()
13610 (getLists): reindent
13612 * MenuBackend.C (MenuItem): implement parsing of
13613 md_floatlistinsert and md_floatinsert.
13614 (expand::LastFiles): move initalizaton of iterators out of loop,
13615 avoid reevaluation.
13616 (expand::Documents): introduce typdedef vector<string> Strings,
13618 (expand::ExportFormats): introduce typedef vector<Format const *>
13619 Formats, and use it.
13620 (expand): implement FloatListInsert and FloatInsert.
13622 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13623 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13624 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13626 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13628 (Dispatch::LFUN_FLOAT_LIST): implement
13630 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13632 * LaTeX.C (run): Fix problem with --export code.
13634 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13636 * BufferView.[Ch] (workarea): removed.
13637 (getClipboard) new method; wrapper for workarea()->getClipboard()
13639 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13642 * WorkArea.h (width, height, xpos, ypos): These methods all
13643 returned the dimensions of the work_area sub-area of WorkArea,
13644 resulting in a position error if the WorkArea were resized. Now
13645 return the dimensions of the entire WorkArea.
13647 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13649 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13651 * LaTeX.C (deplog): correct the syntax of regex reg1
13653 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13655 * undo.C: remove !NEW_INSETS cruft
13657 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * text2.C: remove !NEW_INSETS cruft
13661 * text.C: remove !NEW_INSETS cruft
13663 * tabular.C: remove !NEW_INSETS cruft
13665 * spellchecker.C: remove !NEW_INSETS cruft
13667 * lyxtext.h: remove !NEW_INSETS cruft
13669 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13671 * lyxfunc.C: remove !NEW_INSETS cruft
13673 * lyxfind.C: remove !NEW_INSETS cruft
13675 * lyx_cb.C: remove !NEW_INSETS cruft
13677 * figureForm.C: remove !NEW_INSETS cruft
13679 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13681 * buffer.[Ch]: remove !NEW_INSETS cruft
13683 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13685 * CutAndPaste.C: remove !NEW_INSETS cruft
13687 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13689 * BufferView2.C: remove !NEW_INSETS cruft
13691 * BufferView.h: remove !NEW_INSETS cruft
13693 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * Lsstream.h: include LString.h before the sstream headers to
13696 fix problem with gcc 2.95.3 and lyxstring
13698 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13700 * lyx_main.C: add using directives when needed for C functions
13701 declared in std:: namespace.
13703 2001-04-27 Juergen Vigna <jug@sad.it>
13705 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13706 (SetHeightOfRow): comment out the update call should not be needed!
13708 2001-04-13 Juergen Vigna <jug@sad.it>
13710 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13711 (LyXTabular): tried to minimize operator= operations (and realized
13712 hopfully Lars wish).
13714 2001-04-27 Juergen Vigna <jug@sad.it>
13716 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13718 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13720 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13722 * buffer.C (readInset): hack to make listof algorithm work
13724 * BufferView_pimpl.C: hack to make listof algorithm work
13726 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * LyXAction.C: removed all !NEW_INSETS cruft
13729 (init): moved lfun_item in method
13731 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13733 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13735 * BufferView2.C (theLockingInset): white space.
13737 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13739 * minibuffer.C: include <iostream>
13741 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13743 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13745 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13747 * text.[Ch] (TransposeChars): new method
13749 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13751 * call message directly through LyXView instead of through LyXFunc
13752 * BufferView2.C: adjust
13753 * BufferView_pimpl.C: adjust
13754 * FontLoader.C: adjust
13756 * bufferview_funcs.C: adjust
13757 * converter.C: adjust
13758 * figureForm.C: adjust
13759 * importer.C: adjust
13761 * lyx_gui_misc.C: adjust
13762 * lyxfunc.C: adjust
13765 + more files in subdirs
13767 * lyxparagraph.h (size): move up int file
13770 * adjust all uses of Assert to lyx::Assert.
13772 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13773 lyxfunctional in namespace lyx
13774 * layout.C (hasLayout): ditto
13777 (delete_layout): ditto
13778 (NumberOfClass): ditto
13779 * converter.C (GetFormat): ditto
13784 * bufferlist.C (getFileNames): ditto
13785 (emergencyWriteAll): ditto
13788 * MenuBackend.C (hasSubmenu): ditto
13791 * BufferView_pimpl.C (getInsetByCode): ditto
13793 2001-04-18 Juergen Vigna <jug@sad.it>
13795 * vspace.C (asLatexString): fixed the 100% problem.
13797 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13799 * lyxfunc.C (Dispatch):
13801 * minibuffer.h: add a few std:: qualifiers
13803 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * minibuffer.[Ch]: reimplement so that commands is initiated and
13806 run from lyxfunc, simplified som handling, and made the completion
13807 and history code for complete. wip.
13809 * lyxfunc.C (processKeySym): call message
13810 (miniDispatch): new temporary method
13811 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13812 (LFUN_MESSAGE): implement
13813 (LFUN_MESSAGE_PUSH): implement
13814 (LFUN_MESSAGE_POP): implement
13815 (initMiniBuffer): the initial/defualt minibuffer message.
13817 * lyxfont.[Ch]: inline some more getters
13819 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13821 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13823 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13824 (AutoSave): use LFUN_MESSAGE
13825 (Reconfigure): ditto
13827 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13829 * figureForm.C: use LFUN_MESSAGE
13831 * converter.C (runLaTeX): use LFUN_MESSAGE
13833 * bufferview_funcs.C: use LFUN_MESSAGE
13835 (changeDepth): ditto
13837 * bufferparams.h: use boost::
13839 * bufferlist.h: inherit privately from noncopyable
13841 * bufferlist.C (loadLyXFile): remove some commented code.
13843 * buffer.C (runChktex): use LFUN_MESSAGE
13845 * ShareContainer.h: inherit privately from noncopyable
13847 * ParagraphParameters.[hC] (depth): inline it.
13849 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13851 (message): new method
13852 (messagePush): ditto
13853 (messagePop): ditto
13854 (show): init minibuffer
13855 (showState): direct call
13857 * LaTeX.[Ch]: inherit privately from noncopyable
13858 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13859 instead of WriteStatus.
13861 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13863 * BufferView_pimpl.C (buffer): don't init minibuffer
13864 (workAreaButtonPress): use LFUN_MESSAGE
13865 (workAreaButtonRelease): ditto
13866 (savePosition): ditto
13867 (restorePosition): ditto
13868 (MenuInsertLyXFile): ditto
13869 (workAreaExpose): don't init minibuffer
13870 (update): remove commented code, simplify
13872 * BufferView2.C (openStuff): use LFUN_MESSAGE
13873 (toggleFloat): ditto
13876 (copyEnvironment): ditto
13877 (pasteEnvironment): ditto
13882 (updateInset): remove some commented code
13884 * lastfiles.h: inherit privately from noncopyable
13887 * lyx_main.h: ditto
13889 * lyxlex_pimpl.h: ditto
13891 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13892 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13893 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13895 * LyXAction.h: inherit privately from noncopyable, add methods
13896 func_begin, func_end, returning iterators to the func map.
13898 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13899 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13900 (func_begin): new method
13901 (func_end): new method
13903 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13905 (copySelection): ditto
13906 (pasteSelection): ditto
13908 * BufferView.C: whitespace change
13909 * BufferView.h: inherit privately from noncopyable
13911 2001-04-16 Allan Rae <rae@lyx.org>
13913 * tabular-old.C (l_getline):
13914 * spellchecker.C (sc_check_word):
13915 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13916 an unrecognised preprocessor directive. So ensure they're wrapped.
13918 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13920 * src/exporter.C (Export): Give an error message when path to file
13923 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13925 * LaTeX.C (deplog): Always check that foundfile exists.
13927 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13932 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * tabular.[Ch] (getLabelList): implement new method
13936 * minibuffer.h: comment ouf setTiimer
13938 * minibuffer.C (ExecutingCB): constify res
13939 (peek_event): constify s
13940 (Set): constify ntext
13941 (Init): constify nicename
13943 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13945 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13946 (savePosition): use two params to Minibuffer::Set
13947 (restorePosition): ditto
13949 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13951 * lyx_main.C: include language.h
13953 * Makefile.am (lyx_main.o): add language.h
13955 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13961 * CutAndPaste.C: include gettext.h
13963 * lyxfont.h: remove old hack with ON and OFF.
13966 * lyxfont.h: do not include language.h...
13971 * bufferview_funcs.C:
13977 * paragraph.C: ... but do it here instead
13979 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13981 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13983 * tabular.C: small reformat
13985 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13988 (BreakParagraph): ditto
13989 (SetOnlyLayout): ditto
13992 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13995 * lastfiles.C: removed most using decl, add std:: where needed
13997 * buffer.C: ws changes
13999 * MenuBackend.C (class compare_format): put into anon namespace
14000 (expand): constify label, names, action, action2
14003 * text.C (SingleWidth): constify font
14004 (IsBoundary): constify rtl2
14005 (GetVisibleRow): constify ww
14007 * LaTeX.C (deplog): constify logfile
14009 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14011 (workAreaExpose): constify widthChange, heightChange
14013 * lyxrow.C (par): moved
14016 * lyxrow.h: as inlines here
14018 * lyxfont.h (shape): moved from lyxfont.C
14019 (emph): moved from lyxfont.C
14021 * lyxfont.C (LyXFont): use initialization list for all
14023 (shape): move to lyxfont.h as inline
14024 (emph): move to lyxfont.h as inline
14027 2001-04-04 Juergen Vigna <jug@sad.it>
14029 * vspace.C: had to include stdio.h for use of sscanf
14031 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14034 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14035 independent of xforms.
14037 2001-04-02 Juergen Vigna <jug@sad.it>
14039 * spellchecker.C: fixed namespace placing!
14041 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14043 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14044 the LyXParagraph * is 0.
14046 2001-03-29 Juergen Vigna <jug@sad.it>
14048 * vspace.C: added support for %, c%, p%, l%.
14049 (stringFromUnit): added helper function.
14050 (asLatexString): changed to give right results for the %-values.
14052 * buffer.C: convert the widthp in a width%.
14054 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14056 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14059 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14060 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14062 * lyx_cb.[Ch]: see above.
14064 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14068 * lyx.[Ch]: replaced by figure_form.[Ch].
14072 * lyxfunc.C: changed headers associated with above changes.
14074 2001-03-27 Juergen Vigna <jug@sad.it>
14076 * BufferView_pimpl.C: set the temporary cursor right!
14078 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14080 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14082 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14084 * LString.h: removed "using std::getline"!
14086 * BufferView_pimpl.C (Dispatch): changes due to changes in
14087 InsetInclude::Params.
14089 * buffer.C (tag_name): removed redundant break statements as they were
14090 producing lots of warnings with my compiler.
14092 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14094 * LString.h: add "using std::getline" when using the real <string>.
14096 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14098 * buffer.C: removed bitset usage.
14099 PAR_TAG moved to an anonymous name space.
14100 (tag_name): new funtion, also in the anonymous namespace.
14101 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14102 (makeDocBookFile): clean code. Completed transition from string arrays
14104 (SimpleDocBookOnePar): code clean.
14106 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14108 * tabular.C: add some comments.
14110 2001-03-22 Juergen Vigna <jug@sad.it>
14112 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14113 compatibility read a bit and fixed bug with minipage in different
14116 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14118 * buffer.C (pop_tag): removed.
14119 (push_tag): removed.
14120 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14121 array replaced with vector. Added support for CDATA sections.
14122 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14124 (makeDocBookFile): XML conformant declaration of CDATA section,
14125 fixed bug related to <emphasis> in the first paragraph char.
14126 (sgmlOpenTag): exclude empty tags.
14127 (sgmlCloseTag): ditto.
14129 * buffer.h (pop_tag): removed.
14130 (push_tag): removed.
14132 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14134 * language.h (Languages): added size_type and size().
14136 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14138 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14139 response on compability reading of minipages. One probliem is that
14140 the old usage of minipages was «flertydig»
14142 * several files here and in subdirs: don't use static at file
14143 scope use anon namespaces instead.
14145 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14147 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14148 LaTeX output. This is necessary for Literate document
14151 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14153 * buffer.C: insert hfill when needed.
14155 * tabular.C (l_getline): use string::erase, small whitespace change.
14157 * BufferView_pimpl.C: try the anon namespace.
14158 * WorkArea.C: ditto
14160 2001-03-16 Juergen Vigna <jug@sad.it>
14162 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14163 otherwise it won't open options-dialogs.
14165 * buffer.C: honor pextraWidth(p) on converting minipages.
14167 * tabular.C (l_getline): changed the functions to strip trailing \r.
14169 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14171 * BufferView_pimpl.C:
14172 * minibuffer..C: added "using SigC::slot" declaration.
14174 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14176 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14182 * paragraph.C: ditto
14184 * lyxtext.h: NO_PEXTRA
14186 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14188 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14189 * ParameterStruct.h: ditto
14190 * ParagraphParameters.h: ditto
14191 * lyxparagraph.h: ditto
14193 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14195 * buffer.C: add compability for minipage alignment.
14196 (latexParagraphs): remove unwanted pextra check.
14198 * several files: remove CXX_WORKING_NAMESPACES
14200 * buffer.C (pop_tag): tie is in namespace boost
14202 * BufferView.h: noncopyable is in namespace boost
14204 * lyx_main.h: ditto
14207 * lastfiles.h: ditto
14208 * bufferlist.h: ditto
14209 * ShareContainer.h: ditto
14211 * LyXAction.h: ditto
14214 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14216 * Merging changes from BRANCH_MVC back into HEAD.
14218 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14220 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14222 * BufferView_pimpl.C: change from intl.C
14226 * Makefile.am: move combox.*
14232 * intl.C: remove dialog (covered by prefs)
14234 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14236 * lyxfunc.C (Dispatch): removed redundant break statement.
14238 2001-03-14 Juergen Vigna <jug@sad.it>
14240 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14242 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14244 * buffer.C: add hack to fix compability reading of minipages.
14246 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14248 * buffer.C (getLists): Cleanup.
14250 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * lyxfont.C (update): don't honor toggleall on font size.
14254 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14258 * Makefile.am: moved to frontends/xforms/
14262 * BufferView_pimpl.C: changes for moved mathpanel
14264 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14266 * gettext.h: fix gettext_init() in --disable-nls
14268 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14272 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14275 * lyx.h: strip external form
14277 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14279 * BufferView_pimpl.C: add comment, destroySplash()
14281 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14283 * BufferView_pimpl.C:
14287 * lyxfunc.C: use re-worked insetinclude
14289 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14291 * buffer.C: add using std::stringstream.
14293 * lyx_cb.C: readd using std::ios.
14295 * buffer.C: add using std::map.
14297 * BufferView_pimpl.C: add using std::vector.
14299 * ShareContainer.h: add std:: to swap.
14301 * buffer.h: add some typedefs
14302 * buffer.C (getLists): use them
14303 (getLists): renamed from getTocList.
14304 add a counter for the different float types and use it in the
14306 (getLists): use the same counter for the NEW_INSETS and the "non"
14309 * lyx_cb.h: remove unused items, includes, using etc.
14311 * ShareContainer.h: remove some commented code, add more comments
14312 and "documentation".
14314 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14316 * buffer.C (getTocList): make the list also when NEW_INSETS is
14319 * buffer.h: remove TocType
14321 * buffer.C (getTocList): change to return a map<string,
14322 vector<TocItem> >, implement for dynamic number of list.
14324 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14325 * text2.C (PasteSelection): adjust
14326 * CutAndPaste.C (pasteSelection): adjust
14328 * FloatList.C (FloatList): update from the new_insets branch.
14329 * Floating.[Ch]: ditto
14330 * LaTeXFeatures.C: ditto
14332 * lyxlex_pimpl.C: ditto
14334 * paragraph.C (Last): remove when NEW_INSETS is defined.
14336 * other file: changes because of the above.
14338 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14340 * lyxparagraph.h: rename next to next_, previous to previous_,
14341 make them private for NEW_INSETS. Rename Next() to next(),
14342 Previous() to previous().
14344 * other files: changes because of the above.
14346 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14349 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14352 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14354 * main.C (main): pass lyx_localedir to gettext_init().
14356 * gettext.h: remove locale_init and gettext_init macros
14358 * gettext.C (locale_init): new function
14359 (gettext_init): new function
14361 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14364 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14366 * Moved credits to frontends:
14367 * credits.[Ch]: removed
14368 * credits_form.[Ch]: removed
14369 * lyx_gui_misc.C: remove credits stuff
14372 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14374 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14376 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14377 unneeded destructor.
14379 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14380 a standalone pointer again.
14382 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14384 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14390 * ToolbarDefaults.C:
14399 * BufferView_pimpl.C: use new file dialog in GUII
14402 * lyx_cb.C: remove LayoutsCB to Toolbar
14404 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14406 * ShareContainer.h (get): add std:: qualifier
14408 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14410 * ShareContainer.h: define a proper ShareContainer::value_type
14411 type (and use typename to please compaq cxx)
14413 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14415 * lyxparagraph.h: move serveral local vars to
14416 ParameterStruct/ParagraphParameters., use ShareContainer in
14417 FontTable., make vars in FontTable private and add getter and
14420 * paragraph.C: changes because of the above.
14422 * lyxfont.h: remove copy constructor and copy assignment. (the
14423 default ones is ok), move number inside FontBits. move inlines to
14426 * lyxfont.C: add number to initializaton of statics, move several
14427 inlines here. constify several local vars. some whitespace
14428 cleanup. Dont hide outerscope variables.
14430 * Spacing.h: add two new constructors to match the set methods.
14432 * ShareContainer.h: new file, will perhaps be moved to support
14434 * ParameterStruct.h: new file
14436 * ParagraphParameters.h: new file
14438 * ParagraphParameters.C: new file
14440 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14441 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14443 * BufferView_pimpl.C: ParagraphParameter changes.
14444 * buffer.C: Likewise.
14445 * bufferview_funcs.C: Likewise.
14446 * text.C: Likewise.
14447 * text2.C: Likewise.
14449 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * lyxfind.C (LyXReplace): do not redefine default argument in
14453 (IsStringInText): ditto
14454 (SearchForward): ditto
14455 (SearchBackward): ditto
14457 2001-03-06 Juergen Vigna <jug@sad.it>
14459 * lyxfind.C (IsStringInText): put parentes around expressions.
14461 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14463 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14465 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14467 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14469 * stl_string_fwd.h: add comment
14471 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14474 * tabular.C: remove unused DocBook methods
14480 killed DO_USE_DEFAULT_LANGUAGE
14482 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14484 * lyx_gui.C: do not include language.h.
14486 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14487 arguments in function implementation.
14489 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14491 * BufferView_pimpl.C: add <ctime>
14493 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14495 * BufferView_pimpl.C: add using std::find_if
14497 2001-02-27 José Matos <jamatos@fep.up.pt>
14499 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14502 2001-02-11 José Matos <jamatos@fep.up.pt>
14504 * buffer.C (makeDocBookFile): command styles now have a parameter as
14505 "title" by default.
14507 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14509 * layout_forms.[Ch]: removed
14510 * lyx_cb.[Ch]: out character
14511 * lyx_gui.C: out character
14512 * lyx_gui_misc.C: out character
14513 * bufferview_funcs.C: : out character,
14514 added toggleall as parameter in ToggleAndShow
14516 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14518 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14520 * text2.C (SetCurrentFont): Disable number property at boundary.
14522 2001-02-26 Juergen Vigna <jug@sad.it>
14524 * lyxfunc.C (getStatus): added a string argument override function so
14525 that this is correctly called from LyXFunc::Dispatch if it contains a
14526 do_not_use_argument which is used!
14527 (Dispatch): added check for "custom" export and call appropriate func.
14529 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14531 * lyxrc.C: Add language_command_local, language_use_babel and
14532 language_global_options.
14534 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14536 * buffer.C (makeLaTeXFile): Use language_use_babel and
14537 language_global_options.
14539 2001-02-23 Juergen Vigna <jug@sad.it>
14541 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14542 which works with LyXText and putted it inside BufferView. Here now we
14543 only call for that part the BufferView::Dispatch() function.
14545 * BufferView.C (Dispatch): added.
14547 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14548 functions which needs to use a LyXText over from LyXFunc.
14549 (MenuInsertLyXFile): added
14550 (getInsetByCode): added
14551 (moveCursorUpdate): added
14552 (static TEXT): added
14554 2001-02-22 Juergen Vigna <jug@sad.it>
14556 * BufferView_pimpl.C (update): call a status update to see if LyXText
14559 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14561 * vc-backend.C (revert): implement for CVS
14562 (getLog): implement for CVS
14564 2001-02-20 Juergen Vigna <jug@sad.it>
14566 * text2.C (ClearSelection): added BufferView param for inset_owner call
14568 * lyxfunc.C (TEXT): added this function and use it instead of
14569 directly owner->view()-text of getLyXText().
14571 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14573 * src/layout_forms.C: out preamble
14574 * src/layout_forms.h: out preamble
14575 * src/lyx_cb.C: out preamble
14576 * src/lyx_cb.h: out preamble
14577 * src/lyx_gui.C: out preamble
14578 * src/lyx_gui_misc.C: out preamble
14579 * src/lyxfunc.C: connect with guii preamble
14581 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14583 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14585 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14587 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14588 whether to run bibtex.
14590 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14592 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14594 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14596 * Makefile.am (lyx_SOURCES): removed bibforms.h
14598 * vspace.h: doxygen
14600 * text.C (GetVisibleRow): make several local vars const
14602 * tabular.C: small cleanup.
14604 * lyxserver.C (callback): use compare instead of strncmp
14606 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14607 inlines to after class or to paragraph.C
14609 * lyxfont.h: remove friend operator!=
14611 * converter.h: move friend bool operator< to non friend and after
14614 * combox.h: small cleanup
14616 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14617 to inlines after class def.
14619 * buffer.C (pop_tag): use string operations instead of strcmp
14621 * bmtable.c: doxygen, small cleanup
14623 * LaTeX.h: remove friend operator==
14625 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14637 * BufferView_pimpl.C:
14638 * BufferView.[Ch]: remove cruft
14640 2001-02-14 Juergen Vigna <jug@sad.it>
14642 * lyxfunc.C: removed #if 0 unused code
14644 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14646 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14648 * text2.C (SetSelection): added a BufferView * parameter
14650 2001-02-13 Juergen Vigna <jug@sad.it>
14652 * lyxfunc.C (Dispatch): fixed protected blank problem.
14653 * BufferView2.C (protectedBlank): added LyxText * parameter.
14655 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14656 (AppendColumn): same as above for column_info.
14658 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14659 (moveCursorUpdate): use a LyXText param for support of InsetText.
14661 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14662 (tripleClick): ditto
14664 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14666 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14668 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14670 * text2.C (SetSelection): set correct update status if inset_owner
14671 (ToggleFree): ditto
14673 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14675 * tabular.C: remove some commented code.
14677 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14679 * BufferView_pimpl.C: call hideSplash()
14681 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14684 * bibforms.h: remove
14687 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14688 add LFUN_CHILD_CREATE
14690 * counters.h: fix tiny typo
14695 * lyx.C: move splash to frontends/xforms/
14697 * lyx_gui_misc.C: move Include and Bibform to frontends
14699 * lyxvc.h: clarify comment
14701 * vspace.C: tiny housekeeping
14703 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14705 * text.C (PrepareToPrint): RTL Fix.
14707 * paragraph.C (GetUChar): New method.
14708 (String): Use GetUChar.
14710 * buffer.C (asciiParagraph): Use GetUChar.
14712 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14714 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14716 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14719 * buffer.C: rename to getLogName(), handle
14720 build log / latex log nicely
14722 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14725 * MenuBackend.h: remove support for reference menuitem type.
14727 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14729 * BufferView_pimpl.C: housekeeping
14730 * BufferView_pimpl.h:
14735 * minibuffer.h: move Timeout GUI-I
14737 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14739 * lyxrc.C (read): Update converters data-structures.
14741 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14743 * LaTeX.h (operator!=): add operator != for Aux_Info
14745 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14747 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14749 * LaTeXLog.C: deleted, useful code moved to Buffer
14752 * buffer.C: new function getLatexLogName()
14758 * lyxfunc.C: use frontends for LaTeX and VC logs
14760 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * LaTeX.h: yet another std:: that Allan forgot.
14764 * Variables.C (set): renamed from isset(), because this clashes
14765 with some HP-UX macros (grr).
14767 2001-02-06 Allan Rae <rae@lyx.org>
14769 * LaTeX.h: Another bug fix. Missing std:: this time.
14771 2001-02-04 Allan Rae <rae@lyx.org>
14773 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14774 floats problem. I've left it commented out because it's not quite
14775 correct. It should also test that the current object is a table or
14776 figure inset. But I haven't gotten around to figuring out how to do
14777 that. I *think* it'll be something like: "table" == inset.type()
14779 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14782 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14784 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14785 all the citation/databases/styles in the auxilary file.
14786 (run): Rerun latex if there was a babel language error.
14788 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14790 * text.C (Backspace): Preserve the font when changing newline char
14792 (BreakParagraph): If the cursor is before a space, delete the space.
14794 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14796 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14798 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14799 new argument (code).
14800 (ChangeCitationsIfUnique): New method.
14802 * paragraph.C (GetPositionOfInset): Handle bibkey.
14804 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14806 * BufferView_pimpl.h: change type of Position::par_pos to
14807 LyXParagraph::size_type.
14809 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14811 * BufferView_pimpl.C (savePosition, restorePosition): Write
14812 messages to minibuffer.
14814 2001-01-28 José Matos <jamatos@fep.up.pt>
14816 * buffer.C (makeDocBookFile): adds support for document language.
14817 A silly restriction on the name of LatexCommand types where removed.
14818 Added support for CDATA sections, allows to chars unescaped, used
14819 among others in code, to avoid escape < and >.
14821 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14823 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14824 saved positions instrad of a stack. Furthermore, a position is
14825 stored using paragraph id/paragraph position.
14827 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14828 Remove LFUN_REF_BACK.
14830 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14832 * converter.C (dvipdfm_options): New method.
14834 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14836 * vspace.C (isValidLength): Fix for empty input string.
14838 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * LyXAction.C (init): change description of LFUN_FIGURE to
14843 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14845 * LaTeX.C: add using directive
14847 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14849 * MenuBackend.C (expand): Fix the sorting of the formats.
14851 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14853 * lyx_main.C: tiny error message fix
14855 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14857 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14858 calling fl_initialize(). This fixes the problem with ',' as
14859 decimal separator in text files.
14861 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14863 * trans.C (process): Fix the keymap bug.
14865 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14867 * LaTeX.C (scanAuxFiles): New method. Provides support for
14868 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14869 (scanLogFile) Scan for "run BibTeX" messages.
14871 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14872 OT1 font encoding. Also, load the aecompl package if the ae
14875 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14877 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14879 * texrow.C (increasePos): turn two error messages into debug
14882 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14884 * LaTeX.C (scanAux): Handle the \@input macro.
14885 (runBibTeX): Use scanAux().
14887 * language.C (latex_options_): New field.
14889 * LaTeXFeatures.C (getMacros): Add language macros.
14891 * buffer.C (makeLaTeXFile): Small fix.
14893 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14897 * text2.C: add a using directive.
14899 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14904 * lyxfunc.C: kill LyXBell.
14906 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14908 * text.C (IsBoundary): Remove the error message
14910 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14912 * lyxrc.C (setDefaults): Correct initialization value for
14915 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14917 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14920 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14921 and GotoNextNote().
14923 * src/LyXAction.C: Added reference-next.
14925 * text.C (InsertChar): Use contains instead of strchr.
14927 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14929 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14931 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14932 alignment commands (when needed).
14934 * text.C (InsertChar): Add ':' to number separator chars.