1 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView_pimpl.C (workAreaDispatch): allow also
4 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
6 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
8 * text.C (rowBreakPoint): fix a bug showing with very large insets
10 2004-02-25 André Pönitz <poenitz@gmx.net>
13 * cursor.[Ch]: move some mathed specific code to mathed
15 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
18 use_tempdir in preferences
19 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
21 * lyx_main.C: ensure that tempdir is valid
22 * lyxlex.h: correct typo
23 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
24 * paragraph.[Ch] (isMultiLingual): make const
25 * cursor.[Ch] (openable): make const
27 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
29 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
31 2004-02-20 André Pönitz <poenitz@gmx.net>
33 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
35 * cursor.[Ch]: prepare for localized getStatus()
41 * text3.C: streamlines the LyXText cursor movement handlers a bit.
43 2004-02-20 André Pönitz <poenitz@gmx.net>
45 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
47 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
49 * text2.C (setCursorFromCoordinates): switch to absolute coords
52 * text3.C (dispatch): adjust
54 2004-02-16 André Pönitz <poenitz@gmx.net>
56 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
59 * cursor_slice.[Ch]: remove unneeded acessor function
61 * lyxtext.h: rename rtl() to isRTL()
69 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
71 * rowpainter.C (paintSelection): coord fix
73 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
75 * Spacing.C: compile fix
77 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
79 * cursor.C (dispatch): restore current_ before returning
81 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
83 * text2.C (cursorUp, cursorDown): fix coords
86 2004-02-12 André Pönitz <poenitz@gmx.net>
91 * text3.C: add LCursor & parameter to most cursor movement functions
92 remove usage of LyXText::cursorRow() and cursorPar()
94 * cursor.[Ch]: add textRow() needed members
100 * BufferView_pimpl.C: adjust
102 2004-02-11 André Pönitz <poenitz@gmx.net>
106 * BufferView_pimpl.C: shift undo/redo handling
108 * cursor.[Ch]: fix mathed crash
111 * lyxtext.h: move selectionAsText to LCursor
119 * rowpainter.C: fix excessive drawing
121 2004-02-06 André Pönitz <poenitz@gmx.net>
124 * BufferView_pimpl.[Ch]:
125 * text3.C: move some text specific LFUN handling
127 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
129 * text3.C (checkInsetHit): adjust coords
130 * text2.C (getColumnNearX): adjust coords
131 (edit): adjust coords
132 * text.C (getRowNearY): add two asserts
134 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
137 * format.C: add using std::distance to compile on gcc 2.95/stlport
139 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
141 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
143 2004-02-04 André Pönitz <poenitz@gmx.net>
145 * BufferView.[Ch] (insertInset):
146 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
151 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
153 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
154 on the default clause of the switch
155 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
156 wasn't catched by LCursor::dispatch
158 2004-02-03 André Pönitz <poenitz@gmx.net>
161 * cursor.[Ch]: some additional asserts
163 * undo.[Ch]: remove LyXText dependency in interface
167 * lyxtext.h (firstPar, lastPar): remove dead functions
172 * paragraph.[Ch]: adjust
174 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
176 * lyxfind.C (find): fix argument order in call to ::find
178 2004-02-02 André Pönitz <poenitz@gmx.net>
180 * cursor.[Ch]: remove direct access to anchor
182 * text.C: remove findText() hack
184 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
186 * iterators.[Ch] (lockPath): remove in favour of...
187 * BufferView.[Ch] (setCursor): this addition
188 * BufferView.C (putSelectionAt): adjust
189 * undo.C (performUndoOrRedo): adjust
190 * lyxfunc.C (dispatch): adjust
192 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
194 * iterators.C (lockPath): add a missing slice
195 * undo.C (performUndoOrRedo): remove redundant positioning code
197 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
199 * vc-backend.C (scanMaster): ";" -> ';'
201 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
203 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
206 * lyxtextclass.C (compare_name): rename to...
207 (LayoutNamesEqual): ...this
209 * lyxlex_pimpl.C (compare_tags): inherit from
210 std::binary_function, put back into anon namespace
212 * lyxfind.C (MatchString): inherig from std::binary_function
213 (findChange): use empty() istead of !size()
215 * format.C (FormatNamesEqual): new functor
222 * converter.C (compare_Converter): rename to...
223 (ConverterEqual): ...this, and fixup a bit.
224 (getConverter): use it, and make function const
225 (getNumber): use it, and make function const
229 * bufferlist.C: add using boost::bind
231 * MenuBackend.C (MenuNamesEqual): new functor
232 (hasMenu): use it, and make function const
233 (hasSubmenu): use nested bind to get rid of compare_memfun.
235 2004-01-30 André Pönitz <poenitz@gmx.net>
237 * BufferView_pimpl.C:
248 * text3.C: move some of the edit(x,y) handling to the insets
249 some coordinate changes.
251 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
253 * text.C: add using statements for std::advance and std::distance
255 * paragraph.C: add using statement for std::distance
257 * lyxfind.C: add using statement for std::advance
259 * cursor.C (region): remove std:: from swap
260 (openable): use nucleus in stead of operator->
262 * BufferView.C: add using statements for std::distance and std::swap
264 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
266 * iterators.C: Remove the pimple, move the needed structures to
267 the header file. Create accessor for the positions stack.
268 (asPosIterator): remove function
270 * PosIterator.C (PosIterator): move constructors to top of file
271 (PosIterator): reimplement the constructor taking a ParIterator in
273 (setFrom): new function
274 (operator!=): inline it
276 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
278 * lyxfind.C (replaceAll): use std::advance
280 * iterators.h: inherit from std::iterator.
282 * PosIterator.C (advance, distance): remove
283 * PosIterator.h: interit from std::iterator.
285 2004-01-26 André Pönitz <poenitz@gmx.net>
288 * BufferView_pimpl.[Ch]:
292 * bufferview_funcs.C:
303 * output_plaintext.C:
305 * paragraph_funcs.[Ch]:
306 * paragraph_pimpl.[Ch]:
312 * text3.C: more IU: dumps most of the rest of the mathcursor
313 implementation into cursor.[Ch]; "globalize" a bit of it.
315 2004-01-25 Angus Leeming <leeming@lyx.org>
317 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
319 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
321 * LaTeXFeatures.h: add nice_ and nice() const
322 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
324 2004-01-20 André Pönitz <poenitz@gmx.net>
327 * BufferView_pimpl.C:
329 * bufferview_funcs.C:
342 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
343 LCursor and mathcursor parts to LCursor and InsetBase.
345 2004-01-15 André Pönitz <poenitz@gmx.net>
347 * cursor_slice.[Ch]: add a few covienience functions
349 * funcrequest.[Ch]: remove BufferView * member
351 * BufferView_pimpl.C:
358 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
360 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
362 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
363 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
365 2004-01-13 André Pönitz <poenitz@gmx.net>
368 * lyxtext.h: hide cursor and selection anchor behind accessor function
371 * BufferView_pimpl.[Ch]:
373 * bufferview_funcs.C:
383 * cursor_slice.[Ch]: some integer type changes for inset unification
385 * lyxcursor.[hC]: remove, it's CursorSlice now.
388 * BufferView_pimpl.[Ch]:
389 * bufferview_funcs.C:
395 * textcursor.[Ch]: adjust
397 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
399 * text2.C (undoSpan): add and use
400 * text.C (breakParagraph): use undoSpan (fix bug 578)
403 2004-01-08 Angus Leeming <leeming@lyx.org>
405 * BufferView_pimpl.C (MenuInsertLyXFile):
406 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
407 * lyxfunc.C (menuNew, open, doImport):
408 FileFilterList change to the FileDialog open and save functions.
410 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
412 * ShareContainer.h: make isEqual and isUnique adaptable
414 * CutAndPaste.C: make resetOwnerAndChanges adaptable
416 2004-01-07 Angus Leeming <leeming@lyx.org>
419 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
421 * BufferView_pimpl.C (dispatch): act on these LFUNs.
423 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
424 functions replacing find, replace and replaceAll.
426 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
427 LFUN_WORDFIND(FORWARD|BACKWARD).
429 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
431 * text.C (breakParagraph): remove an outdated #warning
433 2004-01-07 André Pönitz <poenitz@gmx.net>
435 * lyxfind.C: somewhat clearer logic
437 * text.C: prevent crash in cursorX on unitialized row cache
439 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
441 * lyxcursor.[Ch] (operator>): add
442 * textcursor.C (selStart, selEnd): use std::min and std::max
444 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
446 * Chktex.C: include boost/format.hpp
448 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
450 * InsetList.C: replace functor MathcIt with adaptable functor
452 (insetIterator): modify accordingly
454 * BranchList.h: move the BranchNamesEqual functor here from...
455 * BranchList.C: ... to here
457 * BranchList.C: new BranchListEqual fuctor, use it. Remove
459 (add): replace a finding loop with std::find_if.
461 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
463 * output_docbook.C: moving LatexParam functionality into
466 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
468 * buffer.C: increment format to 229.
470 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
473 * lyx_sty.[Ch]: remove minipageindent_def
479 * text3.C: remove LFUN_INSET_MINIPAGE
481 2003-12-28 Angus Leeming <leeming@lyx.org>
483 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
485 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
487 * text2.C (setParagraph): fix off-by-one crash
489 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
491 * output_docbook.C: header stuff for AGU
493 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
495 * text2.C (redoCursor): remove
498 * BufferView_pimpl.C: remove calls to redoCursor and
499 setCursor(cursor.par(), cursor.pos()) all around
501 2003-12-15 Angus Leeming <leeming@lyx.org>
503 * buffer.C: up the format to 228.
505 2003-12-15 André Pönitz <poenitz@gmx.net>
507 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
512 * BufferView_pimpl.C:
521 2003-12-15 Angus Leeming <leeming@lyx.org>
523 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
524 than getFromGUIName to manipulate the color.
526 2003-12-14 Angus Leeming <leeming@lyx.org>
528 * BranchList.[Ch]: minimize the API.
529 (Branch::getBranch, getColor): now return a 'const &'.
530 (Branch::setSelected) now returns a bool set to true if the
531 selection status changes.
532 (BranchList::clear, size, getColor, setColor, setSelected,
533 allBranches, allSelected, separator): removed.
534 (BranchList::find): new functions, returning the Branch with
536 (BranchList::add, remove): return a bool indicating that
537 the operation was successful.
539 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
540 new InsetBranch::isBranchSlected member function.
542 * LColor.[Ch]: mimimize the API.
543 (fill): renamed as addColor and made private.
544 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
545 versions of these functions taking a string arg have been removed.
547 * bufferparams.C (readToken):
548 * lyxfunc.C (dispatch):
549 * lyxrc.C (read): changes due to the altered BranchList and
552 * factory.C (createInset, readInset): changes due to altered
555 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
558 * lyxfunc.C: remove insetminipage. "minipage-insert"
559 now produces a frameless minipage box inset.
561 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
563 * textcursor.[Ch] (selStart,selEnd): add new methods
564 remove selection::start, end, use LyXCursor::operator<
565 * lyxcursor.[Ch] (operator<): add
566 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
567 * BufferView.[Ch] (unsetXSel): add
568 * text2.C (clearSelection): use unsetXSel,adjust
571 * rowpainter.C: adjust
572 * bufferview_funcs.C (put_selection_at): adjust
574 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
576 * BufferView_pimpl.C: small coord. correction
578 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
580 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
581 dragging over the splash screen.
583 2003-12-11 Angus Leeming <leeming@lyx.org>
585 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
586 as it is now handled in LyXText::dispatch.
588 * text3.C (doInsertInset): remove a level of nesting.
590 2003-12-11 Angus Leeming <leeming@lyx.org>
592 * factory.C (createInset): changes due to the changed interface to
593 InsetCommandMailer::string2params.
595 2003-12-10 Angus Leeming <leeming@lyx.org>
597 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
598 'dialog-show-new-inset <inset name>'
600 2003-12-10 Angus Leeming <leeming@lyx.org>
602 * buffer.C: up the format to 227.
604 * factory.C: the box inset is now identified simply by 'Box'.
606 2003-12-10 Angus Leeming <leeming@lyx.org>
608 * buffer.C: up the format to 226.
610 * factory.C: the note inset is now identified simply by 'Note'.
612 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
614 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
615 when a pit is enough. Standarize a couple of loops.
617 2003-12-05 Angus Leeming <leeming@lyx.org>
619 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
620 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
621 data to the re-worked "log" dialog.
623 2003-12-03 André Pönitz <poenitz@gmx.net>
631 * text2.C: use Inset::getText instead of Inset::getParagraph
633 2003-12-03 André Pönitz <poenitz@gmx.net>
637 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
638 InsetText::read() as LyXText::read()
640 2003-12-02 Angus Leeming <leeming@lyx.org>
642 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
643 type. Add a comment in the implementation that the function uses
644 the stream's bad() function rather than fail() as the std::streams
647 2003-12-02 André Pönitz <poenitz@gmx.net>
649 * lyxlex.[Ch]: make interface more similar to std::stream
651 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
653 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
655 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
657 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
659 * vspace.[Ch]: remove VSpace::NONE
661 2003-12-01 André Pönitz <poenitz@gmx.net>
664 * lyxtext.h: move ParagraphList member to LyXText
665 rename LyXText::ownerParagraphs to LyXText::paragraph
668 * bufferview_funcs.C:
678 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
680 * undo.C: fix cursor positioning
682 2003-12-01 John Levon <levon@movementarian.org>
684 * BufferView_pimpl.C: fix a crash on exit with
687 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
689 * BranchList.C: fix setSelected() method.
691 2003-11-28 André Pönitz <poenitz@gmx.net>
693 * ParagraphParameters.[Ch]:
694 * ParameterStruct.h: remove space above/below from Paragraph to
697 * BufferView_pimpl.C:
709 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
711 * factory.C: Syntax change for CharStyles
713 2003-11-28 André Pönitz <poenitz@gmx.net>
718 * buffer.[Ch]: move LyXText member
720 2003-11-28 André Pönitz <poenitz@gmx.net>
722 * BufferView.[Ch]: make LyXText * text a private member
724 * BufferView_pimpl.C:
735 * output_plaintext.C: cleanup
737 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
740 * lyxtextclass.[Ch]: parametrize SGML document header
742 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
745 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
748 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
750 * text2.C (setFont): rework using PosIterator (no more recursive)
751 (setCharFont): no more needed
752 (setLayout): no more selection cursors fiddling (done by redoCursor)
753 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
754 destroy remaining ones)
756 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
758 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
760 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
763 * text3.C: adjust + re-allow multi par depth changes
764 * textcursor.C: simplify a bit
766 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
772 * src/output_docbook.C:
773 * src/output_latex.C:
778 * src/text2.C: Introducing a number of tags parametrizing various
779 XML formats that we may want to support
781 2003-11-25 André Pönitz <poenitz@gmx.net>
783 * InsetList.[Ch] (begein, end): inline as suggested by profiler
785 * lyxtext.h (leftMargin/rightMargin): simplify interface
792 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
794 * lyxfunc.C (dispatch): propogate the bibtex databases from the
795 master file to any child files. Fixes bug 546.
797 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
799 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
801 2003-11-24 André Pönitz <poenitz@gmx.net>
803 * rowpainter.C: simplification
805 * text2.C (updateCounters): remove call to redoParagraph on
806 changed labels as this is far too expensive.
808 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
810 * converter.C (convert): fix a crash: this function gets
811 called with buffer == 0 from importer code.
813 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
815 * text3.C (cursorPrevious): make sure that we do not compare
816 iterators form different containers.
819 * rowpainter.C (paintSelection): make sure that we do not compare
820 iterators from different containers.
822 * text3.C (dispatch): [PRIOR] make sure that we do not compare
823 iterators from different ParagraphList containers.
826 * text2.C (LyXText): change order of initialization slightly
827 (operator=): new function. copy all variables except cache_par_
828 (moveUp): make sure that we do not compare iterators from
829 different ParagraphList constainers.
832 * text.C (firstPar): new function
833 (lastPar): new function
834 (endPar): new function
836 * lyxtext.h: move things around and group public functions, public
837 variables, private functions, private variables
839 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
841 * factory.C: change call to InsetERT constructor to avoid
842 additional invocation of method status
843 * text2.C (toggleInset): remove redundant update() call
844 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
845 instead of a Bufferview pointer
847 2003-11-21 André Pönitz <poenitz@gmx.net>
849 * rowpainter.C: simplification
851 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
853 * text3.C (dispatch): make possible to extend a word/row selection
856 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
858 * lyxtext.h: x0_,y0_ -> xo_,yo_
859 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
860 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
861 * rowpainter.C (paintRows): paint full paragraphs
863 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
865 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
868 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
870 * lyxtext.h: add x0_, y0_
871 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
872 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
874 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
876 * text2.C (setCursorIntern): move the x_target update here *
877 * text3.C: change some bv() to true/false in calls to
878 cursorUp/Down/Right/Left
879 * cursor.C: use helper function.
881 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
883 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
884 * paragraph_funcs.[Ch]: correct comment
885 * rowpainter.C: do not paint selections away from bv->cursor()
886 Fix a long standing selection painting bug.
887 * text3.C: generalize mouse-selection code to LyXTexts other that
889 * textcursor.C: do not use y coords if we can use par offsets
891 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
893 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
894 cursor position after e.g. inset insert)
896 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
898 * lyxfind.C (replace): adjust to locking removal + some
901 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
903 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
906 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
909 * output_docbook.C: XML sanitation: new layout
910 parameters InnerTag and CommandDepth
912 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
914 * BufferView_pimpl.C:
916 * text3.C: Fix the insertion and modification of button-style
919 2003-11-13 André Pönitz <poenitz@gmx.net>
921 * InsetList.[Ch]: remove deleteLyXText
923 * paragraph.[Ch]: cache beginOfBody position
928 * text3.C: remove superfluous update() calls
932 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
934 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
935 * BufferView.C (fitLockedInsetCursor): remove
936 * cursor.[Ch] (getDim): add
937 * text.C (getRowNearY): add faster version
938 * text3.C: remove some update calls
940 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
952 * text3.C: The Character Style /XML short element patch.
954 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
957 * factory.C: Small step to solving 'unable to insert some insets'
960 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
962 * cursor.[Ch] (updatePos): new function for updating the y
963 position of the tip inset
964 * bufferview_funcs.C (put_selection_at):
965 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
967 2003-11-11 André Pönitz <poenitz@gmx.net>
969 * text.C: remove big comment on invalid Paragraph pointers as it is
972 2003-11-11 André Pönitz <poenitz@gmx.net>
974 * text_funcs.[Ch]: merge with ...
982 * Makefile.am: remove text_funcs.[Ch]
984 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
986 * cursor.C (getPos): return absolute cached y coord
988 * BufferView_pimpl.C (fitCursor): new simplistic code
989 (workAreaDispatch): add a fitCursor call
991 2003-11-10 André Pönitz <poenitz@gmx.net>
994 * BufferView_pimpl.[Ch]: merge update() and updateInset()
996 2003-11-10 André Pönitz <poenitz@gmx.net>
998 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
999 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1000 indicate that the cursor needs to leave an inset
1002 * lyxtext.h: remove inset locking
1004 * cursor.[Ch]: re-implement functionality provided by inset locking
1007 * BufferView_pimpl.[Ch]:
1009 * bufferview_funcs.[Ch]:
1021 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1023 * PosIterator.[Ch]: replace the stack with a vector, add inset
1025 * iterators.[C]: adjust
1027 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1029 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1031 * paragraph_funcs.C (readParToken): put the correct id in the
1032 error item, not the id of the top paragraph
1034 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1036 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1037 * bufferview_funcs.C (put_selection_at): use the above
1039 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1041 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1043 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1045 * output_linuxdoc.h:
1046 * output_plaintext.h:
1048 * output_docbook.h: add #include statements
1050 2003-11-05 José Matos <jamatos@lyx.org>
1052 * output_docbook.[Ch]:
1053 * output_latex.[Ch]:
1054 * output_linuxdoc.[Ch]:
1055 * output_plaintext.[Ch]: New files for output formats.
1056 * output.[Ch]: New file for helper functions.
1059 * paragraph_funcs.[Ch]: output functions moved to new files.
1061 * outputparams.h: rename of latexrunparams.h
1069 * paragraph_funcs.[Ch]:
1070 * paragraph_pimpl.[Ch]:
1071 * tabular.[Ch]: rename ascii to plaintext
1072 and LatexRunParams to OutputParams.
1074 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1076 * iterators.[Ch] (text): require bv argument
1077 * undo.C (recordUndo):
1078 * lyxfunc.C (dispatch):
1079 * bufferview_funcs.C (put_selection_at): adjust
1081 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1083 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1085 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1087 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1090 2003-11-04 André Pönitz <poenitz@gmx.net>
1092 * cursor.[Ch]: restructure
1095 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1097 * iterators.[Ch] (asCursor): remove
1099 * lfuns.h: remove LFUN_INSET_EDIT
1105 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1107 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1109 * lyxfind.[Ch]: complete overhaul
1110 * BufferView_pimpl.C:
1112 * paragraph.[Ch] (insert): add
1114 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1118 * text.C: remove dead spellcheck code
1120 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1122 * dispatchresult.h: add a val setter
1124 * cursor.C (dispatch): use a tempvar for data_[i]
1126 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1128 * PosIterator.[Ch]: compile fix
1130 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1132 * text.C (cursorPar): deactivate the cursor cache
1134 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1136 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1138 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * text3.C (dispatch): adjust for new DisptchResult semantics.
1142 * lyxfunc.C (dispatch): handle update when return from
1143 Cursor::dispatch, adjust for new DispatchResult semantics.
1145 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1146 DispatchResult(true) mean to not update. Add class functions for
1147 setting dispatched and update, as well as reading.
1149 * cursor.C (dispatch): don't handle update here
1151 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1153 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1154 * trans_mgr.C: adjust
1156 * paragraph_funcs.C (readParToken): exception safety
1158 * lyxvc.h: store the vcs pointer in a scoped_ptr
1161 * lyxsocket.C (serverCallback): exception safety
1163 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1165 * ispell.C (clone): make it return a auto_ptr
1167 * factory.C (createInset): exception safety
1168 (readInset): exception safety
1170 * bufferlist.C (newBuffer): exception safety
1172 * Thesaurus.C (Thesaurus): use initialization for aik_
1174 * MenuBackend.C (expandToc): exception safety.
1176 2003-11-03 André Pönitz <poenitz@gmx.net>
1180 * bufferview_funcs.C: remove getInsetFromId()
1183 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1189 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1191 * PosIterator.C (distance, advance): new
1192 * bufferview_funcs.[Ch] (put_selection_at): new
1193 * iterators.[Ch] (lockPath): new
1195 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1197 * iterators.[Ch] (asPosIterator): added
1198 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1199 * PosIterator.[Ch]: added
1201 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * cursor.C (dispatch):
1206 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1208 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1209 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1210 contructor, add a class function dispatched. Remove operator>=
1212 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * debug.C: only use the default constructor for debugstream
1217 * main.C (main): include debug.h and setup the lyxerr streambuf
1220 2003-10-31 José Matos <jamatos@lyx.org>
1222 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1224 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1225 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1226 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1227 * paragraph_pimpl.C (simpleTeXSpecialC):
1228 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1229 add LatexRunParams argument.
1231 * exporter.C (Export): change call accordingly.
1233 * latexrunparams.h: add new member to take care of the other backends.
1234 2003-10-30 José Matos <jamatos@lyx.org>
1236 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1237 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1238 factorise code for paragraph output.
1240 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1243 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1245 * text3.C (dispatch):
1246 * lyxfunc.C (dispatch):
1247 * cursor.C (dispatch):
1248 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1250 * dispatchresult.h: make the dispatch_result_t ctor explicit
1252 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1255 * buffer.C: small refactoring of docbook stuff
1257 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1262 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1265 operator dispatch_result_t, and operators for == != and >=
1267 * cursor.C (dispatch): adjust for operator dispatch_result_t
1268 removal. comment out call to update
1270 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1272 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1283 * dispatchresult.h: new file, DispatchResult broken out of
1286 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1288 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1290 * text.C (rowBreakPoint): put a hack inside #if 0
1292 2003-10-28 André Pönitz <poenitz@gmx.net>
1296 * paragraph_funcs.C:
1299 * text2.C: general cleanup (lots of small stuff)
1301 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1303 * text2.C (cursorEnd): simple fix to the "end key goes to one
1304 before the end on last row" bug
1306 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1308 * text.C (backspace): fix the "zombie characters"
1310 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1312 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1314 2003-10-27 André Pönitz <poenitz@gmx.net>
1316 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1318 * factory.C: handle new InsetPagebreak, InsetLine
1320 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1321 and move handling into new InsetPagebreak, InsetLine
1323 * BufferView_pimpl.C:
1325 * ParagraphParameters.C:
1326 * ParameterStruct.h:
1331 * paragraph_funcs.C:
1332 * paragraph_pimpl.C:
1338 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1341 * lyxrow_funcs.[Ch]:
1347 * text3.C: remove lastPos uses in favour of Row::endpos
1349 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1351 * undo.C (performUndoOrRedo): fix two crashes by setting a
1352 cursor by hand and reordering some calls. Use bv->lockInset instead
1353 of inset->edit because the latter loses cursor information
1355 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1357 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1359 (rowBreakPoint): fix width. change point to point + 1.
1360 Add a missing check.
1362 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1365 * lyxfunc.C: fix (at least partly) the problems
1366 with the Nav menu and headers inside branch insets
1369 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1371 * paragraph.C (getChar): add strong asserts
1373 * lyxrow_funcs.C (lastPos): remove hideous hack
1375 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1376 (fill): adjust to that (avoid an infinite loop)
1378 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1380 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1382 2003-10-23 André Pönitz <poenitz@gmx.net>
1384 * RowList_fwd.h: change list<> to vector<> to gain speed
1385 after suggestion from Alfredo
1387 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1389 * lyxtext.h: move the bidi stuff from here...
1392 * Bidi.[Ch]: ... to here
1394 2003-10-23 André Pönitz <poenitz@gmx.net>
1397 * text.C (isLastRow, isFirstRow): new functions
1399 * paragraph.h: new width cache member
1401 * rowpainter.C: replace RowList::iterator with Row & where possible
1403 * lyxfunc.C: replace several view()->text with a single call
1405 * toc.C: fix 'unused' warning
1407 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1409 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1410 when woring with stream::pos_type
1411 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1413 2003-10-22 André Pönitz <poenitz@gmx.net>
1416 * text.C: use Row & instead of RowList::iterator
1418 * lyxrow.h: rename end() to endpos()
1424 2003-10-22 Angus Leeming <leeming@lyx.org>
1426 * buffer.[Ch] (fully_loaded): new member function, returning true
1427 only when the file has been loaded fully.
1428 Used to prevent the premature generation of previews and by the
1429 citation inset to prevent computation of the natbib-style label.
1431 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1432 templates are all set up.
1434 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1436 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1438 * text.C: fixed an "oops" in the "is a bit silly"
1441 2003-10-21 André Pönitz <poenitz@gmx.net>
1443 * FuncStatus.[Ch]: small stuff, whitespace
1445 * lyxfont.[Ch]: operator<<() for debug reasons
1449 * lyxtext.h: whitespace, spelling
1451 * paragraph.C: naming of variables
1454 * text2.C: small stuff
1457 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1459 * text.C: (1) finish off the inset display() work;
1460 (2) fix the "is a bit silly" bug (accessing char
1463 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1465 * text.C: re-introduce display() for insets, fixing the
1466 various bugs (stretch of line above, math inset
1469 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * text.C (rightMargin): remove spurious semicolon
1473 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1476 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1478 * text3.C: fix one crash due to wrong cursor def
1480 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1482 * vc-backend.C (scanMaster): make the regex static
1484 * LaTeX.C (scanAuxFile): make the regexs static
1486 * text3.C (doInsertInset, dispatch, dispatch):
1487 * text2.C (cursorUp, cursorDown):
1488 * text.C (selectNextWordToSpellcheck):
1489 * BufferView_pimpl.C (dispatch):
1490 * lyxfunc.C (dispatch): localDispatch -> dispatch
1492 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1494 * lyxsocket.C: include <cerrno>
1496 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * lyxfunc.C (dispatch): remove textcache stuff
1500 * bufferlist.C (release): remove textcache stuff
1503 * TextCache.C: delete file
1504 * TextCache.h: delete file
1506 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1508 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1509 delete of the bv_->text.
1510 (resizeCurrentBuffer): remove texcache stuff
1511 (workAreaResize): ditto
1513 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1515 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1518 2003-10-16 André Pönitz <poenitz@gmx.net>
1525 * text3.C: speed up by storing y positions per paragraph plus per-row
1526 offset instead of having a 'full' y position in the row.
1528 2003-10-15 André Pönitz <poenitz@gmx.net>
1532 * undo.[Ch]: make undo aware of inner insets
1534 2003-10-14 Angus Leeming <leeming@lyx.org>
1536 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1537 static member functions LyX::ref() and LyX::cref.
1538 (lastfiles): new accessor functions for the new lastfiles_ member var.
1539 (addLyXView, views_): add a new LyXView to the list of views_.
1540 (updateInset): loop over all LyXViews to call their own updateInset
1541 member function, returning a pointer to the Buffer owning the inset.
1543 * BufferView_pimpl.C (loadLyXFile):
1544 * MenuBackend.C (expandLastfiles):
1545 * bufferlist.C (MenuWrite, QuitLyX):
1546 lastfiles is no longer a global variable.
1547 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1549 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1550 static function. Access through LyX::cref().emergencyCleanup().
1552 2003-10-14 André Pönitz <poenitz@gmx.net>
1554 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1556 * undo.[Ch]: restoring part of 'undo in insets'
1559 * undo_funcs.[Ch]: merge with undo.[Ch]
1561 * tabular.C: small cleansing stuff
1563 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1565 * paragraph_funcs.C (readParToken): report unknown insets as error
1566 boxes. Use the outer paragraph as location (also for unknown
1569 * factory.C (readInset): do not abort on reading an unknown inset.
1570 Eat it and return 0.
1572 2003-10-13 Angus Leeming <leeming@lyx.org>
1574 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1576 * lyxrc.C: displayTranslator is now a function,
1577 declared in GraphicsTypes.h.
1579 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1581 * format.C: new placeholder $$a to pass the socket address.
1583 * bufferlist.[Ch]: new function getBufferFromTmp.
1585 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1586 files in the temporary dir.
1588 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1590 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1592 * Makefile.am: add lyxsocket.[Ch].
1594 * lyx_main.C (error_handler): handle SIGPIPE.
1596 2003-10-13 André Pönitz <poenitz@gmx.net>
1598 * BufferView_pimpl.C:
1603 * undo_funcs.[Ch]: use paroffset_type instead of
1604 ParagraphList::iterators to prevent multiple conversion
1605 (and get a more robust interface)
1607 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1611 * text3.C (dispatch): ditto
1613 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1615 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1616 move the onlyfile, use onlyfile instead of foundfile in a couple
1619 * DepTable.C (update): flush the error stream a bit more
1621 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1623 * lyxserver.C (callback): adjust
1625 * lyxfunc.C (getStatus): add a missing brace in commented code
1626 (ensureBufferClean): reindent
1627 (dispatch): delete version taking a string
1629 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * LaTeX.C (deplog): move found file handlig from here...
1632 (handleFoundFile): .. to new function here.
1633 (deplog): make sure to discover several files mentioned on the
1636 2003-10-10 André Pönitz <poenitz@gmx.net>
1643 * text3.C: fix some of the tabular crashes
1645 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1647 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1649 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1651 2003-10-09 André Pönitz <poenitz@gmx.net>
1653 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1656 * BufferView_pimpl.C:
1657 * bufferview_funcs.C:
1668 * undo_funcs.C: adjust
1670 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * text2.C (incrementItemDepth): new function, use a backtracking
1673 algorithm to discover the correct item depth.
1674 (resetEnumCounterIfNeeded): new function, use a backtracking
1675 algorithm to discover if counter reset is needed.
1676 (setCounter): use them. Simplify a bit. Add different labels for
1677 different item depths for itemize.
1679 * paragraph.C (Paragraph): remove initialization of enumdepth
1682 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1683 enumerate and itemize. Change the type of itemdepth to signed char.
1685 2003-10-08 André Pönitz <poenitz@gmx.net>
1687 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1692 * tabular.[Ch]: fix crash after 'row-insert'
1694 2003-10-08 Angus Leeming <leeming@lyx.org>
1696 Fix doxygen warnings.
1698 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1699 Remove CutAndPaste:: prefix from header file declaration.
1701 * LColor.h (fill): remove LColor:: prefix from declaration.
1703 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1704 use lyx::depth_type rather than Paragraph::depth_type so that
1705 header file and .C file match.
1707 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1709 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1710 * aspell.C: \file aspell_local.C -> \file aspell.C
1711 * gettext.C: \file gettext.C -> \file src/gettext.C
1712 * gettext.h: \file gettext.h -> \file src/gettext.h
1713 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1714 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1715 * text.C: \file text.C -> \file src/text.C
1717 * toc.C: move comment so that doxygen is not confused.
1719 2003-10-07 Angus Leeming <leeming@lyx.org>
1721 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1723 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1726 * aspell_local.h: add forgotten std::string's.
1728 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1735 * text3.C: The Box patch. Fancybox support, minipage, parbox
1737 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1743 * ParagraphParameters.h:
1753 * lyxtextclasslist.h:
1756 * paragraph_pimpl.C:
1757 * textcursor.h: add <string> and other small fixes to make Lars'
1758 std::string patch compile with STLport.
1760 2003-10-06 Angus Leeming <leeming@lyx.org>
1762 * LColor.h: Add missing #include <string>.
1764 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * All most all file in all subdirs: Make <string> be the prefered
1767 way of getting to std::string, add using declarations.
1769 2003-10-06 André Pönitz <poenitz@gmx.net>
1771 * metricsinfo.C: initialize LyXFont before changing attribute.
1772 (fixes the 'math in \emph is upright' bug)
1774 2003-10-06 André Pönitz <poenitz@gmx.net>
1776 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1778 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1781 * paragraph_pimpl.C: Small fixes to build using STLport
1783 2003-10-02 André Pönitz <poenitz@gmx.net>
1786 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1788 2003-10-01 André Pönitz <poenitz@gmx.net>
1790 * factory.C: assert early
1792 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1794 * lyx_main.C: remove the global debug object
1796 * debug.h: adjust for new debugstream
1798 * debug.C: adjust for new debugstream and keep the global debug
1801 2003-09-22 Angus Leeming <leeming@lyx.org>
1803 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1804 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1805 an incomplete class LyXFont.
1807 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1809 * factory.C: bug fix in branches
1811 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * lyxfunc.C (processKeySym): adjust
1815 (dispatch): change arg name from ev to func, adjust
1816 (sendDispatchMessage): ditto
1818 * lyx_main.C (defaultKeyBindings): adjust keybindings
1819 (deadKeyBindings): ditto
1821 * kbsequence.C (addkey): return a FuncRequest
1823 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1825 * kbmap.C (bind): take a FuncRequest as arg, adjust
1828 (defkey): change to take a FuncRequest as arg, adjust
1829 (findbinding): take a FuncRequest as arg, adjust.
1831 * funcrequest.h (operator=): added
1833 * funcrequest.C (FuncRequest): default kb_action changed from
1834 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1836 * buffer.C (dispatch): simplify
1837 (dispatch): adjust to take a FuncRequest as arg, adjust
1839 * boost.C (assertion_failed): change assertion message slightly
1841 * ToolbarBackend.C (read): simplify
1843 * MenuBackend.C (binding): adjust call to findbinding, add a
1844 message if no binding is found.
1846 (expandToc): correct by adding a empty FuncRequest
1848 * LyXAction.C: include <boost/assert.hpp>
1849 (isPseudoAction): delete function
1850 (LookupFunc): change name to...
1851 (lookupFunc): this. change return type to FuncRequest.
1852 (getActionName): take kb_action as arg, simplify
1853 (funcHasFlag): add an assert, simplify.
1855 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * toc.C (action): return a FuncRequest, simplify
1859 * lyxfunc.C (processKeySym): adjust
1860 (getStatus): delete version that takes an int.
1862 (dispatch): delete version that takes action as int
1864 (sendDispatchMessage): simplify and adjust
1866 * funcrequest.C (getArg): take unsigned int as arg
1868 * ToolbarBackend.C (read): adjust
1869 (add): delete version that takes func as a string.
1870 (getIton): take a FuncRequest as arg
1872 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1875 * MenuBackend.C (MenuItem): add a new construct that only takes a
1876 Kind, simplify the constructor use for submenus.
1878 (expandLastfiles): adjust
1879 (expandDocuments): adjust
1880 (expandFormats): adjust
1881 (expandFloatListInsert): adjust
1882 (expandFloatInsert): adjust
1883 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1885 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1886 Remove class variables lyx_pseudo_map and lyx_arg_map
1888 * LyXAction.C (searchActionArg): delete function
1889 (getPseudoAction): delete function
1890 (retrieveActionArg): delete function
1891 (LookupFunc): make it return kb_action, simplify.
1892 (getActionName): simplify
1894 * factory.C (createInset): fix new bug
1896 2003-09-19 Angus Leeming <leeming@lyx.org>
1898 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1899 masterFilename_ parameter in the include inset.
1901 * factory.C (createInset): changes due to the changes to InsetInclude.
1903 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1905 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1907 2003-09-18 Angus Leeming <leeming@lyx.org>
1910 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1911 Inset::fillWithBibKeys.
1912 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1914 2003-09-18 Angus Leeming <leeming@lyx.org>
1916 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1918 (ctor): pass and store a 'Buffer const &'
1919 (buffer): new member function.
1921 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1922 '*this' to the LaTeXFeatures ctor.
1924 2003-09-18 Angus Leeming <leeming@lyx.org>
1930 * text.C: rename EnumLColor as LColor_color.
1932 2003-09-18 Angus Leeming <leeming@lyx.org>
1934 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1935 remove #include "insets/insetbase.h" from cursor.h.
1937 2003-09-18 Angus Leeming <leeming@lyx.org>
1939 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1940 InsetOld_code to remove #include "inset.h".
1942 * iterators.C: add #include "insets/inset.h"
1944 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1946 * BufferView.C: remove more locking stuff that apparently doesn't
1947 do anything sensible.
1949 2003-09-16 André Pönitz <poenitz@gmx.net>
1952 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1955 2003-09-16 Angus Leeming <leeming@lyx.org>
1957 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1959 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1962 * paragraph.h: remove #include "lyxfont.h". Forward declare
1965 2003-09-16 Angus Leeming <leeming@lyx.org>
1967 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1968 of support/textutils.h.
1969 (isWord): move the contents of support/textutils.h's IsWordChar here.
1975 * text2.C: add #include "paragraph.h".
1978 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1980 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * LaTeX.C: use namespace alias for lyx::support::os
1988 2003-09-16 Angus Leeming <leeming@lyx.org>
1991 * bufferview_funcs.C:
1994 * paragraph_pimpl.C:
1996 * text.C: add #include "LColor.h".
1998 2003-09-16 Angus Leeming <leeming@lyx.org>
2000 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2001 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2003 Store the FontBits::color variable as an int rather than as an
2004 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2007 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2008 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2009 string calls together.
2011 * lyxrc.C: add #include "LColor.h".
2013 2003-09-15 Angus Leeming <leeming@lyx.org>
2015 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2018 2003-09-15 Angus Leeming <leeming@lyx.org>
2020 * LColor.h: add an EnumLColor wrapper for LColor::color.
2022 * lyxfont.[Ch] (color, setColor, realColor):
2023 * lyxtext.h, text.C (backgroundColor):
2024 pass EnumLColor args to/from the functions, rather than LColor::color
2028 * lyxtext.h: forward declare EnumLColor.
2030 * lyx_main.C: add #include "LColor.h".
2032 2003-09-15 Angus Leeming <leeming@lyx.org>
2034 * .cvsignore: add lyx-gtk.
2036 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * ParagraphParameters.C
2045 * bufferview_funcs.C
2055 * vc-backend.C: remove usage of STRCONV
2057 2003-09-15 Angus Leeming <leeming@lyx.org>
2059 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2060 explicitly define the color passed to the painter.
2062 2003-09-15 Angus Leeming <leeming@lyx.org>
2064 * bufferparams.C (BufferParams): reorder member initializers to avoid
2067 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2069 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2070 * text.C (updateRowPositions): remove an unusual nop
2072 2003-09-12 André Pönitz <poenitz@gmx.net>
2074 * BufferView_pimpl.C:
2083 * Counters.[Ch]: finish the 'automatic counters' job
2085 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2087 * aspell.C: include <boost/assert.cpp> (compile fix)
2089 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2091 * boost.C (assertion_failed): use lyx::support::abort instead of
2094 2003-09-10 Angus Leeming <leeming@lyx.org>
2096 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2097 with their _fwd progeny.
2099 2003-09-09 Angus Leeming <leeming@lyx.org>
2101 134 files throughtout the source tree: replace 'using namespace abc;'
2102 directives with the appropriate 'using abc::xyz;' declarations.
2104 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2106 * boost.C (emergencyCleanup): moved here from LAssert.c
2107 (assertion_failed): new function, called by BOOST_ASSERT
2109 * several files: change Assert to BOOST_ASSERT
2111 2003-09-09 Angus Leeming <leeming@lyx.org>
2113 * buffer.[Ch]: Add an Impl class and move Buffer's member
2114 variables into it. As a result move several header files out of
2117 Add header files to lots of .C files all over the tree as a result.
2119 2003-09-09 Angus Leeming <leeming@lyx.org>
2121 * buffer.[Ch]: make Buffer's member variables private. Add
2124 Lots of changes all over the tree as a result.
2126 2003-09-08 Angus Leeming <leeming@lyx.org>
2128 * graph.C: #include <config.h>.
2130 2003-09-08 Angus Leeming <leeming@lyx.org>
2134 * BufferView_pimpl.C:
2163 * toc.C: remove redundant using directives.
2165 2003-09-07 Angus Leeming <leeming@lyx.org>
2167 * LaTeXFeatures.h: remove #include "support/types.h".
2168 * ToolbarBackend.h: remove #include <algorithm>.
2169 * changes.h: remove #include <ctime>.
2170 * debug.h: remove #include <iosfwd>.
2171 * graph.h: remove #include "support/std_string.h".
2172 * lyx_main.h: remove #include <csignal>.
2173 * lyxlex_pimpl.h: remove #include <fstream>.
2174 * sgml.h: remove #include <algorithm>, <utility>.
2175 * toc.h: remove #include "support/std_ostream.h".
2176 Add #include <iosfwd>.
2178 2003-09-07 Angus Leeming <leeming@lyx.org>
2180 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2182 * converter.h: forward declare LatexRunParams.
2183 * encoding.h: remove #include "lyxrc.h".
2184 * lyxtext.h: remove #include "LColor.h".
2185 * lyxtextclass.h: remove #include "support/types.h".
2186 * trans.h: remove #include "tex-accent.h".
2187 * trans_mgr.h: remove #include "tex-accent.h".
2188 * insets/inset.h: remove #include "support/types.h", <vector>.
2189 * insets/insetcollapsable.h: remove #include "LColor.h".
2190 * insets/insetinclude.h: remove #include "dimension.h".
2191 * insets/insetlatexaccent.h: remove #include "dimension.h".
2192 * insets/insetoptarg.h:: remove #include "insettext.h".
2193 * insets/insettext.h: remove #include "dimension.h",
2194 <boost/shared_ptr.hpp>
2196 * insets/renderers.h: add #include "dimension.h".
2197 * insets/updatableinset.h: add #include "support/types.h".
2199 * many .C files: Associated changes.
2201 2003-09-06 Angus Leeming <leeming@lyx.org>
2203 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2204 one, inside testInvariant.
2206 * PrinterParams.C: new file.
2207 * PrinterParams.[Ch]: move the function bodies out of line.
2209 2003-09-06 Angus Leeming <leeming@lyx.org>
2211 * ParagraphParameters.h: forward declare ParameterStruct rather than
2212 including its header file.
2213 (depth): moved out-of-line.
2215 2003-09-06 Angus Leeming <leeming@lyx.org>
2217 * BufferView_pimpl.h:
2220 * lyxfunc.h: forward declare LyXKeySym rather than
2221 #include "frontends/LyXKeySym.h".
2223 * BufferView_pimpl.C:
2226 * lyxfunc.C: associated changes.
2228 2003-09-06 Angus Leeming <leeming@lyx.org>
2230 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2231 As a result, can remove the #include "insets/inset.h" from BufferView.h
2233 2003-09-06 Angus Leeming <leeming@lyx.org>
2235 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2236 As a result, can remove the #include "insets/inset.h" from BufferView.h
2238 2003-09-06 Angus Leeming <leeming@lyx.org>
2244 * bufferview_funcs.C:
2245 * BufferView_pimpl.C:
2250 * ParagraphParameters.C:
2255 * frontends/controllers/ControlDocument.C:
2256 * insets/insetcaption.C: rearrange the #includes into some sort of
2259 * buffer.h: remove #includes ErrorList.h, undo.h
2261 2003-09-06 Angus Leeming <leeming@lyx.org>
2263 * support/types.h: add a 'depth_type' typedef, used to store the
2264 nesting depth of a paragraph.
2267 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2268 defining explicitly.
2271 * paragraph_funcs.h:
2272 * ParagraphParameters.h:
2273 * sgml.h: use lyx::depth_type rather than Paragraph or
2274 ParameterStruct's depth_type.
2277 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2280 * BufferView_pimpl.C:
2282 * ParagraphParameters.C:
2285 * bufferview_funcs.C:
2292 * frontends/LyXView.C:
2293 * frontends/controllers/ControlDocument.C:
2294 * frontends/controllers/ControlErrorList.C:
2295 * insets/insetbibitem.C:
2296 * insets/insetbranch.C:
2297 * insets/insetcaption.C:
2298 * insets/insetcollapsable.C:
2299 * insets/insetenv.C:
2300 * insets/insetert.C:
2301 * insets/insetfloat.C:
2302 * insets/insetfoot.C:
2303 * insets/insetfootlike.C:
2304 * insets/insetnewline.C:
2305 * insets/insetquotes.C:
2306 * insets/insettabular.C:
2307 * insets/insettext.C:
2308 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2310 * frontends/controllers/ControlChanges.C: #include "changes.h".
2312 2003-09-06 Angus Leeming <leeming@lyx.org>
2314 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2315 than #including paragraph.h.
2318 * RowList.h: deleted. Superfluous.
2328 * insets/insettext.h: use ParagraphList_fwd.h rather than
2331 * paragraph.h: don't forward declare ParagraphList.
2334 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2335 rather than ParagraphList.h. paragraph.h is still needed for the
2336 Paragraph::depth_type parameters.
2338 * textcursor.h: enable it to compile stand-alone in light of the
2341 * bufferview_funcs.C:
2353 * frontends/controllers/ControlParagraph.C:
2354 * frontends/controllers/ControlTabular.C:
2355 * insets/insetmarginal.C:
2356 * insets/insetminipage.C:
2357 * insets/insetnote.C:
2358 * insets/insetoptarg.C: add header files needed to compile again.
2360 2003-09-06 Angus Leeming <leeming@lyx.org>
2362 * RowList_fwd.h: new file, forward-declaring Row rather than
2363 #including lyxrow.h.
2368 * insets/insettext.h: use it instead of RowList.h
2370 * bufferview_funcs.C:
2377 * text3.C: #include "RowList.h".
2379 2003-09-05 Angus Leeming <leeming@lyx.org>
2381 * factory.C (createInset):
2382 * vspace.C (c-tor): replace sscanf call with an istringstream.
2383 * ispell.C: re-add missing HP/UX headers.
2384 * lyxserver.C: re-add missing os2 headers.
2386 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2395 * text3.C: re-add missing system headers, needed for 2.95.2.
2397 2003-09-05 Angus Leeming <leeming@lyx.org>
2399 Changes most place everywhere due to the removal of using directives
2400 from support/std_sstream.h.
2402 2003-09-05 Angus Leeming <leeming@lyx.org>
2404 Replace LString.h with support/std_string.h,
2405 Lsstream.h with support/std_sstream.h,
2406 support/LIstream.h with support/std_istream.h,
2407 support/LOstream.h with support/std_ostream.h.
2409 Changes resulting throughout the tree.
2411 2003-09-05 Angus Leeming <leeming@lyx.org>
2413 * sgml.h: ensure that the header file can be compiled stand-alone.
2414 * *.C: strip out redundant #includes. (320 in total.)
2416 2003-09-04 Angus Leeming <leeming@lyx.org>
2418 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2419 here (from getPackages).
2421 * debug.[Ch]: add a new EXTERNAL tag.
2423 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2425 * text2.C (cursorEnd): simplify
2427 (getColumnNearX): adjust
2429 * text.C (computeBidiTables): adjust
2432 * rowpainter.C (paintChars): adjust
2433 (paintSelection): adjust
2434 (paintChangeBar): adjust
2437 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2439 (numberOfSeparators): adjust
2441 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2447 * text3.C: Restricts the mouse click functionality
2448 of insets like bibtex, include, toc and floatlist to the visible
2449 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2450 up the dialogs. Cursor has to be in front of the inset (i.e.
2451 start of row) for this to function.
2453 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2455 * bufferview_funcs.C (currentState): output row information
2457 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2459 * bufferview_funcs.C (currentState): output paragraph position
2461 2003-09-04 Angus Leeming <leeming@lyx.org>
2463 * FloatList.h: move out #include "Floating.h".
2464 * LaTeX.h: move out #include "DepTable.h".
2465 * LyXAction.h: move out #include "funcrequest.h".
2466 * buffer.h: move out #include "author.h", "iterators.h".
2467 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2468 * lyx_main.h: move out #include "errorlist.h".
2469 * lyxfunc.h: move out #include "FuncStatus.h".
2470 * lyxtext: move out #include "lyxcursor.h".
2471 * paragraph_pimpl.h: move out #include "counters.h".
2473 2003-09-03 Angus Leeming <leeming@lyx.org>
2475 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2476 preamble_snippets list, enabling us to add snippets to the preamble
2477 only if the snippet was not there already.
2479 2003-09-04 Angus Leeming <leeming@lyx.org>
2481 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2483 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2488 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2490 * BranchList.C: point fix, earlier forgotten
2492 2003-09-02 Angus Leeming <leeming@lyx.org>
2494 * box.C (contains): renamed from 'contained' after a fantastic
2497 2003-09-02 John Levon <levon@movementarian.org>
2503 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2505 2003-09-02 John Levon <levon@movementarian.org>
2507 * text2.C: simplification of cursorEnd(), including partial
2510 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * buffer.C (readFile): add a space
2514 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2516 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2518 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * buffer.C (readFile): new function, take a filename and a
2521 ParagraphList::iterator
2523 (readFile): adjust, make it private. don't use setStream, make
2524 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2525 always contain the filename.
2527 * BufferView.C (insertLyXFile): simplify and make it work for
2530 2003-08-30 John Levon <levon@movementarian.org>
2532 * Makefile.am: fix dist (from Kayvan)
2534 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2536 * most files: change to use const Buffer refs
2538 2003-08-27 André Pönitz <poenitz@gmx.net>
2540 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2541 on top of ownerPar().
2543 2003-08-27 John Levon <levon@movementarian.org>
2545 * funcrequest.C: properly initialise POD members
2547 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2549 * lyxtext.h (top_y): move top_y from here
2554 * BufferView_pimpl.[Ch]: to here
2555 * frontends/screen.C:
2556 * insets/insettabular.C:
2557 * insets/insettext.C: adjust
2558 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2560 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2563 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2565 2003-08-26 André Pönitz <poenitz@gmx.net>
2567 * paragraph_func.[Ch] (outerPar): new function
2570 * paragraph_funcs.C:
2571 * paragraph_funcs.h:
2572 * paragraph_pimpl.C:
2573 * text2.C: remove Inset::par_owner
2575 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2580 * text2.C: eliminates the needFullRow/display() stuff
2581 altogether, putting the logic in metrics/draw in the insets.
2583 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2585 * text2.C (redoParagraphInternal, redoParagraphs):
2586 * text.C (redoParagraph): add a call to updateRowPositions at the
2587 end of each 'metrics-like' call. Remove all others.
2588 (getRow): remove the 'y-computing' version.
2589 (getRowNearY): do not compute nor return the real y. Solve the
2590 'y < 0' problem and simplify.
2592 2003-08-22 Angus Leeming <leeming@lyx.org>
2594 * *.[Ch]: clean-up of licence and author blurbs.
2595 Also move config.h out of a few .h files and into a few .C files.
2597 2003-08-22 André Pönitz <poenitz@gmx.net>
2599 * lyxrow.[Ch]: add x_ and *fill_ members
2604 * text2.C: adjust/remove prepareToPrint() calls
2606 2003-08-22 André Pönitz <poenitz@gmx.net>
2608 * lyxrow.[Ch]: add end_ member
2610 * lyxrow_funcs.C: use LyXRow::end_
2612 * lyxtext.h (singleWidth): add LyXFont parameter
2615 * text2.C: adjust LyXText::singleWidth() calls
2617 * text.C (redoParagraph): simplify row breaking logic
2620 2003-08-19 André Pönitz <poenitz@gmx.net>
2622 * funcrequest.C: initialize button_ member
2625 * rowpainter.[Ch]: interface consolidation
2627 2003-08-18 André Pönitz <poenitz@gmx.net>
2630 * BufferView_pimpl.C:
2632 * paragraph_funcs.C:
2634 * text3.C: remove LyXScreen::draw() and fitCursor calls
2636 * BranchList.h: remove spurious semicolons
2638 * MenuBackend.C: fix branchlist related crash
2640 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2648 * bufferparams.[Ch]:
2652 * text3.C: implements the 'branch inset'
2653 idea. This allows the output of various versions of a document
2654 from a single source version, selectively outputing or suppressing
2655 output of parts of the text.
2656 This implementation contains a 'branch list editor' in a separate
2657 tab of the document settings dialog. Branches are user definable
2658 and have a "display colour" to distinguish them on-screen.
2660 ColorHandler was somewhat cleaned up.
2661 (1) make possible a dynamically growing LColor list by allowing
2662 the graphic context cache to grow along (vector);
2663 (2) eliminate an IMHO unnecessary step in colour allocation.
2665 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2667 * BufferView_pimpl.C: compile fix
2669 2003-08-15 André Pönitz <poenitz@gmx.net>
2671 * rowpainter.C: remove extra metrics calls
2673 * lyxtext.h: merge the two constructors into a single one,
2674 pass reference to owner's par list
2676 * BufferView_pimpl.C:
2680 2003-08-15 André Pönitz <poenitz@gmx.net>
2682 * lyxrow_funcs.[Ch]:
2685 * paragraph_funcs.C:
2690 * text_funcs.C: split LyXText::rowlist_ into individual
2691 Paragraph::rows_ chunks
2694 * BufferView_pimpl.[Ch]:
2697 * text3.C: remove toggleSelection()
2699 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2701 * bufferlist.C: beautify two alerts (shorter text of buttons)
2702 * buffer.C: Remove redundant ' ' from message
2704 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2705 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2706 rename VALIGN_CENTER to VALIGN_MIDDLE
2708 2003-08-11 André Pönitz <poenitz@gmx.net>
2710 * lyxtext.h (getPar):
2711 * text.C: new function
2713 2003-08-11 André Pönitz <poenitz@gmx.net>
2716 * tracer.[Ch]: remove unneeded files
2718 * InsetList.[Ch]: remove resizeInsetsLyXText()
2723 * text3.C: merge insertParagraphs() and appendParagraph()
2724 remove breakAgain(), update()
2726 * BufferView_pimpl.[Ch]:
2727 * bufferview_funcs.[Ch]:
2731 * tabular.C: adjust after text & InsetList changes.
2733 2003-08-08 André Pönitz <poenitz@gmx.net>
2735 * text.C (insertChar, backspace): replace rowlist fiddling
2736 with rebreak of full par
2739 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2740 checkParagraph, updateInset): removed
2742 2003-08-07 André Pönitz <poenitz@gmx.net>
2745 * text3.C: merge some LFUN handlers, remove dead code
2747 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2749 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2751 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2753 * text2.C (DEPM): fix part of bug 1255 and 1256
2755 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2757 * BufferView_pimpl.C (workAreaDispatch): change to use
2758 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2759 that are no mouse related.
2761 2003-08-05 André Pönitz <poenitz@gmx.net>
2764 * BufferView_pimpl.[Ch]:
2765 * bufferview_funcs.C:
2767 * text3.C: rip out "deep update"
2769 * textcursor.[Ch] (last_sel_cursor): remove unused member
2771 2003-08-04 André Pönitz <poenitz@gmx.net>
2774 * BufferView_pimpl.[Ch]:
2775 * ParagraphParameters.C:
2776 * bufferview_funcs.C:
2782 * text3.C: replace "complicated" BufferView::update(...) calls with
2785 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2787 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2789 * Makefile.am (lyx_SOURCES): add paper.h
2791 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2793 * Makefile.am: move things around so that both lyx-qt and
2794 lyx-xforms can be built (according to --with-frontend). Then lyx
2795 is a symbolic link to lyx-[firstfrontend]
2797 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2799 * Always use std::endl with lyxerr
2801 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2803 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2805 2003-08-01 André Pönitz <poenitz@gmx.net>
2808 * BufferView_pimpl.[Ch]:
2810 * text3.C: merge BufferView::repaint() and BufferView::update()
2812 2003-08-01 José Matos <jamatos@lyx.org>
2814 * buffer.[Ch]: file_format is no longer a buffer data element.
2816 2003-08-01 André Pönitz <poenitz@gmx.net>
2821 * text2.C: make redoParagraph more independent of current cursor
2823 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2825 * text2.C: remove unneeded members
2827 2003-07-30 André Pönitz <poenitz@gmx.net>
2829 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2831 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2832 create a single function...
2834 * paragraph_funcs.C (moveItem): ... here.
2837 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2839 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2841 * LColor.[Ch]: Add comment and greyedout logical colors.
2843 2003-07-30 André Pönitz <poenitz@gmx.net>
2845 * tabular.C: don't use Assert too heavily. This crashes where it
2848 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2850 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2851 is disabled (bug 1232)
2853 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2855 * factory.C: limited 'arg' scope
2857 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2859 * factory.C: fixed Note submenu issues
2861 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2863 * factory.C: submenu for Note/Comment/Greyedout
2865 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2868 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2870 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2873 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2874 greyedout. Patch provided by Jürgen Spitzmüller.
2876 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2878 * kbmap.C (read): fix error message when reading bind files
2880 2003-07-29 Angus Leeming <leeming@lyx.org>
2882 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2883 certainly does not do what it purports to do. I am doing it, and
2884 us, a favour by killing it.
2886 2003-07-28 José Matos <jamatos@lyx.org>
2888 * buffer.C (readBody, do_writeFile):
2889 * paragraph.C(readParagraph): \end_document replaces \the_end.
2891 2003-07-29 André Pönitz <poenitz@gmx.net>
2894 * BufferView_pimpl.[Ch]:
2898 * textcursor.[Ch]: remove toggleToggle & Co
2900 2003-07-28 José Matos <jamatos@fep.up.pt>
2902 * buffer.C (readParagraph):
2903 * params_func (readParToken, readParagraph):
2904 * paragraph.C (write): \layout -> \begin_layout.
2906 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * lyxlex_pimpl.C (setFile): clean up slightly.
2910 * bufferparams.h: add compressed var
2912 * buffer_funcs.C (readFile): adjust for LyXLex change
2913 (newFile): ditto + simplify
2915 * buffer.C (writeFile): handle writing of compressed files
2917 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2918 Check if the file is compressed and set a bufferparm if so.
2920 * Makefile.am (lyx_LDADD): remove explicit -lz
2922 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2924 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2925 makeDocBookFile): put the real LyX version in the first line of
2929 * version.C.in: remove lyx_docversion
2931 * tabular.C (write_attribute): add a template-based version to
2932 write enums properly
2934 2003-07-28 André Pönitz <poenitz@gmx.net>
2939 * text3.C: use doubles again for x-coordinates. They are needed.
2941 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * messages.C (getLocaleDir): use lyx_localedir()
2945 * lyxlex_pimpl.C (setFile): compress stuff
2947 * buffer.C (writeFile): add some compression stuff
2948 (do_writeFile): new func, dont call expliti close... will this
2951 * Makefile.am (lyx_LDADD): add -lz
2953 2003-07-28 José Matos <jamatos@fep.up.pt>
2955 * buffer.C: increment file format.
2956 * paragraph_funcs (readParagraph, readParToken):
2957 * paragraph.C (readParagraph): add \end_layout.
2959 2003-07-27 Angus Leeming <leeming@lyx.org>
2961 * Makefile.am: remove special casing for configure-time setting of
2962 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2964 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2965 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2967 2003-07-26 André Pönitz <poenitz@gmx.net>
2969 * paragraph_func.[Ch]:
2970 * paragraph.C (realizeFont): inline it whereever it is used
2975 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2978 2003-07-26 André Pönitz <poenitz@gmx.net>
2982 * text2.C: get rid of LyXText::need_break_row
2984 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * toc.[Ch]: put namespace toc inside namespace lyx
2988 * MenuBackend.C (expandToc2): adjust for lyx::toc
2991 * lyxfunc.C (dispatch): adjust for lyx::find
2993 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2994 lyx::find instead. Reorganize a bit.
2995 (LyXReplace): rename to replace
2996 (LyXFind): rename to find
2998 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3001 2003-07-26 André Pönitz <poenitz@gmx.net>
3003 * text.C (setHeightOfRow): restrict scope of temporary variable
3005 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3006 code (never has been used?)
3008 2003-07-27 Asger Alstrup <alstrup@local>
3010 * text.C (fill): Optimise algorithm to exploit that we can reuse
3011 the LyXFont for many characters.
3012 (setHeightOfRow): Same thing.
3013 (rowBreakPoint): Same thing.
3015 2003-07-26 Asger Alstrup <alstrup@local>
3017 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3019 * text.C (singleWidth): Spurious font copying in hot-spot
3020 singleWidth avoided. Reorder tests for arabic for efficiency.
3022 * text.C (fill): handle empty paragraphs better.
3024 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3027 * encoding.h: add includes
3029 * lyxrc.C: remove reading of bind files
3031 * lyx_main.C (init): setup bindings and menus only if we have a
3034 * kbmap.C (read): new method. Do the actual reading of bind
3037 * converter.C (dvipdfm_options):
3040 (output): adapt PAPER_* enums.
3042 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3044 * bufferparams.h: remove paper-related enums from there
3046 * paper.h: New file. A trivial header file to hold paper-related
3047 enums. It should later expand to contain many paper-related
3050 * lyxrc.C: declare extern displayTranslator
3052 2003-07-27 José Matos <jamatos@fep.up.pt>
3054 * tabular.[Ch] (linuxdoc): add support for tables and figures
3057 2003-07-27 José Matos <jamatos@fep.up.pt>
3059 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3060 consistency in both functions.
3061 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3063 2003-07-26 Asger Alstrup <alstrup@local>
3065 * rowpainter.C (paintRows): Change algorithm to work directly on
3066 the insets rather than asking every character in the document
3067 whether its an inset.
3069 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3071 * buffer.C (openFileWrite): factorize some code
3073 2003-07-26 Angus Leeming <leeming@lyx.org>
3076 * lyx_main.[Ch]: replace occurances of system_tempdir with
3079 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * rename Inset to InsetOld
3083 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3085 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3086 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3087 which I think is a bit clearer. EDIT is gone, since it was
3088 premature optimisation, and broken for mathed anyway.
3089 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3090 with cursor positioning in insets as well (math insets still do not
3091 work, but that's a different story anyway.) It mysteriously
3092 crashes sometimes with undo in the first paragraph, but I'm fairly
3093 confident that this is a compiler bug.
3095 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * paragraph.C (Paragraph): adjust for new clone return type
3099 (copyIntoMinibuffer): ditto
3101 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3103 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3104 by not having a special case, and always doing a full rebreak of
3105 the document after undo.
3107 2003-07-23 Angus Leeming <leeming@lyx.org>
3109 * factory.C (createInset): InsetExternal::setParams now takes a
3112 2003-07-23 Angus Leeming <leeming@lyx.org>
3114 * factory.C (createInset): changed interface to the external and
3115 graphics mailers' string2params functions.
3117 2003-07-23 Angus Leeming <leeming@lyx.org>
3119 * factory.C (createInset): pass a
3120 Buffer const * parameter to InsetExternalMailer's string2params.
3122 2003-07-22 John Levon <levon@movementarian.org>
3124 * Thesaurus.h: include the right aiksaurus header
3126 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * MenuBackend.C (expand): check menu shortcuts unconditionally
3130 2003-07-21 Angus Leeming <leeming@lyx.org>
3132 * factory.C (createInset): pass a
3133 buffer_path parameter to InsetGraphicsMailer's string2params.
3135 2003-07-21 Angus Leeming <leeming@lyx.org>
3137 * BufferView_pimpl.C (buffer):
3140 * lyxfunc.C (dispatch):
3141 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3142 rather than the grfx shortcut.
3144 2003-07-21 André Pönitz <poenitz@gmx.net>
3146 * rowpainter.C: remove unused variables
3149 * tabular_funcs.h: move to tabular.C
3150 * Makefile.am: adjust
3152 * tabular.[Ch]: basic optical cleaning
3154 * author.h: pass references, not values
3156 2003-07-18 André Pönitz <poenitz@gmx.net>
3164 * text3.C: two-phase drawing for InsetText and InsetTabular
3165 some float -> int changes.
3167 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3169 * lyx_main.C: fix the fix
3171 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3173 * lyx_main.C: fix a crash in batch mode if no files specified
3176 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3178 * format.[Ch] (papersize): moved to BufferParams
3179 * converter.[Ch] (dvips_options): moved to BufferParams
3180 (dvipdfm_options): moved to anon namespace
3181 * bufferparams.[Ch]: added above functions.
3183 2003-07-17 André Pönitz <poenitz@gmx.net>
3187 * text2.C: don't call inset->update() anymore
3189 * metricsinfo.[Ch]: add convenience constructor
3191 2003-07-16 André Pönitz <poenitz@gmx.net>
3196 * text2.C: replace the LyXCursor::irow_ member with
3197 on-demand computation of the value
3199 2003-07-16 John Levon <levon@movementarian.org>
3201 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3203 2003-07-15 André Pönitz <poenitz@gmx.net>
3206 * text2.C: remove no more needed refresh_row
3208 2003-07-15 André Pönitz <poenitz@gmx.net>
3213 * text3.C: refresh_status tristate -> need_update bool
3215 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3217 * lyxtext.h (init): remove reinit argument (act as if always true)
3218 * text2.C: adjust to that
3220 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3222 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3223 * text3.C: use it to delete selections in some cases
3224 (bugs 441, 673, 702, 954).
3226 2003-07-14 André Pönitz <poenitz@gmx.net>
3228 * rowpainter.[Ch]: reduce interface
3230 2003-07-14 André Pönitz <poenitz@gmx.net>
3232 * BufferView_pimpl.C:
3233 * text2.C: adjust after removing unused BufferView * argument
3235 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3237 * text2.C (init): fix a crash fired on resize
3239 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3241 * buffer.[Ch]: added new closing signal
3242 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3243 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3244 BufferView::Pimpl via the closing the signal
3246 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3248 * buffer.[Ch]: take out all bv-related from buffer
3250 * BufferView_pimpl.[Ch]: connect to new signals
3251 * CutAndPaste.C: removed useless asserts
3252 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3255 * lyxfunc.C: moved view-related funciontality from vc here
3256 * paragraph.C: removed outdated comments
3259 2003-07-10 André Pönitz <poenitz@gmx.net>
3261 * BufferView_pimpl.C:
3265 * text2.C: remove InsetText::InnerCache, clean up consequences
3267 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3269 * ispell.C: fix two typos in error messages
3271 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3273 * Extend Note inset to other forms of annotation like Comment
3274 and Greyedout. Right button click gives dialog.
3276 Files modified or added (+):
3280 * ControlNote.[Ch] +
3282 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3283 frontends/controllers
3287 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3289 * aspell.C: add missing namespace lyx::support
3291 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3293 * BufferView.[Ch] (newFile): Add
3294 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3295 * LaTeX.[Ch] (message): added this signal and use it
3296 * buffer.[Ch] (busy, message): added these signals and use them
3297 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3301 * importer.C: use buffer signals instead of direct bv calling
3302 * lyx_cb.[Ch] (ShowMessage): removed
3305 * paragraph_funcs.C:
3306 * text2.C: use buffer signals
3308 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * introduce namespace lyx::graphics
3312 2003-07-02 André Pönitz <poenitz@gmx.net>
3314 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3316 2003-07-01 André Pönitz <poenitz@gmx.net>
3323 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3324 text*.C to text_func.C
3326 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * introduce namespace lyx::support
3330 2003-06-30 André Pönitz <poenitz@gmx.net>
3335 * text.C: re-enable --with-included-string
3337 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * textcursor.C: add <config.h>
3341 * text.C (getWord): remove const from word_location arg
3343 * lyxvc.C (getLogFile): fix const type order
3345 * lyxtext.h: remove const from word_location arg, add arg name
3347 * lyxlayout.h: currect type on labeltype.
3349 * importer.C: correct \file
3351 * converter.C (intToFormat): use std:: on ret val, ws changes
3353 * bufferlist.h: correct \file
3355 * buffer.C (makeLinuxDocFile): fix const type order
3356 (makeDocBookFile): ditto
3357 (fillWithBibKeys): use std:: on stdlib args.
3359 * CutAndPaste.C: fix authors.
3360 (availableSelections): use std:: on return vector
3362 2003-06-27 André Pönitz <poenitz@gmx.net>
3364 * BufferView_pimpl.C:
3365 * bufferview_funcs.C:
3373 * text3.C: remove LyXCursor::row_ member
3376 * text.C: rename fullRebreak() to partialRebreak() and implement
3377 a fullRebreak() that really bereks fully
3379 * textcursor.h: new struct for cursor-related data
3381 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3383 * lyx_main.C (LyX): get full path of document loaded on the
3386 2003-06-26 André Pönitz <poenitz@gmx.net>
3388 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3389 remove unused/broken operator>,<,>=.
3391 * text.C: remove only use of broken operator<= in an Assert().
3393 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3395 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3396 moved errorlist_.clear to showErrorList
3398 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3400 * converter.C (scanLog, runLaTeX):
3401 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3402 move the bv->showErrorList call to the callers
3403 * lyxfunc.C: i.e. here...
3405 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3406 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3407 namespace, the second to...
3408 * buffer_funcs (BufferFormat, parseErrors): added
3409 * errorlist.C (ErrorList(TeXErrors const &)): removed
3411 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3413 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3415 2003-06-24 "Garst R. Reese" <reese@isn.net>
3419 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3421 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3423 * version.C.in: change docversion to 1.4
3425 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3427 * buffer.C: fix a bug just introduced
3429 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3431 * buffer.[Ch]: added the parseError signal and use it, removed
3433 * BufferView.[Ch] (addError): moved to ...
3434 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3435 to the Buffer::parseError signal to catch (guess what) parse errors
3436 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3438 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3440 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3441 ability to create a buffer and to return an existing one from
3442 the list. Moved these functions to...
3443 * buffer_funcs.[Ch]: added
3444 * BufferView.[Ch] (loadLyXFile): added
3445 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3446 job removed from bufferlist::loadLyXFile.
3447 * buffer.C (setReadOnly): make it work without view
3448 (i.e added an if (users))
3450 2003-06-19 Angus Leeming <leeming@lyx.org>
3453 * LyXAction.C (init):
3454 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3455 with LFUN_DIALOG_SHOW <name> <data>.
3457 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3459 * CutAndPaste.C (availableSelections): small compilation fix for
3460 ancient (gcc 2.9x) compilers
3462 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * text3.C (cursorNext): add tmp var
3466 * text2.C (updateCounters): for function calling out of for clause
3467 (replaceSelectionWithString): ditto
3468 (insertStringAsParagraphs): ditto
3469 (getColumnNearX): add tmp var
3470 (setCursorFromCoordinates): add tmp var
3471 (cursorDownParagraph): add tmp var
3472 (deleteEmptyParagraphMechanism): add tmp var
3474 * text.C (insertChar): add tmp var
3476 * rowpainter.C (paintDepthBar): add tmp var
3478 * CutAndPaste.C (availableSelections): potentially check all
3479 paragraphs in a cut to fill the shown strings.
3481 2003-06-18 André Pönitz <poenitz@gmx.net>
3483 * kbmap.[Ch]: use vector<> instead of list<>
3485 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3487 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3488 pasteSelection with index
3490 * text2.C (pasteSelection): modify, call pasteSelection with index
3492 * paragraph.C (asString): reimplement version with no interval to
3493 call the one with interval.
3495 * lyxtext.h: add index arg to pasteSelection
3497 * MenuBackend.C (MenuItem): handle PasteRecent
3498 (Menu::read::Menutags): add md_pasterecent
3500 (expandPasteRecent): new function
3503 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3505 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3507 (availableSelections): new function
3509 2003-06-17 Angus Leeming <leeming@lyx.org>
3511 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3513 2003-06-17 Angus Leeming <leeming@lyx.org>
3516 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3518 * lyxfunc.C (dispatch): invoke it.
3520 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3522 * iterators.C (operator++, ParPosition): reintroduce some
3523 const_cast for the benefit of older compilers.
3525 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3527 * text3.C (dispatch): do not modify clipboard when doing
3528 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3529 LFUN_DELETE_SKIP on a selection selection
3531 2003-06-16 André Pönitz <poenitz@gmx.net>
3537 * tabular.[Ch]: IU of clone() and getLabelList();
3539 2003-06-13 André Pönitz <poenitz@gmx.net>
3541 * tabular.h: compactification
3543 2003-06-12 André Pönitz <poenitz@gmx.net>
3547 * tabular_funcs.h: some renaming plus whitespace
3549 2003-06-12 André Pönitz <poenitz@gmx.net>
3552 * BufferView_pimpl.C:
3558 * toc.C: Return a Paragraph & for ParIterator::operator*()
3560 2003-06-11 John Levon <levon@movementarian.org>
3564 * ToolbarBackend.C: add "Toolbars" section and
3567 2003-06-10 Angus Leeming <leeming@lyx.org>
3570 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3572 * lyxfunc.C (dispatch): invoke it.
3574 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * main.C: protect <ios> with HAVE_IOS
3577 (main): protect sync_with_stdio with HAVE_IOS
3579 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3581 * text2.C (cutSelection): adjust
3582 (pasteSelection): adjust
3584 * messages.C: handle get of empty string
3586 * main.C (main): use sync_with_stdio(false)
3588 * lyxfunc.C (dispatch): adjust
3590 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3591 (WriteAs): remove unneeded BufferView arg.
3593 * bufferparams.h: use correct types on papersize, papersize2 and
3596 * bufferparams.C (readToken): adjust for type
3597 (writeLaTeX): add missing cases to switch.
3599 * bufferlist.C (quitWriteBuffer): adjust
3602 * buffer.C (asciiParagraph): remove some commented code.
3604 * CutAndPaste.C: remove current_view extern variable.
3605 (cutSelection): add BufferParams arg.
3606 (eraseSelection): add BufferParams arg.
3607 (pasteSelection): add Buffer const & arg
3609 2003-06-07 John Levon <levon@movementarian.org>
3612 * paragraph_funcs.C:
3613 * paragraph_pimpl.C:
3617 * paragraph.C: allow InsetERT to freely space lines,
3618 and some consolidation of code
3620 2003-06-06 José Matos <jamatos@fep.up.pt>
3622 * buffer.C (makeDocBookFile): fix bug #821
3624 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3626 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3628 2003-06-04 Angus Leeming <leeming@lyx.org>
3630 * buffer.C: bump format to 224.
3632 2003-06-05 André Pönitz <poenitz@gmx.net>
3634 * text2.C (redoParagraphs): remove two const_cast<>
3636 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3638 * ParagraphList.h: remove last remnants of NO_STD_LIST
3640 2003-06-03 Angus Leeming <leeming@lyx.org>
3642 * factory.C (createInset): small change to the way InsetExternal's params
3645 2003-06-04 André Pönitz <poenitz@gmx.net>
3647 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3649 * paragraph_pimpl.h:
3650 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3652 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3654 * undo_funcs.C: make some simple cases of undo work again
3656 2003-06-03 John Levon <levon@movementarian.org>
3658 * ispell.C: HPUX doesn't have sys/select.h
3661 2003-06-03 John Levon <levon@movementarian.org>
3663 * CutAndPaste.C: update tabular and include inset
3668 * paragraph.C: remove owningBuffer(), don't pass Buffer
3671 * factory.C: insetGraphicsParams changed
3673 2003-06-02 John Levon <levon@movementarian.org>
3679 * text3.C: remove insetparent
3681 2003-06-02 John Levon <levon@movementarian.org>
3684 * buffer.C: fix inset_iterator.end(), move out of line
3687 2003-06-01 John Levon <levon@movementarian.org>
3689 * text3.C: use a proper cut/paste when doing inset
3690 insert (from Jürgen Spitzmüller)
3692 2003-06-01 John Levon <levon@movementarian.org>
3694 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3696 2003-05-30 André Pönitz <poenitz@gmx.net>
3698 * rowpainter.C: unify second drawing phase
3700 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * trans_mgr.C: remove one case of current_view
3704 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3706 * paragraph_funcs.h: remove paragraph.h include
3708 * paragraph.h: delete NO_STD_LIST stuff
3710 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3712 * buffer.h: remove paragraph.h include
3714 * ParagraphList.C: delete file
3716 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3718 * toc.C (getTocList): adjust
3720 * paragraph_pimpl.C (validate): adjust
3722 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3724 * paragraph.C (Paragraph): adjust
3725 (getPositionOfInset): use const_iterator, adjust
3726 (bibitem): use const_iterator, adjust
3727 (setInsetOwner): adjust
3729 * iterators.C (operator++): adjust
3731 * InsetList.[Ch]: Replace selfmade iterator with standard
3732 vector::iterator also introduce const_iterator. Remove getPos,
3733 getInset and setInset from InsetTable. Adjust accordingly.
3735 * BufferView.C (lockInset): adjust
3736 (ChangeInsets): adjust
3738 * tabular.[Ch]: delete commented same_id functions
3740 2003-05-28 John Levon <levon@movementarian.org>
3742 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3744 2003-05-28 André Pönitz <poenitz@gmx.net>
3746 * metricsinfo.[Ch]: remove 'fullredraw' member
3748 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3750 * lyxtextclass.C (operator): remove caching.
3752 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * text2.C (cursorBottom): adjust
3757 (setCounter): use ParagraphList::find, adjust
3759 * text.C (workWidth): use ParagraphList::find, adjust
3761 * lyxcursor.C (LyXCursor): adjust
3763 * buffer.C (inset_iterator): adjust
3765 * ParagraphList.h: make iterator(value_type) private, make
3766 ParagraphList a friend of iterator.
3768 * ParagraphList.C (find): new function
3770 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3772 2003-05-27 André Pönitz <poenitz@gmx.net>
3774 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3776 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3778 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3780 2003-05-26 John Levon <levon@movementarian.org>
3782 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3784 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3786 * remove same_id from function signatures, adjust.
3788 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3792 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3794 * paragraph.C (Paragraph): get rid of same_ids parameter
3796 * ParagraphList.C (insert): adjust
3799 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3801 * paragraph_funcs.C (breakParagraph): adjust
3802 (breakParagraphConservative): adjust
3804 * buffer.C (readParagraph): adjust
3806 * ParagraphList.C (insert): take a reference instead of a pointer
3809 * paragraph.[Ch] (id): new function
3811 * bufferlist.C (newFile): adjust
3813 * ParagraphList.C (ParagraphList): adjust
3815 (push_back): take a reference instead of a pointer.
3817 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3819 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3822 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3823 set else use old code.
3825 * ParagraphList.C: remove all NO_NEXT code and only compile this
3826 code of NO_STD_LIST is set.
3828 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3830 * BufferView_pimpl.C:
3840 * graphics/GraphicsConverter.C:
3841 * graphics/PreviewLoader.C: header adjustment
3843 2003-05-23 Angus Leeming <leeming@lyx.org>
3845 * LaTeXFeatures.[Ch] (useBabel): new method.
3846 * bufferparams.C (writeLaTeX): use it.
3848 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * ParagraphList.h (set): remove unused function.
3852 2003-05-23 André Pönitz <poenitz@gmx.net>
3855 * BufferView_pimpl.C:
3859 * undo_funcs.C: setUndo reworked
3861 * iterators.[Ch]: add access to topmost ParagraphList
3863 * lyxtext.[Ch] (workWidth): add a const
3865 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3867 * texrow.[Ch] (increasePos): remove function
3868 * exporter.C (export): removed unused var and outdated comment
3870 2003-05-23 Angus Leeming <leeming@lyx.org>
3872 * latexrunparams.h: rename fragile as moving_arg.
3873 * paragraph.C (simpleTeXOnePar): ditto.
3874 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3876 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3880 (textUndoOrRedo): comment out a currently unused var.
3882 * paragraph.h (NO_NEXT): enable NO_NEXT
3884 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3886 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3888 * exporter.C (Export): adjust for removeAutoInsets removal.
3890 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3892 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3894 * BufferView.[Ch] (removeAutoInsets): delete function
3896 2003-05-22 Angus Leeming <leeming@lyx.org>
3898 * latexrunparams.h: add a free_spacing variable.
3900 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3901 to pass moving_arg, as the data is stored in runparams.fragile.
3903 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3904 to Inset::latexOptional or to simpleTeXOnePar.
3906 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3907 free_spacing arg to Inset::latexOptional.
3909 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3912 2003-05-22 Angus Leeming <leeming@lyx.org>
3914 * latexrunparams.h: add fragile and use_babel variables.
3916 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3917 * buffer.C (makeLaTeXFile): store this returned value in
3918 runparams.use_babel, thus passing it to the inset::latex methods.
3920 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3921 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3923 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3924 longer has a fragile arg, as it is stored in runparams.fragile.
3926 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3927 moving_arg parameter as the data is stored in runparams.fragile.
3929 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3930 a fragile parameter as the data is stored in runparams.fragile.
3932 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3936 2003-05-22 Angus Leeming <leeming@lyx.org>
3938 * latexrunparams.h: add a 'bool nice' which defaults to false.
3940 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3941 now encapsulated within runparams.
3943 * bufferlist.C (updateIncludedTeXfiles):
3944 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3946 2003-05-22 Angus Leeming <leeming@lyx.org>
3948 * latexrunparams.h: new file containing struct LatexRunParams.
3949 * Makefile.am: add new file.
3951 * LaTeX.[Ch] (c-tor, run):
3952 * buffer.[Ch] (makeLaTeXFile):
3953 * bufferlist.[Ch] (updateIncludedTeXfiles):
3954 * converter.C (convert, scanLog):
3955 * converter.[Ch] (runLaTeX):
3956 * exporter.C (Export):
3957 * paragraph.[Ch] (simpleTeXOnePar):
3958 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3959 * paragraph_funcs.[Ch] (latexParagraphs):
3960 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3961 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3962 pass around a LatexRunParams parameter.
3964 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * paragraph.[Ch]: remove unused constructor
3968 * ParagraphList.C (erase): new function, taking two iterators
3970 2003-05-22 André Pönitz <poenitz@gmx.net>
3972 * undo_funcs.C: remove duplicated code
3974 * iterator.[Ch]: operator=
3976 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * tabular.C (SetMultiColumn): ws changes
3980 * rowpainter.C (paintFirst): get rid of a ->previous
3982 * lyx_cb.C (getPossibleLabel): parlist simplification
3984 * BufferView.C (ChangeInsets): simplify slightly.
3986 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3988 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3989 * lfuns.h: new LFUN_SPACE
3990 * lyxfunc.C: protected space has a new lfun
3991 * paragraph_funcs.C: read new space insets
3993 * factory.C: handle new space insets
3995 2003-05-22 André Pönitz <poenitz@gmx.net>
3998 * BufferView_pimpl.C:
4001 * undo_funcs.C: return a ParIterator from getParFromID.
4003 * iterators.[Ch]: add two const's
4005 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * toc.C (getTocList): adjust
4009 * iterators.[Ch]: rework for parlist
4011 * buffer.C (par_iterator_begin): adjust
4012 (par_iterator_end): adjust
4014 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4016 * BufferView.C (removeAutoInsets): adjust
4017 (ChangeInsets): adjust
4019 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4021 * text.C (top_y): fix bug 1110
4023 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4025 * errorlist.[Ch]: added
4028 * BufferView_pimpl.C:
4029 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4032 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * Makefile.am: ensure that lyx is relinked upon changes to the
4035 various "convenience" libs.
4037 2003-05-20 Angus Leeming <leeming@lyx.org>
4039 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4040 files are compiled in alphabetical order again.
4042 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4044 2003-05-19 Angus Leeming <leeming@lyx.org>
4046 * gettext.[Ch]: remove "char const * _(char const *)".
4048 2003-05-19 André Pönitz <poenitz@gmx.net>
4050 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4059 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4061 2003-05-19 André Pönitz <poenitz@gmx.net>
4065 * lyxtextclass.[Ch]:
4067 * paragraph_funcs.[Ch]:
4069 * text3.C: more insetenv work
4071 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4073 * ParagraphParameters.C (params2string): small bug fixed
4075 2003-05-16 André Pönitz <poenitz@gmx.net>
4078 * bufferview_funcs.C: patch from Kornel Benko to prevent
4079 crash when _(...) is called twice in a statement
4081 2003-05-16 André Pönitz <poenitz@gmx.net>
4088 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4090 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4092 * lyx_main.C (init): remove spurious static_cast
4094 2003-05-14 André Pönitz <poenitz@gmx.net>
4096 * BufferView.C: fix format string
4098 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4100 * BufferView.[Ch] (insertErrors): removed
4101 * BufferView.[Ch] (showErrorList): added
4102 * buffer.C (runChkTeX):
4103 * converter.C (scanLog): call showErrorList instead of inserterrors
4105 2003-05-13 André Pönitz <poenitz@gmx.net>
4107 * BufferView_pimpl.C:
4109 * bufferview_func.C:
4116 * tabular_funcs.h: tostr() from its own header
4118 * ParagraphParameters.C:
4123 * text3.C: STRCONV()
4125 2003-05-12 André Pönitz <poenitz@gmx.net>
4128 * BufferView_pimpl.C:
4132 * ParagraphParameters.C:
4136 * bufferview_funcs.C:
4149 * paragraph_funcs.C:
4153 * text3.C: boost::format -> bformat all over the place
4156 2003-05-09 André Pönitz <poenitz@gmx.net>
4158 * LColor.[Ch]: Pimpl the #include <map> away
4160 2003-05-09 John Levon <levon@movementarian.org>
4162 * bufferlist.C: never remove emergency saves
4164 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4166 * Makefile.am: better lib building
4168 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4172 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4173 (simpleTeXSpecialChars): adjust
4174 (simpleTeXSpecialChars): adjust
4175 * paragraph.C (simpleTeXOnePar): adjust
4176 * buffer.C (makeLaTeXFile): adjust
4178 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4180 * text2.C (changeDepth): parlist cleanup
4181 (getColumnNearX): ditto
4183 * rowpainter.C (getLabelFont): parlist cleanup
4185 * bufferlist.C (newFile): parlist cleanup
4187 * CutAndPaste.C (eraseSelection): parlist cleanup
4189 * BufferView_pimpl.C (trackChanges): parlist cleanup
4192 * BufferView.C (lockInset): parlist cleanup.
4193 (ChangeInsets): ditto
4195 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * CutAndPaste.h: Update file header.
4199 * CutAndPaste.C: Update file header.
4200 Store the parts cut out of the Document in a limited_stack.
4201 (copySelection): adjust
4202 (pasteSelection): new function, takes the index in the limited stack.
4203 (nrOfParagraphs): adjust
4204 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4205 simplify error inset insertion.
4206 (checkPastePossible): adjust
4208 2003-05-06 John Levon <levon@movementarian.org>
4210 * text2.C: don't cast wrap inset to float
4212 2003-05-05 André Pönitz <poenitz@gmx.net>
4215 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4217 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4218 few naked Paragraph *.
4220 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4222 * bufferparams.C: Output warning if a document with missing
4223 TeX document class is loaded
4224 * exporter.C: Disable TeX exports if the document class is missing
4227 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4228 isTeXClassAvailable()
4230 2003-05-03 John Levon <levon@movementarian.org>
4233 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4234 explicit cursor show/hide
4236 * BufferView_pimpl.h:
4237 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4238 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4240 * lyxfunc.C: hide cursor before dispatching.
4245 * text3.C: remove explicit cursor hides
4247 2003-05-02 André Pönitz <poenitz@gmx.net>
4249 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4252 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4255 * text2.C: tiny whitespace
4257 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * undo_funcs.C: almost only ws changes.
4261 * ParagraphList.C (splice): just return if pl is empty.
4263 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * ParagraphList.C (splice): new function.
4267 * CutAndPaste.C (pasteSelection): use it
4269 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * CutAndPaste.C (pasteSelection): remove the last next and
4272 previous from this file.
4274 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * CutAndPaste.C (pasteSelection): more clean up, user proper
4277 ParagraphList functions for pasteing.
4279 * ParagraphList.C (insert): new function, three arg insert
4281 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4283 * ParagraphList.C (insert): new function, three arg insert
4285 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4288 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4292 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4296 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4299 (copySelection): clean up a bit.
4300 (pasteSelection): use make_pair
4302 * ParagraphList.C (ParagraphList): implement copy constructor
4303 (operator=): implement, base on copy constructor.
4306 * paragraph.C (erase): return a bool
4308 * paragraph_pimpl.C (erasePos): remove function, move contents...
4309 (erase): ... here. Return a bool.
4310 (erase): call erase instead of erasePos.
4312 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4314 * ParagraphList.h: define PitPosPair
4315 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4316 ParagraphList, fix a bug on pasting multiple pars
4317 * text2.C: change interface to C&P
4319 2003-04-30 André Pönitz <poenitz@gmx.net>
4321 * undo_func.C: revert part of yesterday's patch 2
4323 2003-04-30 John Levon <levon@movementarian.org>
4325 * LColor.C: s/tabular/table/
4327 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * text3.C (dispatch): do not convert iterator -> pointer
4330 * undo_funcs.C (setCursorParUndo): ditto
4331 * text_funcs.C (transposeChars): ditto
4333 * text2.C (setLayout): ws changes only
4335 * text.C (breakParagraph): do not convert iterator -> pointer
4337 (acceptChange): ditto
4338 (rejectChange): ditto
4343 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4346 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4348 * text3.C (gotoInset): YABG (yet another bad getChar)
4350 2003-04-29 André Pönitz <poenitz@gmx.net>
4352 * paragraph.h: make operator= private unimplemented as long as
4355 * ParagraphList.C: whitespace
4358 * paragraph_pimpl.[Ch]:
4359 * paragraph_funcs.C:
4361 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4364 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4366 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4368 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4369 * paragraph.[Ch] (erase):
4370 * paragraph_pimpl.[Ch] (erase): change return type and value
4371 * text2.C (cutSelection): some rework
4373 2003-04-28 John Levon <levon@movementarian.org>
4375 * bufferlist.C: changes for unsaved changes dialog
4377 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * bufferlist.C (newFile): set language (messages_) for new
4382 * buffer.C (readFile): ws changes only.
4384 2003-04-28 André Pönitz <poenitz@gmx.net>
4389 * BufferView_pimpl.C:
4390 * BufferView.C: getParFromID related ParagraphList::iterator changes
4392 2003-04-28 André Pönitz <poenitz@gmx.net>
4394 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4397 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * messages.C: remove one more localedir class variable.
4401 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4403 * messages.C (getLocaleDir): singleton generation function
4405 (Messages): add a default constructor.
4407 * main.C (main): do not setup localedir here, do not call
4410 * gettext.C (_): use it.
4411 (gettext_init): delete funciton
4413 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4415 * gettext.C (getLyXMessages): new singleton generating function.
4417 * buffer.C (updateDocLang): adjust
4419 * Makefile.am (messages.o): add target
4420 (main.o): remove target
4422 2003-04-27 John Levon <levon@movementarian.org>
4427 * lyxvc.C: specify cancel button in Alert::prompt
4429 2003-04-26 John Levon <levon@movementarian.org>
4434 * LyXAction.C: add LFUN_INSET_SETTINGS
4436 * lyxfunc.C: don't enable tabular-feature when there's
4437 just any locking inset
4439 2003-04-26 John Levon <levon@movementarian.org>
4441 * bufferlist.C: re-add Cancel to buffer close question
4443 * lyxfunc.C: fix import UI a bit
4445 2003-04-25 John Levon <levon@movementarian.org>
4447 * gettext.C: remove the broken asserts for now
4449 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4451 * messages.C: make case where setlocale cannot comply work better.
4453 * buffer.C (updateDocLang): new function
4454 (changeLanguage): use it
4457 * text2.C (setCounter): use B_ a bit.
4459 * lyxlayout.C (Read): be sure to trim the label strings.
4461 * messages.C (Messages): fix typo in comment
4463 * buffer.C (readFile): set message_ after file is loaded.
4464 (makeDocBookFile): remove double return
4465 (changeLanguage): reset message_ upon language change.
4466 (B_): new func, use this to get translated buffer strings.
4468 * main.C: add myself and Jean Marc as authors.
4470 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * messages.[hC]: pimplify Messages, and three different pimpls to be
4473 used in different circumstances.
4475 * gettext.[Ch]: change for use with new message code.
4477 2003-04-24 André Pönitz <poenitz@gmx.net>
4479 * factory.C: support for eqref
4481 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * messages.[Ch]: add missing char
4485 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4487 * messages.[Ch]: New files
4489 2003-04-18 John Levon <levon@movementarian.org>
4493 * BufferView_pimpl.C:
4497 * text2.C: remove layout-copy/paste (bug 778)
4499 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4501 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4503 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4505 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4506 if they succeed. Act accordingly.
4508 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4510 * text2.C (setCharFont): adjust
4511 (setCounter): adjust
4512 (insertStringAsLines): adjust
4514 * text.C (leftMargin): adjust
4515 (setHeightOfRow): adjust
4517 * rowpainter.C (paintFirst): adjust
4520 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4522 (isFirstInSequence): ditto
4523 (getEndLabel): ditto
4526 * paragraph.C (getParLanguage): comment out some hard stuff.
4528 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4530 (simpleDocBookOnePar): ditto
4531 (makeDocBookFile): use ParagraphList::iterator
4533 * CutAndPaste.C (pasteSelection): adjust
4535 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * text2.C (getFont): adjust
4538 (getLayoutFont): adjust
4539 (getLabelFont): adjust
4541 * paragraph_funcs.C (TeXOnePar): adjust
4543 * buffer.C (simpleLinuxDocOnePar): adjust
4544 (simpleDocBookOnePar): adjust
4546 * CutAndPaste.C (pasteSelection): adjust
4548 * BufferView.C (getEncoding): adjust
4550 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4552 2003-04-16 John Levon <levon@movementarian.org>
4554 * lyxfind.C: use parlist stuff for search/changes
4556 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4560 * text2.C (deleteEmptyParagraphMechanism): adjust
4562 * text2.[Ch] (ownerParagraph): delete func (both of them
4564 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4568 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * ParagraphList.C: prepare for NO_NEXT
4572 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * text2.C (getFont): adjust
4575 (getLayoutFont): adjust
4576 (getLabelFont): adjust
4578 * paragraph.C (getFont): adjust
4579 (getLabelFont): adjust
4580 (getLayoutFont): adjust
4582 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4584 2003-04-15 John Levon <levon@movementarian.org>
4588 * lyx_main.C: handle Include in .ui files
4590 2003-04-15 John Levon <levon@movementarian.org>
4592 * MenuBackend.C: make the doc files length shorter
4595 * ToolbarBackend.C: handle toolbar placement flags,
4598 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4600 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4603 * paragraph_funcs.C (TeXOnePar): adjust
4605 * paragraph.C (getLabelFont): add outerfont arg, adjust
4606 (getLayoutFont): ditto
4607 (simpleTeXOnePar): adjust
4609 * paragraph_pimpl.C (realizeFont): delete func
4611 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4613 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4614 row argument, constify cur argument.
4616 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * text2.C (getFont): adjust
4619 (getLayoutFont): adjust
4620 (getLabelFont): adjust
4622 * paragraph_funcs.C (TeXOnePar): adjust
4623 (outerFont): new func...
4624 (realizeFont): ...moved out from here, changed this to facilitate
4627 * paragraph.C (getFont): take outerfont as arg, adjust
4628 (simpleTeXOnePar): add outerfont arg, adjust
4630 * buffer.C (simpleLinuxDocOnePar): adjust
4631 (simpleDocBookOnePar): adjust
4633 * CutAndPaste.C (pasteSelection): adjust
4635 * BufferView.C (getEncoding): adjust
4637 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * text2.C (setCharFont): adjust
4640 (setCounter): adjust
4642 * text.C (leftMargin): adjust
4643 (setHeightOfRow): adjust
4645 * rowpainter.C (paintFirst): adjust
4648 * paragraph_pimpl.C (realizeFont): adjust
4650 * paragraph.C (isFirstInSequence): move from here...
4651 * paragraph_funcs.C (isFirstInSequence): ...to here
4653 * paragraph.C (outerHook): move from here...
4654 * paragraph_funcs.C (outerHook): ...to here
4656 * paragraph.C (depthHook): move from here...
4657 * paragraph_funcs.C (depthHook): ...to here
4659 * paragraph.C (getEndLabel): move from here...
4660 * paragraph_funcs.C (getEndLabel): ...to here
4662 * text2.C (realizeFont): move from here...
4663 * paragraph_funcs.C (realizeFont): ...to here
4665 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4669 2003-04-14 Angus Leeming <leeming@lyx.org>
4671 * LColor.[Ch]: scrap LColor mathcursor.
4673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * lyxlex.[Ch] (text): delete function
4676 * trans.C (Load): adjust
4677 * paragraph_funcs.C (readParToken): adjust
4679 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4682 vector<char> instead of a char[].
4684 * lyxlex_pimpl.C (getString): adjust
4686 (lex): use getString
4690 * lyxlex.C (text): use pimpl_->getString()
4694 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4697 (makeFontEntriesLayoutSpecific): temp var for par.size()
4698 (setLayout): temp var for ownerParagraphs().end()
4699 (fullRebreak): temp var for rows().end()
4700 (selectionAsString): temp var for boost::next(startpit), realize
4701 that the while really is a regular for loop.
4702 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4703 setCursor in one place.
4704 (setParagraph): temp vr for ownerParagraphs().end()
4705 (updateCounters): make the while loop a for loop
4706 (cutSelection): temp var for ownerParagraphs().end()
4707 (updateInset): make the do {} while() a regular for loop
4708 (getCursorX): use temp vars
4709 (setCurrentFont): use temp vars
4710 (getColumnNearX): use temp vars
4712 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * text.C (transformChar): use temp var for getChar
4715 (computeBidiTables): use temp var for row->par()
4716 (fill): move temp vars for row->par() and pit->layout() earlier in
4718 (labelFill): use temp var for row->par()
4719 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4720 asc and desc, realize that pit never changes and that firstpit is
4721 just a duplicate and not needed. Exchange rit->par() with pit in a
4723 (breakAgain): use a temp var for boost::next(rit)
4724 (breakAgainOneRow): ditto
4725 (breakParagraph): use a temp var for rows().begin()
4726 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4727 (cursorRightOneWord): use temp var for cursor.par() and
4728 cursor.pos(), remove usage of tmpcursor.
4729 (cursorLeftOneWord): use temp var for cursor.par() and
4730 cursor.pos() only set cur at end of function.
4732 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * text.C, text2.C: exchange all usage of Paragraph::next with
4735 boost::next(ParagraphList::iterator)
4737 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4739 * text2.C (cursorTop): simplify implementation
4740 (cursorBottom): ditto
4741 (setParagraph): use ParagraphList::iterator
4742 (setCurrentFont): adjust
4743 (getColumnNearX): adjust
4744 (cursorRight): adjust
4745 (cursorLeft): remove usage of Paragraph::previous
4746 (cursorUpParagraph): ditto
4747 (deleteEmptyParagraphMechanism): slight cleanup
4749 * text.C (isBoundary): take a Paragraph const & instead of a
4751 (addressBreakPoint): ditto
4752 (leftMargin): remove usage of Paragraph::previous.
4753 (setHeightOfRow): ditto
4754 (cursorLeftOneWord): ditto
4755 (selectNextWordToSpellcheck): ditto
4758 (breakParagraph): remove one usage of Paragraph::next
4759 (redoParagraph): ditto
4760 (acceptChange): ditto
4761 (insertChar): adjust
4762 (rowBreakPoint): adjust
4764 * bufferview_funcs.C (toggleAndShow): adjust
4766 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4768 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4769 methods to access it.
4771 * text.C: Added updateRowPositions to compute all row positions.
4772 Make top_y and getRowNearY() to use the cached y position
4774 2003-04-11 John Levon <levon@movementarian.org>
4776 * text.C (rowBreakPoint): reintroduce the labelEnd
4777 checks, code copied from the row fill stuff. Deep voodoo.
4779 * text.C (fill): add a comment and debugging for the
4782 2003-04-11 John Levon <levon@movementarian.org>
4784 * text.C: make sure fullrow insets get wrapped to the next line,
4785 even when they're in a manual label
4787 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * text2.C (insertParagraph): make it take ParagraphList::iterator
4791 (setLayout): make it return ParagraphList::iterator
4792 (redoParagraphs): ditto
4794 (checkParagraph): ditto
4796 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4798 * text2.C: adjust several funcs.
4799 (realizeFont): take a ParagraphList::iterator as arg.
4800 (getLayoutFont): ditto
4801 (getLabelFont): ditto
4802 (setCharFont): ditto
4804 * text.C: adjust several funcs.
4806 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4808 * text.C (selectNextWordToSpellcheck): don't accidentally
4811 2003-04-10 John Levon <levon@movementarian.org>
4813 * ToolbarBackend.C (getIcon): special handling for
4816 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4818 * text2.C (cursorRight): a getChar assert fixed
4820 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * text2.C (getFont): change to take a ParagraphList::iterator
4823 instead of Paragraph*
4824 Adjust several functions.
4826 * text.C (transformChar): change to take a ParagraphList::iterator
4827 instead of Paragraph*
4828 (singleWidth): ditto
4829 Adjust several functions.
4831 * rowpainter.C: adjust several functions
4832 * rowpainter.h:store a ParagraphList::iterator and not a
4836 2003-04-09 John Levon <levon@movementarian.org>
4841 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4842 and the "help" bits as well
4844 2003-04-09 John Levon <levon@movementarian.org>
4847 * ToolbarBackend.C: allow multiple toolbars
4849 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * undo_funcs.C (setCursorParUndo): adjust
4853 * text_funcs.C (transposeChars): adjust
4855 * text3.C (gotoNextInset): adjust
4858 * text2.C (setLayout): adjust
4859 (changeDepth): adjust
4861 (redoParagraphs): adjust
4862 (selectionAsString): adjust
4863 (setParagraph): adjust
4864 (insertInset): adjust
4865 (cutSelection): adjust
4866 (copySelection): adjust
4867 (pasteSelection): adjust
4868 (insertStringAsLines): adjust
4869 (updateInset): adjust
4870 (setCursor): change to take a ParagraphList::iterator parameter
4871 (setCursorIntern): change to take a ParagraphList::iterator parameter
4872 (setCurrentFont): adjust
4873 (cursorLeft): adjust
4874 (cursorRight): adjust
4875 (deleteEmptyParagraphMechanism): adjust
4877 * text.C (breakParagraph): adjust
4878 (insertChar): adjust
4879 (acceptChange): adjust
4880 (rejectChange): adjust
4881 (selectNextWordToSpellcheck): adjust
4882 (changeCase): adjust
4886 * lyxfind.C (SearchForward): adjust
4887 (SearchBackward): adjust
4888 (nextChange): adjust
4890 * lyxcursor.C (par): adjust
4892 * lyxcursor.h: store a ParagraphList::iterator instead of a
4895 * lyx_cb.C (getPossibleLabel): adjust
4897 * bufferview_funcs.C (toggleAndShow): adjust
4899 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4902 * BufferView.C (removeAutoInsets): adjust
4903 (lockedInsetStoreUndo): adjust
4905 2003-04-09 John Levon <levon@movementarian.org>
4907 * ToolbarBackend.C: try icon without argument
4908 if with argument fails
4910 2003-04-08 John Levon <levon@movementarian.org>
4913 * ToolbarBackend.C: add getIcon(), handle tooltip,
4914 and change from "Icon" to "Item".
4916 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4918 * BufferView.C (lockInset): another bad getchar crunched
4920 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4922 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4925 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4927 * lyxfind.C (searchForward, searchBackwards): bug 782
4929 2003-04-07 John Levon <levon@movementarian.org>
4931 * paragraph.C: remove dead comment
4933 * text.C: remove troublesome depth-fiddling code
4934 in leftMargin() and rightMargin() (bug 1017)
4936 * text.C: fix breaking of rows in nested lists
4939 * text2.C (updateCounters): fix up depth values
4942 2003-04-07 John Levon <levon@movementarian.org>
4944 * BufferView_pimpl.C: clear message when doc finishes resizing,
4945 and after a mouse event
4947 * lyxfunc.C: clear message after exiting inset
4949 2003-04-07 John Levon <levon@movementarian.org>
4951 * bufferview_funcs.C: show math status not outside
4952 status in the statusbar
4954 2003-04-07 John Levon <levon@movementarian.org>
4956 * lyxfunc.C: note status changed after a depth change
4958 2003-04-04 Angus Leeming <leeming@lyx.org>
4960 * LaTeX.h: move AuxInfo operator==, != out of line.
4961 Remove LaTeX virtual destructor; nothing derives from it.
4962 Move operator()() out of public area and rename it startscript().
4963 Change protected for private.
4965 2003-04-04 Angus Leeming <leeming@lyx.org>
4968 * text2.C: remove unneeded #includes.
4970 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4972 * text2.C (dEPM): fix the heigth of the next row
4974 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4976 * text.C: squashed an invalid getChar requester + some ws changes
4978 2003-04-03 John Levon <levon@movementarian.org>
4980 * bufferview_funcs.h:
4981 * bufferview_funcs.C:
4984 * text2.C: make getStatus work for the env depth lfuns
4986 2003-04-03 John Levon <levon@movementarian.org>
4988 * bufferview_funcs.h:
4989 * bufferview_funcs.C:
4992 * text2.C: parlistize decDepth(), by merging it with incDepth()
4994 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * lyxrow.h: store a ParagraphList::iterator instead of a
4997 Paragraph* and adjust other class functions to suit.
4999 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5002 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5004 * text2.C (setCursor): do not anchor to cursor row for the time being
5006 2003-04-02 John Levon <levon@movementarian.org>
5013 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5015 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * paragraph.h: make ParagraphList and ParagraphList::iterator
5018 friends of Paragraph.
5020 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5022 * ParagraphList.C: Use the private next_ and previous_ from
5025 2003-04-01 John Levon <levon@movementarian.org>
5029 * Makefile.am: rename, remove defaults gunk
5032 * MenuBackend.C: remove defaults gunk
5035 * Languages.C: remove defaults gunk
5038 * lyx_main.C: error out if files couldn't be found.
5040 2003-04-02 John Levon <levon@movementarian.org>
5042 * text2.C: make incDepth() use parlist
5044 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * undo_funcs.C (firstUndoParagraph): adjust
5048 * text3.C (gotoInset): adjust
5049 (dispatch): adjust, and rewrite loop.
5051 * text2.C (init): adjust, and rewrite loop.
5052 (redoParagraphs): adjust
5053 (updateInset): adjust, and rewrite loop.
5054 (deleteEmptyParagraphMechanism): adjust
5056 * tabular.C (LyXTabular): adjust
5057 (SetMultiColumn): adjust
5060 * lyxtext.[Ch] (ownerParagraph): delete function
5061 (ownerParagraphs): new function returns a ParagraphList.
5063 * BufferView.C (removeAutoInsets): adjust
5064 (insertErrors): adjust
5065 (setCursorFromRow): adjust
5067 2003-04-01 Angus Leeming <leeming@lyx.org>
5069 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5072 2003-04-02 John Levon <levon@movementarian.org>
5078 * text_funcs.C: make transposeChars a free function
5080 * lyxrow_funcs.C: remove wrong comment
5082 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * rowpainter.C: adjust
5090 * lyxrow_funcs. [Ch]: new files
5092 * lyxrow.[Ch]: remove next and previous pointers
5093 (next,previous): remove accessor functions
5094 (isParEnd): move to lyxrow_funcs
5095 (lastPos): move to lyxrow_funcs
5096 (nextRowIsAllInset): move to lyxrow_funcs
5097 (lastPrintablePos): move to lyxrow_funcs
5098 (numberOfSeparators): move to lyxrow_funcs
5099 (numberOfHfills): move to lyxrow_funcs
5100 (numberOfLabelHfills): move to lyxrow_funcs
5101 (hfillExpansion): move to lyxrow_funcs
5105 * bufferview_funcs.C (toggleAndShow): adjust
5107 * RowList.h: Remove class RowList from file leave just a
5110 * RowList.C: delete file
5112 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5115 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * text3.C (cursorPrevious): adjust
5118 (cursorNext): adjust
5121 * text2.C (redoHeightOfParagraph): adjust
5122 (redoDrawingOfParagraph): adjust
5125 * text.C (breakParagraph): adjust
5126 (insertChar): adjust
5129 * rowpainter.C (RowPainter): adjust
5130 (leftMargin): simplify and adjust
5131 (most rowpainter functions): adjust.
5133 * rowpainter.h: store the row as RowList::iterator not as Row*
5135 * lyxcursor.C (row): taka RowList::iterator as arg
5138 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5141 2003-04-01 Angus Leeming <leeming@lyx.org>
5143 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5144 stuff like bool Bool.
5146 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5148 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5151 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5156 * lyxtext.h (rows): drop one version and leve a const variant that
5157 returns a RowList::iterator.
5159 2003-03-31 Angus Leeming <leeming@lyx.org>
5161 * text.C (fill): ensure that the signature is the same as that in the
5164 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * text2.C (redoParagraphs): adjust
5167 (updateCounters): adjust
5168 (checkParagraph): adjust
5169 (getColumnNearX): adjust and reformat a bit.
5171 * text.C (top_y): adjust
5173 (leftMargin): adjust
5174 (prepareToPrint): adjust
5176 (getRowNearY): adjust
5178 * lyxtext.h: make rowlist_ mutable.
5180 * RowList.h: add const_iterator
5181 * RowList.C: adjust for RowList::const_iterator.
5183 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5186 2003-03-31 John Levon <levon@movementarian.org>
5189 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5191 * lyx_main.C: set default fonts from using lyx_gui funcs
5193 * exporter.C: pdf_mode moved from lyxrc
5196 * lyxfunc.C: changes from above
5198 2003-03-31 John Levon <levon@movementarian.org>
5200 * lyx_main.C: fix to the last fix
5202 2003-03-31 John Levon <levon@movementarian.org>
5204 * bufferlist.C: "Load original" -> "Load Original"
5210 * format.C: more Alert cleanups
5212 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * text2.C (removeParagraph): make it take a RowList::iterator as
5216 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5217 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5219 * text.C (anchor_row): make it take a RowList::iterator as arg,
5221 (computeBidiTables): make it take a const reference to Row instead
5222 of Row pointer, adjust.
5223 (leftMargin): make it take a RowList::iterator as arg, adjust.
5224 (rowBreakPoint): adjust
5225 (breakAgainOneRow): make it take a RowList::iterator as arg,
5227 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5229 * bufferview_funcs.C (toggleAndShow): adjust
5231 2003-03-30 John Levon <levon@movementarian.org>
5235 * boost-inst.C: moved to support
5237 * several files: changes as a result
5239 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * text2.C (LyXText): adjust.
5243 (removeRow): make it take a RowList::iterator as arg, adjust.
5244 (fullRebreak): adjust
5245 (deleteEmptyParagraphMechanism): adjust
5246 (clearPaint): adjust
5249 * text.C (top_y): adjust
5250 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5251 (breakAgain): make it take a RowList::iterator as arg, adjust.
5252 (breakParagraph): adjust
5253 (insertChar): adjust
5256 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5257 need_break_row, and refresh_row.
5259 * text3.C (dispatch): adjust
5261 * text2.C (checkParagraph): adjust
5263 (setCursorFromCoordinates): adjust
5265 * text.C (top_y): adjust
5267 (getRow): make it return a RowList::iterator, adjust
5268 (getRowNearY): make it return a RowList::iterator, adjust
5270 * text2.C (init): adjust
5271 (insertRow): remove function
5272 (insertParagraph): adjust
5273 (redoParagraphs): adjust
5274 (fullRebreak): adjust
5275 (updateCounters): adjust
5277 * text.C (top_y): rewrite to use RowList iterators.
5279 (setHeightOfRow): rewrite to sue RowList iterators.
5280 (appendParagraph): adjust
5281 (breakAgain): adjust
5282 (breakAgainOneRow): adjust
5283 (breakParagraph): adjust
5285 (getRowNearY): adjust, and remove commented code.
5287 * lyxtext.h (firstRow): delete function
5288 (lastRow): delete function
5289 (rows): new function (const and non-const versions.)
5290 (insertRow): delete function
5292 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5294 2003-03-29 John Levon <levon@movementarian.org>
5296 * BufferView_pimpl.C: always update scrollbar top
5297 because pasting text when we're anchored could mean we
5298 miss an update altogether
5300 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * text2.C (init): use rowlist_.end() and not 0.
5303 (insertRow): change to take a RowList::iterator as arg, adjust
5305 (insertParagraph): change to take a RowList::iterator as arg,
5307 (redoParagraphs): remove some debug msgs.
5309 * text.C (appendParagraph): change to take a RowList::iterator
5310 arg, adjust for this.
5311 (breakAgain): add an assert
5312 (breakAgainOneRow): ditto
5314 2003-03-29 John Levon <levon@movementarian.org>
5316 * text2.C: do not clear selection after inc/decDepth
5319 2003-03-29 John Levon <levon@movementarian.org>
5322 * buffer.C: fix broken strerrors according to Lars
5324 2003-03-29 John Levon <levon@movementarian.org>
5326 * converters.C: more Alert cleanups
5328 2003-03-29 John Levon <levon@movementarian.org>
5330 * bufferview_funcs.C: remove pointless Alert
5332 * buffer.C: fix confusing error message when
5333 a template is chmoded 000
5335 2003-03-29 John Levon <levon@movementarian.org>
5339 * BufferView_pimpl.C: Alert fixes
5343 * tabular-old.C: remove unused table compat reading
5345 2003-03-29 John Levon <levon@movementarian.org>
5350 * lyx_cb.C: more Alert cleanups
5352 * lyxfunc.C: don't allow chktex if not latex document
5354 2003-03-29 John Levon <levon@movementarian.org>
5358 * buffer.C: warnings pushed down from support/,
5361 2003-03-29 John Levon <levon@movementarian.org>
5363 * lyxfunc.C: safety check for C-r (revert)
5365 2003-03-29 John Levon <levon@movementarian.org>
5368 * bufferlist.C: several UI fixes using Alert::prompt.
5369 Fix the pointless looping quit code. Fix stupid revert
5374 * lyx_cb.C: use Alert::prompt
5376 * lyx_main.C: remove a silly question
5378 * lyxfunc.C: remove a couple of silly questions,
5381 2003-03-28 John Levon <levon@movementarian.org>
5383 * text2.C: fix bug 974 (End on empty par)
5385 2003-03-28 John Levon <levon@movementarian.org>
5387 * BufferView_pimpl.C:
5389 * lfuns.h: remove do-nothing math greek lfuns
5391 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * lyxgluelength.h (isValidGlueLength): add default arg on
5394 parameter 2. Remove default arg from friend in class.
5396 * lyxlength.h (isValidLength): add default arg on parameter 2.
5397 Remove default arg from friend in class.
5399 * text2.C (LyXText): adjust, initialize refresh_row.
5403 (insertParagraph): adjst
5404 (redoParagraphs): adjust
5405 (fullRebreak): adjust
5406 (updateCounters): adjust
5407 (deleteEmptyParagraphMechanism): first attempt at fixing a
5410 * text.C (top_y): adjust
5411 (setHeightOfRow): adjust
5413 (getRowNearY): adjust
5415 * lyxtext.h: include RowList.h
5416 (~LyXText): not needed anymore, deleted.
5417 (firstRow): modify for RowList
5418 (lastRow): new function
5419 Delete firstrow and lastrow class variables, add a Rowlist
5420 rowlist_ class variable.
5422 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5425 * RowList.C (insert): fix case where it == begin().
5427 2003-03-26 Angus Leeming <leeming@lyx.org>
5429 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5430 the thesaurus dialog.
5432 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5434 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5436 * RowList.[Ch]: new files
5438 * ParagraphList.C (erase): handle the case where it == begin
5441 2003-03-25 John Levon <levon@movementarian.org>
5445 * aspell.C: add new aspell support
5448 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5451 2003-03-25 Angus Leeming <leeming@lyx.org>
5454 * LyXAction.C (init): new LFUN_INSET_INSERT.
5456 * BufferView_pimpl.C (dispatch): split out part of the
5457 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5459 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5462 2003-03-25 Angus Leeming <leeming@lyx.org>
5464 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5466 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5469 * text3.C: remove useless row->height(0)
5471 2003-03-25 John Levon <levon@movementarian.org>
5475 * text3.C: rename the refreshing stuff to better names
5477 2003-03-24 John Levon <levon@movementarian.org>
5479 * BufferView_pimpl.h:
5480 * BufferView_pimpl.C: update layout choice on a mouse
5483 2003-03-23 John Levon <levon@movementarian.org>
5485 * Makefile.am: fix commandtags.h reference
5487 2003-03-22 John Levon <levon@movementarian.org>
5489 * BufferView_pimpl.C:
5494 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5496 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5499 * text.C: take the rtl methods out of line
5501 2003-03-21 André Pönitz <poenitz@gmx.net>
5503 * metricsinfo.[Ch]: new files containing structures to be passed around
5504 during the two-phase-drawing...
5506 2003-03-21 André Pönitz <poenitz@gmx.net>
5508 * lyxtextclass.C: read 'environment' tag.
5510 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5512 * text2.C (removeRow): fix bug 964
5514 2003-03-20 John Levon <levon@movementarian.org>
5518 * text2.C: paint cleanups. Inset::update() dropped font
5521 2003-03-19 John Levon <levon@movementarian.org>
5523 * lyxfunc.C: only fitcursor/markDirty if available()
5525 2003-03-19 John Levon <levon@movementarian.org>
5527 * commandtags.h: rename to ...
5529 * lfuns.h: ... this, and renumber / cleanup
5531 2003-03-19 John Levon <levon@movementarian.org>
5533 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5534 fit the cursor after an lfun
5538 * BufferView_pimpl.h:
5539 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5541 * LyXAction.C: layout-character should have ReadOnly
5543 * ParagraphParameters.C:
5545 * bufferview_funcs.C:
5552 * undo_funcs.C: changes from above
5554 2003-03-18 John Levon <levon@movementarian.org>
5556 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5557 remove it from update()
5559 * lyxfunc.C: update layout choice after an lfun
5561 * text3.C: remove extra updateLayoutChoice()s
5563 2003-03-18 John Levon <levon@movementarian.org>
5565 * text.C: top_y change means full repaint, fix
5566 a drawing bug with cursor movement
5568 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5572 * text2.C: anchor row on setCursor
5574 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5576 * lyxtext.h: remove almost all mutable keywords
5579 * text3.C: remove const keywords accordingly
5581 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5585 (TeXEnvironment): ditto
5588 2003-03-17 John Levon <levon@movementarian.org>
5590 * text.C (rowBreakPoint): remove attempt to fix displayed
5591 math insets inside a manual label
5593 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * lyxtext.h: remove BufferView* as first arg from almost all class
5597 * other files: adjust.
5599 2003-03-17 John Levon <levon@movementarian.org>
5603 * text2.C: more paint cleanups
5605 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5608 * rowpainter.C: remove "smart" background painting code
5610 2003-03-16 John Levon <levon@movementarian.org>
5615 * text3.C: add helper functions for setting refresh_row/y
5617 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5619 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5620 newline inset which *can* get inserted in the pass_thru layouts.
5621 This is primarily for literate documents.
5623 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5625 * buffer.C: increment LYX_FORMAT to 223
5627 2003-03-14 André Pönitz <poenitz@gmx.net>
5629 * textclass.h: prepare for environment handling, ws changes
5630 * lyxlayout.C: read latexheader and latexfooter tags
5632 2003-03-14 John Levon <levon@movementarian.org>
5634 * text2.C: rewrite ::status() a bit
5636 2003-03-13 John Levon <levon@movementarian.org>
5638 * lyxtext.h: add some docs
5640 2003-03-13 John Levon <levon@movementarian.org>
5645 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5647 2003-03-13 John Levon <levon@movementarian.org>
5649 * text3.C: fix appendix redrawing
5651 2003-03-13 John Levon <levon@movementarian.org>
5653 * text.C (setHeightOfRow):
5655 * rowpainter.C: make appendix mark have the text
5656 "Appendix" so the user knows what it is
5659 * LColor.C: s/appendixline/appendix/ from above
5661 2003-03-13 John Levon <levon@movementarian.org>
5663 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5665 * text.C: fix a getChar(pos) bug properly
5667 2003-03-13 Angus Leeming <leeming@lyx.org>
5670 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5671 Probably only temporary. Let's see how things pan out.
5673 * BufferView.C (unlockInset):
5674 * BufferView_pimpl.C (fitCursor):
5675 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5677 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5678 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5680 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5681 new functions that convert ParagraphParameters to and from a string.
5683 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5684 BufferView::Pimpl's dispatch.
5685 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5687 2003-03-13 André Pönitz <poenitz@gmx.net>
5691 * factory.C: make it aware of InsetEnv
5693 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * text2.C (setCursor): never ask for one past last
5696 (setCursor): add some debugging messages.
5698 * text.C (singleWidth): never ask for one past last
5699 (singleWidth): ditto
5701 (rightMargin): ditto
5702 (rowBreakPoint): ditto
5703 (setHeightOfRow): ditto
5704 (prepareToPrint): ditto
5706 * rowpainter.C (paintBackground): never ask for one past last
5707 (paintText): never ask for one past last
5709 * paragraph_pimpl.C (getChar): make the assert stricter, never
5710 allow the one past last pos to be taken
5712 * paragraph.C (getChar): ws changes only
5714 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5715 (numberOfSeparators): ditto
5716 (numberOfHfills): ditto
5718 2003-03-12 John Levon <levon@movementarian.org>
5724 * paragraph_funcs.C: fix per-buffer authorlists
5726 2003-03-12 John Levon <levon@movementarian.org>
5728 * text.C: fix newline in right address
5730 2003-03-12 Angus Leeming <leeming@lyx.org>
5732 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5733 duplicate those in LyXFunc::dispatch.
5737 * ToolbarDefaults.C:
5738 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5739 Add LFUN_FONTFREE_UPDATE.
5741 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5742 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5744 * bufferview_func.[Ch]: several new functions to facilliate
5745 transfer of data to and from the character dialog.
5747 2003-03-12 John Levon <levon@movementarian.org>
5752 * paragraph_funcs.C:
5753 * paragraph_pimpl.C:
5757 * text3.C: remove META_NEWLINE in favour of an inset
5760 * rowpainter.C: remove paintNewline (done by inset)
5762 2003-03-12 John Levon <levon@movementarian.org>
5764 * paragraph_pimpl.C: complain about bad getChar()s
5765 for a while at least
5767 2003-03-12 John Levon <levon@movementarian.org>
5770 * buffer.C: move paragraph read into a separate function,
5771 a little renaming to reflect that.
5774 * bufferparams.C: remove the author_ids map, not necessary now
5777 * factory.C: moved Buffer::readInset to here
5779 * paragraph_funcs.h:
5780 * paragraph_funcs.C: readParagraph free function moved from
5783 * tabular.C: name change
5785 2003-03-12 John Levon <levon@movementarian.org>
5788 * ParagraphParameters.C: move par params input to
5791 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5792 behave like a normal read from the stream wrt reading
5793 a line vs. a \\token
5795 2003-03-12 John Levon <levon@movementarian.org>
5798 * ParagraphParameters.h:
5799 * ParagraphParameters.C: move output code to a
5802 2003-03-12 John Levon <levon@movementarian.org>
5804 * BufferView.C (insertLyXFile):
5807 * tabular.C: use a parlist iterator for creating the
5810 2003-03-12 John Levon <levon@movementarian.org>
5812 * buffer.C: make current_change static local not
5815 2003-03-12 John Levon <levon@movementarian.org>
5817 * buffer.C: fix insertStringAsLines for change tracking
5819 2003-03-12 John Levon <levon@movementarian.org>
5826 * bufferparams.C: move author list into params. Rename some
5827 functions. Move the header reading into a separate token
5828 loop. Move the header token reading into BufferParams.
5830 2003-03-12 John Levon <levon@movementarian.org>
5832 * changes.C: put debug inside lyxerr.debugging() checks
5834 2003-03-11 André Pönitz <poenitz@gmx.net>
5836 * factory.C: make it aware of InsetHFill
5838 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5840 * buffer.C (latexParagraphs): move function from here...
5841 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5844 2003-03-10 Angus Leeming <leeming@lyx.org>
5846 * LyXAction.C (init): fix bug in poplating array with multiple entries
5847 with the same LFUN (spotted by JMarc).
5849 2003-03-10 John Levon <levon@movementarian.org>
5852 * text2.C: move getColumnNearX() near its
5855 2003-03-10 John Levon <levon@movementarian.org>
5857 * text.C: fix break before a minipage
5859 2003-03-10 John Levon <levon@movementarian.org>
5861 * text.C: fix the last commit
5863 2003-03-09 John Levon <levon@movementarian.org>
5867 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5868 bug 365 (don't break before insets unless needed). Don't
5869 return a value > last under any circumstances.
5871 2003-03-09 Angus Leeming <leeming@lyx.org>
5873 * BufferView_pimpl.C (trackChanges, dispatch): call
5874 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5876 2003-03-09 Angus Leeming <leeming@lyx.org>
5878 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5879 than Dialogs::showAboutlyx().
5881 2003-03-09 Angus Leeming <leeming@lyx.org>
5883 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5884 than Dialogs::showTabularCreate().
5886 2003-03-09 John Levon <levon@movementarian.org>
5890 * text2.C: 3rd arg to nextBreakPoint was always the same.
5893 2003-03-08 John Levon <levon@movementarian.org>
5900 * text2.C: Remove the "main" bit from the "main body"
5903 2003-03-08 John Levon <levon@movementarian.org>
5905 * text.C (leftMargin): The left margin of an empty
5906 manual label paragraph should not include the label width
5909 * text.C (prepareToPrint): don't attempt to measure hfills
5910 for empty manual label paragraphs - the answer should be 0
5912 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * CutAndPaste.C: remove commented code and reindent.
5916 2003-03-08 John Levon <levon@movementarian.org>
5919 * lyxfunc.C: move reloadBuffer()
5922 * BufferView.C: to here
5924 * lyxvc.C: add comment
5927 * vc-backend.C: call bv->reload() to avoid
5928 getStatus() check on MENURELOAD
5930 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5932 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5933 to an old format .dep file.
5935 2003-03-07 Angus Leeming <leeming@lyx.org>
5937 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5938 when the LFUN_MOUSE_RELEASE should have been handled by
5939 inset->localDispatch.
5941 2003-03-07 Angus Leeming <leeming@lyx.org>
5943 * BufferView_pimpl.C (dispatch):
5944 * LyXAction.C (init):
5945 * ToolbarDefaults.C (init):
5947 * lyxfunc.C (getStatus):
5948 remove LFUN_INSET_GRAPHICS.
5950 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5952 2003-03-07 Angus Leeming <leeming@lyx.org>
5955 * LyXAction.C (init):
5956 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5958 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5961 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5963 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5964 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5966 2003-03-07 Angus Leeming <leeming@lyx.org>
5968 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5971 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * ParagraphList.C (front): new function
5976 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5978 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5979 and top_row_offset_. removed var first_y.
5981 * text2.C (LyXText, removeRow):
5983 * BufferView_pimpl.C:
5984 use these methods instead of using first_y
5986 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * text2.C (pasteSelection): adjust for checkPastePossible
5990 * CutAndPaste.C: remove Paragraph * buf and replace with
5991 ParagraphList paragraphs.
5992 (DeleteBuffer): delete
5993 (cutSelection): change the tc type to textclass_type
5994 (copySelection): change the tc type to textclass_type
5995 (copySelection): adjust for ParagraphList
5996 (pasteSelection): change the tc type to textclass_type
5997 (pasteSelection): adjust for Paragraphlist
5998 (nrOfParagraphs): simplify for ParagraphList
5999 (checkPastePossible): simplify for ParagraphList
6000 (checkPastePossible): remove unused arg
6002 * ParagraphList.C (insert): handle the case where there are no
6005 * CutAndPaste.h: make CutAndPaste a namespace.
6007 * text3.C (dispatch): adjust
6009 * text.C (breakParagraph): add a ParagraphList as arg
6011 * paragraph_funcs.C (breakParagraph): change to take a
6012 BufferParams and a ParagraphList as args.
6013 (breakParagraphConservative): ditto
6014 (mergeParagraph): ditto
6015 (TeXDeeper): add a ParagraphList arg
6016 (TeXEnvironment): ditto
6019 * buffer.C (readLyXformat2): adjust
6020 (insertStringAsLines): adjust
6021 (latexParagraphs): adjust
6023 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6024 (cutSelection): adjust
6025 (pasteSelection): adjust
6027 * BufferView_pimpl.C (insertInset): adjust
6029 2003-03-05 Angus Leeming <leeming@lyx.org>
6032 * LyXAction.C (init):
6033 * BufferView_pimpl.C (dispatch):
6034 * lyxfunc.C (getStatus):
6035 remove LFUN_CHILD_INSERT.
6037 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6039 2003-03-05 Angus Leeming <leeming@lyx.org>
6042 * LyXAction.C (init):
6043 * src/factory.C (createInset):
6044 * lyxfunc.C (getStatus):
6045 * text3.C (dispatch):
6046 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6048 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6050 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * ParagraphList.C (insert): handle insert right before end()
6053 (erase): fix cases where it can be first or last paragraph.
6055 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6058 Paragraph::next and Paragraph::previous
6061 * text.C (breakParagraph): adjust
6063 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6064 BufferParams& as arg.
6065 (breakParagraph): use ParagraphList::insert
6066 (breakParagraphConservative): take a Buffer* instead of a
6067 BufferParams& as arg.
6068 (breakParagraphConservative): use ParagraphList::insert.
6070 * buffer.C (insertStringAsLines): un-const it
6071 (insertStringAsLines): adjust
6073 * ParagraphList.C (insert): new function
6075 * CutAndPaste.C (pasteSelection): adjust
6077 * text.C (backspace): adjust
6079 * tabular.C (SetMultiColumn): adjust
6081 * CutAndPaste.C (cutSelection): adjust
6082 (pasteSelection): adjust
6084 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6085 Buffer const * as arg
6087 * ParagraphList.C (erase): new function
6088 * paragraph_funcs.C (mergeParagraph): use it
6089 (mergeParagraph): make it take a Buffer* instead of a
6090 BufferParams* as arg
6092 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6094 (breakParagraphConservative): ditto
6096 * paragraph.h: remove the breakParagraph friend
6098 * paragraph.C (eraseIntern): new function
6099 (setChange): new function
6101 * paragraph_funcs.C (mergeParagraph): make it take a
6102 ParagraphList::iterator instead of a Paragraph *, adjust
6105 * paragraph.h: move an #endif so that the change tracking stuff
6106 also works in the NO_NEXT case.
6108 2003-03-04 Angus Leeming <leeming@lyx.org>
6111 * LyXAction.C: new LFUN_INSET_MODIFY.
6113 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6114 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6116 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * several files: ws changes only
6120 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6121 (TeXEnvironment): ditto
6124 * buffer.C (makeLaTeXFile): adjust
6125 (latexParagraphs): make it take ParagraphList::iterator as args
6127 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * buffer.C (latexParagraphs): adjust
6131 * paragraph.C (TeXOnePar): move function...
6132 (optArgInset): move function...
6133 (TeXEnvironment): move function...
6134 * paragraph_pimpl.C (TeXDeeper): move function...
6135 * paragraph_funcs.C: ...here
6137 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6139 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * buffer.C (readInset): remove compability code for old Figure and
6144 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * buffer.C: ws changes
6149 * BufferView_pimpl.C: ditto
6152 * bufferlist.h: ditto
6156 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6158 * converter.[Ch]: split into itself +
6161 * Makefile.am: += graph.[Ch] + format.[Ch]
6168 * lyxrc.C: added #include "format.h"
6170 2003-02-27 Angus Leeming <leeming@lyx.org>
6172 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6175 * factory.C (createInset): add "label" to the factory.
6177 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6178 string and do no more.
6180 2003-02-27 Angus Leeming <leeming@lyx.org>
6183 * LyXAction.C (init):
6184 * factory.C (createInset):
6185 * BufferView_pimpl.C (dispatch):
6186 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6188 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6190 * lyxfunc.C (dispatch):
6191 * text3.C (dispatch): pass name to params2string.
6193 2003-02-26 Angus Leeming <leeming@lyx.org>
6195 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6197 Rearrange the ~includes. Strip out the unnecessary ones.
6199 * factory.C (createInset): reformat.
6200 create new insets for the various LFUN_XYZ_APPLY lfuns.
6202 2003-02-26 John Levon <levon@movementarian.org>
6205 * lyxrow.C: add isParStart,isParEnd helpers
6207 * paragraph.h: make isInserted/DeletedText take refs
6209 * paragraph_funcs.h:
6210 * paragraph_funcs.C: remove #if 0'd code
6215 * text.C: use lyxrow helpers above.
6216 Move draw and paint routines to RowPainter.
6217 Make several methods use refs not pointers.
6218 Make backgroundColor() const.
6219 Add markChangeInDraw(), isInInset().
6220 Merge changeRegionCase into changeCase.
6221 Make workWidth() shouldn't-happen code into an Assert.
6224 * rowpainter.C: new class for painting a row.
6227 * vspace.C: make inPixels take a ref
6229 2003-02-26 Angus Leeming <leeming@lyx.org>
6231 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6234 2003-02-25 John Levon <levon@movementarian.org>
6236 * ispell.C: give the forked command a more accurate name
6238 2003-02-22 John Levon <levon@movementarian.org>
6241 * toc.C: make TocItem store an id not a Paragraph *
6244 2003-02-21 Angus Leeming <leeming@lyx.org>
6246 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6247 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6248 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6249 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6250 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6251 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6253 * BufferView_pimpl.C (dispatch):
6254 * LyXAction.C (init):
6255 * factory.C (createInset):
6256 * lyxfunc.C (getStatus, dispatch):
6257 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6259 2003-02-21 Angus Leeming <leeming@lyx.org>
6261 * BufferView_pimpl.C (MenuInsertLyXFile):
6262 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6263 * lyxfunc.C (menuNew, open, doImport):
6264 no longer pass a LyXView & to fileDlg.
6266 2003-02-21 Angus Leeming <leeming@lyx.org>
6268 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6269 * LyXAction.C: change, BIBKEY to BIBITEM.
6270 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6271 Change InsetBibKey to InsetBibitem.
6272 Change BIBKEY_CODE to BIBITEM_CODE.
6273 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6274 * factory.C: replace insetbib.h with insetbibitem.h.
6275 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6276 * paragraph.C: replace insetbib.h with insetbibitem.h.
6277 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6278 Change bibkey() to bibitem().
6279 * text.C: remove insetbib.h.
6280 * text2.C: replace insetbib.h with insetbibitem.h.
6281 change bibkey() to bibitem().
6282 * text3.C: remove insetbib.h.
6283 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6285 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6287 * lyxrc.C (output): enclose user email in quotes (in case there are
6290 2003-02-18 John Levon <levon@movementarian.org>
6292 * buffer.h: add std::
6294 2003-02-17 John Levon <levon@movementarian.org>
6300 * pspell.C: reworking. Especially in ispell, a large
6301 number of clean ups and bug fixes.
6303 * lyxfunc.C: fix revert to behave sensibly
6305 2003-02-17 André Pönitz <poenitz@gmx.net>
6308 * commandtags.h: new LFUN_INSERT_BIBKEY
6318 * paragraph_func.C: remove special bibkey handling
6320 2003-02-17 John Levon <levon@movementarian.org>
6322 * text.C (Delete): fix case where delete at the end of
6323 the very first paragraph would not merge the pars
6325 2003-02-17 John Levon <levon@movementarian.org>
6327 * lyxrow.C: fix lastPrintablePos()
6329 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6331 * bufferparams.C (writeLaTeX): add a std:here
6333 * buffer.C: and remove a using directive there
6335 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6337 * buffer.C (makeLaTeXFile): move the code that generates the
6340 * bufferparams.C (writeLaTeX): ... in this new method
6342 * LaTeXFeatures.C (getEncodingSet): make const
6343 (getLanguages): make const
6345 * MenuBackend.C (binding): returns the binding associated to this
6347 (add): sets the status of each item by calling getStatus. Adds
6349 (read): add support for OptSubMenu
6350 (expand): remove extra separator at the end of expanded menu
6352 2003-02-15 John Levon <levon@movementarian.org>
6355 * BufferView_pimpl.C:
6357 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6358 inset code that had no actual effect. Remove unneeded status
6361 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6363 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6366 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6368 * text.C (drawLengthMarker): also draw an arrow marker for
6369 symbolic lengths (medskip...)
6371 2003-02-14 John Levon <levon@movementarian.org>
6374 * tabular.C: better method names
6376 2003-02-14 John Levon <levon@movementarian.org>
6378 * BufferView_pimpl.C:
6383 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6384 it's a more accurate name. Remove some pointless uses.
6386 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6388 * text2.C (LyXText): change order of initilizers to shut off
6391 2003-02-14 John Levon <levon@movementarian.org>
6393 * buffer.C: use ParIterator for getParFromID()
6397 * paragraph_pimpl.h:
6398 * paragraph_pimpl.C: remove unused getParFromID()
6400 2003-02-14 John Levon <levon@movementarian.org>
6402 * buffer.C: remove some very old #if 0'd parse code
6404 2003-02-13 John Levon <levon@movementarian.org>
6408 * text2.C: move hfillExpansion(), numberOfSeparators(),
6409 rowLast(), rowLastPrintable(), numberofHfills(),
6410 numberOfLabelHfills() ...
6413 * lyxrow.C: ... to member functions here.
6418 * text.C: remove LyXText::beginningOfMainBody(), and call
6419 p->beginningOfMainBody() directly. Move the check for
6420 LABEL_MANUAL into the latter.
6427 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6433 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6434 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6436 2003-02-13 John Levon <levon@movementarian.org>
6438 * CutAndPaste.C: remove debug
6440 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6442 * paragraph.C (asString): remove two unused variables
6444 * lyxtextclass.C (readTitleType):
6446 (LyXTextClass): handle new members titletype_ and titlename_
6448 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6450 2003-02-09 John Levon <levon@movementarian.org>
6453 * buffer.C: replace hand-coded list with a map for the dep clean
6455 2003-02-08 John Levon <levon@movementarian.org>
6457 * LaTeX.C: consolidate code into showRunMessage() helper
6459 2003-02-08 John Levon <levon@movementarian.org>
6464 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6465 and pass the size in explicitly
6467 * BufferView_pimpl.h:
6468 * BufferView_pimpl.C:
6470 * BufferView.C: add getCurrentChange()
6472 * BufferView_pimpl.h:
6473 * BufferView_pimpl.C: handle change lfuns
6475 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6476 for changes. Mark pasted paragraphs as new.
6478 * support/lyxtime.h:
6479 * support/lyxtime.C:
6480 * DepTable.C: abstract time_t as lyx::time_type
6483 * LColor.C: add colours for new text, deleted text, changebars
6485 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6486 package use "usenames" option.
6490 * LyXAction.C: add change lfuns
6494 * author.C: author handling
6497 * buffer.C: add a per-buffer author list, with first entry as
6498 current author. Handle new .lyx tokens for change tracking. Output
6499 author list to .lyx file. Output dvipost stuff to .tex preamble.
6500 Bump lyx format to 222.
6503 * bufferlist.C: add setCurrentAuthor() to reset current author details
6507 * bufferparams.C: add param for tracking
6509 * bufferview_funcs.C: output change info in minibuffer
6513 * changes.C: add change-tracking structure
6516 * debug.C: add CHANGES debug flag
6519 * lyxfind.C: add code for finding the next change piece
6522 * lyxrc.C: add user_name and user_email
6525 * lyxrow.C: add a metric for the top of the text line
6528 * text.C: implement accept/rejectChange()
6531 * text.C: paint changebars. Paint new/deleted text in the chosen
6532 colours. Strike through deleted text.
6536 * paragraph_pimpl.h:
6537 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6538 in the current change to the insert functions. Rework erase to
6539 mark text as deleted, adding an eraseIntern() and a range-based
6540 erase(). Implement per-paragraph change lookup and
6543 * paragraph_funcs.C: Fixup paste for change tracking.
6545 * tabular.C: mark added row/columns as new.
6547 * text.C: fix rowLast() to never return -1. Don't allow
6548 spellchecking of deleted text. Track transpose changes. Don't
6549 allow paragraph break or merge where appropriate.
6551 * text2.C: leave cursor at end of selection after a cut.
6553 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6555 * text.C (getLengthMarkerHeight):
6556 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6557 visible on screen too.
6559 2003-02-07 John Levon <levon@movementarian.org>
6561 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6563 2003-02-05 Angus Leeming <leeming@lyx.org>
6565 * lyxserver.C (read_ready): revert my patch of 11 September last year
6566 as it sends PC cpu through the roof. Presumably this means that
6567 the lyxserver will no longer run on an Alpha...
6569 2003-01-30 Angus Leeming <leeming@lyx.org>
6571 * factory.C (createInset): create an InsetCommandParam of type "index"
6572 and use it to 'do the right thing'.
6574 * text2.C (getStringToIndex): ensure that cursor position is always
6575 reset to the reset_cursor position.
6577 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6579 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6582 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6586 * lyxfunc.C: Output messages with identical spelling, punctuation,
6589 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6591 * MenuBackend.C (expandFormats): List only viewable export formats
6594 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6597 * lyxfunc.C (getStatus): Make sure that formats other than
6598 "fax" can also be disabled
6600 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * text3.C (dispatch): put the lfuns that insert insets in 3
6603 groups, and call doInsertInset with appropriate arguments.
6604 (doInsertInset): new function, that creates an inset and inserts
6605 it according to some boolean parameters.
6607 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * buffer.C (readFile): remember to pass on 'par' when calling
6610 readFile recursively.
6612 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6614 * MenuBackend.C (expandFormats): add "..." to import formats.
6616 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6618 * paragraph.C (asString): Remove XForms RTL hacks.
6620 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6621 * buffer.C: fix typo
6623 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * Makefile.am (LIBS): delete var
6626 (lyx_LDADD): add @LIBS@ here instead.
6628 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6630 * Clarify the meaning of "wheel mouse jump"
6632 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6634 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6637 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6639 * importer.C (Loaders): do not preallocate 3 elements in the
6640 vector, since one ends up with 6 elements otherwise
6642 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6644 * DepTable.C (write): write the file name as last element of the
6645 .dep file (because it may contain spaces)
6646 (read): read info in the right order
6648 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6650 * paragraph_pimpl.C (simpleTeXBlanks):
6651 (simpleTeXSpecialChars):
6652 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6654 * tabular.C (latex): add some missing case statements. Reindent.
6656 * MenuBackend.C (expandToc): remove unused variable.
6658 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6667 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6670 2003-01-05 John Levon <levon@movementarian.org>
6673 * BufferView.C: add getEncoding()
6676 * kbsequence.C: do not store last keypress
6679 * lyxfunc.C: store last keypress here instead. Pass encoding
6682 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6684 * lyx_main.C (init): remove annoying error message when following
6685 symbolic links (bug #780)
6687 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6689 * text.C (insertChar):
6690 * lyxrc.C (getDescription): remove extra spaces
6692 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6694 * lyxrc.C (getDescription): remove extra spaces
6696 2002-12-20 John Levon <levon@movementarian.org>
6698 * text3.C: hack fix for page up/down across tall rows
6700 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6702 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6705 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6707 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6708 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6709 thesaurus is not compiled in
6711 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6713 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6715 2002-12-16 Angus Leeming <leeming@lyx.org>
6718 * lyx_main.C (init): remove override_x_deadkeys stuff.
6720 2002-12-12 John Levon <levon@movementarian.org>
6722 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6723 insert. Only remove shift modifier under strict
6726 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6728 * MenuBackend.C (expandToc): fix crash.
6730 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6732 * MenuBackend.C (expandToc): gettext on float names.
6734 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6736 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6737 implement bool empty() [bug 490]
6739 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6743 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * several files: ws changes
6747 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6749 * text2.C (setCounter): clean up a bit, use boost.format.
6750 (updateCounters): initialize par upon declaration.
6752 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6753 if the layout exists. We do not just store the layout any more.
6754 (SwitchLayoutsBetweenClasses): use boost.format
6756 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6758 * converter.C (convert): if from and to files are the same, use a
6759 temporary files as intermediary
6761 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6764 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6766 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6768 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6770 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6772 * tabular.C (asciiPrintCell): use string(size, char) instead of
6775 * sgml.C (openTag): fix order of arguments to string constructor
6778 * lyxfunc.C (dispatch): use boost.format
6780 * lots of files: change "c" -> 'c'
6782 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6784 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6786 2002-11-25 Angus Leeming <leeming@lyx.org>
6788 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6790 * lyx_main.C (init): compile fix.
6792 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * lyx_cb.C (start): boost.formatify
6795 do not include <iostream>
6797 * lengthcommon.C: ws only
6799 * boost-inst.C,BoostFormat.h: add more explict instantations
6801 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * lots of files: handle USE_BOOST_FORMAT
6805 2002-11-21 John Levon <levon@movementarian.org>
6807 * pspell.C: fix compile
6809 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6811 * lyxfunc.C (dispatch): use boost::format
6815 * lyxfont.C (stateText): use boost::format
6817 * lyx_main.C (LyX): use boost::format
6819 (queryUserLyXDir): ditto
6822 (typedef boost::function): use the recommened syntax.
6824 * importer.C (Import): use boost::format
6826 * debug.C (showLevel): use boost::format
6828 * converter.C (view): use boost::format
6833 * bufferview_funcs.C (currentState): use boost::format
6835 * bufferlist.C (emergencyWrite): use boost::format
6837 * buffer.C (readLyXformat2): use boost::format
6838 (parseSingleLyXformat2Token): ditto
6840 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6842 * LaTeX.C (run): use boost::format
6844 * Chktex.C (scanLogFile): use boost::format
6846 * BufferView_pimpl.C (savePosition): use boost::format
6847 (restorePosition): ditto
6848 (MenuInsertLyXFile): ditto
6850 * BoostFormat.h: help file for explicit instation.
6852 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6854 * tabular.C (latex): Support for block alignment in fixed width
6857 2002-11-17 John Levon <levon@movementarian.org>
6859 * BufferView_pimpl.C:
6861 * lyxfunc.C: split filedialog into open/save
6863 2002-11-08 Juergen Vigna <jug@sad.it>
6865 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6866 by my last patch (hopefully).
6868 2002-11-08 John Levon <levon@movementarian.org>
6877 * toc.C: ParConstIterator, and use it (from Lars)
6879 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6881 * lyxtextclass.[Ch]: revise and add doxygen comments
6883 2002-11-07 John Levon <levon@movementarian.org>
6885 * text.C: fix progress value for spellchecker
6887 * toc.C: fix navigate menu for insetwrap inside minipage
6889 * paragraph_funcs.C: added FIXME for suspect code
6891 2002-11-07 John Levon <levon@movementarian.org>
6893 * BufferView_pimpl.C: fix redrawing of insets
6896 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6898 * text2.C (updateCounters): fix bug 668
6900 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6902 * text3.C (dispatch): Do not make the buffer dirty when moving the
6905 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * vc-backend.C: STRCONV
6910 * text2.C (setCounter): STRCONV
6912 * paragraph.C (asString): STRCONV
6914 * lyxlength.C (asString): STRCONV
6915 (asLatexString): ditto
6917 * lyxgluelength.C (asString): STRCONV
6918 (asLatexString): ditto
6920 * lyxfunc.C (dispatch): STRCONV
6923 * lyxfont.C (stateText): STRCONV
6925 * importer.C (Import): STRCONV
6927 * counters.C (labelItem): STRCONV
6928 (numberLabel): ditto
6929 (numberLabel): remove unused ostringstream o
6934 * bufferview_funcs.C (currentState): STRCONV
6936 * buffer.C (readFile): STRCONV
6937 (asciiParagraph): ditto
6938 (makeLaTeXFile): ditto
6940 * Spacing.C (writeEnvirBegin): STRCONV
6942 * LaTeXFeatures.C (getLanguages): STRCONV
6943 (getPackages): ditto
6945 (getBabelOptions): ditto
6946 (getTClassPreamble): ditto
6947 (getLyXSGMLEntities): ditto
6948 (getIncludedFiles): ditto
6952 (scanAuxFile): ditto
6955 * LString.h: add the STRCONV macros
6957 * BufferView_pimpl.C (savePosition): STRCONV
6958 (restorePosition): ditto
6959 (MenuInsertLyXFile): ditto
6961 * vc-backend.C (scanMaster): change from submatch[...] to
6964 * funcrequest.C: include config.h
6966 * factory.C: include config.h
6968 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6970 * box.C: include config.h
6972 * LaTeX.C (scanAuxFile): change from submatch[...] to
6976 2002-10-25 Angus Leeming <leeming@lyx.org>
6978 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6980 * ispell.[Ch] (setError): new method.
6981 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6982 Use setError() insetead of goto END.
6984 * lyx_cb.C (AutoSave): move out child process into new class
6987 2002-10-30 John Levon <levon@movementarian.org>
6989 * text3.C: make start appendix undoable
6991 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6993 * lyxlength.C (inPixels): Fix returned value.
6995 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6998 2002-10-24 Angus Leeming <leeming@lyx.org>
7000 * lyxgluelength.h: no need to forward declare BufferParams
7001 or BufferView, so don't.
7003 2002-10-21 John Levon <levon@movementarian.org>
7005 * BufferView.C: menuUndo ->undo, redo
7007 * BufferView.h: document, remove dead, make some methods private
7009 * paragraph_funcs.h:
7010 * paragraph_funcs.C:
7011 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7016 * sgml.C: move sgml open/close tag into sgml.C
7018 * bufferview_funcs.h: unused prototype
7021 * lyxfunc.C: remove unused
7024 * text.C: remove unused
7026 2002-10-21 John Levon <levon@movementarian.org>
7030 * BufferView_pimpl.h:
7031 * BufferView_pimpl.C: fix mouse wheel handling based on
7032 patch from Darren Freeman
7034 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7036 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7038 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7040 * lyxlength.C (inPixels): Fix hanfling of negative length.
7041 Fix LyXLength::MU case.
7043 2002-10-16 John Levon <levon@movementarian.org>
7045 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7047 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7049 * converter.C (view): add support for $$i (file name) and $$p
7050 (file path) for the viewer command. If $$i is not specified, then
7051 it is appended to the command (for compatibility with old syntax)
7053 2002-10-14 Juergen Vigna <jug@sad.it>
7055 * undo_funcs.C (textHandleUndo): alter the order in which the
7056 new undopar is added to the LyXText, as we have to set first
7057 the right prev/next and then add it as otherwise the rebuild of
7058 LyXText is not correct. Also reset the cursor to the right paragraph,
7059 with this IMO we could remove the hack in "redoParagraphs()".
7061 2002-10-09 Angus Leeming <leeming@lyx.org>
7063 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7064 to turn off an optimisation if a new inset is to be inserted.
7066 2002-10-11 André Pönitz <poenitz@gmx.net>
7068 * lyxtext.h: make some functions public to allow access
7069 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7071 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7073 * text3.C (dispatch): when changing layout, avoid an infinite loop
7076 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7078 * lyxrc.C (read): treat a viewer or converter command of "none" as
7081 * MenuBackend.C (expandFormats): for an update, also allow the
7082 formats that are not viewable
7084 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7085 script if it is newer than the lyxrc.defaults in user directory
7087 2002-10-07 André Pönitz <poenitz@gmx.net>
7089 * text.C: Vitaly Lipatov's small i18n fix
7091 2002-09-25 Angus Leeming <leeming@lyx.org>
7093 * ispell.h: doxygen fix.
7095 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7097 * buffer.h (readFile): Add a new argument to the method, to allow
7098 reading of old-format templates.
7100 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7102 * toc.C (getTocList): Get TOC from InsetWrap.
7104 2002-09-16 John Levon <levon@movementarian.org>
7106 * lyxfunc.C: check tabular for cut/copy too
7108 2002-09-12 John Levon <levon@movementarian.org>
7113 * factory.C: add header
7115 * paragraph_funcs.h:
7116 * paragraph_funcs.C: cleanup
7118 2002-09-11 John Levon <levon@movementarian.org>
7120 * PrinterParams.h: odd/even default to true
7122 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7124 * PrinterParams.h: update printer parameters for new xforms dialog
7126 2002-09-11 Angus Leeming <leeming@lyx.org>
7128 * lyxserver.C (read_ready): re-write to make it more transparent
7129 and to make it work in coherent fashion under Tru64 Unix.
7131 2002-09-11 André Pönitz <poenitz@gmx.net>
7135 * text3.C: implement LFUN_WORDSEL
7137 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7140 make floatlist_ a boost::shared_ptr<FloatList>
7142 * lyxtextclass.C: include FloatList.h
7143 (LyXTextClass): initialize floatlist_
7144 (TextClassTags): add TC_NOFLOAT
7145 (Read): match "nofloat" to TC_NOFLOAT and use it.
7146 (readFloat): modify call to floatlist_
7150 * FloatList.[Ch] (FloatList): remove commented out float
7152 (erase): new function
7154 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7156 * MenuBackend.C (expandToc): fix crash when there is no document
7159 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7161 * many files: Add insetwrap.
7163 2002-09-09 John Levon <levon@movementarian.org>
7165 * text2.C: remove confusing and awkward depth wraparound
7167 2002-09-09 John Levon <levon@movementarian.org>
7169 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7172 * buffer.C: remove getIncludeonlyList()
7175 * lyxfunc.C: remove headers
7177 2002-09-09 Juergen Vigna <jug@sad.it>
7179 * text.C (getColumnNearX): fix form Michael this is most
7180 probably a cut&paste bug.
7182 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7186 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7187 references, ws changes.
7189 * text2.C (init): update counters after init
7190 (insertParagraph): no need to set counter on idividual paragraphs.
7191 (setCounter): access the counters object in the textclass object
7192 on in the buffer object.
7193 (updateCounters): ditto
7195 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7196 shared_ptr<Counters> to avoid loading counters.h in all
7198 (LyXTextClass): initialize ctrs_
7199 (TextClassTags): add TC_COUNTER, and ...
7200 (Read): use it here.
7201 (CounterTags): new tags
7202 (readCounter): new function
7203 (counters): new funtion
7204 (defaultLayoutName): return a const reference
7206 * counters.C (Counters): remove contructor
7207 (newCounter): remove a couple of unneeded statements.
7208 (newCounter): simplify a bit.
7209 (numberLabel): some small formatting changes.
7211 * buffer.[Ch]: remove all traces of counters, move the Counters
7212 object to the LyXTextClass.
7214 2002-09-06 Alain Castera <castera@in2p3.fr>
7216 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7217 package to set the horizontal alignment on fixed width columns.
7220 * lyx_sty.h: added tabularnewline macro def.
7222 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7224 2002-09-06 John Levon <levon@movementarian.org>
7226 * LyXAction.C: tooltips for sub/superscript
7228 * MenuBackend.C: a bit more verbose
7230 * lyxfunc.C: tiny clean
7232 * undo_funcs.C: document undo_frozen
7234 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * counters.C (Counters): add missing algorithm counter.
7238 * text2.C (setCounter): lookup the counter with layouts latexname
7239 instead of by section number.
7240 (setCounter): use a hackish way to lookup the correct enum
7242 a float name->type change
7243 reset enum couners with counter name directly instead of depth value.
7245 * counters.C (Counters): remove the push_backs, change to use the
7246 float type not the float name.
7247 (labelItem): remove unused string, float name->type change
7249 * counters.h: don't include vector, loose the enums and sects vectors
7251 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7253 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7254 (Read): add float->TC_FLOAT to textclassTags
7255 (Read): and handle it in the switch
7256 (readFloat): new function
7258 * FloatList.C (FloatList): comment out the hardcoded float
7261 * lyxlayout.h: ws change.
7263 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7265 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7267 2002-09-03 Angus Leeming <leeming@lyx.org>
7269 * BufferView_pimpl.h: qualified name is not allowed in member
7270 declaration: WorkArea & Pimpl::workarea() const;
7272 * factory.C: added using std::endl directive.
7274 * text3.C: added using std::find and std::vector directives.
7276 2002-08-29 André Pönitz <poenitz@gmx.net>
7279 * text2.C: remove unused member number_of_rows
7282 * BufferView2.C: remove file, move contents to...
7283 * BufferView.C: ... here
7285 * BufferView_pimpl.C:
7286 * factory.C: move more inset creation to factory
7288 * vspace.C: avoid direct usage of LyXText, ws changes
7291 don't provide direct access to WorkArea, use two simple
7292 acessors haveSelction() and workHeight() instead
7295 2002-08-29 John Levon <levon@movementarian.org>
7297 * BufferView_pimpl.C (dispatch): do not continue when
7300 2002-08-28 André Pönitz <poenitz@gmx.net>
7302 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7305 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7307 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7309 * buffer.C: increment LYX_FORMAT to 221
7311 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7312 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7314 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7316 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7318 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7320 * factory.C (createInset): use LyXTextClass::floats
7322 * MenuBackend.C (expandFloatListInsert):
7323 (expandFloatInsert):
7326 * text2.C (setCounter):
7328 * LaTeXFeatures.C (useFloat):
7329 (getFloatDefinitions):
7331 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7333 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7334 floatlist_, with accessor floats().
7336 * FloatList.h: remove global FloatList
7338 2002-08-26 André Pönitz <poenitz@gmx.net>
7340 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7344 * BufferView_pimpl.C:
7345 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7347 2002-08-25 John Levon <levon@movementarian.org>
7349 * LyXAction.C: fix margin note description
7351 2002-08-24 John Levon <levon@movementarian.org>
7355 * bufferview_funcs.C:
7357 * undo_funcs.C: cleanups
7359 * lyxfunc.C: disable CUT/COPY when no selection
7361 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7363 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7364 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7366 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7367 Add backward compatibility to "mono", "gray" and "no".
7369 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7371 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7372 (and file_format >= 200).
7374 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7376 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7378 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7382 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7384 * BufferView_pimpl.C:
7391 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7392 inset and code to make it work with the paragraph code. The inset
7393 can be anywhere in the paragraph, but will only do the expected
7394 thing in LaTeX if the layout file contains the parameter line
7396 (or more generally, a nonzero value) for that layout.
7398 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7400 * paragraph.h: remove the declaration of undefined counters class
7403 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7405 * text2.C (setCounter): fixed enumeration mis-count as reported by
7406 Dr. Richard Hawkins.
7408 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7410 * paragraph_funcs.h: remove some unneeded includes
7412 * text.C (backspace): pasteParagraph now in global scipe
7414 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7415 (pasteSelection): ditto
7417 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7418 * paragraph_funcs.C (pasteParagraph): ... here
7420 2002-08-20 André Pönitz <poenitz@gmx.net>
7422 * commandtags.h: new LFUNs for swapping/copying table row/colums
7425 * lyxfunc.C: support for new lfuns
7427 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * buffer.[Ch]: remove NO_COMPABILITY stuff
7432 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * boost.C (throw_exception): new file, with helper function for
7435 boost compiled without exceptions.
7440 * ParameterStruct.h:
7441 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7443 * bufferlist.C (emergencyWriteAll): use boost bind
7445 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7447 * text.C: include paragraph_funcs.h
7448 (breakParagraph): breakParagraph is now in global scope
7450 * paragraph_funcs.[Ch]: new files
7452 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7455 * buffer.C: include paragraph_funcs.h
7456 (insertStringAsLines): breakParagraph is now in global scope
7458 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7461 * CutAndPaste.C: include paragraph_funcs.h
7462 (cutSelection): breakParagraphConservative is now in global scope
7463 (pasteSelection): ditto
7465 * buffer.h: declare oprator== and operator!= for
7466 Buffer::inset_iterator
7468 * bufferlist.C (emergencyWrite): don't use fmt(...)
7470 * text3.C: add using std::endl
7472 * BufferView.C (moveCursorUpdate): remove default arg
7474 2002-08-20 André Pönitz <poenitz@gmx.net>
7476 * buffer.[Ch]: move inline functions to .C
7479 * BufferView_pimpl.C:
7481 * buffer.[Ch]: use improved inset_iterator
7484 * paragraph.[Ch]: write one paragraph at a time
7486 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7488 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7489 style if style is not specified.
7491 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7493 * text2.C (setCounter): when searching for right label for a
7494 caption, make sure to recurse to parent insets (so that a caption
7495 in a minipage in a figure float works) (bug #568)
7497 2002-08-20 André Pönitz <poenitz@gmx.net>
7499 * text3.C: new file for LyXText::dispatch() and helpers
7501 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7503 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7505 2002-08-19 André Pönitz <poenitz@gmx.net>
7508 * text.C: new LyXText::dispatch()
7510 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7512 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7514 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7516 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7519 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7521 * Makefile.am: use $(variables) instead of @substitutions@
7523 2002-08-15 André Pönitz <poenitz@gmx.net>
7526 * BufferView_pimpl.C: streamlining mathed <-> outer world
7530 * LyXAction.C: remove unused LFUN_MATH
7532 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7534 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7536 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * paragraph.C (Paragraph): reformat a bit
7539 (cutIntoMinibuffer): use builtin InsetList function instad of
7543 * buffer.C: include boost/bind.hpp, add using std::for_each
7544 (writeFileAscii): use ParagraphList iterators
7545 (validate): use for_each for validate traversal of paragraphs
7546 (getBibkeyList): use ParagraphList iterators
7547 (resizeInsets): use for_each to resizeInsetsLyXText for all
7549 (getParFromID): use ParagraphList iterators
7551 * BufferView2.C (lockInset): use paragraph list and iterators
7553 2002-08-14 John Levon <levon@movementarian.org>
7555 * lyxserver.C: remove spurious xforms include
7557 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7559 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7561 2002-08-13 André Pönitz <poenitz@gmx.net>
7564 * lyxfunc.C: further cleaning
7566 2002-08-13 André Pönitz <poenitz@gmx.net>
7568 * funcrequest.h: new constructor
7570 * funcrequest.C: move stuff here from .h
7573 * BufferView_pimpl.C:
7576 * lyxfunc.C: subsequent changes
7578 * lyxfunc.h: new view() member function
7580 * lyxfunc.C: subsequent changes
7582 2002-08-13 Angus Leeming <leeming@lyx.org>
7585 * BufferView_pimpl.C:
7593 changes due to the changed LyXView interface that now returns references
7594 to member variables not pointers.
7596 2002-08-13 Angus Leeming <leeming@lyx.org>
7598 * WordLangTuple (word, lang_code): return references to strings,
7603 * lyxtext.h: forward-declare WordLangTuple.
7608 * text.C: #include "WordLangTuple.h".
7611 * text.C: (selectNextWordToSpellcheck): constify return type.
7613 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7619 * paragraph_pimpl.h:
7622 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7624 Made updateCounter always count from start of buffer, and removed
7625 second argument (par).
7626 Reverted floats number display to '#'. Perhaps I'll try again when the
7627 code base is sanitized a bit.
7629 2002-08-12 Angus Leeming <leeming@lyx.org>
7631 * buffer.[Ch] (getLabelList): constify.
7633 2002-08-07 André Pönitz <poenitz@gmx.net>
7635 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7637 * funcrequest.h: extension to keep mouse (x,y) position
7639 2002-08-12 Juergen Vigna <jug@sad.it>
7641 * BufferView2.C (insertErrors): forbid undo when inserting error
7644 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7646 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7648 * ParagraphList.[Ch]: new files
7650 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7652 * BufferView2.C (lockInset): ParagraphList changes
7655 * bufferlist.C: ditto
7659 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7661 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7662 unused class variable counter_,
7664 * paragraph.[Ch] (getFirstCounter): delete unused function
7666 * counters.C: include LAssert.h
7667 (reset): add a new function with no arg, change other version to
7668 not have def. arg and to not allow empty arg.
7670 * text2.C (setCounter): remove empty arg from call to Counters::reset
7672 2002-08-11 John Levon <levon@movementarian.org>
7674 * Makefile.am: add WordLangTuple.h
7676 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7679 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7681 * insets/insettext.C: InsetList changes
7683 * graphics/GraphicsSupport.C (operator()): InsetList changes
7685 * toc.C (getTocList): InsetList changes
7687 * paragraph_pimpl.[Ch]: InsetList changes
7689 * paragraph.[Ch]: InsetList changes
7691 * buffer.C (inset_iterator): InsetList changes
7692 (setParagraph): ditto
7693 * buffer.h (inset_iterator): ditto
7694 * iterators.C (operator++): ditto
7695 * iterators.h: ditto
7697 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7699 * InsetList.[Ch]: new files, most InsetList handling moved out of
7702 * BufferView2.C (removeAutoInsets): InsetList changes
7704 (ChangeInsets): ditto
7706 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7708 * paragraph_pimpl.h (empty): new function
7710 * paragraph.[Ch] (empty): new function
7712 * other files: use the new Paragraph::empty function
7714 2002-08-09 John Levon <levon@movementarian.org>
7716 * lyxtext.h: remove unused refresh_height
7718 2002-08-09 John Levon <levon@movementarian.org>
7725 * paragraph.C: move sgml char escaping out of paragraph
7728 * paragraph.C: remove id setter
7732 * paragraph_pimpl.C: remove dead tex_code_break_column
7734 * bufferview_funcs.C: small cleanup
7736 * lyxfunc.C: remove dead proto
7738 * lyxtext.h: make some stuff private. Remove some dead stuff.
7740 * lyxgluelength.C: make as[LyX]String() readable
7742 2002-08-08 John Levon <levon@movementarian.org>
7747 * ToolbarDefaults.C:
7750 * toc.C: lyxaction cleanup
7752 2002-08-08 John Levon <levon@movementarian.org>
7754 * BufferView2.C: small cleanup
7757 * lyxfind.C: move unnecessary header into the .C
7759 2002-08-08 John Levon <levon@movementarian.org>
7761 * funcrequest.h: just tedious nonsense
7764 * lyx_main.C: cleanups
7767 * vspace.C: remove dead header lyx_main.h
7769 2002-08-07 Angus Leeming <leeming@lyx.org>
7772 * paragraph_pimpl.h:
7773 Forward declare class Counters in paragraph.h by moving the ctrs member
7774 variable into Paragraph::Pimpl.
7775 (counters): new method, returning a reference to pimpl_->ctrs.
7777 * text2.C: ensuing changes.
7779 2002-08-07 John Levon <levon@movementarian.org>
7781 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7783 * BufferView_pimpl.C: announce X selection on double/triple
7786 * lyx_main.C: use correct bool in batch dispatch
7788 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7790 2002-08-07 André Pönitz <poenitz@gmx.net>
7792 * funcrequest.h: new class to wrap a kb_action and its argument
7795 * BufferView_pimpl[Ch]:
7799 * lyxrc.C: subsequent changes
7802 2002-08-07 John Levon <levon@movementarian.org>
7804 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7805 document options change.
7807 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7812 * makefile.am: move counters functionality over from
7813 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7815 2002-08-06 John Levon <levon@movementarian.org>
7817 * WordLangTuple.h: new file for word + language code tuple
7828 * BufferView2.C: use WordLangTuple
7831 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7833 2002-08-06 John Levon <levon@movementarian.org>
7835 * lyx_main.C: fix cmdline batch handling
7837 2002-08-06 André Pönitz <poenitz@gmx.net>
7839 * lyxrc.C: set default for show_banner to true
7841 2002-08-06 John Levon <levon@movementarian.org>
7843 * pspell.C: fix a crash, and allow new aspell to work
7845 2002-08-06 John Levon <levon@movementarian.org>
7848 * kbmap.C: small cleanup
7851 * vspace.C: add const
7853 2002-08-05 John Levon <levon@movementarian.org>
7855 * LyXAction.C: back to tabular-insert
7857 2002-08-04 John Levon <levon@movementarian.org>
7860 * BufferView.C: cosmetic change
7862 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7872 * BufferView2.C: purge all "Lyx" not "LyX" strings
7875 * lyxcursor.C: attempt to add some documentation
7880 * ToolbarDefaults.C:
7881 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7882 merge with LFUN_TABULAR_INSERT
7889 * pspell.C: split up i/pspell implementations into separate
7890 files, many cleanups
7892 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7894 * text2.C: some cleanup
7896 * lyxfunc.C: don't check for isp_command == "none" any more, it
7897 didn't make any sense
7899 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7904 * makefile.am: move counters functionality over
7905 from text2.C/paragraph.[Ch] to counters.[Ch], and
7907 2002-08-02 John Levon <levon@movementarian.org>
7909 * buffer.C: s/lyxconvert/lyx2lyx/
7911 2002-08-02 Angus Leeming <leeming@lyx.org>
7913 * lyxlex.C: revert John's change as it breaks reading of the user
7916 2002-08-02 Angus Leeming <leeming@lyx.org>
7918 * importer.C (Import):
7919 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7920 changes due to LyXView::view() now returning a boost::shared_ptr.
7922 2002-08-02 John Levon <levon@movementarian.org>
7924 * lyxlex.C: small cleanup
7926 2002-08-02 John Levon <levon@movementarian.org>
7928 * text2.C (status): small cleanup, no logic change
7930 2002-08-01 John Levon <levon@movementarian.org>
7933 * buffer.C (writeFile): don't output alerts, caller
7937 * lyx_cb.C: from above
7939 * lyxfunc.C: allow to open non-existent files
7941 2002-07-31 John Levon <levon@movementarian.org>
7943 * lyxserver.C: don't let incidental errors get
7946 2002-07-30 John Levon <levon@movementarian.org>
7948 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7950 2002-07-30 John Levon <levon@movementarian.org>
7953 * lyxserver.C: remove I/O callback too
7955 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7957 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7960 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * many files: strip,frontStrip -> trim,ltrim,rtrim
7964 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7966 * PrinterParams.h: remove extern containsOnly, and include
7967 support/lstrings.h instead.
7969 * LaTeX.C (scanAuxFile): modify because of strip changes
7971 * buffer.C (makeLaTeXFile): ditto
7972 * bufferparams.C (writeFile): ditt
7973 * lyxfont.C (stateText): ditto
7974 * lyxserver.C (read_ready): ditto
7975 * vc-backend.C (scanMaster): ditto
7977 * BufferView_pimpl.h: ws changes
7979 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7981 2002-07-26 André Pönitz <poenitz@gmx.net>
7983 * kb_sequence.C: remove unnedred usings
7985 2002-07-26 Juergen Vigna <jug@sad.it>
7987 * lyxfind.C (LyXReplace): we have to check better if the returned
7988 text is not of theLockingInset()->getLockingInset().
7990 2002-07-25 Juergen Vigna <jug@sad.it>
7992 * lyxfind.C (LyXReplace): don't replace if we don't get the
7995 * undo_funcs.C (createUndo): remove debugging code.
7997 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7999 * buffer.C (parseSingleLyXformat2Token): Use default placement
8000 when reading old floats.
8002 * FloatList.C (FloatList): Change the default placement of figure
8003 and tables to "tbp".
8005 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8007 * MenuBackend.C: using std::max
8009 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8011 * MenuBackend.C (expandToc):
8012 (expandToc2): code moved from xforms menu frontend. It is now
8013 generic and TOCs are transparent to menu frontends.
8015 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8017 * toc.C (getTocList): protect against buf=0
8019 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8020 Menu as first parameter. Now, this calls itself recursively to
8021 expand a whole tree (this will be useful for TOC handling)
8022 (expandFloatInsert): remove 'wide' version of floats
8024 * MenuBackend.h (submenuname): returns the name of the submenu.
8025 (submenu): returns the submenu itself, provided it has been
8026 created by MenuBackend::expand
8028 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8030 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8031 insets which have noFontChange == true. (bug #172)
8033 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * BufferView_pimpl.C: add connection objects and use them...
8038 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8040 * MenuBackend.C (expandLastfiles):
8043 (expandFloatListInsert):
8044 (expandFloatInsert):
8045 (expand): split expand in parts
8047 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8049 * lyx_gui.C: use lyx_gui::exit()
8051 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8053 * LyXAction.C: show the failing pseudo action
8055 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8057 * buffer.C (readFile): Run the lyxconvert script in order to read
8060 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8064 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8066 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8070 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8072 2002-07-22 Herbert Voss <voss@lyx.org>
8075 * lyxlength.[Ch]: add support for the vertical lengths
8077 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8079 * toc.[Ch]: std:: fixes
8081 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8083 * lyxrc.C: do not include lyx_main.h
8085 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8091 * BufferView2.C: include "lyxlex.h"
8094 * bufferparams.h: do not #include "lyxlex.h"
8096 * lyxtextclasslist.C (Add): remove method
8097 (classlist): renamed to classlist_
8099 * paragraph_pimpl.C:
8103 * bufferview_funcs.C:
8108 * toc.C (getTocList): use BufferParams::getLyXTextClass
8110 * toc.C (getTocList): use InsetFloat::addToToc
8112 * toc.[Ch]: new files, containing helper functions to handle table
8115 * lyxfunc.C (dispatch): no need to remove spaces around command
8117 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8118 first command of the sequence; it is not very clever, but I do not
8119 have a better idea, actually
8121 * LyXAction.C (LookupFunc): make sure to remove space at the
8122 beginning and end of the command
8124 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8126 * MenuBackend.C (getMenubar): new method: return the menubar of
8128 (read): treat differently reading of menu and menubar (in
8129 particular, the menubar has no name now)
8130 (Menu::menubar): remove
8132 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8135 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8137 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8138 a bibitem inset in a RTL paragraph.
8140 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8142 * paragraph_pimpl.C: constify
8144 * BufferView_pimpl.C:
8146 * lyxfunc.C: fix dispatch in a nicer way
8148 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8150 * lyxfunc.C (dispatch):
8151 * BufferView_pimpl.C:
8152 * BufferView_pimpl.h:
8154 * BufferView.h: rename Dispatch() to dispatch()
8156 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8158 * lyxlayout.C (Read): honor DependsOn tag
8160 * lyxlayout.[Ch] (depends_on): new method
8162 * version.C.in: update lyx_docversion
8164 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8166 * paragraph.C (validate): remove from here...
8167 * paragraph_pimpl.C (validate): ... and move here
8168 (isTextAt): make it const
8170 * buffer.C (getLists): ws cleanup
8172 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8174 * language.C (read): Use iso8859-1 encoding in latex_lang
8175 (this prevents LyX from crashing when using iso10646-1 encoding).
8177 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * text2.C (toggleInset): if cursor is inside an inset, close the
8180 inset and leave cursor _after_ it
8182 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8184 * lyxfunc.C: move minibuffer completion handling out of here
8186 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8188 * BufferView_pimpl.C:
8189 * LaTeX.C: fix dispatch calls
8191 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8193 * text.C (drawChars): Fix Arabic text rendering.
8195 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8199 * lyxfunc.C: remove message-push/pop
8203 * lyxfunc.C: rationalise some code by removing verboseDispatch
8204 in favour of a bool argument to dispatch()
8206 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8208 * lyx_main.C (init): make sure to read symlinks as absolute paths
8210 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8213 * lyxfunc.C: no need for commandshortcut to be a member
8215 2002-07-15 André Pönitz <poenitz@gmx.net>
8217 * converter.C: add support for $$s (scripts from lib/scripts dir)
8218 * lyx_main.C: white space
8220 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8224 * lyxrc.C: remove second exit confirmation
8226 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8231 * BufferView_pimpl.h:
8232 * BufferView_pimpl.C:
8233 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8235 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8237 * MenuBackend.C (expand): add numeric shortcuts to document menu
8239 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8241 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8243 * lyxfont.C (setLyXFamily):
8250 * buffer.C (asciiParagraph): use ascii_lowercase
8252 2002-07-15 Mike Fabian <mfabian@suse.de>
8254 * lyxlex_pimpl.C (search_kw):
8255 * lyxlex.C (getLongString):
8256 * converter.h (operator<):
8257 * converter.C (operator<):
8258 * buffer.C (parseSingleLyXformat2Token):
8260 * ToolbarDefaults.C (read):
8261 * MenuBackend.C (checkShortcuts):
8263 * LColor.C (getFromGUIName):
8264 (getFromLyXName): use the compare_ascii_no_case instead of
8265 compare_no_case, because in turkish, 'i' is not the lowercase
8266 version of 'I', and thus turkish locale breaks parsing of tags.
8268 2002-07-16 Angus Leeming <leeming@lyx.org>
8270 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8271 now takes a Buffer const & argument.
8273 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8275 * BufferView.C (resize): check there's a buffer to resize
8277 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8279 * lyxfunc.C: remove dead code
8282 * lyxserver.C: use lyx_guii::set_read_callback
8284 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8286 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8287 an inset in a RTL paragraph.
8289 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8291 * lyxfunc.C: repaint after a font size update
8293 2002-07-15 André Pönitz <poenitz@gmx.net>
8295 * lyxlength.C: inBP should be able to return negative values
8297 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8299 * lyxfunc.C: use lyx_gui::update_fonts()
8301 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8303 * lyxfunc.C: use lyx_gui::update_color()
8305 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8311 * lyxrc.C: remove file->new asks for name option, and let
8312 buffer-new take an argument
8314 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8316 * BufferView_pimpl.C: remove unneeded extra repaint()
8318 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8320 * LyXAction.C: allow command-sequence with NoBuffer
8322 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8324 2002-07-10 Angus Leeming <leeming@lyx.org>
8326 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8328 2002-07-09 Angus Leeming <leeming@lyx.org>
8330 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8332 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8334 * lengthcommon.h: whitespace
8336 * lyxfunc.C: update scrollbar after goto paragraph
8338 * lyxtext.h: factor out page break drawing, and fix it so
8339 page break/added space paints as selected nicely
8341 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8343 * BufferView_pimpl.C: add FIXMEs, clean up a little
8345 2002-07-09 André Pönitz <poenitz@gmx.net>
8347 * lyxfont.[Ch]: support for wasy symbols
8349 2002-07-08 André Pönitz <poenitz@gmx.net>
8351 * BufferView_pimpl.C: apply John's patch for #93.
8353 2002-07-05 Angus Leeming <leeming@lyx.org>
8355 * BufferView_pimpl.C (buffer): generate previews if desired.
8357 * LColor.h: add "preview" to the color enum.
8359 * LColor.C (LColor): add a corresponding entry to the items array.
8361 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8364 2002-07-05 Angus Leeming <leeming@lyx.org>
8366 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8367 The body of the code is now in the method that is passed an ostream &
8368 rather than a file name.
8369 Pass an additional only_preamble parameter, useful for the forthcoming
8372 2002-07-03 André Pönitz <poenitz@gmx.net>
8374 * lyxfunc.C: simplify getStatus() a bit for math stuff
8376 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8378 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8380 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8382 * text.C (changeRegionCase): do not change case of all the
8383 document when region ends at paragraph end (bug #461)
8385 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8387 * paragraph.C (startTeXParParams):
8388 (endTeXParParams): add \protect when necessary
8390 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8392 * BufferView_pimpl.C (workAreaExpose): remove warning
8394 2002-06-27 Angus Leeming <leeming@lyx.org>
8396 * Makefile.am: add lyxlayout_ptr_fwd.h.
8398 2002-06-26 André Pönitz <poenitz@gmx.net>
8400 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8402 2002-06-25 Angus Leeming <leeming@lyx.org>
8404 * lyxfunc.C (dispatch): Comment out the call to
8405 grfx::GCache::changeDisplay. The method no longer exists now that the
8406 pixmap generation part of the graphics loader has been moved into
8409 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8411 * text2.C: layout as layout
8413 * text.C: layout as layout
8415 * tabular.C (OldFormatRead): layout as layout
8417 * paragraph_pimpl.C (TeXDeeper): layout as layout
8418 (realizeFont): layout as layout
8420 * paragraph.C (writeFile): layout as layout
8421 (validate): layout as layout
8422 (getFont): layout as layout
8423 (getLabelFont): layout as layout
8424 (getLayoutFont): layout as layout
8425 (breakParagraph): layout as layout
8426 (stripLeadingSpaces): layout as layout
8427 (getEndLabel): layout as layout
8428 (getMaxDepthAfter): layout as layout
8429 (applyLayout): layout as layout
8430 (TeXOnePar): layout as layout
8431 (simpleTeXOnePar): layout as layout
8432 (TeXEnvironment): layout as layout
8433 (layout): layout as layout
8434 (layout): layout as layout
8436 * lyxtextclass.C (compare_name): new functor to work with
8437 shared_ptr, layout as layout
8438 (Read): layout as layout
8439 (hasLayout): layout as layout
8440 (operator): layout as layout
8441 (delete_layout): layout as layout
8442 (defaultLayout): layout as layout
8444 * lyxlayout_ptr_fwd.h: new file
8446 * lyxlayout.C (Read): layout as layout
8448 * lyx_cb.C (MenuInsertLabel): layout as layout
8450 * bufferlist.C (newFile): layout as layout
8452 * buffer.C (readLyXformat2): layout as layout
8453 (parseSingleLyXformat2Token): layout as layout
8454 (insertStringAsLines): layout as layout
8455 (asciiParagraph): layout as layout
8456 (latexParagraphs): layout as layout
8457 (makeLinuxDocFile): layout as layout
8458 (simpleLinuxDocOnePar): layout as layout
8459 (makeDocBookFile): layout as layout
8460 (simpleDocBookOnePar): layout as layout
8461 (getLists): layout as layout
8463 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8465 * CutAndPaste.C (cutSelection): layout as layout
8466 (pasteSelection): layout as layout
8467 (SwitchLayoutsBetweenClasses): layout as layout
8469 * BufferView_pimpl.C (Dispatch): layout as layout
8470 (smartQuote): layout as layout
8472 * BufferView2.C (unlockInset): layout as layout
8474 2002-06-24 André Pönitz <poenitz@gmx.net>
8476 * lyxfunc.C: fix #487
8478 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8482 * lyxfunc.C: remove display_shortcuts, show_banner
8484 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8486 * Buffer_pimpl.C: oops, update on resize
8488 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8495 * BufferView.C: use repaint()
8497 * BufferView_pimpl.h:
8498 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8499 as it's a clearer description. Remove superfluous
8502 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8504 * text.C: fix bug 488. Not ideal, but getting
8505 getWord() to work properly for the insets that
8506 matter is more difficult ...
8508 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8510 * BufferView_pimpl.C:
8513 * lyxfunc.C: remove the six million index lyxfuncs to just
8514 one, and DTRT (bug 458)
8516 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8520 * BufferView_pimpl.h:
8521 * BufferView_pimpl.C: clean up resize() stuff,
8522 and unnecessary updateScreen()s
8524 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8528 * BufferView_pimpl.h:
8529 * BufferView_pimpl.C:
8532 * minibuffer.C: remove focus management of workarea,
8533 not needed. Use screen's greyOut()
8535 2002-06-17 Herbert Voss <voss@lyx.org>
8537 * converter.C: (convert) do not post a message, when converting
8538 fails, let the calling function decide what to do in this case
8540 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8542 * lyxfunc.C: tidy up a little
8544 2002-06-16 <alstrup@diku.dk>
8546 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8547 Got rid of FORMS_H_LOCATION include. Now we are
8550 2002-06-15 LyX Development team <lyx@rilke>
8552 * buffer.[Ch] (sgmlOpenTag):
8553 (sgmlCloseTag): Added support for avoiding pernicious mixed
8554 content. Return number of lines written.
8557 (makeDocBookFile): Fixed calls to sgml*Tag.
8558 Simple white space clean.
8560 (simpleDocBookOnePar): Simple white space clean.
8562 * tabular.[Ch] (docBook): Renamed to docbook and got another
8563 argument to related with the pernicious mixed content.
8565 (docbookRow): Fixed calls for docbook inset method.
8567 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8569 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8570 so it's X11 independent.
8574 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8576 2002-06-15 Lyx Development team <lyx@electronia>
8578 * intl.h: Renamed getTrans to getTransManager.
8580 2002-06-14 Angus Leeming <leeming@lyx.org>
8582 * Makefile.am: nuke forgotten stl_string_fwd.h.
8584 2002-06-12 Angus Leeming <leeming@lyx.org>
8586 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8588 2002-06-13 Angus Leeming <leeming@lyx.org>
8591 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8593 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8595 * kbmap.C (getiso): add support for cyrillic and greek
8597 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8601 * BufferView_pimpl.h:
8602 * BufferView_pimpl.C: move bogus scrolling logic
8605 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8608 * BufferView_pimpl.C: view->resize() change
8610 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8612 * BufferView_pimpl.C: topCursorVisible
8615 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8619 * lyx_gui.C: move to frontends/
8623 * lyx_main.C: changes from above
8625 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8632 * lyx_main.C: minor tidy
8634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8636 * BufferView_pimpl.h:
8637 * BufferView_pimpl.C:
8639 * BufferView.C: make painter() const,
8642 * BufferView2.C: use screen() accessor
8645 * lyx_main.C: some minor cleanup
8647 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8649 * BufferView_pimpl.h:
8650 * BufferView_pimpl.C: remove enter/leaveView,
8653 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8658 * BufferView_pimpl.h:
8659 * BufferView_pimpl.C: only construct screen once,
8662 * lyxrc.C: remove pointless comment
8664 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8667 * BufferView.C: remove active() and belowMouse()
8669 * BufferView_pimpl.h:
8670 * BufferView_pimpl.C: use workarea() not workarea_,
8671 and make it use a scoped_ptr instead
8673 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8675 * lyx_gui.C: add debug message on BadWindow
8677 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8679 * sp_spell.C: fdopen is not part of the C++ standard.
8681 * paragraph.C (InsetIterator): use >= instead of ==
8683 2002-06-07 Angus Leeming <leeming@lyx.org>
8685 Fixes needed to compile with Compaq cxx 6.5.
8686 * BufferView_pimpl.C:
8693 * lyxtextclasslist.C:
8698 all c-library variables have been moved into namespace std. Wrap
8699 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8704 Add a using std::abs declaration.
8706 * kbmap.h (modifier_pair):
8707 * paragraph.h (InsetTable, InsetList):
8708 * lyxfont.h (FontBits):
8709 type definition made public.
8711 * bufferlist.C (emergencyWriteAll): the compiler complains that
8712 there is more than one possible lyx::class_fun template to choose from.
8713 I re-named the void specialisation as lyx::void_class_fun.
8715 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8717 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8718 the compiler is is unable to find tostr in write_attribute.
8720 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8722 * buffer.C (sgmlError): hide #warning
8724 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * xtl/*: get rid of xtl, which is not in use anyway
8728 * LyXAction.C (init):
8729 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8730 were unimplemented xtl experimentation
8732 2002-06-04 André Pönitz <poenitz@gmx.net>
8734 * lyxfunc.C: disable array operation on simple formulae
8736 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8738 * converter.C: constify a bit
8740 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8742 * lyx_gui.C: check xforms version correctly
8744 2002-04-30 Herbert Voss <voss@lyx.org>
8746 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8749 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8751 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8752 attempt to register it with a VCS)
8754 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8756 * lyx_main.C (init): honor variables LYX_DIR_13x and
8759 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8763 * lyx_main.C: fix a crash on bad command line,
8764 and give a useful exit status on error
8766 * lyxfunc.C (doImport): allow -i lyx to work
8768 2002-03-30 André Pönitz <poenitz@gmx.net>
8770 * lyxfunc.C: mathed font changes
8772 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8787 * trans_mgr.h: srcdocs, and some minor cleanups
8789 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8792 call getFont all the time)
8794 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8796 * switch from SigC signals to boost::signals
8798 2002-05-29 André Pönitz <poenitz@gmx.net>
8800 * paragraph_pimpl.C (getChar): don't call size() too often...
8802 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8804 * paragraph_pimpl.C (insertChar): do not try to update tables when
8805 appending (pos == size())
8807 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8808 in order to reduce drastically the number of comparisons needed to
8809 parse a large document
8811 2002-05-29 André Pönitz <poenitz@gmx.net>
8817 * textclasslist.[Ch]:
8818 * sp_ispell.h: whitespace change
8820 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8822 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8823 lyxaction directly now.
8825 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8829 * lyxvc.C: remove unused headers
8831 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8838 * undo_funcs.C: some cleanups. Use shared_ptr
8839 and a template for the undo stacks.
8841 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8843 * BufferView_pimpl.h:
8844 * BufferView_pimpl.C:
8851 * text2.C: use key_state/mouse_state
8853 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8855 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8858 * chset.C: change include order
8859 (loadFile): use boost regex and get rid of LRegex and LSubstring
8861 * Makefile.am (BOOST_LIBS): new variable
8864 * LaTeX.C: change include order.
8865 (scanAuxFile): use boost regex and get rid of LRegex and
8869 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8874 * FontInfo.C: moved to frontends/xforms/
8877 * FontLoader.C: moved into frontends for GUIIzation
8882 * lyxfunc.C: changes from above
8884 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8886 * LColor.C: remove spurious X include
8888 * BufferView_pimpl.C:
8893 * text2.C: move font metrics to frontends/
8895 2002-05-24 Juergen Vigna <jug@sad.it>
8897 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8898 setting the undo_cursor.
8900 * ParagraphParameters.h: include local includes first.
8902 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8904 * BufferView_pimpl.C:
8905 * BufferView_pimpl.h:
8909 * screen.C: move WorkArea into frontends/
8915 * BufferView2.C: move LyXScreen into frontends/
8919 * lyx_gui.C: move lyxlookup into frontends/xforms/
8921 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8924 * BufferView_pimpl.C:
8934 * bufferview_funcs.C:
8947 * vc-backend.C: move LyX/XFormsView into frontends/
8949 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8961 * text2.C: move Painter to frontends/
8963 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8965 * buffer.C: comment out some some code that depend upon lyx_format
8968 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8969 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8971 * buffer.h (NO_COMPABILITY): turn off compability
8973 * ColorHandler.C: include scoped_array.hpp
8975 * font.C: Use more specific smart_ptr header.
8978 * ShareContainer.h: ditto
8982 * BufferView_pimpl.h: ditto
8983 * ColorHandler.h: ditto
8985 * kbmap.C (defkey): change call to shared_ptr::reset
8987 2002-05-21 Juergen Vigna <jug@sad.it>
8989 * buffer.C (insertErtContents): fix to insert ert asis if it is
8990 non empty. Skip it completely if it contains only whitespaces.
8992 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8994 * BufferView_pimpl.C:
8995 * BufferView2.C: clear selection on paste (bug 393)
8997 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8999 * DepTable.C: include ctime
9001 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9003 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9005 2002-05-14 Juergen Vigna <jug@sad.it>
9007 * text.C (breakParagraph): fixed function to honor the keepempty
9008 layout in the right maner and also to permit the right breaking
9009 algorithm on empty or non empyt keepempty paragraphs.
9011 * paragraph.C (breakParagraph): we have to check also if the par
9012 is really empty (!size()) for isempty otherwise we do the wrong
9015 2002-05-10 Juergen Vigna <jug@sad.it>
9017 * buffer.[Ch] : The following are only changes to the ert
9018 compatibility read reading old LaTeX layout and font stuff and
9019 convert it to ERTInsets.
9021 * buffer.h: added isErtInset().
9023 * buffer.C (struct ErtComp): add a fromlayout bool to check
9024 if we're inside a LaTeX layout.
9025 (isErtInset): new helper function.
9026 (insertErtContents): look for other ert insets before this one
9027 and insert the contents there, so that we don't have subsequent
9028 ERT insets with nothing between them. This way we create only one
9029 inset with multiple paragraphs. Also check if we don't insert only
9030 spaces ' ' as they are ignored anyway afterwards in the .tex file
9031 so if we have only spaces we will ignore this latex part in the
9033 (parseSingleLyXformat2Token \\layout): better compatibility when
9034 reading layout-latex stuff.
9035 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9037 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9038 stuff after reading the inset only get the information back from
9041 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9043 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9045 * LaTeXFeatures.C (getBabelOptions): New method.
9047 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9049 * BufferView_pimpl.C (Dispatch): work around missing argument for
9052 2002-05-08 Juergen Vigna <jug@sad.it>
9054 * text.C (leftMargin): handle paragraph leftindent.
9056 * paragraph.C (writeFile): write the new \\leftindent tag.
9057 (validate): handle leftindent code.
9058 (TeXEnvironment): handle paragraphleftindent code again.
9060 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9062 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9063 for paragrap_extra indent code and new token \\leftindent.
9064 (latexParagraphs): handle the leftindent as environment.
9066 * ParameterStruct.h: added leftindent support.
9068 * ParagraphParameters.C (leftIndent): added support functions for
9069 the paragraph left indent.
9071 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9074 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9076 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9079 * text.C (computeBidiTables): No bidi in insetERT.
9081 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9084 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9086 * version.C.in: pre 5
9088 2002-05-02 José Matos <jamatos@fep.up.pt>
9089 * buffer.C (makeDocBookFile): white space changes, add newline to
9091 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9093 * tabular.C (docBook): fix typo.
9095 2002-05-03 Juergen Vigna <jug@sad.it>
9097 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9098 change in LyXText as we can not be sure it was not freed.
9099 (drawOneRow): remove unused code.
9101 * text.C (drawInset): redo the calculation of the need_break_row as
9102 it could have a row which was already freed.
9103 (draw): look at the return value of drawInset and return false if
9104 it also returned false.
9105 (paintRowText): look at the return value of draw and return false if
9106 it also returned false.
9108 * lyxtext.h: added bool return type to drawInset() and draw() so that
9109 if we have a change in the row so that the rowbreak has to be redone
9110 we abort drawing as it will be called again.
9112 2002-05-02 Juergen Vigna <jug@sad.it>
9114 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9115 a change in the maintext also if we're inside an inset.
9116 (Dispatch): set the cursor again after a break line and after the
9117 screen has been updated as it could be we're in a different row.
9119 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9120 to set the cursor behind the pargraph with > size().
9121 (setCursor): check also for the same paragraph when checking where
9122 to put the cursor if we have a NFR inset.
9124 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9125 parts of layout read further up as it still was in the wrong
9128 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9130 * screen.C (drawFromTo): change sine fullRebreak always return
9133 * buffer.C (parseSingleLyXformat2Token): reindent some
9135 * BufferView_pimpl.C (update): change since fullRebreak always
9137 (Dispatch): git rid of the last hardcoded "Standard"s.
9139 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9141 * text2.[Ch] (fullRebreak): make it return void now that we always
9144 2002-04-30 Juergen Vigna <jug@sad.it>
9146 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9147 ert compatibility check for "latex" layout.
9149 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9151 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9152 minipages: use col% instead of p%, and also use the current font.
9153 (makeLaTeXFile): Fix use babel condition.
9154 (parseSingleLyXformat2Token): Correct font when reading old floats.
9156 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9158 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9159 inserting list of floats.
9161 2002-04-25 Herbert Voss <voss@lyx.org>
9163 * MenuBackend.C (expand): don't add the graphics extensions to the
9166 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9169 non-existing layout, do not complain if it was the default layout
9170 of the original class (bug #342)
9172 2002-04-24 Juergen Vigna <jug@sad.it>
9174 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9175 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9177 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9179 * buffer.C (getBibkeyList): If using \bibliography, return the
9180 option field with the reference itself. Enables us to provide natbib
9181 support when using \bibliography.
9183 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9185 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9187 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9188 natbib is provided by the LaTeX class.
9190 2002-04-23 Juergen Vigna <jug@sad.it>
9192 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9195 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9197 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9199 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9201 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9202 ensuremath around textordmasculine, textordfeminine and
9205 2002-04-19 Juergen Vigna <jug@sad.it>
9207 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9208 reinitializing the buffer otherwise row-dimensions may be wrong.
9209 (update): reset also the selection cursors if they do exits otherwise
9210 their x/y positions may be wrong.
9212 * text2.C (cursorDown): don't enter the inset if we came from a row
9213 above and are one row over the inset.
9215 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9216 really leaving an inset.
9218 2002-04-18 Juergen Vigna <jug@sad.it>
9220 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9221 of the selected paragraph does not have the selected layout also if
9224 * text2.C (setLayout): fixed bug which did not change last selected
9227 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9228 changed the read and substituted \\end_float with \\end_inset!
9230 * BufferView_pimpl.C (cursorPrevious):
9231 (cursorNext): fixed to make it work with rows heigher than the work
9232 area without moving the cursor only the draw of the row.
9233 (workAreaMotionNotify): fix jumping over high rows.
9235 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9237 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9240 2002-04-16 Juergen Vigna <jug@sad.it>
9242 * text2.C (setCursor): set also the irow().
9243 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9245 (cursorDown): support for locking an inset if the x_fix value goes
9246 inside it. That way I can transverse insets too with cursor up/down.
9248 * lyxrow.h: added irow helper function same as other (i) functions.
9250 * BufferView_pimpl.C (cursorPrevious):
9251 (cursorNext): fixed for insets!
9253 2002-04-15 Juergen Vigna <jug@sad.it>
9255 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9256 position otherwise it is wrong in some cases.
9258 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9259 inside the inset before the call.
9261 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9263 * buffer.[Ch] (getBibkeyList): make it const.
9265 2002-04-12 Juergen Vigna <jug@sad.it>
9267 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9269 * text2.C (getCursorX): new helper function
9270 (setCursor): compute also ix_
9271 (setCursorFromCoordinates): set also ix.
9273 * lyxcursor.h: added ix_ and helper functions.
9275 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9277 * buffer.C (insertStringAsLines): dont break paragraph if the this
9278 paragraph is inside an inset which does not permit it!
9280 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9281 also with no chars on this paragraph.
9282 (paintRowText): only paint stuff if it's inside the workarea!
9284 * paragraph.C (breakParagraph): honor keepempty flag and break the
9285 paragraph always below not above.
9287 * BufferView2.C (unlockInset): update the paragraph layout on inset
9288 unlock as we changed paragraph in such a case.
9290 * lyxfind.C (LyXFind): clear the former selection if not found!
9292 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9293 again called in insertChar().
9295 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9296 an inset which uses the whole row!
9297 (rightMargin): ditto.
9298 (insertChar): force a rebreak if we inserted an inset!
9300 2002-03-28 Herbert Voss <voss@lyx.org>
9302 * lyxlength.[Ch]: add inBP() to get the right PS-point
9303 units (BigPoint). With inPixels we have rounding errors
9305 2002-04-11 Juergen Vigna <jug@sad.it>
9307 * text2.C (setCursorFromCoordinates): set iy to the right value.
9308 (setCursor): add check if row->previous exists!
9310 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9311 an old float_type as this was the case in the old code!
9313 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9315 * BufferView2.C (showLockedInsetCursor): use iy
9316 (fitLockedInsetCursor): ditto
9318 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9319 locked insets as there we have the right value now.
9321 * lyxcursor.C: added iy_ variable and iy functions to set to the
9322 baseline of cursor-y of the locked inset.
9324 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9325 (setCursor): fixed for insets which need a full row.
9327 * text.C (rowLastPrintable): don't ignore the last space when before
9328 an inset which needs a full row.
9329 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9330 as last character of a row when before a inset which needs a full row.
9332 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9334 * version.C.in: update date
9336 * text2.C (fullRebreak): try to always return true and see what
9339 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * MenuBackend.C (expand): use Floating::listName
9343 * FloatList.C (FloatList): add listName argument to the built-in
9346 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9347 text associated with the float.
9349 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9351 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9353 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9355 * ShareContainer.h: add a couple of missing typenames.
9357 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9359 * lyxrc.C (getDescription): use _() correctly rather than N_().
9361 2002-03-28 Herbert Voss <voss@lyx.org>
9363 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9364 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9366 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9368 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9369 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9371 2002-03-29 Juergen Vigna <jug@sad.it>
9373 * lyxfunc.C (dispatch): add a missing fitCursor call.
9375 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9376 it was scrolled by a cursor move, so return the bool status.
9378 * BufferView.C (fitCursor): return the bool flag also to the outside
9379 world as this is needed.
9381 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9383 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9384 call the edit() as it is not needed (and wrong) IMO.
9385 (workAreaButtonPress): set the screen_first variable before evt.
9386 unlock the inset as this may change screen_first and then we have
9387 a wrong y position for the click!
9389 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9391 * MenuBackend.C (expand): another translation that I missed
9393 2002-03-28 Juergen Vigna <jug@sad.it>
9395 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9397 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9399 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9401 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9403 * MenuBackend.C (expand): fix export/view/update when there is no
9406 2002-03-27 Herbert Voss <voss@lyx.org>
9408 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9411 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * bufferview_funcs.C (currentState): only show paragraph number
9414 for is DEVEL_VERSION is set.
9416 * lyxfunc.C (dispatch): put warning in INFO channel
9418 * MenuBackend.C (expand): translate the name of floats
9420 * FloatList.C (FloatList): mark the float names for translation
9422 * converter.C (convert): use LibScriptSearch
9424 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9426 * MenuBackend.C (defaults): fix default menu (we might as well get
9429 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9431 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9434 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9436 * lyxvc.C: reorder includes.
9438 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9440 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9443 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9445 * CutAndPaste.C: change layouts earlier on paste
9446 to avoid crashing when calling getFont()
9448 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9450 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9453 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9455 * WorkArea.C: remove 'Pending' debug message.
9457 * most files: ws cleanup
9459 * buffer.[Ch]: ws changes
9461 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9463 2002-03-21 Juergen Vigna <jug@sad.it>
9465 * tabular.C (SetMultiColumn): collapse also the contents of the
9466 cells and set the last border right. Added a Buffer const * param.
9468 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9473 2002-03-19 Juergen Vigna <jug@sad.it>
9475 * text2.C (clearSelection): reset also xsel_cache.
9477 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9478 where it needs to be called (John tells us to do so too :)
9479 (selectionLost): reset sel_cache.
9481 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9483 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9485 * text2.C (setCursorIntern): put debuging code in INSETS channel
9487 2002-03-19 André Pönitz <poenitz@gmx.net>
9489 * lyxfunc.C: tiny whitespace change
9491 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9493 * ToolbarDefaults.C (init):
9494 * LyXAction.C (init):
9496 * BufferView_pimpl.C (Dispatch):
9497 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9499 2002-03-19 Allan Rae <rae@lyx.org>
9501 * exporter.C (Export): removeAutoInsets before doing anything else.
9502 While I've just introduced a dependency on BufferView this really is
9503 the best place to clean the buffer otherwise you need to cleanup in
9504 a dozen places before calling export or cleanup in a dozen functions
9507 * converter.C (runLaTeX):
9508 (scanLog): Better handling of removeAutoInsets and screen updates.
9510 * lyxfunc.C (dispatch): small whitespace changes
9512 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9514 * WorkArea.C (C_WorkAreaEvent): return a value.
9515 (event_cb): return 1 if we handled the event, 0 otherwise.
9517 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9519 2002-03-18 Juergen Vigna <jug@sad.it>
9521 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9522 (GetAdditionalWidth): ditto.
9526 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9527 inset if we're there actually (probably not used right now but this
9528 is the direction to go for unifying code).
9529 (paste): disable code to clear the selection.
9531 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9532 inside an InsetText and move the check further up as it is in the
9535 * text2.C (pasteSelection): set a selection over the pasted text.
9537 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9539 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9540 and libgraphics to build on Cygwin.
9542 2002-03-15 Juergen Vigna <jug@sad.it>
9544 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9545 inserting an Inset into the paragraph. I know this is not the best
9546 fix but we already use current_view in CutAndPaste so we will remove
9547 all of it's using at the same time.
9549 * buffer.C (sgmlError): deactivated function till it is rewritten in
9550 the right mode, now it can create problems.
9552 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9553 before accessing it.
9555 2002-03-14 Juergen Vigna <jug@sad.it>
9557 * undo_funcs.C (textHandleUndo): do the right thing when updating
9558 the inset after the undo/redo.
9560 * text2.C (setCursor): just some testcode for #44 not ready yet.
9562 * undo_funcs.C (textHandleUndo): set the next() and previous()
9563 pointers of the paragraph to 0 before deleting otherwise we have
9564 problems with the Paragraph::[destructor].
9566 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9567 on a paragraph insertion.
9569 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * buffer.C (asciiParagraph): use += operator for char append to
9574 * paragraph.C (getFontSettings): compare >= not just >
9575 (highestFontInRange): ditto
9578 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9580 * paragraph.C: change several algorithm to be more appripriate for
9581 the problem domain. This is lookip in FontList and in the InsetList.
9583 2002-03-13 André Pönitz <poenitz@gmx.net>
9586 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9588 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9593 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9595 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * Painter.C (display): anon helper function, adjust code for this
9599 (pixmap): remove function.
9601 * Painter.h: remove private display variable.
9603 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9605 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9607 * WorkArea.[Ch]: remove figinset_canvas cruft.
9609 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9611 * lyxtextclass.C (operator): add one item cache optimization.
9613 * bufferlist.h: doxy changes
9615 * bufferlist.C: ws changes
9617 * DepTable.[Ch] (ext_exist): place const in the right spot.
9619 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9621 (workAreaExpose): call resizeInsets when the with BufferView changes.
9622 (Dispatch): adjust for protectedBlank removal
9623 (specialChar): call updateInset if the insert went ok.
9625 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9626 specialChar instead.
9628 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9630 * BufferView.h: doxy change
9632 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9634 * lyxtextclass.C (operator[]): remove non-const version
9635 (defaultLayout): remove non-const version
9637 2002-03-12 Juergen Vigna <jug@sad.it>
9639 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9640 did resize the LyXText too.
9642 * buffer.C (readLyXformat2): set layout information on newly allocated
9645 * tabular.C (OldFormatRead): set layout information on the paragraph.
9647 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9649 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9651 2002-03-11 Juergen Vigna <jug@sad.it>
9653 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9655 (resizeCurrentBuffer): force also the insets to resize themselfes.
9656 (moveCursorUpdate): fixed up for InsetText.
9658 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9661 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9662 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9663 value of Dialogs::tooltipsEnabled().
9664 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9666 2002-03-08 Juergen Vigna <jug@sad.it>
9668 * BufferView_pimpl.C (updateInset): update inset inside inset also
9669 if it isn't inside theLockingInset().
9671 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9673 * buffer.C (asciiParagraph): redo some of the word and line length
9675 (getLists): look for Caption instead of caption.
9677 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * buffer.C (Buffer): initialize niceFile to true
9682 (makeDocBookFile): make sure niceFile is true on exit
9684 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9686 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9688 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9690 * LyXSendto.C: remove.
9691 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9692 * lyx_gui.C: remove now-redundant comment.
9693 * ColorHandler.h: remove forward declaration of class WorkArea.
9694 * lyxfunc.C: remove #include "WorkArea.h".
9696 2002-03-07 Juergen Vigna <jug@sad.it>
9698 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9699 got moved away with the DEPM and also set the inset_owner always
9700 right which before could have been omitted.
9702 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9704 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9705 wanted layout is not found.
9707 2002-03-07 Juergen Vigna <jug@sad.it>
9709 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9711 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * paragraph.C (breakParagraph): use default layout not layout of
9715 (Paragraph): clear ParagraphParameters.
9717 2002-03-06 Juergen Vigna <jug@sad.it>
9719 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9720 otherwise it would not be a valid lenght. Fixed a special case in
9721 the minipage compatibility read where we end the document with a
9724 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9725 was set as it could be 0 for InsetTexts first entry.
9727 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * paragraph.C (writeFile): if layout is empty write out
9730 defaultLayoutName().
9732 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9733 file without named layout we set layout to defaultLayoutName().
9735 2002-03-06 Juergen Vigna <jug@sad.it>
9737 * CutAndPaste.C (copySelection): set layout for new paragraph.
9739 * text.C (prepareToPrint): leave ERT inset left aligned
9740 (leftMargin): don't indent paragraphs inside ERT insets
9742 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9744 * paragraph.C (breakParagraph): dont call clear do the work manually
9746 * paragraph.[Ch] (clear): remove function
9748 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9750 * paragraph.C (Paragraph): dont call clear, the work has already
9753 * lyxtextclass.C (operator): assert if n is empty
9755 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9756 work manually instead.
9758 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9760 * BufferView_pimpl.C: protect selectionLost against text == 0
9762 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9764 * text.C (breakParagraph): fix a setting layout to '0' problem.
9766 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9768 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9769 final location of file, for the included files, and graphics.
9771 2002-03-05 Juergen Vigna <jug@sad.it>
9773 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9775 2002-03-04 Juergen Vigna <jug@sad.it>
9777 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9779 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9780 last column of multicolumn cells.
9781 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9783 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9785 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9786 file if it doesn't go to a temporary file.
9788 * buffer.C (sgmlOpenTag):
9789 (sgmlCloseTag): remove extra newline insertion.
9791 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * text.C (getRowNearY): comment out debug msg
9795 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * text2.C: first -> first_y
9799 * text.C (getRowNearY): add some attemts at a possible
9800 optimization, not working.
9802 * tabular.[Ch]: add BufferParams to several function so that newly
9803 created paragraph can be initialized to he default layotu for the
9806 * tabular-old.C (ReadOld): add buf->params to call of Init
9808 * screen.C: rename text->first to text->first_y
9810 * paragraph.C (breakParagraph): always set layout in the broken
9813 * lyxtextclass.C (Read): remove lowercase
9816 (delete_layout): ditto
9818 * lyxtext.h: rename first -> first_y
9820 * lyxlayout.C (Read): remove lowercase
9823 (obsoleted_by): ditto
9825 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9827 * buffer.C (insertErtContents): add params are to InsetERT
9828 (parseSingleLyXformat2Token): add code to check if a paragraphs
9829 layout really exist.
9830 (parseSingleLyXformat2Token): add params to several inset
9832 (asciiParagraph): remove lowercase, do the layout comparisons with
9835 * BufferView_pimpl.C (cursorNext): first -> first_y
9836 (resizeCurrentBuffer): first -> first_y
9837 (updateScrollbar): first -> first_y
9838 (scrollCB): first -> first_y
9839 (workAreaMotionNotify): first -> first_y
9840 (workAreaButtonPress): first -> first_y
9841 (checkInsetHit): first -> first_y
9842 (cursorPrevious): first -> first_y
9843 (cursorNext): first -> first_y
9844 (Dispatch): add buffer_->params to severl inset contructors
9846 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9848 * lyxlayout.C (Read): remove some debug info that I forgot.
9850 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9851 clean up the code slightly.
9852 (makeLinuxDocFile): ditto
9853 (makeDocBookFile): ditto
9855 * text2.C: layout as string
9857 * text.C: layout as string
9859 * paragraph_pimpl.C: layout as string
9861 * paragraph.[Ch]: layout as string
9863 * lyxtextclasslist.[Ch]: layout as string
9865 * lyxtextclass.[Ch]: layout as string
9867 * lyxtext.h: layout as string
9869 * lyxlayout.[Ch]: layout as string
9871 * lyx_cb.C: layout as string
9873 * bufferview_funcs.C: layout as string
9875 * bufferparams.C: layout as string
9877 * buffer.C: layout as string
9879 * LyXView.[Ch]: layout as string
9881 * LaTeXFeatures.[Ch]: layout as string
9883 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9885 * BufferView_pimpl.C: change current_layout to string, remove
9890 (workAreaButtonRelease): layout as string
9892 * BufferView2.C (unlockInset): adjust
9894 * vspace.C (asLatexCommand): use an explict temp variable.
9896 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9898 * Makefile.am: use FRONTEND_*
9900 2002-03-01 Juergen Vigna <jug@sad.it>
9902 * tabular.C (SetWidthOfMulticolCell): changed to something better
9903 I hope but still work in progress.
9904 (recalculateMulticolumnsOfColumn): renamed function from
9905 recalculateMulticolCells as it is more appropriate now.
9906 (SetWidthOfCell): calculate multicols better.
9908 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9910 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9912 * lyxfunc.C (processKeySym): print sequence also if it is
9913 `deleted' (complete)
9915 * kbsequence.C (print): print sequence even if it is deleted
9916 (complete would be a better word, actually).
9918 * lyxfunc.C (dispatch): print complete options after a prefix key
9920 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9922 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9924 * text2.C (setCharFont): eliminate setCharFont code duplication.
9926 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9928 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9929 LFUN_TABULAR_FEATURE (bug #177)
9931 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9933 * Makefile.am: remove figure.h
9935 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9937 * Bufferview_pimpl.C:
9949 * text2.C: remove #include "lyx_gui_misc.h".
9951 * LaTeX.C: added #include <cstdio>
9953 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9956 that the paragraph following this one can have.
9958 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9960 * vspace.C (asLatexCommand): fix bogus gcc warning
9962 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9964 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9966 * text2.C (setLayout): get rid of redundant code
9968 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9970 * text2.C (incDepth): make sure depth cannot be increased beyond
9973 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9975 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9976 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9978 * PainterBase.h (image):
9979 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9982 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9986 * BufferView_pimpl.C:
9987 * BufferView_pimpl.h:
10007 * sp_spell.C: remove fig inset, and the crap house of
10008 cards that follows it
10010 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10015 * os2_errortable.h:
10016 * nt_defines.h: move .h into support/
10018 * vms_defines.h: remove
10020 * WorkArea.C: add space in debug output
10024 * buffer.C: add WITH_WARNINGS
10028 * bufferlist.C: s/retrive/retrieve/, add docs
10037 * chset.C: add docs
10039 * lyxgui.C: add ID to X error handler
10041 * lyxtestclass.c: fix typo
10043 2002-02-26 Juergen Vigna <jug@sad.it>
10045 * tabular_funcs.C (write_attribute): changed so that some default
10046 attributes are not written at all.
10047 (getTokenValue): set default values before trying to read the
10048 value so we have the return value always set as default if we don't
10049 find the token we search for.
10051 * tabular.C (Write): write bools as bools not as strings!
10053 2002-02-22 Juergen Vigna <jug@sad.it>
10055 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10056 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10058 * text.C (leftMargin): don't add an indent for paragraphs inside
10059 tabular cells (fix #208).
10061 2002-02-21 José Matos <jamatos@fep.up.pt>
10063 * tabular.C (docBook): fixed support for long tables.
10065 2002-02-20 Juergen Vigna <jug@sad.it>
10067 * text2.C (getFont): get the drawing font of the Inset if this
10068 paragraph is inside an inset (only important for InsetERT for now).
10070 * buffer.C (insertErtContents): use new lanugage params in ERT
10073 * CutAndPaste.C: commenting out seemingly uneeded code.
10075 2002-02-19 Allan Rae <rae@lyx.org>
10077 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10078 Iterators might be simple to use but they also get invalidated.
10079 (removeAutoInsets): renamed saved cursor tracking variables and added
10080 some comments to clarify what everything does.
10082 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10089 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10090 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10093 * vc-backend.h: remove #include "support/syscall.h"
10097 * converter.C: rearrange #includes in Lars' approved fashion.
10099 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10100 forward declare class Timeout in the header file.
10102 * XFormsView.C: changes due to the above.
10104 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10105 similar to LyXView.
10107 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10108 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10110 2002-02-18 José Matos <jamatos@fep.up.pt>
10112 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10115 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10117 * a lot of small ws changes
10118 * add a lot of using std::XXX
10119 * use std construcs some places where approp.
10120 * use some exisint stuff from lyxfunctional where approp.
10121 * Make file changes to use partial linking (lets test this now...)
10123 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10127 remove #include "support/syscontr.h" as it's redundant. Always has been.
10135 change Systemcalls::System to Systemcalls::Wait and
10136 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10137 No change of functionality, just reflects the stripped down Systemcalls
10140 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10142 * debug.[Ch]: add a GRAPHICS type to the enum.
10144 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10146 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10148 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10151 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10153 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10154 match the changes below.
10156 * text2.C (toggleInset): if there is not editable inset at cursor
10157 position, try to see if cursor is _inside_ a collapsable inset
10160 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10163 document menu has a nice checkbox
10165 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10167 * lyxlength.C (asLatexString): change PW to output as percent of
10170 * lengthcommon.C: change '%' to 't%'
10172 * lyxfunc.C (dispatch): a few comments from Martin
10174 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10178 * BufferView_pimpl.h:
10179 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10182 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * vspace.C (inPixels): fix compiler warning
10186 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * lyxfunc.C (getStatus): fix status message for disabled commands.
10190 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10192 * BufferView_pimpl.C: fix crash on close buffer
10193 during selection (#227)
10195 2002-01-27 Herbert Voss <voss@lyx.org>
10197 * buffer.C: link old Figure to new graphic inset
10199 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10201 * FontLoader.C (getFontinfo): Change the latex font names in order
10202 to match the names of type1inst.
10204 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10208 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10209 (extchanged): ditto
10211 (remove_files_with_extension): ditto
10212 (remove_file): ditto
10215 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10216 document is smaller than the work area height. Do not initialize
10217 static variables to 0.
10219 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10221 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10223 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10224 LFUN_LAYOUT_PARAGRAPHS.
10226 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10227 tabular. It is possible to provide a possible cell, which will
10228 typically be the actcell from the corresponding insettabular
10230 * lyxfunc.C (getStatus): small cleanup; disable
10231 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10234 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10238 * paragraph.C (startTeXParParams):
10239 (endTeXParParams): new methods. The LaTeX code to
10240 start/end paragraph formatting
10241 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10242 empty (fixes bug #200)
10244 * vspace.C (inPixels): adapt to the change below
10245 (inPixels): [later] more cleanups (remove unused variables)
10247 * lyxlength.C (inPixels): change to use a width and a height as
10250 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10253 Replaced with \paperwidth
10255 * DepTable.C (insert): add std:: qualifier
10257 2002-01-18 Allan Rae <rae@lyx.org>
10259 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10262 * text.C (drawInset): Turned out I didn't know enough about how
10263 rebreaking worked. This fixes most of the redraw problems. I see
10264 an occasional cursor trail when a line is broken now and the cursor
10265 placement can seem out by a few pixels also after a rebreak.
10267 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10269 * buffer.C (parseSingleLyXformat2Token): update because minipage
10270 width is now a LyXLength
10272 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10274 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10277 2002-01-17 Juergen Vigna <jug@sad.it>
10279 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10281 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10282 is set correctly and the inset is updated correctly.
10284 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10286 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10287 the beginning of the loop.
10289 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10291 * lyxrc.C: improve help for use_scalable_fonts
10293 2002-01-17 Allan Rae <rae@lyx.org>
10295 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10297 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10299 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10300 make sure to set their inset_owner to the right value (bug #171)
10302 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10305 * DepTable.C: Implement mtime checking to reduce time spent doing
10308 2002-01-16 Juergen Vigna <jug@sad.it>
10310 * tabular.C (GetAdditionalHeight): one of error fixed.
10312 * lyxrc.C (output): small fix in writing use_pspell.
10314 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10316 * sp_base.h: #include LString.h
10318 2002-01-16 Allan Rae <rae@lyx.org>
10320 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10321 Can someone check this please?
10323 * text.C (drawInset): It was possible that p.row would be removed by
10324 breakAgainOneRow upsetting a few other settings. There may be another
10325 small tweak possible by setting need_break_row = 0 when p.row has been
10326 removed but I don't know enough about the logic here.
10328 2002-01-15 Allan Rae <rae@lyx.org>
10330 * text.C (insertChar): removed conditional truism.
10332 * BufferView2.C (removeAutoInsets): More tweaks.
10333 cur_par_prev could be a stray pointer. Check for trailing empty line
10334 in case last line was cur_par and only had an error inset on it.
10336 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10338 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10341 * vc-backend.C (most methods):
10342 * exporter.C (Export):
10343 * converter.C (convert):
10345 * LyXSendto.C (SendtoApplyCB):
10346 * lyxfunc.C (dispatch):
10350 * lyx_cb.C (AutoSave):
10352 * BufferView_pimpl.C (MenuInsertLyXFile):
10353 * buffer.C (runChktex): use Buffer::filePath().
10355 * buffer.h: rename filename to filename_; rename filepath to
10356 filepath_ and make it private
10357 (filePath): new method
10359 * buffer.C (writeFile): use fileName()
10362 * lyx_main.C (init): fix starting of LyX when the binary is a
10363 link from so,ewhere else.
10365 * minibuffer.C: include <cctype> for isprint
10367 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10369 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10370 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10371 name clash with InsetCollapsable's width function.
10373 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10375 * lastfiles.C: include <iterator>
10377 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10379 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10382 * buffer.C (makeLaTeXFile): ditto.
10383 Also make loop operation more transparent.
10385 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10387 * ToolbarDefaults.C: remove trailing comma closing namespace.
10389 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10391 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10394 * trans.C (Load): comment out unused variable, allowed.
10396 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10398 * minibuffer.[Ch] (append_char): new method to recieve input from the
10399 drop-down completion browser. If a key was pressed, then recieve this
10400 char and append it to the existing string.
10401 (peek_event): modify the positioning data passed to the completion
10402 browser so that it can be placed above the minibuffer rather than below.
10403 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10405 * LyXAction.C (init): alloe error-next for readonly documents.
10407 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10410 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * bufferlist.C (readFile): create the buffer _after_ checking that
10415 * lyxfunc.C (verboseDispatch): fix handling of arguments
10417 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10419 * lyxrc.C: use string::erase() instead of initializing to "".
10422 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10424 * BufferView_pimpl.h:
10425 * BufferView_pimpl.C:
10428 * text2.C: tell X when we have made a selection for copying
10430 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10432 * BufferView_pimpl.C (MenuInsertLyXFile):
10433 * lyxfunc.C (menuNew):
10435 (doImport): add shortcuts to directory buttons
10437 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10440 * lyxfunc.C (setStatusMessage):
10441 (getStatusMessage): new methods
10442 (getStatus):use setStatusMessage instead of setErrorMessage
10443 (dispatch): when function is disabled, set error message here
10444 [instead of in getStatus previously]
10446 * BufferView_pimpl.C (workAreaButtonRelease): update
10447 toolbar/menubar here too.
10449 2002-01-13 Allan Rae <rae@lyx.org>
10451 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10452 Now seems indestructible. Remaining task is to audit all other
10453 code affected by deleteEmptyParagraphMechanism. One small quirk
10454 left is that an empty document with an error in the preamble can
10455 be made to report an error but no error box appears. I don't know
10457 (removeAutoInsets): Improved comments.
10459 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10462 * Thesaurus.C: update for Aiksaurus 0.14
10464 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * text2.C (firstParagraph): removed member function, all uses
10467 replaces with ownerParagraph
10468 (redoParagraphs): here
10469 (updateInset): here
10470 (toggleAppendix): here
10471 * BufferView2.C (insertErrors): here
10472 (setCursorFromRow): here
10474 2002-01-13 Allan Rae <rae@lyx.org>
10476 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10477 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10478 There is still a way to segfault this although you may have to do this
10479 multiple times: Have an InsetERT with an unknown command in it.
10480 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10481 <down-arrow>, <Enter> again, View->DVI, BANG!
10483 * text2.C (setCursor):
10484 (deleteEmptyParagraphMechanism):
10485 * lyxtext.h (setCursor):
10486 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10487 Making use of the return value may help fix other bugs.
10489 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10491 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10493 * LyXView.C (updateMenubar): call MenuBar::update here
10494 (updateToolbar): but not here
10495 (showState): do not update toolbar/menubar
10497 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10498 should need to care about that.
10500 * lyxfunc.C (verboseDispatch): simplify a bit
10501 (getStatus): have a version which takes a pseudoaction, and
10502 another which requires a (kb_action,string).
10504 * LyXAction.C (retrieveActionArg): make it work also when action
10505 is not a pseudo-action.
10506 (getActionName): simplify a bit
10509 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * lyxfunc.C (verboseDispatch): new families of methods with
10512 several ways to specify a command and a bool to indicate whether
10513 the command name and shortcut should be displayed in minibuffer
10514 (eventually, we could extend that to a finer bitmask like
10515 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10516 (dispatch): the pristine dispatch command which just, well,
10517 dispatchs! Note it still sets its result to minibuffer; I'm not
10520 * lyxfunc.h: remove setHintMessage
10522 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10524 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10526 * BufferView_pimpl.C (specialChar): delete new inset if we have
10527 not been able to insert it.
10529 * kbmap.C: revert to using int instead of kb_action, since all we
10530 are dealing with is pseudo-actions.
10532 * LyXAction.C (searchActionArg): change to return int instead of
10533 kb_action, since the result is a pseudoaction.
10535 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10537 * buffer.C (insertErtContents): Fix (partially) the font bug.
10539 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10541 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10542 as the other one is broken on my machine!
10544 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10547 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10549 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10551 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10552 reflect their actual use. Provide compatibility code for older lyxrc
10555 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10557 change names of popup font variables in line with the changes to lyxrc.C
10559 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10561 * buffer.C (asciiParagraph): avoid outputing a word twice after
10564 * lyxrc.C (getDescription): document that document_path and
10565 template_path can be empty.
10567 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10569 * LaTeXFeatures.C (getMacros):
10570 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10572 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10574 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10576 (getPackages): rename feature "floats" to "float". Use an array to
10577 iterate over 'simple' features (i.e. just a \usepackage). Add
10578 handling of "amsmath" (renamed from "amsstyle").
10580 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10582 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10585 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10587 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10588 FuncStaus::FuncStatus & FuncStaus::some_method().
10590 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10592 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10593 of the func_satus stuff. Edited and massaged in various ways by
10596 * lyxfunc.C (getStatus): use FuncStatus
10598 2002-01-08 Juergen Vigna <jug@sad.it>
10600 * text.C (nextBreakPoint): use function Inset::isChar().
10602 * paragraph.C (TeXOnePar): use function
10603 Inset::forceDefaultParagraphs.
10605 * buffer.C (latexParagraphs): use function
10606 Inset::forceDefaultParagraphs.
10608 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10610 * lyx_gui.C (init): set the style of the menu popups to
10611 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10613 2002-01-07 Juergen Vigna <jug@sad.it>
10615 * text.C (setHeightOfRow): small fix
10616 (prepareToPrint): don't look at alignment if we don't have the place
10619 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10621 * box.C: New file. Move the Box methods and functions out of box.h,
10622 following Lars' suggestion.
10624 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10626 * box.h: #include "support/LOstream.h", needed for inlined function.
10629 * lyxtextclasslist.C: added some using std declarations.
10631 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10633 * box.h: make signed dimensions to allow insets wider than
10634 the screen (bug #162)
10636 * BufferView_pimpl.C: add some insetHit debug
10638 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10640 * vc-backend.C: add FIXME
10642 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * lyxfunc.C (getStatus): enable code for showing math font status
10647 2002-01-07 Juergen Vigna <jug@sad.it>
10649 * text.C (nextBreakPoint): removed debug output not needed anymore.
10651 2002-01-06 Juergen Vigna <jug@sad.it>
10653 * text.C (nextBreakPoint): fixed up this function we had this bug
10654 since ever but now hopefully we break row better.
10655 (insertChar): we have to check if an inset is the next char as it
10656 could now happen that a large inset is causing a break.
10658 2002-01-05 Juergen Vigna <jug@sad.it>
10660 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10661 if it doesn't like to be drawed.
10663 2002-01-04 Juergen Vigna <jug@sad.it>
10665 * BufferView2.C (lockInset): forgot to set a cursor.
10667 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10669 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10671 * FormMathsPanel.C:
10674 * form_maths_panel.C:
10675 * form_maths_panel.h:
10676 * form_maths_panel.fd: implemented sub- and super- buttons in math
10679 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10680 (or ^ space) to be used as in TeX (req'd by André).
10682 * lyxfunc.C: Allow ^ and _ again to be used both as
10683 super/subscript (mathed) and as themselves (in text).
10685 2002-01-03 Allan Rae <rae@lyx.org>
10687 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10688 "LyX" or the filename of the current buffer if it has one. This is a
10689 modified form of John Levon's patch.
10691 * XFormsView.C (setWindowTitle): also set icon title.
10693 * LyXView.h (setWindowTitle): signature changed.
10694 * XFormsView.h (setWindowTitle): ditto.
10696 2002-01-02 Juergen Vigna <jug@sad.it>
10698 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10700 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10702 * screen.C (topCursorVisible): introduce a temp var for
10703 text->cursor.row(), handle the case where this row is null. (kindo
10706 * text2.C (setCursor): add a couple of asserts.
10708 * paragraph.h (inset_iterator): add -> operator
10710 * paragraph.[Ch] (autoDeleteInsets): remove member function
10712 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10713 cursor pos correctly and handle inset deletion by itself.
10714 (insertErrors): move iterator declaration out of for expression
10716 * lyxtextclass.C: add <algorithm>
10718 * Makefile.am: added the new files to sources, removed layout.C
10720 * layout.C: removed file
10722 * layout.h: remove LYX_DUMMY_LAYOUT
10724 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10728 * lyxtextclass.[Ch]:
10729 * lyxtextclasslist.[Ch]: new files
10731 * include order changes to a lot of files, also changes because of
10734 2001-12-27 Juergen Vigna <jug@sad.it>
10736 * buffer.C (asciiParagraph): more fixes.
10738 * tabular.C (ascii): make ascii export support export of only the
10739 data separated by a column-delimiter.
10740 (ascii): better support for ascii export.
10742 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10744 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10746 * tabular_funcs.C: use a "using std::getline" instead of the
10747 previous fix from Angus (necessary for cxx + lyxstring)
10749 2001-12-24 Juergen Vigna <jug@sad.it>
10751 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10753 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10754 problems. First check a minipage also if we have some ert-contents
10755 (not only on par->size(), second set the right depth of the paragraph
10756 on the relink to the root-paragraph-list!
10758 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10759 which then did not anymore update the main paragraphs on undo/redo!
10761 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10763 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10764 code. Support all font-changing funcs (even those which are not in
10765 menu currently). Support for reporting font settings in
10766 mathed (disabled until Andre provides a function on mathed's side).
10768 * func_status.h (toggle): small helper function to set toggle
10771 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10773 * tabular_funcs.C: getline -> std::getline
10775 2001-12-21 Juergen Vigna <jug@sad.it>
10777 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10778 accessed and could be 0 (I couldn't generate this but it seems
10781 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10783 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10784 * tabular_funcs.h: here and include iosfwd
10786 2001-12-20 Juergen Vigna <jug@sad.it>
10788 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10789 inside inset but undo_par was.
10791 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10793 * Thesaurus.C: always include <config.h> in sources.
10797 * box.h: do not include <config.h> in header files
10799 * text.C (paintLastRow): remove unused variable
10801 * text.C (transformChar):
10803 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10805 * Painter.C (text):
10806 * font.C (width): rewrite to use uppercase() instead of
10809 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10811 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10813 * lyxfind.C: clean up of find failure position change
10815 2001-12-20 Juergen Vigna <jug@sad.it>
10817 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10819 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10820 (TeXRow): added to LaTeX a single tabular row.
10821 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10822 (Latex): simplified and finally good LT-h/f support.
10823 (various_functions): just small adaptions for LT-h/f support.
10825 * tabular_funcs.[hC]: added and moved here all not classfunctions
10828 2001-12-19 Juergen Vigna <jug@sad.it>
10830 * tabular.[Ch]: better support for longtabular options (not finished
10833 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * text.C (paintLastRow): use the label font instead of the font of
10836 the last character to compute the size of *_BOX. This makes more
10837 sense and avoids a crash with empty paragraphs.
10838 Use Painter::rectangle to draw EMPTY_BOX.
10840 2001-12-19 Juergen Vigna <jug@sad.it>
10842 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10843 the paragraphs if the replaced paragraph is not the first one!
10844 Tried to delete not used paragraphs but does not work yet so for
10845 now it's inside #ifdef's and by default off!
10847 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10849 * MenuBackend.C: include "lyx_main.h" instead of declaring
10850 lastfiles (actually was declared as LastFiles* instead of a
10853 2001-12-17 Juergen Vigna <jug@sad.it>
10855 * tabular.C (AppendColumn): applied John's fix
10857 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10861 * BufferView_pimpl.h:
10862 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10865 * box.h: new start of class for above
10867 * lyxfunc.C: ignore space-only minibuffer dispatches.
10868 Show the command name when it doesn't exist
10870 * minibuffer.C: don't add empty lines to the history
10872 * minibuffer.C: add a space on dropdown completion
10874 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10876 * text.C: fix line above/below drawing in insets
10878 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * lyxlength.C (LyXLength): Initialize private variables.
10882 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10884 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10885 when inserting error insets.
10887 2001-12-13 Juergen Vigna <jug@sad.it>
10889 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10890 actually sometimes the before-paragraph.
10891 (setUndo): don't clear the redostack if we're not actually undoing!
10893 2001-12-06 Juergen Vigna <jug@sad.it>
10895 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10896 and fixed redoing of main paragraph, so we can use it now ;)
10898 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10900 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10905 2001-12-13 André Pönitz <poenitz@gmx.net>
10908 * undo_func.C: minor cleanup
10910 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10912 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10913 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10914 font in urw-fonts package which is marked as -urw-fontspecific and
10915 does not work (incidentally, changing the encoding in the
10916 fonts.dir of this package to -adobe-fontspecific fixes the
10919 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10920 is a crash when undoing first paragraph (Juergen, please take a
10921 look). THis does not mean the undo fix is wrong, just that it
10924 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10925 the (Paragraph*) version when needed instead of duplicating the
10928 * text.C (workWidth): use Inset::parOwner to find out where the
10929 inset has been inserted. This is a huge performance gain for large
10930 documents with lots of insets. If Inset::parOwner is not set, fall
10931 back on the brute force method
10933 * paragraph_pimpl.C (insertInset):
10934 * paragraph.C (Paragraph):
10935 (cutIntoMinibuffer): set parOwner of insets when
10936 inserting/removing them
10938 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10940 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10946 * mathed/formulabase.C:
10947 * mathed/math_cursor.[Ch]:
10948 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10951 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * lyxlength.[Ch] (operator!=): new function
10955 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10957 * text.C (workWidth): use Inset::parOwner to find out where the
10958 inset has been inserted. This is a huge performance gain for large
10959 documents with lots of insets. If Inset::parOwner is not set, fall
10960 back on the brute force method
10962 * paragraph_pimpl.C (insertInset):
10963 * paragraph.C (Paragraph):
10964 (cutIntoMinibuffer): set parOwner of insets when
10965 inserting/removing them
10967 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10969 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10971 * tabular-old.C (getTokenValue):
10972 * tabular.C (getTokenValue):
10973 (write_attribute): new versions for LyXLength
10974 (everywhere): adjust the use of widths
10976 * tabular.h: change the type of widths from string to LyXLength
10978 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10980 * paragraph.C: fixed missing line number count when exporting
10981 Environments to LaTeX file
10983 * buffer.C: added informational message for checking line numbers.
10985 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10987 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10988 paragraph, do the 'double space' part, but not the 'empty
10991 * text.C (workWidth): small optimization
10992 (getLengthMarkerHeight): use minimal size for negative lengths.
10994 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10996 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10998 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11000 2001-12-11 André Pönitz <poenitz@gmx.net>
11003 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11005 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11007 * text2.C: keep selection on a setFont()
11009 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11011 * lyx_cb.C: another bv->text misuse, from insert label
11013 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11016 * kbsequence.C: re-instate nmodifier mask
11018 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11020 * lyx_main.h: make lyxGUI private.
11022 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11024 * lyxfind.C: place the cursor correctly on failed search
11026 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11028 * text.C (getLengthMarkerHeight): for small heights, the arrows
11029 are not always on top/bottom of the text
11030 (drawLengthMarker): smaller arrows; take the left margin in
11031 account; draw also vfills.
11033 (paintLastRow): remove special code for vfill and standard spaces,
11034 since everything is handled in drawLengthMarker now.
11036 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11038 * buffer.C (insertErtContents): try to handle font and language
11039 interaction a bit better.g
11041 * ColorHandler.C (updateColor): change the hash to cover the whole
11042 LColor enum, ws cleanup
11043 (getGCLinepars): ditto
11044 (getGCLinepars): only lookup in the linecache once.
11046 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11048 * iterators.C (operator++): Make the iterator more robust
11050 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11052 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11054 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11057 * text.C: better added space drawing
11059 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11062 * BufferView2.C: fix layout combo update on inset unlock
11064 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11066 * Makefile.am: don't compile unused files
11068 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11072 * LyXAction.C: remove old LFUN_LAYOUTNO
11074 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11076 * paragraph_pimpl.h:
11077 * paragraph_pimpl.C: isTextAt() doesn't need font param
11079 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11082 * lyxlex.C: little cleanup
11084 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11086 * BufferView_pimpl.C: fix insertAscii for insets
11088 2001-12-05 Juergen Vigna <jug@sad.it>
11090 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11091 set the right font on the "multi" paragraph paste!
11093 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * lyxlength.C: remove out-commented code.
11101 * BufferView_pimpl:
11115 * vc-backend.C: change "while(" to "while ("
11117 * lyxlength.[Ch]: add zero function to check if length is zero or
11119 * lyxgluelength.C: use it
11121 2001-12-05 Allan Rae <rae@lyx.org>
11123 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11124 Works for 2.95.3, from what I understand of Garst's reports this should
11125 work for other g++ versions. We're screwed if the abs(int) definition
11126 changed between bugfix releases of gcc.
11128 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11130 * text.C: fix chapter label offset !
11132 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11135 * text.C: fix hfill at end of line, clean up
11137 2001-12-04 Juergen Vigna <jug@sad.it>
11139 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11140 that we force an update of the inset and it's owners if neccessary.
11142 2001-12-03 Juergen Vigna <jug@sad.it>
11144 * text.C (rowLast): simplified code
11146 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11148 * lyxfunc.C: fix show options on timeout
11150 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * screen.C (topCursorVisible): scroll half a page when the cursor
11153 reached top of bottom of screen
11155 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11157 * minibuffer.C: deactivate on loss of focus
11159 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11161 * vspace.[Ch] (operator!=): add operator.
11163 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11165 * BufferView_pimpl.C: refuse to open an inset when
11166 there's a selection.
11168 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11170 * BufferView_pimpl.C: allow to click on RHS of full row insets
11172 2001-11-30 Juergen Vigna <jug@sad.it>
11174 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11175 insets for undo reasons.
11177 2001-11-28 André Pönitz <poenitz@gmx.net>
11179 * vspace.[Ch]: cosmetical changes
11181 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11191 * kbsequence.C: part re-write of old kb code
11194 * WorkArea.C: remove Lgb_bug_find_hack
11196 2001-11-30 José Matos <jamatos@fep.up.pt>
11198 * buffer.C (makeDocBookFile): add a comment to point a hack.
11199 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11200 Fixed a double write of labels.
11202 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11205 * LaTeX.h Fixed bug in LaTeX class where it would not
11206 re-run latex if no depfiles were changed, but the .dvi was removed.
11208 2001-11-28 André Pönitz <poenitz@gmx.net>
11210 * all the files from the change on 2001/11/26:
11211 use lyx::layout_type instead of LyXTextClass::size_type
11212 use lyx::textclass_type instead of LyXTextClassList::size_type
11214 2001-11-29 Juergen Vigna <jug@sad.it>
11216 * text.C: added support for paragraph::isFreeSpacing()
11218 * buffer.C: same as above
11220 * paragraph.h: inserted isFreeSpacing() function to enable
11221 FreeSpacing inside InsetERT.
11223 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11224 of the paragraph's in the cut/copy buffer to 0!
11226 * text2.C (removeRow): remove the assert as it can!
11228 * lyxtext.h: added helper function firstRow returning firstrow and
11229 made firstrow private again.
11231 * BufferView2.C (lockInset): don't relock if we're already locked!
11233 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11234 the only paragraph.
11235 (removeRow): added Assert::(firstrow)
11237 * debug.C: forgot to add INSETTEXT here.
11239 2001-11-28 Juergen Vigna <jug@sad.it>
11241 * sp_spell.C (initialize): changed error text to more general
11242 spellchecker command use (not only ispell!)
11244 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11246 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11248 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11250 * vspace.C: initialise lyxgluelength on failure
11252 2001-11-28 Allan Rae <rae@lyx.org>
11254 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11255 declaration & definition that looks like a function declaration.
11257 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11259 * BufferView2.C (copy):
11260 (copyEnvironment): do not clear the selection when doing a copy.
11262 * text.C (paintFirstRow): compilation fix
11264 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11266 * tabular.C (Latex): correct line count when writing latex.
11268 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11270 * paragraph_pimpl.h:
11271 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11274 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11278 * LColor.C: change vfillline->added_space
11280 * text.C: add markers and text for added space
11282 * vspace.C: fix comment
11284 2001-11-28 André Pönitz <poenitz@gmx.net>
11286 * paragraph.C: whitespace changes
11287 * all the other files from the change on 2001/11/26:
11288 change *::pos_type into lyx::pos_type
11290 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11292 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11293 language of the document when inserting error insets.
11295 2001-11-26 André Pönitz <poenitz@gmx.net>
11297 * BufferView_pimpl.[Ch]:
11305 * paragraph_pimpl.[Ch]:
11308 * text2.C: reduce header dependencies, introduce type for positions
11310 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11312 * <various>: change to use Alert.h
11314 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11316 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11317 when encountering an unknown token.
11318 (readLyXformat2): Show an error message if there were unknown tokens.
11320 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11323 * BufferView_pimpl.C:
11327 * text2.C: use par->isInset()
11329 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11331 * paragraph_pimpl.h:
11332 * paragraph_pimpl.C: cleanup
11334 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11336 * text2.C (removeRow):
11337 * text.C (setHeightOfRow): remove useless (and costly) call to
11340 2001-11-20 Allan Rae <rae@lyx.org>
11342 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11343 Now need Inset*::checkInsertChar() to return true for appropriate
11344 cases so that the characters in the minibuffer will actually be
11347 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * text.C: change the order of the includes.
11350 (workWidth): initialize it at once.
11351 (workWidth): make maxw unsigned
11352 (setHeightOfRow): remove unused variable (inset)
11353 (selectSelectedWord): remove unused variable (inset)
11354 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11356 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11358 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11359 server is not running.
11361 (closeConnection): add debug info when server is disabled.
11363 * ColorHandler.C (getGCForeground): send debug message to GUI
11366 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11368 * kbmap.C (bind): modify because return conventions of
11369 kb_sequence::parse have changed.
11371 * kbsequence.C (parse): only ignore spaces and not any stupid
11372 control character. This avoids tests like s[i] <= ' ', which are
11373 guaranteed to fail with 8bit characters and signed chars.
11374 Change return code to string::npos when there have been no error
11375 (0 was a bad idea when error is at first character)
11377 2001-11-14 José Matos <jamatos@fep.up.pt>
11380 * buffer.C (simpleDocBookOnePar): removed unused argument.
11382 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11384 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11385 insets which are part of a word. Paragraph::isLetter takes care of
11386 that now. Use Paragraph::isInset to identify insets.
11387 (selectSelectedWord): do not test for hyphenation break.
11389 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11390 that protected spaces are considered as spaces.
11392 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11395 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11398 * lyxserver.C: fix it. and small cleanup.
11400 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11402 * BufferView_pimpl.C: use inline helpers
11405 * LaTeXFeatures.C: fix typos
11408 * Spacing.C: move spacing_string into class
11410 * ToolbarDefaults.C: move stuff into namespace anon
11412 * layout.h: update enum
11414 * lyxfunc.C: use better debug
11416 * minibuffer.h: fix typo
11420 * WorkArea.C: add and use Debug::WORKAREA
11424 * text2.C: code re-organisation, inline helpers
11426 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11428 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11429 std::vector.empty().
11431 2001-11-09 Allan Rae <rae@lyx.org>
11433 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11434 '\n's after tables. Tabular and ERT inset work now makes this no
11437 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11440 * minibuffer.C: fix crash, improve drop-down completion
11442 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11445 * lyxserver.C: invalidate fd's when doing endPipe()
11447 2001-11-08 José Matos <jamatos@fep.up.pt>
11449 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11450 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11453 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11455 2001-11-07 José Matos <jamatos@fep.up.pt>
11458 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11461 * buffer.C (sgmlOpenTag):
11462 * buffer.C (sgmlCloseTag): removed debug info.
11464 * buffer.h (sgmlOpenTag):
11465 * buffer.h (sgmlCloseTag): made public.
11467 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11469 * buffer.C (saveParamsAsDefaults):
11470 * lyx_cb.C (MenuLayoutSave): remove
11472 * LyXAction.C (init):
11474 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11476 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11478 * buffer.C (setPaperStuff): removed from here...
11480 * bufferparams.C (setPaperStuff): ... and moved there.
11482 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11486 * XFormsView.C: add support for drop-down completion
11488 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11490 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11493 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11495 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11498 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11500 * lyx_main.C: change ref to known bugs
11502 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11504 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11505 to work around older babel problems.
11507 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11509 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11511 2001-10-24 Juergen Vigna <jug@sad.it>
11513 * tabular-old.C (ReadOld): below variable changes reflected.
11515 * tabular.[Ch]: added ltType struct for longtable header/footer
11516 defines and changed all instances where they are used. Added
11517 future support for double top/bottom rows.
11519 2001-10-24 José Matos <jamatos@fep.up.pt>
11521 * buffer.h (docbookHandleCaption):
11522 * buffer.C (docbookHandleCaption): removed unused function.
11523 (makeDocBookFile): moved docbook supported version to v4.1.
11525 2001-10-24 José Matos <jamatos@fep.up.pt>
11528 * tabular.C (docbookRow): new function to export docbook code of a row.
11529 (DocBook): now honors the longtable flags.
11531 2001-10-23 José Matos <jamatos@fep.up.pt>
11534 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11535 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11537 * buffer.C (makeLinuxDocFile):
11538 (makeDocBookFile): reworked the preamble, more clean, and with
11539 support for lyx defined entities. Changed the document declaration
11540 to be more XML friendly.
11542 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11543 if we need to output XML that should be done with a filter.
11545 2001-10-22 Juergen Vigna <jug@sad.it>
11547 * sp_pspell.h (class PSpell): add alive function needed in the
11548 controller to see if the spellchecker could be started.
11550 2001-10-22 Juergen Vigna <jug@sad.it>
11552 * buffer.C (insertStringAsLines): modify the font for inserting
11553 chars in certain conditions by calling checkInsertChar(font).
11555 2001-10-19 Juergen Vigna <jug@sad.it>
11557 * text.C (workWidth): use getRow instead of wrong algorithm.
11558 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11560 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11565 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11567 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11569 * text.C (workWidth): do not search for the exact row when
11570 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11571 optimization for big documents.
11573 2001-10-18 Juergen Vigna <jug@sad.it>
11575 * text.C (workWidth): new function with added Inset * parameter.
11577 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11579 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11581 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11582 change return type of getColumnNearX.
11585 * text.C (changeRegionCase): use uppercase/lowercase instead of
11588 (rightMargin): simplify code by factoring out the uses of
11593 (appendParagraph): use Paragraph::size_type
11595 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11597 * vspace.C (asLatexString): add a missing break
11599 2001-10-15 Herbert Voss <voss@perce.de>
11601 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11603 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11605 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11608 2001-10-10 André Pönitz <poenitz@gmx.net>
11610 * lyxfunc.C: removed greek_kb_flag.
11612 2001-10-10 Herbert Voss <voss@perce.de>
11614 * lyx_main.C: delete global string help_lyxdir.
11616 2001-10-09 Herbert Voss <voss@perce.de>
11618 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11620 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11622 * lyx_main.C: added global string help_lyxdir.
11624 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11626 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11628 * lyxrc.C (set_font_norm_type): support iso8859-4
11630 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11632 * LaTeX.C (deplog): add another regex for MikTeX
11634 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11636 * lyxrc.C (set_font_norm_type): support iso8859-3
11638 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11640 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11642 * LaTeXFeatures.C: remove special case of french and index
11644 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11645 before \begin{document}). This solves several incompatibilities.
11647 2001-10-03 Garst Reese <reese@isn.net>
11649 * lyx_cb.C: change CheckTex error msg.
11651 2001-10-03 José Matos <jamatos@fep.up.pt>
11653 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11655 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * .cvsignore: update
11659 * lyx_main.C (commandLineVersionInfo): use new style version info.
11661 * buffer.C (writeFile):
11663 (makeLinuxDocFile):
11664 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11666 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11668 * version.h: update to use stuff in version.C
11670 * version.C.in: new file. Contains version information determined
11671 at compile time. This is a merging of version.h and
11674 2001-10-03 Juergen Vigna <jug@sad.it>
11676 * BufferView_pimpl.C (update): don't change "dirty" status in
11679 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11681 * WorkArea.C (c-tor): re-position version string slightly.
11683 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11685 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11686 revert to previous code.
11688 WorkArea.[Ch]: (show, destroySplash): methods removed.
11690 WorkArea.C: rework code so that it's an amalgam of the codes before and
11691 after the splash screen was moved to WorkArea.
11693 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11696 * vspace.C (inPixels):
11699 * buffer.C (insertStringAsLines):
11700 (asciiParagraph): fix types to be large enough
11702 * lyxlex_pimpl.h: change member status from short to int
11704 * layout.h: fix type of endlabeltype
11707 * kbsequence.C (parse): change return type to string::size_type
11709 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11712 * Bullet.C (bulletSize):
11713 (bulletEntry): do not use short ints as parameters
11715 * BufferView2.C (insertLyXFile): change a char to an int.
11717 * WorkArea.C (WorkArea): remove unneeded floats in computation
11719 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11721 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11723 * paragraph.C (asString): Do not ignore newline/hfill chars when
11724 copying to the clipboard.
11726 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11728 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11729 after a multi-line inset.
11731 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11733 * paragraph.C (validate): Set NeedLyXFootnoteCode
11735 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11737 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11738 and decrease-error to decrease.
11740 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11742 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11743 it more readable (should be equivalent)
11745 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11747 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11749 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11752 of a cursor (row, etc.) after a character has been deleted
11753 (deleteEmptyParagraphMechanism): call the method above on _all_
11754 cursors held by the LyXText when a double space has been
11757 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11759 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11761 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11763 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11764 background. Use greyOut() and the new show() methods to toggle between
11765 the foreground and background. Add code to remove the splash after
11766 its initial showing.
11768 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11769 (create_forms): no longer call Dialogs::showSplash.
11771 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * .cvsignore: add version_info.h
11775 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11777 * version_info.h.in: new file
11779 * Makefile.am: add version_info.h.in
11781 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11782 version_info.h instead of VERSION_INFO
11784 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11786 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11787 The ERT inset now returns string().
11789 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11791 * lyxtext.h, text.C (selectNextWord): renamed as
11792 selectNextWordToSpellcheck.
11794 * text.C (selectNextWordToSpellcheck): Modified to not select
11795 words inside an ERT inset.
11797 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11799 * lyx_cb.C (MenuLayoutSave): change a bit the question
11801 * sp_base.h: include <sys/types.h>
11803 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11805 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11807 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11809 * several files: fix typos in user-visible strings
11811 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11813 * text2.C (pasteSelection): do not set the selection, since it
11814 will be cleared later. Actually, the intent was to fix the way the
11815 selection was set, but I figured rmoving the code was just as good.
11817 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11819 * FontLoader.C (available): Check if font is available without
11822 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11824 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11826 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11828 * lyxrc.[Ch]: added display_graphics variable and associated code.
11830 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11832 * bufferparams.C (hasClassDefaults): new method. Returns true if
11833 the buffer parameters correspond to known class defaults
11835 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11837 * XFormsView.C (show): set minimum size to the main window.
11839 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11841 * text2.C (copySelection):
11843 * lyxfind.C (LyXReplace):
11844 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11845 LyXText::selectionAsString.
11847 * paragraph.C (asString): add "label" argument to the second form
11849 * text2.C (selectionAsString): add "label" argument and pass it to
11850 Paragraph::asString.
11852 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11854 * lyx_main.C (commandLineHelp): remove version information
11856 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11858 * lyx_main.C: add -version commandline option
11860 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * paragraph.h: make the optional constructor arg required instead.
11863 some modifications to other files because of this.
11865 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11867 * lyxserver.C (C_LyXComm_callback): make it static
11869 * lyx_main.C (error_handler): make it static
11871 * lyx_gui.C (LyX_XErrHandler): make it static
11873 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11875 * WorkArea.C: make the extern "C" methods static.
11877 * Makefile.am (lyx_LDADD): simplify
11879 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11881 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11882 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11884 * LyXAction.C (init):
11885 * lyxfunc.C (dispatch): associated code removal.
11887 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11889 * lyxfont.h (isSymbolFont): shut off warning
11891 * text.C (setHeightOfRow):
11892 (getVisibleRow): fix crash with empty paragraphs which have a
11895 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11897 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11900 2001-09-04 José Matos <jamatos@fep.up.pt>
11903 * tabular.C (docbook): rename docBook method to docbook.
11905 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11907 * Makefile.am: add dependencies to main.o.
11909 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11911 * FontLoader.C (available): Return false if !lyxrc.use_gui
11913 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11915 * FontInfo.C (query):
11916 * converter.C (view):
11917 * importer.C (Import):
11918 * exporter.C (Export): Can not -> cannot.
11920 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11922 * BufferView_pimpl.C: allow to create index inset even if
11925 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11927 * buffer.C (getLists): replace boost::tie code with an explicit pair
11928 as boost::tie can break some compilers.
11930 * iterators.h: Added a std:: declaration to the return type of
11933 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11935 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11938 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11940 * iterators.[Ch]: New files. Provide paragraph iterators.
11942 * buffer.C (changeLanguage): Use paragraph iterators.
11943 (isMultiLingual): ditto
11945 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11947 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11949 * FontLoader.C: Support for cmr font.
11951 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11953 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11954 (available): New method.
11956 * FontInfo.C (getFontname): Use scalable fonts even when
11957 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11960 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11962 * converter.C (Formats::view): reverted! Incorrect fix.
11964 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11966 * converter.C (Formats::view): only output the -paper option
11967 if the dvi viewer is xdvi, thereby fixing bug #233429.
11969 2001-08-23 Herbert Voss <voss@perce>
11971 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11973 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11975 * Spacing.h (Spacing): Set space to Default on in the default
11978 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11980 * vc-backend.h (RCS::versionString): add RCS to version
11981 (CVS::versionString): add CVS to version
11983 * vc-backend.C (scanMaster): do not add CVS to version.
11984 (scanMaster): do not add RCS to version
11986 * lyxvc.C (versionString): new method
11988 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11990 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11992 * Spacing.C (set): initialize fval
11994 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11996 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11999 2001-08-16 Juergen Vigna <jug@sad.it>
12001 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12003 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12005 * BufferView_pimpl.C:
12008 * text2.C: setParagraph takes linespacing now
12010 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12012 * LyxAction.C: add internal LFUN_CITATION_INSERT
12014 * LyXView.C: actually apply fix
12016 * bufferlist.C: fix open non-existent file
12018 * lyxfind.C: fix indentation
12020 * lyxfunc.C: remove unneeded assert, fix typo
12022 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12024 * MenuBackend.C: use "Floatname List"
12026 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12028 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12029 when converting LaTeX layout to insetERT.
12030 Generate a non-collapsed float when reading old float
12032 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12034 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12037 2001-08-13 Juergen Vigna <jug@sad.it>
12039 * text.C (fill): return 0 instead of 20 as this seems to be the more
12042 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12044 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12047 2001-08-13 Juergen Vigna <jug@sad.it>
12049 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12051 (SearchBackward): comment out the unlocking of the inset_owner this
12052 should not be needed!
12054 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12056 * Many files: Remove inherit_language, and add latex_language
12058 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12059 collapsible insets.
12061 2001-08-10 Juergen Vigna <jug@sad.it>
12063 * text.C (prepareToPrint): fixed hfill-width in draw!
12065 * BufferView2.C (selectLastWord): save the selection cursor as this
12066 now is cleared in the function LyXText::clearSelection!
12068 2001-08-08 Juergen Vigna <jug@sad.it>
12070 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12071 BACKSPACE type functions.
12073 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12074 is only cutted from the document but not put in the cut-buffer, where
12075 still the old stuff should be.
12077 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12079 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12081 * tabular.C (SetWidthOfCell): fixed special case where the width
12083 (LeftLine): handle '|' in align_special.
12085 (LeftAlreadyDrawed): ditto
12086 (SetWidthOfCell): ditto
12088 2001-08-07 Juergen Vigna <jug@sad.it>
12090 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12092 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12095 * lyxlex.[hC]: ditto
12097 2001-08-06 Juergen Vigna <jug@sad.it>
12099 * text.C (getVisibleRow): fix up row clearing a bit.
12101 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * minibuffer.C: make sure the X server sees the changes in the input.
12105 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12107 * paragraph.C (getFont): split into...
12108 (getLabelFont): this
12109 (getLayoutFont): and this
12110 * paragraph_pimpl.C (realizeFont): calling this
12112 * text2.C (getFont): split into...
12113 (getLayoutFont): this
12114 (getLabelFont): and this
12115 (realizeFont): all three calling this
12117 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12120 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12124 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12126 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12127 layouts from the Quote inset insertion.
12129 2001-08-03 Juergen Vigna <jug@sad.it>
12131 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12133 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12134 only if status not is already CHANGED_IN_DRAW (second level).
12136 * text.C (draw): don't set the need_break_row when inside an
12139 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * buffer.C (parseSingleLyXformat2Token): handle more latex
12144 * bufferview_funcs.[hC]: change function names to
12145 begin with small char, adjust other files.
12147 2001-08-02 André Pönitz <poenitz@gmx.net>
12150 BufferView_pimpl.C: remove broken special code for math-greek
12152 2001-08-02 Juergen Vigna <jug@sad.it>
12154 * BufferView_pimpl.C (update): redone this function so that we
12155 update the text again if there was a CHANGE_IN_DRAW.
12157 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12158 (drawFromTo): added a new internal bool which is used by draw() and
12160 (general): some cursor drawing problems fixed.
12162 2001-08-01 Juergen Vigna <jug@sad.it>
12164 * lyxfind.C (LyXFind): fixed
12165 (SearchForward): ditto
12166 (SearchBackward): ditto
12168 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12169 spurius drawing of the cursor in the main area.
12171 * text2.C (status): small fix which could lead to a segfault!
12172 (clearSelection): remove unneeded BufferView param.
12174 2001-08-01 André Pönitz <poenitz@gmx.net>
12176 * lyxfunc.C: small change due to changed mathed interface
12178 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12180 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12182 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12184 * lyxfunc.c: fail gracefully if file doesn't exist
12189 * BufferView_pimpl.C: IsDirWriteable() proto changed
12191 * LyXView.C: fix updateWindowTitle() to store the last title
12193 2001-07-31 Juergen Vigna <jug@sad.it>
12195 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12196 the font (wrong since using of Paragraph::highestFontInRange).
12198 * paragraph.C (highestFontInRange): added a default_size parameter.
12200 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12201 (setHeightOfRow): reformat
12203 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * converter.[hC] + affected files: move to (inital-char)lowercase
12208 * ParagraphParameters.C (ParagraphParameters): remove commented code
12210 * PainterBase.[Ch]: remove commented code
12212 * LaTeXFeatures.h: add "bool floats" for float.sty
12214 * LaTeXFeatures.C (LaTeXFeatures): init floats
12215 (require): handle float
12216 (getPackages): do it with floats
12218 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12220 * BufferView_pimpl.C (Dispatch): improve handling of
12221 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12223 * commandtags.h: #include lyxfont.h here temporarily to avoid
12226 * bufferlist.h: include LString.h here.
12228 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * text2.C (getStringToIndex): new method.
12232 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12234 * *: Reduced header file dependencies all over.
12236 2001-07-30 Baruch Even <baruch@lyx.org>
12238 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12240 2001-07-29 Baruch Even <baruch@lyx.org>
12242 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12244 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * ParameterStruct.h (endif): add a default constructor to make
12247 sure that all variables is initialized.
12249 * ParagraphParameters.C (ParagraphParameters): adjust
12251 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12254 index; also, check that there is something to index, and that it
12255 does not span over several paragraphs.
12256 (doubleClick): use WHOLE_WORD_STRICT for double click.
12258 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12260 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12263 2001-07-26 Baruch Even <baruch@lyx.org>
12265 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12266 an InsetFig figure, backwards compatible reading of old figure code.
12268 2001-07-27 Juergen Vigna <jug@sad.it>
12270 * text2.C: font.realize function adaption.
12272 * text.C (draw): add a warnings lyxerr text if needed.
12274 * layout.C: font.realize function adaption.
12276 * language.C: add inherit_language and implement it's handlings
12278 * bufferview_funcs.C (StyleReset): remove language parameter from
12279 font creation (should be language_inherit now).
12281 * bufferparams.C (writeFile): handle ignore_language.
12283 * paragraph.C (getFontSettings): the language has to be resolved
12284 otherwise we have problems in LyXFont!
12286 * lyxfont.C (lyxWriteChanges): added document_language parameter
12287 (update): removed unneeded language parameter
12289 * paragraph.C (validate): fixed wrong output of color-package when
12290 using interface colors for certain fonts in certain environments,
12291 which should not seen as that on the final output.
12293 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView_pimpl.C:
12300 * LyXAction.C: add thesaurus support
12303 * lyxfind.C: add "once" parameter, for thesaurus, to not
12304 move to the next match
12306 2001-07-26 Juergen Vigna <jug@sad.it>
12308 * lyxfont.C (realize): honor ignore_language too!
12311 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12313 * text.C (draw): one place more for ignore_language to not draw
12316 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12318 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12320 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12322 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12323 the minipage conversion problem.
12325 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12327 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12330 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * BufferView.h: don't forward declare WorkArea
12334 * BufferView.C: don't include WorkArea.h
12336 2001-07-25 André Pönitz <poenitz@gmx.net>
12340 * lyxfunc.C: new LFUN 'math-space'
12342 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12344 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12346 * text2.C (toggleInset): call open/close
12348 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * lyxfunc.C (dispatch): add debug for the disabled case
12352 * font.C (buttonText): make similar to rectText
12354 * buffer.C (readInset): comment out parsing of insetlist and
12357 * PainterBase.C (rectText): small correction
12359 * BufferView_pimpl.C: comment out insettheorem and insetlist
12360 * LyXAction.C: ditto
12361 * commandtags.h: ditto
12363 2001-07-24 Juergen Vigna <jug@sad.it>
12365 * text.C (draw): honor the ignore_language.
12367 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12369 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12374 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12376 * lyxtext.h: remove unused (and unimplemented) methods
12378 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12380 * text.C (getVisibleRow): honor background color
12383 * Painter.h: remove default color argument for fillRectangle
12385 * text.C (backgroundColor): new method
12387 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * text.C (getVisibleRow): adjust
12391 * font.[Ch] (rectText): new method, metrics
12392 (buttonText): new method, metrics
12394 * PainterBase.[hC]: make rectText and buttonText always draw and take
12397 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12399 * ToolbarDefaults.C (read):
12400 * MenuBackend.C (read): allow escaping in all strings
12402 * BufferView_pimpl.C (insertAndEditInset): new method.
12403 (Dispatch): use insertAndEditInset whenever appropriate.
12405 * BufferView_pimpl.C (insertNote): removed
12407 * BufferView_pimpl.C (smartQuote): new method, moved from
12408 BufferView; if an insetquote cannot be inserted, insert a '"'
12411 * BufferView2.C: remove insertCorrectQuote();
12413 * lyxfunc.C (getStatus): Add support for all remaingin
12414 inset-insert lfuns.
12416 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12418 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12419 command (necessary to pass " as parameter of self-insert.
12421 * text.C (selectWordWhenUnderCursor):
12422 (selectWord): add word_location parameter
12423 (selectWordWhenUnderCursor): same + remove special code for word
12425 (selectNextWord): use kind() to guess type of insetspecialchar,
12428 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12429 (insertErtContents): create ert insets as collapsed.
12430 (readInset): better compatibility code for Info inset.
12432 2001-07-20 Juergen Vigna <jug@sad.it>
12434 * lyxfunc.C (dispatch): use always LyXFind now!
12436 * text2.C (init): add a reinit flag so that the LyXText can be
12437 reinited instead of deleted and reallocated (used in InsetText).
12439 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12445 2001-07-18 Juergen Vigna <jug@sad.it>
12447 * text.C (selectNextWord): handle insets inside inset by calling
12448 always the bv->text functions so that we can go up the_locking_inset!
12450 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12451 in strange locations when inside an inset!
12453 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12454 handling to include insets.
12456 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12458 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12460 * LyXAction.C (init):
12462 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12463 LIGATURE_BREAK, since the name is so stupid.
12465 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12467 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12470 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12472 * sp_form.[Ch]: remove.
12474 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12476 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12479 * src/buffer.C (readInset): ditto.
12481 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12483 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12484 menuSeparator(), endOfSentenceDot(), ldots() and
12485 hyphenationPoint(), which are therefore removed.
12486 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12488 * LyXAction.C (init):
12489 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12491 * paragraph.C (getWord): removed.
12493 * BufferView_pimpl.C (Dispatch): use last word or selection for
12494 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12496 * lyx_main.C (queryUserLyXDir): do not ask before creating
12497 user_dir, except if it has been named explicitely.
12499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12501 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12502 a document of zero size.
12504 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12506 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12507 approriately in the c-tor and in require().
12508 (getPackages): output the appropriate LaTeX for natbib support.
12510 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12511 variables "use_natbib" and "use_numerical_citations" when reading the
12513 (readInset): read the various natbib cite commands.
12514 (validate): white-space change.
12516 * bufferparams.[Ch]: new variables "bool use_natbib" and
12517 "bool use_numerical_citations".
12518 (writeFile): output them in the LyX file.
12520 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12522 * lyxfunc.C (getStatus): add support for all the inset insertion
12525 * text2.C (insertInset):
12526 * paragraph.C (insetAllowed):
12527 * BufferView_pimpl.C (insertInset): update to take in account the
12528 renaming of insertInsetAllowed
12530 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12532 * text2.C (getInset): new method. returns inset at cursor position.
12534 * BufferView_pimpl.C (Dispatch): changes because of this.
12536 * LyXAction.C (init): rename open-stuff to inset-toggle.
12538 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12540 * text2.C (toggleInset): renamed from openStuff; use
12543 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12545 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12547 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12549 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12551 * buffer.C (readLyXformat2): Add filename to the error dialog
12553 2001-07-18 Juergen Vigna <jug@sad.it>
12555 * tabular.C (GetCellNumber): put an assert here instead of the check!
12557 2001-07-17 Juergen Vigna <jug@sad.it>
12559 * BufferView_pimpl.C (toggleSelection): adapted too.
12561 * text.C (selectNextWord): adapted for use with insets.
12562 (selectSelectedWord): ditto
12564 2001-07-17 Juergen Vigna <jug@sad.it>
12566 * sp_spell.C (PSpell): fix initialitation order.
12568 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * paragraph.C: spacing
12572 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12574 * sp_spell.C: repair language selection for pspell
12576 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12578 * lyxfunc.h: change more methods to begin with lower char.
12580 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12582 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12583 for unknown layouts.
12585 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12587 * buffer.C (readLyXformat2): Generate an error dialog if there are
12590 2001-07-16 Juergen Vigna <jug@sad.it>
12592 * sp_spell.C: always compile ISpell part.
12594 * lyxrc.C: added use_pspell entry and it's handling.
12596 2001-07-13 Juergen Vigna <jug@sad.it>
12598 * sp_spell.C: removed double includes.
12600 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12602 Consistent use of Lsstream.h:
12603 * Lsstream.h: added using std::stringstream for consistencies sake.
12605 * buffer.C: removed using std::stringstream
12607 * lyxfont.C (stateText):
12608 * paragraph.C (asString):
12609 * text.C (selectNextWord, selectSelectedWord):
12610 * text2.C (setCounter):
12611 * vspace.C (asString, asLatexString):
12612 std::ostringstream -> ostringstream.
12614 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12616 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12617 * commandtags.h: add LFUN_HELP_ABOUTLYX
12618 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12620 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12622 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12624 * lyx_gui_misc.C: remove spellchecker
12625 * lyxfunc.C: showSpellchecker
12627 * sp_ispell.h: added
12628 * sp_pspell.h: added
12629 * sp_spell.C: added
12630 * sp_form.[Ch]: removed
12631 * spellchecker.[Ch]: removed
12633 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12635 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12637 (simpleTeXSpecialChars): Simply print the input character without
12638 any special translation if pass_thru is set.
12640 * layout.h: Added bool pass_thru to layout class for being able to
12641 implement pass through of a paragraph for Literate Programming.
12643 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12644 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12645 * layout.C (Read): add "passthru" to list of layout tags and add
12646 code to set the pass_thru boolean when it is read.
12648 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * trans_decl.h: remove allowed from KmodInfo
12652 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12653 remove allowed code
12656 * paragraph_pimpl.C (erase): use boost::prior
12658 * Painter.C (text): use data() instead of c_str() when length is
12660 * WorkArea.C (putClipboard): ditto
12661 * font.h (width): ditto
12663 * BufferView2.C: use it-> instead of (*it). for iterators
12665 * paragraph_pimpl.C: ditto
12666 * paragraph.C: ditto
12667 * minibuffer.C: ditto
12668 * language.C: ditto
12670 * encoding.C: ditto
12671 * counters.C: ditto
12672 * converter.C: ditto
12674 * Variables.C: ditto
12675 * TextCache.C: ditto
12676 * MenuBackend.C: ditto
12677 * LyXAction.C: ditto
12679 * FloatList.C: ditto
12680 * DepTable.C: ditto
12681 * ColorHandler.C (LyXColorHandler): ditto
12683 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12685 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12687 * text2.C (openStuff): reintroduce this method (which had been
12688 nuked in NEW_INSETS frenzy).
12690 * lyxfunc.C (Dispatch): when an action has not been handled, use
12691 its name in the error message, not its number.
12693 * paragraph.C (inInset): change method name to begin with lowercase.
12696 * text2.C: updates because of this.
12698 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * ToolbarDefaults.C (add): add spaces in error message
12702 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12705 (readLyXformat2): rename return_par to first_par, use lyxlex's
12706 pushToken and remove the manual push handling.
12707 (parseSingleLyXformat2Token): add another ert comp. variable:
12708 in_tabular, rename return_par to first_par. handle newlines better
12710 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12712 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12714 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * text2.C (getParFromID): removed
12718 * buffer.C (getParFromID): new method moved form lyxtext.
12719 * BufferView2.C (insertErrors): adjust
12720 (setCursorFromRow): adjust
12721 * BufferView_pimpl.C (restorePosition): adjust
12722 * lyxfunc.C (Dispatch): adjust
12723 * undo_funcs.C (textUndo): adjust
12725 (textHandleUndo): adjust
12726 (textHandleUndo): adjust
12728 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12730 * buffer.C: up' the LYX_FORMAT
12732 * lyxfont.h: turn NO_LATEX on as default
12734 * buffer.C (insertErtContents): new methods of tex style compability.
12735 (parseSingleLyXformat2Token): use it several places.
12736 * tabular.C (OldFormatRead): and here
12738 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12740 * text2.C: remove some commented code.
12743 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12744 * trans.C: changes because of the above.
12746 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12748 * text2.C (setCounter): Fix counters bug with bibliography layout.
12750 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12752 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12753 own member functions
12754 (simpleTeXSpecialChars): ditto
12756 2001-07-06 Juergen Vigna <jug@sad.it>
12758 * a lot of files: changed the access to LyXText::status and the
12759 call of undo-functions.
12761 * undo.[Ch]: added a inset_id to the undo informations.
12763 * undo_funcs.[Ch]: added and moved here all undo functions.
12765 * lyxtext.h: give the status enum a weight, made status_ a private
12766 variable and made accessor functions for it, removed the whole bunch
12767 of undo-functions as they are now in their own file, make some
12768 functions publically available. Added function ownerParagraph with
12771 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12772 made InInset() a const function, added getParFromID() function.
12774 * buffer.[Ch]: added const version for inset_iterator functions,
12775 added getInsetFromID() function.
12777 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12778 changed undo functions for new version.
12780 2001-07-05 Juergen Vigna <jug@sad.it>
12782 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12783 unknow mechanism does not call the proper constructor but only this
12784 one also if I request the other!?
12786 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12790 * text2.C (LyXText): use initialization lists.
12792 * lyxtext.h (Selection): initialize set_ and mark_
12793 (init): remove method
12795 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12797 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12799 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * screen.[Ch]: change method names to begin with lowercase
12803 * BufferView_pimpl.C (updateScrollbar): simplify further and
12804 hopefully make it a bit faster.
12806 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12808 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12809 calling directly xforms functions.
12811 * Painter.C (Painter):
12812 * lyx_cb.C (MenuWrite):
12813 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12816 * lyx_gui.C: remove bogus guiruntime extern declaration.
12818 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12822 (redoDrawingOfParagraph): ditto
12823 (redoParagraphs): ditto
12824 (cutSelection): don't create a object for CutAndPaste use the
12825 static method directly
12826 (pasteSelection): ditto
12828 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12831 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * modifications to some other files because of this.
12835 * Makefile.am (lyx_SOURCES): add XFormsView
12837 * XFormsView.[Ch]: new files
12839 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12840 the main window. Move the gui dependent stuff to XFormsView
12842 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * tabular.C (GetCellInset): update cur_cell also in the row/col
12845 version of this function.
12847 * lyxfunc.C: no need to include figure_form.h here.
12853 * lyxvc.C: no need to include forms.h here.
12855 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12857 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12859 * lyxfunc.C (Dispatch):
12861 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12862 constructor argument.
12864 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * paragraph.C (Paragraph): dont't clear, and just set layout.
12867 (makeSameLayout): use params's copy contructor.
12869 * ParagraphParameters.[Ch] (makeSame): delete method
12871 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12873 * Variables.[Ch]: fix indentation, rename set to isSet
12875 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * lyxfunc.C (Dispatch): fix typo
12879 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12881 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12884 * bufferlist.C: include assert.h for emergencyWrite().
12886 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12888 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12889 give up at last (bug #425202) !
12891 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12897 * spellchecker.C: strip spellchecker options and bring up
12898 preferences tab instead
12900 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12902 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12903 the istringstream constructor
12905 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12907 * paragraph.C (getLayout): fix return value
12909 * paragraph.h: do not declare getLayout as inline.
12911 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12913 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * lyxcursor.h (operator<): new func
12916 (operator>): new func
12917 (operator>=): new func
12918 (operator<=): new func
12920 * text.C (changeCase): use selection.start and selection.end
12921 (changeRegionCase): require from to be <= to. Require par to be a
12924 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12926 2001-06-27 Juergen Vigna <jug@sad.it>
12928 * text.C (cursorLeftOneWord): changed to return the cursor and added
12929 overlay with BufferView * parameter which calls this one.
12931 (selectWord): use new getWord function.
12932 (changeCase): renamed from changeWordCase as and extended to work
12933 also on selections.
12935 * lyxtext.h: added enum word_location
12937 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12938 changeCase as this operates now also on selections.
12940 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12942 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12944 * many files: send debug output to Debug::INFO instead of
12947 * converter.C (View):
12949 (Move): send debug output to Debug::FILES instead of console.
12951 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12953 * lyxfunc.C (getStatus): use func_status
12955 * func_status.h: new header, describing the results of
12956 LyXFunc::getStatus;
12958 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12961 2001-06-25 The LyX Project <jug@sad.it>
12963 * buffer.C (sgmlOpenTag):
12965 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12967 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12969 * text2.C: remove some dead code
12971 * tabular.C (GetCellInset): store the last cell checked (gotten)
12973 * tabular.h: add the helper for the speedup
12975 * lyxtext.h: remove some dead code
12977 2001-06-26 The LyX Project <Asger>
12979 * paragraph.C: Change export to LaTeX of alignment to
12980 \begin{center} and family for better roundtrip work with reLyX.
12982 * Tune the math drawing a bit.
12984 2001-06-25 The LyX Project <Asger>
12986 * LColor.C (LColor): New color for math background. New color
12989 2001-06-25 The LyX Project <jug@sad.it>
12991 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12993 * lyxfunc.C (Open):
12994 * bufferlist.C (newFile): do not restrict to files ending with
12997 * BufferView_pimpl.C (MenuInsertLyXFile):
12999 2001-06-24 The LyX Project <jug@sad.it>
13001 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13004 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13006 * lyxtext.h: rename most methods to begin with a small char.
13007 Lots of changes because of this.
13009 * paragraph.C (Paragraph): do not call fitToSize
13010 (erase): call Pimpl::erase
13011 (insertChar): call Pimpl::insertChar
13012 (insertInset): call Pipl::insertInset
13013 (breakParagraph): do not call fitToSize
13014 (breakParagraphConservative): do not call fitToSize
13015 (fitToSize): remove method
13017 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13019 2001-06-24 The LyX Project <Asger>
13021 * Fix Qt compilation^2
13023 2001-06-24 The LyX Project <jug@sad.it>
13025 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13026 depthHook(getDepth()-1).
13029 * ParagraphParameters.h:
13030 * ParameterStruct.h: change type of depth to unsigned int ==
13031 depth_type. Many adaptations to other files before of that.
13033 2001-06-24 The LyX Project <Asger>
13035 * Fix Qt compilation.
13037 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * paragraph.h: renamed several methods to begin with small letter.
13040 several changes to many parts of the code because of this.
13042 2001-06-23 The LyX Project <jug@sad.it>
13044 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13045 rewritten to discard all double spaces when KeepEmpty is off
13046 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13047 to only handle newlines but not fiddle with spaces and friends.
13049 * lyxfunc.C (MenuNew): when doing 'new from template', use
13050 template_path as default directory
13052 2001-06-23 The LyX Project <Asger>
13054 * Clean-up of header file includes all over
13055 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13057 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * paragraph.h: renamed from lyxparagraph.h
13061 2001-06-23 Asger <lyx@violet.home.sad.it>
13063 * Buffer.h: Removed Buffer::resize
13064 * BufferList.h: Removed BufferList::resize
13065 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13066 the document lazily when we change the width, or the font settings.
13068 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13070 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13072 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13074 * buffer.h: remove out of date comment
13076 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13079 * screen.C: fix "theoretical" GC leak
13081 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13083 * LaTeX.C (scanAuxFile):
13084 (deplog): remove trailing \r when reading stream (useful under
13087 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13089 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13090 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13091 and BufferView::theLockingInset(Inset*), so should use them and not
13092 access bv_->text->the_locking_inset directly.
13094 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13096 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13099 * tex-defs.h: remove old unused file
13101 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13103 * BufferView_pimpl.C: fix typo, remove minibuffer message
13104 when buffer has loaded
13106 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13108 * lyxfunc.C (Dispatch): use stringstream
13109 (MenuNew): use stringstream
13110 (Open): use stringstream
13112 * importer.C (Import): use stringstream
13114 * bufferview_funcs.C (CurrentState): use stringstream
13116 * LaTeX.C (run): use stringstream
13118 * BufferView_pimpl.C (savePosition): use stringstream
13119 (restorePosition): use stringstream
13120 (MenuInsertLyXFile): use stringstream
13122 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13135 * vspace.C: removed // -*- C++ -*- as first line.
13138 * version.h: added // -*- C++ -*- as first line.
13140 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13142 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13144 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13147 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13152 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13154 * gettext.C: include LString.h even when --disable-nls is on.
13156 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13158 * converter.h (Get): changed argument type from int to
13159 FormatList::size_type to avoid unnecessary conversion.
13161 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13164 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * gettext.h: include LString.h even when --disable-nls is on.
13168 2001-06-07 Juergen Vigna <jug@sad.it>
13170 * text.C (BreakAgain): subst spaces with tabs.
13172 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13173 (resizeInsetsLyXText): set force on resizeLyXText.
13175 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13177 * gettext.h (gettext_init):
13178 (locale_init): use a real definition instead of a macro
13180 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13182 * Bufferview_pimpl.C:
13184 * LColor.C: further lcolor tidies
13186 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * BufferView_pimpl.C (updateScrollbar): simplify.
13190 * BufferView2.C: don't include insets/insetinfo.h, change
13191 prototype for insertInset and call the Pimpl version. let
13192 updateInset call Pimpl version.
13194 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13195 gotoInset to BufferView::Pimpl
13197 2001-06-01 Juergen Vigna <jug@sad.it>
13199 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13200 inside a LockingInset (is the update needed at all?).
13202 2001-05-31 Juergen Vigna <jug@sad.it>
13204 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13205 here not the old one otherwise how should we compare it afterwards
13208 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13213 * FontInfo.C: bring C functions into global namespace when
13216 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * LString.h: make sure config.h has been loaded before LString.h.
13220 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13221 (one for each char read by EatLine!).
13223 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13226 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13228 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13229 to the same as the par we break from
13231 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13235 * MenuBackend.C (expand): also create menu entries for wide
13236 versions of the floats.
13238 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13240 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13242 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13243 frontends/Makefile.am
13249 * tabular.C (getTokenValue): add std::
13251 * tabular-old.C (getTokenValue): add std::
13252 (getTokenValue): ditto
13253 (getTokenValue): ditto
13255 * screen.C (ToggleSelection): adjust
13257 * lyxtext.h: put selection cursors inside a Selection struct.
13259 * lyxfunc.C (moveCursorUpdate): adjust
13261 * lyxfont.C (latexWriteStartChanges): add std::
13263 * lyxfind.C: adjust
13265 * font.h: delete with(char const *, LyXFont const &)
13267 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13269 * FontInfo.C (getFontname): add std::
13271 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13272 (workAreaButtonPress): adjust
13273 (tripleClick): adjust
13275 (moveCursorUpdate): adjust
13278 * BufferView2.C (gotoInset): adjust
13280 2001-05-30 Juergen Vigna <jug@sad.it>
13282 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13283 to check pspell I add this as default as I now have new pspell
13284 libraries and they seem to use this.
13286 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13288 * text2.C (CutSelection): make the cursor valid before the call to
13291 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13293 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13294 relied on 0 terminated strings and other horrors. Bug found due to
13295 the new assert in lyxstring!
13297 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13300 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13302 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13305 * lyxfunc.C (processKeySym): change method of getting to the
13308 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13309 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13310 * BufferView_pimpl.[Ch]: here as private methods.
13312 2001-05-28 Juergen Vigna <jug@sad.it>
13314 * text.C (SetHeightOfRow): added the update() call again as it is
13315 needed to initialize inset dimensions!
13317 2001-05-16 Juergen Vigna <jug@sad.it>
13319 * text2.C (SetCharFont): Add new function with BufferView * and
13320 bool toggleall parameters for setting insets internal fonts.
13321 (SetFont): Freeze the undo as we may change fonts in Insets and
13322 all this change should be inside only one Undo!
13324 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13325 setting font's in insets as for them we have the SetFont function!
13327 2001-05-15 Juergen Vigna <jug@sad.it>
13329 * text2.C (ClearSelection): to be sure we REALLY don't have any
13332 * tabular.C (TeXCellPreamble): fixed the left border problem for
13335 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13337 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13340 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13342 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13343 LFUN_BREAKPARAGRAPH.
13345 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13346 help test to "internal only", similar for LFUN_INSERT_URL
13348 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13349 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13350 auto_region_delete and deadkeys.
13352 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13355 * LColor.C: remove some dead entries, tidy a little
13357 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13361 (Dispatch): implement LFUN_ESCAPE
13363 * commandtags.h: add LFUN_ESCAPE
13365 * LyXAction.C (init): add entry for LFUN_ESCAPE
13367 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13368 Remove commented code.
13369 (insertNote): moved here
13370 (open_new_inset): moved here
13372 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13375 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13377 * kbmap.C (findbinding): clean it up and make it work correctly.
13379 * lyx_main.C (init): do not pass argc and argv as parameters
13381 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13383 * buffer.C: fix path for OS/2 & Win32
13387 * lyx_main.C: Added os:: class.
13389 * os2_defines.h: update
13391 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13394 better by trying again with reduced state.
13396 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * lyxrc.C (read): print error about invalid key sequence only when
13399 debugging (because not all latinX keysyms are known to some X
13402 * kbsequence.C (getiso): add a few std:: qualifiers
13403 (getiso): comment out extra return statement.
13405 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13409 (Dispatch): enhance the accent inset a bit. (not perfect)
13411 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13413 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13415 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13417 * bufferlist.C (emergencyWrite): fix assert() call
13419 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13421 * text.C (InsertChar): Added trivial patch to only send the "you
13422 can not do multiple spaces this way" message once during a
13425 2001-05-08 Baruch Even <baruch@lyx.org>
13427 * Makefile.am: Changed order of libraries to get LyX to link properly
13428 with the gnome frontend.
13430 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13432 * LaTeXFeatures.h: add a std:: qualifier
13434 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13436 * paragraph.C (String): use stringstream
13438 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * paragraph.C (writeFile): remove footflag arg
13442 * buffer.C (makeLaTeXFile): use stringstream
13443 (latexParagraphs): remove footnot gurba
13445 * LaTeXFeatures.C (getPackages): use stringstream
13446 (getMacros): likewise
13447 (getTClassPreamble): likewise
13448 (getFloatDefinitions): new method
13450 * paragraph.C (writeFile): reindent
13453 * WorkArea.h: revert the xpos + etc changes.
13455 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13457 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13459 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13460 (pasteSelection): likewise
13461 * text2.C (CreateUndo): likewise
13463 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13465 * minibuffer.C (peek_event): temporarily reduce the functionality
13466 of the minibuffer (to allow args on lfuns)
13468 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13469 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13471 * buffer.C (readInset): add compability reading of old float
13472 lists, add reading of new style float list.
13473 (readInset): avoid reevaluation of inscmd.getCmdName()
13474 (getLists): reindent
13476 * MenuBackend.C (MenuItem): implement parsing of
13477 md_floatlistinsert and md_floatinsert.
13478 (expand::LastFiles): move initalizaton of iterators out of loop,
13479 avoid reevaluation.
13480 (expand::Documents): introduce typdedef vector<string> Strings,
13482 (expand::ExportFormats): introduce typedef vector<Format const *>
13483 Formats, and use it.
13484 (expand): implement FloatListInsert and FloatInsert.
13486 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13487 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13488 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13490 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13492 (Dispatch::LFUN_FLOAT_LIST): implement
13494 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13496 * LaTeX.C (run): Fix problem with --export code.
13498 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13500 * BufferView.[Ch] (workarea): removed.
13501 (getClipboard) new method; wrapper for workarea()->getClipboard()
13503 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13506 * WorkArea.h (width, height, xpos, ypos): These methods all
13507 returned the dimensions of the work_area sub-area of WorkArea,
13508 resulting in a position error if the WorkArea were resized. Now
13509 return the dimensions of the entire WorkArea.
13511 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13513 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13515 * LaTeX.C (deplog): correct the syntax of regex reg1
13517 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13519 * undo.C: remove !NEW_INSETS cruft
13521 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * text2.C: remove !NEW_INSETS cruft
13525 * text.C: remove !NEW_INSETS cruft
13527 * tabular.C: remove !NEW_INSETS cruft
13529 * spellchecker.C: remove !NEW_INSETS cruft
13531 * lyxtext.h: remove !NEW_INSETS cruft
13533 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13535 * lyxfunc.C: remove !NEW_INSETS cruft
13537 * lyxfind.C: remove !NEW_INSETS cruft
13539 * lyx_cb.C: remove !NEW_INSETS cruft
13541 * figureForm.C: remove !NEW_INSETS cruft
13543 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13545 * buffer.[Ch]: remove !NEW_INSETS cruft
13547 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13549 * CutAndPaste.C: remove !NEW_INSETS cruft
13551 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13553 * BufferView2.C: remove !NEW_INSETS cruft
13555 * BufferView.h: remove !NEW_INSETS cruft
13557 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13559 * Lsstream.h: include LString.h before the sstream headers to
13560 fix problem with gcc 2.95.3 and lyxstring
13562 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13564 * lyx_main.C: add using directives when needed for C functions
13565 declared in std:: namespace.
13567 2001-04-27 Juergen Vigna <jug@sad.it>
13569 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13570 (SetHeightOfRow): comment out the update call should not be needed!
13572 2001-04-13 Juergen Vigna <jug@sad.it>
13574 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13575 (LyXTabular): tried to minimize operator= operations (and realized
13576 hopfully Lars wish).
13578 2001-04-27 Juergen Vigna <jug@sad.it>
13580 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13582 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13586 * buffer.C (readInset): hack to make listof algorithm work
13588 * BufferView_pimpl.C: hack to make listof algorithm work
13590 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13592 * LyXAction.C: removed all !NEW_INSETS cruft
13593 (init): moved lfun_item in method
13595 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13597 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13599 * BufferView2.C (theLockingInset): white space.
13601 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * minibuffer.C: include <iostream>
13605 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13607 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13609 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13611 * text.[Ch] (TransposeChars): new method
13613 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * call message directly through LyXView instead of through LyXFunc
13616 * BufferView2.C: adjust
13617 * BufferView_pimpl.C: adjust
13618 * FontLoader.C: adjust
13620 * bufferview_funcs.C: adjust
13621 * converter.C: adjust
13622 * figureForm.C: adjust
13623 * importer.C: adjust
13625 * lyx_gui_misc.C: adjust
13626 * lyxfunc.C: adjust
13629 + more files in subdirs
13631 * lyxparagraph.h (size): move up int file
13634 * adjust all uses of Assert to lyx::Assert.
13636 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13637 lyxfunctional in namespace lyx
13638 * layout.C (hasLayout): ditto
13641 (delete_layout): ditto
13642 (NumberOfClass): ditto
13643 * converter.C (GetFormat): ditto
13648 * bufferlist.C (getFileNames): ditto
13649 (emergencyWriteAll): ditto
13652 * MenuBackend.C (hasSubmenu): ditto
13655 * BufferView_pimpl.C (getInsetByCode): ditto
13657 2001-04-18 Juergen Vigna <jug@sad.it>
13659 * vspace.C (asLatexString): fixed the 100% problem.
13661 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13663 * lyxfunc.C (Dispatch):
13665 * minibuffer.h: add a few std:: qualifiers
13667 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * minibuffer.[Ch]: reimplement so that commands is initiated and
13670 run from lyxfunc, simplified som handling, and made the completion
13671 and history code for complete. wip.
13673 * lyxfunc.C (processKeySym): call message
13674 (miniDispatch): new temporary method
13675 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13676 (LFUN_MESSAGE): implement
13677 (LFUN_MESSAGE_PUSH): implement
13678 (LFUN_MESSAGE_POP): implement
13679 (initMiniBuffer): the initial/defualt minibuffer message.
13681 * lyxfont.[Ch]: inline some more getters
13683 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13685 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13687 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13688 (AutoSave): use LFUN_MESSAGE
13689 (Reconfigure): ditto
13691 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13693 * figureForm.C: use LFUN_MESSAGE
13695 * converter.C (runLaTeX): use LFUN_MESSAGE
13697 * bufferview_funcs.C: use LFUN_MESSAGE
13699 (changeDepth): ditto
13701 * bufferparams.h: use boost::
13703 * bufferlist.h: inherit privately from noncopyable
13705 * bufferlist.C (loadLyXFile): remove some commented code.
13707 * buffer.C (runChktex): use LFUN_MESSAGE
13709 * ShareContainer.h: inherit privately from noncopyable
13711 * ParagraphParameters.[hC] (depth): inline it.
13713 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13715 (message): new method
13716 (messagePush): ditto
13717 (messagePop): ditto
13718 (show): init minibuffer
13719 (showState): direct call
13721 * LaTeX.[Ch]: inherit privately from noncopyable
13722 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13723 instead of WriteStatus.
13725 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13727 * BufferView_pimpl.C (buffer): don't init minibuffer
13728 (workAreaButtonPress): use LFUN_MESSAGE
13729 (workAreaButtonRelease): ditto
13730 (savePosition): ditto
13731 (restorePosition): ditto
13732 (MenuInsertLyXFile): ditto
13733 (workAreaExpose): don't init minibuffer
13734 (update): remove commented code, simplify
13736 * BufferView2.C (openStuff): use LFUN_MESSAGE
13737 (toggleFloat): ditto
13740 (copyEnvironment): ditto
13741 (pasteEnvironment): ditto
13746 (updateInset): remove some commented code
13748 * lastfiles.h: inherit privately from noncopyable
13751 * lyx_main.h: ditto
13753 * lyxlex_pimpl.h: ditto
13755 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13756 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13757 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13759 * LyXAction.h: inherit privately from noncopyable, add methods
13760 func_begin, func_end, returning iterators to the func map.
13762 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13763 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13764 (func_begin): new method
13765 (func_end): new method
13767 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13769 (copySelection): ditto
13770 (pasteSelection): ditto
13772 * BufferView.C: whitespace change
13773 * BufferView.h: inherit privately from noncopyable
13775 2001-04-16 Allan Rae <rae@lyx.org>
13777 * tabular-old.C (l_getline):
13778 * spellchecker.C (sc_check_word):
13779 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13780 an unrecognised preprocessor directive. So ensure they're wrapped.
13782 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13784 * src/exporter.C (Export): Give an error message when path to file
13787 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13789 * LaTeX.C (deplog): Always check that foundfile exists.
13791 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13796 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13798 * tabular.[Ch] (getLabelList): implement new method
13800 * minibuffer.h: comment ouf setTiimer
13802 * minibuffer.C (ExecutingCB): constify res
13803 (peek_event): constify s
13804 (Set): constify ntext
13805 (Init): constify nicename
13807 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13809 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13810 (savePosition): use two params to Minibuffer::Set
13811 (restorePosition): ditto
13813 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13815 * lyx_main.C: include language.h
13817 * Makefile.am (lyx_main.o): add language.h
13819 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13825 * CutAndPaste.C: include gettext.h
13827 * lyxfont.h: remove old hack with ON and OFF.
13830 * lyxfont.h: do not include language.h...
13835 * bufferview_funcs.C:
13841 * paragraph.C: ... but do it here instead
13843 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13845 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13847 * tabular.C: small reformat
13849 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13852 (BreakParagraph): ditto
13853 (SetOnlyLayout): ditto
13856 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13859 * lastfiles.C: removed most using decl, add std:: where needed
13861 * buffer.C: ws changes
13863 * MenuBackend.C (class compare_format): put into anon namespace
13864 (expand): constify label, names, action, action2
13867 * text.C (SingleWidth): constify font
13868 (IsBoundary): constify rtl2
13869 (GetVisibleRow): constify ww
13871 * LaTeX.C (deplog): constify logfile
13873 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13875 (workAreaExpose): constify widthChange, heightChange
13877 * lyxrow.C (par): moved
13880 * lyxrow.h: as inlines here
13882 * lyxfont.h (shape): moved from lyxfont.C
13883 (emph): moved from lyxfont.C
13885 * lyxfont.C (LyXFont): use initialization list for all
13887 (shape): move to lyxfont.h as inline
13888 (emph): move to lyxfont.h as inline
13891 2001-04-04 Juergen Vigna <jug@sad.it>
13893 * vspace.C: had to include stdio.h for use of sscanf
13895 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13898 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13899 independent of xforms.
13901 2001-04-02 Juergen Vigna <jug@sad.it>
13903 * spellchecker.C: fixed namespace placing!
13905 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13907 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13908 the LyXParagraph * is 0.
13910 2001-03-29 Juergen Vigna <jug@sad.it>
13912 * vspace.C: added support for %, c%, p%, l%.
13913 (stringFromUnit): added helper function.
13914 (asLatexString): changed to give right results for the %-values.
13916 * buffer.C: convert the widthp in a width%.
13918 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13920 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13923 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13924 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13926 * lyx_cb.[Ch]: see above.
13928 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13932 * lyx.[Ch]: replaced by figure_form.[Ch].
13936 * lyxfunc.C: changed headers associated with above changes.
13938 2001-03-27 Juergen Vigna <jug@sad.it>
13940 * BufferView_pimpl.C: set the temporary cursor right!
13942 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13944 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13946 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13948 * LString.h: removed "using std::getline"!
13950 * BufferView_pimpl.C (Dispatch): changes due to changes in
13951 InsetInclude::Params.
13953 * buffer.C (tag_name): removed redundant break statements as they were
13954 producing lots of warnings with my compiler.
13956 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13958 * LString.h: add "using std::getline" when using the real <string>.
13960 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13962 * buffer.C: removed bitset usage.
13963 PAR_TAG moved to an anonymous name space.
13964 (tag_name): new funtion, also in the anonymous namespace.
13965 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13966 (makeDocBookFile): clean code. Completed transition from string arrays
13968 (SimpleDocBookOnePar): code clean.
13970 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13972 * tabular.C: add some comments.
13974 2001-03-22 Juergen Vigna <jug@sad.it>
13976 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13977 compatibility read a bit and fixed bug with minipage in different
13980 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13982 * buffer.C (pop_tag): removed.
13983 (push_tag): removed.
13984 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13985 array replaced with vector. Added support for CDATA sections.
13986 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13988 (makeDocBookFile): XML conformant declaration of CDATA section,
13989 fixed bug related to <emphasis> in the first paragraph char.
13990 (sgmlOpenTag): exclude empty tags.
13991 (sgmlCloseTag): ditto.
13993 * buffer.h (pop_tag): removed.
13994 (push_tag): removed.
13996 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13998 * language.h (Languages): added size_type and size().
14000 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14002 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14003 response on compability reading of minipages. One probliem is that
14004 the old usage of minipages was «flertydig»
14006 * several files here and in subdirs: don't use static at file
14007 scope use anon namespaces instead.
14009 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14011 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14012 LaTeX output. This is necessary for Literate document
14015 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14017 * buffer.C: insert hfill when needed.
14019 * tabular.C (l_getline): use string::erase, small whitespace change.
14021 * BufferView_pimpl.C: try the anon namespace.
14022 * WorkArea.C: ditto
14024 2001-03-16 Juergen Vigna <jug@sad.it>
14026 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14027 otherwise it won't open options-dialogs.
14029 * buffer.C: honor pextraWidth(p) on converting minipages.
14031 * tabular.C (l_getline): changed the functions to strip trailing \r.
14033 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14035 * BufferView_pimpl.C:
14036 * minibuffer..C: added "using SigC::slot" declaration.
14038 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14040 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14046 * paragraph.C: ditto
14048 * lyxtext.h: NO_PEXTRA
14050 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14052 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14053 * ParameterStruct.h: ditto
14054 * ParagraphParameters.h: ditto
14055 * lyxparagraph.h: ditto
14057 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14059 * buffer.C: add compability for minipage alignment.
14060 (latexParagraphs): remove unwanted pextra check.
14062 * several files: remove CXX_WORKING_NAMESPACES
14064 * buffer.C (pop_tag): tie is in namespace boost
14066 * BufferView.h: noncopyable is in namespace boost
14068 * lyx_main.h: ditto
14071 * lastfiles.h: ditto
14072 * bufferlist.h: ditto
14073 * ShareContainer.h: ditto
14075 * LyXAction.h: ditto
14078 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14080 * Merging changes from BRANCH_MVC back into HEAD.
14082 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14084 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14086 * BufferView_pimpl.C: change from intl.C
14090 * Makefile.am: move combox.*
14096 * intl.C: remove dialog (covered by prefs)
14098 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14100 * lyxfunc.C (Dispatch): removed redundant break statement.
14102 2001-03-14 Juergen Vigna <jug@sad.it>
14104 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14106 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14108 * buffer.C: add hack to fix compability reading of minipages.
14110 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14112 * buffer.C (getLists): Cleanup.
14114 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * lyxfont.C (update): don't honor toggleall on font size.
14118 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14122 * Makefile.am: moved to frontends/xforms/
14126 * BufferView_pimpl.C: changes for moved mathpanel
14128 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14130 * gettext.h: fix gettext_init() in --disable-nls
14132 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14134 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14136 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14139 * lyx.h: strip external form
14141 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14143 * BufferView_pimpl.C: add comment, destroySplash()
14145 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14147 * BufferView_pimpl.C:
14151 * lyxfunc.C: use re-worked insetinclude
14153 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14155 * buffer.C: add using std::stringstream.
14157 * lyx_cb.C: readd using std::ios.
14159 * buffer.C: add using std::map.
14161 * BufferView_pimpl.C: add using std::vector.
14163 * ShareContainer.h: add std:: to swap.
14165 * buffer.h: add some typedefs
14166 * buffer.C (getLists): use them
14167 (getLists): renamed from getTocList.
14168 add a counter for the different float types and use it in the
14170 (getLists): use the same counter for the NEW_INSETS and the "non"
14173 * lyx_cb.h: remove unused items, includes, using etc.
14175 * ShareContainer.h: remove some commented code, add more comments
14176 and "documentation".
14178 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14180 * buffer.C (getTocList): make the list also when NEW_INSETS is
14183 * buffer.h: remove TocType
14185 * buffer.C (getTocList): change to return a map<string,
14186 vector<TocItem> >, implement for dynamic number of list.
14188 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14189 * text2.C (PasteSelection): adjust
14190 * CutAndPaste.C (pasteSelection): adjust
14192 * FloatList.C (FloatList): update from the new_insets branch.
14193 * Floating.[Ch]: ditto
14194 * LaTeXFeatures.C: ditto
14196 * lyxlex_pimpl.C: ditto
14198 * paragraph.C (Last): remove when NEW_INSETS is defined.
14200 * other file: changes because of the above.
14202 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14204 * lyxparagraph.h: rename next to next_, previous to previous_,
14205 make them private for NEW_INSETS. Rename Next() to next(),
14206 Previous() to previous().
14208 * other files: changes because of the above.
14210 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14213 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14216 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * main.C (main): pass lyx_localedir to gettext_init().
14220 * gettext.h: remove locale_init and gettext_init macros
14222 * gettext.C (locale_init): new function
14223 (gettext_init): new function
14225 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14228 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14230 * Moved credits to frontends:
14231 * credits.[Ch]: removed
14232 * credits_form.[Ch]: removed
14233 * lyx_gui_misc.C: remove credits stuff
14236 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14238 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14240 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14241 unneeded destructor.
14243 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14244 a standalone pointer again.
14246 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14248 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14254 * ToolbarDefaults.C:
14263 * BufferView_pimpl.C: use new file dialog in GUII
14266 * lyx_cb.C: remove LayoutsCB to Toolbar
14268 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * ShareContainer.h (get): add std:: qualifier
14272 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14274 * ShareContainer.h: define a proper ShareContainer::value_type
14275 type (and use typename to please compaq cxx)
14277 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14279 * lyxparagraph.h: move serveral local vars to
14280 ParameterStruct/ParagraphParameters., use ShareContainer in
14281 FontTable., make vars in FontTable private and add getter and
14284 * paragraph.C: changes because of the above.
14286 * lyxfont.h: remove copy constructor and copy assignment. (the
14287 default ones is ok), move number inside FontBits. move inlines to
14290 * lyxfont.C: add number to initializaton of statics, move several
14291 inlines here. constify several local vars. some whitespace
14292 cleanup. Dont hide outerscope variables.
14294 * Spacing.h: add two new constructors to match the set methods.
14296 * ShareContainer.h: new file, will perhaps be moved to support
14298 * ParameterStruct.h: new file
14300 * ParagraphParameters.h: new file
14302 * ParagraphParameters.C: new file
14304 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14305 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14307 * BufferView_pimpl.C: ParagraphParameter changes.
14308 * buffer.C: Likewise.
14309 * bufferview_funcs.C: Likewise.
14310 * text.C: Likewise.
14311 * text2.C: Likewise.
14313 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14315 * lyxfind.C (LyXReplace): do not redefine default argument in
14317 (IsStringInText): ditto
14318 (SearchForward): ditto
14319 (SearchBackward): ditto
14321 2001-03-06 Juergen Vigna <jug@sad.it>
14323 * lyxfind.C (IsStringInText): put parentes around expressions.
14325 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14327 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14329 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14331 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14333 * stl_string_fwd.h: add comment
14335 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14338 * tabular.C: remove unused DocBook methods
14344 killed DO_USE_DEFAULT_LANGUAGE
14346 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * lyx_gui.C: do not include language.h.
14350 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14351 arguments in function implementation.
14353 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14355 * BufferView_pimpl.C: add <ctime>
14357 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14359 * BufferView_pimpl.C: add using std::find_if
14361 2001-02-27 José Matos <jamatos@fep.up.pt>
14363 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14366 2001-02-11 José Matos <jamatos@fep.up.pt>
14368 * buffer.C (makeDocBookFile): command styles now have a parameter as
14369 "title" by default.
14371 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14373 * layout_forms.[Ch]: removed
14374 * lyx_cb.[Ch]: out character
14375 * lyx_gui.C: out character
14376 * lyx_gui_misc.C: out character
14377 * bufferview_funcs.C: : out character,
14378 added toggleall as parameter in ToggleAndShow
14380 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14382 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14384 * text2.C (SetCurrentFont): Disable number property at boundary.
14386 2001-02-26 Juergen Vigna <jug@sad.it>
14388 * lyxfunc.C (getStatus): added a string argument override function so
14389 that this is correctly called from LyXFunc::Dispatch if it contains a
14390 do_not_use_argument which is used!
14391 (Dispatch): added check for "custom" export and call appropriate func.
14393 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14395 * lyxrc.C: Add language_command_local, language_use_babel and
14396 language_global_options.
14398 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14400 * buffer.C (makeLaTeXFile): Use language_use_babel and
14401 language_global_options.
14403 2001-02-23 Juergen Vigna <jug@sad.it>
14405 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14406 which works with LyXText and putted it inside BufferView. Here now we
14407 only call for that part the BufferView::Dispatch() function.
14409 * BufferView.C (Dispatch): added.
14411 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14412 functions which needs to use a LyXText over from LyXFunc.
14413 (MenuInsertLyXFile): added
14414 (getInsetByCode): added
14415 (moveCursorUpdate): added
14416 (static TEXT): added
14418 2001-02-22 Juergen Vigna <jug@sad.it>
14420 * BufferView_pimpl.C (update): call a status update to see if LyXText
14423 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14425 * vc-backend.C (revert): implement for CVS
14426 (getLog): implement for CVS
14428 2001-02-20 Juergen Vigna <jug@sad.it>
14430 * text2.C (ClearSelection): added BufferView param for inset_owner call
14432 * lyxfunc.C (TEXT): added this function and use it instead of
14433 directly owner->view()-text of getLyXText().
14435 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14437 * src/layout_forms.C: out preamble
14438 * src/layout_forms.h: out preamble
14439 * src/lyx_cb.C: out preamble
14440 * src/lyx_cb.h: out preamble
14441 * src/lyx_gui.C: out preamble
14442 * src/lyx_gui_misc.C: out preamble
14443 * src/lyxfunc.C: connect with guii preamble
14445 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14447 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14449 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14451 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14452 whether to run bibtex.
14454 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14456 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14458 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14460 * Makefile.am (lyx_SOURCES): removed bibforms.h
14462 * vspace.h: doxygen
14464 * text.C (GetVisibleRow): make several local vars const
14466 * tabular.C: small cleanup.
14468 * lyxserver.C (callback): use compare instead of strncmp
14470 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14471 inlines to after class or to paragraph.C
14473 * lyxfont.h: remove friend operator!=
14475 * converter.h: move friend bool operator< to non friend and after
14478 * combox.h: small cleanup
14480 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14481 to inlines after class def.
14483 * buffer.C (pop_tag): use string operations instead of strcmp
14485 * bmtable.c: doxygen, small cleanup
14487 * LaTeX.h: remove friend operator==
14489 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14501 * BufferView_pimpl.C:
14502 * BufferView.[Ch]: remove cruft
14504 2001-02-14 Juergen Vigna <jug@sad.it>
14506 * lyxfunc.C: removed #if 0 unused code
14508 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14510 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14512 * text2.C (SetSelection): added a BufferView * parameter
14514 2001-02-13 Juergen Vigna <jug@sad.it>
14516 * lyxfunc.C (Dispatch): fixed protected blank problem.
14517 * BufferView2.C (protectedBlank): added LyxText * parameter.
14519 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14520 (AppendColumn): same as above for column_info.
14522 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14523 (moveCursorUpdate): use a LyXText param for support of InsetText.
14525 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14526 (tripleClick): ditto
14528 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14530 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14532 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14534 * text2.C (SetSelection): set correct update status if inset_owner
14535 (ToggleFree): ditto
14537 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14539 * tabular.C: remove some commented code.
14541 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14543 * BufferView_pimpl.C: call hideSplash()
14545 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14548 * bibforms.h: remove
14551 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14552 add LFUN_CHILD_CREATE
14554 * counters.h: fix tiny typo
14559 * lyx.C: move splash to frontends/xforms/
14561 * lyx_gui_misc.C: move Include and Bibform to frontends
14563 * lyxvc.h: clarify comment
14565 * vspace.C: tiny housekeeping
14567 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14569 * text.C (PrepareToPrint): RTL Fix.
14571 * paragraph.C (GetUChar): New method.
14572 (String): Use GetUChar.
14574 * buffer.C (asciiParagraph): Use GetUChar.
14576 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14578 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14580 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14583 * buffer.C: rename to getLogName(), handle
14584 build log / latex log nicely
14586 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14589 * MenuBackend.h: remove support for reference menuitem type.
14591 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14593 * BufferView_pimpl.C: housekeeping
14594 * BufferView_pimpl.h:
14599 * minibuffer.h: move Timeout GUI-I
14601 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14603 * lyxrc.C (read): Update converters data-structures.
14605 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14607 * LaTeX.h (operator!=): add operator != for Aux_Info
14609 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14611 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14613 * LaTeXLog.C: deleted, useful code moved to Buffer
14616 * buffer.C: new function getLatexLogName()
14622 * lyxfunc.C: use frontends for LaTeX and VC logs
14624 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14626 * LaTeX.h: yet another std:: that Allan forgot.
14628 * Variables.C (set): renamed from isset(), because this clashes
14629 with some HP-UX macros (grr).
14631 2001-02-06 Allan Rae <rae@lyx.org>
14633 * LaTeX.h: Another bug fix. Missing std:: this time.
14635 2001-02-04 Allan Rae <rae@lyx.org>
14637 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14638 floats problem. I've left it commented out because it's not quite
14639 correct. It should also test that the current object is a table or
14640 figure inset. But I haven't gotten around to figuring out how to do
14641 that. I *think* it'll be something like: "table" == inset.type()
14643 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14646 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14648 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14649 all the citation/databases/styles in the auxilary file.
14650 (run): Rerun latex if there was a babel language error.
14652 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14654 * text.C (Backspace): Preserve the font when changing newline char
14656 (BreakParagraph): If the cursor is before a space, delete the space.
14658 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14660 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14662 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14663 new argument (code).
14664 (ChangeCitationsIfUnique): New method.
14666 * paragraph.C (GetPositionOfInset): Handle bibkey.
14668 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14670 * BufferView_pimpl.h: change type of Position::par_pos to
14671 LyXParagraph::size_type.
14673 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14675 * BufferView_pimpl.C (savePosition, restorePosition): Write
14676 messages to minibuffer.
14678 2001-01-28 José Matos <jamatos@fep.up.pt>
14680 * buffer.C (makeDocBookFile): adds support for document language.
14681 A silly restriction on the name of LatexCommand types where removed.
14682 Added support for CDATA sections, allows to chars unescaped, used
14683 among others in code, to avoid escape < and >.
14685 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14687 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14688 saved positions instrad of a stack. Furthermore, a position is
14689 stored using paragraph id/paragraph position.
14691 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14692 Remove LFUN_REF_BACK.
14694 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14696 * converter.C (dvipdfm_options): New method.
14698 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14700 * vspace.C (isValidLength): Fix for empty input string.
14702 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * LyXAction.C (init): change description of LFUN_FIGURE to
14707 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14709 * LaTeX.C: add using directive
14711 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14713 * MenuBackend.C (expand): Fix the sorting of the formats.
14715 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14717 * lyx_main.C: tiny error message fix
14719 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14721 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14722 calling fl_initialize(). This fixes the problem with ',' as
14723 decimal separator in text files.
14725 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14727 * trans.C (process): Fix the keymap bug.
14729 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14731 * LaTeX.C (scanAuxFiles): New method. Provides support for
14732 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14733 (scanLogFile) Scan for "run BibTeX" messages.
14735 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14736 OT1 font encoding. Also, load the aecompl package if the ae
14739 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14741 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14743 * texrow.C (increasePos): turn two error messages into debug
14746 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14748 * LaTeX.C (scanAux): Handle the \@input macro.
14749 (runBibTeX): Use scanAux().
14751 * language.C (latex_options_): New field.
14753 * LaTeXFeatures.C (getMacros): Add language macros.
14755 * buffer.C (makeLaTeXFile): Small fix.
14757 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14761 * text2.C: add a using directive.
14763 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14768 * lyxfunc.C: kill LyXBell.
14770 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14772 * text.C (IsBoundary): Remove the error message
14774 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14776 * lyxrc.C (setDefaults): Correct initialization value for
14779 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14781 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14784 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14785 and GotoNextNote().
14787 * src/LyXAction.C: Added reference-next.
14789 * text.C (InsertChar): Use contains instead of strchr.
14791 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14793 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14795 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14796 alignment commands (when needed).
14798 * text.C (InsertChar): Add ':' to number separator chars.