1 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3 * undo.C (performUndoOrRedo): fix two crashes by setting a
4 cursor by hand and reordering some calls. Use bv->lockInset instead
5 of inset->edit because the latter loses cursor information
7 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
9 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
11 (rowBreakPoint): fix width. change point to point + 1.
14 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
17 * lyxfunc.C: fix (at least partly) the problems
18 with the Nav menu and headers inside branch insets
21 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
23 * paragraph.C (getChar): add strong asserts
25 * lyxrow_funcs.C (lastPos): remove hideous hack
27 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
28 (fill): adjust to that (avoid an infinite loop)
30 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
32 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
34 2003-10-23 André Pönitz <poenitz@gmx.net>
36 * RowList_fwd.h: change list<> to vector<> to gain speed
37 after suggestion from Alfredo
39 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
41 * lyxtext.h: move the bidi stuff from here...
44 * Bidi.[Ch]: ... to here
46 2003-10-23 André Pönitz <poenitz@gmx.net>
49 * text.C (isLastRow, isFirstRow): new functions
51 * paragraph.h: new width cache member
53 * rowpainter.C: replace RowList::iterator with Row & where possible
55 * lyxfunc.C: replace several view()->text with a single call
57 * toc.C: fix 'unused' warning
59 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
61 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
62 when woring with stream::pos_type
63 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
65 2003-10-22 André Pönitz <poenitz@gmx.net>
68 * text.C: use Row & instead of RowList::iterator
70 * lyxrow.h: rename end() to endpos()
76 2003-10-22 Angus Leeming <leeming@lyx.org>
78 * buffer.[Ch] (fully_loaded): new member function, returning true
79 only when the file has been loaded fully.
80 Used to prevent the premature generation of previews and by the
81 citation inset to prevent computation of the natbib-style label.
83 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
84 templates are all set up.
86 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
88 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
90 * text.C: fixed an "oops" in the "is a bit silly"
93 2003-10-21 André Pönitz <poenitz@gmx.net>
95 * FuncStatus.[Ch]: small stuff, whitespace
97 * lyxfont.[Ch]: operator<<() for debug reasons
101 * lyxtext.h: whitespace, spelling
103 * paragraph.C: naming of variables
106 * text2.C: small stuff
109 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
111 * text.C: (1) finish off the inset display() work;
112 (2) fix the "is a bit silly" bug (accessing char
115 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
117 * text.C: re-introduce display() for insets, fixing the
118 various bugs (stretch of line above, math inset
121 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * text.C (rightMargin): remove spurious semicolon
125 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
128 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
130 * text3.C: fix one crash due to wrong cursor def
132 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
134 * vc-backend.C (scanMaster): make the regex static
136 * LaTeX.C (scanAuxFile): make the regexs static
138 * text3.C (doInsertInset, dispatch, dispatch):
139 * text2.C (cursorUp, cursorDown):
140 * text.C (selectNextWordToSpellcheck):
141 * BufferView_pimpl.C (dispatch):
142 * lyxfunc.C (dispatch): localDispatch -> dispatch
144 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * lyxsocket.C: include <cerrno>
148 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
150 * lyxfunc.C (dispatch): remove textcache stuff
152 * bufferlist.C (release): remove textcache stuff
155 * TextCache.C: delete file
156 * TextCache.h: delete file
158 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
160 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
161 delete of the bv_->text.
162 (resizeCurrentBuffer): remove texcache stuff
163 (workAreaResize): ditto
165 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
167 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
170 2003-10-16 André Pönitz <poenitz@gmx.net>
177 * text3.C: speed up by storing y positions per paragraph plus per-row
178 offset instead of having a 'full' y position in the row.
180 2003-10-15 André Pönitz <poenitz@gmx.net>
184 * undo.[Ch]: make undo aware of inner insets
186 2003-10-14 Angus Leeming <leeming@lyx.org>
188 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
189 static member functions LyX::ref() and LyX::cref.
190 (lastfiles): new accessor functions for the new lastfiles_ member var.
191 (addLyXView, views_): add a new LyXView to the list of views_.
192 (updateInset): loop over all LyXViews to call their own updateInset
193 member function, returning a pointer to the Buffer owning the inset.
195 * BufferView_pimpl.C (loadLyXFile):
196 * MenuBackend.C (expandLastfiles):
197 * bufferlist.C (MenuWrite, QuitLyX):
198 lastfiles is no longer a global variable.
199 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
201 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
202 static function. Access through LyX::cref().emergencyCleanup().
204 2003-10-14 André Pönitz <poenitz@gmx.net>
206 * iterators.[Ch]: new direct access to innermost LyXText and Inset
208 * undo.[Ch]: restoring part of 'undo in insets'
211 * undo_funcs.[Ch]: merge with undo.[Ch]
213 * tabular.C: small cleansing stuff
215 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
217 * paragraph_funcs.C (readParToken): report unknown insets as error
218 boxes. Use the outer paragraph as location (also for unknown
221 * factory.C (readInset): do not abort on reading an unknown inset.
224 2003-10-13 Angus Leeming <leeming@lyx.org>
226 * lyx_main.C (LyX): remove call to setDisplayTranslator().
228 * lyxrc.C: displayTranslator is now a function,
229 declared in GraphicsTypes.h.
231 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
233 * format.C: new placeholder $$a to pass the socket address.
235 * bufferlist.[Ch]: new function getBufferFromTmp.
237 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
238 files in the temporary dir.
240 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
242 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
244 * Makefile.am: add lyxsocket.[Ch].
246 * lyx_main.C (error_handler): handle SIGPIPE.
248 2003-10-13 André Pönitz <poenitz@gmx.net>
250 * BufferView_pimpl.C:
255 * undo_funcs.[Ch]: use paroffset_type instead of
256 ParagraphList::iterators to prevent multiple conversion
257 (and get a more robust interface)
259 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
261 * lyxfunc.C (dispatch): RESULT -> dispatch_result
263 * text3.C (dispatch): ditto
265 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
267 * LaTeX.C (handleFoundFile): move the static to smaller scope,
268 move the onlyfile, use onlyfile instead of foundfile in a couple
271 * DepTable.C (update): flush the error stream a bit more
273 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
275 * lyxserver.C (callback): adjust
277 * lyxfunc.C (getStatus): add a missing brace in commented code
278 (ensureBufferClean): reindent
279 (dispatch): delete version taking a string
281 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
283 * LaTeX.C (deplog): move found file handlig from here...
284 (handleFoundFile): .. to new function here.
285 (deplog): make sure to discover several files mentioned on the
288 2003-10-10 André Pönitz <poenitz@gmx.net>
295 * text3.C: fix some of the tabular crashes
297 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
299 * MenuBackend.C (binding): put debug message into Debug::KBMAP
301 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
303 2003-10-09 André Pönitz <poenitz@gmx.net>
305 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
308 * BufferView_pimpl.C:
309 * bufferview_funcs.C:
320 * undo_funcs.C: adjust
322 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
324 * text2.C (incrementItemDepth): new function, use a backtracking
325 algorithm to discover the correct item depth.
326 (resetEnumCounterIfNeeded): new function, use a backtracking
327 algorithm to discover if counter reset is needed.
328 (setCounter): use them. Simplify a bit. Add different labels for
329 different item depths for itemize.
331 * paragraph.C (Paragraph): remove initialization of enumdepth
334 * paragraph.h: get rid of enumdepth, and use itemdepth both for
335 enumerate and itemize. Change the type of itemdepth to signed char.
337 2003-10-08 André Pönitz <poenitz@gmx.net>
339 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
344 * tabular.[Ch]: fix crash after 'row-insert'
346 2003-10-08 Angus Leeming <leeming@lyx.org>
348 Fix doxygen warnings.
350 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
351 Remove CutAndPaste:: prefix from header file declaration.
353 * LColor.h (fill): remove LColor:: prefix from declaration.
355 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
356 use lyx::depth_type rather than Paragraph::depth_type so that
357 header file and .C file match.
359 * converter.h (intToFormat): remove Converters:: prefix from declaration.
361 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
362 * aspell.C: \file aspell_local.C -> \file aspell.C
363 * gettext.C: \file gettext.C -> \file src/gettext.C
364 * gettext.h: \file gettext.h -> \file src/gettext.h
365 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
366 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
367 * text.C: \file text.C -> \file src/text.C
369 * toc.C: move comment so that doxygen is not confused.
371 2003-10-07 Angus Leeming <leeming@lyx.org>
373 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
375 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
378 * aspell_local.h: add forgotten std::string's.
380 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
387 * text3.C: The Box patch. Fancybox support, minipage, parbox
389 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
395 * ParagraphParameters.h:
405 * lyxtextclasslist.h:
409 * textcursor.h: add <string> and other small fixes to make Lars'
410 std::string patch compile with STLport.
412 2003-10-06 Angus Leeming <leeming@lyx.org>
414 * LColor.h: Add missing #include <string>.
416 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
418 * All most all file in all subdirs: Make <string> be the prefered
419 way of getting to std::string, add using declarations.
421 2003-10-06 André Pönitz <poenitz@gmx.net>
423 * metricsinfo.C: initialize LyXFont before changing attribute.
424 (fixes the 'math in \emph is upright' bug)
426 2003-10-06 André Pönitz <poenitz@gmx.net>
428 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
430 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
433 * paragraph_pimpl.C: Small fixes to build using STLport
435 2003-10-02 André Pönitz <poenitz@gmx.net>
438 * text3.C: move handling of LFUN_DEPTH *; fix #1360
440 2003-10-01 André Pönitz <poenitz@gmx.net>
442 * factory.C: assert early
444 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
446 * lyx_main.C: remove the global debug object
448 * debug.h: adjust for new debugstream
450 * debug.C: adjust for new debugstream and keep the global debug
453 2003-09-22 Angus Leeming <leeming@lyx.org>
455 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
456 of g++ which otherwise complain that the scoped_ptr destructor can't delete
457 an incomplete class LyXFont.
459 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
461 * factory.C: bug fix in branches
463 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * lyxfunc.C (processKeySym): adjust
467 (dispatch): change arg name from ev to func, adjust
468 (sendDispatchMessage): ditto
470 * lyx_main.C (defaultKeyBindings): adjust keybindings
471 (deadKeyBindings): ditto
473 * kbsequence.C (addkey): return a FuncRequest
475 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
477 * kbmap.C (bind): take a FuncRequest as arg, adjust
480 (defkey): change to take a FuncRequest as arg, adjust
481 (findbinding): take a FuncRequest as arg, adjust.
483 * funcrequest.h (operator=): added
485 * funcrequest.C (FuncRequest): default kb_action changed from
486 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
488 * buffer.C (dispatch): simplify
489 (dispatch): adjust to take a FuncRequest as arg, adjust
491 * boost.C (assertion_failed): change assertion message slightly
493 * ToolbarBackend.C (read): simplify
495 * MenuBackend.C (binding): adjust call to findbinding, add a
496 message if no binding is found.
498 (expandToc): correct by adding a empty FuncRequest
500 * LyXAction.C: include <boost/assert.hpp>
501 (isPseudoAction): delete function
502 (LookupFunc): change name to...
503 (lookupFunc): this. change return type to FuncRequest.
504 (getActionName): take kb_action as arg, simplify
505 (funcHasFlag): add an assert, simplify.
507 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
509 * toc.C (action): return a FuncRequest, simplify
511 * lyxfunc.C (processKeySym): adjust
512 (getStatus): delete version that takes an int.
514 (dispatch): delete version that takes action as int
516 (sendDispatchMessage): simplify and adjust
518 * funcrequest.C (getArg): take unsigned int as arg
520 * ToolbarBackend.C (read): adjust
521 (add): delete version that takes func as a string.
522 (getIton): take a FuncRequest as arg
524 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
527 * MenuBackend.C (MenuItem): add a new construct that only takes a
528 Kind, simplify the constructor use for submenus.
530 (expandLastfiles): adjust
531 (expandDocuments): adjust
532 (expandFormats): adjust
533 (expandFloatListInsert): adjust
534 (expandFloatInsert): adjust
535 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
537 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
538 Remove class variables lyx_pseudo_map and lyx_arg_map
540 * LyXAction.C (searchActionArg): delete function
541 (getPseudoAction): delete function
542 (retrieveActionArg): delete function
543 (LookupFunc): make it return kb_action, simplify.
544 (getActionName): simplify
546 * factory.C (createInset): fix new bug
548 2003-09-19 Angus Leeming <leeming@lyx.org>
550 * CutAndPaste.C (pasteSelection): remove fudge used to set the
551 masterFilename_ parameter in the include inset.
553 * factory.C (createInset): changes due to the changes to InsetInclude.
555 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
557 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
559 2003-09-18 Angus Leeming <leeming@lyx.org>
562 * BufferView.C: pass the buffer when calling Inset::getLabelList,
563 Inset::fillWithBibKeys.
564 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
566 2003-09-18 Angus Leeming <leeming@lyx.org>
568 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
570 (ctor): pass and store a 'Buffer const &'
571 (buffer): new member function.
573 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
574 '*this' to the LaTeXFeatures ctor.
576 2003-09-18 Angus Leeming <leeming@lyx.org>
582 * text.C: rename EnumLColor as LColor_color.
584 2003-09-18 Angus Leeming <leeming@lyx.org>
586 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
587 remove #include "insets/insetbase.h" from cursor.h.
589 2003-09-18 Angus Leeming <leeming@lyx.org>
591 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
592 InsetOld_code to remove #include "inset.h".
594 * iterators.C: add #include "insets/inset.h"
596 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
598 * BufferView.C: remove more locking stuff that apparently doesn't
599 do anything sensible.
601 2003-09-16 André Pönitz <poenitz@gmx.net>
604 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
607 2003-09-16 Angus Leeming <leeming@lyx.org>
609 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
611 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
614 * paragraph.h: remove #include "lyxfont.h". Forward declare
617 2003-09-16 Angus Leeming <leeming@lyx.org>
619 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
620 of support/textutils.h.
621 (isWord): move the contents of support/textutils.h's IsWordChar here.
627 * text2.C: add #include "paragraph.h".
630 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
632 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * LaTeX.C: use namespace alias for lyx::support::os
640 2003-09-16 Angus Leeming <leeming@lyx.org>
643 * bufferview_funcs.C:
648 * text.C: add #include "LColor.h".
650 2003-09-16 Angus Leeming <leeming@lyx.org>
652 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
653 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
655 Store the FontBits::color variable as an int rather than as an
656 LColor::colorso that we can move LColor.h out of the lyxfont.h header
659 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
660 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
661 string calls together.
663 * lyxrc.C: add #include "LColor.h".
665 2003-09-15 Angus Leeming <leeming@lyx.org>
667 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
670 2003-09-15 Angus Leeming <leeming@lyx.org>
672 * LColor.h: add an EnumLColor wrapper for LColor::color.
674 * lyxfont.[Ch] (color, setColor, realColor):
675 * lyxtext.h, text.C (backgroundColor):
676 pass EnumLColor args to/from the functions, rather than LColor::color
680 * lyxtext.h: forward declare EnumLColor.
682 * lyx_main.C: add #include "LColor.h".
684 2003-09-15 Angus Leeming <leeming@lyx.org>
686 * .cvsignore: add lyx-gtk.
688 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * ParagraphParameters.C
707 * vc-backend.C: remove usage of STRCONV
709 2003-09-15 Angus Leeming <leeming@lyx.org>
711 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
712 explicitly define the color passed to the painter.
714 2003-09-15 Angus Leeming <leeming@lyx.org>
716 * bufferparams.C (BufferParams): reorder member initializers to avoid
719 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
721 * CutAndPaste.C (pasteSelection): remove an outdated #warning
722 * text.C (updateRowPositions): remove an unusual nop
724 2003-09-12 André Pönitz <poenitz@gmx.net>
726 * BufferView_pimpl.C:
735 * Counters.[Ch]: finish the 'automatic counters' job
737 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
739 * aspell.C: include <boost/assert.cpp> (compile fix)
741 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
743 * boost.C (assertion_failed): use lyx::support::abort instead of
746 2003-09-10 Angus Leeming <leeming@lyx.org>
748 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
749 with their _fwd progeny.
751 2003-09-09 Angus Leeming <leeming@lyx.org>
753 134 files throughtout the source tree: replace 'using namespace abc;'
754 directives with the appropriate 'using abc::xyz;' declarations.
756 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
758 * boost.C (emergencyCleanup): moved here from LAssert.c
759 (assertion_failed): new function, called by BOOST_ASSERT
761 * several files: change Assert to BOOST_ASSERT
763 2003-09-09 Angus Leeming <leeming@lyx.org>
765 * buffer.[Ch]: Add an Impl class and move Buffer's member
766 variables into it. As a result move several header files out of
769 Add header files to lots of .C files all over the tree as a result.
771 2003-09-09 Angus Leeming <leeming@lyx.org>
773 * buffer.[Ch]: make Buffer's member variables private. Add
776 Lots of changes all over the tree as a result.
778 2003-09-08 Angus Leeming <leeming@lyx.org>
780 * graph.C: #include <config.h>.
782 2003-09-08 Angus Leeming <leeming@lyx.org>
786 * BufferView_pimpl.C:
815 * toc.C: remove redundant using directives.
817 2003-09-07 Angus Leeming <leeming@lyx.org>
819 * LaTeXFeatures.h: remove #include "support/types.h".
820 * ToolbarBackend.h: remove #include <algorithm>.
821 * changes.h: remove #include <ctime>.
822 * debug.h: remove #include <iosfwd>.
823 * graph.h: remove #include "support/std_string.h".
824 * lyx_main.h: remove #include <csignal>.
825 * lyxlex_pimpl.h: remove #include <fstream>.
826 * sgml.h: remove #include <algorithm>, <utility>.
827 * toc.h: remove #include "support/std_ostream.h".
828 Add #include <iosfwd>.
830 2003-09-07 Angus Leeming <leeming@lyx.org>
832 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
834 * converter.h: forward declare LatexRunParams.
835 * encoding.h: remove #include "lyxrc.h".
836 * lyxtext.h: remove #include "LColor.h".
837 * lyxtextclass.h: remove #include "support/types.h".
838 * trans.h: remove #include "tex-accent.h".
839 * trans_mgr.h: remove #include "tex-accent.h".
840 * insets/inset.h: remove #include "support/types.h", <vector>.
841 * insets/insetcollapsable.h: remove #include "LColor.h".
842 * insets/insetinclude.h: remove #include "dimension.h".
843 * insets/insetlatexaccent.h: remove #include "dimension.h".
844 * insets/insetoptarg.h:: remove #include "insettext.h".
845 * insets/insettext.h: remove #include "dimension.h",
846 <boost/shared_ptr.hpp>
848 * insets/renderers.h: add #include "dimension.h".
849 * insets/updatableinset.h: add #include "support/types.h".
851 * many .C files: Associated changes.
853 2003-09-06 Angus Leeming <leeming@lyx.org>
855 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
856 one, inside testInvariant.
858 * PrinterParams.C: new file.
859 * PrinterParams.[Ch]: move the function bodies out of line.
861 2003-09-06 Angus Leeming <leeming@lyx.org>
863 * ParagraphParameters.h: forward declare ParameterStruct rather than
864 including its header file.
865 (depth): moved out-of-line.
867 2003-09-06 Angus Leeming <leeming@lyx.org>
869 * BufferView_pimpl.h:
872 * lyxfunc.h: forward declare LyXKeySym rather than
873 #include "frontends/LyXKeySym.h".
875 * BufferView_pimpl.C:
878 * lyxfunc.C: associated changes.
880 2003-09-06 Angus Leeming <leeming@lyx.org>
882 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
883 As a result, can remove the #include "insets/inset.h" from BufferView.h
885 2003-09-06 Angus Leeming <leeming@lyx.org>
887 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
888 As a result, can remove the #include "insets/inset.h" from BufferView.h
890 2003-09-06 Angus Leeming <leeming@lyx.org>
896 * bufferview_funcs.C:
897 * BufferView_pimpl.C:
902 * ParagraphParameters.C:
907 * frontends/controllers/ControlDocument.C:
908 * insets/insetcaption.C: rearrange the #includes into some sort of
911 * buffer.h: remove #includes ErrorList.h, undo.h
913 2003-09-06 Angus Leeming <leeming@lyx.org>
915 * support/types.h: add a 'depth_type' typedef, used to store the
916 nesting depth of a paragraph.
919 * ParameterStruct.h: use this lyx::depth_type typedef rather than
924 * ParagraphParameters.h:
925 * sgml.h: use lyx::depth_type rather than Paragraph or
926 ParameterStruct's depth_type.
929 * paragraph_funcs.h: no need to #include paragraph.h anymore.
932 * BufferView_pimpl.C:
934 * ParagraphParameters.C:
937 * bufferview_funcs.C:
944 * frontends/LyXView.C:
945 * frontends/controllers/ControlDocument.C:
946 * frontends/controllers/ControlErrorList.C:
947 * insets/insetbibitem.C:
948 * insets/insetbranch.C:
949 * insets/insetcaption.C:
950 * insets/insetcollapsable.C:
953 * insets/insetfloat.C:
954 * insets/insetfoot.C:
955 * insets/insetfootlike.C:
956 * insets/insetnewline.C:
957 * insets/insetquotes.C:
958 * insets/insettabular.C:
959 * insets/insettext.C:
960 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
962 * frontends/controllers/ControlChanges.C: #include "changes.h".
964 2003-09-06 Angus Leeming <leeming@lyx.org>
966 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
967 than #including paragraph.h.
970 * RowList.h: deleted. Superfluous.
980 * insets/insettext.h: use ParagraphList_fwd.h rather than
983 * paragraph.h: don't forward declare ParagraphList.
986 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
987 rather than ParagraphList.h. paragraph.h is still needed for the
988 Paragraph::depth_type parameters.
990 * textcursor.h: enable it to compile stand-alone in light of the
993 * bufferview_funcs.C:
1005 * frontends/controllers/ControlParagraph.C:
1006 * frontends/controllers/ControlTabular.C:
1007 * insets/insetmarginal.C:
1008 * insets/insetminipage.C:
1009 * insets/insetnote.C:
1010 * insets/insetoptarg.C: add header files needed to compile again.
1012 2003-09-06 Angus Leeming <leeming@lyx.org>
1014 * RowList_fwd.h: new file, forward-declaring Row rather than
1015 #including lyxrow.h.
1020 * insets/insettext.h: use it instead of RowList.h
1022 * bufferview_funcs.C:
1029 * text3.C: #include "RowList.h".
1031 2003-09-05 Angus Leeming <leeming@lyx.org>
1033 * factory.C (createInset):
1034 * vspace.C (c-tor): replace sscanf call with an istringstream.
1035 * ispell.C: re-add missing HP/UX headers.
1036 * lyxserver.C: re-add missing os2 headers.
1038 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1047 * text3.C: re-add missing system headers, needed for 2.95.2.
1049 2003-09-05 Angus Leeming <leeming@lyx.org>
1051 Changes most place everywhere due to the removal of using directives
1052 from support/std_sstream.h.
1054 2003-09-05 Angus Leeming <leeming@lyx.org>
1056 Replace LString.h with support/std_string.h,
1057 Lsstream.h with support/std_sstream.h,
1058 support/LIstream.h with support/std_istream.h,
1059 support/LOstream.h with support/std_ostream.h.
1061 Changes resulting throughout the tree.
1063 2003-09-05 Angus Leeming <leeming@lyx.org>
1065 * sgml.h: ensure that the header file can be compiled stand-alone.
1066 * *.C: strip out redundant #includes. (320 in total.)
1068 2003-09-04 Angus Leeming <leeming@lyx.org>
1070 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1071 here (from getPackages).
1073 * debug.[Ch]: add a new EXTERNAL tag.
1075 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1077 * text2.C (cursorEnd): simplify
1079 (getColumnNearX): adjust
1081 * text.C (computeBidiTables): adjust
1084 * rowpainter.C (paintChars): adjust
1085 (paintSelection): adjust
1086 (paintChangeBar): adjust
1089 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1091 (numberOfSeparators): adjust
1093 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1099 * text3.C: Restricts the mouse click functionality
1100 of insets like bibtex, include, toc and floatlist to the visible
1101 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1102 up the dialogs. Cursor has to be in front of the inset (i.e.
1103 start of row) for this to function.
1105 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1107 * bufferview_funcs.C (currentState): output row information
1109 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1111 * bufferview_funcs.C (currentState): output paragraph position
1113 2003-09-04 Angus Leeming <leeming@lyx.org>
1115 * FloatList.h: move out #include "Floating.h".
1116 * LaTeX.h: move out #include "DepTable.h".
1117 * LyXAction.h: move out #include "funcrequest.h".
1118 * buffer.h: move out #include "author.h", "iterators.h".
1119 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1120 * lyx_main.h: move out #include "errorlist.h".
1121 * lyxfunc.h: move out #include "FuncStatus.h".
1122 * lyxtext: move out #include "lyxcursor.h".
1123 * paragraph_pimpl.h: move out #include "counters.h".
1125 2003-09-03 Angus Leeming <leeming@lyx.org>
1127 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1128 preamble_snippets list, enabling us to add snippets to the preamble
1129 only if the snippet was not there already.
1131 2003-09-04 Angus Leeming <leeming@lyx.org>
1133 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1135 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1137 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1140 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1142 * BranchList.C: point fix, earlier forgotten
1144 2003-09-02 Angus Leeming <leeming@lyx.org>
1146 * box.C (contains): renamed from 'contained' after a fantastic
1149 2003-09-02 John Levon <levon@movementarian.org>
1155 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1157 2003-09-02 John Levon <levon@movementarian.org>
1159 * text2.C: simplification of cursorEnd(), including partial
1162 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1164 * buffer.C (readFile): add a space
1166 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1168 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1170 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * buffer.C (readFile): new function, take a filename and a
1173 ParagraphList::iterator
1175 (readFile): adjust, make it private. don't use setStream, make
1176 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1177 always contain the filename.
1179 * BufferView.C (insertLyXFile): simplify and make it work for
1182 2003-08-30 John Levon <levon@movementarian.org>
1184 * Makefile.am: fix dist (from Kayvan)
1186 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1188 * most files: change to use const Buffer refs
1190 2003-08-27 André Pönitz <poenitz@gmx.net>
1192 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1193 on top of ownerPar().
1195 2003-08-27 John Levon <levon@movementarian.org>
1197 * funcrequest.C: properly initialise POD members
1199 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1201 * lyxtext.h (top_y): move top_y from here
1206 * BufferView_pimpl.[Ch]: to here
1207 * frontends/screen.C:
1208 * insets/insettabular.C:
1209 * insets/insettext.C: adjust
1210 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1212 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1215 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1217 2003-08-26 André Pönitz <poenitz@gmx.net>
1219 * paragraph_func.[Ch] (outerPar): new function
1222 * paragraph_funcs.C:
1223 * paragraph_funcs.h:
1224 * paragraph_pimpl.C:
1225 * text2.C: remove Inset::par_owner
1227 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1232 * text2.C: eliminates the needFullRow/display() stuff
1233 altogether, putting the logic in metrics/draw in the insets.
1235 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1237 * text2.C (redoParagraphInternal, redoParagraphs):
1238 * text.C (redoParagraph): add a call to updateRowPositions at the
1239 end of each 'metrics-like' call. Remove all others.
1240 (getRow): remove the 'y-computing' version.
1241 (getRowNearY): do not compute nor return the real y. Solve the
1242 'y < 0' problem and simplify.
1244 2003-08-22 Angus Leeming <leeming@lyx.org>
1246 * *.[Ch]: clean-up of licence and author blurbs.
1247 Also move config.h out of a few .h files and into a few .C files.
1249 2003-08-22 André Pönitz <poenitz@gmx.net>
1251 * lyxrow.[Ch]: add x_ and *fill_ members
1256 * text2.C: adjust/remove prepareToPrint() calls
1258 2003-08-22 André Pönitz <poenitz@gmx.net>
1260 * lyxrow.[Ch]: add end_ member
1262 * lyxrow_funcs.C: use LyXRow::end_
1264 * lyxtext.h (singleWidth): add LyXFont parameter
1267 * text2.C: adjust LyXText::singleWidth() calls
1269 * text.C (redoParagraph): simplify row breaking logic
1272 2003-08-19 André Pönitz <poenitz@gmx.net>
1274 * funcrequest.C: initialize button_ member
1277 * rowpainter.[Ch]: interface consolidation
1279 2003-08-18 André Pönitz <poenitz@gmx.net>
1282 * BufferView_pimpl.C:
1284 * paragraph_funcs.C:
1286 * text3.C: remove LyXScreen::draw() and fitCursor calls
1288 * BranchList.h: remove spurious semicolons
1290 * MenuBackend.C: fix branchlist related crash
1292 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1300 * bufferparams.[Ch]:
1304 * text3.C: implements the 'branch inset'
1305 idea. This allows the output of various versions of a document
1306 from a single source version, selectively outputing or suppressing
1307 output of parts of the text.
1308 This implementation contains a 'branch list editor' in a separate
1309 tab of the document settings dialog. Branches are user definable
1310 and have a "display colour" to distinguish them on-screen.
1312 ColorHandler was somewhat cleaned up.
1313 (1) make possible a dynamically growing LColor list by allowing
1314 the graphic context cache to grow along (vector);
1315 (2) eliminate an IMHO unnecessary step in colour allocation.
1317 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1319 * BufferView_pimpl.C: compile fix
1321 2003-08-15 André Pönitz <poenitz@gmx.net>
1323 * rowpainter.C: remove extra metrics calls
1325 * lyxtext.h: merge the two constructors into a single one,
1326 pass reference to owner's par list
1328 * BufferView_pimpl.C:
1332 2003-08-15 André Pönitz <poenitz@gmx.net>
1334 * lyxrow_funcs.[Ch]:
1337 * paragraph_funcs.C:
1342 * text_funcs.C: split LyXText::rowlist_ into individual
1343 Paragraph::rows_ chunks
1346 * BufferView_pimpl.[Ch]:
1349 * text3.C: remove toggleSelection()
1351 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1353 * bufferlist.C: beautify two alerts (shorter text of buttons)
1354 * buffer.C: Remove redundant ' ' from message
1356 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1357 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1358 rename VALIGN_CENTER to VALIGN_MIDDLE
1360 2003-08-11 André Pönitz <poenitz@gmx.net>
1362 * lyxtext.h (getPar):
1363 * text.C: new function
1365 2003-08-11 André Pönitz <poenitz@gmx.net>
1368 * tracer.[Ch]: remove unneeded files
1370 * InsetList.[Ch]: remove resizeInsetsLyXText()
1375 * text3.C: merge insertParagraphs() and appendParagraph()
1376 remove breakAgain(), update()
1378 * BufferView_pimpl.[Ch]:
1379 * bufferview_funcs.[Ch]:
1383 * tabular.C: adjust after text & InsetList changes.
1385 2003-08-08 André Pönitz <poenitz@gmx.net>
1387 * text.C (insertChar, backspace): replace rowlist fiddling
1388 with rebreak of full par
1391 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1392 checkParagraph, updateInset): removed
1394 2003-08-07 André Pönitz <poenitz@gmx.net>
1397 * text3.C: merge some LFUN handlers, remove dead code
1399 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1403 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1405 * text2.C (DEPM): fix part of bug 1255 and 1256
1407 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1409 * BufferView_pimpl.C (workAreaDispatch): change to use
1410 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1411 that are no mouse related.
1413 2003-08-05 André Pönitz <poenitz@gmx.net>
1416 * BufferView_pimpl.[Ch]:
1417 * bufferview_funcs.C:
1419 * text3.C: rip out "deep update"
1421 * textcursor.[Ch] (last_sel_cursor): remove unused member
1423 2003-08-04 André Pönitz <poenitz@gmx.net>
1426 * BufferView_pimpl.[Ch]:
1427 * ParagraphParameters.C:
1428 * bufferview_funcs.C:
1434 * text3.C: replace "complicated" BufferView::update(...) calls with
1437 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1439 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1441 * Makefile.am (lyx_SOURCES): add paper.h
1443 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1445 * Makefile.am: move things around so that both lyx-qt and
1446 lyx-xforms can be built (according to --with-frontend). Then lyx
1447 is a symbolic link to lyx-[firstfrontend]
1449 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1451 * Always use std::endl with lyxerr
1453 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1455 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1457 2003-08-01 André Pönitz <poenitz@gmx.net>
1460 * BufferView_pimpl.[Ch]:
1462 * text3.C: merge BufferView::repaint() and BufferView::update()
1464 2003-08-01 José Matos <jamatos@lyx.org>
1466 * buffer.[Ch]: file_format is no longer a buffer data element.
1468 2003-08-01 André Pönitz <poenitz@gmx.net>
1473 * text2.C: make redoParagraph more independent of current cursor
1475 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1477 * text2.C: remove unneeded members
1479 2003-07-30 André Pönitz <poenitz@gmx.net>
1481 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1483 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1484 create a single function...
1486 * paragraph_funcs.C (moveItem): ... here.
1489 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1491 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1493 * LColor.[Ch]: Add comment and greyedout logical colors.
1495 2003-07-30 André Pönitz <poenitz@gmx.net>
1497 * tabular.C: don't use Assert too heavily. This crashes where it
1500 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1502 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1503 is disabled (bug 1232)
1505 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1507 * factory.C: limited 'arg' scope
1509 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1511 * factory.C: fixed Note submenu issues
1513 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1515 * factory.C: submenu for Note/Comment/Greyedout
1517 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1520 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1522 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1525 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1526 greyedout. Patch provided by Jürgen Spitzmüller.
1528 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1530 * kbmap.C (read): fix error message when reading bind files
1532 2003-07-29 Angus Leeming <leeming@lyx.org>
1534 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1535 certainly does not do what it purports to do. I am doing it, and
1536 us, a favour by killing it.
1538 2003-07-28 José Matos <jamatos@lyx.org>
1540 * buffer.C (readBody, do_writeFile):
1541 * paragraph.C(readParagraph): \end_document replaces \the_end.
1543 2003-07-29 André Pönitz <poenitz@gmx.net>
1546 * BufferView_pimpl.[Ch]:
1550 * textcursor.[Ch]: remove toggleToggle & Co
1552 2003-07-28 José Matos <jamatos@fep.up.pt>
1554 * buffer.C (readParagraph):
1555 * params_func (readParToken, readParagraph):
1556 * paragraph.C (write): \layout -> \begin_layout.
1558 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * lyxlex_pimpl.C (setFile): clean up slightly.
1562 * bufferparams.h: add compressed var
1564 * buffer_funcs.C (readFile): adjust for LyXLex change
1565 (newFile): ditto + simplify
1567 * buffer.C (writeFile): handle writing of compressed files
1569 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1570 Check if the file is compressed and set a bufferparm if so.
1572 * Makefile.am (lyx_LDADD): remove explicit -lz
1574 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1576 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1577 makeDocBookFile): put the real LyX version in the first line of
1581 * version.C.in: remove lyx_docversion
1583 * tabular.C (write_attribute): add a template-based version to
1584 write enums properly
1586 2003-07-28 André Pönitz <poenitz@gmx.net>
1591 * text3.C: use doubles again for x-coordinates. They are needed.
1593 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1595 * messages.C (getLocaleDir): use lyx_localedir()
1597 * lyxlex_pimpl.C (setFile): compress stuff
1599 * buffer.C (writeFile): add some compression stuff
1600 (do_writeFile): new func, dont call expliti close... will this
1603 * Makefile.am (lyx_LDADD): add -lz
1605 2003-07-28 José Matos <jamatos@fep.up.pt>
1607 * buffer.C: increment file format.
1608 * paragraph_funcs (readParagraph, readParToken):
1609 * paragraph.C (readParagraph): add \end_layout.
1611 2003-07-27 Angus Leeming <leeming@lyx.org>
1613 * Makefile.am: remove special casing for configure-time setting of
1614 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1616 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1617 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1619 2003-07-26 André Pönitz <poenitz@gmx.net>
1621 * paragraph_func.[Ch]:
1622 * paragraph.C (realizeFont): inline it whereever it is used
1627 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1630 2003-07-26 André Pönitz <poenitz@gmx.net>
1634 * text2.C: get rid of LyXText::need_break_row
1636 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * toc.[Ch]: put namespace toc inside namespace lyx
1640 * MenuBackend.C (expandToc2): adjust for lyx::toc
1643 * lyxfunc.C (dispatch): adjust for lyx::find
1645 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1646 lyx::find instead. Reorganize a bit.
1647 (LyXReplace): rename to replace
1648 (LyXFind): rename to find
1650 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1653 2003-07-26 André Pönitz <poenitz@gmx.net>
1655 * text.C (setHeightOfRow): restrict scope of temporary variable
1657 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1658 code (never has been used?)
1660 2003-07-27 Asger Alstrup <alstrup@local>
1662 * text.C (fill): Optimise algorithm to exploit that we can reuse
1663 the LyXFont for many characters.
1664 (setHeightOfRow): Same thing.
1665 (rowBreakPoint): Same thing.
1667 2003-07-26 Asger Alstrup <alstrup@local>
1669 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1671 * text.C (singleWidth): Spurious font copying in hot-spot
1672 singleWidth avoided. Reorder tests for arabic for efficiency.
1674 * text.C (fill): handle empty paragraphs better.
1676 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1679 * encoding.h: add includes
1681 * lyxrc.C: remove reading of bind files
1683 * lyx_main.C (init): setup bindings and menus only if we have a
1686 * kbmap.C (read): new method. Do the actual reading of bind
1689 * converter.C (dvipdfm_options):
1692 (output): adapt PAPER_* enums.
1694 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1696 * bufferparams.h: remove paper-related enums from there
1698 * paper.h: New file. A trivial header file to hold paper-related
1699 enums. It should later expand to contain many paper-related
1702 * lyxrc.C: declare extern displayTranslator
1704 2003-07-27 José Matos <jamatos@fep.up.pt>
1706 * tabular.[Ch] (linuxdoc): add support for tables and figures
1709 2003-07-27 José Matos <jamatos@fep.up.pt>
1711 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1712 consistency in both functions.
1713 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1715 2003-07-26 Asger Alstrup <alstrup@local>
1717 * rowpainter.C (paintRows): Change algorithm to work directly on
1718 the insets rather than asking every character in the document
1719 whether its an inset.
1721 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1723 * buffer.C (openFileWrite): factorize some code
1725 2003-07-26 Angus Leeming <leeming@lyx.org>
1728 * lyx_main.[Ch]: replace occurances of system_tempdir with
1731 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * rename Inset to InsetOld
1735 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1737 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1738 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1739 which I think is a bit clearer. EDIT is gone, since it was
1740 premature optimisation, and broken for mathed anyway.
1741 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1742 with cursor positioning in insets as well (math insets still do not
1743 work, but that's a different story anyway.) It mysteriously
1744 crashes sometimes with undo in the first paragraph, but I'm fairly
1745 confident that this is a compiler bug.
1747 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1749 * paragraph.C (Paragraph): adjust for new clone return type
1751 (copyIntoMinibuffer): ditto
1753 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1755 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1756 by not having a special case, and always doing a full rebreak of
1757 the document after undo.
1759 2003-07-23 Angus Leeming <leeming@lyx.org>
1761 * factory.C (createInset): InsetExternal::setParams now takes a
1764 2003-07-23 Angus Leeming <leeming@lyx.org>
1766 * factory.C (createInset): changed interface to the external and
1767 graphics mailers' string2params functions.
1769 2003-07-23 Angus Leeming <leeming@lyx.org>
1771 * factory.C (createInset): pass a
1772 Buffer const * parameter to InsetExternalMailer's string2params.
1774 2003-07-22 John Levon <levon@movementarian.org>
1776 * Thesaurus.h: include the right aiksaurus header
1778 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * MenuBackend.C (expand): check menu shortcuts unconditionally
1782 2003-07-21 Angus Leeming <leeming@lyx.org>
1784 * factory.C (createInset): pass a
1785 buffer_path parameter to InsetGraphicsMailer's string2params.
1787 2003-07-21 Angus Leeming <leeming@lyx.org>
1789 * BufferView_pimpl.C (buffer):
1792 * lyxfunc.C (dispatch):
1793 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1794 rather than the grfx shortcut.
1796 2003-07-21 André Pönitz <poenitz@gmx.net>
1798 * rowpainter.C: remove unused variables
1801 * tabular_funcs.h: move to tabular.C
1802 * Makefile.am: adjust
1804 * tabular.[Ch]: basic optical cleaning
1806 * author.h: pass references, not values
1808 2003-07-18 André Pönitz <poenitz@gmx.net>
1816 * text3.C: two-phase drawing for InsetText and InsetTabular
1817 some float -> int changes.
1819 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1821 * lyx_main.C: fix the fix
1823 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1825 * lyx_main.C: fix a crash in batch mode if no files specified
1828 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1830 * format.[Ch] (papersize): moved to BufferParams
1831 * converter.[Ch] (dvips_options): moved to BufferParams
1832 (dvipdfm_options): moved to anon namespace
1833 * bufferparams.[Ch]: added above functions.
1835 2003-07-17 André Pönitz <poenitz@gmx.net>
1839 * text2.C: don't call inset->update() anymore
1841 * metricsinfo.[Ch]: add convenience constructor
1843 2003-07-16 André Pönitz <poenitz@gmx.net>
1848 * text2.C: replace the LyXCursor::irow_ member with
1849 on-demand computation of the value
1851 2003-07-16 John Levon <levon@movementarian.org>
1853 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1855 2003-07-15 André Pönitz <poenitz@gmx.net>
1858 * text2.C: remove no more needed refresh_row
1860 2003-07-15 André Pönitz <poenitz@gmx.net>
1865 * text3.C: refresh_status tristate -> need_update bool
1867 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1869 * lyxtext.h (init): remove reinit argument (act as if always true)
1870 * text2.C: adjust to that
1872 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1874 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1875 * text3.C: use it to delete selections in some cases
1876 (bugs 441, 673, 702, 954).
1878 2003-07-14 André Pönitz <poenitz@gmx.net>
1880 * rowpainter.[Ch]: reduce interface
1882 2003-07-14 André Pönitz <poenitz@gmx.net>
1884 * BufferView_pimpl.C:
1885 * text2.C: adjust after removing unused BufferView * argument
1887 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1889 * text2.C (init): fix a crash fired on resize
1891 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1893 * buffer.[Ch]: added new closing signal
1894 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1895 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1896 BufferView::Pimpl via the closing the signal
1898 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1900 * buffer.[Ch]: take out all bv-related from buffer
1902 * BufferView_pimpl.[Ch]: connect to new signals
1903 * CutAndPaste.C: removed useless asserts
1904 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1907 * lyxfunc.C: moved view-related funciontality from vc here
1908 * paragraph.C: removed outdated comments
1911 2003-07-10 André Pönitz <poenitz@gmx.net>
1913 * BufferView_pimpl.C:
1917 * text2.C: remove InsetText::InnerCache, clean up consequences
1919 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1921 * ispell.C: fix two typos in error messages
1923 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1925 * Extend Note inset to other forms of annotation like Comment
1926 and Greyedout. Right button click gives dialog.
1928 Files modified or added (+):
1932 * ControlNote.[Ch] +
1934 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1935 frontends/controllers
1939 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1941 * aspell.C: add missing namespace lyx::support
1943 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1945 * BufferView.[Ch] (newFile): Add
1946 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1947 * LaTeX.[Ch] (message): added this signal and use it
1948 * buffer.[Ch] (busy, message): added these signals and use them
1949 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1953 * importer.C: use buffer signals instead of direct bv calling
1954 * lyx_cb.[Ch] (ShowMessage): removed
1957 * paragraph_funcs.C:
1958 * text2.C: use buffer signals
1960 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1962 * introduce namespace lyx::graphics
1964 2003-07-02 André Pönitz <poenitz@gmx.net>
1966 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1968 2003-07-01 André Pönitz <poenitz@gmx.net>
1975 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1976 text*.C to text_func.C
1978 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * introduce namespace lyx::support
1982 2003-06-30 André Pönitz <poenitz@gmx.net>
1987 * text.C: re-enable --with-included-string
1989 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1991 * textcursor.C: add <config.h>
1993 * text.C (getWord): remove const from word_location arg
1995 * lyxvc.C (getLogFile): fix const type order
1997 * lyxtext.h: remove const from word_location arg, add arg name
1999 * lyxlayout.h: currect type on labeltype.
2001 * importer.C: correct \file
2003 * converter.C (intToFormat): use std:: on ret val, ws changes
2005 * bufferlist.h: correct \file
2007 * buffer.C (makeLinuxDocFile): fix const type order
2008 (makeDocBookFile): ditto
2009 (fillWithBibKeys): use std:: on stdlib args.
2011 * CutAndPaste.C: fix authors.
2012 (availableSelections): use std:: on return vector
2014 2003-06-27 André Pönitz <poenitz@gmx.net>
2016 * BufferView_pimpl.C:
2017 * bufferview_funcs.C:
2025 * text3.C: remove LyXCursor::row_ member
2028 * text.C: rename fullRebreak() to partialRebreak() and implement
2029 a fullRebreak() that really bereks fully
2031 * textcursor.h: new struct for cursor-related data
2033 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2035 * lyx_main.C (LyX): get full path of document loaded on the
2038 2003-06-26 André Pönitz <poenitz@gmx.net>
2040 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2041 remove unused/broken operator>,<,>=.
2043 * text.C: remove only use of broken operator<= in an Assert().
2045 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2047 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2048 moved errorlist_.clear to showErrorList
2050 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2052 * converter.C (scanLog, runLaTeX):
2053 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2054 move the bv->showErrorList call to the callers
2055 * lyxfunc.C: i.e. here...
2057 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2058 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2059 namespace, the second to...
2060 * buffer_funcs (BufferFormat, parseErrors): added
2061 * errorlist.C (ErrorList(TeXErrors const &)): removed
2063 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2067 2003-06-24 "Garst R. Reese" <reese@isn.net>
2071 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2073 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2075 * version.C.in: change docversion to 1.4
2077 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2079 * buffer.C: fix a bug just introduced
2081 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2083 * buffer.[Ch]: added the parseError signal and use it, removed
2085 * BufferView.[Ch] (addError): moved to ...
2086 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2087 to the Buffer::parseError signal to catch (guess what) parse errors
2088 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2090 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2092 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2093 ability to create a buffer and to return an existing one from
2094 the list. Moved these functions to...
2095 * buffer_funcs.[Ch]: added
2096 * BufferView.[Ch] (loadLyXFile): added
2097 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2098 job removed from bufferlist::loadLyXFile.
2099 * buffer.C (setReadOnly): make it work without view
2100 (i.e added an if (users))
2102 2003-06-19 Angus Leeming <leeming@lyx.org>
2105 * LyXAction.C (init):
2106 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2107 with LFUN_DIALOG_SHOW <name> <data>.
2109 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * CutAndPaste.C (availableSelections): small compilation fix for
2112 ancient (gcc 2.9x) compilers
2114 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2116 * text3.C (cursorNext): add tmp var
2118 * text2.C (updateCounters): for function calling out of for clause
2119 (replaceSelectionWithString): ditto
2120 (insertStringAsParagraphs): ditto
2121 (getColumnNearX): add tmp var
2122 (setCursorFromCoordinates): add tmp var
2123 (cursorDownParagraph): add tmp var
2124 (deleteEmptyParagraphMechanism): add tmp var
2126 * text.C (insertChar): add tmp var
2128 * rowpainter.C (paintDepthBar): add tmp var
2130 * CutAndPaste.C (availableSelections): potentially check all
2131 paragraphs in a cut to fill the shown strings.
2133 2003-06-18 André Pönitz <poenitz@gmx.net>
2135 * kbmap.[Ch]: use vector<> instead of list<>
2137 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2139 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2140 pasteSelection with index
2142 * text2.C (pasteSelection): modify, call pasteSelection with index
2144 * paragraph.C (asString): reimplement version with no interval to
2145 call the one with interval.
2147 * lyxtext.h: add index arg to pasteSelection
2149 * MenuBackend.C (MenuItem): handle PasteRecent
2150 (Menu::read::Menutags): add md_pasterecent
2152 (expandPasteRecent): new function
2155 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2157 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2159 (availableSelections): new function
2161 2003-06-17 Angus Leeming <leeming@lyx.org>
2163 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2165 2003-06-17 Angus Leeming <leeming@lyx.org>
2168 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2170 * lyxfunc.C (dispatch): invoke it.
2172 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2174 * iterators.C (operator++, ParPosition): reintroduce some
2175 const_cast for the benefit of older compilers.
2177 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2179 * text3.C (dispatch): do not modify clipboard when doing
2180 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2181 LFUN_DELETE_SKIP on a selection selection
2183 2003-06-16 André Pönitz <poenitz@gmx.net>
2189 * tabular.[Ch]: IU of clone() and getLabelList();
2191 2003-06-13 André Pönitz <poenitz@gmx.net>
2193 * tabular.h: compactification
2195 2003-06-12 André Pönitz <poenitz@gmx.net>
2199 * tabular_funcs.h: some renaming plus whitespace
2201 2003-06-12 André Pönitz <poenitz@gmx.net>
2204 * BufferView_pimpl.C:
2210 * toc.C: Return a Paragraph & for ParIterator::operator*()
2212 2003-06-11 John Levon <levon@movementarian.org>
2216 * ToolbarBackend.C: add "Toolbars" section and
2219 2003-06-10 Angus Leeming <leeming@lyx.org>
2222 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2224 * lyxfunc.C (dispatch): invoke it.
2226 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * main.C: protect <ios> with HAVE_IOS
2229 (main): protect sync_with_stdio with HAVE_IOS
2231 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2233 * text2.C (cutSelection): adjust
2234 (pasteSelection): adjust
2236 * messages.C: handle get of empty string
2238 * main.C (main): use sync_with_stdio(false)
2240 * lyxfunc.C (dispatch): adjust
2242 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2243 (WriteAs): remove unneeded BufferView arg.
2245 * bufferparams.h: use correct types on papersize, papersize2 and
2248 * bufferparams.C (readToken): adjust for type
2249 (writeLaTeX): add missing cases to switch.
2251 * bufferlist.C (quitWriteBuffer): adjust
2254 * buffer.C (asciiParagraph): remove some commented code.
2256 * CutAndPaste.C: remove current_view extern variable.
2257 (cutSelection): add BufferParams arg.
2258 (eraseSelection): add BufferParams arg.
2259 (pasteSelection): add Buffer const & arg
2261 2003-06-07 John Levon <levon@movementarian.org>
2264 * paragraph_funcs.C:
2265 * paragraph_pimpl.C:
2269 * paragraph.C: allow InsetERT to freely space lines,
2270 and some consolidation of code
2272 2003-06-06 José Matos <jamatos@fep.up.pt>
2274 * buffer.C (makeDocBookFile): fix bug #821
2276 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2278 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2280 2003-06-04 Angus Leeming <leeming@lyx.org>
2282 * buffer.C: bump format to 224.
2284 2003-06-05 André Pönitz <poenitz@gmx.net>
2286 * text2.C (redoParagraphs): remove two const_cast<>
2288 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2290 * ParagraphList.h: remove last remnants of NO_STD_LIST
2292 2003-06-03 Angus Leeming <leeming@lyx.org>
2294 * factory.C (createInset): small change to the way InsetExternal's params
2297 2003-06-04 André Pönitz <poenitz@gmx.net>
2299 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2301 * paragraph_pimpl.h:
2302 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2304 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2306 * undo_funcs.C: make some simple cases of undo work again
2308 2003-06-03 John Levon <levon@movementarian.org>
2310 * ispell.C: HPUX doesn't have sys/select.h
2313 2003-06-03 John Levon <levon@movementarian.org>
2315 * CutAndPaste.C: update tabular and include inset
2320 * paragraph.C: remove owningBuffer(), don't pass Buffer
2323 * factory.C: insetGraphicsParams changed
2325 2003-06-02 John Levon <levon@movementarian.org>
2331 * text3.C: remove insetparent
2333 2003-06-02 John Levon <levon@movementarian.org>
2336 * buffer.C: fix inset_iterator.end(), move out of line
2339 2003-06-01 John Levon <levon@movementarian.org>
2341 * text3.C: use a proper cut/paste when doing inset
2342 insert (from Jürgen Spitzmüller)
2344 2003-06-01 John Levon <levon@movementarian.org>
2346 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2348 2003-05-30 André Pönitz <poenitz@gmx.net>
2350 * rowpainter.C: unify second drawing phase
2352 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * trans_mgr.C: remove one case of current_view
2356 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2358 * paragraph_funcs.h: remove paragraph.h include
2360 * paragraph.h: delete NO_STD_LIST stuff
2362 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2364 * buffer.h: remove paragraph.h include
2366 * ParagraphList.C: delete file
2368 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2370 * toc.C (getTocList): adjust
2372 * paragraph_pimpl.C (validate): adjust
2374 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2376 * paragraph.C (Paragraph): adjust
2377 (getPositionOfInset): use const_iterator, adjust
2378 (bibitem): use const_iterator, adjust
2379 (setInsetOwner): adjust
2381 * iterators.C (operator++): adjust
2383 * InsetList.[Ch]: Replace selfmade iterator with standard
2384 vector::iterator also introduce const_iterator. Remove getPos,
2385 getInset and setInset from InsetTable. Adjust accordingly.
2387 * BufferView.C (lockInset): adjust
2388 (ChangeInsets): adjust
2390 * tabular.[Ch]: delete commented same_id functions
2392 2003-05-28 John Levon <levon@movementarian.org>
2394 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2396 2003-05-28 André Pönitz <poenitz@gmx.net>
2398 * metricsinfo.[Ch]: remove 'fullredraw' member
2400 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2402 * lyxtextclass.C (operator): remove caching.
2404 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * text2.C (cursorBottom): adjust
2409 (setCounter): use ParagraphList::find, adjust
2411 * text.C (workWidth): use ParagraphList::find, adjust
2413 * lyxcursor.C (LyXCursor): adjust
2415 * buffer.C (inset_iterator): adjust
2417 * ParagraphList.h: make iterator(value_type) private, make
2418 ParagraphList a friend of iterator.
2420 * ParagraphList.C (find): new function
2422 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2424 2003-05-27 André Pönitz <poenitz@gmx.net>
2426 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2428 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2430 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2432 2003-05-26 John Levon <levon@movementarian.org>
2434 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2436 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * remove same_id from function signatures, adjust.
2440 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2444 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2446 * paragraph.C (Paragraph): get rid of same_ids parameter
2448 * ParagraphList.C (insert): adjust
2451 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2453 * paragraph_funcs.C (breakParagraph): adjust
2454 (breakParagraphConservative): adjust
2456 * buffer.C (readParagraph): adjust
2458 * ParagraphList.C (insert): take a reference instead of a pointer
2461 * paragraph.[Ch] (id): new function
2463 * bufferlist.C (newFile): adjust
2465 * ParagraphList.C (ParagraphList): adjust
2467 (push_back): take a reference instead of a pointer.
2469 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2471 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2474 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2475 set else use old code.
2477 * ParagraphList.C: remove all NO_NEXT code and only compile this
2478 code of NO_STD_LIST is set.
2480 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2482 * BufferView_pimpl.C:
2492 * graphics/GraphicsConverter.C:
2493 * graphics/PreviewLoader.C: header adjustment
2495 2003-05-23 Angus Leeming <leeming@lyx.org>
2497 * LaTeXFeatures.[Ch] (useBabel): new method.
2498 * bufferparams.C (writeLaTeX): use it.
2500 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * ParagraphList.h (set): remove unused function.
2504 2003-05-23 André Pönitz <poenitz@gmx.net>
2507 * BufferView_pimpl.C:
2511 * undo_funcs.C: setUndo reworked
2513 * iterators.[Ch]: add access to topmost ParagraphList
2515 * lyxtext.[Ch] (workWidth): add a const
2517 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2519 * texrow.[Ch] (increasePos): remove function
2520 * exporter.C (export): removed unused var and outdated comment
2522 2003-05-23 Angus Leeming <leeming@lyx.org>
2524 * latexrunparams.h: rename fragile as moving_arg.
2525 * paragraph.C (simpleTeXOnePar): ditto.
2526 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2528 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2532 (textUndoOrRedo): comment out a currently unused var.
2534 * paragraph.h (NO_NEXT): enable NO_NEXT
2536 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2538 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2540 * exporter.C (Export): adjust for removeAutoInsets removal.
2542 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2544 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2546 * BufferView.[Ch] (removeAutoInsets): delete function
2548 2003-05-22 Angus Leeming <leeming@lyx.org>
2550 * latexrunparams.h: add a free_spacing variable.
2552 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2553 to pass moving_arg, as the data is stored in runparams.fragile.
2555 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2556 to Inset::latexOptional or to simpleTeXOnePar.
2558 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2559 free_spacing arg to Inset::latexOptional.
2561 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2564 2003-05-22 Angus Leeming <leeming@lyx.org>
2566 * latexrunparams.h: add fragile and use_babel variables.
2568 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2569 * buffer.C (makeLaTeXFile): store this returned value in
2570 runparams.use_babel, thus passing it to the inset::latex methods.
2572 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2573 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2575 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2576 longer has a fragile arg, as it is stored in runparams.fragile.
2578 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2579 moving_arg parameter as the data is stored in runparams.fragile.
2581 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2582 a fragile parameter as the data is stored in runparams.fragile.
2584 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2588 2003-05-22 Angus Leeming <leeming@lyx.org>
2590 * latexrunparams.h: add a 'bool nice' which defaults to false.
2592 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2593 now encapsulated within runparams.
2595 * bufferlist.C (updateIncludedTeXfiles):
2596 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2598 2003-05-22 Angus Leeming <leeming@lyx.org>
2600 * latexrunparams.h: new file containing struct LatexRunParams.
2601 * Makefile.am: add new file.
2603 * LaTeX.[Ch] (c-tor, run):
2604 * buffer.[Ch] (makeLaTeXFile):
2605 * bufferlist.[Ch] (updateIncludedTeXfiles):
2606 * converter.C (convert, scanLog):
2607 * converter.[Ch] (runLaTeX):
2608 * exporter.C (Export):
2609 * paragraph.[Ch] (simpleTeXOnePar):
2610 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2611 * paragraph_funcs.[Ch] (latexParagraphs):
2612 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2613 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2614 pass around a LatexRunParams parameter.
2616 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * paragraph.[Ch]: remove unused constructor
2620 * ParagraphList.C (erase): new function, taking two iterators
2622 2003-05-22 André Pönitz <poenitz@gmx.net>
2624 * undo_funcs.C: remove duplicated code
2626 * iterator.[Ch]: operator=
2628 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2630 * tabular.C (SetMultiColumn): ws changes
2632 * rowpainter.C (paintFirst): get rid of a ->previous
2634 * lyx_cb.C (getPossibleLabel): parlist simplification
2636 * BufferView.C (ChangeInsets): simplify slightly.
2638 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2640 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2641 * lfuns.h: new LFUN_SPACE
2642 * lyxfunc.C: protected space has a new lfun
2643 * paragraph_funcs.C: read new space insets
2645 * factory.C: handle new space insets
2647 2003-05-22 André Pönitz <poenitz@gmx.net>
2650 * BufferView_pimpl.C:
2653 * undo_funcs.C: return a ParIterator from getParFromID.
2655 * iterators.[Ch]: add two const's
2657 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * toc.C (getTocList): adjust
2661 * iterators.[Ch]: rework for parlist
2663 * buffer.C (par_iterator_begin): adjust
2664 (par_iterator_end): adjust
2666 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2668 * BufferView.C (removeAutoInsets): adjust
2669 (ChangeInsets): adjust
2671 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2673 * text.C (top_y): fix bug 1110
2675 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2677 * errorlist.[Ch]: added
2680 * BufferView_pimpl.C:
2681 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2684 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * Makefile.am: ensure that lyx is relinked upon changes to the
2687 various "convenience" libs.
2689 2003-05-20 Angus Leeming <leeming@lyx.org>
2691 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2692 files are compiled in alphabetical order again.
2694 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2696 2003-05-19 Angus Leeming <leeming@lyx.org>
2698 * gettext.[Ch]: remove "char const * _(char const *)".
2700 2003-05-19 André Pönitz <poenitz@gmx.net>
2702 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2711 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2713 2003-05-19 André Pönitz <poenitz@gmx.net>
2717 * lyxtextclass.[Ch]:
2719 * paragraph_funcs.[Ch]:
2721 * text3.C: more insetenv work
2723 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2725 * ParagraphParameters.C (params2string): small bug fixed
2727 2003-05-16 André Pönitz <poenitz@gmx.net>
2730 * bufferview_funcs.C: patch from Kornel Benko to prevent
2731 crash when _(...) is called twice in a statement
2733 2003-05-16 André Pönitz <poenitz@gmx.net>
2740 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2742 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2744 * lyx_main.C (init): remove spurious static_cast
2746 2003-05-14 André Pönitz <poenitz@gmx.net>
2748 * BufferView.C: fix format string
2750 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2752 * BufferView.[Ch] (insertErrors): removed
2753 * BufferView.[Ch] (showErrorList): added
2754 * buffer.C (runChkTeX):
2755 * converter.C (scanLog): call showErrorList instead of inserterrors
2757 2003-05-13 André Pönitz <poenitz@gmx.net>
2759 * BufferView_pimpl.C:
2761 * bufferview_func.C:
2768 * tabular_funcs.h: tostr() from its own header
2770 * ParagraphParameters.C:
2775 * text3.C: STRCONV()
2777 2003-05-12 André Pönitz <poenitz@gmx.net>
2780 * BufferView_pimpl.C:
2784 * ParagraphParameters.C:
2788 * bufferview_funcs.C:
2801 * paragraph_funcs.C:
2805 * text3.C: boost::format -> bformat all over the place
2808 2003-05-09 André Pönitz <poenitz@gmx.net>
2810 * LColor.[Ch]: Pimpl the #include <map> away
2812 2003-05-09 John Levon <levon@movementarian.org>
2814 * bufferlist.C: never remove emergency saves
2816 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * Makefile.am: better lib building
2820 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2824 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2825 (simpleTeXSpecialChars): adjust
2826 (simpleTeXSpecialChars): adjust
2827 * paragraph.C (simpleTeXOnePar): adjust
2828 * buffer.C (makeLaTeXFile): adjust
2830 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2832 * text2.C (changeDepth): parlist cleanup
2833 (getColumnNearX): ditto
2835 * rowpainter.C (getLabelFont): parlist cleanup
2837 * bufferlist.C (newFile): parlist cleanup
2839 * CutAndPaste.C (eraseSelection): parlist cleanup
2841 * BufferView_pimpl.C (trackChanges): parlist cleanup
2844 * BufferView.C (lockInset): parlist cleanup.
2845 (ChangeInsets): ditto
2847 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * CutAndPaste.h: Update file header.
2851 * CutAndPaste.C: Update file header.
2852 Store the parts cut out of the Document in a limited_stack.
2853 (copySelection): adjust
2854 (pasteSelection): new function, takes the index in the limited stack.
2855 (nrOfParagraphs): adjust
2856 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2857 simplify error inset insertion.
2858 (checkPastePossible): adjust
2860 2003-05-06 John Levon <levon@movementarian.org>
2862 * text2.C: don't cast wrap inset to float
2864 2003-05-05 André Pönitz <poenitz@gmx.net>
2867 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2869 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2870 few naked Paragraph *.
2872 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2874 * bufferparams.C: Output warning if a document with missing
2875 TeX document class is loaded
2876 * exporter.C: Disable TeX exports if the document class is missing
2879 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2880 isTeXClassAvailable()
2882 2003-05-03 John Levon <levon@movementarian.org>
2885 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2886 explicit cursor show/hide
2888 * BufferView_pimpl.h:
2889 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2890 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2892 * lyxfunc.C: hide cursor before dispatching.
2897 * text3.C: remove explicit cursor hides
2899 2003-05-02 André Pönitz <poenitz@gmx.net>
2901 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2904 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2907 * text2.C: tiny whitespace
2909 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * undo_funcs.C: almost only ws changes.
2913 * ParagraphList.C (splice): just return if pl is empty.
2915 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * ParagraphList.C (splice): new function.
2919 * CutAndPaste.C (pasteSelection): use it
2921 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * CutAndPaste.C (pasteSelection): remove the last next and
2924 previous from this file.
2926 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * CutAndPaste.C (pasteSelection): more clean up, user proper
2929 ParagraphList functions for pasteing.
2931 * ParagraphList.C (insert): new function, three arg insert
2933 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * ParagraphList.C (insert): new function, three arg insert
2937 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2940 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2942 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2944 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2948 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2950 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2951 (copySelection): clean up a bit.
2952 (pasteSelection): use make_pair
2954 * ParagraphList.C (ParagraphList): implement copy constructor
2955 (operator=): implement, base on copy constructor.
2958 * paragraph.C (erase): return a bool
2960 * paragraph_pimpl.C (erasePos): remove function, move contents...
2961 (erase): ... here. Return a bool.
2962 (erase): call erase instead of erasePos.
2964 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2966 * ParagraphList.h: define PitPosPair
2967 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2968 ParagraphList, fix a bug on pasting multiple pars
2969 * text2.C: change interface to C&P
2971 2003-04-30 André Pönitz <poenitz@gmx.net>
2973 * undo_func.C: revert part of yesterday's patch 2
2975 2003-04-30 John Levon <levon@movementarian.org>
2977 * LColor.C: s/tabular/table/
2979 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2981 * text3.C (dispatch): do not convert iterator -> pointer
2982 * undo_funcs.C (setCursorParUndo): ditto
2983 * text_funcs.C (transposeChars): ditto
2985 * text2.C (setLayout): ws changes only
2987 * text.C (breakParagraph): do not convert iterator -> pointer
2989 (acceptChange): ditto
2990 (rejectChange): ditto
2995 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2998 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3000 * text3.C (gotoInset): YABG (yet another bad getChar)
3002 2003-04-29 André Pönitz <poenitz@gmx.net>
3004 * paragraph.h: make operator= private unimplemented as long as
3007 * ParagraphList.C: whitespace
3010 * paragraph_pimpl.[Ch]:
3011 * paragraph_funcs.C:
3013 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3016 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3018 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3020 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3021 * paragraph.[Ch] (erase):
3022 * paragraph_pimpl.[Ch] (erase): change return type and value
3023 * text2.C (cutSelection): some rework
3025 2003-04-28 John Levon <levon@movementarian.org>
3027 * bufferlist.C: changes for unsaved changes dialog
3029 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * bufferlist.C (newFile): set language (messages_) for new
3034 * buffer.C (readFile): ws changes only.
3036 2003-04-28 André Pönitz <poenitz@gmx.net>
3041 * BufferView_pimpl.C:
3042 * BufferView.C: getParFromID related ParagraphList::iterator changes
3044 2003-04-28 André Pönitz <poenitz@gmx.net>
3046 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3049 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * messages.C: remove one more localedir class variable.
3053 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * messages.C (getLocaleDir): singleton generation function
3057 (Messages): add a default constructor.
3059 * main.C (main): do not setup localedir here, do not call
3062 * gettext.C (_): use it.
3063 (gettext_init): delete funciton
3065 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3067 * gettext.C (getLyXMessages): new singleton generating function.
3069 * buffer.C (updateDocLang): adjust
3071 * Makefile.am (messages.o): add target
3072 (main.o): remove target
3074 2003-04-27 John Levon <levon@movementarian.org>
3079 * lyxvc.C: specify cancel button in Alert::prompt
3081 2003-04-26 John Levon <levon@movementarian.org>
3086 * LyXAction.C: add LFUN_INSET_SETTINGS
3088 * lyxfunc.C: don't enable tabular-feature when there's
3089 just any locking inset
3091 2003-04-26 John Levon <levon@movementarian.org>
3093 * bufferlist.C: re-add Cancel to buffer close question
3095 * lyxfunc.C: fix import UI a bit
3097 2003-04-25 John Levon <levon@movementarian.org>
3099 * gettext.C: remove the broken asserts for now
3101 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * messages.C: make case where setlocale cannot comply work better.
3105 * buffer.C (updateDocLang): new function
3106 (changeLanguage): use it
3109 * text2.C (setCounter): use B_ a bit.
3111 * lyxlayout.C (Read): be sure to trim the label strings.
3113 * messages.C (Messages): fix typo in comment
3115 * buffer.C (readFile): set message_ after file is loaded.
3116 (makeDocBookFile): remove double return
3117 (changeLanguage): reset message_ upon language change.
3118 (B_): new func, use this to get translated buffer strings.
3120 * main.C: add myself and Jean Marc as authors.
3122 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * messages.[hC]: pimplify Messages, and three different pimpls to be
3125 used in different circumstances.
3127 * gettext.[Ch]: change for use with new message code.
3129 2003-04-24 André Pönitz <poenitz@gmx.net>
3131 * factory.C: support for eqref
3133 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * messages.[Ch]: add missing char
3137 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3139 * messages.[Ch]: New files
3141 2003-04-18 John Levon <levon@movementarian.org>
3145 * BufferView_pimpl.C:
3149 * text2.C: remove layout-copy/paste (bug 778)
3151 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3153 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3155 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3157 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3158 if they succeed. Act accordingly.
3160 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * text2.C (setCharFont): adjust
3163 (setCounter): adjust
3164 (insertStringAsLines): adjust
3166 * text.C (leftMargin): adjust
3167 (setHeightOfRow): adjust
3169 * rowpainter.C (paintFirst): adjust
3172 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3174 (isFirstInSequence): ditto
3175 (getEndLabel): ditto
3178 * paragraph.C (getParLanguage): comment out some hard stuff.
3180 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3182 (simpleDocBookOnePar): ditto
3183 (makeDocBookFile): use ParagraphList::iterator
3185 * CutAndPaste.C (pasteSelection): adjust
3187 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3189 * text2.C (getFont): adjust
3190 (getLayoutFont): adjust
3191 (getLabelFont): adjust
3193 * paragraph_funcs.C (TeXOnePar): adjust
3195 * buffer.C (simpleLinuxDocOnePar): adjust
3196 (simpleDocBookOnePar): adjust
3198 * CutAndPaste.C (pasteSelection): adjust
3200 * BufferView.C (getEncoding): adjust
3202 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3204 2003-04-16 John Levon <levon@movementarian.org>
3206 * lyxfind.C: use parlist stuff for search/changes
3208 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3212 * text2.C (deleteEmptyParagraphMechanism): adjust
3214 * text2.[Ch] (ownerParagraph): delete func (both of them
3216 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3218 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3220 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * ParagraphList.C: prepare for NO_NEXT
3224 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * text2.C (getFont): adjust
3227 (getLayoutFont): adjust
3228 (getLabelFont): adjust
3230 * paragraph.C (getFont): adjust
3231 (getLabelFont): adjust
3232 (getLayoutFont): adjust
3234 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3236 2003-04-15 John Levon <levon@movementarian.org>
3240 * lyx_main.C: handle Include in .ui files
3242 2003-04-15 John Levon <levon@movementarian.org>
3244 * MenuBackend.C: make the doc files length shorter
3247 * ToolbarBackend.C: handle toolbar placement flags,
3250 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3255 * paragraph_funcs.C (TeXOnePar): adjust
3257 * paragraph.C (getLabelFont): add outerfont arg, adjust
3258 (getLayoutFont): ditto
3259 (simpleTeXOnePar): adjust
3261 * paragraph_pimpl.C (realizeFont): delete func
3263 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3265 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3266 row argument, constify cur argument.
3268 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * text2.C (getFont): adjust
3271 (getLayoutFont): adjust
3272 (getLabelFont): adjust
3274 * paragraph_funcs.C (TeXOnePar): adjust
3275 (outerFont): new func...
3276 (realizeFont): ...moved out from here, changed this to facilitate
3279 * paragraph.C (getFont): take outerfont as arg, adjust
3280 (simpleTeXOnePar): add outerfont arg, adjust
3282 * buffer.C (simpleLinuxDocOnePar): adjust
3283 (simpleDocBookOnePar): adjust
3285 * CutAndPaste.C (pasteSelection): adjust
3287 * BufferView.C (getEncoding): adjust
3289 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * text2.C (setCharFont): adjust
3292 (setCounter): adjust
3294 * text.C (leftMargin): adjust
3295 (setHeightOfRow): adjust
3297 * rowpainter.C (paintFirst): adjust
3300 * paragraph_pimpl.C (realizeFont): adjust
3302 * paragraph.C (isFirstInSequence): move from here...
3303 * paragraph_funcs.C (isFirstInSequence): ...to here
3305 * paragraph.C (outerHook): move from here...
3306 * paragraph_funcs.C (outerHook): ...to here
3308 * paragraph.C (depthHook): move from here...
3309 * paragraph_funcs.C (depthHook): ...to here
3311 * paragraph.C (getEndLabel): move from here...
3312 * paragraph_funcs.C (getEndLabel): ...to here
3314 * text2.C (realizeFont): move from here...
3315 * paragraph_funcs.C (realizeFont): ...to here
3317 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3321 2003-04-14 Angus Leeming <leeming@lyx.org>
3323 * LColor.[Ch]: scrap LColor mathcursor.
3325 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * lyxlex.[Ch] (text): delete function
3328 * trans.C (Load): adjust
3329 * paragraph_funcs.C (readParToken): adjust
3331 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3334 vector<char> instead of a char[].
3336 * lyxlex_pimpl.C (getString): adjust
3338 (lex): use getString
3342 * lyxlex.C (text): use pimpl_->getString()
3346 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3349 (makeFontEntriesLayoutSpecific): temp var for par.size()
3350 (setLayout): temp var for ownerParagraphs().end()
3351 (fullRebreak): temp var for rows().end()
3352 (selectionAsString): temp var for boost::next(startpit), realize
3353 that the while really is a regular for loop.
3354 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3355 setCursor in one place.
3356 (setParagraph): temp vr for ownerParagraphs().end()
3357 (updateCounters): make the while loop a for loop
3358 (cutSelection): temp var for ownerParagraphs().end()
3359 (updateInset): make the do {} while() a regular for loop
3360 (getCursorX): use temp vars
3361 (setCurrentFont): use temp vars
3362 (getColumnNearX): use temp vars
3364 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * text.C (transformChar): use temp var for getChar
3367 (computeBidiTables): use temp var for row->par()
3368 (fill): move temp vars for row->par() and pit->layout() earlier in
3370 (labelFill): use temp var for row->par()
3371 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3372 asc and desc, realize that pit never changes and that firstpit is
3373 just a duplicate and not needed. Exchange rit->par() with pit in a
3375 (breakAgain): use a temp var for boost::next(rit)
3376 (breakAgainOneRow): ditto
3377 (breakParagraph): use a temp var for rows().begin()
3378 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3379 (cursorRightOneWord): use temp var for cursor.par() and
3380 cursor.pos(), remove usage of tmpcursor.
3381 (cursorLeftOneWord): use temp var for cursor.par() and
3382 cursor.pos() only set cur at end of function.
3384 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * text.C, text2.C: exchange all usage of Paragraph::next with
3387 boost::next(ParagraphList::iterator)
3389 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3391 * text2.C (cursorTop): simplify implementation
3392 (cursorBottom): ditto
3393 (setParagraph): use ParagraphList::iterator
3394 (setCurrentFont): adjust
3395 (getColumnNearX): adjust
3396 (cursorRight): adjust
3397 (cursorLeft): remove usage of Paragraph::previous
3398 (cursorUpParagraph): ditto
3399 (deleteEmptyParagraphMechanism): slight cleanup
3401 * text.C (isBoundary): take a Paragraph const & instead of a
3403 (addressBreakPoint): ditto
3404 (leftMargin): remove usage of Paragraph::previous.
3405 (setHeightOfRow): ditto
3406 (cursorLeftOneWord): ditto
3407 (selectNextWordToSpellcheck): ditto
3410 (breakParagraph): remove one usage of Paragraph::next
3411 (redoParagraph): ditto
3412 (acceptChange): ditto
3413 (insertChar): adjust
3414 (rowBreakPoint): adjust
3416 * bufferview_funcs.C (toggleAndShow): adjust
3418 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3420 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3421 methods to access it.
3423 * text.C: Added updateRowPositions to compute all row positions.
3424 Make top_y and getRowNearY() to use the cached y position
3426 2003-04-11 John Levon <levon@movementarian.org>
3428 * text.C (rowBreakPoint): reintroduce the labelEnd
3429 checks, code copied from the row fill stuff. Deep voodoo.
3431 * text.C (fill): add a comment and debugging for the
3434 2003-04-11 John Levon <levon@movementarian.org>
3436 * text.C: make sure fullrow insets get wrapped to the next line,
3437 even when they're in a manual label
3439 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * text2.C (insertParagraph): make it take ParagraphList::iterator
3443 (setLayout): make it return ParagraphList::iterator
3444 (redoParagraphs): ditto
3446 (checkParagraph): ditto
3448 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3450 * text2.C: adjust several funcs.
3451 (realizeFont): take a ParagraphList::iterator as arg.
3452 (getLayoutFont): ditto
3453 (getLabelFont): ditto
3454 (setCharFont): ditto
3456 * text.C: adjust several funcs.
3458 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3460 * text.C (selectNextWordToSpellcheck): don't accidentally
3463 2003-04-10 John Levon <levon@movementarian.org>
3465 * ToolbarBackend.C (getIcon): special handling for
3468 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3470 * text2.C (cursorRight): a getChar assert fixed
3472 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3474 * text2.C (getFont): change to take a ParagraphList::iterator
3475 instead of Paragraph*
3476 Adjust several functions.
3478 * text.C (transformChar): change to take a ParagraphList::iterator
3479 instead of Paragraph*
3480 (singleWidth): ditto
3481 Adjust several functions.
3483 * rowpainter.C: adjust several functions
3484 * rowpainter.h:store a ParagraphList::iterator and not a
3488 2003-04-09 John Levon <levon@movementarian.org>
3493 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3494 and the "help" bits as well
3496 2003-04-09 John Levon <levon@movementarian.org>
3499 * ToolbarBackend.C: allow multiple toolbars
3501 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * undo_funcs.C (setCursorParUndo): adjust
3505 * text_funcs.C (transposeChars): adjust
3507 * text3.C (gotoNextInset): adjust
3510 * text2.C (setLayout): adjust
3511 (changeDepth): adjust
3513 (redoParagraphs): adjust
3514 (selectionAsString): adjust
3515 (setParagraph): adjust
3516 (insertInset): adjust
3517 (cutSelection): adjust
3518 (copySelection): adjust
3519 (pasteSelection): adjust
3520 (insertStringAsLines): adjust
3521 (updateInset): adjust
3522 (setCursor): change to take a ParagraphList::iterator parameter
3523 (setCursorIntern): change to take a ParagraphList::iterator parameter
3524 (setCurrentFont): adjust
3525 (cursorLeft): adjust
3526 (cursorRight): adjust
3527 (deleteEmptyParagraphMechanism): adjust
3529 * text.C (breakParagraph): adjust
3530 (insertChar): adjust
3531 (acceptChange): adjust
3532 (rejectChange): adjust
3533 (selectNextWordToSpellcheck): adjust
3534 (changeCase): adjust
3538 * lyxfind.C (SearchForward): adjust
3539 (SearchBackward): adjust
3540 (nextChange): adjust
3542 * lyxcursor.C (par): adjust
3544 * lyxcursor.h: store a ParagraphList::iterator instead of a
3547 * lyx_cb.C (getPossibleLabel): adjust
3549 * bufferview_funcs.C (toggleAndShow): adjust
3551 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3554 * BufferView.C (removeAutoInsets): adjust
3555 (lockedInsetStoreUndo): adjust
3557 2003-04-09 John Levon <levon@movementarian.org>
3559 * ToolbarBackend.C: try icon without argument
3560 if with argument fails
3562 2003-04-08 John Levon <levon@movementarian.org>
3565 * ToolbarBackend.C: add getIcon(), handle tooltip,
3566 and change from "Icon" to "Item".
3568 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3570 * BufferView.C (lockInset): another bad getchar crunched
3572 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3574 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3577 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3579 * lyxfind.C (searchForward, searchBackwards): bug 782
3581 2003-04-07 John Levon <levon@movementarian.org>
3583 * paragraph.C: remove dead comment
3585 * text.C: remove troublesome depth-fiddling code
3586 in leftMargin() and rightMargin() (bug 1017)
3588 * text.C: fix breaking of rows in nested lists
3591 * text2.C (updateCounters): fix up depth values
3594 2003-04-07 John Levon <levon@movementarian.org>
3596 * BufferView_pimpl.C: clear message when doc finishes resizing,
3597 and after a mouse event
3599 * lyxfunc.C: clear message after exiting inset
3601 2003-04-07 John Levon <levon@movementarian.org>
3603 * bufferview_funcs.C: show math status not outside
3604 status in the statusbar
3606 2003-04-07 John Levon <levon@movementarian.org>
3608 * lyxfunc.C: note status changed after a depth change
3610 2003-04-04 Angus Leeming <leeming@lyx.org>
3612 * LaTeX.h: move AuxInfo operator==, != out of line.
3613 Remove LaTeX virtual destructor; nothing derives from it.
3614 Move operator()() out of public area and rename it startscript().
3615 Change protected for private.
3617 2003-04-04 Angus Leeming <leeming@lyx.org>
3620 * text2.C: remove unneeded #includes.
3622 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3624 * text2.C (dEPM): fix the heigth of the next row
3626 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3628 * text.C: squashed an invalid getChar requester + some ws changes
3630 2003-04-03 John Levon <levon@movementarian.org>
3632 * bufferview_funcs.h:
3633 * bufferview_funcs.C:
3636 * text2.C: make getStatus work for the env depth lfuns
3638 2003-04-03 John Levon <levon@movementarian.org>
3640 * bufferview_funcs.h:
3641 * bufferview_funcs.C:
3644 * text2.C: parlistize decDepth(), by merging it with incDepth()
3646 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * lyxrow.h: store a ParagraphList::iterator instead of a
3649 Paragraph* and adjust other class functions to suit.
3651 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3654 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3656 * text2.C (setCursor): do not anchor to cursor row for the time being
3658 2003-04-02 John Levon <levon@movementarian.org>
3665 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3667 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * paragraph.h: make ParagraphList and ParagraphList::iterator
3670 friends of Paragraph.
3672 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3674 * ParagraphList.C: Use the private next_ and previous_ from
3677 2003-04-01 John Levon <levon@movementarian.org>
3681 * Makefile.am: rename, remove defaults gunk
3684 * MenuBackend.C: remove defaults gunk
3687 * Languages.C: remove defaults gunk
3690 * lyx_main.C: error out if files couldn't be found.
3692 2003-04-02 John Levon <levon@movementarian.org>
3694 * text2.C: make incDepth() use parlist
3696 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * undo_funcs.C (firstUndoParagraph): adjust
3700 * text3.C (gotoInset): adjust
3701 (dispatch): adjust, and rewrite loop.
3703 * text2.C (init): adjust, and rewrite loop.
3704 (redoParagraphs): adjust
3705 (updateInset): adjust, and rewrite loop.
3706 (deleteEmptyParagraphMechanism): adjust
3708 * tabular.C (LyXTabular): adjust
3709 (SetMultiColumn): adjust
3712 * lyxtext.[Ch] (ownerParagraph): delete function
3713 (ownerParagraphs): new function returns a ParagraphList.
3715 * BufferView.C (removeAutoInsets): adjust
3716 (insertErrors): adjust
3717 (setCursorFromRow): adjust
3719 2003-04-01 Angus Leeming <leeming@lyx.org>
3721 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3724 2003-04-02 John Levon <levon@movementarian.org>
3730 * text_funcs.C: make transposeChars a free function
3732 * lyxrow_funcs.C: remove wrong comment
3734 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * rowpainter.C: adjust
3742 * lyxrow_funcs. [Ch]: new files
3744 * lyxrow.[Ch]: remove next and previous pointers
3745 (next,previous): remove accessor functions
3746 (isParEnd): move to lyxrow_funcs
3747 (lastPos): move to lyxrow_funcs
3748 (nextRowIsAllInset): move to lyxrow_funcs
3749 (lastPrintablePos): move to lyxrow_funcs
3750 (numberOfSeparators): move to lyxrow_funcs
3751 (numberOfHfills): move to lyxrow_funcs
3752 (numberOfLabelHfills): move to lyxrow_funcs
3753 (hfillExpansion): move to lyxrow_funcs
3757 * bufferview_funcs.C (toggleAndShow): adjust
3759 * RowList.h: Remove class RowList from file leave just a
3762 * RowList.C: delete file
3764 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3767 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * text3.C (cursorPrevious): adjust
3770 (cursorNext): adjust
3773 * text2.C (redoHeightOfParagraph): adjust
3774 (redoDrawingOfParagraph): adjust
3777 * text.C (breakParagraph): adjust
3778 (insertChar): adjust
3781 * rowpainter.C (RowPainter): adjust
3782 (leftMargin): simplify and adjust
3783 (most rowpainter functions): adjust.
3785 * rowpainter.h: store the row as RowList::iterator not as Row*
3787 * lyxcursor.C (row): taka RowList::iterator as arg
3790 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3793 2003-04-01 Angus Leeming <leeming@lyx.org>
3795 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3796 stuff like bool Bool.
3798 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3800 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3803 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3805 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3808 * lyxtext.h (rows): drop one version and leve a const variant that
3809 returns a RowList::iterator.
3811 2003-03-31 Angus Leeming <leeming@lyx.org>
3813 * text.C (fill): ensure that the signature is the same as that in the
3816 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * text2.C (redoParagraphs): adjust
3819 (updateCounters): adjust
3820 (checkParagraph): adjust
3821 (getColumnNearX): adjust and reformat a bit.
3823 * text.C (top_y): adjust
3825 (leftMargin): adjust
3826 (prepareToPrint): adjust
3828 (getRowNearY): adjust
3830 * lyxtext.h: make rowlist_ mutable.
3832 * RowList.h: add const_iterator
3833 * RowList.C: adjust for RowList::const_iterator.
3835 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3838 2003-03-31 John Levon <levon@movementarian.org>
3841 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3843 * lyx_main.C: set default fonts from using lyx_gui funcs
3845 * exporter.C: pdf_mode moved from lyxrc
3848 * lyxfunc.C: changes from above
3850 2003-03-31 John Levon <levon@movementarian.org>
3852 * lyx_main.C: fix to the last fix
3854 2003-03-31 John Levon <levon@movementarian.org>
3856 * bufferlist.C: "Load original" -> "Load Original"
3862 * format.C: more Alert cleanups
3864 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * text2.C (removeParagraph): make it take a RowList::iterator as
3868 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3869 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3871 * text.C (anchor_row): make it take a RowList::iterator as arg,
3873 (computeBidiTables): make it take a const reference to Row instead
3874 of Row pointer, adjust.
3875 (leftMargin): make it take a RowList::iterator as arg, adjust.
3876 (rowBreakPoint): adjust
3877 (breakAgainOneRow): make it take a RowList::iterator as arg,
3879 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3881 * bufferview_funcs.C (toggleAndShow): adjust
3883 2003-03-30 John Levon <levon@movementarian.org>
3887 * boost-inst.C: moved to support
3889 * several files: changes as a result
3891 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * text2.C (LyXText): adjust.
3895 (removeRow): make it take a RowList::iterator as arg, adjust.
3896 (fullRebreak): adjust
3897 (deleteEmptyParagraphMechanism): adjust
3898 (clearPaint): adjust
3901 * text.C (top_y): adjust
3902 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3903 (breakAgain): make it take a RowList::iterator as arg, adjust.
3904 (breakParagraph): adjust
3905 (insertChar): adjust
3908 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3909 need_break_row, and refresh_row.
3911 * text3.C (dispatch): adjust
3913 * text2.C (checkParagraph): adjust
3915 (setCursorFromCoordinates): adjust
3917 * text.C (top_y): adjust
3919 (getRow): make it return a RowList::iterator, adjust
3920 (getRowNearY): make it return a RowList::iterator, adjust
3922 * text2.C (init): adjust
3923 (insertRow): remove function
3924 (insertParagraph): adjust
3925 (redoParagraphs): adjust
3926 (fullRebreak): adjust
3927 (updateCounters): adjust
3929 * text.C (top_y): rewrite to use RowList iterators.
3931 (setHeightOfRow): rewrite to sue RowList iterators.
3932 (appendParagraph): adjust
3933 (breakAgain): adjust
3934 (breakAgainOneRow): adjust
3935 (breakParagraph): adjust
3937 (getRowNearY): adjust, and remove commented code.
3939 * lyxtext.h (firstRow): delete function
3940 (lastRow): delete function
3941 (rows): new function (const and non-const versions.)
3942 (insertRow): delete function
3944 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3946 2003-03-29 John Levon <levon@movementarian.org>
3948 * BufferView_pimpl.C: always update scrollbar top
3949 because pasting text when we're anchored could mean we
3950 miss an update altogether
3952 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * text2.C (init): use rowlist_.end() and not 0.
3955 (insertRow): change to take a RowList::iterator as arg, adjust
3957 (insertParagraph): change to take a RowList::iterator as arg,
3959 (redoParagraphs): remove some debug msgs.
3961 * text.C (appendParagraph): change to take a RowList::iterator
3962 arg, adjust for this.
3963 (breakAgain): add an assert
3964 (breakAgainOneRow): ditto
3966 2003-03-29 John Levon <levon@movementarian.org>
3968 * text2.C: do not clear selection after inc/decDepth
3971 2003-03-29 John Levon <levon@movementarian.org>
3974 * buffer.C: fix broken strerrors according to Lars
3976 2003-03-29 John Levon <levon@movementarian.org>
3978 * converters.C: more Alert cleanups
3980 2003-03-29 John Levon <levon@movementarian.org>
3982 * bufferview_funcs.C: remove pointless Alert
3984 * buffer.C: fix confusing error message when
3985 a template is chmoded 000
3987 2003-03-29 John Levon <levon@movementarian.org>
3991 * BufferView_pimpl.C: Alert fixes
3995 * tabular-old.C: remove unused table compat reading
3997 2003-03-29 John Levon <levon@movementarian.org>
4002 * lyx_cb.C: more Alert cleanups
4004 * lyxfunc.C: don't allow chktex if not latex document
4006 2003-03-29 John Levon <levon@movementarian.org>
4010 * buffer.C: warnings pushed down from support/,
4013 2003-03-29 John Levon <levon@movementarian.org>
4015 * lyxfunc.C: safety check for C-r (revert)
4017 2003-03-29 John Levon <levon@movementarian.org>
4020 * bufferlist.C: several UI fixes using Alert::prompt.
4021 Fix the pointless looping quit code. Fix stupid revert
4026 * lyx_cb.C: use Alert::prompt
4028 * lyx_main.C: remove a silly question
4030 * lyxfunc.C: remove a couple of silly questions,
4033 2003-03-28 John Levon <levon@movementarian.org>
4035 * text2.C: fix bug 974 (End on empty par)
4037 2003-03-28 John Levon <levon@movementarian.org>
4039 * BufferView_pimpl.C:
4041 * lfuns.h: remove do-nothing math greek lfuns
4043 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * lyxgluelength.h (isValidGlueLength): add default arg on
4046 parameter 2. Remove default arg from friend in class.
4048 * lyxlength.h (isValidLength): add default arg on parameter 2.
4049 Remove default arg from friend in class.
4051 * text2.C (LyXText): adjust, initialize refresh_row.
4055 (insertParagraph): adjst
4056 (redoParagraphs): adjust
4057 (fullRebreak): adjust
4058 (updateCounters): adjust
4059 (deleteEmptyParagraphMechanism): first attempt at fixing a
4062 * text.C (top_y): adjust
4063 (setHeightOfRow): adjust
4065 (getRowNearY): adjust
4067 * lyxtext.h: include RowList.h
4068 (~LyXText): not needed anymore, deleted.
4069 (firstRow): modify for RowList
4070 (lastRow): new function
4071 Delete firstrow and lastrow class variables, add a Rowlist
4072 rowlist_ class variable.
4074 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4077 * RowList.C (insert): fix case where it == begin().
4079 2003-03-26 Angus Leeming <leeming@lyx.org>
4081 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4082 the thesaurus dialog.
4084 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4088 * RowList.[Ch]: new files
4090 * ParagraphList.C (erase): handle the case where it == begin
4093 2003-03-25 John Levon <levon@movementarian.org>
4097 * aspell.C: add new aspell support
4100 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4103 2003-03-25 Angus Leeming <leeming@lyx.org>
4106 * LyXAction.C (init): new LFUN_INSET_INSERT.
4108 * BufferView_pimpl.C (dispatch): split out part of the
4109 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4111 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4114 2003-03-25 Angus Leeming <leeming@lyx.org>
4116 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4118 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4121 * text3.C: remove useless row->height(0)
4123 2003-03-25 John Levon <levon@movementarian.org>
4127 * text3.C: rename the refreshing stuff to better names
4129 2003-03-24 John Levon <levon@movementarian.org>
4131 * BufferView_pimpl.h:
4132 * BufferView_pimpl.C: update layout choice on a mouse
4135 2003-03-23 John Levon <levon@movementarian.org>
4137 * Makefile.am: fix commandtags.h reference
4139 2003-03-22 John Levon <levon@movementarian.org>
4141 * BufferView_pimpl.C:
4146 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4148 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4151 * text.C: take the rtl methods out of line
4153 2003-03-21 André Pönitz <poenitz@gmx.net>
4155 * metricsinfo.[Ch]: new files containing structures to be passed around
4156 during the two-phase-drawing...
4158 2003-03-21 André Pönitz <poenitz@gmx.net>
4160 * lyxtextclass.C: read 'environment' tag.
4162 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4164 * text2.C (removeRow): fix bug 964
4166 2003-03-20 John Levon <levon@movementarian.org>
4170 * text2.C: paint cleanups. Inset::update() dropped font
4173 2003-03-19 John Levon <levon@movementarian.org>
4175 * lyxfunc.C: only fitcursor/markDirty if available()
4177 2003-03-19 John Levon <levon@movementarian.org>
4179 * commandtags.h: rename to ...
4181 * lfuns.h: ... this, and renumber / cleanup
4183 2003-03-19 John Levon <levon@movementarian.org>
4185 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4186 fit the cursor after an lfun
4190 * BufferView_pimpl.h:
4191 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4193 * LyXAction.C: layout-character should have ReadOnly
4195 * ParagraphParameters.C:
4197 * bufferview_funcs.C:
4204 * undo_funcs.C: changes from above
4206 2003-03-18 John Levon <levon@movementarian.org>
4208 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4209 remove it from update()
4211 * lyxfunc.C: update layout choice after an lfun
4213 * text3.C: remove extra updateLayoutChoice()s
4215 2003-03-18 John Levon <levon@movementarian.org>
4217 * text.C: top_y change means full repaint, fix
4218 a drawing bug with cursor movement
4220 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4224 * text2.C: anchor row on setCursor
4226 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4228 * lyxtext.h: remove almost all mutable keywords
4231 * text3.C: remove const keywords accordingly
4233 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4237 (TeXEnvironment): ditto
4240 2003-03-17 John Levon <levon@movementarian.org>
4242 * text.C (rowBreakPoint): remove attempt to fix displayed
4243 math insets inside a manual label
4245 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * lyxtext.h: remove BufferView* as first arg from almost all class
4249 * other files: adjust.
4251 2003-03-17 John Levon <levon@movementarian.org>
4255 * text2.C: more paint cleanups
4257 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4260 * rowpainter.C: remove "smart" background painting code
4262 2003-03-16 John Levon <levon@movementarian.org>
4267 * text3.C: add helper functions for setting refresh_row/y
4269 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4271 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4272 newline inset which *can* get inserted in the pass_thru layouts.
4273 This is primarily for literate documents.
4275 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4277 * buffer.C: increment LYX_FORMAT to 223
4279 2003-03-14 André Pönitz <poenitz@gmx.net>
4281 * textclass.h: prepare for environment handling, ws changes
4282 * lyxlayout.C: read latexheader and latexfooter tags
4284 2003-03-14 John Levon <levon@movementarian.org>
4286 * text2.C: rewrite ::status() a bit
4288 2003-03-13 John Levon <levon@movementarian.org>
4290 * lyxtext.h: add some docs
4292 2003-03-13 John Levon <levon@movementarian.org>
4297 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4299 2003-03-13 John Levon <levon@movementarian.org>
4301 * text3.C: fix appendix redrawing
4303 2003-03-13 John Levon <levon@movementarian.org>
4305 * text.C (setHeightOfRow):
4307 * rowpainter.C: make appendix mark have the text
4308 "Appendix" so the user knows what it is
4311 * LColor.C: s/appendixline/appendix/ from above
4313 2003-03-13 John Levon <levon@movementarian.org>
4315 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4317 * text.C: fix a getChar(pos) bug properly
4319 2003-03-13 Angus Leeming <leeming@lyx.org>
4322 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4323 Probably only temporary. Let's see how things pan out.
4325 * BufferView.C (unlockInset):
4326 * BufferView_pimpl.C (fitCursor):
4327 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4329 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4330 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4332 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4333 new functions that convert ParagraphParameters to and from a string.
4335 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4336 BufferView::Pimpl's dispatch.
4337 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4339 2003-03-13 André Pönitz <poenitz@gmx.net>
4343 * factory.C: make it aware of InsetEnv
4345 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * text2.C (setCursor): never ask for one past last
4348 (setCursor): add some debugging messages.
4350 * text.C (singleWidth): never ask for one past last
4351 (singleWidth): ditto
4353 (rightMargin): ditto
4354 (rowBreakPoint): ditto
4355 (setHeightOfRow): ditto
4356 (prepareToPrint): ditto
4358 * rowpainter.C (paintBackground): never ask for one past last
4359 (paintText): never ask for one past last
4361 * paragraph_pimpl.C (getChar): make the assert stricter, never
4362 allow the one past last pos to be taken
4364 * paragraph.C (getChar): ws changes only
4366 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4367 (numberOfSeparators): ditto
4368 (numberOfHfills): ditto
4370 2003-03-12 John Levon <levon@movementarian.org>
4376 * paragraph_funcs.C: fix per-buffer authorlists
4378 2003-03-12 John Levon <levon@movementarian.org>
4380 * text.C: fix newline in right address
4382 2003-03-12 Angus Leeming <leeming@lyx.org>
4384 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4385 duplicate those in LyXFunc::dispatch.
4389 * ToolbarDefaults.C:
4390 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4391 Add LFUN_FONTFREE_UPDATE.
4393 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4394 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4396 * bufferview_func.[Ch]: several new functions to facilliate
4397 transfer of data to and from the character dialog.
4399 2003-03-12 John Levon <levon@movementarian.org>
4404 * paragraph_funcs.C:
4405 * paragraph_pimpl.C:
4409 * text3.C: remove META_NEWLINE in favour of an inset
4412 * rowpainter.C: remove paintNewline (done by inset)
4414 2003-03-12 John Levon <levon@movementarian.org>
4416 * paragraph_pimpl.C: complain about bad getChar()s
4417 for a while at least
4419 2003-03-12 John Levon <levon@movementarian.org>
4422 * buffer.C: move paragraph read into a separate function,
4423 a little renaming to reflect that.
4426 * bufferparams.C: remove the author_ids map, not necessary now
4429 * factory.C: moved Buffer::readInset to here
4431 * paragraph_funcs.h:
4432 * paragraph_funcs.C: readParagraph free function moved from
4435 * tabular.C: name change
4437 2003-03-12 John Levon <levon@movementarian.org>
4440 * ParagraphParameters.C: move par params input to
4443 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4444 behave like a normal read from the stream wrt reading
4445 a line vs. a \\token
4447 2003-03-12 John Levon <levon@movementarian.org>
4450 * ParagraphParameters.h:
4451 * ParagraphParameters.C: move output code to a
4454 2003-03-12 John Levon <levon@movementarian.org>
4456 * BufferView.C (insertLyXFile):
4459 * tabular.C: use a parlist iterator for creating the
4462 2003-03-12 John Levon <levon@movementarian.org>
4464 * buffer.C: make current_change static local not
4467 2003-03-12 John Levon <levon@movementarian.org>
4469 * buffer.C: fix insertStringAsLines for change tracking
4471 2003-03-12 John Levon <levon@movementarian.org>
4478 * bufferparams.C: move author list into params. Rename some
4479 functions. Move the header reading into a separate token
4480 loop. Move the header token reading into BufferParams.
4482 2003-03-12 John Levon <levon@movementarian.org>
4484 * changes.C: put debug inside lyxerr.debugging() checks
4486 2003-03-11 André Pönitz <poenitz@gmx.net>
4488 * factory.C: make it aware of InsetHFill
4490 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4492 * buffer.C (latexParagraphs): move function from here...
4493 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4496 2003-03-10 Angus Leeming <leeming@lyx.org>
4498 * LyXAction.C (init): fix bug in poplating array with multiple entries
4499 with the same LFUN (spotted by JMarc).
4501 2003-03-10 John Levon <levon@movementarian.org>
4504 * text2.C: move getColumnNearX() near its
4507 2003-03-10 John Levon <levon@movementarian.org>
4509 * text.C: fix break before a minipage
4511 2003-03-10 John Levon <levon@movementarian.org>
4513 * text.C: fix the last commit
4515 2003-03-09 John Levon <levon@movementarian.org>
4519 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4520 bug 365 (don't break before insets unless needed). Don't
4521 return a value > last under any circumstances.
4523 2003-03-09 Angus Leeming <leeming@lyx.org>
4525 * BufferView_pimpl.C (trackChanges, dispatch): call
4526 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4528 2003-03-09 Angus Leeming <leeming@lyx.org>
4530 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4531 than Dialogs::showAboutlyx().
4533 2003-03-09 Angus Leeming <leeming@lyx.org>
4535 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4536 than Dialogs::showTabularCreate().
4538 2003-03-09 John Levon <levon@movementarian.org>
4542 * text2.C: 3rd arg to nextBreakPoint was always the same.
4545 2003-03-08 John Levon <levon@movementarian.org>
4552 * text2.C: Remove the "main" bit from the "main body"
4555 2003-03-08 John Levon <levon@movementarian.org>
4557 * text.C (leftMargin): The left margin of an empty
4558 manual label paragraph should not include the label width
4561 * text.C (prepareToPrint): don't attempt to measure hfills
4562 for empty manual label paragraphs - the answer should be 0
4564 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * CutAndPaste.C: remove commented code and reindent.
4568 2003-03-08 John Levon <levon@movementarian.org>
4571 * lyxfunc.C: move reloadBuffer()
4574 * BufferView.C: to here
4576 * lyxvc.C: add comment
4579 * vc-backend.C: call bv->reload() to avoid
4580 getStatus() check on MENURELOAD
4582 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4584 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4585 to an old format .dep file.
4587 2003-03-07 Angus Leeming <leeming@lyx.org>
4589 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4590 when the LFUN_MOUSE_RELEASE should have been handled by
4591 inset->localDispatch.
4593 2003-03-07 Angus Leeming <leeming@lyx.org>
4595 * BufferView_pimpl.C (dispatch):
4596 * LyXAction.C (init):
4597 * ToolbarDefaults.C (init):
4599 * lyxfunc.C (getStatus):
4600 remove LFUN_INSET_GRAPHICS.
4602 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4604 2003-03-07 Angus Leeming <leeming@lyx.org>
4607 * LyXAction.C (init):
4608 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4610 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4613 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4615 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4616 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4618 2003-03-07 Angus Leeming <leeming@lyx.org>
4620 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4623 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * ParagraphList.C (front): new function
4628 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4630 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4631 and top_row_offset_. removed var first_y.
4633 * text2.C (LyXText, removeRow):
4635 * BufferView_pimpl.C:
4636 use these methods instead of using first_y
4638 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * text2.C (pasteSelection): adjust for checkPastePossible
4642 * CutAndPaste.C: remove Paragraph * buf and replace with
4643 ParagraphList paragraphs.
4644 (DeleteBuffer): delete
4645 (cutSelection): change the tc type to textclass_type
4646 (copySelection): change the tc type to textclass_type
4647 (copySelection): adjust for ParagraphList
4648 (pasteSelection): change the tc type to textclass_type
4649 (pasteSelection): adjust for Paragraphlist
4650 (nrOfParagraphs): simplify for ParagraphList
4651 (checkPastePossible): simplify for ParagraphList
4652 (checkPastePossible): remove unused arg
4654 * ParagraphList.C (insert): handle the case where there are no
4657 * CutAndPaste.h: make CutAndPaste a namespace.
4659 * text3.C (dispatch): adjust
4661 * text.C (breakParagraph): add a ParagraphList as arg
4663 * paragraph_funcs.C (breakParagraph): change to take a
4664 BufferParams and a ParagraphList as args.
4665 (breakParagraphConservative): ditto
4666 (mergeParagraph): ditto
4667 (TeXDeeper): add a ParagraphList arg
4668 (TeXEnvironment): ditto
4671 * buffer.C (readLyXformat2): adjust
4672 (insertStringAsLines): adjust
4673 (latexParagraphs): adjust
4675 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4676 (cutSelection): adjust
4677 (pasteSelection): adjust
4679 * BufferView_pimpl.C (insertInset): adjust
4681 2003-03-05 Angus Leeming <leeming@lyx.org>
4684 * LyXAction.C (init):
4685 * BufferView_pimpl.C (dispatch):
4686 * lyxfunc.C (getStatus):
4687 remove LFUN_CHILD_INSERT.
4689 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4691 2003-03-05 Angus Leeming <leeming@lyx.org>
4694 * LyXAction.C (init):
4695 * src/factory.C (createInset):
4696 * lyxfunc.C (getStatus):
4697 * text3.C (dispatch):
4698 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4700 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4702 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * ParagraphList.C (insert): handle insert right before end()
4705 (erase): fix cases where it can be first or last paragraph.
4707 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4710 Paragraph::next and Paragraph::previous
4713 * text.C (breakParagraph): adjust
4715 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4716 BufferParams& as arg.
4717 (breakParagraph): use ParagraphList::insert
4718 (breakParagraphConservative): take a Buffer* instead of a
4719 BufferParams& as arg.
4720 (breakParagraphConservative): use ParagraphList::insert.
4722 * buffer.C (insertStringAsLines): un-const it
4723 (insertStringAsLines): adjust
4725 * ParagraphList.C (insert): new function
4727 * CutAndPaste.C (pasteSelection): adjust
4729 * text.C (backspace): adjust
4731 * tabular.C (SetMultiColumn): adjust
4733 * CutAndPaste.C (cutSelection): adjust
4734 (pasteSelection): adjust
4736 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4737 Buffer const * as arg
4739 * ParagraphList.C (erase): new function
4740 * paragraph_funcs.C (mergeParagraph): use it
4741 (mergeParagraph): make it take a Buffer* instead of a
4742 BufferParams* as arg
4744 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4746 (breakParagraphConservative): ditto
4748 * paragraph.h: remove the breakParagraph friend
4750 * paragraph.C (eraseIntern): new function
4751 (setChange): new function
4753 * paragraph_funcs.C (mergeParagraph): make it take a
4754 ParagraphList::iterator instead of a Paragraph *, adjust
4757 * paragraph.h: move an #endif so that the change tracking stuff
4758 also works in the NO_NEXT case.
4760 2003-03-04 Angus Leeming <leeming@lyx.org>
4763 * LyXAction.C: new LFUN_INSET_MODIFY.
4765 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4766 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4768 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * several files: ws changes only
4772 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4773 (TeXEnvironment): ditto
4776 * buffer.C (makeLaTeXFile): adjust
4777 (latexParagraphs): make it take ParagraphList::iterator as args
4779 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * buffer.C (latexParagraphs): adjust
4783 * paragraph.C (TeXOnePar): move function...
4784 (optArgInset): move function...
4785 (TeXEnvironment): move function...
4786 * paragraph_pimpl.C (TeXDeeper): move function...
4787 * paragraph_funcs.C: ...here
4789 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4791 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4793 * buffer.C (readInset): remove compability code for old Figure and
4796 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * buffer.C: ws changes
4801 * BufferView_pimpl.C: ditto
4804 * bufferlist.h: ditto
4808 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4810 * converter.[Ch]: split into itself +
4813 * Makefile.am: += graph.[Ch] + format.[Ch]
4820 * lyxrc.C: added #include "format.h"
4822 2003-02-27 Angus Leeming <leeming@lyx.org>
4824 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4827 * factory.C (createInset): add "label" to the factory.
4829 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4830 string and do no more.
4832 2003-02-27 Angus Leeming <leeming@lyx.org>
4835 * LyXAction.C (init):
4836 * factory.C (createInset):
4837 * BufferView_pimpl.C (dispatch):
4838 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4840 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4842 * lyxfunc.C (dispatch):
4843 * text3.C (dispatch): pass name to params2string.
4845 2003-02-26 Angus Leeming <leeming@lyx.org>
4847 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4849 Rearrange the ~includes. Strip out the unnecessary ones.
4851 * factory.C (createInset): reformat.
4852 create new insets for the various LFUN_XYZ_APPLY lfuns.
4854 2003-02-26 John Levon <levon@movementarian.org>
4857 * lyxrow.C: add isParStart,isParEnd helpers
4859 * paragraph.h: make isInserted/DeletedText take refs
4861 * paragraph_funcs.h:
4862 * paragraph_funcs.C: remove #if 0'd code
4867 * text.C: use lyxrow helpers above.
4868 Move draw and paint routines to RowPainter.
4869 Make several methods use refs not pointers.
4870 Make backgroundColor() const.
4871 Add markChangeInDraw(), isInInset().
4872 Merge changeRegionCase into changeCase.
4873 Make workWidth() shouldn't-happen code into an Assert.
4876 * rowpainter.C: new class for painting a row.
4879 * vspace.C: make inPixels take a ref
4881 2003-02-26 Angus Leeming <leeming@lyx.org>
4883 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4886 2003-02-25 John Levon <levon@movementarian.org>
4888 * ispell.C: give the forked command a more accurate name
4890 2003-02-22 John Levon <levon@movementarian.org>
4893 * toc.C: make TocItem store an id not a Paragraph *
4896 2003-02-21 Angus Leeming <leeming@lyx.org>
4898 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4899 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4900 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4901 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4902 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4903 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4905 * BufferView_pimpl.C (dispatch):
4906 * LyXAction.C (init):
4907 * factory.C (createInset):
4908 * lyxfunc.C (getStatus, dispatch):
4909 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4911 2003-02-21 Angus Leeming <leeming@lyx.org>
4913 * BufferView_pimpl.C (MenuInsertLyXFile):
4914 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4915 * lyxfunc.C (menuNew, open, doImport):
4916 no longer pass a LyXView & to fileDlg.
4918 2003-02-21 Angus Leeming <leeming@lyx.org>
4920 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4921 * LyXAction.C: change, BIBKEY to BIBITEM.
4922 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4923 Change InsetBibKey to InsetBibitem.
4924 Change BIBKEY_CODE to BIBITEM_CODE.
4925 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4926 * factory.C: replace insetbib.h with insetbibitem.h.
4927 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4928 * paragraph.C: replace insetbib.h with insetbibitem.h.
4929 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4930 Change bibkey() to bibitem().
4931 * text.C: remove insetbib.h.
4932 * text2.C: replace insetbib.h with insetbibitem.h.
4933 change bibkey() to bibitem().
4934 * text3.C: remove insetbib.h.
4935 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4937 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4939 * lyxrc.C (output): enclose user email in quotes (in case there are
4942 2003-02-18 John Levon <levon@movementarian.org>
4944 * buffer.h: add std::
4946 2003-02-17 John Levon <levon@movementarian.org>
4952 * pspell.C: reworking. Especially in ispell, a large
4953 number of clean ups and bug fixes.
4955 * lyxfunc.C: fix revert to behave sensibly
4957 2003-02-17 André Pönitz <poenitz@gmx.net>
4960 * commandtags.h: new LFUN_INSERT_BIBKEY
4970 * paragraph_func.C: remove special bibkey handling
4972 2003-02-17 John Levon <levon@movementarian.org>
4974 * text.C (Delete): fix case where delete at the end of
4975 the very first paragraph would not merge the pars
4977 2003-02-17 John Levon <levon@movementarian.org>
4979 * lyxrow.C: fix lastPrintablePos()
4981 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4983 * bufferparams.C (writeLaTeX): add a std:here
4985 * buffer.C: and remove a using directive there
4987 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4989 * buffer.C (makeLaTeXFile): move the code that generates the
4992 * bufferparams.C (writeLaTeX): ... in this new method
4994 * LaTeXFeatures.C (getEncodingSet): make const
4995 (getLanguages): make const
4997 * MenuBackend.C (binding): returns the binding associated to this
4999 (add): sets the status of each item by calling getStatus. Adds
5001 (read): add support for OptSubMenu
5002 (expand): remove extra separator at the end of expanded menu
5004 2003-02-15 John Levon <levon@movementarian.org>
5007 * BufferView_pimpl.C:
5009 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5010 inset code that had no actual effect. Remove unneeded status
5013 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5015 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5018 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5020 * text.C (drawLengthMarker): also draw an arrow marker for
5021 symbolic lengths (medskip...)
5023 2003-02-14 John Levon <levon@movementarian.org>
5026 * tabular.C: better method names
5028 2003-02-14 John Levon <levon@movementarian.org>
5030 * BufferView_pimpl.C:
5035 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5036 it's a more accurate name. Remove some pointless uses.
5038 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5040 * text2.C (LyXText): change order of initilizers to shut off
5043 2003-02-14 John Levon <levon@movementarian.org>
5045 * buffer.C: use ParIterator for getParFromID()
5049 * paragraph_pimpl.h:
5050 * paragraph_pimpl.C: remove unused getParFromID()
5052 2003-02-14 John Levon <levon@movementarian.org>
5054 * buffer.C: remove some very old #if 0'd parse code
5056 2003-02-13 John Levon <levon@movementarian.org>
5060 * text2.C: move hfillExpansion(), numberOfSeparators(),
5061 rowLast(), rowLastPrintable(), numberofHfills(),
5062 numberOfLabelHfills() ...
5065 * lyxrow.C: ... to member functions here.
5070 * text.C: remove LyXText::beginningOfMainBody(), and call
5071 p->beginningOfMainBody() directly. Move the check for
5072 LABEL_MANUAL into the latter.
5079 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5085 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5086 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5088 2003-02-13 John Levon <levon@movementarian.org>
5090 * CutAndPaste.C: remove debug
5092 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5094 * paragraph.C (asString): remove two unused variables
5096 * lyxtextclass.C (readTitleType):
5098 (LyXTextClass): handle new members titletype_ and titlename_
5100 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5102 2003-02-09 John Levon <levon@movementarian.org>
5105 * buffer.C: replace hand-coded list with a map for the dep clean
5107 2003-02-08 John Levon <levon@movementarian.org>
5109 * LaTeX.C: consolidate code into showRunMessage() helper
5111 2003-02-08 John Levon <levon@movementarian.org>
5116 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5117 and pass the size in explicitly
5119 * BufferView_pimpl.h:
5120 * BufferView_pimpl.C:
5122 * BufferView.C: add getCurrentChange()
5124 * BufferView_pimpl.h:
5125 * BufferView_pimpl.C: handle change lfuns
5127 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5128 for changes. Mark pasted paragraphs as new.
5130 * support/lyxtime.h:
5131 * support/lyxtime.C:
5132 * DepTable.C: abstract time_t as lyx::time_type
5135 * LColor.C: add colours for new text, deleted text, changebars
5137 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5138 package use "usenames" option.
5142 * LyXAction.C: add change lfuns
5146 * author.C: author handling
5149 * buffer.C: add a per-buffer author list, with first entry as
5150 current author. Handle new .lyx tokens for change tracking. Output
5151 author list to .lyx file. Output dvipost stuff to .tex preamble.
5152 Bump lyx format to 222.
5155 * bufferlist.C: add setCurrentAuthor() to reset current author details
5159 * bufferparams.C: add param for tracking
5161 * bufferview_funcs.C: output change info in minibuffer
5165 * changes.C: add change-tracking structure
5168 * debug.C: add CHANGES debug flag
5171 * lyxfind.C: add code for finding the next change piece
5174 * lyxrc.C: add user_name and user_email
5177 * lyxrow.C: add a metric for the top of the text line
5180 * text.C: implement accept/rejectChange()
5183 * text.C: paint changebars. Paint new/deleted text in the chosen
5184 colours. Strike through deleted text.
5188 * paragraph_pimpl.h:
5189 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5190 in the current change to the insert functions. Rework erase to
5191 mark text as deleted, adding an eraseIntern() and a range-based
5192 erase(). Implement per-paragraph change lookup and
5195 * paragraph_funcs.C: Fixup paste for change tracking.
5197 * tabular.C: mark added row/columns as new.
5199 * text.C: fix rowLast() to never return -1. Don't allow
5200 spellchecking of deleted text. Track transpose changes. Don't
5201 allow paragraph break or merge where appropriate.
5203 * text2.C: leave cursor at end of selection after a cut.
5205 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5207 * text.C (getLengthMarkerHeight):
5208 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5209 visible on screen too.
5211 2003-02-07 John Levon <levon@movementarian.org>
5213 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5215 2003-02-05 Angus Leeming <leeming@lyx.org>
5217 * lyxserver.C (read_ready): revert my patch of 11 September last year
5218 as it sends PC cpu through the roof. Presumably this means that
5219 the lyxserver will no longer run on an Alpha...
5221 2003-01-30 Angus Leeming <leeming@lyx.org>
5223 * factory.C (createInset): create an InsetCommandParam of type "index"
5224 and use it to 'do the right thing'.
5226 * text2.C (getStringToIndex): ensure that cursor position is always
5227 reset to the reset_cursor position.
5229 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5231 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5234 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5238 * lyxfunc.C: Output messages with identical spelling, punctuation,
5241 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5243 * MenuBackend.C (expandFormats): List only viewable export formats
5246 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5249 * lyxfunc.C (getStatus): Make sure that formats other than
5250 "fax" can also be disabled
5252 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5254 * text3.C (dispatch): put the lfuns that insert insets in 3
5255 groups, and call doInsertInset with appropriate arguments.
5256 (doInsertInset): new function, that creates an inset and inserts
5257 it according to some boolean parameters.
5259 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * buffer.C (readFile): remember to pass on 'par' when calling
5262 readFile recursively.
5264 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5266 * MenuBackend.C (expandFormats): add "..." to import formats.
5268 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5270 * paragraph.C (asString): Remove XForms RTL hacks.
5272 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5273 * buffer.C: fix typo
5275 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * Makefile.am (LIBS): delete var
5278 (lyx_LDADD): add @LIBS@ here instead.
5280 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5282 * Clarify the meaning of "wheel mouse jump"
5284 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5286 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5289 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5291 * importer.C (Loaders): do not preallocate 3 elements in the
5292 vector, since one ends up with 6 elements otherwise
5294 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5296 * DepTable.C (write): write the file name as last element of the
5297 .dep file (because it may contain spaces)
5298 (read): read info in the right order
5300 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5302 * paragraph_pimpl.C (simpleTeXBlanks):
5303 (simpleTeXSpecialChars):
5304 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5306 * tabular.C (latex): add some missing case statements. Reindent.
5308 * MenuBackend.C (expandToc): remove unused variable.
5310 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5319 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5322 2003-01-05 John Levon <levon@movementarian.org>
5325 * BufferView.C: add getEncoding()
5328 * kbsequence.C: do not store last keypress
5331 * lyxfunc.C: store last keypress here instead. Pass encoding
5334 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5336 * lyx_main.C (init): remove annoying error message when following
5337 symbolic links (bug #780)
5339 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5341 * text.C (insertChar):
5342 * lyxrc.C (getDescription): remove extra spaces
5344 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5346 * lyxrc.C (getDescription): remove extra spaces
5348 2002-12-20 John Levon <levon@movementarian.org>
5350 * text3.C: hack fix for page up/down across tall rows
5352 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5354 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5357 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5359 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5360 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5361 thesaurus is not compiled in
5363 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5365 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5367 2002-12-16 Angus Leeming <leeming@lyx.org>
5370 * lyx_main.C (init): remove override_x_deadkeys stuff.
5372 2002-12-12 John Levon <levon@movementarian.org>
5374 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5375 insert. Only remove shift modifier under strict
5378 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * MenuBackend.C (expandToc): fix crash.
5382 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * MenuBackend.C (expandToc): gettext on float names.
5386 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5388 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5389 implement bool empty() [bug 490]
5391 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5395 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5397 * several files: ws changes
5399 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * text2.C (setCounter): clean up a bit, use boost.format.
5402 (updateCounters): initialize par upon declaration.
5404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5405 if the layout exists. We do not just store the layout any more.
5406 (SwitchLayoutsBetweenClasses): use boost.format
5408 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5410 * converter.C (convert): if from and to files are the same, use a
5411 temporary files as intermediary
5413 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5416 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5418 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5420 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5422 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * tabular.C (asciiPrintCell): use string(size, char) instead of
5427 * sgml.C (openTag): fix order of arguments to string constructor
5430 * lyxfunc.C (dispatch): use boost.format
5432 * lots of files: change "c" -> 'c'
5434 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5436 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5438 2002-11-25 Angus Leeming <leeming@lyx.org>
5440 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5442 * lyx_main.C (init): compile fix.
5444 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * lyx_cb.C (start): boost.formatify
5447 do not include <iostream>
5449 * lengthcommon.C: ws only
5451 * boost-inst.C,BoostFormat.h: add more explict instantations
5453 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * lots of files: handle USE_BOOST_FORMAT
5457 2002-11-21 John Levon <levon@movementarian.org>
5459 * pspell.C: fix compile
5461 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5463 * lyxfunc.C (dispatch): use boost::format
5467 * lyxfont.C (stateText): use boost::format
5469 * lyx_main.C (LyX): use boost::format
5471 (queryUserLyXDir): ditto
5474 (typedef boost::function): use the recommened syntax.
5476 * importer.C (Import): use boost::format
5478 * debug.C (showLevel): use boost::format
5480 * converter.C (view): use boost::format
5485 * bufferview_funcs.C (currentState): use boost::format
5487 * bufferlist.C (emergencyWrite): use boost::format
5489 * buffer.C (readLyXformat2): use boost::format
5490 (parseSingleLyXformat2Token): ditto
5492 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5494 * LaTeX.C (run): use boost::format
5496 * Chktex.C (scanLogFile): use boost::format
5498 * BufferView_pimpl.C (savePosition): use boost::format
5499 (restorePosition): ditto
5500 (MenuInsertLyXFile): ditto
5502 * BoostFormat.h: help file for explicit instation.
5504 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5506 * tabular.C (latex): Support for block alignment in fixed width
5509 2002-11-17 John Levon <levon@movementarian.org>
5511 * BufferView_pimpl.C:
5513 * lyxfunc.C: split filedialog into open/save
5515 2002-11-08 Juergen Vigna <jug@sad.it>
5517 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5518 by my last patch (hopefully).
5520 2002-11-08 John Levon <levon@movementarian.org>
5529 * toc.C: ParConstIterator, and use it (from Lars)
5531 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5533 * lyxtextclass.[Ch]: revise and add doxygen comments
5535 2002-11-07 John Levon <levon@movementarian.org>
5537 * text.C: fix progress value for spellchecker
5539 * toc.C: fix navigate menu for insetwrap inside minipage
5541 * paragraph_funcs.C: added FIXME for suspect code
5543 2002-11-07 John Levon <levon@movementarian.org>
5545 * BufferView_pimpl.C: fix redrawing of insets
5548 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5550 * text2.C (updateCounters): fix bug 668
5552 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5554 * text3.C (dispatch): Do not make the buffer dirty when moving the
5557 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * vc-backend.C: STRCONV
5562 * text2.C (setCounter): STRCONV
5564 * paragraph.C (asString): STRCONV
5566 * lyxlength.C (asString): STRCONV
5567 (asLatexString): ditto
5569 * lyxgluelength.C (asString): STRCONV
5570 (asLatexString): ditto
5572 * lyxfunc.C (dispatch): STRCONV
5575 * lyxfont.C (stateText): STRCONV
5577 * importer.C (Import): STRCONV
5579 * counters.C (labelItem): STRCONV
5580 (numberLabel): ditto
5581 (numberLabel): remove unused ostringstream o
5586 * bufferview_funcs.C (currentState): STRCONV
5588 * buffer.C (readFile): STRCONV
5589 (asciiParagraph): ditto
5590 (makeLaTeXFile): ditto
5592 * Spacing.C (writeEnvirBegin): STRCONV
5594 * LaTeXFeatures.C (getLanguages): STRCONV
5595 (getPackages): ditto
5597 (getBabelOptions): ditto
5598 (getTClassPreamble): ditto
5599 (getLyXSGMLEntities): ditto
5600 (getIncludedFiles): ditto
5604 (scanAuxFile): ditto
5607 * LString.h: add the STRCONV macros
5609 * BufferView_pimpl.C (savePosition): STRCONV
5610 (restorePosition): ditto
5611 (MenuInsertLyXFile): ditto
5613 * vc-backend.C (scanMaster): change from submatch[...] to
5616 * funcrequest.C: include config.h
5618 * factory.C: include config.h
5620 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5622 * box.C: include config.h
5624 * LaTeX.C (scanAuxFile): change from submatch[...] to
5628 2002-10-25 Angus Leeming <leeming@lyx.org>
5630 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5632 * ispell.[Ch] (setError): new method.
5633 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5634 Use setError() insetead of goto END.
5636 * lyx_cb.C (AutoSave): move out child process into new class
5639 2002-10-30 John Levon <levon@movementarian.org>
5641 * text3.C: make start appendix undoable
5643 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5645 * lyxlength.C (inPixels): Fix returned value.
5647 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5650 2002-10-24 Angus Leeming <leeming@lyx.org>
5652 * lyxgluelength.h: no need to forward declare BufferParams
5653 or BufferView, so don't.
5655 2002-10-21 John Levon <levon@movementarian.org>
5657 * BufferView.C: menuUndo ->undo, redo
5659 * BufferView.h: document, remove dead, make some methods private
5661 * paragraph_funcs.h:
5662 * paragraph_funcs.C:
5663 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5668 * sgml.C: move sgml open/close tag into sgml.C
5670 * bufferview_funcs.h: unused prototype
5673 * lyxfunc.C: remove unused
5676 * text.C: remove unused
5678 2002-10-21 John Levon <levon@movementarian.org>
5682 * BufferView_pimpl.h:
5683 * BufferView_pimpl.C: fix mouse wheel handling based on
5684 patch from Darren Freeman
5686 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5688 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5690 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5692 * lyxlength.C (inPixels): Fix hanfling of negative length.
5693 Fix LyXLength::MU case.
5695 2002-10-16 John Levon <levon@movementarian.org>
5697 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5699 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5701 * converter.C (view): add support for $$i (file name) and $$p
5702 (file path) for the viewer command. If $$i is not specified, then
5703 it is appended to the command (for compatibility with old syntax)
5705 2002-10-14 Juergen Vigna <jug@sad.it>
5707 * undo_funcs.C (textHandleUndo): alter the order in which the
5708 new undopar is added to the LyXText, as we have to set first
5709 the right prev/next and then add it as otherwise the rebuild of
5710 LyXText is not correct. Also reset the cursor to the right paragraph,
5711 with this IMO we could remove the hack in "redoParagraphs()".
5713 2002-10-09 Angus Leeming <leeming@lyx.org>
5715 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5716 to turn off an optimisation if a new inset is to be inserted.
5718 2002-10-11 André Pönitz <poenitz@gmx.net>
5720 * lyxtext.h: make some functions public to allow access
5721 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5723 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5725 * text3.C (dispatch): when changing layout, avoid an infinite loop
5728 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5730 * lyxrc.C (read): treat a viewer or converter command of "none" as
5733 * MenuBackend.C (expandFormats): for an update, also allow the
5734 formats that are not viewable
5736 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5737 script if it is newer than the lyxrc.defaults in user directory
5739 2002-10-07 André Pönitz <poenitz@gmx.net>
5741 * text.C: Vitaly Lipatov's small i18n fix
5743 2002-09-25 Angus Leeming <leeming@lyx.org>
5745 * ispell.h: doxygen fix.
5747 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5749 * buffer.h (readFile): Add a new argument to the method, to allow
5750 reading of old-format templates.
5752 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5754 * toc.C (getTocList): Get TOC from InsetWrap.
5756 2002-09-16 John Levon <levon@movementarian.org>
5758 * lyxfunc.C: check tabular for cut/copy too
5760 2002-09-12 John Levon <levon@movementarian.org>
5765 * factory.C: add header
5767 * paragraph_funcs.h:
5768 * paragraph_funcs.C: cleanup
5770 2002-09-11 John Levon <levon@movementarian.org>
5772 * PrinterParams.h: odd/even default to true
5774 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5776 * PrinterParams.h: update printer parameters for new xforms dialog
5778 2002-09-11 Angus Leeming <leeming@lyx.org>
5780 * lyxserver.C (read_ready): re-write to make it more transparent
5781 and to make it work in coherent fashion under Tru64 Unix.
5783 2002-09-11 André Pönitz <poenitz@gmx.net>
5787 * text3.C: implement LFUN_WORDSEL
5789 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5792 make floatlist_ a boost::shared_ptr<FloatList>
5794 * lyxtextclass.C: include FloatList.h
5795 (LyXTextClass): initialize floatlist_
5796 (TextClassTags): add TC_NOFLOAT
5797 (Read): match "nofloat" to TC_NOFLOAT and use it.
5798 (readFloat): modify call to floatlist_
5802 * FloatList.[Ch] (FloatList): remove commented out float
5804 (erase): new function
5806 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5808 * MenuBackend.C (expandToc): fix crash when there is no document
5811 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5813 * many files: Add insetwrap.
5815 2002-09-09 John Levon <levon@movementarian.org>
5817 * text2.C: remove confusing and awkward depth wraparound
5819 2002-09-09 John Levon <levon@movementarian.org>
5821 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5824 * buffer.C: remove getIncludeonlyList()
5827 * lyxfunc.C: remove headers
5829 2002-09-09 Juergen Vigna <jug@sad.it>
5831 * text.C (getColumnNearX): fix form Michael this is most
5832 probably a cut&paste bug.
5834 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5836 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5838 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5839 references, ws changes.
5841 * text2.C (init): update counters after init
5842 (insertParagraph): no need to set counter on idividual paragraphs.
5843 (setCounter): access the counters object in the textclass object
5844 on in the buffer object.
5845 (updateCounters): ditto
5847 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5848 shared_ptr<Counters> to avoid loading counters.h in all
5850 (LyXTextClass): initialize ctrs_
5851 (TextClassTags): add TC_COUNTER, and ...
5852 (Read): use it here.
5853 (CounterTags): new tags
5854 (readCounter): new function
5855 (counters): new funtion
5856 (defaultLayoutName): return a const reference
5858 * counters.C (Counters): remove contructor
5859 (newCounter): remove a couple of unneeded statements.
5860 (newCounter): simplify a bit.
5861 (numberLabel): some small formatting changes.
5863 * buffer.[Ch]: remove all traces of counters, move the Counters
5864 object to the LyXTextClass.
5866 2002-09-06 Alain Castera <castera@in2p3.fr>
5868 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5869 package to set the horizontal alignment on fixed width columns.
5872 * lyx_sty.h: added tabularnewline macro def.
5874 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5876 2002-09-06 John Levon <levon@movementarian.org>
5878 * LyXAction.C: tooltips for sub/superscript
5880 * MenuBackend.C: a bit more verbose
5882 * lyxfunc.C: tiny clean
5884 * undo_funcs.C: document undo_frozen
5886 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5888 * counters.C (Counters): add missing algorithm counter.
5890 * text2.C (setCounter): lookup the counter with layouts latexname
5891 instead of by section number.
5892 (setCounter): use a hackish way to lookup the correct enum
5894 a float name->type change
5895 reset enum couners with counter name directly instead of depth value.
5897 * counters.C (Counters): remove the push_backs, change to use the
5898 float type not the float name.
5899 (labelItem): remove unused string, float name->type change
5901 * counters.h: don't include vector, loose the enums and sects vectors
5903 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5905 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5906 (Read): add float->TC_FLOAT to textclassTags
5907 (Read): and handle it in the switch
5908 (readFloat): new function
5910 * FloatList.C (FloatList): comment out the hardcoded float
5913 * lyxlayout.h: ws change.
5915 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5917 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5919 2002-09-03 Angus Leeming <leeming@lyx.org>
5921 * BufferView_pimpl.h: qualified name is not allowed in member
5922 declaration: WorkArea & Pimpl::workarea() const;
5924 * factory.C: added using std::endl directive.
5926 * text3.C: added using std::find and std::vector directives.
5928 2002-08-29 André Pönitz <poenitz@gmx.net>
5931 * text2.C: remove unused member number_of_rows
5934 * BufferView2.C: remove file, move contents to...
5935 * BufferView.C: ... here
5937 * BufferView_pimpl.C:
5938 * factory.C: move more inset creation to factory
5940 * vspace.C: avoid direct usage of LyXText, ws changes
5943 don't provide direct access to WorkArea, use two simple
5944 acessors haveSelction() and workHeight() instead
5947 2002-08-29 John Levon <levon@movementarian.org>
5949 * BufferView_pimpl.C (dispatch): do not continue when
5952 2002-08-28 André Pönitz <poenitz@gmx.net>
5954 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5957 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5959 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5961 * buffer.C: increment LYX_FORMAT to 221
5963 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5964 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5966 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5968 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5970 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5972 * factory.C (createInset): use LyXTextClass::floats
5974 * MenuBackend.C (expandFloatListInsert):
5975 (expandFloatInsert):
5978 * text2.C (setCounter):
5980 * LaTeXFeatures.C (useFloat):
5981 (getFloatDefinitions):
5983 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5985 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5986 floatlist_, with accessor floats().
5988 * FloatList.h: remove global FloatList
5990 2002-08-26 André Pönitz <poenitz@gmx.net>
5992 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5996 * BufferView_pimpl.C:
5997 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5999 2002-08-25 John Levon <levon@movementarian.org>
6001 * LyXAction.C: fix margin note description
6003 2002-08-24 John Levon <levon@movementarian.org>
6007 * bufferview_funcs.C:
6009 * undo_funcs.C: cleanups
6011 * lyxfunc.C: disable CUT/COPY when no selection
6013 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6015 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6016 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6018 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6019 Add backward compatibility to "mono", "gray" and "no".
6021 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6023 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6024 (and file_format >= 200).
6026 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6028 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6030 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6032 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6034 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6036 * BufferView_pimpl.C:
6043 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6044 inset and code to make it work with the paragraph code. The inset
6045 can be anywhere in the paragraph, but will only do the expected
6046 thing in LaTeX if the layout file contains the parameter line
6048 (or more generally, a nonzero value) for that layout.
6050 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * paragraph.h: remove the declaration of undefined counters class
6055 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6057 * text2.C (setCounter): fixed enumeration mis-count as reported by
6058 Dr. Richard Hawkins.
6060 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6062 * paragraph_funcs.h: remove some unneeded includes
6064 * text.C (backspace): pasteParagraph now in global scipe
6066 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6067 (pasteSelection): ditto
6069 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6070 * paragraph_funcs.C (pasteParagraph): ... here
6072 2002-08-20 André Pönitz <poenitz@gmx.net>
6074 * commandtags.h: new LFUNs for swapping/copying table row/colums
6077 * lyxfunc.C: support for new lfuns
6079 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * buffer.[Ch]: remove NO_COMPABILITY stuff
6084 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * boost.C (throw_exception): new file, with helper function for
6087 boost compiled without exceptions.
6092 * ParameterStruct.h:
6093 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6095 * bufferlist.C (emergencyWriteAll): use boost bind
6097 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6099 * text.C: include paragraph_funcs.h
6100 (breakParagraph): breakParagraph is now in global scope
6102 * paragraph_funcs.[Ch]: new files
6104 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6107 * buffer.C: include paragraph_funcs.h
6108 (insertStringAsLines): breakParagraph is now in global scope
6110 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6113 * CutAndPaste.C: include paragraph_funcs.h
6114 (cutSelection): breakParagraphConservative is now in global scope
6115 (pasteSelection): ditto
6117 * buffer.h: declare oprator== and operator!= for
6118 Buffer::inset_iterator
6120 * bufferlist.C (emergencyWrite): don't use fmt(...)
6122 * text3.C: add using std::endl
6124 * BufferView.C (moveCursorUpdate): remove default arg
6126 2002-08-20 André Pönitz <poenitz@gmx.net>
6128 * buffer.[Ch]: move inline functions to .C
6131 * BufferView_pimpl.C:
6133 * buffer.[Ch]: use improved inset_iterator
6136 * paragraph.[Ch]: write one paragraph at a time
6138 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6140 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6141 style if style is not specified.
6143 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6145 * text2.C (setCounter): when searching for right label for a
6146 caption, make sure to recurse to parent insets (so that a caption
6147 in a minipage in a figure float works) (bug #568)
6149 2002-08-20 André Pönitz <poenitz@gmx.net>
6151 * text3.C: new file for LyXText::dispatch() and helpers
6153 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6155 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6157 2002-08-19 André Pönitz <poenitz@gmx.net>
6160 * text.C: new LyXText::dispatch()
6162 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6164 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6166 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6168 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6171 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6173 * Makefile.am: use $(variables) instead of @substitutions@
6175 2002-08-15 André Pönitz <poenitz@gmx.net>
6178 * BufferView_pimpl.C: streamlining mathed <-> outer world
6182 * LyXAction.C: remove unused LFUN_MATH
6184 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6188 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * paragraph.C (Paragraph): reformat a bit
6191 (cutIntoMinibuffer): use builtin InsetList function instad of
6195 * buffer.C: include boost/bind.hpp, add using std::for_each
6196 (writeFileAscii): use ParagraphList iterators
6197 (validate): use for_each for validate traversal of paragraphs
6198 (getBibkeyList): use ParagraphList iterators
6199 (resizeInsets): use for_each to resizeInsetsLyXText for all
6201 (getParFromID): use ParagraphList iterators
6203 * BufferView2.C (lockInset): use paragraph list and iterators
6205 2002-08-14 John Levon <levon@movementarian.org>
6207 * lyxserver.C: remove spurious xforms include
6209 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6211 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6213 2002-08-13 André Pönitz <poenitz@gmx.net>
6216 * lyxfunc.C: further cleaning
6218 2002-08-13 André Pönitz <poenitz@gmx.net>
6220 * funcrequest.h: new constructor
6222 * funcrequest.C: move stuff here from .h
6225 * BufferView_pimpl.C:
6228 * lyxfunc.C: subsequent changes
6230 * lyxfunc.h: new view() member function
6232 * lyxfunc.C: subsequent changes
6234 2002-08-13 Angus Leeming <leeming@lyx.org>
6237 * BufferView_pimpl.C:
6245 changes due to the changed LyXView interface that now returns references
6246 to member variables not pointers.
6248 2002-08-13 Angus Leeming <leeming@lyx.org>
6250 * WordLangTuple (word, lang_code): return references to strings,
6255 * lyxtext.h: forward-declare WordLangTuple.
6260 * text.C: #include "WordLangTuple.h".
6263 * text.C: (selectNextWordToSpellcheck): constify return type.
6265 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6271 * paragraph_pimpl.h:
6274 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6276 Made updateCounter always count from start of buffer, and removed
6277 second argument (par).
6278 Reverted floats number display to '#'. Perhaps I'll try again when the
6279 code base is sanitized a bit.
6281 2002-08-12 Angus Leeming <leeming@lyx.org>
6283 * buffer.[Ch] (getLabelList): constify.
6285 2002-08-07 André Pönitz <poenitz@gmx.net>
6287 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6289 * funcrequest.h: extension to keep mouse (x,y) position
6291 2002-08-12 Juergen Vigna <jug@sad.it>
6293 * BufferView2.C (insertErrors): forbid undo when inserting error
6296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6298 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * ParagraphList.[Ch]: new files
6302 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6304 * BufferView2.C (lockInset): ParagraphList changes
6307 * bufferlist.C: ditto
6311 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6313 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6314 unused class variable counter_,
6316 * paragraph.[Ch] (getFirstCounter): delete unused function
6318 * counters.C: include LAssert.h
6319 (reset): add a new function with no arg, change other version to
6320 not have def. arg and to not allow empty arg.
6322 * text2.C (setCounter): remove empty arg from call to Counters::reset
6324 2002-08-11 John Levon <levon@movementarian.org>
6326 * Makefile.am: add WordLangTuple.h
6328 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6331 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6333 * insets/insettext.C: InsetList changes
6335 * graphics/GraphicsSupport.C (operator()): InsetList changes
6337 * toc.C (getTocList): InsetList changes
6339 * paragraph_pimpl.[Ch]: InsetList changes
6341 * paragraph.[Ch]: InsetList changes
6343 * buffer.C (inset_iterator): InsetList changes
6344 (setParagraph): ditto
6345 * buffer.h (inset_iterator): ditto
6346 * iterators.C (operator++): ditto
6347 * iterators.h: ditto
6349 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6351 * InsetList.[Ch]: new files, most InsetList handling moved out of
6354 * BufferView2.C (removeAutoInsets): InsetList changes
6356 (ChangeInsets): ditto
6358 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6360 * paragraph_pimpl.h (empty): new function
6362 * paragraph.[Ch] (empty): new function
6364 * other files: use the new Paragraph::empty function
6366 2002-08-09 John Levon <levon@movementarian.org>
6368 * lyxtext.h: remove unused refresh_height
6370 2002-08-09 John Levon <levon@movementarian.org>
6377 * paragraph.C: move sgml char escaping out of paragraph
6380 * paragraph.C: remove id setter
6384 * paragraph_pimpl.C: remove dead tex_code_break_column
6386 * bufferview_funcs.C: small cleanup
6388 * lyxfunc.C: remove dead proto
6390 * lyxtext.h: make some stuff private. Remove some dead stuff.
6392 * lyxgluelength.C: make as[LyX]String() readable
6394 2002-08-08 John Levon <levon@movementarian.org>
6399 * ToolbarDefaults.C:
6402 * toc.C: lyxaction cleanup
6404 2002-08-08 John Levon <levon@movementarian.org>
6406 * BufferView2.C: small cleanup
6409 * lyxfind.C: move unnecessary header into the .C
6411 2002-08-08 John Levon <levon@movementarian.org>
6413 * funcrequest.h: just tedious nonsense
6416 * lyx_main.C: cleanups
6419 * vspace.C: remove dead header lyx_main.h
6421 2002-08-07 Angus Leeming <leeming@lyx.org>
6424 * paragraph_pimpl.h:
6425 Forward declare class Counters in paragraph.h by moving the ctrs member
6426 variable into Paragraph::Pimpl.
6427 (counters): new method, returning a reference to pimpl_->ctrs.
6429 * text2.C: ensuing changes.
6431 2002-08-07 John Levon <levon@movementarian.org>
6433 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6435 * BufferView_pimpl.C: announce X selection on double/triple
6438 * lyx_main.C: use correct bool in batch dispatch
6440 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6442 2002-08-07 André Pönitz <poenitz@gmx.net>
6444 * funcrequest.h: new class to wrap a kb_action and its argument
6447 * BufferView_pimpl[Ch]:
6451 * lyxrc.C: subsequent changes
6454 2002-08-07 John Levon <levon@movementarian.org>
6456 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6457 document options change.
6459 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6464 * makefile.am: move counters functionality over from
6465 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6467 2002-08-06 John Levon <levon@movementarian.org>
6469 * WordLangTuple.h: new file for word + language code tuple
6480 * BufferView2.C: use WordLangTuple
6483 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6485 2002-08-06 John Levon <levon@movementarian.org>
6487 * lyx_main.C: fix cmdline batch handling
6489 2002-08-06 André Pönitz <poenitz@gmx.net>
6491 * lyxrc.C: set default for show_banner to true
6493 2002-08-06 John Levon <levon@movementarian.org>
6495 * pspell.C: fix a crash, and allow new aspell to work
6497 2002-08-06 John Levon <levon@movementarian.org>
6500 * kbmap.C: small cleanup
6503 * vspace.C: add const
6505 2002-08-05 John Levon <levon@movementarian.org>
6507 * LyXAction.C: back to tabular-insert
6509 2002-08-04 John Levon <levon@movementarian.org>
6512 * BufferView.C: cosmetic change
6514 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6524 * BufferView2.C: purge all "Lyx" not "LyX" strings
6527 * lyxcursor.C: attempt to add some documentation
6532 * ToolbarDefaults.C:
6533 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6534 merge with LFUN_TABULAR_INSERT
6541 * pspell.C: split up i/pspell implementations into separate
6542 files, many cleanups
6544 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6546 * text2.C: some cleanup
6548 * lyxfunc.C: don't check for isp_command == "none" any more, it
6549 didn't make any sense
6551 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6556 * makefile.am: move counters functionality over
6557 from text2.C/paragraph.[Ch] to counters.[Ch], and
6559 2002-08-02 John Levon <levon@movementarian.org>
6561 * buffer.C: s/lyxconvert/lyx2lyx/
6563 2002-08-02 Angus Leeming <leeming@lyx.org>
6565 * lyxlex.C: revert John's change as it breaks reading of the user
6568 2002-08-02 Angus Leeming <leeming@lyx.org>
6570 * importer.C (Import):
6571 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6572 changes due to LyXView::view() now returning a boost::shared_ptr.
6574 2002-08-02 John Levon <levon@movementarian.org>
6576 * lyxlex.C: small cleanup
6578 2002-08-02 John Levon <levon@movementarian.org>
6580 * text2.C (status): small cleanup, no logic change
6582 2002-08-01 John Levon <levon@movementarian.org>
6585 * buffer.C (writeFile): don't output alerts, caller
6589 * lyx_cb.C: from above
6591 * lyxfunc.C: allow to open non-existent files
6593 2002-07-31 John Levon <levon@movementarian.org>
6595 * lyxserver.C: don't let incidental errors get
6598 2002-07-30 John Levon <levon@movementarian.org>
6600 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6602 2002-07-30 John Levon <levon@movementarian.org>
6605 * lyxserver.C: remove I/O callback too
6607 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6609 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6612 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * many files: strip,frontStrip -> trim,ltrim,rtrim
6616 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * PrinterParams.h: remove extern containsOnly, and include
6619 support/lstrings.h instead.
6621 * LaTeX.C (scanAuxFile): modify because of strip changes
6623 * buffer.C (makeLaTeXFile): ditto
6624 * bufferparams.C (writeFile): ditt
6625 * lyxfont.C (stateText): ditto
6626 * lyxserver.C (read_ready): ditto
6627 * vc-backend.C (scanMaster): ditto
6629 * BufferView_pimpl.h: ws changes
6631 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6633 2002-07-26 André Pönitz <poenitz@gmx.net>
6635 * kb_sequence.C: remove unnedred usings
6637 2002-07-26 Juergen Vigna <jug@sad.it>
6639 * lyxfind.C (LyXReplace): we have to check better if the returned
6640 text is not of theLockingInset()->getLockingInset().
6642 2002-07-25 Juergen Vigna <jug@sad.it>
6644 * lyxfind.C (LyXReplace): don't replace if we don't get the
6647 * undo_funcs.C (createUndo): remove debugging code.
6649 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6651 * buffer.C (parseSingleLyXformat2Token): Use default placement
6652 when reading old floats.
6654 * FloatList.C (FloatList): Change the default placement of figure
6655 and tables to "tbp".
6657 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6659 * MenuBackend.C: using std::max
6661 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6663 * MenuBackend.C (expandToc):
6664 (expandToc2): code moved from xforms menu frontend. It is now
6665 generic and TOCs are transparent to menu frontends.
6667 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6669 * toc.C (getTocList): protect against buf=0
6671 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6672 Menu as first parameter. Now, this calls itself recursively to
6673 expand a whole tree (this will be useful for TOC handling)
6674 (expandFloatInsert): remove 'wide' version of floats
6676 * MenuBackend.h (submenuname): returns the name of the submenu.
6677 (submenu): returns the submenu itself, provided it has been
6678 created by MenuBackend::expand
6680 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6682 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6683 insets which have noFontChange == true. (bug #172)
6685 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6687 * BufferView_pimpl.C: add connection objects and use them...
6690 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6692 * MenuBackend.C (expandLastfiles):
6695 (expandFloatListInsert):
6696 (expandFloatInsert):
6697 (expand): split expand in parts
6699 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6701 * lyx_gui.C: use lyx_gui::exit()
6703 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6705 * LyXAction.C: show the failing pseudo action
6707 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6709 * buffer.C (readFile): Run the lyxconvert script in order to read
6712 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6716 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6718 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6722 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6724 2002-07-22 Herbert Voss <voss@lyx.org>
6727 * lyxlength.[Ch]: add support for the vertical lengths
6729 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6731 * toc.[Ch]: std:: fixes
6733 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6735 * lyxrc.C: do not include lyx_main.h
6737 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6743 * BufferView2.C: include "lyxlex.h"
6746 * bufferparams.h: do not #include "lyxlex.h"
6748 * lyxtextclasslist.C (Add): remove method
6749 (classlist): renamed to classlist_
6751 * paragraph_pimpl.C:
6755 * bufferview_funcs.C:
6760 * toc.C (getTocList): use BufferParams::getLyXTextClass
6762 * toc.C (getTocList): use InsetFloat::addToToc
6764 * toc.[Ch]: new files, containing helper functions to handle table
6767 * lyxfunc.C (dispatch): no need to remove spaces around command
6769 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6770 first command of the sequence; it is not very clever, but I do not
6771 have a better idea, actually
6773 * LyXAction.C (LookupFunc): make sure to remove space at the
6774 beginning and end of the command
6776 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6778 * MenuBackend.C (getMenubar): new method: return the menubar of
6780 (read): treat differently reading of menu and menubar (in
6781 particular, the menubar has no name now)
6782 (Menu::menubar): remove
6784 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6787 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6789 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6790 a bibitem inset in a RTL paragraph.
6792 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6794 * paragraph_pimpl.C: constify
6796 * BufferView_pimpl.C:
6798 * lyxfunc.C: fix dispatch in a nicer way
6800 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6802 * lyxfunc.C (dispatch):
6803 * BufferView_pimpl.C:
6804 * BufferView_pimpl.h:
6806 * BufferView.h: rename Dispatch() to dispatch()
6808 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6810 * lyxlayout.C (Read): honor DependsOn tag
6812 * lyxlayout.[Ch] (depends_on): new method
6814 * version.C.in: update lyx_docversion
6816 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6818 * paragraph.C (validate): remove from here...
6819 * paragraph_pimpl.C (validate): ... and move here
6820 (isTextAt): make it const
6822 * buffer.C (getLists): ws cleanup
6824 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6826 * language.C (read): Use iso8859-1 encoding in latex_lang
6827 (this prevents LyX from crashing when using iso10646-1 encoding).
6829 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6831 * text2.C (toggleInset): if cursor is inside an inset, close the
6832 inset and leave cursor _after_ it
6834 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6836 * lyxfunc.C: move minibuffer completion handling out of here
6838 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6840 * BufferView_pimpl.C:
6841 * LaTeX.C: fix dispatch calls
6843 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6845 * text.C (drawChars): Fix Arabic text rendering.
6847 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6851 * lyxfunc.C: remove message-push/pop
6855 * lyxfunc.C: rationalise some code by removing verboseDispatch
6856 in favour of a bool argument to dispatch()
6858 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6860 * lyx_main.C (init): make sure to read symlinks as absolute paths
6862 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6865 * lyxfunc.C: no need for commandshortcut to be a member
6867 2002-07-15 André Pönitz <poenitz@gmx.net>
6869 * converter.C: add support for $$s (scripts from lib/scripts dir)
6870 * lyx_main.C: white space
6872 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6876 * lyxrc.C: remove second exit confirmation
6878 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6883 * BufferView_pimpl.h:
6884 * BufferView_pimpl.C:
6885 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6887 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * MenuBackend.C (expand): add numeric shortcuts to document menu
6891 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6893 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6895 * lyxfont.C (setLyXFamily):
6902 * buffer.C (asciiParagraph): use ascii_lowercase
6904 2002-07-15 Mike Fabian <mfabian@suse.de>
6906 * lyxlex_pimpl.C (search_kw):
6907 * lyxlex.C (getLongString):
6908 * converter.h (operator<):
6909 * converter.C (operator<):
6910 * buffer.C (parseSingleLyXformat2Token):
6912 * ToolbarDefaults.C (read):
6913 * MenuBackend.C (checkShortcuts):
6915 * LColor.C (getFromGUIName):
6916 (getFromLyXName): use the compare_ascii_no_case instead of
6917 compare_no_case, because in turkish, 'i' is not the lowercase
6918 version of 'I', and thus turkish locale breaks parsing of tags.
6920 2002-07-16 Angus Leeming <leeming@lyx.org>
6922 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6923 now takes a Buffer const & argument.
6925 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6927 * BufferView.C (resize): check there's a buffer to resize
6929 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6931 * lyxfunc.C: remove dead code
6934 * lyxserver.C: use lyx_guii::set_read_callback
6936 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6938 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6939 an inset in a RTL paragraph.
6941 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6943 * lyxfunc.C: repaint after a font size update
6945 2002-07-15 André Pönitz <poenitz@gmx.net>
6947 * lyxlength.C: inBP should be able to return negative values
6949 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6951 * lyxfunc.C: use lyx_gui::update_fonts()
6953 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6955 * lyxfunc.C: use lyx_gui::update_color()
6957 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6963 * lyxrc.C: remove file->new asks for name option, and let
6964 buffer-new take an argument
6966 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6968 * BufferView_pimpl.C: remove unneeded extra repaint()
6970 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6972 * LyXAction.C: allow command-sequence with NoBuffer
6974 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6976 2002-07-10 Angus Leeming <leeming@lyx.org>
6978 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6980 2002-07-09 Angus Leeming <leeming@lyx.org>
6982 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6984 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6986 * lengthcommon.h: whitespace
6988 * lyxfunc.C: update scrollbar after goto paragraph
6990 * lyxtext.h: factor out page break drawing, and fix it so
6991 page break/added space paints as selected nicely
6993 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6995 * BufferView_pimpl.C: add FIXMEs, clean up a little
6997 2002-07-09 André Pönitz <poenitz@gmx.net>
6999 * lyxfont.[Ch]: support for wasy symbols
7001 2002-07-08 André Pönitz <poenitz@gmx.net>
7003 * BufferView_pimpl.C: apply John's patch for #93.
7005 2002-07-05 Angus Leeming <leeming@lyx.org>
7007 * BufferView_pimpl.C (buffer): generate previews if desired.
7009 * LColor.h: add "preview" to the color enum.
7011 * LColor.C (LColor): add a corresponding entry to the items array.
7013 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7016 2002-07-05 Angus Leeming <leeming@lyx.org>
7018 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7019 The body of the code is now in the method that is passed an ostream &
7020 rather than a file name.
7021 Pass an additional only_preamble parameter, useful for the forthcoming
7024 2002-07-03 André Pönitz <poenitz@gmx.net>
7026 * lyxfunc.C: simplify getStatus() a bit for math stuff
7028 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7030 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7032 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7034 * text.C (changeRegionCase): do not change case of all the
7035 document when region ends at paragraph end (bug #461)
7037 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7039 * paragraph.C (startTeXParParams):
7040 (endTeXParParams): add \protect when necessary
7042 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7044 * BufferView_pimpl.C (workAreaExpose): remove warning
7046 2002-06-27 Angus Leeming <leeming@lyx.org>
7048 * Makefile.am: add lyxlayout_ptr_fwd.h.
7050 2002-06-26 André Pönitz <poenitz@gmx.net>
7052 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7054 2002-06-25 Angus Leeming <leeming@lyx.org>
7056 * lyxfunc.C (dispatch): Comment out the call to
7057 grfx::GCache::changeDisplay. The method no longer exists now that the
7058 pixmap generation part of the graphics loader has been moved into
7061 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7063 * text2.C: layout as layout
7065 * text.C: layout as layout
7067 * tabular.C (OldFormatRead): layout as layout
7069 * paragraph_pimpl.C (TeXDeeper): layout as layout
7070 (realizeFont): layout as layout
7072 * paragraph.C (writeFile): layout as layout
7073 (validate): layout as layout
7074 (getFont): layout as layout
7075 (getLabelFont): layout as layout
7076 (getLayoutFont): layout as layout
7077 (breakParagraph): layout as layout
7078 (stripLeadingSpaces): layout as layout
7079 (getEndLabel): layout as layout
7080 (getMaxDepthAfter): layout as layout
7081 (applyLayout): layout as layout
7082 (TeXOnePar): layout as layout
7083 (simpleTeXOnePar): layout as layout
7084 (TeXEnvironment): layout as layout
7085 (layout): layout as layout
7086 (layout): layout as layout
7088 * lyxtextclass.C (compare_name): new functor to work with
7089 shared_ptr, layout as layout
7090 (Read): layout as layout
7091 (hasLayout): layout as layout
7092 (operator): layout as layout
7093 (delete_layout): layout as layout
7094 (defaultLayout): layout as layout
7096 * lyxlayout_ptr_fwd.h: new file
7098 * lyxlayout.C (Read): layout as layout
7100 * lyx_cb.C (MenuInsertLabel): layout as layout
7102 * bufferlist.C (newFile): layout as layout
7104 * buffer.C (readLyXformat2): layout as layout
7105 (parseSingleLyXformat2Token): layout as layout
7106 (insertStringAsLines): layout as layout
7107 (asciiParagraph): layout as layout
7108 (latexParagraphs): layout as layout
7109 (makeLinuxDocFile): layout as layout
7110 (simpleLinuxDocOnePar): layout as layout
7111 (makeDocBookFile): layout as layout
7112 (simpleDocBookOnePar): layout as layout
7113 (getLists): layout as layout
7115 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7117 * CutAndPaste.C (cutSelection): layout as layout
7118 (pasteSelection): layout as layout
7119 (SwitchLayoutsBetweenClasses): layout as layout
7121 * BufferView_pimpl.C (Dispatch): layout as layout
7122 (smartQuote): layout as layout
7124 * BufferView2.C (unlockInset): layout as layout
7126 2002-06-24 André Pönitz <poenitz@gmx.net>
7128 * lyxfunc.C: fix #487
7130 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7134 * lyxfunc.C: remove display_shortcuts, show_banner
7136 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7138 * Buffer_pimpl.C: oops, update on resize
7140 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7147 * BufferView.C: use repaint()
7149 * BufferView_pimpl.h:
7150 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7151 as it's a clearer description. Remove superfluous
7154 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7156 * text.C: fix bug 488. Not ideal, but getting
7157 getWord() to work properly for the insets that
7158 matter is more difficult ...
7160 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7162 * BufferView_pimpl.C:
7165 * lyxfunc.C: remove the six million index lyxfuncs to just
7166 one, and DTRT (bug 458)
7168 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7172 * BufferView_pimpl.h:
7173 * BufferView_pimpl.C: clean up resize() stuff,
7174 and unnecessary updateScreen()s
7176 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7180 * BufferView_pimpl.h:
7181 * BufferView_pimpl.C:
7184 * minibuffer.C: remove focus management of workarea,
7185 not needed. Use screen's greyOut()
7187 2002-06-17 Herbert Voss <voss@lyx.org>
7189 * converter.C: (convert) do not post a message, when converting
7190 fails, let the calling function decide what to do in this case
7192 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7194 * lyxfunc.C: tidy up a little
7196 2002-06-16 <alstrup@diku.dk>
7198 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7199 Got rid of FORMS_H_LOCATION include. Now we are
7202 2002-06-15 LyX Development team <lyx@rilke>
7204 * buffer.[Ch] (sgmlOpenTag):
7205 (sgmlCloseTag): Added support for avoiding pernicious mixed
7206 content. Return number of lines written.
7209 (makeDocBookFile): Fixed calls to sgml*Tag.
7210 Simple white space clean.
7212 (simpleDocBookOnePar): Simple white space clean.
7214 * tabular.[Ch] (docBook): Renamed to docbook and got another
7215 argument to related with the pernicious mixed content.
7217 (docbookRow): Fixed calls for docbook inset method.
7219 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7221 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7222 so it's X11 independent.
7226 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7228 2002-06-15 Lyx Development team <lyx@electronia>
7230 * intl.h: Renamed getTrans to getTransManager.
7232 2002-06-14 Angus Leeming <leeming@lyx.org>
7234 * Makefile.am: nuke forgotten stl_string_fwd.h.
7236 2002-06-12 Angus Leeming <leeming@lyx.org>
7238 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7240 2002-06-13 Angus Leeming <leeming@lyx.org>
7243 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7245 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7247 * kbmap.C (getiso): add support for cyrillic and greek
7249 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7253 * BufferView_pimpl.h:
7254 * BufferView_pimpl.C: move bogus scrolling logic
7257 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7260 * BufferView_pimpl.C: view->resize() change
7262 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7264 * BufferView_pimpl.C: topCursorVisible
7267 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7271 * lyx_gui.C: move to frontends/
7275 * lyx_main.C: changes from above
7277 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7284 * lyx_main.C: minor tidy
7286 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7288 * BufferView_pimpl.h:
7289 * BufferView_pimpl.C:
7291 * BufferView.C: make painter() const,
7294 * BufferView2.C: use screen() accessor
7297 * lyx_main.C: some minor cleanup
7299 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7301 * BufferView_pimpl.h:
7302 * BufferView_pimpl.C: remove enter/leaveView,
7305 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7310 * BufferView_pimpl.h:
7311 * BufferView_pimpl.C: only construct screen once,
7314 * lyxrc.C: remove pointless comment
7316 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7319 * BufferView.C: remove active() and belowMouse()
7321 * BufferView_pimpl.h:
7322 * BufferView_pimpl.C: use workarea() not workarea_,
7323 and make it use a scoped_ptr instead
7325 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7327 * lyx_gui.C: add debug message on BadWindow
7329 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7331 * sp_spell.C: fdopen is not part of the C++ standard.
7333 * paragraph.C (InsetIterator): use >= instead of ==
7335 2002-06-07 Angus Leeming <leeming@lyx.org>
7337 Fixes needed to compile with Compaq cxx 6.5.
7338 * BufferView_pimpl.C:
7345 * lyxtextclasslist.C:
7350 all c-library variables have been moved into namespace std. Wrap
7351 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7356 Add a using std::abs declaration.
7358 * kbmap.h (modifier_pair):
7359 * paragraph.h (InsetTable, InsetList):
7360 * lyxfont.h (FontBits):
7361 type definition made public.
7363 * bufferlist.C (emergencyWriteAll): the compiler complains that
7364 there is more than one possible lyx::class_fun template to choose from.
7365 I re-named the void specialisation as lyx::void_class_fun.
7367 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7369 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7370 the compiler is is unable to find tostr in write_attribute.
7372 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7374 * buffer.C (sgmlError): hide #warning
7376 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7378 * xtl/*: get rid of xtl, which is not in use anyway
7380 * LyXAction.C (init):
7381 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7382 were unimplemented xtl experimentation
7384 2002-06-04 André Pönitz <poenitz@gmx.net>
7386 * lyxfunc.C: disable array operation on simple formulae
7388 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7390 * converter.C: constify a bit
7392 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7394 * lyx_gui.C: check xforms version correctly
7396 2002-04-30 Herbert Voss <voss@lyx.org>
7398 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7401 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7403 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7404 attempt to register it with a VCS)
7406 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7408 * lyx_main.C (init): honor variables LYX_DIR_13x and
7411 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7415 * lyx_main.C: fix a crash on bad command line,
7416 and give a useful exit status on error
7418 * lyxfunc.C (doImport): allow -i lyx to work
7420 2002-03-30 André Pönitz <poenitz@gmx.net>
7422 * lyxfunc.C: mathed font changes
7424 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7439 * trans_mgr.h: srcdocs, and some minor cleanups
7441 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7443 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7444 call getFont all the time)
7446 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7448 * switch from SigC signals to boost::signals
7450 2002-05-29 André Pönitz <poenitz@gmx.net>
7452 * paragraph_pimpl.C (getChar): don't call size() too often...
7454 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7456 * paragraph_pimpl.C (insertChar): do not try to update tables when
7457 appending (pos == size())
7459 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7460 in order to reduce drastically the number of comparisons needed to
7461 parse a large document
7463 2002-05-29 André Pönitz <poenitz@gmx.net>
7469 * textclasslist.[Ch]:
7470 * sp_ispell.h: whitespace change
7472 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7474 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7475 lyxaction directly now.
7477 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7481 * lyxvc.C: remove unused headers
7483 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7490 * undo_funcs.C: some cleanups. Use shared_ptr
7491 and a template for the undo stacks.
7493 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7495 * BufferView_pimpl.h:
7496 * BufferView_pimpl.C:
7503 * text2.C: use key_state/mouse_state
7505 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7507 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7510 * chset.C: change include order
7511 (loadFile): use boost regex and get rid of LRegex and LSubstring
7513 * Makefile.am (BOOST_LIBS): new variable
7516 * LaTeX.C: change include order.
7517 (scanAuxFile): use boost regex and get rid of LRegex and
7521 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7526 * FontInfo.C: moved to frontends/xforms/
7529 * FontLoader.C: moved into frontends for GUIIzation
7534 * lyxfunc.C: changes from above
7536 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7538 * LColor.C: remove spurious X include
7540 * BufferView_pimpl.C:
7545 * text2.C: move font metrics to frontends/
7547 2002-05-24 Juergen Vigna <jug@sad.it>
7549 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7550 setting the undo_cursor.
7552 * ParagraphParameters.h: include local includes first.
7554 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7556 * BufferView_pimpl.C:
7557 * BufferView_pimpl.h:
7561 * screen.C: move WorkArea into frontends/
7567 * BufferView2.C: move LyXScreen into frontends/
7571 * lyx_gui.C: move lyxlookup into frontends/xforms/
7573 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7576 * BufferView_pimpl.C:
7586 * bufferview_funcs.C:
7599 * vc-backend.C: move LyX/XFormsView into frontends/
7601 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7613 * text2.C: move Painter to frontends/
7615 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7617 * buffer.C: comment out some some code that depend upon lyx_format
7620 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7621 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7623 * buffer.h (NO_COMPABILITY): turn off compability
7625 * ColorHandler.C: include scoped_array.hpp
7627 * font.C: Use more specific smart_ptr header.
7630 * ShareContainer.h: ditto
7634 * BufferView_pimpl.h: ditto
7635 * ColorHandler.h: ditto
7637 * kbmap.C (defkey): change call to shared_ptr::reset
7639 2002-05-21 Juergen Vigna <jug@sad.it>
7641 * buffer.C (insertErtContents): fix to insert ert asis if it is
7642 non empty. Skip it completely if it contains only whitespaces.
7644 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7646 * BufferView_pimpl.C:
7647 * BufferView2.C: clear selection on paste (bug 393)
7649 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * DepTable.C: include ctime
7653 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7655 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7657 2002-05-14 Juergen Vigna <jug@sad.it>
7659 * text.C (breakParagraph): fixed function to honor the keepempty
7660 layout in the right maner and also to permit the right breaking
7661 algorithm on empty or non empyt keepempty paragraphs.
7663 * paragraph.C (breakParagraph): we have to check also if the par
7664 is really empty (!size()) for isempty otherwise we do the wrong
7667 2002-05-10 Juergen Vigna <jug@sad.it>
7669 * buffer.[Ch] : The following are only changes to the ert
7670 compatibility read reading old LaTeX layout and font stuff and
7671 convert it to ERTInsets.
7673 * buffer.h: added isErtInset().
7675 * buffer.C (struct ErtComp): add a fromlayout bool to check
7676 if we're inside a LaTeX layout.
7677 (isErtInset): new helper function.
7678 (insertErtContents): look for other ert insets before this one
7679 and insert the contents there, so that we don't have subsequent
7680 ERT insets with nothing between them. This way we create only one
7681 inset with multiple paragraphs. Also check if we don't insert only
7682 spaces ' ' as they are ignored anyway afterwards in the .tex file
7683 so if we have only spaces we will ignore this latex part in the
7685 (parseSingleLyXformat2Token \\layout): better compatibility when
7686 reading layout-latex stuff.
7687 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7689 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7690 stuff after reading the inset only get the information back from
7693 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7695 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7697 * LaTeXFeatures.C (getBabelOptions): New method.
7699 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7701 * BufferView_pimpl.C (Dispatch): work around missing argument for
7704 2002-05-08 Juergen Vigna <jug@sad.it>
7706 * text.C (leftMargin): handle paragraph leftindent.
7708 * paragraph.C (writeFile): write the new \\leftindent tag.
7709 (validate): handle leftindent code.
7710 (TeXEnvironment): handle paragraphleftindent code again.
7712 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7714 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7715 for paragrap_extra indent code and new token \\leftindent.
7716 (latexParagraphs): handle the leftindent as environment.
7718 * ParameterStruct.h: added leftindent support.
7720 * ParagraphParameters.C (leftIndent): added support functions for
7721 the paragraph left indent.
7723 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7726 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7728 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7731 * text.C (computeBidiTables): No bidi in insetERT.
7733 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7736 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * version.C.in: pre 5
7740 2002-05-02 José Matos <jamatos@fep.up.pt>
7741 * buffer.C (makeDocBookFile): white space changes, add newline to
7743 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7745 * tabular.C (docBook): fix typo.
7747 2002-05-03 Juergen Vigna <jug@sad.it>
7749 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7750 change in LyXText as we can not be sure it was not freed.
7751 (drawOneRow): remove unused code.
7753 * text.C (drawInset): redo the calculation of the need_break_row as
7754 it could have a row which was already freed.
7755 (draw): look at the return value of drawInset and return false if
7756 it also returned false.
7757 (paintRowText): look at the return value of draw and return false if
7758 it also returned false.
7760 * lyxtext.h: added bool return type to drawInset() and draw() so that
7761 if we have a change in the row so that the rowbreak has to be redone
7762 we abort drawing as it will be called again.
7764 2002-05-02 Juergen Vigna <jug@sad.it>
7766 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7767 a change in the maintext also if we're inside an inset.
7768 (Dispatch): set the cursor again after a break line and after the
7769 screen has been updated as it could be we're in a different row.
7771 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7772 to set the cursor behind the pargraph with > size().
7773 (setCursor): check also for the same paragraph when checking where
7774 to put the cursor if we have a NFR inset.
7776 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7777 parts of layout read further up as it still was in the wrong
7780 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7782 * screen.C (drawFromTo): change sine fullRebreak always return
7785 * buffer.C (parseSingleLyXformat2Token): reindent some
7787 * BufferView_pimpl.C (update): change since fullRebreak always
7789 (Dispatch): git rid of the last hardcoded "Standard"s.
7791 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7793 * text2.[Ch] (fullRebreak): make it return void now that we always
7796 2002-04-30 Juergen Vigna <jug@sad.it>
7798 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7799 ert compatibility check for "latex" layout.
7801 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7803 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7804 minipages: use col% instead of p%, and also use the current font.
7805 (makeLaTeXFile): Fix use babel condition.
7806 (parseSingleLyXformat2Token): Correct font when reading old floats.
7808 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7810 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7811 inserting list of floats.
7813 2002-04-25 Herbert Voss <voss@lyx.org>
7815 * MenuBackend.C (expand): don't add the graphics extensions to the
7818 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7821 non-existing layout, do not complain if it was the default layout
7822 of the original class (bug #342)
7824 2002-04-24 Juergen Vigna <jug@sad.it>
7826 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7827 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7829 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7831 * buffer.C (getBibkeyList): If using \bibliography, return the
7832 option field with the reference itself. Enables us to provide natbib
7833 support when using \bibliography.
7835 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7837 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7839 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7840 natbib is provided by the LaTeX class.
7842 2002-04-23 Juergen Vigna <jug@sad.it>
7844 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7847 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7849 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7853 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7854 ensuremath around textordmasculine, textordfeminine and
7857 2002-04-19 Juergen Vigna <jug@sad.it>
7859 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7860 reinitializing the buffer otherwise row-dimensions may be wrong.
7861 (update): reset also the selection cursors if they do exits otherwise
7862 their x/y positions may be wrong.
7864 * text2.C (cursorDown): don't enter the inset if we came from a row
7865 above and are one row over the inset.
7867 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7868 really leaving an inset.
7870 2002-04-18 Juergen Vigna <jug@sad.it>
7872 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7873 of the selected paragraph does not have the selected layout also if
7876 * text2.C (setLayout): fixed bug which did not change last selected
7879 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7880 changed the read and substituted \\end_float with \\end_inset!
7882 * BufferView_pimpl.C (cursorPrevious):
7883 (cursorNext): fixed to make it work with rows heigher than the work
7884 area without moving the cursor only the draw of the row.
7885 (workAreaMotionNotify): fix jumping over high rows.
7887 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7889 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7892 2002-04-16 Juergen Vigna <jug@sad.it>
7894 * text2.C (setCursor): set also the irow().
7895 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7897 (cursorDown): support for locking an inset if the x_fix value goes
7898 inside it. That way I can transverse insets too with cursor up/down.
7900 * lyxrow.h: added irow helper function same as other (i) functions.
7902 * BufferView_pimpl.C (cursorPrevious):
7903 (cursorNext): fixed for insets!
7905 2002-04-15 Juergen Vigna <jug@sad.it>
7907 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7908 position otherwise it is wrong in some cases.
7910 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7911 inside the inset before the call.
7913 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7915 * buffer.[Ch] (getBibkeyList): make it const.
7917 2002-04-12 Juergen Vigna <jug@sad.it>
7919 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7921 * text2.C (getCursorX): new helper function
7922 (setCursor): compute also ix_
7923 (setCursorFromCoordinates): set also ix.
7925 * lyxcursor.h: added ix_ and helper functions.
7927 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7929 * buffer.C (insertStringAsLines): dont break paragraph if the this
7930 paragraph is inside an inset which does not permit it!
7932 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7933 also with no chars on this paragraph.
7934 (paintRowText): only paint stuff if it's inside the workarea!
7936 * paragraph.C (breakParagraph): honor keepempty flag and break the
7937 paragraph always below not above.
7939 * BufferView2.C (unlockInset): update the paragraph layout on inset
7940 unlock as we changed paragraph in such a case.
7942 * lyxfind.C (LyXFind): clear the former selection if not found!
7944 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7945 again called in insertChar().
7947 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7948 an inset which uses the whole row!
7949 (rightMargin): ditto.
7950 (insertChar): force a rebreak if we inserted an inset!
7952 2002-03-28 Herbert Voss <voss@lyx.org>
7954 * lyxlength.[Ch]: add inBP() to get the right PS-point
7955 units (BigPoint). With inPixels we have rounding errors
7957 2002-04-11 Juergen Vigna <jug@sad.it>
7959 * text2.C (setCursorFromCoordinates): set iy to the right value.
7960 (setCursor): add check if row->previous exists!
7962 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7963 an old float_type as this was the case in the old code!
7965 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7967 * BufferView2.C (showLockedInsetCursor): use iy
7968 (fitLockedInsetCursor): ditto
7970 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7971 locked insets as there we have the right value now.
7973 * lyxcursor.C: added iy_ variable and iy functions to set to the
7974 baseline of cursor-y of the locked inset.
7976 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7977 (setCursor): fixed for insets which need a full row.
7979 * text.C (rowLastPrintable): don't ignore the last space when before
7980 an inset which needs a full row.
7981 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7982 as last character of a row when before a inset which needs a full row.
7984 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7986 * version.C.in: update date
7988 * text2.C (fullRebreak): try to always return true and see what
7991 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7993 * MenuBackend.C (expand): use Floating::listName
7995 * FloatList.C (FloatList): add listName argument to the built-in
7998 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7999 text associated with the float.
8001 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8003 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8005 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8007 * ShareContainer.h: add a couple of missing typenames.
8009 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8011 * lyxrc.C (getDescription): use _() correctly rather than N_().
8013 2002-03-28 Herbert Voss <voss@lyx.org>
8015 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8016 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8018 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8020 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8021 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8023 2002-03-29 Juergen Vigna <jug@sad.it>
8025 * lyxfunc.C (dispatch): add a missing fitCursor call.
8027 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8028 it was scrolled by a cursor move, so return the bool status.
8030 * BufferView.C (fitCursor): return the bool flag also to the outside
8031 world as this is needed.
8033 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8035 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8036 call the edit() as it is not needed (and wrong) IMO.
8037 (workAreaButtonPress): set the screen_first variable before evt.
8038 unlock the inset as this may change screen_first and then we have
8039 a wrong y position for the click!
8041 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8043 * MenuBackend.C (expand): another translation that I missed
8045 2002-03-28 Juergen Vigna <jug@sad.it>
8047 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8049 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8051 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8053 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8055 * MenuBackend.C (expand): fix export/view/update when there is no
8058 2002-03-27 Herbert Voss <voss@lyx.org>
8060 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8063 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8065 * bufferview_funcs.C (currentState): only show paragraph number
8066 for is DEVEL_VERSION is set.
8068 * lyxfunc.C (dispatch): put warning in INFO channel
8070 * MenuBackend.C (expand): translate the name of floats
8072 * FloatList.C (FloatList): mark the float names for translation
8074 * converter.C (convert): use LibScriptSearch
8076 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8078 * MenuBackend.C (defaults): fix default menu (we might as well get
8081 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8083 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8086 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8088 * lyxvc.C: reorder includes.
8090 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8092 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8095 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8097 * CutAndPaste.C: change layouts earlier on paste
8098 to avoid crashing when calling getFont()
8100 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8102 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8105 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8107 * WorkArea.C: remove 'Pending' debug message.
8109 * most files: ws cleanup
8111 * buffer.[Ch]: ws changes
8113 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8115 2002-03-21 Juergen Vigna <jug@sad.it>
8117 * tabular.C (SetMultiColumn): collapse also the contents of the
8118 cells and set the last border right. Added a Buffer const * param.
8120 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8122 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8125 2002-03-19 Juergen Vigna <jug@sad.it>
8127 * text2.C (clearSelection): reset also xsel_cache.
8129 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8130 where it needs to be called (John tells us to do so too :)
8131 (selectionLost): reset sel_cache.
8133 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8135 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8137 * text2.C (setCursorIntern): put debuging code in INSETS channel
8139 2002-03-19 André Pönitz <poenitz@gmx.net>
8141 * lyxfunc.C: tiny whitespace change
8143 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8145 * ToolbarDefaults.C (init):
8146 * LyXAction.C (init):
8148 * BufferView_pimpl.C (Dispatch):
8149 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8151 2002-03-19 Allan Rae <rae@lyx.org>
8153 * exporter.C (Export): removeAutoInsets before doing anything else.
8154 While I've just introduced a dependency on BufferView this really is
8155 the best place to clean the buffer otherwise you need to cleanup in
8156 a dozen places before calling export or cleanup in a dozen functions
8159 * converter.C (runLaTeX):
8160 (scanLog): Better handling of removeAutoInsets and screen updates.
8162 * lyxfunc.C (dispatch): small whitespace changes
8164 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8166 * WorkArea.C (C_WorkAreaEvent): return a value.
8167 (event_cb): return 1 if we handled the event, 0 otherwise.
8169 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8171 2002-03-18 Juergen Vigna <jug@sad.it>
8173 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8174 (GetAdditionalWidth): ditto.
8178 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8179 inset if we're there actually (probably not used right now but this
8180 is the direction to go for unifying code).
8181 (paste): disable code to clear the selection.
8183 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8184 inside an InsetText and move the check further up as it is in the
8187 * text2.C (pasteSelection): set a selection over the pasted text.
8189 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8191 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8192 and libgraphics to build on Cygwin.
8194 2002-03-15 Juergen Vigna <jug@sad.it>
8196 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8197 inserting an Inset into the paragraph. I know this is not the best
8198 fix but we already use current_view in CutAndPaste so we will remove
8199 all of it's using at the same time.
8201 * buffer.C (sgmlError): deactivated function till it is rewritten in
8202 the right mode, now it can create problems.
8204 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8205 before accessing it.
8207 2002-03-14 Juergen Vigna <jug@sad.it>
8209 * undo_funcs.C (textHandleUndo): do the right thing when updating
8210 the inset after the undo/redo.
8212 * text2.C (setCursor): just some testcode for #44 not ready yet.
8214 * undo_funcs.C (textHandleUndo): set the next() and previous()
8215 pointers of the paragraph to 0 before deleting otherwise we have
8216 problems with the Paragraph::[destructor].
8218 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8219 on a paragraph insertion.
8221 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8223 * buffer.C (asciiParagraph): use += operator for char append to
8226 * paragraph.C (getFontSettings): compare >= not just >
8227 (highestFontInRange): ditto
8230 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8232 * paragraph.C: change several algorithm to be more appripriate for
8233 the problem domain. This is lookip in FontList and in the InsetList.
8235 2002-03-13 André Pönitz <poenitz@gmx.net>
8238 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8240 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8245 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8247 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8249 * Painter.C (display): anon helper function, adjust code for this
8251 (pixmap): remove function.
8253 * Painter.h: remove private display variable.
8255 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8257 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8259 * WorkArea.[Ch]: remove figinset_canvas cruft.
8261 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8263 * lyxtextclass.C (operator): add one item cache optimization.
8265 * bufferlist.h: doxy changes
8267 * bufferlist.C: ws changes
8269 * DepTable.[Ch] (ext_exist): place const in the right spot.
8271 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8273 (workAreaExpose): call resizeInsets when the with BufferView changes.
8274 (Dispatch): adjust for protectedBlank removal
8275 (specialChar): call updateInset if the insert went ok.
8277 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8278 specialChar instead.
8280 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8282 * BufferView.h: doxy change
8284 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8286 * lyxtextclass.C (operator[]): remove non-const version
8287 (defaultLayout): remove non-const version
8289 2002-03-12 Juergen Vigna <jug@sad.it>
8291 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8292 did resize the LyXText too.
8294 * buffer.C (readLyXformat2): set layout information on newly allocated
8297 * tabular.C (OldFormatRead): set layout information on the paragraph.
8299 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8301 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8303 2002-03-11 Juergen Vigna <jug@sad.it>
8305 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8307 (resizeCurrentBuffer): force also the insets to resize themselfes.
8308 (moveCursorUpdate): fixed up for InsetText.
8310 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8313 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8314 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8315 value of Dialogs::tooltipsEnabled().
8316 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8318 2002-03-08 Juergen Vigna <jug@sad.it>
8320 * BufferView_pimpl.C (updateInset): update inset inside inset also
8321 if it isn't inside theLockingInset().
8323 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8325 * buffer.C (asciiParagraph): redo some of the word and line length
8327 (getLists): look for Caption instead of caption.
8329 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8331 * buffer.C (Buffer): initialize niceFile to true
8334 (makeDocBookFile): make sure niceFile is true on exit
8336 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8338 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8340 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8342 * LyXSendto.C: remove.
8343 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8344 * lyx_gui.C: remove now-redundant comment.
8345 * ColorHandler.h: remove forward declaration of class WorkArea.
8346 * lyxfunc.C: remove #include "WorkArea.h".
8348 2002-03-07 Juergen Vigna <jug@sad.it>
8350 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8351 got moved away with the DEPM and also set the inset_owner always
8352 right which before could have been omitted.
8354 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8356 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8357 wanted layout is not found.
8359 2002-03-07 Juergen Vigna <jug@sad.it>
8361 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8363 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8365 * paragraph.C (breakParagraph): use default layout not layout of
8367 (Paragraph): clear ParagraphParameters.
8369 2002-03-06 Juergen Vigna <jug@sad.it>
8371 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8372 otherwise it would not be a valid lenght. Fixed a special case in
8373 the minipage compatibility read where we end the document with a
8376 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8377 was set as it could be 0 for InsetTexts first entry.
8379 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8381 * paragraph.C (writeFile): if layout is empty write out
8382 defaultLayoutName().
8384 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8385 file without named layout we set layout to defaultLayoutName().
8387 2002-03-06 Juergen Vigna <jug@sad.it>
8389 * CutAndPaste.C (copySelection): set layout for new paragraph.
8391 * text.C (prepareToPrint): leave ERT inset left aligned
8392 (leftMargin): don't indent paragraphs inside ERT insets
8394 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8396 * paragraph.C (breakParagraph): dont call clear do the work manually
8398 * paragraph.[Ch] (clear): remove function
8400 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8402 * paragraph.C (Paragraph): dont call clear, the work has already
8405 * lyxtextclass.C (operator): assert if n is empty
8407 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8408 work manually instead.
8410 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8412 * BufferView_pimpl.C: protect selectionLost against text == 0
8414 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * text.C (breakParagraph): fix a setting layout to '0' problem.
8418 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8420 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8421 final location of file, for the included files, and graphics.
8423 2002-03-05 Juergen Vigna <jug@sad.it>
8425 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8427 2002-03-04 Juergen Vigna <jug@sad.it>
8429 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8431 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8432 last column of multicolumn cells.
8433 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8435 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8437 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8438 file if it doesn't go to a temporary file.
8440 * buffer.C (sgmlOpenTag):
8441 (sgmlCloseTag): remove extra newline insertion.
8443 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8445 * text.C (getRowNearY): comment out debug msg
8447 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8449 * text2.C: first -> first_y
8451 * text.C (getRowNearY): add some attemts at a possible
8452 optimization, not working.
8454 * tabular.[Ch]: add BufferParams to several function so that newly
8455 created paragraph can be initialized to he default layotu for the
8458 * tabular-old.C (ReadOld): add buf->params to call of Init
8460 * screen.C: rename text->first to text->first_y
8462 * paragraph.C (breakParagraph): always set layout in the broken
8465 * lyxtextclass.C (Read): remove lowercase
8468 (delete_layout): ditto
8470 * lyxtext.h: rename first -> first_y
8472 * lyxlayout.C (Read): remove lowercase
8475 (obsoleted_by): ditto
8477 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8479 * buffer.C (insertErtContents): add params are to InsetERT
8480 (parseSingleLyXformat2Token): add code to check if a paragraphs
8481 layout really exist.
8482 (parseSingleLyXformat2Token): add params to several inset
8484 (asciiParagraph): remove lowercase, do the layout comparisons with
8487 * BufferView_pimpl.C (cursorNext): first -> first_y
8488 (resizeCurrentBuffer): first -> first_y
8489 (updateScrollbar): first -> first_y
8490 (scrollCB): first -> first_y
8491 (workAreaMotionNotify): first -> first_y
8492 (workAreaButtonPress): first -> first_y
8493 (checkInsetHit): first -> first_y
8494 (cursorPrevious): first -> first_y
8495 (cursorNext): first -> first_y
8496 (Dispatch): add buffer_->params to severl inset contructors
8498 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8500 * lyxlayout.C (Read): remove some debug info that I forgot.
8502 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8503 clean up the code slightly.
8504 (makeLinuxDocFile): ditto
8505 (makeDocBookFile): ditto
8507 * text2.C: layout as string
8509 * text.C: layout as string
8511 * paragraph_pimpl.C: layout as string
8513 * paragraph.[Ch]: layout as string
8515 * lyxtextclasslist.[Ch]: layout as string
8517 * lyxtextclass.[Ch]: layout as string
8519 * lyxtext.h: layout as string
8521 * lyxlayout.[Ch]: layout as string
8523 * lyx_cb.C: layout as string
8525 * bufferview_funcs.C: layout as string
8527 * bufferparams.C: layout as string
8529 * buffer.C: layout as string
8531 * LyXView.[Ch]: layout as string
8533 * LaTeXFeatures.[Ch]: layout as string
8535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8537 * BufferView_pimpl.C: change current_layout to string, remove
8542 (workAreaButtonRelease): layout as string
8544 * BufferView2.C (unlockInset): adjust
8546 * vspace.C (asLatexCommand): use an explict temp variable.
8548 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8550 * Makefile.am: use FRONTEND_*
8552 2002-03-01 Juergen Vigna <jug@sad.it>
8554 * tabular.C (SetWidthOfMulticolCell): changed to something better
8555 I hope but still work in progress.
8556 (recalculateMulticolumnsOfColumn): renamed function from
8557 recalculateMulticolCells as it is more appropriate now.
8558 (SetWidthOfCell): calculate multicols better.
8560 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8562 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8564 * lyxfunc.C (processKeySym): print sequence also if it is
8565 `deleted' (complete)
8567 * kbsequence.C (print): print sequence even if it is deleted
8568 (complete would be a better word, actually).
8570 * lyxfunc.C (dispatch): print complete options after a prefix key
8572 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8574 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8576 * text2.C (setCharFont): eliminate setCharFont code duplication.
8578 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8580 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8581 LFUN_TABULAR_FEATURE (bug #177)
8583 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8585 * Makefile.am: remove figure.h
8587 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8589 * Bufferview_pimpl.C:
8601 * text2.C: remove #include "lyx_gui_misc.h".
8603 * LaTeX.C: added #include <cstdio>
8605 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8607 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8608 that the paragraph following this one can have.
8610 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8612 * vspace.C (asLatexCommand): fix bogus gcc warning
8614 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8616 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8618 * text2.C (setLayout): get rid of redundant code
8620 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8622 * text2.C (incDepth): make sure depth cannot be increased beyond
8625 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8627 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8628 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8630 * PainterBase.h (image):
8631 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8634 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8638 * BufferView_pimpl.C:
8639 * BufferView_pimpl.h:
8659 * sp_spell.C: remove fig inset, and the crap house of
8660 cards that follows it
8662 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8668 * nt_defines.h: move .h into support/
8670 * vms_defines.h: remove
8672 * WorkArea.C: add space in debug output
8676 * buffer.C: add WITH_WARNINGS
8680 * bufferlist.C: s/retrive/retrieve/, add docs
8691 * lyxgui.C: add ID to X error handler
8693 * lyxtestclass.c: fix typo
8695 2002-02-26 Juergen Vigna <jug@sad.it>
8697 * tabular_funcs.C (write_attribute): changed so that some default
8698 attributes are not written at all.
8699 (getTokenValue): set default values before trying to read the
8700 value so we have the return value always set as default if we don't
8701 find the token we search for.
8703 * tabular.C (Write): write bools as bools not as strings!
8705 2002-02-22 Juergen Vigna <jug@sad.it>
8707 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8708 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8710 * text.C (leftMargin): don't add an indent for paragraphs inside
8711 tabular cells (fix #208).
8713 2002-02-21 José Matos <jamatos@fep.up.pt>
8715 * tabular.C (docBook): fixed support for long tables.
8717 2002-02-20 Juergen Vigna <jug@sad.it>
8719 * text2.C (getFont): get the drawing font of the Inset if this
8720 paragraph is inside an inset (only important for InsetERT for now).
8722 * buffer.C (insertErtContents): use new lanugage params in ERT
8725 * CutAndPaste.C: commenting out seemingly uneeded code.
8727 2002-02-19 Allan Rae <rae@lyx.org>
8729 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8730 Iterators might be simple to use but they also get invalidated.
8731 (removeAutoInsets): renamed saved cursor tracking variables and added
8732 some comments to clarify what everything does.
8734 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8741 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8742 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8745 * vc-backend.h: remove #include "support/syscall.h"
8749 * converter.C: rearrange #includes in Lars' approved fashion.
8751 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8752 forward declare class Timeout in the header file.
8754 * XFormsView.C: changes due to the above.
8756 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8759 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8760 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8762 2002-02-18 José Matos <jamatos@fep.up.pt>
8764 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8767 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8769 * a lot of small ws changes
8770 * add a lot of using std::XXX
8771 * use std construcs some places where approp.
8772 * use some exisint stuff from lyxfunctional where approp.
8773 * Make file changes to use partial linking (lets test this now...)
8775 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8779 remove #include "support/syscontr.h" as it's redundant. Always has been.
8787 change Systemcalls::System to Systemcalls::Wait and
8788 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8789 No change of functionality, just reflects the stripped down Systemcalls
8792 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8794 * debug.[Ch]: add a GRAPHICS type to the enum.
8796 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8800 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8803 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8805 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8806 match the changes below.
8808 * text2.C (toggleInset): if there is not editable inset at cursor
8809 position, try to see if cursor is _inside_ a collapsable inset
8812 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8814 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8815 document menu has a nice checkbox
8817 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8819 * lyxlength.C (asLatexString): change PW to output as percent of
8822 * lengthcommon.C: change '%' to 't%'
8824 * lyxfunc.C (dispatch): a few comments from Martin
8826 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8830 * BufferView_pimpl.h:
8831 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8834 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8836 * vspace.C (inPixels): fix compiler warning
8838 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8840 * lyxfunc.C (getStatus): fix status message for disabled commands.
8842 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8844 * BufferView_pimpl.C: fix crash on close buffer
8845 during selection (#227)
8847 2002-01-27 Herbert Voss <voss@lyx.org>
8849 * buffer.C: link old Figure to new graphic inset
8851 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8853 * FontLoader.C (getFontinfo): Change the latex font names in order
8854 to match the names of type1inst.
8856 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8858 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8860 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8863 (remove_files_with_extension): ditto
8864 (remove_file): ditto
8867 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8868 document is smaller than the work area height. Do not initialize
8869 static variables to 0.
8871 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8873 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8875 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8876 LFUN_LAYOUT_PARAGRAPHS.
8878 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8879 tabular. It is possible to provide a possible cell, which will
8880 typically be the actcell from the corresponding insettabular
8882 * lyxfunc.C (getStatus): small cleanup; disable
8883 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8886 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8888 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8890 * paragraph.C (startTeXParParams):
8891 (endTeXParParams): new methods. The LaTeX code to
8892 start/end paragraph formatting
8893 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8894 empty (fixes bug #200)
8896 * vspace.C (inPixels): adapt to the change below
8897 (inPixels): [later] more cleanups (remove unused variables)
8899 * lyxlength.C (inPixels): change to use a width and a height as
8902 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8904 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8905 Replaced with \paperwidth
8907 * DepTable.C (insert): add std:: qualifier
8909 2002-01-18 Allan Rae <rae@lyx.org>
8911 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8914 * text.C (drawInset): Turned out I didn't know enough about how
8915 rebreaking worked. This fixes most of the redraw problems. I see
8916 an occasional cursor trail when a line is broken now and the cursor
8917 placement can seem out by a few pixels also after a rebreak.
8919 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8921 * buffer.C (parseSingleLyXformat2Token): update because minipage
8922 width is now a LyXLength
8924 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8926 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8929 2002-01-17 Juergen Vigna <jug@sad.it>
8931 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8933 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8934 is set correctly and the inset is updated correctly.
8936 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8938 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8939 the beginning of the loop.
8941 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8943 * lyxrc.C: improve help for use_scalable_fonts
8945 2002-01-17 Allan Rae <rae@lyx.org>
8947 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8949 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8951 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8952 make sure to set their inset_owner to the right value (bug #171)
8954 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8957 * DepTable.C: Implement mtime checking to reduce time spent doing
8960 2002-01-16 Juergen Vigna <jug@sad.it>
8962 * tabular.C (GetAdditionalHeight): one of error fixed.
8964 * lyxrc.C (output): small fix in writing use_pspell.
8966 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8968 * sp_base.h: #include LString.h
8970 2002-01-16 Allan Rae <rae@lyx.org>
8972 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8973 Can someone check this please?
8975 * text.C (drawInset): It was possible that p.row would be removed by
8976 breakAgainOneRow upsetting a few other settings. There may be another
8977 small tweak possible by setting need_break_row = 0 when p.row has been
8978 removed but I don't know enough about the logic here.
8980 2002-01-15 Allan Rae <rae@lyx.org>
8982 * text.C (insertChar): removed conditional truism.
8984 * BufferView2.C (removeAutoInsets): More tweaks.
8985 cur_par_prev could be a stray pointer. Check for trailing empty line
8986 in case last line was cur_par and only had an error inset on it.
8988 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8993 * vc-backend.C (most methods):
8994 * exporter.C (Export):
8995 * converter.C (convert):
8997 * LyXSendto.C (SendtoApplyCB):
8998 * lyxfunc.C (dispatch):
9002 * lyx_cb.C (AutoSave):
9004 * BufferView_pimpl.C (MenuInsertLyXFile):
9005 * buffer.C (runChktex): use Buffer::filePath().
9007 * buffer.h: rename filename to filename_; rename filepath to
9008 filepath_ and make it private
9009 (filePath): new method
9011 * buffer.C (writeFile): use fileName()
9014 * lyx_main.C (init): fix starting of LyX when the binary is a
9015 link from so,ewhere else.
9017 * minibuffer.C: include <cctype> for isprint
9019 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9021 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9022 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9023 name clash with InsetCollapsable's width function.
9025 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9027 * lastfiles.C: include <iterator>
9029 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9031 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9034 * buffer.C (makeLaTeXFile): ditto.
9035 Also make loop operation more transparent.
9037 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9039 * ToolbarDefaults.C: remove trailing comma closing namespace.
9041 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9043 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9046 * trans.C (Load): comment out unused variable, allowed.
9048 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9050 * minibuffer.[Ch] (append_char): new method to recieve input from the
9051 drop-down completion browser. If a key was pressed, then recieve this
9052 char and append it to the existing string.
9053 (peek_event): modify the positioning data passed to the completion
9054 browser so that it can be placed above the minibuffer rather than below.
9055 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9057 * LyXAction.C (init): alloe error-next for readonly documents.
9059 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9062 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9064 * bufferlist.C (readFile): create the buffer _after_ checking that
9067 * lyxfunc.C (verboseDispatch): fix handling of arguments
9069 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9071 * lyxrc.C: use string::erase() instead of initializing to "".
9074 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9076 * BufferView_pimpl.h:
9077 * BufferView_pimpl.C:
9080 * text2.C: tell X when we have made a selection for copying
9082 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9084 * BufferView_pimpl.C (MenuInsertLyXFile):
9085 * lyxfunc.C (menuNew):
9087 (doImport): add shortcuts to directory buttons
9089 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9092 * lyxfunc.C (setStatusMessage):
9093 (getStatusMessage): new methods
9094 (getStatus):use setStatusMessage instead of setErrorMessage
9095 (dispatch): when function is disabled, set error message here
9096 [instead of in getStatus previously]
9098 * BufferView_pimpl.C (workAreaButtonRelease): update
9099 toolbar/menubar here too.
9101 2002-01-13 Allan Rae <rae@lyx.org>
9103 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9104 Now seems indestructible. Remaining task is to audit all other
9105 code affected by deleteEmptyParagraphMechanism. One small quirk
9106 left is that an empty document with an error in the preamble can
9107 be made to report an error but no error box appears. I don't know
9109 (removeAutoInsets): Improved comments.
9111 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9114 * Thesaurus.C: update for Aiksaurus 0.14
9116 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9118 * text2.C (firstParagraph): removed member function, all uses
9119 replaces with ownerParagraph
9120 (redoParagraphs): here
9122 (toggleAppendix): here
9123 * BufferView2.C (insertErrors): here
9124 (setCursorFromRow): here
9126 2002-01-13 Allan Rae <rae@lyx.org>
9128 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9129 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9130 There is still a way to segfault this although you may have to do this
9131 multiple times: Have an InsetERT with an unknown command in it.
9132 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9133 <down-arrow>, <Enter> again, View->DVI, BANG!
9135 * text2.C (setCursor):
9136 (deleteEmptyParagraphMechanism):
9137 * lyxtext.h (setCursor):
9138 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9139 Making use of the return value may help fix other bugs.
9141 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9145 * LyXView.C (updateMenubar): call MenuBar::update here
9146 (updateToolbar): but not here
9147 (showState): do not update toolbar/menubar
9149 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9150 should need to care about that.
9152 * lyxfunc.C (verboseDispatch): simplify a bit
9153 (getStatus): have a version which takes a pseudoaction, and
9154 another which requires a (kb_action,string).
9156 * LyXAction.C (retrieveActionArg): make it work also when action
9157 is not a pseudo-action.
9158 (getActionName): simplify a bit
9161 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9163 * lyxfunc.C (verboseDispatch): new families of methods with
9164 several ways to specify a command and a bool to indicate whether
9165 the command name and shortcut should be displayed in minibuffer
9166 (eventually, we could extend that to a finer bitmask like
9167 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9168 (dispatch): the pristine dispatch command which just, well,
9169 dispatchs! Note it still sets its result to minibuffer; I'm not
9172 * lyxfunc.h: remove setHintMessage
9174 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9176 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9178 * BufferView_pimpl.C (specialChar): delete new inset if we have
9179 not been able to insert it.
9181 * kbmap.C: revert to using int instead of kb_action, since all we
9182 are dealing with is pseudo-actions.
9184 * LyXAction.C (searchActionArg): change to return int instead of
9185 kb_action, since the result is a pseudoaction.
9187 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9189 * buffer.C (insertErtContents): Fix (partially) the font bug.
9191 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9193 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9194 as the other one is broken on my machine!
9196 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9199 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9201 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9203 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9204 reflect their actual use. Provide compatibility code for older lyxrc
9207 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9209 change names of popup font variables in line with the changes to lyxrc.C
9211 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9213 * buffer.C (asciiParagraph): avoid outputing a word twice after
9216 * lyxrc.C (getDescription): document that document_path and
9217 template_path can be empty.
9219 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * LaTeXFeatures.C (getMacros):
9222 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9224 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9226 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9228 (getPackages): rename feature "floats" to "float". Use an array to
9229 iterate over 'simple' features (i.e. just a \usepackage). Add
9230 handling of "amsmath" (renamed from "amsstyle").
9232 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9234 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9237 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9239 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9240 FuncStaus::FuncStatus & FuncStaus::some_method().
9242 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9244 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9245 of the func_satus stuff. Edited and massaged in various ways by
9248 * lyxfunc.C (getStatus): use FuncStatus
9250 2002-01-08 Juergen Vigna <jug@sad.it>
9252 * text.C (nextBreakPoint): use function Inset::isChar().
9254 * paragraph.C (TeXOnePar): use function
9255 Inset::forceDefaultParagraphs.
9257 * buffer.C (latexParagraphs): use function
9258 Inset::forceDefaultParagraphs.
9260 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9262 * lyx_gui.C (init): set the style of the menu popups to
9263 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9265 2002-01-07 Juergen Vigna <jug@sad.it>
9267 * text.C (setHeightOfRow): small fix
9268 (prepareToPrint): don't look at alignment if we don't have the place
9271 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9273 * box.C: New file. Move the Box methods and functions out of box.h,
9274 following Lars' suggestion.
9276 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9278 * box.h: #include "support/LOstream.h", needed for inlined function.
9281 * lyxtextclasslist.C: added some using std declarations.
9283 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9285 * box.h: make signed dimensions to allow insets wider than
9286 the screen (bug #162)
9288 * BufferView_pimpl.C: add some insetHit debug
9290 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9292 * vc-backend.C: add FIXME
9294 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * lyxfunc.C (getStatus): enable code for showing math font status
9299 2002-01-07 Juergen Vigna <jug@sad.it>
9301 * text.C (nextBreakPoint): removed debug output not needed anymore.
9303 2002-01-06 Juergen Vigna <jug@sad.it>
9305 * text.C (nextBreakPoint): fixed up this function we had this bug
9306 since ever but now hopefully we break row better.
9307 (insertChar): we have to check if an inset is the next char as it
9308 could now happen that a large inset is causing a break.
9310 2002-01-05 Juergen Vigna <jug@sad.it>
9312 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9313 if it doesn't like to be drawed.
9315 2002-01-04 Juergen Vigna <jug@sad.it>
9317 * BufferView2.C (lockInset): forgot to set a cursor.
9319 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9321 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9326 * form_maths_panel.C:
9327 * form_maths_panel.h:
9328 * form_maths_panel.fd: implemented sub- and super- buttons in math
9331 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9332 (or ^ space) to be used as in TeX (req'd by André).
9334 * lyxfunc.C: Allow ^ and _ again to be used both as
9335 super/subscript (mathed) and as themselves (in text).
9337 2002-01-03 Allan Rae <rae@lyx.org>
9339 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9340 "LyX" or the filename of the current buffer if it has one. This is a
9341 modified form of John Levon's patch.
9343 * XFormsView.C (setWindowTitle): also set icon title.
9345 * LyXView.h (setWindowTitle): signature changed.
9346 * XFormsView.h (setWindowTitle): ditto.
9348 2002-01-02 Juergen Vigna <jug@sad.it>
9350 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9352 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * screen.C (topCursorVisible): introduce a temp var for
9355 text->cursor.row(), handle the case where this row is null. (kindo
9358 * text2.C (setCursor): add a couple of asserts.
9360 * paragraph.h (inset_iterator): add -> operator
9362 * paragraph.[Ch] (autoDeleteInsets): remove member function
9364 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9365 cursor pos correctly and handle inset deletion by itself.
9366 (insertErrors): move iterator declaration out of for expression
9368 * lyxtextclass.C: add <algorithm>
9370 * Makefile.am: added the new files to sources, removed layout.C
9372 * layout.C: removed file
9374 * layout.h: remove LYX_DUMMY_LAYOUT
9376 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9380 * lyxtextclass.[Ch]:
9381 * lyxtextclasslist.[Ch]: new files
9383 * include order changes to a lot of files, also changes because of
9386 2001-12-27 Juergen Vigna <jug@sad.it>
9388 * buffer.C (asciiParagraph): more fixes.
9390 * tabular.C (ascii): make ascii export support export of only the
9391 data separated by a column-delimiter.
9392 (ascii): better support for ascii export.
9394 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9396 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9398 * tabular_funcs.C: use a "using std::getline" instead of the
9399 previous fix from Angus (necessary for cxx + lyxstring)
9401 2001-12-24 Juergen Vigna <jug@sad.it>
9403 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9405 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9406 problems. First check a minipage also if we have some ert-contents
9407 (not only on par->size(), second set the right depth of the paragraph
9408 on the relink to the root-paragraph-list!
9410 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9411 which then did not anymore update the main paragraphs on undo/redo!
9413 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9415 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9416 code. Support all font-changing funcs (even those which are not in
9417 menu currently). Support for reporting font settings in
9418 mathed (disabled until Andre provides a function on mathed's side).
9420 * func_status.h (toggle): small helper function to set toggle
9423 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9425 * tabular_funcs.C: getline -> std::getline
9427 2001-12-21 Juergen Vigna <jug@sad.it>
9429 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9430 accessed and could be 0 (I couldn't generate this but it seems
9433 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9435 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9436 * tabular_funcs.h: here and include iosfwd
9438 2001-12-20 Juergen Vigna <jug@sad.it>
9440 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9441 inside inset but undo_par was.
9443 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9445 * Thesaurus.C: always include <config.h> in sources.
9449 * box.h: do not include <config.h> in header files
9451 * text.C (paintLastRow): remove unused variable
9453 * text.C (transformChar):
9455 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9458 * font.C (width): rewrite to use uppercase() instead of
9461 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9463 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9465 * lyxfind.C: clean up of find failure position change
9467 2001-12-20 Juergen Vigna <jug@sad.it>
9469 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9471 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9472 (TeXRow): added to LaTeX a single tabular row.
9473 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9474 (Latex): simplified and finally good LT-h/f support.
9475 (various_functions): just small adaptions for LT-h/f support.
9477 * tabular_funcs.[hC]: added and moved here all not classfunctions
9480 2001-12-19 Juergen Vigna <jug@sad.it>
9482 * tabular.[Ch]: better support for longtabular options (not finished
9485 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * text.C (paintLastRow): use the label font instead of the font of
9488 the last character to compute the size of *_BOX. This makes more
9489 sense and avoids a crash with empty paragraphs.
9490 Use Painter::rectangle to draw EMPTY_BOX.
9492 2001-12-19 Juergen Vigna <jug@sad.it>
9494 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9495 the paragraphs if the replaced paragraph is not the first one!
9496 Tried to delete not used paragraphs but does not work yet so for
9497 now it's inside #ifdef's and by default off!
9499 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9501 * MenuBackend.C: include "lyx_main.h" instead of declaring
9502 lastfiles (actually was declared as LastFiles* instead of a
9505 2001-12-17 Juergen Vigna <jug@sad.it>
9507 * tabular.C (AppendColumn): applied John's fix
9509 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9513 * BufferView_pimpl.h:
9514 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9517 * box.h: new start of class for above
9519 * lyxfunc.C: ignore space-only minibuffer dispatches.
9520 Show the command name when it doesn't exist
9522 * minibuffer.C: don't add empty lines to the history
9524 * minibuffer.C: add a space on dropdown completion
9526 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9528 * text.C: fix line above/below drawing in insets
9530 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * lyxlength.C (LyXLength): Initialize private variables.
9534 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9536 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9537 when inserting error insets.
9539 2001-12-13 Juergen Vigna <jug@sad.it>
9541 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9542 actually sometimes the before-paragraph.
9543 (setUndo): don't clear the redostack if we're not actually undoing!
9545 2001-12-06 Juergen Vigna <jug@sad.it>
9547 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9548 and fixed redoing of main paragraph, so we can use it now ;)
9550 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9552 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9554 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9557 2001-12-13 André Pönitz <poenitz@gmx.net>
9560 * undo_func.C: minor cleanup
9562 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9564 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9565 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9566 font in urw-fonts package which is marked as -urw-fontspecific and
9567 does not work (incidentally, changing the encoding in the
9568 fonts.dir of this package to -adobe-fontspecific fixes the
9571 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9572 is a crash when undoing first paragraph (Juergen, please take a
9573 look). THis does not mean the undo fix is wrong, just that it
9576 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9577 the (Paragraph*) version when needed instead of duplicating the
9580 * text.C (workWidth): use Inset::parOwner to find out where the
9581 inset has been inserted. This is a huge performance gain for large
9582 documents with lots of insets. If Inset::parOwner is not set, fall
9583 back on the brute force method
9585 * paragraph_pimpl.C (insertInset):
9586 * paragraph.C (Paragraph):
9587 (cutIntoMinibuffer): set parOwner of insets when
9588 inserting/removing them
9590 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9592 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9598 * mathed/formulabase.C:
9599 * mathed/math_cursor.[Ch]:
9600 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9603 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9605 * lyxlength.[Ch] (operator!=): new function
9607 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9609 * text.C (workWidth): use Inset::parOwner to find out where the
9610 inset has been inserted. This is a huge performance gain for large
9611 documents with lots of insets. If Inset::parOwner is not set, fall
9612 back on the brute force method
9614 * paragraph_pimpl.C (insertInset):
9615 * paragraph.C (Paragraph):
9616 (cutIntoMinibuffer): set parOwner of insets when
9617 inserting/removing them
9619 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9621 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9623 * tabular-old.C (getTokenValue):
9624 * tabular.C (getTokenValue):
9625 (write_attribute): new versions for LyXLength
9626 (everywhere): adjust the use of widths
9628 * tabular.h: change the type of widths from string to LyXLength
9630 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9632 * paragraph.C: fixed missing line number count when exporting
9633 Environments to LaTeX file
9635 * buffer.C: added informational message for checking line numbers.
9637 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9639 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9640 paragraph, do the 'double space' part, but not the 'empty
9643 * text.C (workWidth): small optimization
9644 (getLengthMarkerHeight): use minimal size for negative lengths.
9646 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9648 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9650 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9652 2001-12-11 André Pönitz <poenitz@gmx.net>
9655 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9657 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9659 * text2.C: keep selection on a setFont()
9661 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9663 * lyx_cb.C: another bv->text misuse, from insert label
9665 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9668 * kbsequence.C: re-instate nmodifier mask
9670 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9672 * lyx_main.h: make lyxGUI private.
9674 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9676 * lyxfind.C: place the cursor correctly on failed search
9678 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9680 * text.C (getLengthMarkerHeight): for small heights, the arrows
9681 are not always on top/bottom of the text
9682 (drawLengthMarker): smaller arrows; take the left margin in
9683 account; draw also vfills.
9685 (paintLastRow): remove special code for vfill and standard spaces,
9686 since everything is handled in drawLengthMarker now.
9688 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9690 * buffer.C (insertErtContents): try to handle font and language
9691 interaction a bit better.g
9693 * ColorHandler.C (updateColor): change the hash to cover the whole
9694 LColor enum, ws cleanup
9695 (getGCLinepars): ditto
9696 (getGCLinepars): only lookup in the linecache once.
9698 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9700 * iterators.C (operator++): Make the iterator more robust
9702 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9704 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9706 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9709 * text.C: better added space drawing
9711 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9714 * BufferView2.C: fix layout combo update on inset unlock
9716 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9718 * Makefile.am: don't compile unused files
9720 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9724 * LyXAction.C: remove old LFUN_LAYOUTNO
9726 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9728 * paragraph_pimpl.h:
9729 * paragraph_pimpl.C: isTextAt() doesn't need font param
9731 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9734 * lyxlex.C: little cleanup
9736 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9738 * BufferView_pimpl.C: fix insertAscii for insets
9740 2001-12-05 Juergen Vigna <jug@sad.it>
9742 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9743 set the right font on the "multi" paragraph paste!
9745 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9751 * lyxlength.C: remove out-commented code.
9767 * vc-backend.C: change "while(" to "while ("
9769 * lyxlength.[Ch]: add zero function to check if length is zero or
9771 * lyxgluelength.C: use it
9773 2001-12-05 Allan Rae <rae@lyx.org>
9775 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9776 Works for 2.95.3, from what I understand of Garst's reports this should
9777 work for other g++ versions. We're screwed if the abs(int) definition
9778 changed between bugfix releases of gcc.
9780 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9782 * text.C: fix chapter label offset !
9784 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9787 * text.C: fix hfill at end of line, clean up
9789 2001-12-04 Juergen Vigna <jug@sad.it>
9791 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9792 that we force an update of the inset and it's owners if neccessary.
9794 2001-12-03 Juergen Vigna <jug@sad.it>
9796 * text.C (rowLast): simplified code
9798 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9800 * lyxfunc.C: fix show options on timeout
9802 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9804 * screen.C (topCursorVisible): scroll half a page when the cursor
9805 reached top of bottom of screen
9807 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9809 * minibuffer.C: deactivate on loss of focus
9811 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9813 * vspace.[Ch] (operator!=): add operator.
9815 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9817 * BufferView_pimpl.C: refuse to open an inset when
9818 there's a selection.
9820 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9822 * BufferView_pimpl.C: allow to click on RHS of full row insets
9824 2001-11-30 Juergen Vigna <jug@sad.it>
9826 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9827 insets for undo reasons.
9829 2001-11-28 André Pönitz <poenitz@gmx.net>
9831 * vspace.[Ch]: cosmetical changes
9833 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9843 * kbsequence.C: part re-write of old kb code
9846 * WorkArea.C: remove Lgb_bug_find_hack
9848 2001-11-30 José Matos <jamatos@fep.up.pt>
9850 * buffer.C (makeDocBookFile): add a comment to point a hack.
9851 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9852 Fixed a double write of labels.
9854 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9857 * LaTeX.h Fixed bug in LaTeX class where it would not
9858 re-run latex if no depfiles were changed, but the .dvi was removed.
9860 2001-11-28 André Pönitz <poenitz@gmx.net>
9862 * all the files from the change on 2001/11/26:
9863 use lyx::layout_type instead of LyXTextClass::size_type
9864 use lyx::textclass_type instead of LyXTextClassList::size_type
9866 2001-11-29 Juergen Vigna <jug@sad.it>
9868 * text.C: added support for paragraph::isFreeSpacing()
9870 * buffer.C: same as above
9872 * paragraph.h: inserted isFreeSpacing() function to enable
9873 FreeSpacing inside InsetERT.
9875 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9876 of the paragraph's in the cut/copy buffer to 0!
9878 * text2.C (removeRow): remove the assert as it can!
9880 * lyxtext.h: added helper function firstRow returning firstrow and
9881 made firstrow private again.
9883 * BufferView2.C (lockInset): don't relock if we're already locked!
9885 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9887 (removeRow): added Assert::(firstrow)
9889 * debug.C: forgot to add INSETTEXT here.
9891 2001-11-28 Juergen Vigna <jug@sad.it>
9893 * sp_spell.C (initialize): changed error text to more general
9894 spellchecker command use (not only ispell!)
9896 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9898 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9900 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9902 * vspace.C: initialise lyxgluelength on failure
9904 2001-11-28 Allan Rae <rae@lyx.org>
9906 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9907 declaration & definition that looks like a function declaration.
9909 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9911 * BufferView2.C (copy):
9912 (copyEnvironment): do not clear the selection when doing a copy.
9914 * text.C (paintFirstRow): compilation fix
9916 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9918 * tabular.C (Latex): correct line count when writing latex.
9920 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9922 * paragraph_pimpl.h:
9923 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9926 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9930 * LColor.C: change vfillline->added_space
9932 * text.C: add markers and text for added space
9934 * vspace.C: fix comment
9936 2001-11-28 André Pönitz <poenitz@gmx.net>
9938 * paragraph.C: whitespace changes
9939 * all the other files from the change on 2001/11/26:
9940 change *::pos_type into lyx::pos_type
9942 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9944 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9945 language of the document when inserting error insets.
9947 2001-11-26 André Pönitz <poenitz@gmx.net>
9949 * BufferView_pimpl.[Ch]:
9957 * paragraph_pimpl.[Ch]:
9960 * text2.C: reduce header dependencies, introduce type for positions
9962 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9964 * <various>: change to use Alert.h
9966 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9968 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9969 when encountering an unknown token.
9970 (readLyXformat2): Show an error message if there were unknown tokens.
9972 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9975 * BufferView_pimpl.C:
9979 * text2.C: use par->isInset()
9981 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9983 * paragraph_pimpl.h:
9984 * paragraph_pimpl.C: cleanup
9986 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9988 * text2.C (removeRow):
9989 * text.C (setHeightOfRow): remove useless (and costly) call to
9992 2001-11-20 Allan Rae <rae@lyx.org>
9994 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9995 Now need Inset*::checkInsertChar() to return true for appropriate
9996 cases so that the characters in the minibuffer will actually be
9999 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * text.C: change the order of the includes.
10002 (workWidth): initialize it at once.
10003 (workWidth): make maxw unsigned
10004 (setHeightOfRow): remove unused variable (inset)
10005 (selectSelectedWord): remove unused variable (inset)
10006 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10008 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10011 server is not running.
10013 (closeConnection): add debug info when server is disabled.
10015 * ColorHandler.C (getGCForeground): send debug message to GUI
10018 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10020 * kbmap.C (bind): modify because return conventions of
10021 kb_sequence::parse have changed.
10023 * kbsequence.C (parse): only ignore spaces and not any stupid
10024 control character. This avoids tests like s[i] <= ' ', which are
10025 guaranteed to fail with 8bit characters and signed chars.
10026 Change return code to string::npos when there have been no error
10027 (0 was a bad idea when error is at first character)
10029 2001-11-14 José Matos <jamatos@fep.up.pt>
10032 * buffer.C (simpleDocBookOnePar): removed unused argument.
10034 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10036 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10037 insets which are part of a word. Paragraph::isLetter takes care of
10038 that now. Use Paragraph::isInset to identify insets.
10039 (selectSelectedWord): do not test for hyphenation break.
10041 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10042 that protected spaces are considered as spaces.
10044 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10047 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10050 * lyxserver.C: fix it. and small cleanup.
10052 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10054 * BufferView_pimpl.C: use inline helpers
10057 * LaTeXFeatures.C: fix typos
10060 * Spacing.C: move spacing_string into class
10062 * ToolbarDefaults.C: move stuff into namespace anon
10064 * layout.h: update enum
10066 * lyxfunc.C: use better debug
10068 * minibuffer.h: fix typo
10072 * WorkArea.C: add and use Debug::WORKAREA
10076 * text2.C: code re-organisation, inline helpers
10078 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10080 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10081 std::vector.empty().
10083 2001-11-09 Allan Rae <rae@lyx.org>
10085 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10086 '\n's after tables. Tabular and ERT inset work now makes this no
10089 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10092 * minibuffer.C: fix crash, improve drop-down completion
10094 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10097 * lyxserver.C: invalidate fd's when doing endPipe()
10099 2001-11-08 José Matos <jamatos@fep.up.pt>
10101 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10102 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10105 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10107 2001-11-07 José Matos <jamatos@fep.up.pt>
10110 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10113 * buffer.C (sgmlOpenTag):
10114 * buffer.C (sgmlCloseTag): removed debug info.
10116 * buffer.h (sgmlOpenTag):
10117 * buffer.h (sgmlCloseTag): made public.
10119 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10121 * buffer.C (saveParamsAsDefaults):
10122 * lyx_cb.C (MenuLayoutSave): remove
10124 * LyXAction.C (init):
10126 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10128 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10130 * buffer.C (setPaperStuff): removed from here...
10132 * bufferparams.C (setPaperStuff): ... and moved there.
10134 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10138 * XFormsView.C: add support for drop-down completion
10140 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10142 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10145 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10147 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10150 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10152 * lyx_main.C: change ref to known bugs
10154 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10156 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10157 to work around older babel problems.
10159 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10161 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10163 2001-10-24 Juergen Vigna <jug@sad.it>
10165 * tabular-old.C (ReadOld): below variable changes reflected.
10167 * tabular.[Ch]: added ltType struct for longtable header/footer
10168 defines and changed all instances where they are used. Added
10169 future support for double top/bottom rows.
10171 2001-10-24 José Matos <jamatos@fep.up.pt>
10173 * buffer.h (docbookHandleCaption):
10174 * buffer.C (docbookHandleCaption): removed unused function.
10175 (makeDocBookFile): moved docbook supported version to v4.1.
10177 2001-10-24 José Matos <jamatos@fep.up.pt>
10180 * tabular.C (docbookRow): new function to export docbook code of a row.
10181 (DocBook): now honors the longtable flags.
10183 2001-10-23 José Matos <jamatos@fep.up.pt>
10186 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10187 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10189 * buffer.C (makeLinuxDocFile):
10190 (makeDocBookFile): reworked the preamble, more clean, and with
10191 support for lyx defined entities. Changed the document declaration
10192 to be more XML friendly.
10194 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10195 if we need to output XML that should be done with a filter.
10197 2001-10-22 Juergen Vigna <jug@sad.it>
10199 * sp_pspell.h (class PSpell): add alive function needed in the
10200 controller to see if the spellchecker could be started.
10202 2001-10-22 Juergen Vigna <jug@sad.it>
10204 * buffer.C (insertStringAsLines): modify the font for inserting
10205 chars in certain conditions by calling checkInsertChar(font).
10207 2001-10-19 Juergen Vigna <jug@sad.it>
10209 * text.C (workWidth): use getRow instead of wrong algorithm.
10210 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10212 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10217 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10219 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * text.C (workWidth): do not search for the exact row when
10222 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10223 optimization for big documents.
10225 2001-10-18 Juergen Vigna <jug@sad.it>
10227 * text.C (workWidth): new function with added Inset * parameter.
10229 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10231 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10233 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10234 change return type of getColumnNearX.
10237 * text.C (changeRegionCase): use uppercase/lowercase instead of
10240 (rightMargin): simplify code by factoring out the uses of
10245 (appendParagraph): use Paragraph::size_type
10247 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10249 * vspace.C (asLatexString): add a missing break
10251 2001-10-15 Herbert Voss <voss@perce.de>
10253 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10255 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10257 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10260 2001-10-10 André Pönitz <poenitz@gmx.net>
10262 * lyxfunc.C: removed greek_kb_flag.
10264 2001-10-10 Herbert Voss <voss@perce.de>
10266 * lyx_main.C: delete global string help_lyxdir.
10268 2001-10-09 Herbert Voss <voss@perce.de>
10270 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10272 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10274 * lyx_main.C: added global string help_lyxdir.
10276 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10278 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10280 * lyxrc.C (set_font_norm_type): support iso8859-4
10282 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10284 * LaTeX.C (deplog): add another regex for MikTeX
10286 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10288 * lyxrc.C (set_font_norm_type): support iso8859-3
10290 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10294 * LaTeXFeatures.C: remove special case of french and index
10296 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10297 before \begin{document}). This solves several incompatibilities.
10299 2001-10-03 Garst Reese <reese@isn.net>
10301 * lyx_cb.C: change CheckTex error msg.
10303 2001-10-03 José Matos <jamatos@fep.up.pt>
10305 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10307 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10309 * .cvsignore: update
10311 * lyx_main.C (commandLineVersionInfo): use new style version info.
10313 * buffer.C (writeFile):
10315 (makeLinuxDocFile):
10316 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10318 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10320 * version.h: update to use stuff in version.C
10322 * version.C.in: new file. Contains version information determined
10323 at compile time. This is a merging of version.h and
10326 2001-10-03 Juergen Vigna <jug@sad.it>
10328 * BufferView_pimpl.C (update): don't change "dirty" status in
10331 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10333 * WorkArea.C (c-tor): re-position version string slightly.
10335 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10337 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10338 revert to previous code.
10340 WorkArea.[Ch]: (show, destroySplash): methods removed.
10342 WorkArea.C: rework code so that it's an amalgam of the codes before and
10343 after the splash screen was moved to WorkArea.
10345 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * vspace.C (inPixels):
10351 * buffer.C (insertStringAsLines):
10352 (asciiParagraph): fix types to be large enough
10354 * lyxlex_pimpl.h: change member status from short to int
10356 * layout.h: fix type of endlabeltype
10359 * kbsequence.C (parse): change return type to string::size_type
10361 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10364 * Bullet.C (bulletSize):
10365 (bulletEntry): do not use short ints as parameters
10367 * BufferView2.C (insertLyXFile): change a char to an int.
10369 * WorkArea.C (WorkArea): remove unneeded floats in computation
10371 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10373 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10375 * paragraph.C (asString): Do not ignore newline/hfill chars when
10376 copying to the clipboard.
10378 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10380 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10381 after a multi-line inset.
10383 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10385 * paragraph.C (validate): Set NeedLyXFootnoteCode
10387 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10389 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10390 and decrease-error to decrease.
10392 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10394 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10395 it more readable (should be equivalent)
10397 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10399 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10401 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10403 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10404 of a cursor (row, etc.) after a character has been deleted
10405 (deleteEmptyParagraphMechanism): call the method above on _all_
10406 cursors held by the LyXText when a double space has been
10409 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10411 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10413 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10415 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10416 background. Use greyOut() and the new show() methods to toggle between
10417 the foreground and background. Add code to remove the splash after
10418 its initial showing.
10420 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10421 (create_forms): no longer call Dialogs::showSplash.
10423 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10425 * .cvsignore: add version_info.h
10427 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10429 * version_info.h.in: new file
10431 * Makefile.am: add version_info.h.in
10433 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10434 version_info.h instead of VERSION_INFO
10436 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10438 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10439 The ERT inset now returns string().
10441 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10443 * lyxtext.h, text.C (selectNextWord): renamed as
10444 selectNextWordToSpellcheck.
10446 * text.C (selectNextWordToSpellcheck): Modified to not select
10447 words inside an ERT inset.
10449 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10451 * lyx_cb.C (MenuLayoutSave): change a bit the question
10453 * sp_base.h: include <sys/types.h>
10455 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10457 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10459 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10461 * several files: fix typos in user-visible strings
10463 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10465 * text2.C (pasteSelection): do not set the selection, since it
10466 will be cleared later. Actually, the intent was to fix the way the
10467 selection was set, but I figured rmoving the code was just as good.
10469 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10471 * FontLoader.C (available): Check if font is available without
10474 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10476 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10478 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10480 * lyxrc.[Ch]: added display_graphics variable and associated code.
10482 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10484 * bufferparams.C (hasClassDefaults): new method. Returns true if
10485 the buffer parameters correspond to known class defaults
10487 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10489 * XFormsView.C (show): set minimum size to the main window.
10491 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10493 * text2.C (copySelection):
10495 * lyxfind.C (LyXReplace):
10496 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10497 LyXText::selectionAsString.
10499 * paragraph.C (asString): add "label" argument to the second form
10501 * text2.C (selectionAsString): add "label" argument and pass it to
10502 Paragraph::asString.
10504 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10506 * lyx_main.C (commandLineHelp): remove version information
10508 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10510 * lyx_main.C: add -version commandline option
10512 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * paragraph.h: make the optional constructor arg required instead.
10515 some modifications to other files because of this.
10517 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10519 * lyxserver.C (C_LyXComm_callback): make it static
10521 * lyx_main.C (error_handler): make it static
10523 * lyx_gui.C (LyX_XErrHandler): make it static
10525 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10527 * WorkArea.C: make the extern "C" methods static.
10529 * Makefile.am (lyx_LDADD): simplify
10531 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10533 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10534 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10536 * LyXAction.C (init):
10537 * lyxfunc.C (dispatch): associated code removal.
10539 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10541 * lyxfont.h (isSymbolFont): shut off warning
10543 * text.C (setHeightOfRow):
10544 (getVisibleRow): fix crash with empty paragraphs which have a
10547 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10549 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10552 2001-09-04 José Matos <jamatos@fep.up.pt>
10555 * tabular.C (docbook): rename docBook method to docbook.
10557 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10559 * Makefile.am: add dependencies to main.o.
10561 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10563 * FontLoader.C (available): Return false if !lyxrc.use_gui
10565 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10567 * FontInfo.C (query):
10568 * converter.C (view):
10569 * importer.C (Import):
10570 * exporter.C (Export): Can not -> cannot.
10572 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10574 * BufferView_pimpl.C: allow to create index inset even if
10577 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10579 * buffer.C (getLists): replace boost::tie code with an explicit pair
10580 as boost::tie can break some compilers.
10582 * iterators.h: Added a std:: declaration to the return type of
10585 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10587 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10590 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10592 * iterators.[Ch]: New files. Provide paragraph iterators.
10594 * buffer.C (changeLanguage): Use paragraph iterators.
10595 (isMultiLingual): ditto
10597 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10599 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10601 * FontLoader.C: Support for cmr font.
10603 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10605 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10606 (available): New method.
10608 * FontInfo.C (getFontname): Use scalable fonts even when
10609 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10612 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10614 * converter.C (Formats::view): reverted! Incorrect fix.
10616 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10618 * converter.C (Formats::view): only output the -paper option
10619 if the dvi viewer is xdvi, thereby fixing bug #233429.
10621 2001-08-23 Herbert Voss <voss@perce>
10623 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10625 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10627 * Spacing.h (Spacing): Set space to Default on in the default
10630 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * vc-backend.h (RCS::versionString): add RCS to version
10633 (CVS::versionString): add CVS to version
10635 * vc-backend.C (scanMaster): do not add CVS to version.
10636 (scanMaster): do not add RCS to version
10638 * lyxvc.C (versionString): new method
10640 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10642 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10644 * Spacing.C (set): initialize fval
10646 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10648 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10651 2001-08-16 Juergen Vigna <jug@sad.it>
10653 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10655 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10657 * BufferView_pimpl.C:
10660 * text2.C: setParagraph takes linespacing now
10662 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10664 * LyxAction.C: add internal LFUN_CITATION_INSERT
10666 * LyXView.C: actually apply fix
10668 * bufferlist.C: fix open non-existent file
10670 * lyxfind.C: fix indentation
10672 * lyxfunc.C: remove unneeded assert, fix typo
10674 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10676 * MenuBackend.C: use "Floatname List"
10678 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10680 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10681 when converting LaTeX layout to insetERT.
10682 Generate a non-collapsed float when reading old float
10684 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10686 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10689 2001-08-13 Juergen Vigna <jug@sad.it>
10691 * text.C (fill): return 0 instead of 20 as this seems to be the more
10694 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10696 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10699 2001-08-13 Juergen Vigna <jug@sad.it>
10701 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10703 (SearchBackward): comment out the unlocking of the inset_owner this
10704 should not be needed!
10706 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10708 * Many files: Remove inherit_language, and add latex_language
10710 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10711 collapsible insets.
10713 2001-08-10 Juergen Vigna <jug@sad.it>
10715 * text.C (prepareToPrint): fixed hfill-width in draw!
10717 * BufferView2.C (selectLastWord): save the selection cursor as this
10718 now is cleared in the function LyXText::clearSelection!
10720 2001-08-08 Juergen Vigna <jug@sad.it>
10722 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10723 BACKSPACE type functions.
10725 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10726 is only cutted from the document but not put in the cut-buffer, where
10727 still the old stuff should be.
10729 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10731 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10733 * tabular.C (SetWidthOfCell): fixed special case where the width
10735 (LeftLine): handle '|' in align_special.
10737 (LeftAlreadyDrawed): ditto
10738 (SetWidthOfCell): ditto
10740 2001-08-07 Juergen Vigna <jug@sad.it>
10742 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10744 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10746 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10747 * lyxlex.[hC]: ditto
10749 2001-08-06 Juergen Vigna <jug@sad.it>
10751 * text.C (getVisibleRow): fix up row clearing a bit.
10753 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10755 * minibuffer.C: make sure the X server sees the changes in the input.
10757 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * paragraph.C (getFont): split into...
10760 (getLabelFont): this
10761 (getLayoutFont): and this
10762 * paragraph_pimpl.C (realizeFont): calling this
10764 * text2.C (getFont): split into...
10765 (getLayoutFont): this
10766 (getLabelFont): and this
10767 (realizeFont): all three calling this
10769 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10772 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10776 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10778 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10779 layouts from the Quote inset insertion.
10781 2001-08-03 Juergen Vigna <jug@sad.it>
10783 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10785 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10786 only if status not is already CHANGED_IN_DRAW (second level).
10788 * text.C (draw): don't set the need_break_row when inside an
10791 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * buffer.C (parseSingleLyXformat2Token): handle more latex
10796 * bufferview_funcs.[hC]: change function names to
10797 begin with small char, adjust other files.
10799 2001-08-02 André Pönitz <poenitz@gmx.net>
10802 BufferView_pimpl.C: remove broken special code for math-greek
10804 2001-08-02 Juergen Vigna <jug@sad.it>
10806 * BufferView_pimpl.C (update): redone this function so that we
10807 update the text again if there was a CHANGE_IN_DRAW.
10809 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10810 (drawFromTo): added a new internal bool which is used by draw() and
10812 (general): some cursor drawing problems fixed.
10814 2001-08-01 Juergen Vigna <jug@sad.it>
10816 * lyxfind.C (LyXFind): fixed
10817 (SearchForward): ditto
10818 (SearchBackward): ditto
10820 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10821 spurius drawing of the cursor in the main area.
10823 * text2.C (status): small fix which could lead to a segfault!
10824 (clearSelection): remove unneeded BufferView param.
10826 2001-08-01 André Pönitz <poenitz@gmx.net>
10828 * lyxfunc.C: small change due to changed mathed interface
10830 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10832 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10834 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10836 * lyxfunc.c: fail gracefully if file doesn't exist
10841 * BufferView_pimpl.C: IsDirWriteable() proto changed
10843 * LyXView.C: fix updateWindowTitle() to store the last title
10845 2001-07-31 Juergen Vigna <jug@sad.it>
10847 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10848 the font (wrong since using of Paragraph::highestFontInRange).
10850 * paragraph.C (highestFontInRange): added a default_size parameter.
10852 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10853 (setHeightOfRow): reformat
10855 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10857 * converter.[hC] + affected files: move to (inital-char)lowercase
10860 * ParagraphParameters.C (ParagraphParameters): remove commented code
10862 * PainterBase.[Ch]: remove commented code
10864 * LaTeXFeatures.h: add "bool floats" for float.sty
10866 * LaTeXFeatures.C (LaTeXFeatures): init floats
10867 (require): handle float
10868 (getPackages): do it with floats
10870 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10872 * BufferView_pimpl.C (Dispatch): improve handling of
10873 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10875 * commandtags.h: #include lyxfont.h here temporarily to avoid
10878 * bufferlist.h: include LString.h here.
10880 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10882 * text2.C (getStringToIndex): new method.
10884 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10886 * *: Reduced header file dependencies all over.
10888 2001-07-30 Baruch Even <baruch@lyx.org>
10890 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10892 2001-07-29 Baruch Even <baruch@lyx.org>
10894 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10896 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * ParameterStruct.h (endif): add a default constructor to make
10899 sure that all variables is initialized.
10901 * ParagraphParameters.C (ParagraphParameters): adjust
10903 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10905 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10906 index; also, check that there is something to index, and that it
10907 does not span over several paragraphs.
10908 (doubleClick): use WHOLE_WORD_STRICT for double click.
10910 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10912 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10915 2001-07-26 Baruch Even <baruch@lyx.org>
10917 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10918 an InsetFig figure, backwards compatible reading of old figure code.
10920 2001-07-27 Juergen Vigna <jug@sad.it>
10922 * text2.C: font.realize function adaption.
10924 * text.C (draw): add a warnings lyxerr text if needed.
10926 * layout.C: font.realize function adaption.
10928 * language.C: add inherit_language and implement it's handlings
10930 * bufferview_funcs.C (StyleReset): remove language parameter from
10931 font creation (should be language_inherit now).
10933 * bufferparams.C (writeFile): handle ignore_language.
10935 * paragraph.C (getFontSettings): the language has to be resolved
10936 otherwise we have problems in LyXFont!
10938 * lyxfont.C (lyxWriteChanges): added document_language parameter
10939 (update): removed unneeded language parameter
10941 * paragraph.C (validate): fixed wrong output of color-package when
10942 using interface colors for certain fonts in certain environments,
10943 which should not seen as that on the final output.
10945 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10947 * BufferView_pimpl.C:
10952 * LyXAction.C: add thesaurus support
10955 * lyxfind.C: add "once" parameter, for thesaurus, to not
10956 move to the next match
10958 2001-07-26 Juergen Vigna <jug@sad.it>
10960 * lyxfont.C (realize): honor ignore_language too!
10963 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10965 * text.C (draw): one place more for ignore_language to not draw
10968 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10970 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10972 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10975 the minipage conversion problem.
10977 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10979 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10982 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * BufferView.h: don't forward declare WorkArea
10986 * BufferView.C: don't include WorkArea.h
10988 2001-07-25 André Pönitz <poenitz@gmx.net>
10992 * lyxfunc.C: new LFUN 'math-space'
10994 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10996 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10998 * text2.C (toggleInset): call open/close
11000 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11002 * lyxfunc.C (dispatch): add debug for the disabled case
11004 * font.C (buttonText): make similar to rectText
11006 * buffer.C (readInset): comment out parsing of insetlist and
11009 * PainterBase.C (rectText): small correction
11011 * BufferView_pimpl.C: comment out insettheorem and insetlist
11012 * LyXAction.C: ditto
11013 * commandtags.h: ditto
11015 2001-07-24 Juergen Vigna <jug@sad.it>
11017 * text.C (draw): honor the ignore_language.
11019 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11021 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11023 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11026 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11028 * lyxtext.h: remove unused (and unimplemented) methods
11030 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11032 * text.C (getVisibleRow): honor background color
11035 * Painter.h: remove default color argument for fillRectangle
11037 * text.C (backgroundColor): new method
11039 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11041 * text.C (getVisibleRow): adjust
11043 * font.[Ch] (rectText): new method, metrics
11044 (buttonText): new method, metrics
11046 * PainterBase.[hC]: make rectText and buttonText always draw and take
11049 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11051 * ToolbarDefaults.C (read):
11052 * MenuBackend.C (read): allow escaping in all strings
11054 * BufferView_pimpl.C (insertAndEditInset): new method.
11055 (Dispatch): use insertAndEditInset whenever appropriate.
11057 * BufferView_pimpl.C (insertNote): removed
11059 * BufferView_pimpl.C (smartQuote): new method, moved from
11060 BufferView; if an insetquote cannot be inserted, insert a '"'
11063 * BufferView2.C: remove insertCorrectQuote();
11065 * lyxfunc.C (getStatus): Add support for all remaingin
11066 inset-insert lfuns.
11068 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11070 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11071 command (necessary to pass " as parameter of self-insert.
11073 * text.C (selectWordWhenUnderCursor):
11074 (selectWord): add word_location parameter
11075 (selectWordWhenUnderCursor): same + remove special code for word
11077 (selectNextWord): use kind() to guess type of insetspecialchar,
11080 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11081 (insertErtContents): create ert insets as collapsed.
11082 (readInset): better compatibility code for Info inset.
11084 2001-07-20 Juergen Vigna <jug@sad.it>
11086 * lyxfunc.C (dispatch): use always LyXFind now!
11088 * text2.C (init): add a reinit flag so that the LyXText can be
11089 reinited instead of deleted and reallocated (used in InsetText).
11091 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11097 2001-07-18 Juergen Vigna <jug@sad.it>
11099 * text.C (selectNextWord): handle insets inside inset by calling
11100 always the bv->text functions so that we can go up the_locking_inset!
11102 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11103 in strange locations when inside an inset!
11105 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11106 handling to include insets.
11108 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11110 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11112 * LyXAction.C (init):
11114 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11115 LIGATURE_BREAK, since the name is so stupid.
11117 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11119 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11122 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11124 * sp_form.[Ch]: remove.
11126 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11128 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11131 * src/buffer.C (readInset): ditto.
11133 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11135 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11136 menuSeparator(), endOfSentenceDot(), ldots() and
11137 hyphenationPoint(), which are therefore removed.
11138 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11140 * LyXAction.C (init):
11141 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11143 * paragraph.C (getWord): removed.
11145 * BufferView_pimpl.C (Dispatch): use last word or selection for
11146 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11148 * lyx_main.C (queryUserLyXDir): do not ask before creating
11149 user_dir, except if it has been named explicitely.
11151 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11153 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11154 a document of zero size.
11156 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11158 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11159 approriately in the c-tor and in require().
11160 (getPackages): output the appropriate LaTeX for natbib support.
11162 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11163 variables "use_natbib" and "use_numerical_citations" when reading the
11165 (readInset): read the various natbib cite commands.
11166 (validate): white-space change.
11168 * bufferparams.[Ch]: new variables "bool use_natbib" and
11169 "bool use_numerical_citations".
11170 (writeFile): output them in the LyX file.
11172 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11174 * lyxfunc.C (getStatus): add support for all the inset insertion
11177 * text2.C (insertInset):
11178 * paragraph.C (insetAllowed):
11179 * BufferView_pimpl.C (insertInset): update to take in account the
11180 renaming of insertInsetAllowed
11182 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11184 * text2.C (getInset): new method. returns inset at cursor position.
11186 * BufferView_pimpl.C (Dispatch): changes because of this.
11188 * LyXAction.C (init): rename open-stuff to inset-toggle.
11190 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11192 * text2.C (toggleInset): renamed from openStuff; use
11195 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11197 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11199 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11201 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11203 * buffer.C (readLyXformat2): Add filename to the error dialog
11205 2001-07-18 Juergen Vigna <jug@sad.it>
11207 * tabular.C (GetCellNumber): put an assert here instead of the check!
11209 2001-07-17 Juergen Vigna <jug@sad.it>
11211 * BufferView_pimpl.C (toggleSelection): adapted too.
11213 * text.C (selectNextWord): adapted for use with insets.
11214 (selectSelectedWord): ditto
11216 2001-07-17 Juergen Vigna <jug@sad.it>
11218 * sp_spell.C (PSpell): fix initialitation order.
11220 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11222 * paragraph.C: spacing
11224 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11226 * sp_spell.C: repair language selection for pspell
11228 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11230 * lyxfunc.h: change more methods to begin with lower char.
11232 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11234 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11235 for unknown layouts.
11237 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11239 * buffer.C (readLyXformat2): Generate an error dialog if there are
11242 2001-07-16 Juergen Vigna <jug@sad.it>
11244 * sp_spell.C: always compile ISpell part.
11246 * lyxrc.C: added use_pspell entry and it's handling.
11248 2001-07-13 Juergen Vigna <jug@sad.it>
11250 * sp_spell.C: removed double includes.
11252 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11254 Consistent use of Lsstream.h:
11255 * Lsstream.h: added using std::stringstream for consistencies sake.
11257 * buffer.C: removed using std::stringstream
11259 * lyxfont.C (stateText):
11260 * paragraph.C (asString):
11261 * text.C (selectNextWord, selectSelectedWord):
11262 * text2.C (setCounter):
11263 * vspace.C (asString, asLatexString):
11264 std::ostringstream -> ostringstream.
11266 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11268 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11269 * commandtags.h: add LFUN_HELP_ABOUTLYX
11270 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11272 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11274 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11276 * lyx_gui_misc.C: remove spellchecker
11277 * lyxfunc.C: showSpellchecker
11279 * sp_ispell.h: added
11280 * sp_pspell.h: added
11281 * sp_spell.C: added
11282 * sp_form.[Ch]: removed
11283 * spellchecker.[Ch]: removed
11285 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11287 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11289 (simpleTeXSpecialChars): Simply print the input character without
11290 any special translation if pass_thru is set.
11292 * layout.h: Added bool pass_thru to layout class for being able to
11293 implement pass through of a paragraph for Literate Programming.
11295 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11296 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11297 * layout.C (Read): add "passthru" to list of layout tags and add
11298 code to set the pass_thru boolean when it is read.
11300 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * trans_decl.h: remove allowed from KmodInfo
11304 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11305 remove allowed code
11308 * paragraph_pimpl.C (erase): use boost::prior
11310 * Painter.C (text): use data() instead of c_str() when length is
11312 * WorkArea.C (putClipboard): ditto
11313 * font.h (width): ditto
11315 * BufferView2.C: use it-> instead of (*it). for iterators
11317 * paragraph_pimpl.C: ditto
11318 * paragraph.C: ditto
11319 * minibuffer.C: ditto
11320 * language.C: ditto
11322 * encoding.C: ditto
11323 * counters.C: ditto
11324 * converter.C: ditto
11326 * Variables.C: ditto
11327 * TextCache.C: ditto
11328 * MenuBackend.C: ditto
11329 * LyXAction.C: ditto
11331 * FloatList.C: ditto
11332 * DepTable.C: ditto
11333 * ColorHandler.C (LyXColorHandler): ditto
11335 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11337 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11339 * text2.C (openStuff): reintroduce this method (which had been
11340 nuked in NEW_INSETS frenzy).
11342 * lyxfunc.C (Dispatch): when an action has not been handled, use
11343 its name in the error message, not its number.
11345 * paragraph.C (inInset): change method name to begin with lowercase.
11348 * text2.C: updates because of this.
11350 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11352 * ToolbarDefaults.C (add): add spaces in error message
11354 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11357 (readLyXformat2): rename return_par to first_par, use lyxlex's
11358 pushToken and remove the manual push handling.
11359 (parseSingleLyXformat2Token): add another ert comp. variable:
11360 in_tabular, rename return_par to first_par. handle newlines better
11362 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11364 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11366 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11368 * text2.C (getParFromID): removed
11370 * buffer.C (getParFromID): new method moved form lyxtext.
11371 * BufferView2.C (insertErrors): adjust
11372 (setCursorFromRow): adjust
11373 * BufferView_pimpl.C (restorePosition): adjust
11374 * lyxfunc.C (Dispatch): adjust
11375 * undo_funcs.C (textUndo): adjust
11377 (textHandleUndo): adjust
11378 (textHandleUndo): adjust
11380 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * buffer.C: up' the LYX_FORMAT
11384 * lyxfont.h: turn NO_LATEX on as default
11386 * buffer.C (insertErtContents): new methods of tex style compability.
11387 (parseSingleLyXformat2Token): use it several places.
11388 * tabular.C (OldFormatRead): and here
11390 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * text2.C: remove some commented code.
11395 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11396 * trans.C: changes because of the above.
11398 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11400 * text2.C (setCounter): Fix counters bug with bibliography layout.
11402 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11404 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11405 own member functions
11406 (simpleTeXSpecialChars): ditto
11408 2001-07-06 Juergen Vigna <jug@sad.it>
11410 * a lot of files: changed the access to LyXText::status and the
11411 call of undo-functions.
11413 * undo.[Ch]: added a inset_id to the undo informations.
11415 * undo_funcs.[Ch]: added and moved here all undo functions.
11417 * lyxtext.h: give the status enum a weight, made status_ a private
11418 variable and made accessor functions for it, removed the whole bunch
11419 of undo-functions as they are now in their own file, make some
11420 functions publically available. Added function ownerParagraph with
11423 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11424 made InInset() a const function, added getParFromID() function.
11426 * buffer.[Ch]: added const version for inset_iterator functions,
11427 added getInsetFromID() function.
11429 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11430 changed undo functions for new version.
11432 2001-07-05 Juergen Vigna <jug@sad.it>
11434 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11435 unknow mechanism does not call the proper constructor but only this
11436 one also if I request the other!?
11438 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11440 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11442 * text2.C (LyXText): use initialization lists.
11444 * lyxtext.h (Selection): initialize set_ and mark_
11445 (init): remove method
11447 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11449 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11451 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11453 * screen.[Ch]: change method names to begin with lowercase
11455 * BufferView_pimpl.C (updateScrollbar): simplify further and
11456 hopefully make it a bit faster.
11458 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11460 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11461 calling directly xforms functions.
11463 * Painter.C (Painter):
11464 * lyx_cb.C (MenuWrite):
11465 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11468 * lyx_gui.C: remove bogus guiruntime extern declaration.
11470 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11472 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11474 (redoDrawingOfParagraph): ditto
11475 (redoParagraphs): ditto
11476 (cutSelection): don't create a object for CutAndPaste use the
11477 static method directly
11478 (pasteSelection): ditto
11480 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11483 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * modifications to some other files because of this.
11487 * Makefile.am (lyx_SOURCES): add XFormsView
11489 * XFormsView.[Ch]: new files
11491 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11492 the main window. Move the gui dependent stuff to XFormsView
11494 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * tabular.C (GetCellInset): update cur_cell also in the row/col
11497 version of this function.
11499 * lyxfunc.C: no need to include figure_form.h here.
11505 * lyxvc.C: no need to include forms.h here.
11507 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11509 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11511 * lyxfunc.C (Dispatch):
11513 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11514 constructor argument.
11516 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11518 * paragraph.C (Paragraph): dont't clear, and just set layout.
11519 (makeSameLayout): use params's copy contructor.
11521 * ParagraphParameters.[Ch] (makeSame): delete method
11523 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11525 * Variables.[Ch]: fix indentation, rename set to isSet
11527 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * lyxfunc.C (Dispatch): fix typo
11531 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11533 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11536 * bufferlist.C: include assert.h for emergencyWrite().
11538 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11540 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11541 give up at last (bug #425202) !
11543 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11549 * spellchecker.C: strip spellchecker options and bring up
11550 preferences tab instead
11552 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11554 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11555 the istringstream constructor
11557 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11559 * paragraph.C (getLayout): fix return value
11561 * paragraph.h: do not declare getLayout as inline.
11563 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11565 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11567 * lyxcursor.h (operator<): new func
11568 (operator>): new func
11569 (operator>=): new func
11570 (operator<=): new func
11572 * text.C (changeCase): use selection.start and selection.end
11573 (changeRegionCase): require from to be <= to. Require par to be a
11576 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11578 2001-06-27 Juergen Vigna <jug@sad.it>
11580 * text.C (cursorLeftOneWord): changed to return the cursor and added
11581 overlay with BufferView * parameter which calls this one.
11583 (selectWord): use new getWord function.
11584 (changeCase): renamed from changeWordCase as and extended to work
11585 also on selections.
11587 * lyxtext.h: added enum word_location
11589 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11590 changeCase as this operates now also on selections.
11592 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11594 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11596 * many files: send debug output to Debug::INFO instead of
11599 * converter.C (View):
11601 (Move): send debug output to Debug::FILES instead of console.
11603 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11605 * lyxfunc.C (getStatus): use func_status
11607 * func_status.h: new header, describing the results of
11608 LyXFunc::getStatus;
11610 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11613 2001-06-25 The LyX Project <jug@sad.it>
11615 * buffer.C (sgmlOpenTag):
11617 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11619 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * text2.C: remove some dead code
11623 * tabular.C (GetCellInset): store the last cell checked (gotten)
11625 * tabular.h: add the helper for the speedup
11627 * lyxtext.h: remove some dead code
11629 2001-06-26 The LyX Project <Asger>
11631 * paragraph.C: Change export to LaTeX of alignment to
11632 \begin{center} and family for better roundtrip work with reLyX.
11634 * Tune the math drawing a bit.
11636 2001-06-25 The LyX Project <Asger>
11638 * LColor.C (LColor): New color for math background. New color
11641 2001-06-25 The LyX Project <jug@sad.it>
11643 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11645 * lyxfunc.C (Open):
11646 * bufferlist.C (newFile): do not restrict to files ending with
11649 * BufferView_pimpl.C (MenuInsertLyXFile):
11651 2001-06-24 The LyX Project <jug@sad.it>
11653 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11656 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11658 * lyxtext.h: rename most methods to begin with a small char.
11659 Lots of changes because of this.
11661 * paragraph.C (Paragraph): do not call fitToSize
11662 (erase): call Pimpl::erase
11663 (insertChar): call Pimpl::insertChar
11664 (insertInset): call Pipl::insertInset
11665 (breakParagraph): do not call fitToSize
11666 (breakParagraphConservative): do not call fitToSize
11667 (fitToSize): remove method
11669 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11671 2001-06-24 The LyX Project <Asger>
11673 * Fix Qt compilation^2
11675 2001-06-24 The LyX Project <jug@sad.it>
11677 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11678 depthHook(getDepth()-1).
11681 * ParagraphParameters.h:
11682 * ParameterStruct.h: change type of depth to unsigned int ==
11683 depth_type. Many adaptations to other files before of that.
11685 2001-06-24 The LyX Project <Asger>
11687 * Fix Qt compilation.
11689 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * paragraph.h: renamed several methods to begin with small letter.
11692 several changes to many parts of the code because of this.
11694 2001-06-23 The LyX Project <jug@sad.it>
11696 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11697 rewritten to discard all double spaces when KeepEmpty is off
11698 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11699 to only handle newlines but not fiddle with spaces and friends.
11701 * lyxfunc.C (MenuNew): when doing 'new from template', use
11702 template_path as default directory
11704 2001-06-23 The LyX Project <Asger>
11706 * Clean-up of header file includes all over
11707 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11709 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * paragraph.h: renamed from lyxparagraph.h
11713 2001-06-23 Asger <lyx@violet.home.sad.it>
11715 * Buffer.h: Removed Buffer::resize
11716 * BufferList.h: Removed BufferList::resize
11717 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11718 the document lazily when we change the width, or the font settings.
11720 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11722 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11724 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11726 * buffer.h: remove out of date comment
11728 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11731 * screen.C: fix "theoretical" GC leak
11733 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11735 * LaTeX.C (scanAuxFile):
11736 (deplog): remove trailing \r when reading stream (useful under
11739 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11741 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11742 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11743 and BufferView::theLockingInset(Inset*), so should use them and not
11744 access bv_->text->the_locking_inset directly.
11746 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11748 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11751 * tex-defs.h: remove old unused file
11753 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11755 * BufferView_pimpl.C: fix typo, remove minibuffer message
11756 when buffer has loaded
11758 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * lyxfunc.C (Dispatch): use stringstream
11761 (MenuNew): use stringstream
11762 (Open): use stringstream
11764 * importer.C (Import): use stringstream
11766 * bufferview_funcs.C (CurrentState): use stringstream
11768 * LaTeX.C (run): use stringstream
11770 * BufferView_pimpl.C (savePosition): use stringstream
11771 (restorePosition): use stringstream
11772 (MenuInsertLyXFile): use stringstream
11774 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11787 * vspace.C: removed // -*- C++ -*- as first line.
11790 * version.h: added // -*- C++ -*- as first line.
11792 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11794 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11796 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11799 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11804 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11806 * gettext.C: include LString.h even when --disable-nls is on.
11808 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11810 * converter.h (Get): changed argument type from int to
11811 FormatList::size_type to avoid unnecessary conversion.
11813 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11816 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11818 * gettext.h: include LString.h even when --disable-nls is on.
11820 2001-06-07 Juergen Vigna <jug@sad.it>
11822 * text.C (BreakAgain): subst spaces with tabs.
11824 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11825 (resizeInsetsLyXText): set force on resizeLyXText.
11827 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11829 * gettext.h (gettext_init):
11830 (locale_init): use a real definition instead of a macro
11832 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11834 * Bufferview_pimpl.C:
11836 * LColor.C: further lcolor tidies
11838 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * BufferView_pimpl.C (updateScrollbar): simplify.
11842 * BufferView2.C: don't include insets/insetinfo.h, change
11843 prototype for insertInset and call the Pimpl version. let
11844 updateInset call Pimpl version.
11846 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11847 gotoInset to BufferView::Pimpl
11849 2001-06-01 Juergen Vigna <jug@sad.it>
11851 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11852 inside a LockingInset (is the update needed at all?).
11854 2001-05-31 Juergen Vigna <jug@sad.it>
11856 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11857 here not the old one otherwise how should we compare it afterwards
11860 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11865 * FontInfo.C: bring C functions into global namespace when
11868 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11870 * LString.h: make sure config.h has been loaded before LString.h.
11872 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11873 (one for each char read by EatLine!).
11875 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11878 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11881 to the same as the par we break from
11883 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11887 * MenuBackend.C (expand): also create menu entries for wide
11888 versions of the floats.
11890 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11892 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11894 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11895 frontends/Makefile.am
11901 * tabular.C (getTokenValue): add std::
11903 * tabular-old.C (getTokenValue): add std::
11904 (getTokenValue): ditto
11905 (getTokenValue): ditto
11907 * screen.C (ToggleSelection): adjust
11909 * lyxtext.h: put selection cursors inside a Selection struct.
11911 * lyxfunc.C (moveCursorUpdate): adjust
11913 * lyxfont.C (latexWriteStartChanges): add std::
11915 * lyxfind.C: adjust
11917 * font.h: delete with(char const *, LyXFont const &)
11919 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11921 * FontInfo.C (getFontname): add std::
11923 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11924 (workAreaButtonPress): adjust
11925 (tripleClick): adjust
11927 (moveCursorUpdate): adjust
11930 * BufferView2.C (gotoInset): adjust
11932 2001-05-30 Juergen Vigna <jug@sad.it>
11934 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11935 to check pspell I add this as default as I now have new pspell
11936 libraries and they seem to use this.
11938 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * text2.C (CutSelection): make the cursor valid before the call to
11943 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11945 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11946 relied on 0 terminated strings and other horrors. Bug found due to
11947 the new assert in lyxstring!
11949 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11952 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11954 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11957 * lyxfunc.C (processKeySym): change method of getting to the
11960 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11961 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11962 * BufferView_pimpl.[Ch]: here as private methods.
11964 2001-05-28 Juergen Vigna <jug@sad.it>
11966 * text.C (SetHeightOfRow): added the update() call again as it is
11967 needed to initialize inset dimensions!
11969 2001-05-16 Juergen Vigna <jug@sad.it>
11971 * text2.C (SetCharFont): Add new function with BufferView * and
11972 bool toggleall parameters for setting insets internal fonts.
11973 (SetFont): Freeze the undo as we may change fonts in Insets and
11974 all this change should be inside only one Undo!
11976 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11977 setting font's in insets as for them we have the SetFont function!
11979 2001-05-15 Juergen Vigna <jug@sad.it>
11981 * text2.C (ClearSelection): to be sure we REALLY don't have any
11984 * tabular.C (TeXCellPreamble): fixed the left border problem for
11987 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11989 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11992 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11994 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11995 LFUN_BREAKPARAGRAPH.
11997 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11998 help test to "internal only", similar for LFUN_INSERT_URL
12000 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12001 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12002 auto_region_delete and deadkeys.
12004 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12007 * LColor.C: remove some dead entries, tidy a little
12009 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12011 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12013 (Dispatch): implement LFUN_ESCAPE
12015 * commandtags.h: add LFUN_ESCAPE
12017 * LyXAction.C (init): add entry for LFUN_ESCAPE
12019 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12020 Remove commented code.
12021 (insertNote): moved here
12022 (open_new_inset): moved here
12024 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12027 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * kbmap.C (findbinding): clean it up and make it work correctly.
12031 * lyx_main.C (init): do not pass argc and argv as parameters
12033 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12035 * buffer.C: fix path for OS/2 & Win32
12039 * lyx_main.C: Added os:: class.
12041 * os2_defines.h: update
12043 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12046 better by trying again with reduced state.
12048 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12050 * lyxrc.C (read): print error about invalid key sequence only when
12051 debugging (because not all latinX keysyms are known to some X
12054 * kbsequence.C (getiso): add a few std:: qualifiers
12055 (getiso): comment out extra return statement.
12057 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12059 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12061 (Dispatch): enhance the accent inset a bit. (not perfect)
12063 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12065 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12067 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * bufferlist.C (emergencyWrite): fix assert() call
12071 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12073 * text.C (InsertChar): Added trivial patch to only send the "you
12074 can not do multiple spaces this way" message once during a
12077 2001-05-08 Baruch Even <baruch@lyx.org>
12079 * Makefile.am: Changed order of libraries to get LyX to link properly
12080 with the gnome frontend.
12082 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12084 * LaTeXFeatures.h: add a std:: qualifier
12086 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * paragraph.C (String): use stringstream
12090 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12092 * paragraph.C (writeFile): remove footflag arg
12094 * buffer.C (makeLaTeXFile): use stringstream
12095 (latexParagraphs): remove footnot gurba
12097 * LaTeXFeatures.C (getPackages): use stringstream
12098 (getMacros): likewise
12099 (getTClassPreamble): likewise
12100 (getFloatDefinitions): new method
12102 * paragraph.C (writeFile): reindent
12105 * WorkArea.h: revert the xpos + etc changes.
12107 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12109 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12111 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12112 (pasteSelection): likewise
12113 * text2.C (CreateUndo): likewise
12115 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * minibuffer.C (peek_event): temporarily reduce the functionality
12118 of the minibuffer (to allow args on lfuns)
12120 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12121 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12123 * buffer.C (readInset): add compability reading of old float
12124 lists, add reading of new style float list.
12125 (readInset): avoid reevaluation of inscmd.getCmdName()
12126 (getLists): reindent
12128 * MenuBackend.C (MenuItem): implement parsing of
12129 md_floatlistinsert and md_floatinsert.
12130 (expand::LastFiles): move initalizaton of iterators out of loop,
12131 avoid reevaluation.
12132 (expand::Documents): introduce typdedef vector<string> Strings,
12134 (expand::ExportFormats): introduce typedef vector<Format const *>
12135 Formats, and use it.
12136 (expand): implement FloatListInsert and FloatInsert.
12138 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12139 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12140 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12142 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12144 (Dispatch::LFUN_FLOAT_LIST): implement
12146 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12148 * LaTeX.C (run): Fix problem with --export code.
12150 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12152 * BufferView.[Ch] (workarea): removed.
12153 (getClipboard) new method; wrapper for workarea()->getClipboard()
12155 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12158 * WorkArea.h (width, height, xpos, ypos): These methods all
12159 returned the dimensions of the work_area sub-area of WorkArea,
12160 resulting in a position error if the WorkArea were resized. Now
12161 return the dimensions of the entire WorkArea.
12163 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12165 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12167 * LaTeX.C (deplog): correct the syntax of regex reg1
12169 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12171 * undo.C: remove !NEW_INSETS cruft
12173 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12175 * text2.C: remove !NEW_INSETS cruft
12177 * text.C: remove !NEW_INSETS cruft
12179 * tabular.C: remove !NEW_INSETS cruft
12181 * spellchecker.C: remove !NEW_INSETS cruft
12183 * lyxtext.h: remove !NEW_INSETS cruft
12185 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12187 * lyxfunc.C: remove !NEW_INSETS cruft
12189 * lyxfind.C: remove !NEW_INSETS cruft
12191 * lyx_cb.C: remove !NEW_INSETS cruft
12193 * figureForm.C: remove !NEW_INSETS cruft
12195 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12197 * buffer.[Ch]: remove !NEW_INSETS cruft
12199 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12201 * CutAndPaste.C: remove !NEW_INSETS cruft
12203 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12205 * BufferView2.C: remove !NEW_INSETS cruft
12207 * BufferView.h: remove !NEW_INSETS cruft
12209 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12211 * Lsstream.h: include LString.h before the sstream headers to
12212 fix problem with gcc 2.95.3 and lyxstring
12214 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12216 * lyx_main.C: add using directives when needed for C functions
12217 declared in std:: namespace.
12219 2001-04-27 Juergen Vigna <jug@sad.it>
12221 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12222 (SetHeightOfRow): comment out the update call should not be needed!
12224 2001-04-13 Juergen Vigna <jug@sad.it>
12226 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12227 (LyXTabular): tried to minimize operator= operations (and realized
12228 hopfully Lars wish).
12230 2001-04-27 Juergen Vigna <jug@sad.it>
12232 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12234 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12236 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12238 * buffer.C (readInset): hack to make listof algorithm work
12240 * BufferView_pimpl.C: hack to make listof algorithm work
12242 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12244 * LyXAction.C: removed all !NEW_INSETS cruft
12245 (init): moved lfun_item in method
12247 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12249 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12251 * BufferView2.C (theLockingInset): white space.
12253 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * minibuffer.C: include <iostream>
12257 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12259 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12261 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12263 * text.[Ch] (TransposeChars): new method
12265 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12267 * call message directly through LyXView instead of through LyXFunc
12268 * BufferView2.C: adjust
12269 * BufferView_pimpl.C: adjust
12270 * FontLoader.C: adjust
12272 * bufferview_funcs.C: adjust
12273 * converter.C: adjust
12274 * figureForm.C: adjust
12275 * importer.C: adjust
12277 * lyx_gui_misc.C: adjust
12278 * lyxfunc.C: adjust
12281 + more files in subdirs
12283 * lyxparagraph.h (size): move up int file
12286 * adjust all uses of Assert to lyx::Assert.
12288 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12289 lyxfunctional in namespace lyx
12290 * layout.C (hasLayout): ditto
12293 (delete_layout): ditto
12294 (NumberOfClass): ditto
12295 * converter.C (GetFormat): ditto
12300 * bufferlist.C (getFileNames): ditto
12301 (emergencyWriteAll): ditto
12304 * MenuBackend.C (hasSubmenu): ditto
12307 * BufferView_pimpl.C (getInsetByCode): ditto
12309 2001-04-18 Juergen Vigna <jug@sad.it>
12311 * vspace.C (asLatexString): fixed the 100% problem.
12313 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * lyxfunc.C (Dispatch):
12317 * minibuffer.h: add a few std:: qualifiers
12319 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * minibuffer.[Ch]: reimplement so that commands is initiated and
12322 run from lyxfunc, simplified som handling, and made the completion
12323 and history code for complete. wip.
12325 * lyxfunc.C (processKeySym): call message
12326 (miniDispatch): new temporary method
12327 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12328 (LFUN_MESSAGE): implement
12329 (LFUN_MESSAGE_PUSH): implement
12330 (LFUN_MESSAGE_POP): implement
12331 (initMiniBuffer): the initial/defualt minibuffer message.
12333 * lyxfont.[Ch]: inline some more getters
12335 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12337 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12339 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12340 (AutoSave): use LFUN_MESSAGE
12341 (Reconfigure): ditto
12343 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12345 * figureForm.C: use LFUN_MESSAGE
12347 * converter.C (runLaTeX): use LFUN_MESSAGE
12349 * bufferview_funcs.C: use LFUN_MESSAGE
12351 (changeDepth): ditto
12353 * bufferparams.h: use boost::
12355 * bufferlist.h: inherit privately from noncopyable
12357 * bufferlist.C (loadLyXFile): remove some commented code.
12359 * buffer.C (runChktex): use LFUN_MESSAGE
12361 * ShareContainer.h: inherit privately from noncopyable
12363 * ParagraphParameters.[hC] (depth): inline it.
12365 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12367 (message): new method
12368 (messagePush): ditto
12369 (messagePop): ditto
12370 (show): init minibuffer
12371 (showState): direct call
12373 * LaTeX.[Ch]: inherit privately from noncopyable
12374 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12375 instead of WriteStatus.
12377 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12379 * BufferView_pimpl.C (buffer): don't init minibuffer
12380 (workAreaButtonPress): use LFUN_MESSAGE
12381 (workAreaButtonRelease): ditto
12382 (savePosition): ditto
12383 (restorePosition): ditto
12384 (MenuInsertLyXFile): ditto
12385 (workAreaExpose): don't init minibuffer
12386 (update): remove commented code, simplify
12388 * BufferView2.C (openStuff): use LFUN_MESSAGE
12389 (toggleFloat): ditto
12392 (copyEnvironment): ditto
12393 (pasteEnvironment): ditto
12398 (updateInset): remove some commented code
12400 * lastfiles.h: inherit privately from noncopyable
12403 * lyx_main.h: ditto
12405 * lyxlex_pimpl.h: ditto
12407 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12408 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12409 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12411 * LyXAction.h: inherit privately from noncopyable, add methods
12412 func_begin, func_end, returning iterators to the func map.
12414 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12415 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12416 (func_begin): new method
12417 (func_end): new method
12419 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12421 (copySelection): ditto
12422 (pasteSelection): ditto
12424 * BufferView.C: whitespace change
12425 * BufferView.h: inherit privately from noncopyable
12427 2001-04-16 Allan Rae <rae@lyx.org>
12429 * tabular-old.C (l_getline):
12430 * spellchecker.C (sc_check_word):
12431 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12432 an unrecognised preprocessor directive. So ensure they're wrapped.
12434 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12436 * src/exporter.C (Export): Give an error message when path to file
12439 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12441 * LaTeX.C (deplog): Always check that foundfile exists.
12443 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12446 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12448 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * tabular.[Ch] (getLabelList): implement new method
12452 * minibuffer.h: comment ouf setTiimer
12454 * minibuffer.C (ExecutingCB): constify res
12455 (peek_event): constify s
12456 (Set): constify ntext
12457 (Init): constify nicename
12459 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12461 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12462 (savePosition): use two params to Minibuffer::Set
12463 (restorePosition): ditto
12465 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12467 * lyx_main.C: include language.h
12469 * Makefile.am (lyx_main.o): add language.h
12471 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12477 * CutAndPaste.C: include gettext.h
12479 * lyxfont.h: remove old hack with ON and OFF.
12482 * lyxfont.h: do not include language.h...
12487 * bufferview_funcs.C:
12493 * paragraph.C: ... but do it here instead
12495 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12499 * tabular.C: small reformat
12501 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12504 (BreakParagraph): ditto
12505 (SetOnlyLayout): ditto
12508 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12511 * lastfiles.C: removed most using decl, add std:: where needed
12513 * buffer.C: ws changes
12515 * MenuBackend.C (class compare_format): put into anon namespace
12516 (expand): constify label, names, action, action2
12519 * text.C (SingleWidth): constify font
12520 (IsBoundary): constify rtl2
12521 (GetVisibleRow): constify ww
12523 * LaTeX.C (deplog): constify logfile
12525 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12527 (workAreaExpose): constify widthChange, heightChange
12529 * lyxrow.C (par): moved
12532 * lyxrow.h: as inlines here
12534 * lyxfont.h (shape): moved from lyxfont.C
12535 (emph): moved from lyxfont.C
12537 * lyxfont.C (LyXFont): use initialization list for all
12539 (shape): move to lyxfont.h as inline
12540 (emph): move to lyxfont.h as inline
12543 2001-04-04 Juergen Vigna <jug@sad.it>
12545 * vspace.C: had to include stdio.h for use of sscanf
12547 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12550 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12551 independent of xforms.
12553 2001-04-02 Juergen Vigna <jug@sad.it>
12555 * spellchecker.C: fixed namespace placing!
12557 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12559 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12560 the LyXParagraph * is 0.
12562 2001-03-29 Juergen Vigna <jug@sad.it>
12564 * vspace.C: added support for %, c%, p%, l%.
12565 (stringFromUnit): added helper function.
12566 (asLatexString): changed to give right results for the %-values.
12568 * buffer.C: convert the widthp in a width%.
12570 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12572 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12575 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12576 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12578 * lyx_cb.[Ch]: see above.
12580 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12584 * lyx.[Ch]: replaced by figure_form.[Ch].
12588 * lyxfunc.C: changed headers associated with above changes.
12590 2001-03-27 Juergen Vigna <jug@sad.it>
12592 * BufferView_pimpl.C: set the temporary cursor right!
12594 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12596 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12598 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12600 * LString.h: removed "using std::getline"!
12602 * BufferView_pimpl.C (Dispatch): changes due to changes in
12603 InsetInclude::Params.
12605 * buffer.C (tag_name): removed redundant break statements as they were
12606 producing lots of warnings with my compiler.
12608 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12610 * LString.h: add "using std::getline" when using the real <string>.
12612 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12614 * buffer.C: removed bitset usage.
12615 PAR_TAG moved to an anonymous name space.
12616 (tag_name): new funtion, also in the anonymous namespace.
12617 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12618 (makeDocBookFile): clean code. Completed transition from string arrays
12620 (SimpleDocBookOnePar): code clean.
12622 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12624 * tabular.C: add some comments.
12626 2001-03-22 Juergen Vigna <jug@sad.it>
12628 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12629 compatibility read a bit and fixed bug with minipage in different
12632 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12634 * buffer.C (pop_tag): removed.
12635 (push_tag): removed.
12636 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12637 array replaced with vector. Added support for CDATA sections.
12638 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12640 (makeDocBookFile): XML conformant declaration of CDATA section,
12641 fixed bug related to <emphasis> in the first paragraph char.
12642 (sgmlOpenTag): exclude empty tags.
12643 (sgmlCloseTag): ditto.
12645 * buffer.h (pop_tag): removed.
12646 (push_tag): removed.
12648 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12650 * language.h (Languages): added size_type and size().
12652 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12654 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12655 response on compability reading of minipages. One probliem is that
12656 the old usage of minipages was «flertydig»
12658 * several files here and in subdirs: don't use static at file
12659 scope use anon namespaces instead.
12661 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12663 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12664 LaTeX output. This is necessary for Literate document
12667 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12669 * buffer.C: insert hfill when needed.
12671 * tabular.C (l_getline): use string::erase, small whitespace change.
12673 * BufferView_pimpl.C: try the anon namespace.
12674 * WorkArea.C: ditto
12676 2001-03-16 Juergen Vigna <jug@sad.it>
12678 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12679 otherwise it won't open options-dialogs.
12681 * buffer.C: honor pextraWidth(p) on converting minipages.
12683 * tabular.C (l_getline): changed the functions to strip trailing \r.
12685 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12687 * BufferView_pimpl.C:
12688 * minibuffer..C: added "using SigC::slot" declaration.
12690 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12692 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12698 * paragraph.C: ditto
12700 * lyxtext.h: NO_PEXTRA
12702 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12704 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12705 * ParameterStruct.h: ditto
12706 * ParagraphParameters.h: ditto
12707 * lyxparagraph.h: ditto
12709 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12711 * buffer.C: add compability for minipage alignment.
12712 (latexParagraphs): remove unwanted pextra check.
12714 * several files: remove CXX_WORKING_NAMESPACES
12716 * buffer.C (pop_tag): tie is in namespace boost
12718 * BufferView.h: noncopyable is in namespace boost
12720 * lyx_main.h: ditto
12723 * lastfiles.h: ditto
12724 * bufferlist.h: ditto
12725 * ShareContainer.h: ditto
12727 * LyXAction.h: ditto
12730 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12732 * Merging changes from BRANCH_MVC back into HEAD.
12734 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12736 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12738 * BufferView_pimpl.C: change from intl.C
12742 * Makefile.am: move combox.*
12748 * intl.C: remove dialog (covered by prefs)
12750 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12752 * lyxfunc.C (Dispatch): removed redundant break statement.
12754 2001-03-14 Juergen Vigna <jug@sad.it>
12756 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12758 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12760 * buffer.C: add hack to fix compability reading of minipages.
12762 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12764 * buffer.C (getLists): Cleanup.
12766 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * lyxfont.C (update): don't honor toggleall on font size.
12770 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12774 * Makefile.am: moved to frontends/xforms/
12778 * BufferView_pimpl.C: changes for moved mathpanel
12780 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12782 * gettext.h: fix gettext_init() in --disable-nls
12784 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12786 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12788 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12791 * lyx.h: strip external form
12793 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12795 * BufferView_pimpl.C: add comment, destroySplash()
12797 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12799 * BufferView_pimpl.C:
12803 * lyxfunc.C: use re-worked insetinclude
12805 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12807 * buffer.C: add using std::stringstream.
12809 * lyx_cb.C: readd using std::ios.
12811 * buffer.C: add using std::map.
12813 * BufferView_pimpl.C: add using std::vector.
12815 * ShareContainer.h: add std:: to swap.
12817 * buffer.h: add some typedefs
12818 * buffer.C (getLists): use them
12819 (getLists): renamed from getTocList.
12820 add a counter for the different float types and use it in the
12822 (getLists): use the same counter for the NEW_INSETS and the "non"
12825 * lyx_cb.h: remove unused items, includes, using etc.
12827 * ShareContainer.h: remove some commented code, add more comments
12828 and "documentation".
12830 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12832 * buffer.C (getTocList): make the list also when NEW_INSETS is
12835 * buffer.h: remove TocType
12837 * buffer.C (getTocList): change to return a map<string,
12838 vector<TocItem> >, implement for dynamic number of list.
12840 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12841 * text2.C (PasteSelection): adjust
12842 * CutAndPaste.C (pasteSelection): adjust
12844 * FloatList.C (FloatList): update from the new_insets branch.
12845 * Floating.[Ch]: ditto
12846 * LaTeXFeatures.C: ditto
12848 * lyxlex_pimpl.C: ditto
12850 * paragraph.C (Last): remove when NEW_INSETS is defined.
12852 * other file: changes because of the above.
12854 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12856 * lyxparagraph.h: rename next to next_, previous to previous_,
12857 make them private for NEW_INSETS. Rename Next() to next(),
12858 Previous() to previous().
12860 * other files: changes because of the above.
12862 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12865 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12868 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12870 * main.C (main): pass lyx_localedir to gettext_init().
12872 * gettext.h: remove locale_init and gettext_init macros
12874 * gettext.C (locale_init): new function
12875 (gettext_init): new function
12877 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12880 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12882 * Moved credits to frontends:
12883 * credits.[Ch]: removed
12884 * credits_form.[Ch]: removed
12885 * lyx_gui_misc.C: remove credits stuff
12888 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12890 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12892 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12893 unneeded destructor.
12895 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12896 a standalone pointer again.
12898 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12900 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12906 * ToolbarDefaults.C:
12915 * BufferView_pimpl.C: use new file dialog in GUII
12918 * lyx_cb.C: remove LayoutsCB to Toolbar
12920 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12922 * ShareContainer.h (get): add std:: qualifier
12924 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12926 * ShareContainer.h: define a proper ShareContainer::value_type
12927 type (and use typename to please compaq cxx)
12929 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12931 * lyxparagraph.h: move serveral local vars to
12932 ParameterStruct/ParagraphParameters., use ShareContainer in
12933 FontTable., make vars in FontTable private and add getter and
12936 * paragraph.C: changes because of the above.
12938 * lyxfont.h: remove copy constructor and copy assignment. (the
12939 default ones is ok), move number inside FontBits. move inlines to
12942 * lyxfont.C: add number to initializaton of statics, move several
12943 inlines here. constify several local vars. some whitespace
12944 cleanup. Dont hide outerscope variables.
12946 * Spacing.h: add two new constructors to match the set methods.
12948 * ShareContainer.h: new file, will perhaps be moved to support
12950 * ParameterStruct.h: new file
12952 * ParagraphParameters.h: new file
12954 * ParagraphParameters.C: new file
12956 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12957 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12959 * BufferView_pimpl.C: ParagraphParameter changes.
12960 * buffer.C: Likewise.
12961 * bufferview_funcs.C: Likewise.
12962 * text.C: Likewise.
12963 * text2.C: Likewise.
12965 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * lyxfind.C (LyXReplace): do not redefine default argument in
12969 (IsStringInText): ditto
12970 (SearchForward): ditto
12971 (SearchBackward): ditto
12973 2001-03-06 Juergen Vigna <jug@sad.it>
12975 * lyxfind.C (IsStringInText): put parentes around expressions.
12977 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12979 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12981 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12983 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12985 * stl_string_fwd.h: add comment
12987 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12990 * tabular.C: remove unused DocBook methods
12996 killed DO_USE_DEFAULT_LANGUAGE
12998 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13000 * lyx_gui.C: do not include language.h.
13002 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13003 arguments in function implementation.
13005 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13007 * BufferView_pimpl.C: add <ctime>
13009 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13011 * BufferView_pimpl.C: add using std::find_if
13013 2001-02-27 José Matos <jamatos@fep.up.pt>
13015 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13018 2001-02-11 José Matos <jamatos@fep.up.pt>
13020 * buffer.C (makeDocBookFile): command styles now have a parameter as
13021 "title" by default.
13023 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13025 * layout_forms.[Ch]: removed
13026 * lyx_cb.[Ch]: out character
13027 * lyx_gui.C: out character
13028 * lyx_gui_misc.C: out character
13029 * bufferview_funcs.C: : out character,
13030 added toggleall as parameter in ToggleAndShow
13032 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13034 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13036 * text2.C (SetCurrentFont): Disable number property at boundary.
13038 2001-02-26 Juergen Vigna <jug@sad.it>
13040 * lyxfunc.C (getStatus): added a string argument override function so
13041 that this is correctly called from LyXFunc::Dispatch if it contains a
13042 do_not_use_argument which is used!
13043 (Dispatch): added check for "custom" export and call appropriate func.
13045 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13047 * lyxrc.C: Add language_command_local, language_use_babel and
13048 language_global_options.
13050 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13052 * buffer.C (makeLaTeXFile): Use language_use_babel and
13053 language_global_options.
13055 2001-02-23 Juergen Vigna <jug@sad.it>
13057 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13058 which works with LyXText and putted it inside BufferView. Here now we
13059 only call for that part the BufferView::Dispatch() function.
13061 * BufferView.C (Dispatch): added.
13063 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13064 functions which needs to use a LyXText over from LyXFunc.
13065 (MenuInsertLyXFile): added
13066 (getInsetByCode): added
13067 (moveCursorUpdate): added
13068 (static TEXT): added
13070 2001-02-22 Juergen Vigna <jug@sad.it>
13072 * BufferView_pimpl.C (update): call a status update to see if LyXText
13075 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13077 * vc-backend.C (revert): implement for CVS
13078 (getLog): implement for CVS
13080 2001-02-20 Juergen Vigna <jug@sad.it>
13082 * text2.C (ClearSelection): added BufferView param for inset_owner call
13084 * lyxfunc.C (TEXT): added this function and use it instead of
13085 directly owner->view()-text of getLyXText().
13087 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13089 * src/layout_forms.C: out preamble
13090 * src/layout_forms.h: out preamble
13091 * src/lyx_cb.C: out preamble
13092 * src/lyx_cb.h: out preamble
13093 * src/lyx_gui.C: out preamble
13094 * src/lyx_gui_misc.C: out preamble
13095 * src/lyxfunc.C: connect with guii preamble
13097 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13099 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13101 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13103 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13104 whether to run bibtex.
13106 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13108 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13110 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13112 * Makefile.am (lyx_SOURCES): removed bibforms.h
13114 * vspace.h: doxygen
13116 * text.C (GetVisibleRow): make several local vars const
13118 * tabular.C: small cleanup.
13120 * lyxserver.C (callback): use compare instead of strncmp
13122 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13123 inlines to after class or to paragraph.C
13125 * lyxfont.h: remove friend operator!=
13127 * converter.h: move friend bool operator< to non friend and after
13130 * combox.h: small cleanup
13132 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13133 to inlines after class def.
13135 * buffer.C (pop_tag): use string operations instead of strcmp
13137 * bmtable.c: doxygen, small cleanup
13139 * LaTeX.h: remove friend operator==
13141 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13153 * BufferView_pimpl.C:
13154 * BufferView.[Ch]: remove cruft
13156 2001-02-14 Juergen Vigna <jug@sad.it>
13158 * lyxfunc.C: removed #if 0 unused code
13160 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13162 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13164 * text2.C (SetSelection): added a BufferView * parameter
13166 2001-02-13 Juergen Vigna <jug@sad.it>
13168 * lyxfunc.C (Dispatch): fixed protected blank problem.
13169 * BufferView2.C (protectedBlank): added LyxText * parameter.
13171 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13172 (AppendColumn): same as above for column_info.
13174 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13175 (moveCursorUpdate): use a LyXText param for support of InsetText.
13177 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13178 (tripleClick): ditto
13180 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13182 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13184 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13186 * text2.C (SetSelection): set correct update status if inset_owner
13187 (ToggleFree): ditto
13189 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13191 * tabular.C: remove some commented code.
13193 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13195 * BufferView_pimpl.C: call hideSplash()
13197 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13200 * bibforms.h: remove
13203 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13204 add LFUN_CHILD_CREATE
13206 * counters.h: fix tiny typo
13211 * lyx.C: move splash to frontends/xforms/
13213 * lyx_gui_misc.C: move Include and Bibform to frontends
13215 * lyxvc.h: clarify comment
13217 * vspace.C: tiny housekeeping
13219 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13221 * text.C (PrepareToPrint): RTL Fix.
13223 * paragraph.C (GetUChar): New method.
13224 (String): Use GetUChar.
13226 * buffer.C (asciiParagraph): Use GetUChar.
13228 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13230 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13232 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13235 * buffer.C: rename to getLogName(), handle
13236 build log / latex log nicely
13238 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13241 * MenuBackend.h: remove support for reference menuitem type.
13243 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13245 * BufferView_pimpl.C: housekeeping
13246 * BufferView_pimpl.h:
13251 * minibuffer.h: move Timeout GUI-I
13253 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13255 * lyxrc.C (read): Update converters data-structures.
13257 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13259 * LaTeX.h (operator!=): add operator != for Aux_Info
13261 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13263 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13265 * LaTeXLog.C: deleted, useful code moved to Buffer
13268 * buffer.C: new function getLatexLogName()
13274 * lyxfunc.C: use frontends for LaTeX and VC logs
13276 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * LaTeX.h: yet another std:: that Allan forgot.
13280 * Variables.C (set): renamed from isset(), because this clashes
13281 with some HP-UX macros (grr).
13283 2001-02-06 Allan Rae <rae@lyx.org>
13285 * LaTeX.h: Another bug fix. Missing std:: this time.
13287 2001-02-04 Allan Rae <rae@lyx.org>
13289 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13290 floats problem. I've left it commented out because it's not quite
13291 correct. It should also test that the current object is a table or
13292 figure inset. But I haven't gotten around to figuring out how to do
13293 that. I *think* it'll be something like: "table" == inset.type()
13295 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13298 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13300 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13301 all the citation/databases/styles in the auxilary file.
13302 (run): Rerun latex if there was a babel language error.
13304 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13306 * text.C (Backspace): Preserve the font when changing newline char
13308 (BreakParagraph): If the cursor is before a space, delete the space.
13310 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13312 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13314 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13315 new argument (code).
13316 (ChangeCitationsIfUnique): New method.
13318 * paragraph.C (GetPositionOfInset): Handle bibkey.
13320 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * BufferView_pimpl.h: change type of Position::par_pos to
13323 LyXParagraph::size_type.
13325 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13327 * BufferView_pimpl.C (savePosition, restorePosition): Write
13328 messages to minibuffer.
13330 2001-01-28 José Matos <jamatos@fep.up.pt>
13332 * buffer.C (makeDocBookFile): adds support for document language.
13333 A silly restriction on the name of LatexCommand types where removed.
13334 Added support for CDATA sections, allows to chars unescaped, used
13335 among others in code, to avoid escape < and >.
13337 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13339 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13340 saved positions instrad of a stack. Furthermore, a position is
13341 stored using paragraph id/paragraph position.
13343 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13344 Remove LFUN_REF_BACK.
13346 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13348 * converter.C (dvipdfm_options): New method.
13350 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13352 * vspace.C (isValidLength): Fix for empty input string.
13354 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * LyXAction.C (init): change description of LFUN_FIGURE to
13359 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13361 * LaTeX.C: add using directive
13363 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13365 * MenuBackend.C (expand): Fix the sorting of the formats.
13367 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13369 * lyx_main.C: tiny error message fix
13371 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13373 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13374 calling fl_initialize(). This fixes the problem with ',' as
13375 decimal separator in text files.
13377 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13379 * trans.C (process): Fix the keymap bug.
13381 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13383 * LaTeX.C (scanAuxFiles): New method. Provides support for
13384 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13385 (scanLogFile) Scan for "run BibTeX" messages.
13387 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13388 OT1 font encoding. Also, load the aecompl package if the ae
13391 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13393 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13395 * texrow.C (increasePos): turn two error messages into debug
13398 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13400 * LaTeX.C (scanAux): Handle the \@input macro.
13401 (runBibTeX): Use scanAux().
13403 * language.C (latex_options_): New field.
13405 * LaTeXFeatures.C (getMacros): Add language macros.
13407 * buffer.C (makeLaTeXFile): Small fix.
13409 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13411 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13413 * text2.C: add a using directive.
13415 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13420 * lyxfunc.C: kill LyXBell.
13422 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13424 * text.C (IsBoundary): Remove the error message
13426 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13428 * lyxrc.C (setDefaults): Correct initialization value for
13431 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13433 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13436 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13437 and GotoNextNote().
13439 * src/LyXAction.C: Added reference-next.
13441 * text.C (InsertChar): Use contains instead of strchr.
13443 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13445 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13447 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13448 alignment commands (when needed).
13450 * text.C (InsertChar): Add ':' to number separator chars.