1 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4 operator dispatch_result_t, and operators for == != and >=
6 * cursor.C (dispatch): adjust for operator dispatch_result_t
7 removal. comment out call to update
9 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
11 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
19 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
22 * dispatchresult.h: new file, DispatchResult broken out of
25 * Makefile.am (lyx_SOURCES): add dispatchresult.h
27 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
29 * text.C (rowBreakPoint): put a hack inside #if 0
31 2003-10-28 André Pönitz <poenitz@gmx.net>
38 * text2.C: general cleanup (lots of small stuff)
40 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
42 * text2.C (cursorEnd): simple fix to the "end key goes to one
43 before the end on last row" bug
45 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
47 * text.C (backspace): fix the "zombie characters"
49 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
51 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
53 2003-10-27 André Pönitz <poenitz@gmx.net>
55 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
57 * factory.C: handle new InsetPagebreak, InsetLine
59 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
60 and move handling into new InsetPagebreak, InsetLine
64 * ParagraphParameters.C:
77 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
86 * text3.C: remove lastPos uses in favour of Row::endpos
88 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
90 * undo.C (performUndoOrRedo): fix two crashes by setting a
91 cursor by hand and reordering some calls. Use bv->lockInset instead
92 of inset->edit because the latter loses cursor information
94 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
96 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
98 (rowBreakPoint): fix width. change point to point + 1.
101 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
104 * lyxfunc.C: fix (at least partly) the problems
105 with the Nav menu and headers inside branch insets
108 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
110 * paragraph.C (getChar): add strong asserts
112 * lyxrow_funcs.C (lastPos): remove hideous hack
114 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
115 (fill): adjust to that (avoid an infinite loop)
117 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
119 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
121 2003-10-23 André Pönitz <poenitz@gmx.net>
123 * RowList_fwd.h: change list<> to vector<> to gain speed
124 after suggestion from Alfredo
126 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
128 * lyxtext.h: move the bidi stuff from here...
131 * Bidi.[Ch]: ... to here
133 2003-10-23 André Pönitz <poenitz@gmx.net>
136 * text.C (isLastRow, isFirstRow): new functions
138 * paragraph.h: new width cache member
140 * rowpainter.C: replace RowList::iterator with Row & where possible
142 * lyxfunc.C: replace several view()->text with a single call
144 * toc.C: fix 'unused' warning
146 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
148 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
149 when woring with stream::pos_type
150 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
152 2003-10-22 André Pönitz <poenitz@gmx.net>
155 * text.C: use Row & instead of RowList::iterator
157 * lyxrow.h: rename end() to endpos()
163 2003-10-22 Angus Leeming <leeming@lyx.org>
165 * buffer.[Ch] (fully_loaded): new member function, returning true
166 only when the file has been loaded fully.
167 Used to prevent the premature generation of previews and by the
168 citation inset to prevent computation of the natbib-style label.
170 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
171 templates are all set up.
173 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
175 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
177 * text.C: fixed an "oops" in the "is a bit silly"
180 2003-10-21 André Pönitz <poenitz@gmx.net>
182 * FuncStatus.[Ch]: small stuff, whitespace
184 * lyxfont.[Ch]: operator<<() for debug reasons
188 * lyxtext.h: whitespace, spelling
190 * paragraph.C: naming of variables
193 * text2.C: small stuff
196 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
198 * text.C: (1) finish off the inset display() work;
199 (2) fix the "is a bit silly" bug (accessing char
202 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
204 * text.C: re-introduce display() for insets, fixing the
205 various bugs (stretch of line above, math inset
208 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * text.C (rightMargin): remove spurious semicolon
212 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
215 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
217 * text3.C: fix one crash due to wrong cursor def
219 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
221 * vc-backend.C (scanMaster): make the regex static
223 * LaTeX.C (scanAuxFile): make the regexs static
225 * text3.C (doInsertInset, dispatch, dispatch):
226 * text2.C (cursorUp, cursorDown):
227 * text.C (selectNextWordToSpellcheck):
228 * BufferView_pimpl.C (dispatch):
229 * lyxfunc.C (dispatch): localDispatch -> dispatch
231 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * lyxsocket.C: include <cerrno>
235 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
237 * lyxfunc.C (dispatch): remove textcache stuff
239 * bufferlist.C (release): remove textcache stuff
242 * TextCache.C: delete file
243 * TextCache.h: delete file
245 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
247 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
248 delete of the bv_->text.
249 (resizeCurrentBuffer): remove texcache stuff
250 (workAreaResize): ditto
252 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
257 2003-10-16 André Pönitz <poenitz@gmx.net>
264 * text3.C: speed up by storing y positions per paragraph plus per-row
265 offset instead of having a 'full' y position in the row.
267 2003-10-15 André Pönitz <poenitz@gmx.net>
271 * undo.[Ch]: make undo aware of inner insets
273 2003-10-14 Angus Leeming <leeming@lyx.org>
275 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
276 static member functions LyX::ref() and LyX::cref.
277 (lastfiles): new accessor functions for the new lastfiles_ member var.
278 (addLyXView, views_): add a new LyXView to the list of views_.
279 (updateInset): loop over all LyXViews to call their own updateInset
280 member function, returning a pointer to the Buffer owning the inset.
282 * BufferView_pimpl.C (loadLyXFile):
283 * MenuBackend.C (expandLastfiles):
284 * bufferlist.C (MenuWrite, QuitLyX):
285 lastfiles is no longer a global variable.
286 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
288 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
289 static function. Access through LyX::cref().emergencyCleanup().
291 2003-10-14 André Pönitz <poenitz@gmx.net>
293 * iterators.[Ch]: new direct access to innermost LyXText and Inset
295 * undo.[Ch]: restoring part of 'undo in insets'
298 * undo_funcs.[Ch]: merge with undo.[Ch]
300 * tabular.C: small cleansing stuff
302 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
304 * paragraph_funcs.C (readParToken): report unknown insets as error
305 boxes. Use the outer paragraph as location (also for unknown
308 * factory.C (readInset): do not abort on reading an unknown inset.
311 2003-10-13 Angus Leeming <leeming@lyx.org>
313 * lyx_main.C (LyX): remove call to setDisplayTranslator().
315 * lyxrc.C: displayTranslator is now a function,
316 declared in GraphicsTypes.h.
318 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
320 * format.C: new placeholder $$a to pass the socket address.
322 * bufferlist.[Ch]: new function getBufferFromTmp.
324 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
325 files in the temporary dir.
327 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
329 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
331 * Makefile.am: add lyxsocket.[Ch].
333 * lyx_main.C (error_handler): handle SIGPIPE.
335 2003-10-13 André Pönitz <poenitz@gmx.net>
337 * BufferView_pimpl.C:
342 * undo_funcs.[Ch]: use paroffset_type instead of
343 ParagraphList::iterators to prevent multiple conversion
344 (and get a more robust interface)
346 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
348 * lyxfunc.C (dispatch): RESULT -> dispatch_result
350 * text3.C (dispatch): ditto
352 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
354 * LaTeX.C (handleFoundFile): move the static to smaller scope,
355 move the onlyfile, use onlyfile instead of foundfile in a couple
358 * DepTable.C (update): flush the error stream a bit more
360 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
362 * lyxserver.C (callback): adjust
364 * lyxfunc.C (getStatus): add a missing brace in commented code
365 (ensureBufferClean): reindent
366 (dispatch): delete version taking a string
368 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
370 * LaTeX.C (deplog): move found file handlig from here...
371 (handleFoundFile): .. to new function here.
372 (deplog): make sure to discover several files mentioned on the
375 2003-10-10 André Pönitz <poenitz@gmx.net>
382 * text3.C: fix some of the tabular crashes
384 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
386 * MenuBackend.C (binding): put debug message into Debug::KBMAP
388 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
390 2003-10-09 André Pönitz <poenitz@gmx.net>
392 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
395 * BufferView_pimpl.C:
396 * bufferview_funcs.C:
407 * undo_funcs.C: adjust
409 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * text2.C (incrementItemDepth): new function, use a backtracking
412 algorithm to discover the correct item depth.
413 (resetEnumCounterIfNeeded): new function, use a backtracking
414 algorithm to discover if counter reset is needed.
415 (setCounter): use them. Simplify a bit. Add different labels for
416 different item depths for itemize.
418 * paragraph.C (Paragraph): remove initialization of enumdepth
421 * paragraph.h: get rid of enumdepth, and use itemdepth both for
422 enumerate and itemize. Change the type of itemdepth to signed char.
424 2003-10-08 André Pönitz <poenitz@gmx.net>
426 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
431 * tabular.[Ch]: fix crash after 'row-insert'
433 2003-10-08 Angus Leeming <leeming@lyx.org>
435 Fix doxygen warnings.
437 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
438 Remove CutAndPaste:: prefix from header file declaration.
440 * LColor.h (fill): remove LColor:: prefix from declaration.
442 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
443 use lyx::depth_type rather than Paragraph::depth_type so that
444 header file and .C file match.
446 * converter.h (intToFormat): remove Converters:: prefix from declaration.
448 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
449 * aspell.C: \file aspell_local.C -> \file aspell.C
450 * gettext.C: \file gettext.C -> \file src/gettext.C
451 * gettext.h: \file gettext.h -> \file src/gettext.h
452 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
453 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
454 * text.C: \file text.C -> \file src/text.C
456 * toc.C: move comment so that doxygen is not confused.
458 2003-10-07 Angus Leeming <leeming@lyx.org>
460 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
462 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
465 * aspell_local.h: add forgotten std::string's.
467 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
474 * text3.C: The Box patch. Fancybox support, minipage, parbox
476 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
482 * ParagraphParameters.h:
492 * lyxtextclasslist.h:
496 * textcursor.h: add <string> and other small fixes to make Lars'
497 std::string patch compile with STLport.
499 2003-10-06 Angus Leeming <leeming@lyx.org>
501 * LColor.h: Add missing #include <string>.
503 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
505 * All most all file in all subdirs: Make <string> be the prefered
506 way of getting to std::string, add using declarations.
508 2003-10-06 André Pönitz <poenitz@gmx.net>
510 * metricsinfo.C: initialize LyXFont before changing attribute.
511 (fixes the 'math in \emph is upright' bug)
513 2003-10-06 André Pönitz <poenitz@gmx.net>
515 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
517 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
520 * paragraph_pimpl.C: Small fixes to build using STLport
522 2003-10-02 André Pönitz <poenitz@gmx.net>
525 * text3.C: move handling of LFUN_DEPTH *; fix #1360
527 2003-10-01 André Pönitz <poenitz@gmx.net>
529 * factory.C: assert early
531 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
533 * lyx_main.C: remove the global debug object
535 * debug.h: adjust for new debugstream
537 * debug.C: adjust for new debugstream and keep the global debug
540 2003-09-22 Angus Leeming <leeming@lyx.org>
542 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
543 of g++ which otherwise complain that the scoped_ptr destructor can't delete
544 an incomplete class LyXFont.
546 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
548 * factory.C: bug fix in branches
550 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * lyxfunc.C (processKeySym): adjust
554 (dispatch): change arg name from ev to func, adjust
555 (sendDispatchMessage): ditto
557 * lyx_main.C (defaultKeyBindings): adjust keybindings
558 (deadKeyBindings): ditto
560 * kbsequence.C (addkey): return a FuncRequest
562 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
564 * kbmap.C (bind): take a FuncRequest as arg, adjust
567 (defkey): change to take a FuncRequest as arg, adjust
568 (findbinding): take a FuncRequest as arg, adjust.
570 * funcrequest.h (operator=): added
572 * funcrequest.C (FuncRequest): default kb_action changed from
573 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
575 * buffer.C (dispatch): simplify
576 (dispatch): adjust to take a FuncRequest as arg, adjust
578 * boost.C (assertion_failed): change assertion message slightly
580 * ToolbarBackend.C (read): simplify
582 * MenuBackend.C (binding): adjust call to findbinding, add a
583 message if no binding is found.
585 (expandToc): correct by adding a empty FuncRequest
587 * LyXAction.C: include <boost/assert.hpp>
588 (isPseudoAction): delete function
589 (LookupFunc): change name to...
590 (lookupFunc): this. change return type to FuncRequest.
591 (getActionName): take kb_action as arg, simplify
592 (funcHasFlag): add an assert, simplify.
594 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
596 * toc.C (action): return a FuncRequest, simplify
598 * lyxfunc.C (processKeySym): adjust
599 (getStatus): delete version that takes an int.
601 (dispatch): delete version that takes action as int
603 (sendDispatchMessage): simplify and adjust
605 * funcrequest.C (getArg): take unsigned int as arg
607 * ToolbarBackend.C (read): adjust
608 (add): delete version that takes func as a string.
609 (getIton): take a FuncRequest as arg
611 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
614 * MenuBackend.C (MenuItem): add a new construct that only takes a
615 Kind, simplify the constructor use for submenus.
617 (expandLastfiles): adjust
618 (expandDocuments): adjust
619 (expandFormats): adjust
620 (expandFloatListInsert): adjust
621 (expandFloatInsert): adjust
622 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
624 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
625 Remove class variables lyx_pseudo_map and lyx_arg_map
627 * LyXAction.C (searchActionArg): delete function
628 (getPseudoAction): delete function
629 (retrieveActionArg): delete function
630 (LookupFunc): make it return kb_action, simplify.
631 (getActionName): simplify
633 * factory.C (createInset): fix new bug
635 2003-09-19 Angus Leeming <leeming@lyx.org>
637 * CutAndPaste.C (pasteSelection): remove fudge used to set the
638 masterFilename_ parameter in the include inset.
640 * factory.C (createInset): changes due to the changes to InsetInclude.
642 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
644 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
646 2003-09-18 Angus Leeming <leeming@lyx.org>
649 * BufferView.C: pass the buffer when calling Inset::getLabelList,
650 Inset::fillWithBibKeys.
651 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
653 2003-09-18 Angus Leeming <leeming@lyx.org>
655 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
657 (ctor): pass and store a 'Buffer const &'
658 (buffer): new member function.
660 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
661 '*this' to the LaTeXFeatures ctor.
663 2003-09-18 Angus Leeming <leeming@lyx.org>
669 * text.C: rename EnumLColor as LColor_color.
671 2003-09-18 Angus Leeming <leeming@lyx.org>
673 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
674 remove #include "insets/insetbase.h" from cursor.h.
676 2003-09-18 Angus Leeming <leeming@lyx.org>
678 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
679 InsetOld_code to remove #include "inset.h".
681 * iterators.C: add #include "insets/inset.h"
683 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
685 * BufferView.C: remove more locking stuff that apparently doesn't
686 do anything sensible.
688 2003-09-16 André Pönitz <poenitz@gmx.net>
691 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
694 2003-09-16 Angus Leeming <leeming@lyx.org>
696 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
698 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
701 * paragraph.h: remove #include "lyxfont.h". Forward declare
704 2003-09-16 Angus Leeming <leeming@lyx.org>
706 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
707 of support/textutils.h.
708 (isWord): move the contents of support/textutils.h's IsWordChar here.
714 * text2.C: add #include "paragraph.h".
717 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
719 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * LaTeX.C: use namespace alias for lyx::support::os
727 2003-09-16 Angus Leeming <leeming@lyx.org>
730 * bufferview_funcs.C:
735 * text.C: add #include "LColor.h".
737 2003-09-16 Angus Leeming <leeming@lyx.org>
739 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
740 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
742 Store the FontBits::color variable as an int rather than as an
743 LColor::colorso that we can move LColor.h out of the lyxfont.h header
746 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
747 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
748 string calls together.
750 * lyxrc.C: add #include "LColor.h".
752 2003-09-15 Angus Leeming <leeming@lyx.org>
754 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
757 2003-09-15 Angus Leeming <leeming@lyx.org>
759 * LColor.h: add an EnumLColor wrapper for LColor::color.
761 * lyxfont.[Ch] (color, setColor, realColor):
762 * lyxtext.h, text.C (backgroundColor):
763 pass EnumLColor args to/from the functions, rather than LColor::color
767 * lyxtext.h: forward declare EnumLColor.
769 * lyx_main.C: add #include "LColor.h".
771 2003-09-15 Angus Leeming <leeming@lyx.org>
773 * .cvsignore: add lyx-gtk.
775 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * ParagraphParameters.C
794 * vc-backend.C: remove usage of STRCONV
796 2003-09-15 Angus Leeming <leeming@lyx.org>
798 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
799 explicitly define the color passed to the painter.
801 2003-09-15 Angus Leeming <leeming@lyx.org>
803 * bufferparams.C (BufferParams): reorder member initializers to avoid
806 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
808 * CutAndPaste.C (pasteSelection): remove an outdated #warning
809 * text.C (updateRowPositions): remove an unusual nop
811 2003-09-12 André Pönitz <poenitz@gmx.net>
813 * BufferView_pimpl.C:
822 * Counters.[Ch]: finish the 'automatic counters' job
824 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
826 * aspell.C: include <boost/assert.cpp> (compile fix)
828 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
830 * boost.C (assertion_failed): use lyx::support::abort instead of
833 2003-09-10 Angus Leeming <leeming@lyx.org>
835 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
836 with their _fwd progeny.
838 2003-09-09 Angus Leeming <leeming@lyx.org>
840 134 files throughtout the source tree: replace 'using namespace abc;'
841 directives with the appropriate 'using abc::xyz;' declarations.
843 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
845 * boost.C (emergencyCleanup): moved here from LAssert.c
846 (assertion_failed): new function, called by BOOST_ASSERT
848 * several files: change Assert to BOOST_ASSERT
850 2003-09-09 Angus Leeming <leeming@lyx.org>
852 * buffer.[Ch]: Add an Impl class and move Buffer's member
853 variables into it. As a result move several header files out of
856 Add header files to lots of .C files all over the tree as a result.
858 2003-09-09 Angus Leeming <leeming@lyx.org>
860 * buffer.[Ch]: make Buffer's member variables private. Add
863 Lots of changes all over the tree as a result.
865 2003-09-08 Angus Leeming <leeming@lyx.org>
867 * graph.C: #include <config.h>.
869 2003-09-08 Angus Leeming <leeming@lyx.org>
873 * BufferView_pimpl.C:
902 * toc.C: remove redundant using directives.
904 2003-09-07 Angus Leeming <leeming@lyx.org>
906 * LaTeXFeatures.h: remove #include "support/types.h".
907 * ToolbarBackend.h: remove #include <algorithm>.
908 * changes.h: remove #include <ctime>.
909 * debug.h: remove #include <iosfwd>.
910 * graph.h: remove #include "support/std_string.h".
911 * lyx_main.h: remove #include <csignal>.
912 * lyxlex_pimpl.h: remove #include <fstream>.
913 * sgml.h: remove #include <algorithm>, <utility>.
914 * toc.h: remove #include "support/std_ostream.h".
915 Add #include <iosfwd>.
917 2003-09-07 Angus Leeming <leeming@lyx.org>
919 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
921 * converter.h: forward declare LatexRunParams.
922 * encoding.h: remove #include "lyxrc.h".
923 * lyxtext.h: remove #include "LColor.h".
924 * lyxtextclass.h: remove #include "support/types.h".
925 * trans.h: remove #include "tex-accent.h".
926 * trans_mgr.h: remove #include "tex-accent.h".
927 * insets/inset.h: remove #include "support/types.h", <vector>.
928 * insets/insetcollapsable.h: remove #include "LColor.h".
929 * insets/insetinclude.h: remove #include "dimension.h".
930 * insets/insetlatexaccent.h: remove #include "dimension.h".
931 * insets/insetoptarg.h:: remove #include "insettext.h".
932 * insets/insettext.h: remove #include "dimension.h",
933 <boost/shared_ptr.hpp>
935 * insets/renderers.h: add #include "dimension.h".
936 * insets/updatableinset.h: add #include "support/types.h".
938 * many .C files: Associated changes.
940 2003-09-06 Angus Leeming <leeming@lyx.org>
942 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
943 one, inside testInvariant.
945 * PrinterParams.C: new file.
946 * PrinterParams.[Ch]: move the function bodies out of line.
948 2003-09-06 Angus Leeming <leeming@lyx.org>
950 * ParagraphParameters.h: forward declare ParameterStruct rather than
951 including its header file.
952 (depth): moved out-of-line.
954 2003-09-06 Angus Leeming <leeming@lyx.org>
956 * BufferView_pimpl.h:
959 * lyxfunc.h: forward declare LyXKeySym rather than
960 #include "frontends/LyXKeySym.h".
962 * BufferView_pimpl.C:
965 * lyxfunc.C: associated changes.
967 2003-09-06 Angus Leeming <leeming@lyx.org>
969 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
970 As a result, can remove the #include "insets/inset.h" from BufferView.h
972 2003-09-06 Angus Leeming <leeming@lyx.org>
974 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
975 As a result, can remove the #include "insets/inset.h" from BufferView.h
977 2003-09-06 Angus Leeming <leeming@lyx.org>
983 * bufferview_funcs.C:
984 * BufferView_pimpl.C:
989 * ParagraphParameters.C:
994 * frontends/controllers/ControlDocument.C:
995 * insets/insetcaption.C: rearrange the #includes into some sort of
998 * buffer.h: remove #includes ErrorList.h, undo.h
1000 2003-09-06 Angus Leeming <leeming@lyx.org>
1002 * support/types.h: add a 'depth_type' typedef, used to store the
1003 nesting depth of a paragraph.
1006 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1007 defining explicitly.
1010 * paragraph_funcs.h:
1011 * ParagraphParameters.h:
1012 * sgml.h: use lyx::depth_type rather than Paragraph or
1013 ParameterStruct's depth_type.
1016 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1019 * BufferView_pimpl.C:
1021 * ParagraphParameters.C:
1024 * bufferview_funcs.C:
1031 * frontends/LyXView.C:
1032 * frontends/controllers/ControlDocument.C:
1033 * frontends/controllers/ControlErrorList.C:
1034 * insets/insetbibitem.C:
1035 * insets/insetbranch.C:
1036 * insets/insetcaption.C:
1037 * insets/insetcollapsable.C:
1038 * insets/insetenv.C:
1039 * insets/insetert.C:
1040 * insets/insetfloat.C:
1041 * insets/insetfoot.C:
1042 * insets/insetfootlike.C:
1043 * insets/insetnewline.C:
1044 * insets/insetquotes.C:
1045 * insets/insettabular.C:
1046 * insets/insettext.C:
1047 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1049 * frontends/controllers/ControlChanges.C: #include "changes.h".
1051 2003-09-06 Angus Leeming <leeming@lyx.org>
1053 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1054 than #including paragraph.h.
1057 * RowList.h: deleted. Superfluous.
1067 * insets/insettext.h: use ParagraphList_fwd.h rather than
1070 * paragraph.h: don't forward declare ParagraphList.
1073 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1074 rather than ParagraphList.h. paragraph.h is still needed for the
1075 Paragraph::depth_type parameters.
1077 * textcursor.h: enable it to compile stand-alone in light of the
1080 * bufferview_funcs.C:
1092 * frontends/controllers/ControlParagraph.C:
1093 * frontends/controllers/ControlTabular.C:
1094 * insets/insetmarginal.C:
1095 * insets/insetminipage.C:
1096 * insets/insetnote.C:
1097 * insets/insetoptarg.C: add header files needed to compile again.
1099 2003-09-06 Angus Leeming <leeming@lyx.org>
1101 * RowList_fwd.h: new file, forward-declaring Row rather than
1102 #including lyxrow.h.
1107 * insets/insettext.h: use it instead of RowList.h
1109 * bufferview_funcs.C:
1116 * text3.C: #include "RowList.h".
1118 2003-09-05 Angus Leeming <leeming@lyx.org>
1120 * factory.C (createInset):
1121 * vspace.C (c-tor): replace sscanf call with an istringstream.
1122 * ispell.C: re-add missing HP/UX headers.
1123 * lyxserver.C: re-add missing os2 headers.
1125 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1134 * text3.C: re-add missing system headers, needed for 2.95.2.
1136 2003-09-05 Angus Leeming <leeming@lyx.org>
1138 Changes most place everywhere due to the removal of using directives
1139 from support/std_sstream.h.
1141 2003-09-05 Angus Leeming <leeming@lyx.org>
1143 Replace LString.h with support/std_string.h,
1144 Lsstream.h with support/std_sstream.h,
1145 support/LIstream.h with support/std_istream.h,
1146 support/LOstream.h with support/std_ostream.h.
1148 Changes resulting throughout the tree.
1150 2003-09-05 Angus Leeming <leeming@lyx.org>
1152 * sgml.h: ensure that the header file can be compiled stand-alone.
1153 * *.C: strip out redundant #includes. (320 in total.)
1155 2003-09-04 Angus Leeming <leeming@lyx.org>
1157 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1158 here (from getPackages).
1160 * debug.[Ch]: add a new EXTERNAL tag.
1162 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1164 * text2.C (cursorEnd): simplify
1166 (getColumnNearX): adjust
1168 * text.C (computeBidiTables): adjust
1171 * rowpainter.C (paintChars): adjust
1172 (paintSelection): adjust
1173 (paintChangeBar): adjust
1176 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1178 (numberOfSeparators): adjust
1180 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1186 * text3.C: Restricts the mouse click functionality
1187 of insets like bibtex, include, toc and floatlist to the visible
1188 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1189 up the dialogs. Cursor has to be in front of the inset (i.e.
1190 start of row) for this to function.
1192 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1194 * bufferview_funcs.C (currentState): output row information
1196 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1198 * bufferview_funcs.C (currentState): output paragraph position
1200 2003-09-04 Angus Leeming <leeming@lyx.org>
1202 * FloatList.h: move out #include "Floating.h".
1203 * LaTeX.h: move out #include "DepTable.h".
1204 * LyXAction.h: move out #include "funcrequest.h".
1205 * buffer.h: move out #include "author.h", "iterators.h".
1206 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1207 * lyx_main.h: move out #include "errorlist.h".
1208 * lyxfunc.h: move out #include "FuncStatus.h".
1209 * lyxtext: move out #include "lyxcursor.h".
1210 * paragraph_pimpl.h: move out #include "counters.h".
1212 2003-09-03 Angus Leeming <leeming@lyx.org>
1214 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1215 preamble_snippets list, enabling us to add snippets to the preamble
1216 only if the snippet was not there already.
1218 2003-09-04 Angus Leeming <leeming@lyx.org>
1220 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1222 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1224 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1227 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1229 * BranchList.C: point fix, earlier forgotten
1231 2003-09-02 Angus Leeming <leeming@lyx.org>
1233 * box.C (contains): renamed from 'contained' after a fantastic
1236 2003-09-02 John Levon <levon@movementarian.org>
1242 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1244 2003-09-02 John Levon <levon@movementarian.org>
1246 * text2.C: simplification of cursorEnd(), including partial
1249 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1251 * buffer.C (readFile): add a space
1253 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1255 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1257 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * buffer.C (readFile): new function, take a filename and a
1260 ParagraphList::iterator
1262 (readFile): adjust, make it private. don't use setStream, make
1263 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1264 always contain the filename.
1266 * BufferView.C (insertLyXFile): simplify and make it work for
1269 2003-08-30 John Levon <levon@movementarian.org>
1271 * Makefile.am: fix dist (from Kayvan)
1273 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1275 * most files: change to use const Buffer refs
1277 2003-08-27 André Pönitz <poenitz@gmx.net>
1279 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1280 on top of ownerPar().
1282 2003-08-27 John Levon <levon@movementarian.org>
1284 * funcrequest.C: properly initialise POD members
1286 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1288 * lyxtext.h (top_y): move top_y from here
1293 * BufferView_pimpl.[Ch]: to here
1294 * frontends/screen.C:
1295 * insets/insettabular.C:
1296 * insets/insettext.C: adjust
1297 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1299 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1302 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1304 2003-08-26 André Pönitz <poenitz@gmx.net>
1306 * paragraph_func.[Ch] (outerPar): new function
1309 * paragraph_funcs.C:
1310 * paragraph_funcs.h:
1311 * paragraph_pimpl.C:
1312 * text2.C: remove Inset::par_owner
1314 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1319 * text2.C: eliminates the needFullRow/display() stuff
1320 altogether, putting the logic in metrics/draw in the insets.
1322 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1324 * text2.C (redoParagraphInternal, redoParagraphs):
1325 * text.C (redoParagraph): add a call to updateRowPositions at the
1326 end of each 'metrics-like' call. Remove all others.
1327 (getRow): remove the 'y-computing' version.
1328 (getRowNearY): do not compute nor return the real y. Solve the
1329 'y < 0' problem and simplify.
1331 2003-08-22 Angus Leeming <leeming@lyx.org>
1333 * *.[Ch]: clean-up of licence and author blurbs.
1334 Also move config.h out of a few .h files and into a few .C files.
1336 2003-08-22 André Pönitz <poenitz@gmx.net>
1338 * lyxrow.[Ch]: add x_ and *fill_ members
1343 * text2.C: adjust/remove prepareToPrint() calls
1345 2003-08-22 André Pönitz <poenitz@gmx.net>
1347 * lyxrow.[Ch]: add end_ member
1349 * lyxrow_funcs.C: use LyXRow::end_
1351 * lyxtext.h (singleWidth): add LyXFont parameter
1354 * text2.C: adjust LyXText::singleWidth() calls
1356 * text.C (redoParagraph): simplify row breaking logic
1359 2003-08-19 André Pönitz <poenitz@gmx.net>
1361 * funcrequest.C: initialize button_ member
1364 * rowpainter.[Ch]: interface consolidation
1366 2003-08-18 André Pönitz <poenitz@gmx.net>
1369 * BufferView_pimpl.C:
1371 * paragraph_funcs.C:
1373 * text3.C: remove LyXScreen::draw() and fitCursor calls
1375 * BranchList.h: remove spurious semicolons
1377 * MenuBackend.C: fix branchlist related crash
1379 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1387 * bufferparams.[Ch]:
1391 * text3.C: implements the 'branch inset'
1392 idea. This allows the output of various versions of a document
1393 from a single source version, selectively outputing or suppressing
1394 output of parts of the text.
1395 This implementation contains a 'branch list editor' in a separate
1396 tab of the document settings dialog. Branches are user definable
1397 and have a "display colour" to distinguish them on-screen.
1399 ColorHandler was somewhat cleaned up.
1400 (1) make possible a dynamically growing LColor list by allowing
1401 the graphic context cache to grow along (vector);
1402 (2) eliminate an IMHO unnecessary step in colour allocation.
1404 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1406 * BufferView_pimpl.C: compile fix
1408 2003-08-15 André Pönitz <poenitz@gmx.net>
1410 * rowpainter.C: remove extra metrics calls
1412 * lyxtext.h: merge the two constructors into a single one,
1413 pass reference to owner's par list
1415 * BufferView_pimpl.C:
1419 2003-08-15 André Pönitz <poenitz@gmx.net>
1421 * lyxrow_funcs.[Ch]:
1424 * paragraph_funcs.C:
1429 * text_funcs.C: split LyXText::rowlist_ into individual
1430 Paragraph::rows_ chunks
1433 * BufferView_pimpl.[Ch]:
1436 * text3.C: remove toggleSelection()
1438 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1440 * bufferlist.C: beautify two alerts (shorter text of buttons)
1441 * buffer.C: Remove redundant ' ' from message
1443 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1444 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1445 rename VALIGN_CENTER to VALIGN_MIDDLE
1447 2003-08-11 André Pönitz <poenitz@gmx.net>
1449 * lyxtext.h (getPar):
1450 * text.C: new function
1452 2003-08-11 André Pönitz <poenitz@gmx.net>
1455 * tracer.[Ch]: remove unneeded files
1457 * InsetList.[Ch]: remove resizeInsetsLyXText()
1462 * text3.C: merge insertParagraphs() and appendParagraph()
1463 remove breakAgain(), update()
1465 * BufferView_pimpl.[Ch]:
1466 * bufferview_funcs.[Ch]:
1470 * tabular.C: adjust after text & InsetList changes.
1472 2003-08-08 André Pönitz <poenitz@gmx.net>
1474 * text.C (insertChar, backspace): replace rowlist fiddling
1475 with rebreak of full par
1478 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1479 checkParagraph, updateInset): removed
1481 2003-08-07 André Pönitz <poenitz@gmx.net>
1484 * text3.C: merge some LFUN handlers, remove dead code
1486 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1488 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1490 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1492 * text2.C (DEPM): fix part of bug 1255 and 1256
1494 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * BufferView_pimpl.C (workAreaDispatch): change to use
1497 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1498 that are no mouse related.
1500 2003-08-05 André Pönitz <poenitz@gmx.net>
1503 * BufferView_pimpl.[Ch]:
1504 * bufferview_funcs.C:
1506 * text3.C: rip out "deep update"
1508 * textcursor.[Ch] (last_sel_cursor): remove unused member
1510 2003-08-04 André Pönitz <poenitz@gmx.net>
1513 * BufferView_pimpl.[Ch]:
1514 * ParagraphParameters.C:
1515 * bufferview_funcs.C:
1521 * text3.C: replace "complicated" BufferView::update(...) calls with
1524 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1526 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1528 * Makefile.am (lyx_SOURCES): add paper.h
1530 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1532 * Makefile.am: move things around so that both lyx-qt and
1533 lyx-xforms can be built (according to --with-frontend). Then lyx
1534 is a symbolic link to lyx-[firstfrontend]
1536 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1538 * Always use std::endl with lyxerr
1540 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1542 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1544 2003-08-01 André Pönitz <poenitz@gmx.net>
1547 * BufferView_pimpl.[Ch]:
1549 * text3.C: merge BufferView::repaint() and BufferView::update()
1551 2003-08-01 José Matos <jamatos@lyx.org>
1553 * buffer.[Ch]: file_format is no longer a buffer data element.
1555 2003-08-01 André Pönitz <poenitz@gmx.net>
1560 * text2.C: make redoParagraph more independent of current cursor
1562 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1564 * text2.C: remove unneeded members
1566 2003-07-30 André Pönitz <poenitz@gmx.net>
1568 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1570 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1571 create a single function...
1573 * paragraph_funcs.C (moveItem): ... here.
1576 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1578 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1580 * LColor.[Ch]: Add comment and greyedout logical colors.
1582 2003-07-30 André Pönitz <poenitz@gmx.net>
1584 * tabular.C: don't use Assert too heavily. This crashes where it
1587 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1589 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1590 is disabled (bug 1232)
1592 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1594 * factory.C: limited 'arg' scope
1596 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1598 * factory.C: fixed Note submenu issues
1600 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1602 * factory.C: submenu for Note/Comment/Greyedout
1604 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1607 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1609 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1612 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1613 greyedout. Patch provided by Jürgen Spitzmüller.
1615 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1617 * kbmap.C (read): fix error message when reading bind files
1619 2003-07-29 Angus Leeming <leeming@lyx.org>
1621 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1622 certainly does not do what it purports to do. I am doing it, and
1623 us, a favour by killing it.
1625 2003-07-28 José Matos <jamatos@lyx.org>
1627 * buffer.C (readBody, do_writeFile):
1628 * paragraph.C(readParagraph): \end_document replaces \the_end.
1630 2003-07-29 André Pönitz <poenitz@gmx.net>
1633 * BufferView_pimpl.[Ch]:
1637 * textcursor.[Ch]: remove toggleToggle & Co
1639 2003-07-28 José Matos <jamatos@fep.up.pt>
1641 * buffer.C (readParagraph):
1642 * params_func (readParToken, readParagraph):
1643 * paragraph.C (write): \layout -> \begin_layout.
1645 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * lyxlex_pimpl.C (setFile): clean up slightly.
1649 * bufferparams.h: add compressed var
1651 * buffer_funcs.C (readFile): adjust for LyXLex change
1652 (newFile): ditto + simplify
1654 * buffer.C (writeFile): handle writing of compressed files
1656 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1657 Check if the file is compressed and set a bufferparm if so.
1659 * Makefile.am (lyx_LDADD): remove explicit -lz
1661 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1663 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1664 makeDocBookFile): put the real LyX version in the first line of
1668 * version.C.in: remove lyx_docversion
1670 * tabular.C (write_attribute): add a template-based version to
1671 write enums properly
1673 2003-07-28 André Pönitz <poenitz@gmx.net>
1678 * text3.C: use doubles again for x-coordinates. They are needed.
1680 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * messages.C (getLocaleDir): use lyx_localedir()
1684 * lyxlex_pimpl.C (setFile): compress stuff
1686 * buffer.C (writeFile): add some compression stuff
1687 (do_writeFile): new func, dont call expliti close... will this
1690 * Makefile.am (lyx_LDADD): add -lz
1692 2003-07-28 José Matos <jamatos@fep.up.pt>
1694 * buffer.C: increment file format.
1695 * paragraph_funcs (readParagraph, readParToken):
1696 * paragraph.C (readParagraph): add \end_layout.
1698 2003-07-27 Angus Leeming <leeming@lyx.org>
1700 * Makefile.am: remove special casing for configure-time setting of
1701 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1703 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1704 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1706 2003-07-26 André Pönitz <poenitz@gmx.net>
1708 * paragraph_func.[Ch]:
1709 * paragraph.C (realizeFont): inline it whereever it is used
1714 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1717 2003-07-26 André Pönitz <poenitz@gmx.net>
1721 * text2.C: get rid of LyXText::need_break_row
1723 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1725 * toc.[Ch]: put namespace toc inside namespace lyx
1727 * MenuBackend.C (expandToc2): adjust for lyx::toc
1730 * lyxfunc.C (dispatch): adjust for lyx::find
1732 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1733 lyx::find instead. Reorganize a bit.
1734 (LyXReplace): rename to replace
1735 (LyXFind): rename to find
1737 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1740 2003-07-26 André Pönitz <poenitz@gmx.net>
1742 * text.C (setHeightOfRow): restrict scope of temporary variable
1744 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1745 code (never has been used?)
1747 2003-07-27 Asger Alstrup <alstrup@local>
1749 * text.C (fill): Optimise algorithm to exploit that we can reuse
1750 the LyXFont for many characters.
1751 (setHeightOfRow): Same thing.
1752 (rowBreakPoint): Same thing.
1754 2003-07-26 Asger Alstrup <alstrup@local>
1756 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1758 * text.C (singleWidth): Spurious font copying in hot-spot
1759 singleWidth avoided. Reorder tests for arabic for efficiency.
1761 * text.C (fill): handle empty paragraphs better.
1763 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1766 * encoding.h: add includes
1768 * lyxrc.C: remove reading of bind files
1770 * lyx_main.C (init): setup bindings and menus only if we have a
1773 * kbmap.C (read): new method. Do the actual reading of bind
1776 * converter.C (dvipdfm_options):
1779 (output): adapt PAPER_* enums.
1781 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1783 * bufferparams.h: remove paper-related enums from there
1785 * paper.h: New file. A trivial header file to hold paper-related
1786 enums. It should later expand to contain many paper-related
1789 * lyxrc.C: declare extern displayTranslator
1791 2003-07-27 José Matos <jamatos@fep.up.pt>
1793 * tabular.[Ch] (linuxdoc): add support for tables and figures
1796 2003-07-27 José Matos <jamatos@fep.up.pt>
1798 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1799 consistency in both functions.
1800 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1802 2003-07-26 Asger Alstrup <alstrup@local>
1804 * rowpainter.C (paintRows): Change algorithm to work directly on
1805 the insets rather than asking every character in the document
1806 whether its an inset.
1808 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1810 * buffer.C (openFileWrite): factorize some code
1812 2003-07-26 Angus Leeming <leeming@lyx.org>
1815 * lyx_main.[Ch]: replace occurances of system_tempdir with
1818 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1820 * rename Inset to InsetOld
1822 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1824 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1825 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1826 which I think is a bit clearer. EDIT is gone, since it was
1827 premature optimisation, and broken for mathed anyway.
1828 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1829 with cursor positioning in insets as well (math insets still do not
1830 work, but that's a different story anyway.) It mysteriously
1831 crashes sometimes with undo in the first paragraph, but I'm fairly
1832 confident that this is a compiler bug.
1834 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1836 * paragraph.C (Paragraph): adjust for new clone return type
1838 (copyIntoMinibuffer): ditto
1840 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1842 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1843 by not having a special case, and always doing a full rebreak of
1844 the document after undo.
1846 2003-07-23 Angus Leeming <leeming@lyx.org>
1848 * factory.C (createInset): InsetExternal::setParams now takes a
1851 2003-07-23 Angus Leeming <leeming@lyx.org>
1853 * factory.C (createInset): changed interface to the external and
1854 graphics mailers' string2params functions.
1856 2003-07-23 Angus Leeming <leeming@lyx.org>
1858 * factory.C (createInset): pass a
1859 Buffer const * parameter to InsetExternalMailer's string2params.
1861 2003-07-22 John Levon <levon@movementarian.org>
1863 * Thesaurus.h: include the right aiksaurus header
1865 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1867 * MenuBackend.C (expand): check menu shortcuts unconditionally
1869 2003-07-21 Angus Leeming <leeming@lyx.org>
1871 * factory.C (createInset): pass a
1872 buffer_path parameter to InsetGraphicsMailer's string2params.
1874 2003-07-21 Angus Leeming <leeming@lyx.org>
1876 * BufferView_pimpl.C (buffer):
1879 * lyxfunc.C (dispatch):
1880 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1881 rather than the grfx shortcut.
1883 2003-07-21 André Pönitz <poenitz@gmx.net>
1885 * rowpainter.C: remove unused variables
1888 * tabular_funcs.h: move to tabular.C
1889 * Makefile.am: adjust
1891 * tabular.[Ch]: basic optical cleaning
1893 * author.h: pass references, not values
1895 2003-07-18 André Pönitz <poenitz@gmx.net>
1903 * text3.C: two-phase drawing for InsetText and InsetTabular
1904 some float -> int changes.
1906 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1908 * lyx_main.C: fix the fix
1910 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1912 * lyx_main.C: fix a crash in batch mode if no files specified
1915 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1917 * format.[Ch] (papersize): moved to BufferParams
1918 * converter.[Ch] (dvips_options): moved to BufferParams
1919 (dvipdfm_options): moved to anon namespace
1920 * bufferparams.[Ch]: added above functions.
1922 2003-07-17 André Pönitz <poenitz@gmx.net>
1926 * text2.C: don't call inset->update() anymore
1928 * metricsinfo.[Ch]: add convenience constructor
1930 2003-07-16 André Pönitz <poenitz@gmx.net>
1935 * text2.C: replace the LyXCursor::irow_ member with
1936 on-demand computation of the value
1938 2003-07-16 John Levon <levon@movementarian.org>
1940 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1942 2003-07-15 André Pönitz <poenitz@gmx.net>
1945 * text2.C: remove no more needed refresh_row
1947 2003-07-15 André Pönitz <poenitz@gmx.net>
1952 * text3.C: refresh_status tristate -> need_update bool
1954 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1956 * lyxtext.h (init): remove reinit argument (act as if always true)
1957 * text2.C: adjust to that
1959 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1961 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1962 * text3.C: use it to delete selections in some cases
1963 (bugs 441, 673, 702, 954).
1965 2003-07-14 André Pönitz <poenitz@gmx.net>
1967 * rowpainter.[Ch]: reduce interface
1969 2003-07-14 André Pönitz <poenitz@gmx.net>
1971 * BufferView_pimpl.C:
1972 * text2.C: adjust after removing unused BufferView * argument
1974 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1976 * text2.C (init): fix a crash fired on resize
1978 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1980 * buffer.[Ch]: added new closing signal
1981 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1982 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1983 BufferView::Pimpl via the closing the signal
1985 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1987 * buffer.[Ch]: take out all bv-related from buffer
1989 * BufferView_pimpl.[Ch]: connect to new signals
1990 * CutAndPaste.C: removed useless asserts
1991 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1994 * lyxfunc.C: moved view-related funciontality from vc here
1995 * paragraph.C: removed outdated comments
1998 2003-07-10 André Pönitz <poenitz@gmx.net>
2000 * BufferView_pimpl.C:
2004 * text2.C: remove InsetText::InnerCache, clean up consequences
2006 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2008 * ispell.C: fix two typos in error messages
2010 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2012 * Extend Note inset to other forms of annotation like Comment
2013 and Greyedout. Right button click gives dialog.
2015 Files modified or added (+):
2019 * ControlNote.[Ch] +
2021 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2022 frontends/controllers
2026 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2028 * aspell.C: add missing namespace lyx::support
2030 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2032 * BufferView.[Ch] (newFile): Add
2033 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2034 * LaTeX.[Ch] (message): added this signal and use it
2035 * buffer.[Ch] (busy, message): added these signals and use them
2036 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2040 * importer.C: use buffer signals instead of direct bv calling
2041 * lyx_cb.[Ch] (ShowMessage): removed
2044 * paragraph_funcs.C:
2045 * text2.C: use buffer signals
2047 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2049 * introduce namespace lyx::graphics
2051 2003-07-02 André Pönitz <poenitz@gmx.net>
2053 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2055 2003-07-01 André Pönitz <poenitz@gmx.net>
2062 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2063 text*.C to text_func.C
2065 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * introduce namespace lyx::support
2069 2003-06-30 André Pönitz <poenitz@gmx.net>
2074 * text.C: re-enable --with-included-string
2076 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * textcursor.C: add <config.h>
2080 * text.C (getWord): remove const from word_location arg
2082 * lyxvc.C (getLogFile): fix const type order
2084 * lyxtext.h: remove const from word_location arg, add arg name
2086 * lyxlayout.h: currect type on labeltype.
2088 * importer.C: correct \file
2090 * converter.C (intToFormat): use std:: on ret val, ws changes
2092 * bufferlist.h: correct \file
2094 * buffer.C (makeLinuxDocFile): fix const type order
2095 (makeDocBookFile): ditto
2096 (fillWithBibKeys): use std:: on stdlib args.
2098 * CutAndPaste.C: fix authors.
2099 (availableSelections): use std:: on return vector
2101 2003-06-27 André Pönitz <poenitz@gmx.net>
2103 * BufferView_pimpl.C:
2104 * bufferview_funcs.C:
2112 * text3.C: remove LyXCursor::row_ member
2115 * text.C: rename fullRebreak() to partialRebreak() and implement
2116 a fullRebreak() that really bereks fully
2118 * textcursor.h: new struct for cursor-related data
2120 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2122 * lyx_main.C (LyX): get full path of document loaded on the
2125 2003-06-26 André Pönitz <poenitz@gmx.net>
2127 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2128 remove unused/broken operator>,<,>=.
2130 * text.C: remove only use of broken operator<= in an Assert().
2132 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2134 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2135 moved errorlist_.clear to showErrorList
2137 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2139 * converter.C (scanLog, runLaTeX):
2140 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2141 move the bv->showErrorList call to the callers
2142 * lyxfunc.C: i.e. here...
2144 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2145 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2146 namespace, the second to...
2147 * buffer_funcs (BufferFormat, parseErrors): added
2148 * errorlist.C (ErrorList(TeXErrors const &)): removed
2150 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2152 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2154 2003-06-24 "Garst R. Reese" <reese@isn.net>
2158 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2160 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2162 * version.C.in: change docversion to 1.4
2164 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2166 * buffer.C: fix a bug just introduced
2168 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2170 * buffer.[Ch]: added the parseError signal and use it, removed
2172 * BufferView.[Ch] (addError): moved to ...
2173 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2174 to the Buffer::parseError signal to catch (guess what) parse errors
2175 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2177 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2179 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2180 ability to create a buffer and to return an existing one from
2181 the list. Moved these functions to...
2182 * buffer_funcs.[Ch]: added
2183 * BufferView.[Ch] (loadLyXFile): added
2184 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2185 job removed from bufferlist::loadLyXFile.
2186 * buffer.C (setReadOnly): make it work without view
2187 (i.e added an if (users))
2189 2003-06-19 Angus Leeming <leeming@lyx.org>
2192 * LyXAction.C (init):
2193 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2194 with LFUN_DIALOG_SHOW <name> <data>.
2196 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2198 * CutAndPaste.C (availableSelections): small compilation fix for
2199 ancient (gcc 2.9x) compilers
2201 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * text3.C (cursorNext): add tmp var
2205 * text2.C (updateCounters): for function calling out of for clause
2206 (replaceSelectionWithString): ditto
2207 (insertStringAsParagraphs): ditto
2208 (getColumnNearX): add tmp var
2209 (setCursorFromCoordinates): add tmp var
2210 (cursorDownParagraph): add tmp var
2211 (deleteEmptyParagraphMechanism): add tmp var
2213 * text.C (insertChar): add tmp var
2215 * rowpainter.C (paintDepthBar): add tmp var
2217 * CutAndPaste.C (availableSelections): potentially check all
2218 paragraphs in a cut to fill the shown strings.
2220 2003-06-18 André Pönitz <poenitz@gmx.net>
2222 * kbmap.[Ch]: use vector<> instead of list<>
2224 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2226 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2227 pasteSelection with index
2229 * text2.C (pasteSelection): modify, call pasteSelection with index
2231 * paragraph.C (asString): reimplement version with no interval to
2232 call the one with interval.
2234 * lyxtext.h: add index arg to pasteSelection
2236 * MenuBackend.C (MenuItem): handle PasteRecent
2237 (Menu::read::Menutags): add md_pasterecent
2239 (expandPasteRecent): new function
2242 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2244 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2246 (availableSelections): new function
2248 2003-06-17 Angus Leeming <leeming@lyx.org>
2250 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2252 2003-06-17 Angus Leeming <leeming@lyx.org>
2255 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2257 * lyxfunc.C (dispatch): invoke it.
2259 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2261 * iterators.C (operator++, ParPosition): reintroduce some
2262 const_cast for the benefit of older compilers.
2264 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2266 * text3.C (dispatch): do not modify clipboard when doing
2267 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2268 LFUN_DELETE_SKIP on a selection selection
2270 2003-06-16 André Pönitz <poenitz@gmx.net>
2276 * tabular.[Ch]: IU of clone() and getLabelList();
2278 2003-06-13 André Pönitz <poenitz@gmx.net>
2280 * tabular.h: compactification
2282 2003-06-12 André Pönitz <poenitz@gmx.net>
2286 * tabular_funcs.h: some renaming plus whitespace
2288 2003-06-12 André Pönitz <poenitz@gmx.net>
2291 * BufferView_pimpl.C:
2297 * toc.C: Return a Paragraph & for ParIterator::operator*()
2299 2003-06-11 John Levon <levon@movementarian.org>
2303 * ToolbarBackend.C: add "Toolbars" section and
2306 2003-06-10 Angus Leeming <leeming@lyx.org>
2309 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2311 * lyxfunc.C (dispatch): invoke it.
2313 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2315 * main.C: protect <ios> with HAVE_IOS
2316 (main): protect sync_with_stdio with HAVE_IOS
2318 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2320 * text2.C (cutSelection): adjust
2321 (pasteSelection): adjust
2323 * messages.C: handle get of empty string
2325 * main.C (main): use sync_with_stdio(false)
2327 * lyxfunc.C (dispatch): adjust
2329 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2330 (WriteAs): remove unneeded BufferView arg.
2332 * bufferparams.h: use correct types on papersize, papersize2 and
2335 * bufferparams.C (readToken): adjust for type
2336 (writeLaTeX): add missing cases to switch.
2338 * bufferlist.C (quitWriteBuffer): adjust
2341 * buffer.C (asciiParagraph): remove some commented code.
2343 * CutAndPaste.C: remove current_view extern variable.
2344 (cutSelection): add BufferParams arg.
2345 (eraseSelection): add BufferParams arg.
2346 (pasteSelection): add Buffer const & arg
2348 2003-06-07 John Levon <levon@movementarian.org>
2351 * paragraph_funcs.C:
2352 * paragraph_pimpl.C:
2356 * paragraph.C: allow InsetERT to freely space lines,
2357 and some consolidation of code
2359 2003-06-06 José Matos <jamatos@fep.up.pt>
2361 * buffer.C (makeDocBookFile): fix bug #821
2363 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2365 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2367 2003-06-04 Angus Leeming <leeming@lyx.org>
2369 * buffer.C: bump format to 224.
2371 2003-06-05 André Pönitz <poenitz@gmx.net>
2373 * text2.C (redoParagraphs): remove two const_cast<>
2375 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2377 * ParagraphList.h: remove last remnants of NO_STD_LIST
2379 2003-06-03 Angus Leeming <leeming@lyx.org>
2381 * factory.C (createInset): small change to the way InsetExternal's params
2384 2003-06-04 André Pönitz <poenitz@gmx.net>
2386 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2388 * paragraph_pimpl.h:
2389 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2391 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2393 * undo_funcs.C: make some simple cases of undo work again
2395 2003-06-03 John Levon <levon@movementarian.org>
2397 * ispell.C: HPUX doesn't have sys/select.h
2400 2003-06-03 John Levon <levon@movementarian.org>
2402 * CutAndPaste.C: update tabular and include inset
2407 * paragraph.C: remove owningBuffer(), don't pass Buffer
2410 * factory.C: insetGraphicsParams changed
2412 2003-06-02 John Levon <levon@movementarian.org>
2418 * text3.C: remove insetparent
2420 2003-06-02 John Levon <levon@movementarian.org>
2423 * buffer.C: fix inset_iterator.end(), move out of line
2426 2003-06-01 John Levon <levon@movementarian.org>
2428 * text3.C: use a proper cut/paste when doing inset
2429 insert (from Jürgen Spitzmüller)
2431 2003-06-01 John Levon <levon@movementarian.org>
2433 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2435 2003-05-30 André Pönitz <poenitz@gmx.net>
2437 * rowpainter.C: unify second drawing phase
2439 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2441 * trans_mgr.C: remove one case of current_view
2443 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2445 * paragraph_funcs.h: remove paragraph.h include
2447 * paragraph.h: delete NO_STD_LIST stuff
2449 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2451 * buffer.h: remove paragraph.h include
2453 * ParagraphList.C: delete file
2455 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2457 * toc.C (getTocList): adjust
2459 * paragraph_pimpl.C (validate): adjust
2461 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2463 * paragraph.C (Paragraph): adjust
2464 (getPositionOfInset): use const_iterator, adjust
2465 (bibitem): use const_iterator, adjust
2466 (setInsetOwner): adjust
2468 * iterators.C (operator++): adjust
2470 * InsetList.[Ch]: Replace selfmade iterator with standard
2471 vector::iterator also introduce const_iterator. Remove getPos,
2472 getInset and setInset from InsetTable. Adjust accordingly.
2474 * BufferView.C (lockInset): adjust
2475 (ChangeInsets): adjust
2477 * tabular.[Ch]: delete commented same_id functions
2479 2003-05-28 John Levon <levon@movementarian.org>
2481 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2483 2003-05-28 André Pönitz <poenitz@gmx.net>
2485 * metricsinfo.[Ch]: remove 'fullredraw' member
2487 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2489 * lyxtextclass.C (operator): remove caching.
2491 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * text2.C (cursorBottom): adjust
2496 (setCounter): use ParagraphList::find, adjust
2498 * text.C (workWidth): use ParagraphList::find, adjust
2500 * lyxcursor.C (LyXCursor): adjust
2502 * buffer.C (inset_iterator): adjust
2504 * ParagraphList.h: make iterator(value_type) private, make
2505 ParagraphList a friend of iterator.
2507 * ParagraphList.C (find): new function
2509 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2511 2003-05-27 André Pönitz <poenitz@gmx.net>
2513 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2515 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2519 2003-05-26 John Levon <levon@movementarian.org>
2521 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2523 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2525 * remove same_id from function signatures, adjust.
2527 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2529 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2531 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2533 * paragraph.C (Paragraph): get rid of same_ids parameter
2535 * ParagraphList.C (insert): adjust
2538 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2540 * paragraph_funcs.C (breakParagraph): adjust
2541 (breakParagraphConservative): adjust
2543 * buffer.C (readParagraph): adjust
2545 * ParagraphList.C (insert): take a reference instead of a pointer
2548 * paragraph.[Ch] (id): new function
2550 * bufferlist.C (newFile): adjust
2552 * ParagraphList.C (ParagraphList): adjust
2554 (push_back): take a reference instead of a pointer.
2556 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2558 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2561 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2562 set else use old code.
2564 * ParagraphList.C: remove all NO_NEXT code and only compile this
2565 code of NO_STD_LIST is set.
2567 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2569 * BufferView_pimpl.C:
2579 * graphics/GraphicsConverter.C:
2580 * graphics/PreviewLoader.C: header adjustment
2582 2003-05-23 Angus Leeming <leeming@lyx.org>
2584 * LaTeXFeatures.[Ch] (useBabel): new method.
2585 * bufferparams.C (writeLaTeX): use it.
2587 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * ParagraphList.h (set): remove unused function.
2591 2003-05-23 André Pönitz <poenitz@gmx.net>
2594 * BufferView_pimpl.C:
2598 * undo_funcs.C: setUndo reworked
2600 * iterators.[Ch]: add access to topmost ParagraphList
2602 * lyxtext.[Ch] (workWidth): add a const
2604 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2606 * texrow.[Ch] (increasePos): remove function
2607 * exporter.C (export): removed unused var and outdated comment
2609 2003-05-23 Angus Leeming <leeming@lyx.org>
2611 * latexrunparams.h: rename fragile as moving_arg.
2612 * paragraph.C (simpleTeXOnePar): ditto.
2613 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2615 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2617 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2619 (textUndoOrRedo): comment out a currently unused var.
2621 * paragraph.h (NO_NEXT): enable NO_NEXT
2623 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2625 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2627 * exporter.C (Export): adjust for removeAutoInsets removal.
2629 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2631 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2633 * BufferView.[Ch] (removeAutoInsets): delete function
2635 2003-05-22 Angus Leeming <leeming@lyx.org>
2637 * latexrunparams.h: add a free_spacing variable.
2639 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2640 to pass moving_arg, as the data is stored in runparams.fragile.
2642 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2643 to Inset::latexOptional or to simpleTeXOnePar.
2645 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2646 free_spacing arg to Inset::latexOptional.
2648 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2651 2003-05-22 Angus Leeming <leeming@lyx.org>
2653 * latexrunparams.h: add fragile and use_babel variables.
2655 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2656 * buffer.C (makeLaTeXFile): store this returned value in
2657 runparams.use_babel, thus passing it to the inset::latex methods.
2659 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2660 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2662 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2663 longer has a fragile arg, as it is stored in runparams.fragile.
2665 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2666 moving_arg parameter as the data is stored in runparams.fragile.
2668 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2669 a fragile parameter as the data is stored in runparams.fragile.
2671 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2675 2003-05-22 Angus Leeming <leeming@lyx.org>
2677 * latexrunparams.h: add a 'bool nice' which defaults to false.
2679 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2680 now encapsulated within runparams.
2682 * bufferlist.C (updateIncludedTeXfiles):
2683 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2685 2003-05-22 Angus Leeming <leeming@lyx.org>
2687 * latexrunparams.h: new file containing struct LatexRunParams.
2688 * Makefile.am: add new file.
2690 * LaTeX.[Ch] (c-tor, run):
2691 * buffer.[Ch] (makeLaTeXFile):
2692 * bufferlist.[Ch] (updateIncludedTeXfiles):
2693 * converter.C (convert, scanLog):
2694 * converter.[Ch] (runLaTeX):
2695 * exporter.C (Export):
2696 * paragraph.[Ch] (simpleTeXOnePar):
2697 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2698 * paragraph_funcs.[Ch] (latexParagraphs):
2699 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2700 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2701 pass around a LatexRunParams parameter.
2703 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * paragraph.[Ch]: remove unused constructor
2707 * ParagraphList.C (erase): new function, taking two iterators
2709 2003-05-22 André Pönitz <poenitz@gmx.net>
2711 * undo_funcs.C: remove duplicated code
2713 * iterator.[Ch]: operator=
2715 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * tabular.C (SetMultiColumn): ws changes
2719 * rowpainter.C (paintFirst): get rid of a ->previous
2721 * lyx_cb.C (getPossibleLabel): parlist simplification
2723 * BufferView.C (ChangeInsets): simplify slightly.
2725 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2727 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2728 * lfuns.h: new LFUN_SPACE
2729 * lyxfunc.C: protected space has a new lfun
2730 * paragraph_funcs.C: read new space insets
2732 * factory.C: handle new space insets
2734 2003-05-22 André Pönitz <poenitz@gmx.net>
2737 * BufferView_pimpl.C:
2740 * undo_funcs.C: return a ParIterator from getParFromID.
2742 * iterators.[Ch]: add two const's
2744 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * toc.C (getTocList): adjust
2748 * iterators.[Ch]: rework for parlist
2750 * buffer.C (par_iterator_begin): adjust
2751 (par_iterator_end): adjust
2753 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2755 * BufferView.C (removeAutoInsets): adjust
2756 (ChangeInsets): adjust
2758 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2760 * text.C (top_y): fix bug 1110
2762 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2764 * errorlist.[Ch]: added
2767 * BufferView_pimpl.C:
2768 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2771 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * Makefile.am: ensure that lyx is relinked upon changes to the
2774 various "convenience" libs.
2776 2003-05-20 Angus Leeming <leeming@lyx.org>
2778 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2779 files are compiled in alphabetical order again.
2781 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2783 2003-05-19 Angus Leeming <leeming@lyx.org>
2785 * gettext.[Ch]: remove "char const * _(char const *)".
2787 2003-05-19 André Pönitz <poenitz@gmx.net>
2789 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2798 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2800 2003-05-19 André Pönitz <poenitz@gmx.net>
2804 * lyxtextclass.[Ch]:
2806 * paragraph_funcs.[Ch]:
2808 * text3.C: more insetenv work
2810 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2812 * ParagraphParameters.C (params2string): small bug fixed
2814 2003-05-16 André Pönitz <poenitz@gmx.net>
2817 * bufferview_funcs.C: patch from Kornel Benko to prevent
2818 crash when _(...) is called twice in a statement
2820 2003-05-16 André Pönitz <poenitz@gmx.net>
2827 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2829 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2831 * lyx_main.C (init): remove spurious static_cast
2833 2003-05-14 André Pönitz <poenitz@gmx.net>
2835 * BufferView.C: fix format string
2837 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2839 * BufferView.[Ch] (insertErrors): removed
2840 * BufferView.[Ch] (showErrorList): added
2841 * buffer.C (runChkTeX):
2842 * converter.C (scanLog): call showErrorList instead of inserterrors
2844 2003-05-13 André Pönitz <poenitz@gmx.net>
2846 * BufferView_pimpl.C:
2848 * bufferview_func.C:
2855 * tabular_funcs.h: tostr() from its own header
2857 * ParagraphParameters.C:
2862 * text3.C: STRCONV()
2864 2003-05-12 André Pönitz <poenitz@gmx.net>
2867 * BufferView_pimpl.C:
2871 * ParagraphParameters.C:
2875 * bufferview_funcs.C:
2888 * paragraph_funcs.C:
2892 * text3.C: boost::format -> bformat all over the place
2895 2003-05-09 André Pönitz <poenitz@gmx.net>
2897 * LColor.[Ch]: Pimpl the #include <map> away
2899 2003-05-09 John Levon <levon@movementarian.org>
2901 * bufferlist.C: never remove emergency saves
2903 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * Makefile.am: better lib building
2907 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2911 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2912 (simpleTeXSpecialChars): adjust
2913 (simpleTeXSpecialChars): adjust
2914 * paragraph.C (simpleTeXOnePar): adjust
2915 * buffer.C (makeLaTeXFile): adjust
2917 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2919 * text2.C (changeDepth): parlist cleanup
2920 (getColumnNearX): ditto
2922 * rowpainter.C (getLabelFont): parlist cleanup
2924 * bufferlist.C (newFile): parlist cleanup
2926 * CutAndPaste.C (eraseSelection): parlist cleanup
2928 * BufferView_pimpl.C (trackChanges): parlist cleanup
2931 * BufferView.C (lockInset): parlist cleanup.
2932 (ChangeInsets): ditto
2934 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2936 * CutAndPaste.h: Update file header.
2938 * CutAndPaste.C: Update file header.
2939 Store the parts cut out of the Document in a limited_stack.
2940 (copySelection): adjust
2941 (pasteSelection): new function, takes the index in the limited stack.
2942 (nrOfParagraphs): adjust
2943 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2944 simplify error inset insertion.
2945 (checkPastePossible): adjust
2947 2003-05-06 John Levon <levon@movementarian.org>
2949 * text2.C: don't cast wrap inset to float
2951 2003-05-05 André Pönitz <poenitz@gmx.net>
2954 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2956 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2957 few naked Paragraph *.
2959 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2961 * bufferparams.C: Output warning if a document with missing
2962 TeX document class is loaded
2963 * exporter.C: Disable TeX exports if the document class is missing
2966 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2967 isTeXClassAvailable()
2969 2003-05-03 John Levon <levon@movementarian.org>
2972 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2973 explicit cursor show/hide
2975 * BufferView_pimpl.h:
2976 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2977 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2979 * lyxfunc.C: hide cursor before dispatching.
2984 * text3.C: remove explicit cursor hides
2986 2003-05-02 André Pönitz <poenitz@gmx.net>
2988 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2991 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2994 * text2.C: tiny whitespace
2996 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2998 * undo_funcs.C: almost only ws changes.
3000 * ParagraphList.C (splice): just return if pl is empty.
3002 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * ParagraphList.C (splice): new function.
3006 * CutAndPaste.C (pasteSelection): use it
3008 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * CutAndPaste.C (pasteSelection): remove the last next and
3011 previous from this file.
3013 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * CutAndPaste.C (pasteSelection): more clean up, user proper
3016 ParagraphList functions for pasteing.
3018 * ParagraphList.C (insert): new function, three arg insert
3020 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * ParagraphList.C (insert): new function, three arg insert
3024 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3027 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3031 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3033 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3035 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3038 (copySelection): clean up a bit.
3039 (pasteSelection): use make_pair
3041 * ParagraphList.C (ParagraphList): implement copy constructor
3042 (operator=): implement, base on copy constructor.
3045 * paragraph.C (erase): return a bool
3047 * paragraph_pimpl.C (erasePos): remove function, move contents...
3048 (erase): ... here. Return a bool.
3049 (erase): call erase instead of erasePos.
3051 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3053 * ParagraphList.h: define PitPosPair
3054 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3055 ParagraphList, fix a bug on pasting multiple pars
3056 * text2.C: change interface to C&P
3058 2003-04-30 André Pönitz <poenitz@gmx.net>
3060 * undo_func.C: revert part of yesterday's patch 2
3062 2003-04-30 John Levon <levon@movementarian.org>
3064 * LColor.C: s/tabular/table/
3066 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * text3.C (dispatch): do not convert iterator -> pointer
3069 * undo_funcs.C (setCursorParUndo): ditto
3070 * text_funcs.C (transposeChars): ditto
3072 * text2.C (setLayout): ws changes only
3074 * text.C (breakParagraph): do not convert iterator -> pointer
3076 (acceptChange): ditto
3077 (rejectChange): ditto
3082 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3085 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3087 * text3.C (gotoInset): YABG (yet another bad getChar)
3089 2003-04-29 André Pönitz <poenitz@gmx.net>
3091 * paragraph.h: make operator= private unimplemented as long as
3094 * ParagraphList.C: whitespace
3097 * paragraph_pimpl.[Ch]:
3098 * paragraph_funcs.C:
3100 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3103 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3105 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3107 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3108 * paragraph.[Ch] (erase):
3109 * paragraph_pimpl.[Ch] (erase): change return type and value
3110 * text2.C (cutSelection): some rework
3112 2003-04-28 John Levon <levon@movementarian.org>
3114 * bufferlist.C: changes for unsaved changes dialog
3116 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * bufferlist.C (newFile): set language (messages_) for new
3121 * buffer.C (readFile): ws changes only.
3123 2003-04-28 André Pönitz <poenitz@gmx.net>
3128 * BufferView_pimpl.C:
3129 * BufferView.C: getParFromID related ParagraphList::iterator changes
3131 2003-04-28 André Pönitz <poenitz@gmx.net>
3133 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3136 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3138 * messages.C: remove one more localedir class variable.
3140 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * messages.C (getLocaleDir): singleton generation function
3144 (Messages): add a default constructor.
3146 * main.C (main): do not setup localedir here, do not call
3149 * gettext.C (_): use it.
3150 (gettext_init): delete funciton
3152 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * gettext.C (getLyXMessages): new singleton generating function.
3156 * buffer.C (updateDocLang): adjust
3158 * Makefile.am (messages.o): add target
3159 (main.o): remove target
3161 2003-04-27 John Levon <levon@movementarian.org>
3166 * lyxvc.C: specify cancel button in Alert::prompt
3168 2003-04-26 John Levon <levon@movementarian.org>
3173 * LyXAction.C: add LFUN_INSET_SETTINGS
3175 * lyxfunc.C: don't enable tabular-feature when there's
3176 just any locking inset
3178 2003-04-26 John Levon <levon@movementarian.org>
3180 * bufferlist.C: re-add Cancel to buffer close question
3182 * lyxfunc.C: fix import UI a bit
3184 2003-04-25 John Levon <levon@movementarian.org>
3186 * gettext.C: remove the broken asserts for now
3188 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * messages.C: make case where setlocale cannot comply work better.
3192 * buffer.C (updateDocLang): new function
3193 (changeLanguage): use it
3196 * text2.C (setCounter): use B_ a bit.
3198 * lyxlayout.C (Read): be sure to trim the label strings.
3200 * messages.C (Messages): fix typo in comment
3202 * buffer.C (readFile): set message_ after file is loaded.
3203 (makeDocBookFile): remove double return
3204 (changeLanguage): reset message_ upon language change.
3205 (B_): new func, use this to get translated buffer strings.
3207 * main.C: add myself and Jean Marc as authors.
3209 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * messages.[hC]: pimplify Messages, and three different pimpls to be
3212 used in different circumstances.
3214 * gettext.[Ch]: change for use with new message code.
3216 2003-04-24 André Pönitz <poenitz@gmx.net>
3218 * factory.C: support for eqref
3220 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * messages.[Ch]: add missing char
3224 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3226 * messages.[Ch]: New files
3228 2003-04-18 John Levon <levon@movementarian.org>
3232 * BufferView_pimpl.C:
3236 * text2.C: remove layout-copy/paste (bug 778)
3238 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3240 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3242 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3244 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3245 if they succeed. Act accordingly.
3247 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * text2.C (setCharFont): adjust
3250 (setCounter): adjust
3251 (insertStringAsLines): adjust
3253 * text.C (leftMargin): adjust
3254 (setHeightOfRow): adjust
3256 * rowpainter.C (paintFirst): adjust
3259 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3261 (isFirstInSequence): ditto
3262 (getEndLabel): ditto
3265 * paragraph.C (getParLanguage): comment out some hard stuff.
3267 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3269 (simpleDocBookOnePar): ditto
3270 (makeDocBookFile): use ParagraphList::iterator
3272 * CutAndPaste.C (pasteSelection): adjust
3274 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * text2.C (getFont): adjust
3277 (getLayoutFont): adjust
3278 (getLabelFont): adjust
3280 * paragraph_funcs.C (TeXOnePar): adjust
3282 * buffer.C (simpleLinuxDocOnePar): adjust
3283 (simpleDocBookOnePar): adjust
3285 * CutAndPaste.C (pasteSelection): adjust
3287 * BufferView.C (getEncoding): adjust
3289 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3291 2003-04-16 John Levon <levon@movementarian.org>
3293 * lyxfind.C: use parlist stuff for search/changes
3295 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3299 * text2.C (deleteEmptyParagraphMechanism): adjust
3301 * text2.[Ch] (ownerParagraph): delete func (both of them
3303 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3307 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3309 * ParagraphList.C: prepare for NO_NEXT
3311 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * text2.C (getFont): adjust
3314 (getLayoutFont): adjust
3315 (getLabelFont): adjust
3317 * paragraph.C (getFont): adjust
3318 (getLabelFont): adjust
3319 (getLayoutFont): adjust
3321 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3323 2003-04-15 John Levon <levon@movementarian.org>
3327 * lyx_main.C: handle Include in .ui files
3329 2003-04-15 John Levon <levon@movementarian.org>
3331 * MenuBackend.C: make the doc files length shorter
3334 * ToolbarBackend.C: handle toolbar placement flags,
3337 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3342 * paragraph_funcs.C (TeXOnePar): adjust
3344 * paragraph.C (getLabelFont): add outerfont arg, adjust
3345 (getLayoutFont): ditto
3346 (simpleTeXOnePar): adjust
3348 * paragraph_pimpl.C (realizeFont): delete func
3350 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3352 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3353 row argument, constify cur argument.
3355 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3357 * text2.C (getFont): adjust
3358 (getLayoutFont): adjust
3359 (getLabelFont): adjust
3361 * paragraph_funcs.C (TeXOnePar): adjust
3362 (outerFont): new func...
3363 (realizeFont): ...moved out from here, changed this to facilitate
3366 * paragraph.C (getFont): take outerfont as arg, adjust
3367 (simpleTeXOnePar): add outerfont arg, adjust
3369 * buffer.C (simpleLinuxDocOnePar): adjust
3370 (simpleDocBookOnePar): adjust
3372 * CutAndPaste.C (pasteSelection): adjust
3374 * BufferView.C (getEncoding): adjust
3376 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * text2.C (setCharFont): adjust
3379 (setCounter): adjust
3381 * text.C (leftMargin): adjust
3382 (setHeightOfRow): adjust
3384 * rowpainter.C (paintFirst): adjust
3387 * paragraph_pimpl.C (realizeFont): adjust
3389 * paragraph.C (isFirstInSequence): move from here...
3390 * paragraph_funcs.C (isFirstInSequence): ...to here
3392 * paragraph.C (outerHook): move from here...
3393 * paragraph_funcs.C (outerHook): ...to here
3395 * paragraph.C (depthHook): move from here...
3396 * paragraph_funcs.C (depthHook): ...to here
3398 * paragraph.C (getEndLabel): move from here...
3399 * paragraph_funcs.C (getEndLabel): ...to here
3401 * text2.C (realizeFont): move from here...
3402 * paragraph_funcs.C (realizeFont): ...to here
3404 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3408 2003-04-14 Angus Leeming <leeming@lyx.org>
3410 * LColor.[Ch]: scrap LColor mathcursor.
3412 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * lyxlex.[Ch] (text): delete function
3415 * trans.C (Load): adjust
3416 * paragraph_funcs.C (readParToken): adjust
3418 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3421 vector<char> instead of a char[].
3423 * lyxlex_pimpl.C (getString): adjust
3425 (lex): use getString
3429 * lyxlex.C (text): use pimpl_->getString()
3433 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3436 (makeFontEntriesLayoutSpecific): temp var for par.size()
3437 (setLayout): temp var for ownerParagraphs().end()
3438 (fullRebreak): temp var for rows().end()
3439 (selectionAsString): temp var for boost::next(startpit), realize
3440 that the while really is a regular for loop.
3441 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3442 setCursor in one place.
3443 (setParagraph): temp vr for ownerParagraphs().end()
3444 (updateCounters): make the while loop a for loop
3445 (cutSelection): temp var for ownerParagraphs().end()
3446 (updateInset): make the do {} while() a regular for loop
3447 (getCursorX): use temp vars
3448 (setCurrentFont): use temp vars
3449 (getColumnNearX): use temp vars
3451 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * text.C (transformChar): use temp var for getChar
3454 (computeBidiTables): use temp var for row->par()
3455 (fill): move temp vars for row->par() and pit->layout() earlier in
3457 (labelFill): use temp var for row->par()
3458 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3459 asc and desc, realize that pit never changes and that firstpit is
3460 just a duplicate and not needed. Exchange rit->par() with pit in a
3462 (breakAgain): use a temp var for boost::next(rit)
3463 (breakAgainOneRow): ditto
3464 (breakParagraph): use a temp var for rows().begin()
3465 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3466 (cursorRightOneWord): use temp var for cursor.par() and
3467 cursor.pos(), remove usage of tmpcursor.
3468 (cursorLeftOneWord): use temp var for cursor.par() and
3469 cursor.pos() only set cur at end of function.
3471 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3473 * text.C, text2.C: exchange all usage of Paragraph::next with
3474 boost::next(ParagraphList::iterator)
3476 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3478 * text2.C (cursorTop): simplify implementation
3479 (cursorBottom): ditto
3480 (setParagraph): use ParagraphList::iterator
3481 (setCurrentFont): adjust
3482 (getColumnNearX): adjust
3483 (cursorRight): adjust
3484 (cursorLeft): remove usage of Paragraph::previous
3485 (cursorUpParagraph): ditto
3486 (deleteEmptyParagraphMechanism): slight cleanup
3488 * text.C (isBoundary): take a Paragraph const & instead of a
3490 (addressBreakPoint): ditto
3491 (leftMargin): remove usage of Paragraph::previous.
3492 (setHeightOfRow): ditto
3493 (cursorLeftOneWord): ditto
3494 (selectNextWordToSpellcheck): ditto
3497 (breakParagraph): remove one usage of Paragraph::next
3498 (redoParagraph): ditto
3499 (acceptChange): ditto
3500 (insertChar): adjust
3501 (rowBreakPoint): adjust
3503 * bufferview_funcs.C (toggleAndShow): adjust
3505 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3507 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3508 methods to access it.
3510 * text.C: Added updateRowPositions to compute all row positions.
3511 Make top_y and getRowNearY() to use the cached y position
3513 2003-04-11 John Levon <levon@movementarian.org>
3515 * text.C (rowBreakPoint): reintroduce the labelEnd
3516 checks, code copied from the row fill stuff. Deep voodoo.
3518 * text.C (fill): add a comment and debugging for the
3521 2003-04-11 John Levon <levon@movementarian.org>
3523 * text.C: make sure fullrow insets get wrapped to the next line,
3524 even when they're in a manual label
3526 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * text2.C (insertParagraph): make it take ParagraphList::iterator
3530 (setLayout): make it return ParagraphList::iterator
3531 (redoParagraphs): ditto
3533 (checkParagraph): ditto
3535 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3537 * text2.C: adjust several funcs.
3538 (realizeFont): take a ParagraphList::iterator as arg.
3539 (getLayoutFont): ditto
3540 (getLabelFont): ditto
3541 (setCharFont): ditto
3543 * text.C: adjust several funcs.
3545 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3547 * text.C (selectNextWordToSpellcheck): don't accidentally
3550 2003-04-10 John Levon <levon@movementarian.org>
3552 * ToolbarBackend.C (getIcon): special handling for
3555 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3557 * text2.C (cursorRight): a getChar assert fixed
3559 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * text2.C (getFont): change to take a ParagraphList::iterator
3562 instead of Paragraph*
3563 Adjust several functions.
3565 * text.C (transformChar): change to take a ParagraphList::iterator
3566 instead of Paragraph*
3567 (singleWidth): ditto
3568 Adjust several functions.
3570 * rowpainter.C: adjust several functions
3571 * rowpainter.h:store a ParagraphList::iterator and not a
3575 2003-04-09 John Levon <levon@movementarian.org>
3580 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3581 and the "help" bits as well
3583 2003-04-09 John Levon <levon@movementarian.org>
3586 * ToolbarBackend.C: allow multiple toolbars
3588 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * undo_funcs.C (setCursorParUndo): adjust
3592 * text_funcs.C (transposeChars): adjust
3594 * text3.C (gotoNextInset): adjust
3597 * text2.C (setLayout): adjust
3598 (changeDepth): adjust
3600 (redoParagraphs): adjust
3601 (selectionAsString): adjust
3602 (setParagraph): adjust
3603 (insertInset): adjust
3604 (cutSelection): adjust
3605 (copySelection): adjust
3606 (pasteSelection): adjust
3607 (insertStringAsLines): adjust
3608 (updateInset): adjust
3609 (setCursor): change to take a ParagraphList::iterator parameter
3610 (setCursorIntern): change to take a ParagraphList::iterator parameter
3611 (setCurrentFont): adjust
3612 (cursorLeft): adjust
3613 (cursorRight): adjust
3614 (deleteEmptyParagraphMechanism): adjust
3616 * text.C (breakParagraph): adjust
3617 (insertChar): adjust
3618 (acceptChange): adjust
3619 (rejectChange): adjust
3620 (selectNextWordToSpellcheck): adjust
3621 (changeCase): adjust
3625 * lyxfind.C (SearchForward): adjust
3626 (SearchBackward): adjust
3627 (nextChange): adjust
3629 * lyxcursor.C (par): adjust
3631 * lyxcursor.h: store a ParagraphList::iterator instead of a
3634 * lyx_cb.C (getPossibleLabel): adjust
3636 * bufferview_funcs.C (toggleAndShow): adjust
3638 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3641 * BufferView.C (removeAutoInsets): adjust
3642 (lockedInsetStoreUndo): adjust
3644 2003-04-09 John Levon <levon@movementarian.org>
3646 * ToolbarBackend.C: try icon without argument
3647 if with argument fails
3649 2003-04-08 John Levon <levon@movementarian.org>
3652 * ToolbarBackend.C: add getIcon(), handle tooltip,
3653 and change from "Icon" to "Item".
3655 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3657 * BufferView.C (lockInset): another bad getchar crunched
3659 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3661 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3664 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3666 * lyxfind.C (searchForward, searchBackwards): bug 782
3668 2003-04-07 John Levon <levon@movementarian.org>
3670 * paragraph.C: remove dead comment
3672 * text.C: remove troublesome depth-fiddling code
3673 in leftMargin() and rightMargin() (bug 1017)
3675 * text.C: fix breaking of rows in nested lists
3678 * text2.C (updateCounters): fix up depth values
3681 2003-04-07 John Levon <levon@movementarian.org>
3683 * BufferView_pimpl.C: clear message when doc finishes resizing,
3684 and after a mouse event
3686 * lyxfunc.C: clear message after exiting inset
3688 2003-04-07 John Levon <levon@movementarian.org>
3690 * bufferview_funcs.C: show math status not outside
3691 status in the statusbar
3693 2003-04-07 John Levon <levon@movementarian.org>
3695 * lyxfunc.C: note status changed after a depth change
3697 2003-04-04 Angus Leeming <leeming@lyx.org>
3699 * LaTeX.h: move AuxInfo operator==, != out of line.
3700 Remove LaTeX virtual destructor; nothing derives from it.
3701 Move operator()() out of public area and rename it startscript().
3702 Change protected for private.
3704 2003-04-04 Angus Leeming <leeming@lyx.org>
3707 * text2.C: remove unneeded #includes.
3709 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3711 * text2.C (dEPM): fix the heigth of the next row
3713 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3715 * text.C: squashed an invalid getChar requester + some ws changes
3717 2003-04-03 John Levon <levon@movementarian.org>
3719 * bufferview_funcs.h:
3720 * bufferview_funcs.C:
3723 * text2.C: make getStatus work for the env depth lfuns
3725 2003-04-03 John Levon <levon@movementarian.org>
3727 * bufferview_funcs.h:
3728 * bufferview_funcs.C:
3731 * text2.C: parlistize decDepth(), by merging it with incDepth()
3733 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * lyxrow.h: store a ParagraphList::iterator instead of a
3736 Paragraph* and adjust other class functions to suit.
3738 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3741 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3743 * text2.C (setCursor): do not anchor to cursor row for the time being
3745 2003-04-02 John Levon <levon@movementarian.org>
3752 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3754 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * paragraph.h: make ParagraphList and ParagraphList::iterator
3757 friends of Paragraph.
3759 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3761 * ParagraphList.C: Use the private next_ and previous_ from
3764 2003-04-01 John Levon <levon@movementarian.org>
3768 * Makefile.am: rename, remove defaults gunk
3771 * MenuBackend.C: remove defaults gunk
3774 * Languages.C: remove defaults gunk
3777 * lyx_main.C: error out if files couldn't be found.
3779 2003-04-02 John Levon <levon@movementarian.org>
3781 * text2.C: make incDepth() use parlist
3783 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * undo_funcs.C (firstUndoParagraph): adjust
3787 * text3.C (gotoInset): adjust
3788 (dispatch): adjust, and rewrite loop.
3790 * text2.C (init): adjust, and rewrite loop.
3791 (redoParagraphs): adjust
3792 (updateInset): adjust, and rewrite loop.
3793 (deleteEmptyParagraphMechanism): adjust
3795 * tabular.C (LyXTabular): adjust
3796 (SetMultiColumn): adjust
3799 * lyxtext.[Ch] (ownerParagraph): delete function
3800 (ownerParagraphs): new function returns a ParagraphList.
3802 * BufferView.C (removeAutoInsets): adjust
3803 (insertErrors): adjust
3804 (setCursorFromRow): adjust
3806 2003-04-01 Angus Leeming <leeming@lyx.org>
3808 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3811 2003-04-02 John Levon <levon@movementarian.org>
3817 * text_funcs.C: make transposeChars a free function
3819 * lyxrow_funcs.C: remove wrong comment
3821 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * rowpainter.C: adjust
3829 * lyxrow_funcs. [Ch]: new files
3831 * lyxrow.[Ch]: remove next and previous pointers
3832 (next,previous): remove accessor functions
3833 (isParEnd): move to lyxrow_funcs
3834 (lastPos): move to lyxrow_funcs
3835 (nextRowIsAllInset): move to lyxrow_funcs
3836 (lastPrintablePos): move to lyxrow_funcs
3837 (numberOfSeparators): move to lyxrow_funcs
3838 (numberOfHfills): move to lyxrow_funcs
3839 (numberOfLabelHfills): move to lyxrow_funcs
3840 (hfillExpansion): move to lyxrow_funcs
3844 * bufferview_funcs.C (toggleAndShow): adjust
3846 * RowList.h: Remove class RowList from file leave just a
3849 * RowList.C: delete file
3851 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3854 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * text3.C (cursorPrevious): adjust
3857 (cursorNext): adjust
3860 * text2.C (redoHeightOfParagraph): adjust
3861 (redoDrawingOfParagraph): adjust
3864 * text.C (breakParagraph): adjust
3865 (insertChar): adjust
3868 * rowpainter.C (RowPainter): adjust
3869 (leftMargin): simplify and adjust
3870 (most rowpainter functions): adjust.
3872 * rowpainter.h: store the row as RowList::iterator not as Row*
3874 * lyxcursor.C (row): taka RowList::iterator as arg
3877 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3880 2003-04-01 Angus Leeming <leeming@lyx.org>
3882 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3883 stuff like bool Bool.
3885 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3887 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3890 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3895 * lyxtext.h (rows): drop one version and leve a const variant that
3896 returns a RowList::iterator.
3898 2003-03-31 Angus Leeming <leeming@lyx.org>
3900 * text.C (fill): ensure that the signature is the same as that in the
3903 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * text2.C (redoParagraphs): adjust
3906 (updateCounters): adjust
3907 (checkParagraph): adjust
3908 (getColumnNearX): adjust and reformat a bit.
3910 * text.C (top_y): adjust
3912 (leftMargin): adjust
3913 (prepareToPrint): adjust
3915 (getRowNearY): adjust
3917 * lyxtext.h: make rowlist_ mutable.
3919 * RowList.h: add const_iterator
3920 * RowList.C: adjust for RowList::const_iterator.
3922 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3925 2003-03-31 John Levon <levon@movementarian.org>
3928 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3930 * lyx_main.C: set default fonts from using lyx_gui funcs
3932 * exporter.C: pdf_mode moved from lyxrc
3935 * lyxfunc.C: changes from above
3937 2003-03-31 John Levon <levon@movementarian.org>
3939 * lyx_main.C: fix to the last fix
3941 2003-03-31 John Levon <levon@movementarian.org>
3943 * bufferlist.C: "Load original" -> "Load Original"
3949 * format.C: more Alert cleanups
3951 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * text2.C (removeParagraph): make it take a RowList::iterator as
3955 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3956 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3958 * text.C (anchor_row): make it take a RowList::iterator as arg,
3960 (computeBidiTables): make it take a const reference to Row instead
3961 of Row pointer, adjust.
3962 (leftMargin): make it take a RowList::iterator as arg, adjust.
3963 (rowBreakPoint): adjust
3964 (breakAgainOneRow): make it take a RowList::iterator as arg,
3966 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3968 * bufferview_funcs.C (toggleAndShow): adjust
3970 2003-03-30 John Levon <levon@movementarian.org>
3974 * boost-inst.C: moved to support
3976 * several files: changes as a result
3978 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3980 * text2.C (LyXText): adjust.
3982 (removeRow): make it take a RowList::iterator as arg, adjust.
3983 (fullRebreak): adjust
3984 (deleteEmptyParagraphMechanism): adjust
3985 (clearPaint): adjust
3988 * text.C (top_y): adjust
3989 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3990 (breakAgain): make it take a RowList::iterator as arg, adjust.
3991 (breakParagraph): adjust
3992 (insertChar): adjust
3995 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3996 need_break_row, and refresh_row.
3998 * text3.C (dispatch): adjust
4000 * text2.C (checkParagraph): adjust
4002 (setCursorFromCoordinates): adjust
4004 * text.C (top_y): adjust
4006 (getRow): make it return a RowList::iterator, adjust
4007 (getRowNearY): make it return a RowList::iterator, adjust
4009 * text2.C (init): adjust
4010 (insertRow): remove function
4011 (insertParagraph): adjust
4012 (redoParagraphs): adjust
4013 (fullRebreak): adjust
4014 (updateCounters): adjust
4016 * text.C (top_y): rewrite to use RowList iterators.
4018 (setHeightOfRow): rewrite to sue RowList iterators.
4019 (appendParagraph): adjust
4020 (breakAgain): adjust
4021 (breakAgainOneRow): adjust
4022 (breakParagraph): adjust
4024 (getRowNearY): adjust, and remove commented code.
4026 * lyxtext.h (firstRow): delete function
4027 (lastRow): delete function
4028 (rows): new function (const and non-const versions.)
4029 (insertRow): delete function
4031 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4033 2003-03-29 John Levon <levon@movementarian.org>
4035 * BufferView_pimpl.C: always update scrollbar top
4036 because pasting text when we're anchored could mean we
4037 miss an update altogether
4039 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * text2.C (init): use rowlist_.end() and not 0.
4042 (insertRow): change to take a RowList::iterator as arg, adjust
4044 (insertParagraph): change to take a RowList::iterator as arg,
4046 (redoParagraphs): remove some debug msgs.
4048 * text.C (appendParagraph): change to take a RowList::iterator
4049 arg, adjust for this.
4050 (breakAgain): add an assert
4051 (breakAgainOneRow): ditto
4053 2003-03-29 John Levon <levon@movementarian.org>
4055 * text2.C: do not clear selection after inc/decDepth
4058 2003-03-29 John Levon <levon@movementarian.org>
4061 * buffer.C: fix broken strerrors according to Lars
4063 2003-03-29 John Levon <levon@movementarian.org>
4065 * converters.C: more Alert cleanups
4067 2003-03-29 John Levon <levon@movementarian.org>
4069 * bufferview_funcs.C: remove pointless Alert
4071 * buffer.C: fix confusing error message when
4072 a template is chmoded 000
4074 2003-03-29 John Levon <levon@movementarian.org>
4078 * BufferView_pimpl.C: Alert fixes
4082 * tabular-old.C: remove unused table compat reading
4084 2003-03-29 John Levon <levon@movementarian.org>
4089 * lyx_cb.C: more Alert cleanups
4091 * lyxfunc.C: don't allow chktex if not latex document
4093 2003-03-29 John Levon <levon@movementarian.org>
4097 * buffer.C: warnings pushed down from support/,
4100 2003-03-29 John Levon <levon@movementarian.org>
4102 * lyxfunc.C: safety check for C-r (revert)
4104 2003-03-29 John Levon <levon@movementarian.org>
4107 * bufferlist.C: several UI fixes using Alert::prompt.
4108 Fix the pointless looping quit code. Fix stupid revert
4113 * lyx_cb.C: use Alert::prompt
4115 * lyx_main.C: remove a silly question
4117 * lyxfunc.C: remove a couple of silly questions,
4120 2003-03-28 John Levon <levon@movementarian.org>
4122 * text2.C: fix bug 974 (End on empty par)
4124 2003-03-28 John Levon <levon@movementarian.org>
4126 * BufferView_pimpl.C:
4128 * lfuns.h: remove do-nothing math greek lfuns
4130 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4132 * lyxgluelength.h (isValidGlueLength): add default arg on
4133 parameter 2. Remove default arg from friend in class.
4135 * lyxlength.h (isValidLength): add default arg on parameter 2.
4136 Remove default arg from friend in class.
4138 * text2.C (LyXText): adjust, initialize refresh_row.
4142 (insertParagraph): adjst
4143 (redoParagraphs): adjust
4144 (fullRebreak): adjust
4145 (updateCounters): adjust
4146 (deleteEmptyParagraphMechanism): first attempt at fixing a
4149 * text.C (top_y): adjust
4150 (setHeightOfRow): adjust
4152 (getRowNearY): adjust
4154 * lyxtext.h: include RowList.h
4155 (~LyXText): not needed anymore, deleted.
4156 (firstRow): modify for RowList
4157 (lastRow): new function
4158 Delete firstrow and lastrow class variables, add a Rowlist
4159 rowlist_ class variable.
4161 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4164 * RowList.C (insert): fix case where it == begin().
4166 2003-03-26 Angus Leeming <leeming@lyx.org>
4168 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4169 the thesaurus dialog.
4171 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4175 * RowList.[Ch]: new files
4177 * ParagraphList.C (erase): handle the case where it == begin
4180 2003-03-25 John Levon <levon@movementarian.org>
4184 * aspell.C: add new aspell support
4187 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4190 2003-03-25 Angus Leeming <leeming@lyx.org>
4193 * LyXAction.C (init): new LFUN_INSET_INSERT.
4195 * BufferView_pimpl.C (dispatch): split out part of the
4196 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4198 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4201 2003-03-25 Angus Leeming <leeming@lyx.org>
4203 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4205 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4208 * text3.C: remove useless row->height(0)
4210 2003-03-25 John Levon <levon@movementarian.org>
4214 * text3.C: rename the refreshing stuff to better names
4216 2003-03-24 John Levon <levon@movementarian.org>
4218 * BufferView_pimpl.h:
4219 * BufferView_pimpl.C: update layout choice on a mouse
4222 2003-03-23 John Levon <levon@movementarian.org>
4224 * Makefile.am: fix commandtags.h reference
4226 2003-03-22 John Levon <levon@movementarian.org>
4228 * BufferView_pimpl.C:
4233 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4235 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4238 * text.C: take the rtl methods out of line
4240 2003-03-21 André Pönitz <poenitz@gmx.net>
4242 * metricsinfo.[Ch]: new files containing structures to be passed around
4243 during the two-phase-drawing...
4245 2003-03-21 André Pönitz <poenitz@gmx.net>
4247 * lyxtextclass.C: read 'environment' tag.
4249 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4251 * text2.C (removeRow): fix bug 964
4253 2003-03-20 John Levon <levon@movementarian.org>
4257 * text2.C: paint cleanups. Inset::update() dropped font
4260 2003-03-19 John Levon <levon@movementarian.org>
4262 * lyxfunc.C: only fitcursor/markDirty if available()
4264 2003-03-19 John Levon <levon@movementarian.org>
4266 * commandtags.h: rename to ...
4268 * lfuns.h: ... this, and renumber / cleanup
4270 2003-03-19 John Levon <levon@movementarian.org>
4272 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4273 fit the cursor after an lfun
4277 * BufferView_pimpl.h:
4278 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4280 * LyXAction.C: layout-character should have ReadOnly
4282 * ParagraphParameters.C:
4284 * bufferview_funcs.C:
4291 * undo_funcs.C: changes from above
4293 2003-03-18 John Levon <levon@movementarian.org>
4295 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4296 remove it from update()
4298 * lyxfunc.C: update layout choice after an lfun
4300 * text3.C: remove extra updateLayoutChoice()s
4302 2003-03-18 John Levon <levon@movementarian.org>
4304 * text.C: top_y change means full repaint, fix
4305 a drawing bug with cursor movement
4307 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4311 * text2.C: anchor row on setCursor
4313 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4315 * lyxtext.h: remove almost all mutable keywords
4318 * text3.C: remove const keywords accordingly
4320 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4324 (TeXEnvironment): ditto
4327 2003-03-17 John Levon <levon@movementarian.org>
4329 * text.C (rowBreakPoint): remove attempt to fix displayed
4330 math insets inside a manual label
4332 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * lyxtext.h: remove BufferView* as first arg from almost all class
4336 * other files: adjust.
4338 2003-03-17 John Levon <levon@movementarian.org>
4342 * text2.C: more paint cleanups
4344 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4347 * rowpainter.C: remove "smart" background painting code
4349 2003-03-16 John Levon <levon@movementarian.org>
4354 * text3.C: add helper functions for setting refresh_row/y
4356 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4358 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4359 newline inset which *can* get inserted in the pass_thru layouts.
4360 This is primarily for literate documents.
4362 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4364 * buffer.C: increment LYX_FORMAT to 223
4366 2003-03-14 André Pönitz <poenitz@gmx.net>
4368 * textclass.h: prepare for environment handling, ws changes
4369 * lyxlayout.C: read latexheader and latexfooter tags
4371 2003-03-14 John Levon <levon@movementarian.org>
4373 * text2.C: rewrite ::status() a bit
4375 2003-03-13 John Levon <levon@movementarian.org>
4377 * lyxtext.h: add some docs
4379 2003-03-13 John Levon <levon@movementarian.org>
4384 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4386 2003-03-13 John Levon <levon@movementarian.org>
4388 * text3.C: fix appendix redrawing
4390 2003-03-13 John Levon <levon@movementarian.org>
4392 * text.C (setHeightOfRow):
4394 * rowpainter.C: make appendix mark have the text
4395 "Appendix" so the user knows what it is
4398 * LColor.C: s/appendixline/appendix/ from above
4400 2003-03-13 John Levon <levon@movementarian.org>
4402 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4404 * text.C: fix a getChar(pos) bug properly
4406 2003-03-13 Angus Leeming <leeming@lyx.org>
4409 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4410 Probably only temporary. Let's see how things pan out.
4412 * BufferView.C (unlockInset):
4413 * BufferView_pimpl.C (fitCursor):
4414 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4416 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4417 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4419 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4420 new functions that convert ParagraphParameters to and from a string.
4422 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4423 BufferView::Pimpl's dispatch.
4424 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4426 2003-03-13 André Pönitz <poenitz@gmx.net>
4430 * factory.C: make it aware of InsetEnv
4432 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * text2.C (setCursor): never ask for one past last
4435 (setCursor): add some debugging messages.
4437 * text.C (singleWidth): never ask for one past last
4438 (singleWidth): ditto
4440 (rightMargin): ditto
4441 (rowBreakPoint): ditto
4442 (setHeightOfRow): ditto
4443 (prepareToPrint): ditto
4445 * rowpainter.C (paintBackground): never ask for one past last
4446 (paintText): never ask for one past last
4448 * paragraph_pimpl.C (getChar): make the assert stricter, never
4449 allow the one past last pos to be taken
4451 * paragraph.C (getChar): ws changes only
4453 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4454 (numberOfSeparators): ditto
4455 (numberOfHfills): ditto
4457 2003-03-12 John Levon <levon@movementarian.org>
4463 * paragraph_funcs.C: fix per-buffer authorlists
4465 2003-03-12 John Levon <levon@movementarian.org>
4467 * text.C: fix newline in right address
4469 2003-03-12 Angus Leeming <leeming@lyx.org>
4471 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4472 duplicate those in LyXFunc::dispatch.
4476 * ToolbarDefaults.C:
4477 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4478 Add LFUN_FONTFREE_UPDATE.
4480 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4481 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4483 * bufferview_func.[Ch]: several new functions to facilliate
4484 transfer of data to and from the character dialog.
4486 2003-03-12 John Levon <levon@movementarian.org>
4491 * paragraph_funcs.C:
4492 * paragraph_pimpl.C:
4496 * text3.C: remove META_NEWLINE in favour of an inset
4499 * rowpainter.C: remove paintNewline (done by inset)
4501 2003-03-12 John Levon <levon@movementarian.org>
4503 * paragraph_pimpl.C: complain about bad getChar()s
4504 for a while at least
4506 2003-03-12 John Levon <levon@movementarian.org>
4509 * buffer.C: move paragraph read into a separate function,
4510 a little renaming to reflect that.
4513 * bufferparams.C: remove the author_ids map, not necessary now
4516 * factory.C: moved Buffer::readInset to here
4518 * paragraph_funcs.h:
4519 * paragraph_funcs.C: readParagraph free function moved from
4522 * tabular.C: name change
4524 2003-03-12 John Levon <levon@movementarian.org>
4527 * ParagraphParameters.C: move par params input to
4530 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4531 behave like a normal read from the stream wrt reading
4532 a line vs. a \\token
4534 2003-03-12 John Levon <levon@movementarian.org>
4537 * ParagraphParameters.h:
4538 * ParagraphParameters.C: move output code to a
4541 2003-03-12 John Levon <levon@movementarian.org>
4543 * BufferView.C (insertLyXFile):
4546 * tabular.C: use a parlist iterator for creating the
4549 2003-03-12 John Levon <levon@movementarian.org>
4551 * buffer.C: make current_change static local not
4554 2003-03-12 John Levon <levon@movementarian.org>
4556 * buffer.C: fix insertStringAsLines for change tracking
4558 2003-03-12 John Levon <levon@movementarian.org>
4565 * bufferparams.C: move author list into params. Rename some
4566 functions. Move the header reading into a separate token
4567 loop. Move the header token reading into BufferParams.
4569 2003-03-12 John Levon <levon@movementarian.org>
4571 * changes.C: put debug inside lyxerr.debugging() checks
4573 2003-03-11 André Pönitz <poenitz@gmx.net>
4575 * factory.C: make it aware of InsetHFill
4577 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4579 * buffer.C (latexParagraphs): move function from here...
4580 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4583 2003-03-10 Angus Leeming <leeming@lyx.org>
4585 * LyXAction.C (init): fix bug in poplating array with multiple entries
4586 with the same LFUN (spotted by JMarc).
4588 2003-03-10 John Levon <levon@movementarian.org>
4591 * text2.C: move getColumnNearX() near its
4594 2003-03-10 John Levon <levon@movementarian.org>
4596 * text.C: fix break before a minipage
4598 2003-03-10 John Levon <levon@movementarian.org>
4600 * text.C: fix the last commit
4602 2003-03-09 John Levon <levon@movementarian.org>
4606 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4607 bug 365 (don't break before insets unless needed). Don't
4608 return a value > last under any circumstances.
4610 2003-03-09 Angus Leeming <leeming@lyx.org>
4612 * BufferView_pimpl.C (trackChanges, dispatch): call
4613 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4615 2003-03-09 Angus Leeming <leeming@lyx.org>
4617 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4618 than Dialogs::showAboutlyx().
4620 2003-03-09 Angus Leeming <leeming@lyx.org>
4622 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4623 than Dialogs::showTabularCreate().
4625 2003-03-09 John Levon <levon@movementarian.org>
4629 * text2.C: 3rd arg to nextBreakPoint was always the same.
4632 2003-03-08 John Levon <levon@movementarian.org>
4639 * text2.C: Remove the "main" bit from the "main body"
4642 2003-03-08 John Levon <levon@movementarian.org>
4644 * text.C (leftMargin): The left margin of an empty
4645 manual label paragraph should not include the label width
4648 * text.C (prepareToPrint): don't attempt to measure hfills
4649 for empty manual label paragraphs - the answer should be 0
4651 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * CutAndPaste.C: remove commented code and reindent.
4655 2003-03-08 John Levon <levon@movementarian.org>
4658 * lyxfunc.C: move reloadBuffer()
4661 * BufferView.C: to here
4663 * lyxvc.C: add comment
4666 * vc-backend.C: call bv->reload() to avoid
4667 getStatus() check on MENURELOAD
4669 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4671 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4672 to an old format .dep file.
4674 2003-03-07 Angus Leeming <leeming@lyx.org>
4676 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4677 when the LFUN_MOUSE_RELEASE should have been handled by
4678 inset->localDispatch.
4680 2003-03-07 Angus Leeming <leeming@lyx.org>
4682 * BufferView_pimpl.C (dispatch):
4683 * LyXAction.C (init):
4684 * ToolbarDefaults.C (init):
4686 * lyxfunc.C (getStatus):
4687 remove LFUN_INSET_GRAPHICS.
4689 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4691 2003-03-07 Angus Leeming <leeming@lyx.org>
4694 * LyXAction.C (init):
4695 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4697 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4700 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4702 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4703 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4705 2003-03-07 Angus Leeming <leeming@lyx.org>
4707 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4710 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * ParagraphList.C (front): new function
4715 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4717 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4718 and top_row_offset_. removed var first_y.
4720 * text2.C (LyXText, removeRow):
4722 * BufferView_pimpl.C:
4723 use these methods instead of using first_y
4725 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * text2.C (pasteSelection): adjust for checkPastePossible
4729 * CutAndPaste.C: remove Paragraph * buf and replace with
4730 ParagraphList paragraphs.
4731 (DeleteBuffer): delete
4732 (cutSelection): change the tc type to textclass_type
4733 (copySelection): change the tc type to textclass_type
4734 (copySelection): adjust for ParagraphList
4735 (pasteSelection): change the tc type to textclass_type
4736 (pasteSelection): adjust for Paragraphlist
4737 (nrOfParagraphs): simplify for ParagraphList
4738 (checkPastePossible): simplify for ParagraphList
4739 (checkPastePossible): remove unused arg
4741 * ParagraphList.C (insert): handle the case where there are no
4744 * CutAndPaste.h: make CutAndPaste a namespace.
4746 * text3.C (dispatch): adjust
4748 * text.C (breakParagraph): add a ParagraphList as arg
4750 * paragraph_funcs.C (breakParagraph): change to take a
4751 BufferParams and a ParagraphList as args.
4752 (breakParagraphConservative): ditto
4753 (mergeParagraph): ditto
4754 (TeXDeeper): add a ParagraphList arg
4755 (TeXEnvironment): ditto
4758 * buffer.C (readLyXformat2): adjust
4759 (insertStringAsLines): adjust
4760 (latexParagraphs): adjust
4762 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4763 (cutSelection): adjust
4764 (pasteSelection): adjust
4766 * BufferView_pimpl.C (insertInset): adjust
4768 2003-03-05 Angus Leeming <leeming@lyx.org>
4771 * LyXAction.C (init):
4772 * BufferView_pimpl.C (dispatch):
4773 * lyxfunc.C (getStatus):
4774 remove LFUN_CHILD_INSERT.
4776 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4778 2003-03-05 Angus Leeming <leeming@lyx.org>
4781 * LyXAction.C (init):
4782 * src/factory.C (createInset):
4783 * lyxfunc.C (getStatus):
4784 * text3.C (dispatch):
4785 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4787 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4789 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * ParagraphList.C (insert): handle insert right before end()
4792 (erase): fix cases where it can be first or last paragraph.
4794 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4797 Paragraph::next and Paragraph::previous
4800 * text.C (breakParagraph): adjust
4802 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4803 BufferParams& as arg.
4804 (breakParagraph): use ParagraphList::insert
4805 (breakParagraphConservative): take a Buffer* instead of a
4806 BufferParams& as arg.
4807 (breakParagraphConservative): use ParagraphList::insert.
4809 * buffer.C (insertStringAsLines): un-const it
4810 (insertStringAsLines): adjust
4812 * ParagraphList.C (insert): new function
4814 * CutAndPaste.C (pasteSelection): adjust
4816 * text.C (backspace): adjust
4818 * tabular.C (SetMultiColumn): adjust
4820 * CutAndPaste.C (cutSelection): adjust
4821 (pasteSelection): adjust
4823 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4824 Buffer const * as arg
4826 * ParagraphList.C (erase): new function
4827 * paragraph_funcs.C (mergeParagraph): use it
4828 (mergeParagraph): make it take a Buffer* instead of a
4829 BufferParams* as arg
4831 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4833 (breakParagraphConservative): ditto
4835 * paragraph.h: remove the breakParagraph friend
4837 * paragraph.C (eraseIntern): new function
4838 (setChange): new function
4840 * paragraph_funcs.C (mergeParagraph): make it take a
4841 ParagraphList::iterator instead of a Paragraph *, adjust
4844 * paragraph.h: move an #endif so that the change tracking stuff
4845 also works in the NO_NEXT case.
4847 2003-03-04 Angus Leeming <leeming@lyx.org>
4850 * LyXAction.C: new LFUN_INSET_MODIFY.
4852 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4853 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4855 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * several files: ws changes only
4859 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4860 (TeXEnvironment): ditto
4863 * buffer.C (makeLaTeXFile): adjust
4864 (latexParagraphs): make it take ParagraphList::iterator as args
4866 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * buffer.C (latexParagraphs): adjust
4870 * paragraph.C (TeXOnePar): move function...
4871 (optArgInset): move function...
4872 (TeXEnvironment): move function...
4873 * paragraph_pimpl.C (TeXDeeper): move function...
4874 * paragraph_funcs.C: ...here
4876 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4878 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * buffer.C (readInset): remove compability code for old Figure and
4883 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * buffer.C: ws changes
4888 * BufferView_pimpl.C: ditto
4891 * bufferlist.h: ditto
4895 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4897 * converter.[Ch]: split into itself +
4900 * Makefile.am: += graph.[Ch] + format.[Ch]
4907 * lyxrc.C: added #include "format.h"
4909 2003-02-27 Angus Leeming <leeming@lyx.org>
4911 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4914 * factory.C (createInset): add "label" to the factory.
4916 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4917 string and do no more.
4919 2003-02-27 Angus Leeming <leeming@lyx.org>
4922 * LyXAction.C (init):
4923 * factory.C (createInset):
4924 * BufferView_pimpl.C (dispatch):
4925 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4927 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4929 * lyxfunc.C (dispatch):
4930 * text3.C (dispatch): pass name to params2string.
4932 2003-02-26 Angus Leeming <leeming@lyx.org>
4934 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4936 Rearrange the ~includes. Strip out the unnecessary ones.
4938 * factory.C (createInset): reformat.
4939 create new insets for the various LFUN_XYZ_APPLY lfuns.
4941 2003-02-26 John Levon <levon@movementarian.org>
4944 * lyxrow.C: add isParStart,isParEnd helpers
4946 * paragraph.h: make isInserted/DeletedText take refs
4948 * paragraph_funcs.h:
4949 * paragraph_funcs.C: remove #if 0'd code
4954 * text.C: use lyxrow helpers above.
4955 Move draw and paint routines to RowPainter.
4956 Make several methods use refs not pointers.
4957 Make backgroundColor() const.
4958 Add markChangeInDraw(), isInInset().
4959 Merge changeRegionCase into changeCase.
4960 Make workWidth() shouldn't-happen code into an Assert.
4963 * rowpainter.C: new class for painting a row.
4966 * vspace.C: make inPixels take a ref
4968 2003-02-26 Angus Leeming <leeming@lyx.org>
4970 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4973 2003-02-25 John Levon <levon@movementarian.org>
4975 * ispell.C: give the forked command a more accurate name
4977 2003-02-22 John Levon <levon@movementarian.org>
4980 * toc.C: make TocItem store an id not a Paragraph *
4983 2003-02-21 Angus Leeming <leeming@lyx.org>
4985 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4986 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4987 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4988 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4989 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4990 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4992 * BufferView_pimpl.C (dispatch):
4993 * LyXAction.C (init):
4994 * factory.C (createInset):
4995 * lyxfunc.C (getStatus, dispatch):
4996 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4998 2003-02-21 Angus Leeming <leeming@lyx.org>
5000 * BufferView_pimpl.C (MenuInsertLyXFile):
5001 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5002 * lyxfunc.C (menuNew, open, doImport):
5003 no longer pass a LyXView & to fileDlg.
5005 2003-02-21 Angus Leeming <leeming@lyx.org>
5007 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5008 * LyXAction.C: change, BIBKEY to BIBITEM.
5009 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5010 Change InsetBibKey to InsetBibitem.
5011 Change BIBKEY_CODE to BIBITEM_CODE.
5012 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5013 * factory.C: replace insetbib.h with insetbibitem.h.
5014 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5015 * paragraph.C: replace insetbib.h with insetbibitem.h.
5016 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5017 Change bibkey() to bibitem().
5018 * text.C: remove insetbib.h.
5019 * text2.C: replace insetbib.h with insetbibitem.h.
5020 change bibkey() to bibitem().
5021 * text3.C: remove insetbib.h.
5022 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5024 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5026 * lyxrc.C (output): enclose user email in quotes (in case there are
5029 2003-02-18 John Levon <levon@movementarian.org>
5031 * buffer.h: add std::
5033 2003-02-17 John Levon <levon@movementarian.org>
5039 * pspell.C: reworking. Especially in ispell, a large
5040 number of clean ups and bug fixes.
5042 * lyxfunc.C: fix revert to behave sensibly
5044 2003-02-17 André Pönitz <poenitz@gmx.net>
5047 * commandtags.h: new LFUN_INSERT_BIBKEY
5057 * paragraph_func.C: remove special bibkey handling
5059 2003-02-17 John Levon <levon@movementarian.org>
5061 * text.C (Delete): fix case where delete at the end of
5062 the very first paragraph would not merge the pars
5064 2003-02-17 John Levon <levon@movementarian.org>
5066 * lyxrow.C: fix lastPrintablePos()
5068 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * bufferparams.C (writeLaTeX): add a std:here
5072 * buffer.C: and remove a using directive there
5074 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5076 * buffer.C (makeLaTeXFile): move the code that generates the
5079 * bufferparams.C (writeLaTeX): ... in this new method
5081 * LaTeXFeatures.C (getEncodingSet): make const
5082 (getLanguages): make const
5084 * MenuBackend.C (binding): returns the binding associated to this
5086 (add): sets the status of each item by calling getStatus. Adds
5088 (read): add support for OptSubMenu
5089 (expand): remove extra separator at the end of expanded menu
5091 2003-02-15 John Levon <levon@movementarian.org>
5094 * BufferView_pimpl.C:
5096 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5097 inset code that had no actual effect. Remove unneeded status
5100 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5102 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5105 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5107 * text.C (drawLengthMarker): also draw an arrow marker for
5108 symbolic lengths (medskip...)
5110 2003-02-14 John Levon <levon@movementarian.org>
5113 * tabular.C: better method names
5115 2003-02-14 John Levon <levon@movementarian.org>
5117 * BufferView_pimpl.C:
5122 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5123 it's a more accurate name. Remove some pointless uses.
5125 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5127 * text2.C (LyXText): change order of initilizers to shut off
5130 2003-02-14 John Levon <levon@movementarian.org>
5132 * buffer.C: use ParIterator for getParFromID()
5136 * paragraph_pimpl.h:
5137 * paragraph_pimpl.C: remove unused getParFromID()
5139 2003-02-14 John Levon <levon@movementarian.org>
5141 * buffer.C: remove some very old #if 0'd parse code
5143 2003-02-13 John Levon <levon@movementarian.org>
5147 * text2.C: move hfillExpansion(), numberOfSeparators(),
5148 rowLast(), rowLastPrintable(), numberofHfills(),
5149 numberOfLabelHfills() ...
5152 * lyxrow.C: ... to member functions here.
5157 * text.C: remove LyXText::beginningOfMainBody(), and call
5158 p->beginningOfMainBody() directly. Move the check for
5159 LABEL_MANUAL into the latter.
5166 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5172 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5173 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5175 2003-02-13 John Levon <levon@movementarian.org>
5177 * CutAndPaste.C: remove debug
5179 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5181 * paragraph.C (asString): remove two unused variables
5183 * lyxtextclass.C (readTitleType):
5185 (LyXTextClass): handle new members titletype_ and titlename_
5187 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5189 2003-02-09 John Levon <levon@movementarian.org>
5192 * buffer.C: replace hand-coded list with a map for the dep clean
5194 2003-02-08 John Levon <levon@movementarian.org>
5196 * LaTeX.C: consolidate code into showRunMessage() helper
5198 2003-02-08 John Levon <levon@movementarian.org>
5203 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5204 and pass the size in explicitly
5206 * BufferView_pimpl.h:
5207 * BufferView_pimpl.C:
5209 * BufferView.C: add getCurrentChange()
5211 * BufferView_pimpl.h:
5212 * BufferView_pimpl.C: handle change lfuns
5214 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5215 for changes. Mark pasted paragraphs as new.
5217 * support/lyxtime.h:
5218 * support/lyxtime.C:
5219 * DepTable.C: abstract time_t as lyx::time_type
5222 * LColor.C: add colours for new text, deleted text, changebars
5224 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5225 package use "usenames" option.
5229 * LyXAction.C: add change lfuns
5233 * author.C: author handling
5236 * buffer.C: add a per-buffer author list, with first entry as
5237 current author. Handle new .lyx tokens for change tracking. Output
5238 author list to .lyx file. Output dvipost stuff to .tex preamble.
5239 Bump lyx format to 222.
5242 * bufferlist.C: add setCurrentAuthor() to reset current author details
5246 * bufferparams.C: add param for tracking
5248 * bufferview_funcs.C: output change info in minibuffer
5252 * changes.C: add change-tracking structure
5255 * debug.C: add CHANGES debug flag
5258 * lyxfind.C: add code for finding the next change piece
5261 * lyxrc.C: add user_name and user_email
5264 * lyxrow.C: add a metric for the top of the text line
5267 * text.C: implement accept/rejectChange()
5270 * text.C: paint changebars. Paint new/deleted text in the chosen
5271 colours. Strike through deleted text.
5275 * paragraph_pimpl.h:
5276 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5277 in the current change to the insert functions. Rework erase to
5278 mark text as deleted, adding an eraseIntern() and a range-based
5279 erase(). Implement per-paragraph change lookup and
5282 * paragraph_funcs.C: Fixup paste for change tracking.
5284 * tabular.C: mark added row/columns as new.
5286 * text.C: fix rowLast() to never return -1. Don't allow
5287 spellchecking of deleted text. Track transpose changes. Don't
5288 allow paragraph break or merge where appropriate.
5290 * text2.C: leave cursor at end of selection after a cut.
5292 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5294 * text.C (getLengthMarkerHeight):
5295 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5296 visible on screen too.
5298 2003-02-07 John Levon <levon@movementarian.org>
5300 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5302 2003-02-05 Angus Leeming <leeming@lyx.org>
5304 * lyxserver.C (read_ready): revert my patch of 11 September last year
5305 as it sends PC cpu through the roof. Presumably this means that
5306 the lyxserver will no longer run on an Alpha...
5308 2003-01-30 Angus Leeming <leeming@lyx.org>
5310 * factory.C (createInset): create an InsetCommandParam of type "index"
5311 and use it to 'do the right thing'.
5313 * text2.C (getStringToIndex): ensure that cursor position is always
5314 reset to the reset_cursor position.
5316 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5318 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5321 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5325 * lyxfunc.C: Output messages with identical spelling, punctuation,
5328 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5330 * MenuBackend.C (expandFormats): List only viewable export formats
5333 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5336 * lyxfunc.C (getStatus): Make sure that formats other than
5337 "fax" can also be disabled
5339 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5341 * text3.C (dispatch): put the lfuns that insert insets in 3
5342 groups, and call doInsertInset with appropriate arguments.
5343 (doInsertInset): new function, that creates an inset and inserts
5344 it according to some boolean parameters.
5346 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * buffer.C (readFile): remember to pass on 'par' when calling
5349 readFile recursively.
5351 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5353 * MenuBackend.C (expandFormats): add "..." to import formats.
5355 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5357 * paragraph.C (asString): Remove XForms RTL hacks.
5359 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5360 * buffer.C: fix typo
5362 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * Makefile.am (LIBS): delete var
5365 (lyx_LDADD): add @LIBS@ here instead.
5367 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5369 * Clarify the meaning of "wheel mouse jump"
5371 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5373 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5376 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5378 * importer.C (Loaders): do not preallocate 3 elements in the
5379 vector, since one ends up with 6 elements otherwise
5381 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5383 * DepTable.C (write): write the file name as last element of the
5384 .dep file (because it may contain spaces)
5385 (read): read info in the right order
5387 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5389 * paragraph_pimpl.C (simpleTeXBlanks):
5390 (simpleTeXSpecialChars):
5391 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5393 * tabular.C (latex): add some missing case statements. Reindent.
5395 * MenuBackend.C (expandToc): remove unused variable.
5397 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5406 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5409 2003-01-05 John Levon <levon@movementarian.org>
5412 * BufferView.C: add getEncoding()
5415 * kbsequence.C: do not store last keypress
5418 * lyxfunc.C: store last keypress here instead. Pass encoding
5421 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5423 * lyx_main.C (init): remove annoying error message when following
5424 symbolic links (bug #780)
5426 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5428 * text.C (insertChar):
5429 * lyxrc.C (getDescription): remove extra spaces
5431 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5433 * lyxrc.C (getDescription): remove extra spaces
5435 2002-12-20 John Levon <levon@movementarian.org>
5437 * text3.C: hack fix for page up/down across tall rows
5439 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5441 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5444 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5446 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5447 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5448 thesaurus is not compiled in
5450 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5452 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5454 2002-12-16 Angus Leeming <leeming@lyx.org>
5457 * lyx_main.C (init): remove override_x_deadkeys stuff.
5459 2002-12-12 John Levon <levon@movementarian.org>
5461 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5462 insert. Only remove shift modifier under strict
5465 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * MenuBackend.C (expandToc): fix crash.
5469 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * MenuBackend.C (expandToc): gettext on float names.
5473 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5475 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5476 implement bool empty() [bug 490]
5478 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5482 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * several files: ws changes
5486 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * text2.C (setCounter): clean up a bit, use boost.format.
5489 (updateCounters): initialize par upon declaration.
5491 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5492 if the layout exists. We do not just store the layout any more.
5493 (SwitchLayoutsBetweenClasses): use boost.format
5495 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5497 * converter.C (convert): if from and to files are the same, use a
5498 temporary files as intermediary
5500 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5503 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5505 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5507 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5509 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5511 * tabular.C (asciiPrintCell): use string(size, char) instead of
5514 * sgml.C (openTag): fix order of arguments to string constructor
5517 * lyxfunc.C (dispatch): use boost.format
5519 * lots of files: change "c" -> 'c'
5521 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5523 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5525 2002-11-25 Angus Leeming <leeming@lyx.org>
5527 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5529 * lyx_main.C (init): compile fix.
5531 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5533 * lyx_cb.C (start): boost.formatify
5534 do not include <iostream>
5536 * lengthcommon.C: ws only
5538 * boost-inst.C,BoostFormat.h: add more explict instantations
5540 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * lots of files: handle USE_BOOST_FORMAT
5544 2002-11-21 John Levon <levon@movementarian.org>
5546 * pspell.C: fix compile
5548 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5550 * lyxfunc.C (dispatch): use boost::format
5554 * lyxfont.C (stateText): use boost::format
5556 * lyx_main.C (LyX): use boost::format
5558 (queryUserLyXDir): ditto
5561 (typedef boost::function): use the recommened syntax.
5563 * importer.C (Import): use boost::format
5565 * debug.C (showLevel): use boost::format
5567 * converter.C (view): use boost::format
5572 * bufferview_funcs.C (currentState): use boost::format
5574 * bufferlist.C (emergencyWrite): use boost::format
5576 * buffer.C (readLyXformat2): use boost::format
5577 (parseSingleLyXformat2Token): ditto
5579 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5581 * LaTeX.C (run): use boost::format
5583 * Chktex.C (scanLogFile): use boost::format
5585 * BufferView_pimpl.C (savePosition): use boost::format
5586 (restorePosition): ditto
5587 (MenuInsertLyXFile): ditto
5589 * BoostFormat.h: help file for explicit instation.
5591 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5593 * tabular.C (latex): Support for block alignment in fixed width
5596 2002-11-17 John Levon <levon@movementarian.org>
5598 * BufferView_pimpl.C:
5600 * lyxfunc.C: split filedialog into open/save
5602 2002-11-08 Juergen Vigna <jug@sad.it>
5604 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5605 by my last patch (hopefully).
5607 2002-11-08 John Levon <levon@movementarian.org>
5616 * toc.C: ParConstIterator, and use it (from Lars)
5618 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5620 * lyxtextclass.[Ch]: revise and add doxygen comments
5622 2002-11-07 John Levon <levon@movementarian.org>
5624 * text.C: fix progress value for spellchecker
5626 * toc.C: fix navigate menu for insetwrap inside minipage
5628 * paragraph_funcs.C: added FIXME for suspect code
5630 2002-11-07 John Levon <levon@movementarian.org>
5632 * BufferView_pimpl.C: fix redrawing of insets
5635 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5637 * text2.C (updateCounters): fix bug 668
5639 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5641 * text3.C (dispatch): Do not make the buffer dirty when moving the
5644 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * vc-backend.C: STRCONV
5649 * text2.C (setCounter): STRCONV
5651 * paragraph.C (asString): STRCONV
5653 * lyxlength.C (asString): STRCONV
5654 (asLatexString): ditto
5656 * lyxgluelength.C (asString): STRCONV
5657 (asLatexString): ditto
5659 * lyxfunc.C (dispatch): STRCONV
5662 * lyxfont.C (stateText): STRCONV
5664 * importer.C (Import): STRCONV
5666 * counters.C (labelItem): STRCONV
5667 (numberLabel): ditto
5668 (numberLabel): remove unused ostringstream o
5673 * bufferview_funcs.C (currentState): STRCONV
5675 * buffer.C (readFile): STRCONV
5676 (asciiParagraph): ditto
5677 (makeLaTeXFile): ditto
5679 * Spacing.C (writeEnvirBegin): STRCONV
5681 * LaTeXFeatures.C (getLanguages): STRCONV
5682 (getPackages): ditto
5684 (getBabelOptions): ditto
5685 (getTClassPreamble): ditto
5686 (getLyXSGMLEntities): ditto
5687 (getIncludedFiles): ditto
5691 (scanAuxFile): ditto
5694 * LString.h: add the STRCONV macros
5696 * BufferView_pimpl.C (savePosition): STRCONV
5697 (restorePosition): ditto
5698 (MenuInsertLyXFile): ditto
5700 * vc-backend.C (scanMaster): change from submatch[...] to
5703 * funcrequest.C: include config.h
5705 * factory.C: include config.h
5707 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5709 * box.C: include config.h
5711 * LaTeX.C (scanAuxFile): change from submatch[...] to
5715 2002-10-25 Angus Leeming <leeming@lyx.org>
5717 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5719 * ispell.[Ch] (setError): new method.
5720 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5721 Use setError() insetead of goto END.
5723 * lyx_cb.C (AutoSave): move out child process into new class
5726 2002-10-30 John Levon <levon@movementarian.org>
5728 * text3.C: make start appendix undoable
5730 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5732 * lyxlength.C (inPixels): Fix returned value.
5734 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5737 2002-10-24 Angus Leeming <leeming@lyx.org>
5739 * lyxgluelength.h: no need to forward declare BufferParams
5740 or BufferView, so don't.
5742 2002-10-21 John Levon <levon@movementarian.org>
5744 * BufferView.C: menuUndo ->undo, redo
5746 * BufferView.h: document, remove dead, make some methods private
5748 * paragraph_funcs.h:
5749 * paragraph_funcs.C:
5750 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5755 * sgml.C: move sgml open/close tag into sgml.C
5757 * bufferview_funcs.h: unused prototype
5760 * lyxfunc.C: remove unused
5763 * text.C: remove unused
5765 2002-10-21 John Levon <levon@movementarian.org>
5769 * BufferView_pimpl.h:
5770 * BufferView_pimpl.C: fix mouse wheel handling based on
5771 patch from Darren Freeman
5773 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5775 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5777 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5779 * lyxlength.C (inPixels): Fix hanfling of negative length.
5780 Fix LyXLength::MU case.
5782 2002-10-16 John Levon <levon@movementarian.org>
5784 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5786 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5788 * converter.C (view): add support for $$i (file name) and $$p
5789 (file path) for the viewer command. If $$i is not specified, then
5790 it is appended to the command (for compatibility with old syntax)
5792 2002-10-14 Juergen Vigna <jug@sad.it>
5794 * undo_funcs.C (textHandleUndo): alter the order in which the
5795 new undopar is added to the LyXText, as we have to set first
5796 the right prev/next and then add it as otherwise the rebuild of
5797 LyXText is not correct. Also reset the cursor to the right paragraph,
5798 with this IMO we could remove the hack in "redoParagraphs()".
5800 2002-10-09 Angus Leeming <leeming@lyx.org>
5802 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5803 to turn off an optimisation if a new inset is to be inserted.
5805 2002-10-11 André Pönitz <poenitz@gmx.net>
5807 * lyxtext.h: make some functions public to allow access
5808 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5810 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5812 * text3.C (dispatch): when changing layout, avoid an infinite loop
5815 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5817 * lyxrc.C (read): treat a viewer or converter command of "none" as
5820 * MenuBackend.C (expandFormats): for an update, also allow the
5821 formats that are not viewable
5823 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5824 script if it is newer than the lyxrc.defaults in user directory
5826 2002-10-07 André Pönitz <poenitz@gmx.net>
5828 * text.C: Vitaly Lipatov's small i18n fix
5830 2002-09-25 Angus Leeming <leeming@lyx.org>
5832 * ispell.h: doxygen fix.
5834 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5836 * buffer.h (readFile): Add a new argument to the method, to allow
5837 reading of old-format templates.
5839 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5841 * toc.C (getTocList): Get TOC from InsetWrap.
5843 2002-09-16 John Levon <levon@movementarian.org>
5845 * lyxfunc.C: check tabular for cut/copy too
5847 2002-09-12 John Levon <levon@movementarian.org>
5852 * factory.C: add header
5854 * paragraph_funcs.h:
5855 * paragraph_funcs.C: cleanup
5857 2002-09-11 John Levon <levon@movementarian.org>
5859 * PrinterParams.h: odd/even default to true
5861 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5863 * PrinterParams.h: update printer parameters for new xforms dialog
5865 2002-09-11 Angus Leeming <leeming@lyx.org>
5867 * lyxserver.C (read_ready): re-write to make it more transparent
5868 and to make it work in coherent fashion under Tru64 Unix.
5870 2002-09-11 André Pönitz <poenitz@gmx.net>
5874 * text3.C: implement LFUN_WORDSEL
5876 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5879 make floatlist_ a boost::shared_ptr<FloatList>
5881 * lyxtextclass.C: include FloatList.h
5882 (LyXTextClass): initialize floatlist_
5883 (TextClassTags): add TC_NOFLOAT
5884 (Read): match "nofloat" to TC_NOFLOAT and use it.
5885 (readFloat): modify call to floatlist_
5889 * FloatList.[Ch] (FloatList): remove commented out float
5891 (erase): new function
5893 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5895 * MenuBackend.C (expandToc): fix crash when there is no document
5898 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5900 * many files: Add insetwrap.
5902 2002-09-09 John Levon <levon@movementarian.org>
5904 * text2.C: remove confusing and awkward depth wraparound
5906 2002-09-09 John Levon <levon@movementarian.org>
5908 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5911 * buffer.C: remove getIncludeonlyList()
5914 * lyxfunc.C: remove headers
5916 2002-09-09 Juergen Vigna <jug@sad.it>
5918 * text.C (getColumnNearX): fix form Michael this is most
5919 probably a cut&paste bug.
5921 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5925 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5926 references, ws changes.
5928 * text2.C (init): update counters after init
5929 (insertParagraph): no need to set counter on idividual paragraphs.
5930 (setCounter): access the counters object in the textclass object
5931 on in the buffer object.
5932 (updateCounters): ditto
5934 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5935 shared_ptr<Counters> to avoid loading counters.h in all
5937 (LyXTextClass): initialize ctrs_
5938 (TextClassTags): add TC_COUNTER, and ...
5939 (Read): use it here.
5940 (CounterTags): new tags
5941 (readCounter): new function
5942 (counters): new funtion
5943 (defaultLayoutName): return a const reference
5945 * counters.C (Counters): remove contructor
5946 (newCounter): remove a couple of unneeded statements.
5947 (newCounter): simplify a bit.
5948 (numberLabel): some small formatting changes.
5950 * buffer.[Ch]: remove all traces of counters, move the Counters
5951 object to the LyXTextClass.
5953 2002-09-06 Alain Castera <castera@in2p3.fr>
5955 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5956 package to set the horizontal alignment on fixed width columns.
5959 * lyx_sty.h: added tabularnewline macro def.
5961 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5963 2002-09-06 John Levon <levon@movementarian.org>
5965 * LyXAction.C: tooltips for sub/superscript
5967 * MenuBackend.C: a bit more verbose
5969 * lyxfunc.C: tiny clean
5971 * undo_funcs.C: document undo_frozen
5973 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * counters.C (Counters): add missing algorithm counter.
5977 * text2.C (setCounter): lookup the counter with layouts latexname
5978 instead of by section number.
5979 (setCounter): use a hackish way to lookup the correct enum
5981 a float name->type change
5982 reset enum couners with counter name directly instead of depth value.
5984 * counters.C (Counters): remove the push_backs, change to use the
5985 float type not the float name.
5986 (labelItem): remove unused string, float name->type change
5988 * counters.h: don't include vector, loose the enums and sects vectors
5990 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5993 (Read): add float->TC_FLOAT to textclassTags
5994 (Read): and handle it in the switch
5995 (readFloat): new function
5997 * FloatList.C (FloatList): comment out the hardcoded float
6000 * lyxlayout.h: ws change.
6002 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6004 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6006 2002-09-03 Angus Leeming <leeming@lyx.org>
6008 * BufferView_pimpl.h: qualified name is not allowed in member
6009 declaration: WorkArea & Pimpl::workarea() const;
6011 * factory.C: added using std::endl directive.
6013 * text3.C: added using std::find and std::vector directives.
6015 2002-08-29 André Pönitz <poenitz@gmx.net>
6018 * text2.C: remove unused member number_of_rows
6021 * BufferView2.C: remove file, move contents to...
6022 * BufferView.C: ... here
6024 * BufferView_pimpl.C:
6025 * factory.C: move more inset creation to factory
6027 * vspace.C: avoid direct usage of LyXText, ws changes
6030 don't provide direct access to WorkArea, use two simple
6031 acessors haveSelction() and workHeight() instead
6034 2002-08-29 John Levon <levon@movementarian.org>
6036 * BufferView_pimpl.C (dispatch): do not continue when
6039 2002-08-28 André Pönitz <poenitz@gmx.net>
6041 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6044 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6046 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6048 * buffer.C: increment LYX_FORMAT to 221
6050 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6051 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6053 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6055 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6057 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6059 * factory.C (createInset): use LyXTextClass::floats
6061 * MenuBackend.C (expandFloatListInsert):
6062 (expandFloatInsert):
6065 * text2.C (setCounter):
6067 * LaTeXFeatures.C (useFloat):
6068 (getFloatDefinitions):
6070 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6072 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6073 floatlist_, with accessor floats().
6075 * FloatList.h: remove global FloatList
6077 2002-08-26 André Pönitz <poenitz@gmx.net>
6079 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6083 * BufferView_pimpl.C:
6084 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6086 2002-08-25 John Levon <levon@movementarian.org>
6088 * LyXAction.C: fix margin note description
6090 2002-08-24 John Levon <levon@movementarian.org>
6094 * bufferview_funcs.C:
6096 * undo_funcs.C: cleanups
6098 * lyxfunc.C: disable CUT/COPY when no selection
6100 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6102 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6103 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6105 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6106 Add backward compatibility to "mono", "gray" and "no".
6108 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6110 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6111 (and file_format >= 200).
6113 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6115 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6117 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6119 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6121 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6123 * BufferView_pimpl.C:
6130 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6131 inset and code to make it work with the paragraph code. The inset
6132 can be anywhere in the paragraph, but will only do the expected
6133 thing in LaTeX if the layout file contains the parameter line
6135 (or more generally, a nonzero value) for that layout.
6137 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * paragraph.h: remove the declaration of undefined counters class
6142 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6144 * text2.C (setCounter): fixed enumeration mis-count as reported by
6145 Dr. Richard Hawkins.
6147 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6149 * paragraph_funcs.h: remove some unneeded includes
6151 * text.C (backspace): pasteParagraph now in global scipe
6153 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6154 (pasteSelection): ditto
6156 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6157 * paragraph_funcs.C (pasteParagraph): ... here
6159 2002-08-20 André Pönitz <poenitz@gmx.net>
6161 * commandtags.h: new LFUNs for swapping/copying table row/colums
6164 * lyxfunc.C: support for new lfuns
6166 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * buffer.[Ch]: remove NO_COMPABILITY stuff
6171 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * boost.C (throw_exception): new file, with helper function for
6174 boost compiled without exceptions.
6179 * ParameterStruct.h:
6180 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6182 * bufferlist.C (emergencyWriteAll): use boost bind
6184 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6186 * text.C: include paragraph_funcs.h
6187 (breakParagraph): breakParagraph is now in global scope
6189 * paragraph_funcs.[Ch]: new files
6191 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6194 * buffer.C: include paragraph_funcs.h
6195 (insertStringAsLines): breakParagraph is now in global scope
6197 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6200 * CutAndPaste.C: include paragraph_funcs.h
6201 (cutSelection): breakParagraphConservative is now in global scope
6202 (pasteSelection): ditto
6204 * buffer.h: declare oprator== and operator!= for
6205 Buffer::inset_iterator
6207 * bufferlist.C (emergencyWrite): don't use fmt(...)
6209 * text3.C: add using std::endl
6211 * BufferView.C (moveCursorUpdate): remove default arg
6213 2002-08-20 André Pönitz <poenitz@gmx.net>
6215 * buffer.[Ch]: move inline functions to .C
6218 * BufferView_pimpl.C:
6220 * buffer.[Ch]: use improved inset_iterator
6223 * paragraph.[Ch]: write one paragraph at a time
6225 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6227 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6228 style if style is not specified.
6230 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6232 * text2.C (setCounter): when searching for right label for a
6233 caption, make sure to recurse to parent insets (so that a caption
6234 in a minipage in a figure float works) (bug #568)
6236 2002-08-20 André Pönitz <poenitz@gmx.net>
6238 * text3.C: new file for LyXText::dispatch() and helpers
6240 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6242 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6244 2002-08-19 André Pönitz <poenitz@gmx.net>
6247 * text.C: new LyXText::dispatch()
6249 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6251 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6253 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6255 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6258 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6260 * Makefile.am: use $(variables) instead of @substitutions@
6262 2002-08-15 André Pönitz <poenitz@gmx.net>
6265 * BufferView_pimpl.C: streamlining mathed <-> outer world
6269 * LyXAction.C: remove unused LFUN_MATH
6271 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6275 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * paragraph.C (Paragraph): reformat a bit
6278 (cutIntoMinibuffer): use builtin InsetList function instad of
6282 * buffer.C: include boost/bind.hpp, add using std::for_each
6283 (writeFileAscii): use ParagraphList iterators
6284 (validate): use for_each for validate traversal of paragraphs
6285 (getBibkeyList): use ParagraphList iterators
6286 (resizeInsets): use for_each to resizeInsetsLyXText for all
6288 (getParFromID): use ParagraphList iterators
6290 * BufferView2.C (lockInset): use paragraph list and iterators
6292 2002-08-14 John Levon <levon@movementarian.org>
6294 * lyxserver.C: remove spurious xforms include
6296 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6298 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6300 2002-08-13 André Pönitz <poenitz@gmx.net>
6303 * lyxfunc.C: further cleaning
6305 2002-08-13 André Pönitz <poenitz@gmx.net>
6307 * funcrequest.h: new constructor
6309 * funcrequest.C: move stuff here from .h
6312 * BufferView_pimpl.C:
6315 * lyxfunc.C: subsequent changes
6317 * lyxfunc.h: new view() member function
6319 * lyxfunc.C: subsequent changes
6321 2002-08-13 Angus Leeming <leeming@lyx.org>
6324 * BufferView_pimpl.C:
6332 changes due to the changed LyXView interface that now returns references
6333 to member variables not pointers.
6335 2002-08-13 Angus Leeming <leeming@lyx.org>
6337 * WordLangTuple (word, lang_code): return references to strings,
6342 * lyxtext.h: forward-declare WordLangTuple.
6347 * text.C: #include "WordLangTuple.h".
6350 * text.C: (selectNextWordToSpellcheck): constify return type.
6352 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6358 * paragraph_pimpl.h:
6361 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6363 Made updateCounter always count from start of buffer, and removed
6364 second argument (par).
6365 Reverted floats number display to '#'. Perhaps I'll try again when the
6366 code base is sanitized a bit.
6368 2002-08-12 Angus Leeming <leeming@lyx.org>
6370 * buffer.[Ch] (getLabelList): constify.
6372 2002-08-07 André Pönitz <poenitz@gmx.net>
6374 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6376 * funcrequest.h: extension to keep mouse (x,y) position
6378 2002-08-12 Juergen Vigna <jug@sad.it>
6380 * BufferView2.C (insertErrors): forbid undo when inserting error
6383 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6385 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * ParagraphList.[Ch]: new files
6389 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6391 * BufferView2.C (lockInset): ParagraphList changes
6394 * bufferlist.C: ditto
6398 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6401 unused class variable counter_,
6403 * paragraph.[Ch] (getFirstCounter): delete unused function
6405 * counters.C: include LAssert.h
6406 (reset): add a new function with no arg, change other version to
6407 not have def. arg and to not allow empty arg.
6409 * text2.C (setCounter): remove empty arg from call to Counters::reset
6411 2002-08-11 John Levon <levon@movementarian.org>
6413 * Makefile.am: add WordLangTuple.h
6415 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6418 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6420 * insets/insettext.C: InsetList changes
6422 * graphics/GraphicsSupport.C (operator()): InsetList changes
6424 * toc.C (getTocList): InsetList changes
6426 * paragraph_pimpl.[Ch]: InsetList changes
6428 * paragraph.[Ch]: InsetList changes
6430 * buffer.C (inset_iterator): InsetList changes
6431 (setParagraph): ditto
6432 * buffer.h (inset_iterator): ditto
6433 * iterators.C (operator++): ditto
6434 * iterators.h: ditto
6436 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6438 * InsetList.[Ch]: new files, most InsetList handling moved out of
6441 * BufferView2.C (removeAutoInsets): InsetList changes
6443 (ChangeInsets): ditto
6445 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * paragraph_pimpl.h (empty): new function
6449 * paragraph.[Ch] (empty): new function
6451 * other files: use the new Paragraph::empty function
6453 2002-08-09 John Levon <levon@movementarian.org>
6455 * lyxtext.h: remove unused refresh_height
6457 2002-08-09 John Levon <levon@movementarian.org>
6464 * paragraph.C: move sgml char escaping out of paragraph
6467 * paragraph.C: remove id setter
6471 * paragraph_pimpl.C: remove dead tex_code_break_column
6473 * bufferview_funcs.C: small cleanup
6475 * lyxfunc.C: remove dead proto
6477 * lyxtext.h: make some stuff private. Remove some dead stuff.
6479 * lyxgluelength.C: make as[LyX]String() readable
6481 2002-08-08 John Levon <levon@movementarian.org>
6486 * ToolbarDefaults.C:
6489 * toc.C: lyxaction cleanup
6491 2002-08-08 John Levon <levon@movementarian.org>
6493 * BufferView2.C: small cleanup
6496 * lyxfind.C: move unnecessary header into the .C
6498 2002-08-08 John Levon <levon@movementarian.org>
6500 * funcrequest.h: just tedious nonsense
6503 * lyx_main.C: cleanups
6506 * vspace.C: remove dead header lyx_main.h
6508 2002-08-07 Angus Leeming <leeming@lyx.org>
6511 * paragraph_pimpl.h:
6512 Forward declare class Counters in paragraph.h by moving the ctrs member
6513 variable into Paragraph::Pimpl.
6514 (counters): new method, returning a reference to pimpl_->ctrs.
6516 * text2.C: ensuing changes.
6518 2002-08-07 John Levon <levon@movementarian.org>
6520 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6522 * BufferView_pimpl.C: announce X selection on double/triple
6525 * lyx_main.C: use correct bool in batch dispatch
6527 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6529 2002-08-07 André Pönitz <poenitz@gmx.net>
6531 * funcrequest.h: new class to wrap a kb_action and its argument
6534 * BufferView_pimpl[Ch]:
6538 * lyxrc.C: subsequent changes
6541 2002-08-07 John Levon <levon@movementarian.org>
6543 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6544 document options change.
6546 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6551 * makefile.am: move counters functionality over from
6552 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6554 2002-08-06 John Levon <levon@movementarian.org>
6556 * WordLangTuple.h: new file for word + language code tuple
6567 * BufferView2.C: use WordLangTuple
6570 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6572 2002-08-06 John Levon <levon@movementarian.org>
6574 * lyx_main.C: fix cmdline batch handling
6576 2002-08-06 André Pönitz <poenitz@gmx.net>
6578 * lyxrc.C: set default for show_banner to true
6580 2002-08-06 John Levon <levon@movementarian.org>
6582 * pspell.C: fix a crash, and allow new aspell to work
6584 2002-08-06 John Levon <levon@movementarian.org>
6587 * kbmap.C: small cleanup
6590 * vspace.C: add const
6592 2002-08-05 John Levon <levon@movementarian.org>
6594 * LyXAction.C: back to tabular-insert
6596 2002-08-04 John Levon <levon@movementarian.org>
6599 * BufferView.C: cosmetic change
6601 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6611 * BufferView2.C: purge all "Lyx" not "LyX" strings
6614 * lyxcursor.C: attempt to add some documentation
6619 * ToolbarDefaults.C:
6620 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6621 merge with LFUN_TABULAR_INSERT
6628 * pspell.C: split up i/pspell implementations into separate
6629 files, many cleanups
6631 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6633 * text2.C: some cleanup
6635 * lyxfunc.C: don't check for isp_command == "none" any more, it
6636 didn't make any sense
6638 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6643 * makefile.am: move counters functionality over
6644 from text2.C/paragraph.[Ch] to counters.[Ch], and
6646 2002-08-02 John Levon <levon@movementarian.org>
6648 * buffer.C: s/lyxconvert/lyx2lyx/
6650 2002-08-02 Angus Leeming <leeming@lyx.org>
6652 * lyxlex.C: revert John's change as it breaks reading of the user
6655 2002-08-02 Angus Leeming <leeming@lyx.org>
6657 * importer.C (Import):
6658 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6659 changes due to LyXView::view() now returning a boost::shared_ptr.
6661 2002-08-02 John Levon <levon@movementarian.org>
6663 * lyxlex.C: small cleanup
6665 2002-08-02 John Levon <levon@movementarian.org>
6667 * text2.C (status): small cleanup, no logic change
6669 2002-08-01 John Levon <levon@movementarian.org>
6672 * buffer.C (writeFile): don't output alerts, caller
6676 * lyx_cb.C: from above
6678 * lyxfunc.C: allow to open non-existent files
6680 2002-07-31 John Levon <levon@movementarian.org>
6682 * lyxserver.C: don't let incidental errors get
6685 2002-07-30 John Levon <levon@movementarian.org>
6687 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6689 2002-07-30 John Levon <levon@movementarian.org>
6692 * lyxserver.C: remove I/O callback too
6694 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6696 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6699 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * many files: strip,frontStrip -> trim,ltrim,rtrim
6703 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6705 * PrinterParams.h: remove extern containsOnly, and include
6706 support/lstrings.h instead.
6708 * LaTeX.C (scanAuxFile): modify because of strip changes
6710 * buffer.C (makeLaTeXFile): ditto
6711 * bufferparams.C (writeFile): ditt
6712 * lyxfont.C (stateText): ditto
6713 * lyxserver.C (read_ready): ditto
6714 * vc-backend.C (scanMaster): ditto
6716 * BufferView_pimpl.h: ws changes
6718 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6720 2002-07-26 André Pönitz <poenitz@gmx.net>
6722 * kb_sequence.C: remove unnedred usings
6724 2002-07-26 Juergen Vigna <jug@sad.it>
6726 * lyxfind.C (LyXReplace): we have to check better if the returned
6727 text is not of theLockingInset()->getLockingInset().
6729 2002-07-25 Juergen Vigna <jug@sad.it>
6731 * lyxfind.C (LyXReplace): don't replace if we don't get the
6734 * undo_funcs.C (createUndo): remove debugging code.
6736 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6738 * buffer.C (parseSingleLyXformat2Token): Use default placement
6739 when reading old floats.
6741 * FloatList.C (FloatList): Change the default placement of figure
6742 and tables to "tbp".
6744 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6746 * MenuBackend.C: using std::max
6748 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * MenuBackend.C (expandToc):
6751 (expandToc2): code moved from xforms menu frontend. It is now
6752 generic and TOCs are transparent to menu frontends.
6754 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6756 * toc.C (getTocList): protect against buf=0
6758 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6759 Menu as first parameter. Now, this calls itself recursively to
6760 expand a whole tree (this will be useful for TOC handling)
6761 (expandFloatInsert): remove 'wide' version of floats
6763 * MenuBackend.h (submenuname): returns the name of the submenu.
6764 (submenu): returns the submenu itself, provided it has been
6765 created by MenuBackend::expand
6767 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6769 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6770 insets which have noFontChange == true. (bug #172)
6772 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6774 * BufferView_pimpl.C: add connection objects and use them...
6777 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6779 * MenuBackend.C (expandLastfiles):
6782 (expandFloatListInsert):
6783 (expandFloatInsert):
6784 (expand): split expand in parts
6786 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6788 * lyx_gui.C: use lyx_gui::exit()
6790 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6792 * LyXAction.C: show the failing pseudo action
6794 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6796 * buffer.C (readFile): Run the lyxconvert script in order to read
6799 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6803 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6805 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6809 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6811 2002-07-22 Herbert Voss <voss@lyx.org>
6814 * lyxlength.[Ch]: add support for the vertical lengths
6816 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6818 * toc.[Ch]: std:: fixes
6820 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6822 * lyxrc.C: do not include lyx_main.h
6824 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6830 * BufferView2.C: include "lyxlex.h"
6833 * bufferparams.h: do not #include "lyxlex.h"
6835 * lyxtextclasslist.C (Add): remove method
6836 (classlist): renamed to classlist_
6838 * paragraph_pimpl.C:
6842 * bufferview_funcs.C:
6847 * toc.C (getTocList): use BufferParams::getLyXTextClass
6849 * toc.C (getTocList): use InsetFloat::addToToc
6851 * toc.[Ch]: new files, containing helper functions to handle table
6854 * lyxfunc.C (dispatch): no need to remove spaces around command
6856 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6857 first command of the sequence; it is not very clever, but I do not
6858 have a better idea, actually
6860 * LyXAction.C (LookupFunc): make sure to remove space at the
6861 beginning and end of the command
6863 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6865 * MenuBackend.C (getMenubar): new method: return the menubar of
6867 (read): treat differently reading of menu and menubar (in
6868 particular, the menubar has no name now)
6869 (Menu::menubar): remove
6871 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6874 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6876 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6877 a bibitem inset in a RTL paragraph.
6879 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6881 * paragraph_pimpl.C: constify
6883 * BufferView_pimpl.C:
6885 * lyxfunc.C: fix dispatch in a nicer way
6887 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * lyxfunc.C (dispatch):
6890 * BufferView_pimpl.C:
6891 * BufferView_pimpl.h:
6893 * BufferView.h: rename Dispatch() to dispatch()
6895 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6897 * lyxlayout.C (Read): honor DependsOn tag
6899 * lyxlayout.[Ch] (depends_on): new method
6901 * version.C.in: update lyx_docversion
6903 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6905 * paragraph.C (validate): remove from here...
6906 * paragraph_pimpl.C (validate): ... and move here
6907 (isTextAt): make it const
6909 * buffer.C (getLists): ws cleanup
6911 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6913 * language.C (read): Use iso8859-1 encoding in latex_lang
6914 (this prevents LyX from crashing when using iso10646-1 encoding).
6916 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6918 * text2.C (toggleInset): if cursor is inside an inset, close the
6919 inset and leave cursor _after_ it
6921 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6923 * lyxfunc.C: move minibuffer completion handling out of here
6925 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6927 * BufferView_pimpl.C:
6928 * LaTeX.C: fix dispatch calls
6930 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6932 * text.C (drawChars): Fix Arabic text rendering.
6934 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6938 * lyxfunc.C: remove message-push/pop
6942 * lyxfunc.C: rationalise some code by removing verboseDispatch
6943 in favour of a bool argument to dispatch()
6945 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6947 * lyx_main.C (init): make sure to read symlinks as absolute paths
6949 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6952 * lyxfunc.C: no need for commandshortcut to be a member
6954 2002-07-15 André Pönitz <poenitz@gmx.net>
6956 * converter.C: add support for $$s (scripts from lib/scripts dir)
6957 * lyx_main.C: white space
6959 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6963 * lyxrc.C: remove second exit confirmation
6965 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6970 * BufferView_pimpl.h:
6971 * BufferView_pimpl.C:
6972 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6974 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6976 * MenuBackend.C (expand): add numeric shortcuts to document menu
6978 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6980 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6982 * lyxfont.C (setLyXFamily):
6989 * buffer.C (asciiParagraph): use ascii_lowercase
6991 2002-07-15 Mike Fabian <mfabian@suse.de>
6993 * lyxlex_pimpl.C (search_kw):
6994 * lyxlex.C (getLongString):
6995 * converter.h (operator<):
6996 * converter.C (operator<):
6997 * buffer.C (parseSingleLyXformat2Token):
6999 * ToolbarDefaults.C (read):
7000 * MenuBackend.C (checkShortcuts):
7002 * LColor.C (getFromGUIName):
7003 (getFromLyXName): use the compare_ascii_no_case instead of
7004 compare_no_case, because in turkish, 'i' is not the lowercase
7005 version of 'I', and thus turkish locale breaks parsing of tags.
7007 2002-07-16 Angus Leeming <leeming@lyx.org>
7009 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7010 now takes a Buffer const & argument.
7012 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7014 * BufferView.C (resize): check there's a buffer to resize
7016 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7018 * lyxfunc.C: remove dead code
7021 * lyxserver.C: use lyx_guii::set_read_callback
7023 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7025 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7026 an inset in a RTL paragraph.
7028 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7030 * lyxfunc.C: repaint after a font size update
7032 2002-07-15 André Pönitz <poenitz@gmx.net>
7034 * lyxlength.C: inBP should be able to return negative values
7036 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7038 * lyxfunc.C: use lyx_gui::update_fonts()
7040 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7042 * lyxfunc.C: use lyx_gui::update_color()
7044 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7050 * lyxrc.C: remove file->new asks for name option, and let
7051 buffer-new take an argument
7053 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7055 * BufferView_pimpl.C: remove unneeded extra repaint()
7057 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7059 * LyXAction.C: allow command-sequence with NoBuffer
7061 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7063 2002-07-10 Angus Leeming <leeming@lyx.org>
7065 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7067 2002-07-09 Angus Leeming <leeming@lyx.org>
7069 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7071 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7073 * lengthcommon.h: whitespace
7075 * lyxfunc.C: update scrollbar after goto paragraph
7077 * lyxtext.h: factor out page break drawing, and fix it so
7078 page break/added space paints as selected nicely
7080 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7082 * BufferView_pimpl.C: add FIXMEs, clean up a little
7084 2002-07-09 André Pönitz <poenitz@gmx.net>
7086 * lyxfont.[Ch]: support for wasy symbols
7088 2002-07-08 André Pönitz <poenitz@gmx.net>
7090 * BufferView_pimpl.C: apply John's patch for #93.
7092 2002-07-05 Angus Leeming <leeming@lyx.org>
7094 * BufferView_pimpl.C (buffer): generate previews if desired.
7096 * LColor.h: add "preview" to the color enum.
7098 * LColor.C (LColor): add a corresponding entry to the items array.
7100 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7103 2002-07-05 Angus Leeming <leeming@lyx.org>
7105 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7106 The body of the code is now in the method that is passed an ostream &
7107 rather than a file name.
7108 Pass an additional only_preamble parameter, useful for the forthcoming
7111 2002-07-03 André Pönitz <poenitz@gmx.net>
7113 * lyxfunc.C: simplify getStatus() a bit for math stuff
7115 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7117 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7119 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7121 * text.C (changeRegionCase): do not change case of all the
7122 document when region ends at paragraph end (bug #461)
7124 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7126 * paragraph.C (startTeXParParams):
7127 (endTeXParParams): add \protect when necessary
7129 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7131 * BufferView_pimpl.C (workAreaExpose): remove warning
7133 2002-06-27 Angus Leeming <leeming@lyx.org>
7135 * Makefile.am: add lyxlayout_ptr_fwd.h.
7137 2002-06-26 André Pönitz <poenitz@gmx.net>
7139 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7141 2002-06-25 Angus Leeming <leeming@lyx.org>
7143 * lyxfunc.C (dispatch): Comment out the call to
7144 grfx::GCache::changeDisplay. The method no longer exists now that the
7145 pixmap generation part of the graphics loader has been moved into
7148 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7150 * text2.C: layout as layout
7152 * text.C: layout as layout
7154 * tabular.C (OldFormatRead): layout as layout
7156 * paragraph_pimpl.C (TeXDeeper): layout as layout
7157 (realizeFont): layout as layout
7159 * paragraph.C (writeFile): layout as layout
7160 (validate): layout as layout
7161 (getFont): layout as layout
7162 (getLabelFont): layout as layout
7163 (getLayoutFont): layout as layout
7164 (breakParagraph): layout as layout
7165 (stripLeadingSpaces): layout as layout
7166 (getEndLabel): layout as layout
7167 (getMaxDepthAfter): layout as layout
7168 (applyLayout): layout as layout
7169 (TeXOnePar): layout as layout
7170 (simpleTeXOnePar): layout as layout
7171 (TeXEnvironment): layout as layout
7172 (layout): layout as layout
7173 (layout): layout as layout
7175 * lyxtextclass.C (compare_name): new functor to work with
7176 shared_ptr, layout as layout
7177 (Read): layout as layout
7178 (hasLayout): layout as layout
7179 (operator): layout as layout
7180 (delete_layout): layout as layout
7181 (defaultLayout): layout as layout
7183 * lyxlayout_ptr_fwd.h: new file
7185 * lyxlayout.C (Read): layout as layout
7187 * lyx_cb.C (MenuInsertLabel): layout as layout
7189 * bufferlist.C (newFile): layout as layout
7191 * buffer.C (readLyXformat2): layout as layout
7192 (parseSingleLyXformat2Token): layout as layout
7193 (insertStringAsLines): layout as layout
7194 (asciiParagraph): layout as layout
7195 (latexParagraphs): layout as layout
7196 (makeLinuxDocFile): layout as layout
7197 (simpleLinuxDocOnePar): layout as layout
7198 (makeDocBookFile): layout as layout
7199 (simpleDocBookOnePar): layout as layout
7200 (getLists): layout as layout
7202 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7204 * CutAndPaste.C (cutSelection): layout as layout
7205 (pasteSelection): layout as layout
7206 (SwitchLayoutsBetweenClasses): layout as layout
7208 * BufferView_pimpl.C (Dispatch): layout as layout
7209 (smartQuote): layout as layout
7211 * BufferView2.C (unlockInset): layout as layout
7213 2002-06-24 André Pönitz <poenitz@gmx.net>
7215 * lyxfunc.C: fix #487
7217 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7221 * lyxfunc.C: remove display_shortcuts, show_banner
7223 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7225 * Buffer_pimpl.C: oops, update on resize
7227 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7234 * BufferView.C: use repaint()
7236 * BufferView_pimpl.h:
7237 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7238 as it's a clearer description. Remove superfluous
7241 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7243 * text.C: fix bug 488. Not ideal, but getting
7244 getWord() to work properly for the insets that
7245 matter is more difficult ...
7247 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7249 * BufferView_pimpl.C:
7252 * lyxfunc.C: remove the six million index lyxfuncs to just
7253 one, and DTRT (bug 458)
7255 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7259 * BufferView_pimpl.h:
7260 * BufferView_pimpl.C: clean up resize() stuff,
7261 and unnecessary updateScreen()s
7263 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7267 * BufferView_pimpl.h:
7268 * BufferView_pimpl.C:
7271 * minibuffer.C: remove focus management of workarea,
7272 not needed. Use screen's greyOut()
7274 2002-06-17 Herbert Voss <voss@lyx.org>
7276 * converter.C: (convert) do not post a message, when converting
7277 fails, let the calling function decide what to do in this case
7279 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7281 * lyxfunc.C: tidy up a little
7283 2002-06-16 <alstrup@diku.dk>
7285 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7286 Got rid of FORMS_H_LOCATION include. Now we are
7289 2002-06-15 LyX Development team <lyx@rilke>
7291 * buffer.[Ch] (sgmlOpenTag):
7292 (sgmlCloseTag): Added support for avoiding pernicious mixed
7293 content. Return number of lines written.
7296 (makeDocBookFile): Fixed calls to sgml*Tag.
7297 Simple white space clean.
7299 (simpleDocBookOnePar): Simple white space clean.
7301 * tabular.[Ch] (docBook): Renamed to docbook and got another
7302 argument to related with the pernicious mixed content.
7304 (docbookRow): Fixed calls for docbook inset method.
7306 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7308 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7309 so it's X11 independent.
7313 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7315 2002-06-15 Lyx Development team <lyx@electronia>
7317 * intl.h: Renamed getTrans to getTransManager.
7319 2002-06-14 Angus Leeming <leeming@lyx.org>
7321 * Makefile.am: nuke forgotten stl_string_fwd.h.
7323 2002-06-12 Angus Leeming <leeming@lyx.org>
7325 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7327 2002-06-13 Angus Leeming <leeming@lyx.org>
7330 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7332 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7334 * kbmap.C (getiso): add support for cyrillic and greek
7336 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7340 * BufferView_pimpl.h:
7341 * BufferView_pimpl.C: move bogus scrolling logic
7344 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7347 * BufferView_pimpl.C: view->resize() change
7349 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7351 * BufferView_pimpl.C: topCursorVisible
7354 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7358 * lyx_gui.C: move to frontends/
7362 * lyx_main.C: changes from above
7364 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7371 * lyx_main.C: minor tidy
7373 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7375 * BufferView_pimpl.h:
7376 * BufferView_pimpl.C:
7378 * BufferView.C: make painter() const,
7381 * BufferView2.C: use screen() accessor
7384 * lyx_main.C: some minor cleanup
7386 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7388 * BufferView_pimpl.h:
7389 * BufferView_pimpl.C: remove enter/leaveView,
7392 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7397 * BufferView_pimpl.h:
7398 * BufferView_pimpl.C: only construct screen once,
7401 * lyxrc.C: remove pointless comment
7403 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7406 * BufferView.C: remove active() and belowMouse()
7408 * BufferView_pimpl.h:
7409 * BufferView_pimpl.C: use workarea() not workarea_,
7410 and make it use a scoped_ptr instead
7412 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7414 * lyx_gui.C: add debug message on BadWindow
7416 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7418 * sp_spell.C: fdopen is not part of the C++ standard.
7420 * paragraph.C (InsetIterator): use >= instead of ==
7422 2002-06-07 Angus Leeming <leeming@lyx.org>
7424 Fixes needed to compile with Compaq cxx 6.5.
7425 * BufferView_pimpl.C:
7432 * lyxtextclasslist.C:
7437 all c-library variables have been moved into namespace std. Wrap
7438 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7443 Add a using std::abs declaration.
7445 * kbmap.h (modifier_pair):
7446 * paragraph.h (InsetTable, InsetList):
7447 * lyxfont.h (FontBits):
7448 type definition made public.
7450 * bufferlist.C (emergencyWriteAll): the compiler complains that
7451 there is more than one possible lyx::class_fun template to choose from.
7452 I re-named the void specialisation as lyx::void_class_fun.
7454 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7456 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7457 the compiler is is unable to find tostr in write_attribute.
7459 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7461 * buffer.C (sgmlError): hide #warning
7463 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7465 * xtl/*: get rid of xtl, which is not in use anyway
7467 * LyXAction.C (init):
7468 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7469 were unimplemented xtl experimentation
7471 2002-06-04 André Pönitz <poenitz@gmx.net>
7473 * lyxfunc.C: disable array operation on simple formulae
7475 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7477 * converter.C: constify a bit
7479 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7481 * lyx_gui.C: check xforms version correctly
7483 2002-04-30 Herbert Voss <voss@lyx.org>
7485 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7488 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7490 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7491 attempt to register it with a VCS)
7493 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7495 * lyx_main.C (init): honor variables LYX_DIR_13x and
7498 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7502 * lyx_main.C: fix a crash on bad command line,
7503 and give a useful exit status on error
7505 * lyxfunc.C (doImport): allow -i lyx to work
7507 2002-03-30 André Pönitz <poenitz@gmx.net>
7509 * lyxfunc.C: mathed font changes
7511 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7526 * trans_mgr.h: srcdocs, and some minor cleanups
7528 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7530 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7531 call getFont all the time)
7533 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7535 * switch from SigC signals to boost::signals
7537 2002-05-29 André Pönitz <poenitz@gmx.net>
7539 * paragraph_pimpl.C (getChar): don't call size() too often...
7541 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7543 * paragraph_pimpl.C (insertChar): do not try to update tables when
7544 appending (pos == size())
7546 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7547 in order to reduce drastically the number of comparisons needed to
7548 parse a large document
7550 2002-05-29 André Pönitz <poenitz@gmx.net>
7556 * textclasslist.[Ch]:
7557 * sp_ispell.h: whitespace change
7559 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7561 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7562 lyxaction directly now.
7564 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7568 * lyxvc.C: remove unused headers
7570 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7577 * undo_funcs.C: some cleanups. Use shared_ptr
7578 and a template for the undo stacks.
7580 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7582 * BufferView_pimpl.h:
7583 * BufferView_pimpl.C:
7590 * text2.C: use key_state/mouse_state
7592 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7594 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7597 * chset.C: change include order
7598 (loadFile): use boost regex and get rid of LRegex and LSubstring
7600 * Makefile.am (BOOST_LIBS): new variable
7603 * LaTeX.C: change include order.
7604 (scanAuxFile): use boost regex and get rid of LRegex and
7608 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7613 * FontInfo.C: moved to frontends/xforms/
7616 * FontLoader.C: moved into frontends for GUIIzation
7621 * lyxfunc.C: changes from above
7623 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7625 * LColor.C: remove spurious X include
7627 * BufferView_pimpl.C:
7632 * text2.C: move font metrics to frontends/
7634 2002-05-24 Juergen Vigna <jug@sad.it>
7636 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7637 setting the undo_cursor.
7639 * ParagraphParameters.h: include local includes first.
7641 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7643 * BufferView_pimpl.C:
7644 * BufferView_pimpl.h:
7648 * screen.C: move WorkArea into frontends/
7654 * BufferView2.C: move LyXScreen into frontends/
7658 * lyx_gui.C: move lyxlookup into frontends/xforms/
7660 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7663 * BufferView_pimpl.C:
7673 * bufferview_funcs.C:
7686 * vc-backend.C: move LyX/XFormsView into frontends/
7688 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7700 * text2.C: move Painter to frontends/
7702 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7704 * buffer.C: comment out some some code that depend upon lyx_format
7707 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7708 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7710 * buffer.h (NO_COMPABILITY): turn off compability
7712 * ColorHandler.C: include scoped_array.hpp
7714 * font.C: Use more specific smart_ptr header.
7717 * ShareContainer.h: ditto
7721 * BufferView_pimpl.h: ditto
7722 * ColorHandler.h: ditto
7724 * kbmap.C (defkey): change call to shared_ptr::reset
7726 2002-05-21 Juergen Vigna <jug@sad.it>
7728 * buffer.C (insertErtContents): fix to insert ert asis if it is
7729 non empty. Skip it completely if it contains only whitespaces.
7731 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7733 * BufferView_pimpl.C:
7734 * BufferView2.C: clear selection on paste (bug 393)
7736 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * DepTable.C: include ctime
7740 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7742 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7744 2002-05-14 Juergen Vigna <jug@sad.it>
7746 * text.C (breakParagraph): fixed function to honor the keepempty
7747 layout in the right maner and also to permit the right breaking
7748 algorithm on empty or non empyt keepempty paragraphs.
7750 * paragraph.C (breakParagraph): we have to check also if the par
7751 is really empty (!size()) for isempty otherwise we do the wrong
7754 2002-05-10 Juergen Vigna <jug@sad.it>
7756 * buffer.[Ch] : The following are only changes to the ert
7757 compatibility read reading old LaTeX layout and font stuff and
7758 convert it to ERTInsets.
7760 * buffer.h: added isErtInset().
7762 * buffer.C (struct ErtComp): add a fromlayout bool to check
7763 if we're inside a LaTeX layout.
7764 (isErtInset): new helper function.
7765 (insertErtContents): look for other ert insets before this one
7766 and insert the contents there, so that we don't have subsequent
7767 ERT insets with nothing between them. This way we create only one
7768 inset with multiple paragraphs. Also check if we don't insert only
7769 spaces ' ' as they are ignored anyway afterwards in the .tex file
7770 so if we have only spaces we will ignore this latex part in the
7772 (parseSingleLyXformat2Token \\layout): better compatibility when
7773 reading layout-latex stuff.
7774 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7776 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7777 stuff after reading the inset only get the information back from
7780 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7782 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7784 * LaTeXFeatures.C (getBabelOptions): New method.
7786 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7788 * BufferView_pimpl.C (Dispatch): work around missing argument for
7791 2002-05-08 Juergen Vigna <jug@sad.it>
7793 * text.C (leftMargin): handle paragraph leftindent.
7795 * paragraph.C (writeFile): write the new \\leftindent tag.
7796 (validate): handle leftindent code.
7797 (TeXEnvironment): handle paragraphleftindent code again.
7799 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7801 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7802 for paragrap_extra indent code and new token \\leftindent.
7803 (latexParagraphs): handle the leftindent as environment.
7805 * ParameterStruct.h: added leftindent support.
7807 * ParagraphParameters.C (leftIndent): added support functions for
7808 the paragraph left indent.
7810 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7813 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7815 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7818 * text.C (computeBidiTables): No bidi in insetERT.
7820 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7823 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7825 * version.C.in: pre 5
7827 2002-05-02 José Matos <jamatos@fep.up.pt>
7828 * buffer.C (makeDocBookFile): white space changes, add newline to
7830 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7832 * tabular.C (docBook): fix typo.
7834 2002-05-03 Juergen Vigna <jug@sad.it>
7836 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7837 change in LyXText as we can not be sure it was not freed.
7838 (drawOneRow): remove unused code.
7840 * text.C (drawInset): redo the calculation of the need_break_row as
7841 it could have a row which was already freed.
7842 (draw): look at the return value of drawInset and return false if
7843 it also returned false.
7844 (paintRowText): look at the return value of draw and return false if
7845 it also returned false.
7847 * lyxtext.h: added bool return type to drawInset() and draw() so that
7848 if we have a change in the row so that the rowbreak has to be redone
7849 we abort drawing as it will be called again.
7851 2002-05-02 Juergen Vigna <jug@sad.it>
7853 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7854 a change in the maintext also if we're inside an inset.
7855 (Dispatch): set the cursor again after a break line and after the
7856 screen has been updated as it could be we're in a different row.
7858 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7859 to set the cursor behind the pargraph with > size().
7860 (setCursor): check also for the same paragraph when checking where
7861 to put the cursor if we have a NFR inset.
7863 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7864 parts of layout read further up as it still was in the wrong
7867 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7869 * screen.C (drawFromTo): change sine fullRebreak always return
7872 * buffer.C (parseSingleLyXformat2Token): reindent some
7874 * BufferView_pimpl.C (update): change since fullRebreak always
7876 (Dispatch): git rid of the last hardcoded "Standard"s.
7878 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7880 * text2.[Ch] (fullRebreak): make it return void now that we always
7883 2002-04-30 Juergen Vigna <jug@sad.it>
7885 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7886 ert compatibility check for "latex" layout.
7888 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7890 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7891 minipages: use col% instead of p%, and also use the current font.
7892 (makeLaTeXFile): Fix use babel condition.
7893 (parseSingleLyXformat2Token): Correct font when reading old floats.
7895 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7897 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7898 inserting list of floats.
7900 2002-04-25 Herbert Voss <voss@lyx.org>
7902 * MenuBackend.C (expand): don't add the graphics extensions to the
7905 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7907 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7908 non-existing layout, do not complain if it was the default layout
7909 of the original class (bug #342)
7911 2002-04-24 Juergen Vigna <jug@sad.it>
7913 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7914 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7916 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7918 * buffer.C (getBibkeyList): If using \bibliography, return the
7919 option field with the reference itself. Enables us to provide natbib
7920 support when using \bibliography.
7922 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7924 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7926 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7927 natbib is provided by the LaTeX class.
7929 2002-04-23 Juergen Vigna <jug@sad.it>
7931 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7934 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7936 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7938 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7940 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7941 ensuremath around textordmasculine, textordfeminine and
7944 2002-04-19 Juergen Vigna <jug@sad.it>
7946 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7947 reinitializing the buffer otherwise row-dimensions may be wrong.
7948 (update): reset also the selection cursors if they do exits otherwise
7949 their x/y positions may be wrong.
7951 * text2.C (cursorDown): don't enter the inset if we came from a row
7952 above and are one row over the inset.
7954 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7955 really leaving an inset.
7957 2002-04-18 Juergen Vigna <jug@sad.it>
7959 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7960 of the selected paragraph does not have the selected layout also if
7963 * text2.C (setLayout): fixed bug which did not change last selected
7966 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7967 changed the read and substituted \\end_float with \\end_inset!
7969 * BufferView_pimpl.C (cursorPrevious):
7970 (cursorNext): fixed to make it work with rows heigher than the work
7971 area without moving the cursor only the draw of the row.
7972 (workAreaMotionNotify): fix jumping over high rows.
7974 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7976 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7979 2002-04-16 Juergen Vigna <jug@sad.it>
7981 * text2.C (setCursor): set also the irow().
7982 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7984 (cursorDown): support for locking an inset if the x_fix value goes
7985 inside it. That way I can transverse insets too with cursor up/down.
7987 * lyxrow.h: added irow helper function same as other (i) functions.
7989 * BufferView_pimpl.C (cursorPrevious):
7990 (cursorNext): fixed for insets!
7992 2002-04-15 Juergen Vigna <jug@sad.it>
7994 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7995 position otherwise it is wrong in some cases.
7997 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7998 inside the inset before the call.
8000 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8002 * buffer.[Ch] (getBibkeyList): make it const.
8004 2002-04-12 Juergen Vigna <jug@sad.it>
8006 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8008 * text2.C (getCursorX): new helper function
8009 (setCursor): compute also ix_
8010 (setCursorFromCoordinates): set also ix.
8012 * lyxcursor.h: added ix_ and helper functions.
8014 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8016 * buffer.C (insertStringAsLines): dont break paragraph if the this
8017 paragraph is inside an inset which does not permit it!
8019 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8020 also with no chars on this paragraph.
8021 (paintRowText): only paint stuff if it's inside the workarea!
8023 * paragraph.C (breakParagraph): honor keepempty flag and break the
8024 paragraph always below not above.
8026 * BufferView2.C (unlockInset): update the paragraph layout on inset
8027 unlock as we changed paragraph in such a case.
8029 * lyxfind.C (LyXFind): clear the former selection if not found!
8031 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8032 again called in insertChar().
8034 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8035 an inset which uses the whole row!
8036 (rightMargin): ditto.
8037 (insertChar): force a rebreak if we inserted an inset!
8039 2002-03-28 Herbert Voss <voss@lyx.org>
8041 * lyxlength.[Ch]: add inBP() to get the right PS-point
8042 units (BigPoint). With inPixels we have rounding errors
8044 2002-04-11 Juergen Vigna <jug@sad.it>
8046 * text2.C (setCursorFromCoordinates): set iy to the right value.
8047 (setCursor): add check if row->previous exists!
8049 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8050 an old float_type as this was the case in the old code!
8052 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8054 * BufferView2.C (showLockedInsetCursor): use iy
8055 (fitLockedInsetCursor): ditto
8057 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8058 locked insets as there we have the right value now.
8060 * lyxcursor.C: added iy_ variable and iy functions to set to the
8061 baseline of cursor-y of the locked inset.
8063 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8064 (setCursor): fixed for insets which need a full row.
8066 * text.C (rowLastPrintable): don't ignore the last space when before
8067 an inset which needs a full row.
8068 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8069 as last character of a row when before a inset which needs a full row.
8071 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8073 * version.C.in: update date
8075 * text2.C (fullRebreak): try to always return true and see what
8078 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8080 * MenuBackend.C (expand): use Floating::listName
8082 * FloatList.C (FloatList): add listName argument to the built-in
8085 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8086 text associated with the float.
8088 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8090 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8092 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8094 * ShareContainer.h: add a couple of missing typenames.
8096 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8098 * lyxrc.C (getDescription): use _() correctly rather than N_().
8100 2002-03-28 Herbert Voss <voss@lyx.org>
8102 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8103 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8105 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8107 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8108 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8110 2002-03-29 Juergen Vigna <jug@sad.it>
8112 * lyxfunc.C (dispatch): add a missing fitCursor call.
8114 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8115 it was scrolled by a cursor move, so return the bool status.
8117 * BufferView.C (fitCursor): return the bool flag also to the outside
8118 world as this is needed.
8120 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8122 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8123 call the edit() as it is not needed (and wrong) IMO.
8124 (workAreaButtonPress): set the screen_first variable before evt.
8125 unlock the inset as this may change screen_first and then we have
8126 a wrong y position for the click!
8128 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8130 * MenuBackend.C (expand): another translation that I missed
8132 2002-03-28 Juergen Vigna <jug@sad.it>
8134 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8136 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8138 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8140 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8142 * MenuBackend.C (expand): fix export/view/update when there is no
8145 2002-03-27 Herbert Voss <voss@lyx.org>
8147 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8150 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8152 * bufferview_funcs.C (currentState): only show paragraph number
8153 for is DEVEL_VERSION is set.
8155 * lyxfunc.C (dispatch): put warning in INFO channel
8157 * MenuBackend.C (expand): translate the name of floats
8159 * FloatList.C (FloatList): mark the float names for translation
8161 * converter.C (convert): use LibScriptSearch
8163 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8165 * MenuBackend.C (defaults): fix default menu (we might as well get
8168 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8170 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8173 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8175 * lyxvc.C: reorder includes.
8177 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8179 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8182 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8184 * CutAndPaste.C: change layouts earlier on paste
8185 to avoid crashing when calling getFont()
8187 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8189 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8192 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8194 * WorkArea.C: remove 'Pending' debug message.
8196 * most files: ws cleanup
8198 * buffer.[Ch]: ws changes
8200 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8202 2002-03-21 Juergen Vigna <jug@sad.it>
8204 * tabular.C (SetMultiColumn): collapse also the contents of the
8205 cells and set the last border right. Added a Buffer const * param.
8207 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8209 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8212 2002-03-19 Juergen Vigna <jug@sad.it>
8214 * text2.C (clearSelection): reset also xsel_cache.
8216 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8217 where it needs to be called (John tells us to do so too :)
8218 (selectionLost): reset sel_cache.
8220 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8222 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8224 * text2.C (setCursorIntern): put debuging code in INSETS channel
8226 2002-03-19 André Pönitz <poenitz@gmx.net>
8228 * lyxfunc.C: tiny whitespace change
8230 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8232 * ToolbarDefaults.C (init):
8233 * LyXAction.C (init):
8235 * BufferView_pimpl.C (Dispatch):
8236 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8238 2002-03-19 Allan Rae <rae@lyx.org>
8240 * exporter.C (Export): removeAutoInsets before doing anything else.
8241 While I've just introduced a dependency on BufferView this really is
8242 the best place to clean the buffer otherwise you need to cleanup in
8243 a dozen places before calling export or cleanup in a dozen functions
8246 * converter.C (runLaTeX):
8247 (scanLog): Better handling of removeAutoInsets and screen updates.
8249 * lyxfunc.C (dispatch): small whitespace changes
8251 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8253 * WorkArea.C (C_WorkAreaEvent): return a value.
8254 (event_cb): return 1 if we handled the event, 0 otherwise.
8256 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8258 2002-03-18 Juergen Vigna <jug@sad.it>
8260 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8261 (GetAdditionalWidth): ditto.
8265 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8266 inset if we're there actually (probably not used right now but this
8267 is the direction to go for unifying code).
8268 (paste): disable code to clear the selection.
8270 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8271 inside an InsetText and move the check further up as it is in the
8274 * text2.C (pasteSelection): set a selection over the pasted text.
8276 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8278 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8279 and libgraphics to build on Cygwin.
8281 2002-03-15 Juergen Vigna <jug@sad.it>
8283 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8284 inserting an Inset into the paragraph. I know this is not the best
8285 fix but we already use current_view in CutAndPaste so we will remove
8286 all of it's using at the same time.
8288 * buffer.C (sgmlError): deactivated function till it is rewritten in
8289 the right mode, now it can create problems.
8291 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8292 before accessing it.
8294 2002-03-14 Juergen Vigna <jug@sad.it>
8296 * undo_funcs.C (textHandleUndo): do the right thing when updating
8297 the inset after the undo/redo.
8299 * text2.C (setCursor): just some testcode for #44 not ready yet.
8301 * undo_funcs.C (textHandleUndo): set the next() and previous()
8302 pointers of the paragraph to 0 before deleting otherwise we have
8303 problems with the Paragraph::[destructor].
8305 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8306 on a paragraph insertion.
8308 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8310 * buffer.C (asciiParagraph): use += operator for char append to
8313 * paragraph.C (getFontSettings): compare >= not just >
8314 (highestFontInRange): ditto
8317 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8319 * paragraph.C: change several algorithm to be more appripriate for
8320 the problem domain. This is lookip in FontList and in the InsetList.
8322 2002-03-13 André Pönitz <poenitz@gmx.net>
8325 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8327 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8332 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8334 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * Painter.C (display): anon helper function, adjust code for this
8338 (pixmap): remove function.
8340 * Painter.h: remove private display variable.
8342 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8344 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8346 * WorkArea.[Ch]: remove figinset_canvas cruft.
8348 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8350 * lyxtextclass.C (operator): add one item cache optimization.
8352 * bufferlist.h: doxy changes
8354 * bufferlist.C: ws changes
8356 * DepTable.[Ch] (ext_exist): place const in the right spot.
8358 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8360 (workAreaExpose): call resizeInsets when the with BufferView changes.
8361 (Dispatch): adjust for protectedBlank removal
8362 (specialChar): call updateInset if the insert went ok.
8364 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8365 specialChar instead.
8367 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8369 * BufferView.h: doxy change
8371 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8373 * lyxtextclass.C (operator[]): remove non-const version
8374 (defaultLayout): remove non-const version
8376 2002-03-12 Juergen Vigna <jug@sad.it>
8378 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8379 did resize the LyXText too.
8381 * buffer.C (readLyXformat2): set layout information on newly allocated
8384 * tabular.C (OldFormatRead): set layout information on the paragraph.
8386 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8388 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8390 2002-03-11 Juergen Vigna <jug@sad.it>
8392 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8394 (resizeCurrentBuffer): force also the insets to resize themselfes.
8395 (moveCursorUpdate): fixed up for InsetText.
8397 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8400 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8401 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8402 value of Dialogs::tooltipsEnabled().
8403 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8405 2002-03-08 Juergen Vigna <jug@sad.it>
8407 * BufferView_pimpl.C (updateInset): update inset inside inset also
8408 if it isn't inside theLockingInset().
8410 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8412 * buffer.C (asciiParagraph): redo some of the word and line length
8414 (getLists): look for Caption instead of caption.
8416 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8418 * buffer.C (Buffer): initialize niceFile to true
8421 (makeDocBookFile): make sure niceFile is true on exit
8423 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8427 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8429 * LyXSendto.C: remove.
8430 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8431 * lyx_gui.C: remove now-redundant comment.
8432 * ColorHandler.h: remove forward declaration of class WorkArea.
8433 * lyxfunc.C: remove #include "WorkArea.h".
8435 2002-03-07 Juergen Vigna <jug@sad.it>
8437 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8438 got moved away with the DEPM and also set the inset_owner always
8439 right which before could have been omitted.
8441 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8443 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8444 wanted layout is not found.
8446 2002-03-07 Juergen Vigna <jug@sad.it>
8448 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8450 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8452 * paragraph.C (breakParagraph): use default layout not layout of
8454 (Paragraph): clear ParagraphParameters.
8456 2002-03-06 Juergen Vigna <jug@sad.it>
8458 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8459 otherwise it would not be a valid lenght. Fixed a special case in
8460 the minipage compatibility read where we end the document with a
8463 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8464 was set as it could be 0 for InsetTexts first entry.
8466 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8468 * paragraph.C (writeFile): if layout is empty write out
8469 defaultLayoutName().
8471 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8472 file without named layout we set layout to defaultLayoutName().
8474 2002-03-06 Juergen Vigna <jug@sad.it>
8476 * CutAndPaste.C (copySelection): set layout for new paragraph.
8478 * text.C (prepareToPrint): leave ERT inset left aligned
8479 (leftMargin): don't indent paragraphs inside ERT insets
8481 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8483 * paragraph.C (breakParagraph): dont call clear do the work manually
8485 * paragraph.[Ch] (clear): remove function
8487 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8489 * paragraph.C (Paragraph): dont call clear, the work has already
8492 * lyxtextclass.C (operator): assert if n is empty
8494 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8495 work manually instead.
8497 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8499 * BufferView_pimpl.C: protect selectionLost against text == 0
8501 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8503 * text.C (breakParagraph): fix a setting layout to '0' problem.
8505 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8507 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8508 final location of file, for the included files, and graphics.
8510 2002-03-05 Juergen Vigna <jug@sad.it>
8512 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8514 2002-03-04 Juergen Vigna <jug@sad.it>
8516 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8518 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8519 last column of multicolumn cells.
8520 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8522 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8524 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8525 file if it doesn't go to a temporary file.
8527 * buffer.C (sgmlOpenTag):
8528 (sgmlCloseTag): remove extra newline insertion.
8530 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8532 * text.C (getRowNearY): comment out debug msg
8534 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8536 * text2.C: first -> first_y
8538 * text.C (getRowNearY): add some attemts at a possible
8539 optimization, not working.
8541 * tabular.[Ch]: add BufferParams to several function so that newly
8542 created paragraph can be initialized to he default layotu for the
8545 * tabular-old.C (ReadOld): add buf->params to call of Init
8547 * screen.C: rename text->first to text->first_y
8549 * paragraph.C (breakParagraph): always set layout in the broken
8552 * lyxtextclass.C (Read): remove lowercase
8555 (delete_layout): ditto
8557 * lyxtext.h: rename first -> first_y
8559 * lyxlayout.C (Read): remove lowercase
8562 (obsoleted_by): ditto
8564 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8566 * buffer.C (insertErtContents): add params are to InsetERT
8567 (parseSingleLyXformat2Token): add code to check if a paragraphs
8568 layout really exist.
8569 (parseSingleLyXformat2Token): add params to several inset
8571 (asciiParagraph): remove lowercase, do the layout comparisons with
8574 * BufferView_pimpl.C (cursorNext): first -> first_y
8575 (resizeCurrentBuffer): first -> first_y
8576 (updateScrollbar): first -> first_y
8577 (scrollCB): first -> first_y
8578 (workAreaMotionNotify): first -> first_y
8579 (workAreaButtonPress): first -> first_y
8580 (checkInsetHit): first -> first_y
8581 (cursorPrevious): first -> first_y
8582 (cursorNext): first -> first_y
8583 (Dispatch): add buffer_->params to severl inset contructors
8585 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8587 * lyxlayout.C (Read): remove some debug info that I forgot.
8589 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8590 clean up the code slightly.
8591 (makeLinuxDocFile): ditto
8592 (makeDocBookFile): ditto
8594 * text2.C: layout as string
8596 * text.C: layout as string
8598 * paragraph_pimpl.C: layout as string
8600 * paragraph.[Ch]: layout as string
8602 * lyxtextclasslist.[Ch]: layout as string
8604 * lyxtextclass.[Ch]: layout as string
8606 * lyxtext.h: layout as string
8608 * lyxlayout.[Ch]: layout as string
8610 * lyx_cb.C: layout as string
8612 * bufferview_funcs.C: layout as string
8614 * bufferparams.C: layout as string
8616 * buffer.C: layout as string
8618 * LyXView.[Ch]: layout as string
8620 * LaTeXFeatures.[Ch]: layout as string
8622 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8624 * BufferView_pimpl.C: change current_layout to string, remove
8629 (workAreaButtonRelease): layout as string
8631 * BufferView2.C (unlockInset): adjust
8633 * vspace.C (asLatexCommand): use an explict temp variable.
8635 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8637 * Makefile.am: use FRONTEND_*
8639 2002-03-01 Juergen Vigna <jug@sad.it>
8641 * tabular.C (SetWidthOfMulticolCell): changed to something better
8642 I hope but still work in progress.
8643 (recalculateMulticolumnsOfColumn): renamed function from
8644 recalculateMulticolCells as it is more appropriate now.
8645 (SetWidthOfCell): calculate multicols better.
8647 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8651 * lyxfunc.C (processKeySym): print sequence also if it is
8652 `deleted' (complete)
8654 * kbsequence.C (print): print sequence even if it is deleted
8655 (complete would be a better word, actually).
8657 * lyxfunc.C (dispatch): print complete options after a prefix key
8659 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8661 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8663 * text2.C (setCharFont): eliminate setCharFont code duplication.
8665 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8667 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8668 LFUN_TABULAR_FEATURE (bug #177)
8670 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8672 * Makefile.am: remove figure.h
8674 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8676 * Bufferview_pimpl.C:
8688 * text2.C: remove #include "lyx_gui_misc.h".
8690 * LaTeX.C: added #include <cstdio>
8692 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8694 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8695 that the paragraph following this one can have.
8697 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8699 * vspace.C (asLatexCommand): fix bogus gcc warning
8701 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8703 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8705 * text2.C (setLayout): get rid of redundant code
8707 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8709 * text2.C (incDepth): make sure depth cannot be increased beyond
8712 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8714 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8715 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8717 * PainterBase.h (image):
8718 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8721 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8725 * BufferView_pimpl.C:
8726 * BufferView_pimpl.h:
8746 * sp_spell.C: remove fig inset, and the crap house of
8747 cards that follows it
8749 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8755 * nt_defines.h: move .h into support/
8757 * vms_defines.h: remove
8759 * WorkArea.C: add space in debug output
8763 * buffer.C: add WITH_WARNINGS
8767 * bufferlist.C: s/retrive/retrieve/, add docs
8778 * lyxgui.C: add ID to X error handler
8780 * lyxtestclass.c: fix typo
8782 2002-02-26 Juergen Vigna <jug@sad.it>
8784 * tabular_funcs.C (write_attribute): changed so that some default
8785 attributes are not written at all.
8786 (getTokenValue): set default values before trying to read the
8787 value so we have the return value always set as default if we don't
8788 find the token we search for.
8790 * tabular.C (Write): write bools as bools not as strings!
8792 2002-02-22 Juergen Vigna <jug@sad.it>
8794 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8795 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8797 * text.C (leftMargin): don't add an indent for paragraphs inside
8798 tabular cells (fix #208).
8800 2002-02-21 José Matos <jamatos@fep.up.pt>
8802 * tabular.C (docBook): fixed support for long tables.
8804 2002-02-20 Juergen Vigna <jug@sad.it>
8806 * text2.C (getFont): get the drawing font of the Inset if this
8807 paragraph is inside an inset (only important for InsetERT for now).
8809 * buffer.C (insertErtContents): use new lanugage params in ERT
8812 * CutAndPaste.C: commenting out seemingly uneeded code.
8814 2002-02-19 Allan Rae <rae@lyx.org>
8816 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8817 Iterators might be simple to use but they also get invalidated.
8818 (removeAutoInsets): renamed saved cursor tracking variables and added
8819 some comments to clarify what everything does.
8821 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8828 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8829 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8832 * vc-backend.h: remove #include "support/syscall.h"
8836 * converter.C: rearrange #includes in Lars' approved fashion.
8838 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8839 forward declare class Timeout in the header file.
8841 * XFormsView.C: changes due to the above.
8843 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8846 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8847 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8849 2002-02-18 José Matos <jamatos@fep.up.pt>
8851 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8854 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8856 * a lot of small ws changes
8857 * add a lot of using std::XXX
8858 * use std construcs some places where approp.
8859 * use some exisint stuff from lyxfunctional where approp.
8860 * Make file changes to use partial linking (lets test this now...)
8862 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8866 remove #include "support/syscontr.h" as it's redundant. Always has been.
8874 change Systemcalls::System to Systemcalls::Wait and
8875 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8876 No change of functionality, just reflects the stripped down Systemcalls
8879 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8881 * debug.[Ch]: add a GRAPHICS type to the enum.
8883 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8885 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8887 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8890 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8892 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8893 match the changes below.
8895 * text2.C (toggleInset): if there is not editable inset at cursor
8896 position, try to see if cursor is _inside_ a collapsable inset
8899 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8901 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8902 document menu has a nice checkbox
8904 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8906 * lyxlength.C (asLatexString): change PW to output as percent of
8909 * lengthcommon.C: change '%' to 't%'
8911 * lyxfunc.C (dispatch): a few comments from Martin
8913 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8917 * BufferView_pimpl.h:
8918 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8921 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8923 * vspace.C (inPixels): fix compiler warning
8925 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8927 * lyxfunc.C (getStatus): fix status message for disabled commands.
8929 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView_pimpl.C: fix crash on close buffer
8932 during selection (#227)
8934 2002-01-27 Herbert Voss <voss@lyx.org>
8936 * buffer.C: link old Figure to new graphic inset
8938 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8940 * FontLoader.C (getFontinfo): Change the latex font names in order
8941 to match the names of type1inst.
8943 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8945 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8947 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8950 (remove_files_with_extension): ditto
8951 (remove_file): ditto
8954 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8955 document is smaller than the work area height. Do not initialize
8956 static variables to 0.
8958 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8960 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8962 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8963 LFUN_LAYOUT_PARAGRAPHS.
8965 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8966 tabular. It is possible to provide a possible cell, which will
8967 typically be the actcell from the corresponding insettabular
8969 * lyxfunc.C (getStatus): small cleanup; disable
8970 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8973 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8975 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8977 * paragraph.C (startTeXParParams):
8978 (endTeXParParams): new methods. The LaTeX code to
8979 start/end paragraph formatting
8980 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8981 empty (fixes bug #200)
8983 * vspace.C (inPixels): adapt to the change below
8984 (inPixels): [later] more cleanups (remove unused variables)
8986 * lyxlength.C (inPixels): change to use a width and a height as
8989 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8991 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8992 Replaced with \paperwidth
8994 * DepTable.C (insert): add std:: qualifier
8996 2002-01-18 Allan Rae <rae@lyx.org>
8998 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9001 * text.C (drawInset): Turned out I didn't know enough about how
9002 rebreaking worked. This fixes most of the redraw problems. I see
9003 an occasional cursor trail when a line is broken now and the cursor
9004 placement can seem out by a few pixels also after a rebreak.
9006 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9008 * buffer.C (parseSingleLyXformat2Token): update because minipage
9009 width is now a LyXLength
9011 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9013 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9016 2002-01-17 Juergen Vigna <jug@sad.it>
9018 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9020 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9021 is set correctly and the inset is updated correctly.
9023 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9026 the beginning of the loop.
9028 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9030 * lyxrc.C: improve help for use_scalable_fonts
9032 2002-01-17 Allan Rae <rae@lyx.org>
9034 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9036 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9039 make sure to set their inset_owner to the right value (bug #171)
9041 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9044 * DepTable.C: Implement mtime checking to reduce time spent doing
9047 2002-01-16 Juergen Vigna <jug@sad.it>
9049 * tabular.C (GetAdditionalHeight): one of error fixed.
9051 * lyxrc.C (output): small fix in writing use_pspell.
9053 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9055 * sp_base.h: #include LString.h
9057 2002-01-16 Allan Rae <rae@lyx.org>
9059 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9060 Can someone check this please?
9062 * text.C (drawInset): It was possible that p.row would be removed by
9063 breakAgainOneRow upsetting a few other settings. There may be another
9064 small tweak possible by setting need_break_row = 0 when p.row has been
9065 removed but I don't know enough about the logic here.
9067 2002-01-15 Allan Rae <rae@lyx.org>
9069 * text.C (insertChar): removed conditional truism.
9071 * BufferView2.C (removeAutoInsets): More tweaks.
9072 cur_par_prev could be a stray pointer. Check for trailing empty line
9073 in case last line was cur_par and only had an error inset on it.
9075 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9077 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9080 * vc-backend.C (most methods):
9081 * exporter.C (Export):
9082 * converter.C (convert):
9084 * LyXSendto.C (SendtoApplyCB):
9085 * lyxfunc.C (dispatch):
9089 * lyx_cb.C (AutoSave):
9091 * BufferView_pimpl.C (MenuInsertLyXFile):
9092 * buffer.C (runChktex): use Buffer::filePath().
9094 * buffer.h: rename filename to filename_; rename filepath to
9095 filepath_ and make it private
9096 (filePath): new method
9098 * buffer.C (writeFile): use fileName()
9101 * lyx_main.C (init): fix starting of LyX when the binary is a
9102 link from so,ewhere else.
9104 * minibuffer.C: include <cctype> for isprint
9106 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9108 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9109 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9110 name clash with InsetCollapsable's width function.
9112 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9114 * lastfiles.C: include <iterator>
9116 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9118 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9121 * buffer.C (makeLaTeXFile): ditto.
9122 Also make loop operation more transparent.
9124 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9126 * ToolbarDefaults.C: remove trailing comma closing namespace.
9128 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9130 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9133 * trans.C (Load): comment out unused variable, allowed.
9135 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9137 * minibuffer.[Ch] (append_char): new method to recieve input from the
9138 drop-down completion browser. If a key was pressed, then recieve this
9139 char and append it to the existing string.
9140 (peek_event): modify the positioning data passed to the completion
9141 browser so that it can be placed above the minibuffer rather than below.
9142 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * LyXAction.C (init): alloe error-next for readonly documents.
9146 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9149 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9151 * bufferlist.C (readFile): create the buffer _after_ checking that
9154 * lyxfunc.C (verboseDispatch): fix handling of arguments
9156 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9158 * lyxrc.C: use string::erase() instead of initializing to "".
9161 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9163 * BufferView_pimpl.h:
9164 * BufferView_pimpl.C:
9167 * text2.C: tell X when we have made a selection for copying
9169 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * BufferView_pimpl.C (MenuInsertLyXFile):
9172 * lyxfunc.C (menuNew):
9174 (doImport): add shortcuts to directory buttons
9176 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9179 * lyxfunc.C (setStatusMessage):
9180 (getStatusMessage): new methods
9181 (getStatus):use setStatusMessage instead of setErrorMessage
9182 (dispatch): when function is disabled, set error message here
9183 [instead of in getStatus previously]
9185 * BufferView_pimpl.C (workAreaButtonRelease): update
9186 toolbar/menubar here too.
9188 2002-01-13 Allan Rae <rae@lyx.org>
9190 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9191 Now seems indestructible. Remaining task is to audit all other
9192 code affected by deleteEmptyParagraphMechanism. One small quirk
9193 left is that an empty document with an error in the preamble can
9194 be made to report an error but no error box appears. I don't know
9196 (removeAutoInsets): Improved comments.
9198 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9201 * Thesaurus.C: update for Aiksaurus 0.14
9203 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9205 * text2.C (firstParagraph): removed member function, all uses
9206 replaces with ownerParagraph
9207 (redoParagraphs): here
9209 (toggleAppendix): here
9210 * BufferView2.C (insertErrors): here
9211 (setCursorFromRow): here
9213 2002-01-13 Allan Rae <rae@lyx.org>
9215 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9216 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9217 There is still a way to segfault this although you may have to do this
9218 multiple times: Have an InsetERT with an unknown command in it.
9219 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9220 <down-arrow>, <Enter> again, View->DVI, BANG!
9222 * text2.C (setCursor):
9223 (deleteEmptyParagraphMechanism):
9224 * lyxtext.h (setCursor):
9225 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9226 Making use of the return value may help fix other bugs.
9228 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9230 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9232 * LyXView.C (updateMenubar): call MenuBar::update here
9233 (updateToolbar): but not here
9234 (showState): do not update toolbar/menubar
9236 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9237 should need to care about that.
9239 * lyxfunc.C (verboseDispatch): simplify a bit
9240 (getStatus): have a version which takes a pseudoaction, and
9241 another which requires a (kb_action,string).
9243 * LyXAction.C (retrieveActionArg): make it work also when action
9244 is not a pseudo-action.
9245 (getActionName): simplify a bit
9248 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9250 * lyxfunc.C (verboseDispatch): new families of methods with
9251 several ways to specify a command and a bool to indicate whether
9252 the command name and shortcut should be displayed in minibuffer
9253 (eventually, we could extend that to a finer bitmask like
9254 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9255 (dispatch): the pristine dispatch command which just, well,
9256 dispatchs! Note it still sets its result to minibuffer; I'm not
9259 * lyxfunc.h: remove setHintMessage
9261 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9263 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9265 * BufferView_pimpl.C (specialChar): delete new inset if we have
9266 not been able to insert it.
9268 * kbmap.C: revert to using int instead of kb_action, since all we
9269 are dealing with is pseudo-actions.
9271 * LyXAction.C (searchActionArg): change to return int instead of
9272 kb_action, since the result is a pseudoaction.
9274 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9276 * buffer.C (insertErtContents): Fix (partially) the font bug.
9278 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9280 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9281 as the other one is broken on my machine!
9283 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9286 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9288 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9290 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9291 reflect their actual use. Provide compatibility code for older lyxrc
9294 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9296 change names of popup font variables in line with the changes to lyxrc.C
9298 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9300 * buffer.C (asciiParagraph): avoid outputing a word twice after
9303 * lyxrc.C (getDescription): document that document_path and
9304 template_path can be empty.
9306 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9308 * LaTeXFeatures.C (getMacros):
9309 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9311 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9313 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9315 (getPackages): rename feature "floats" to "float". Use an array to
9316 iterate over 'simple' features (i.e. just a \usepackage). Add
9317 handling of "amsmath" (renamed from "amsstyle").
9319 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9321 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9324 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9326 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9327 FuncStaus::FuncStatus & FuncStaus::some_method().
9329 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9331 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9332 of the func_satus stuff. Edited and massaged in various ways by
9335 * lyxfunc.C (getStatus): use FuncStatus
9337 2002-01-08 Juergen Vigna <jug@sad.it>
9339 * text.C (nextBreakPoint): use function Inset::isChar().
9341 * paragraph.C (TeXOnePar): use function
9342 Inset::forceDefaultParagraphs.
9344 * buffer.C (latexParagraphs): use function
9345 Inset::forceDefaultParagraphs.
9347 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9349 * lyx_gui.C (init): set the style of the menu popups to
9350 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9352 2002-01-07 Juergen Vigna <jug@sad.it>
9354 * text.C (setHeightOfRow): small fix
9355 (prepareToPrint): don't look at alignment if we don't have the place
9358 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9360 * box.C: New file. Move the Box methods and functions out of box.h,
9361 following Lars' suggestion.
9363 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9365 * box.h: #include "support/LOstream.h", needed for inlined function.
9368 * lyxtextclasslist.C: added some using std declarations.
9370 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9372 * box.h: make signed dimensions to allow insets wider than
9373 the screen (bug #162)
9375 * BufferView_pimpl.C: add some insetHit debug
9377 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9379 * vc-backend.C: add FIXME
9381 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9383 * lyxfunc.C (getStatus): enable code for showing math font status
9386 2002-01-07 Juergen Vigna <jug@sad.it>
9388 * text.C (nextBreakPoint): removed debug output not needed anymore.
9390 2002-01-06 Juergen Vigna <jug@sad.it>
9392 * text.C (nextBreakPoint): fixed up this function we had this bug
9393 since ever but now hopefully we break row better.
9394 (insertChar): we have to check if an inset is the next char as it
9395 could now happen that a large inset is causing a break.
9397 2002-01-05 Juergen Vigna <jug@sad.it>
9399 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9400 if it doesn't like to be drawed.
9402 2002-01-04 Juergen Vigna <jug@sad.it>
9404 * BufferView2.C (lockInset): forgot to set a cursor.
9406 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9408 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9413 * form_maths_panel.C:
9414 * form_maths_panel.h:
9415 * form_maths_panel.fd: implemented sub- and super- buttons in math
9418 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9419 (or ^ space) to be used as in TeX (req'd by André).
9421 * lyxfunc.C: Allow ^ and _ again to be used both as
9422 super/subscript (mathed) and as themselves (in text).
9424 2002-01-03 Allan Rae <rae@lyx.org>
9426 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9427 "LyX" or the filename of the current buffer if it has one. This is a
9428 modified form of John Levon's patch.
9430 * XFormsView.C (setWindowTitle): also set icon title.
9432 * LyXView.h (setWindowTitle): signature changed.
9433 * XFormsView.h (setWindowTitle): ditto.
9435 2002-01-02 Juergen Vigna <jug@sad.it>
9437 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9439 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * screen.C (topCursorVisible): introduce a temp var for
9442 text->cursor.row(), handle the case where this row is null. (kindo
9445 * text2.C (setCursor): add a couple of asserts.
9447 * paragraph.h (inset_iterator): add -> operator
9449 * paragraph.[Ch] (autoDeleteInsets): remove member function
9451 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9452 cursor pos correctly and handle inset deletion by itself.
9453 (insertErrors): move iterator declaration out of for expression
9455 * lyxtextclass.C: add <algorithm>
9457 * Makefile.am: added the new files to sources, removed layout.C
9459 * layout.C: removed file
9461 * layout.h: remove LYX_DUMMY_LAYOUT
9463 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9467 * lyxtextclass.[Ch]:
9468 * lyxtextclasslist.[Ch]: new files
9470 * include order changes to a lot of files, also changes because of
9473 2001-12-27 Juergen Vigna <jug@sad.it>
9475 * buffer.C (asciiParagraph): more fixes.
9477 * tabular.C (ascii): make ascii export support export of only the
9478 data separated by a column-delimiter.
9479 (ascii): better support for ascii export.
9481 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9483 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9485 * tabular_funcs.C: use a "using std::getline" instead of the
9486 previous fix from Angus (necessary for cxx + lyxstring)
9488 2001-12-24 Juergen Vigna <jug@sad.it>
9490 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9492 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9493 problems. First check a minipage also if we have some ert-contents
9494 (not only on par->size(), second set the right depth of the paragraph
9495 on the relink to the root-paragraph-list!
9497 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9498 which then did not anymore update the main paragraphs on undo/redo!
9500 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9503 code. Support all font-changing funcs (even those which are not in
9504 menu currently). Support for reporting font settings in
9505 mathed (disabled until Andre provides a function on mathed's side).
9507 * func_status.h (toggle): small helper function to set toggle
9510 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9512 * tabular_funcs.C: getline -> std::getline
9514 2001-12-21 Juergen Vigna <jug@sad.it>
9516 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9517 accessed and could be 0 (I couldn't generate this but it seems
9520 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9522 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9523 * tabular_funcs.h: here and include iosfwd
9525 2001-12-20 Juergen Vigna <jug@sad.it>
9527 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9528 inside inset but undo_par was.
9530 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * Thesaurus.C: always include <config.h> in sources.
9536 * box.h: do not include <config.h> in header files
9538 * text.C (paintLastRow): remove unused variable
9540 * text.C (transformChar):
9542 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9545 * font.C (width): rewrite to use uppercase() instead of
9548 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9550 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9552 * lyxfind.C: clean up of find failure position change
9554 2001-12-20 Juergen Vigna <jug@sad.it>
9556 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9558 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9559 (TeXRow): added to LaTeX a single tabular row.
9560 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9561 (Latex): simplified and finally good LT-h/f support.
9562 (various_functions): just small adaptions for LT-h/f support.
9564 * tabular_funcs.[hC]: added and moved here all not classfunctions
9567 2001-12-19 Juergen Vigna <jug@sad.it>
9569 * tabular.[Ch]: better support for longtabular options (not finished
9572 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9574 * text.C (paintLastRow): use the label font instead of the font of
9575 the last character to compute the size of *_BOX. This makes more
9576 sense and avoids a crash with empty paragraphs.
9577 Use Painter::rectangle to draw EMPTY_BOX.
9579 2001-12-19 Juergen Vigna <jug@sad.it>
9581 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9582 the paragraphs if the replaced paragraph is not the first one!
9583 Tried to delete not used paragraphs but does not work yet so for
9584 now it's inside #ifdef's and by default off!
9586 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9588 * MenuBackend.C: include "lyx_main.h" instead of declaring
9589 lastfiles (actually was declared as LastFiles* instead of a
9592 2001-12-17 Juergen Vigna <jug@sad.it>
9594 * tabular.C (AppendColumn): applied John's fix
9596 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9600 * BufferView_pimpl.h:
9601 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9604 * box.h: new start of class for above
9606 * lyxfunc.C: ignore space-only minibuffer dispatches.
9607 Show the command name when it doesn't exist
9609 * minibuffer.C: don't add empty lines to the history
9611 * minibuffer.C: add a space on dropdown completion
9613 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9615 * text.C: fix line above/below drawing in insets
9617 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * lyxlength.C (LyXLength): Initialize private variables.
9621 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9623 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9624 when inserting error insets.
9626 2001-12-13 Juergen Vigna <jug@sad.it>
9628 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9629 actually sometimes the before-paragraph.
9630 (setUndo): don't clear the redostack if we're not actually undoing!
9632 2001-12-06 Juergen Vigna <jug@sad.it>
9634 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9635 and fixed redoing of main paragraph, so we can use it now ;)
9637 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9639 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9641 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9644 2001-12-13 André Pönitz <poenitz@gmx.net>
9647 * undo_func.C: minor cleanup
9649 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9652 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9653 font in urw-fonts package which is marked as -urw-fontspecific and
9654 does not work (incidentally, changing the encoding in the
9655 fonts.dir of this package to -adobe-fontspecific fixes the
9658 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9659 is a crash when undoing first paragraph (Juergen, please take a
9660 look). THis does not mean the undo fix is wrong, just that it
9663 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9664 the (Paragraph*) version when needed instead of duplicating the
9667 * text.C (workWidth): use Inset::parOwner to find out where the
9668 inset has been inserted. This is a huge performance gain for large
9669 documents with lots of insets. If Inset::parOwner is not set, fall
9670 back on the brute force method
9672 * paragraph_pimpl.C (insertInset):
9673 * paragraph.C (Paragraph):
9674 (cutIntoMinibuffer): set parOwner of insets when
9675 inserting/removing them
9677 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9679 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9685 * mathed/formulabase.C:
9686 * mathed/math_cursor.[Ch]:
9687 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9690 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * lyxlength.[Ch] (operator!=): new function
9694 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9696 * text.C (workWidth): use Inset::parOwner to find out where the
9697 inset has been inserted. This is a huge performance gain for large
9698 documents with lots of insets. If Inset::parOwner is not set, fall
9699 back on the brute force method
9701 * paragraph_pimpl.C (insertInset):
9702 * paragraph.C (Paragraph):
9703 (cutIntoMinibuffer): set parOwner of insets when
9704 inserting/removing them
9706 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9708 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9710 * tabular-old.C (getTokenValue):
9711 * tabular.C (getTokenValue):
9712 (write_attribute): new versions for LyXLength
9713 (everywhere): adjust the use of widths
9715 * tabular.h: change the type of widths from string to LyXLength
9717 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9719 * paragraph.C: fixed missing line number count when exporting
9720 Environments to LaTeX file
9722 * buffer.C: added informational message for checking line numbers.
9724 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9726 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9727 paragraph, do the 'double space' part, but not the 'empty
9730 * text.C (workWidth): small optimization
9731 (getLengthMarkerHeight): use minimal size for negative lengths.
9733 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9735 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9737 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9739 2001-12-11 André Pönitz <poenitz@gmx.net>
9742 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9744 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9746 * text2.C: keep selection on a setFont()
9748 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9750 * lyx_cb.C: another bv->text misuse, from insert label
9752 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9755 * kbsequence.C: re-instate nmodifier mask
9757 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9759 * lyx_main.h: make lyxGUI private.
9761 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9763 * lyxfind.C: place the cursor correctly on failed search
9765 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9767 * text.C (getLengthMarkerHeight): for small heights, the arrows
9768 are not always on top/bottom of the text
9769 (drawLengthMarker): smaller arrows; take the left margin in
9770 account; draw also vfills.
9772 (paintLastRow): remove special code for vfill and standard spaces,
9773 since everything is handled in drawLengthMarker now.
9775 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * buffer.C (insertErtContents): try to handle font and language
9778 interaction a bit better.g
9780 * ColorHandler.C (updateColor): change the hash to cover the whole
9781 LColor enum, ws cleanup
9782 (getGCLinepars): ditto
9783 (getGCLinepars): only lookup in the linecache once.
9785 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9787 * iterators.C (operator++): Make the iterator more robust
9789 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9791 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9793 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9796 * text.C: better added space drawing
9798 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9801 * BufferView2.C: fix layout combo update on inset unlock
9803 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9805 * Makefile.am: don't compile unused files
9807 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9811 * LyXAction.C: remove old LFUN_LAYOUTNO
9813 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9815 * paragraph_pimpl.h:
9816 * paragraph_pimpl.C: isTextAt() doesn't need font param
9818 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9821 * lyxlex.C: little cleanup
9823 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9825 * BufferView_pimpl.C: fix insertAscii for insets
9827 2001-12-05 Juergen Vigna <jug@sad.it>
9829 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9830 set the right font on the "multi" paragraph paste!
9832 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9838 * lyxlength.C: remove out-commented code.
9854 * vc-backend.C: change "while(" to "while ("
9856 * lyxlength.[Ch]: add zero function to check if length is zero or
9858 * lyxgluelength.C: use it
9860 2001-12-05 Allan Rae <rae@lyx.org>
9862 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9863 Works for 2.95.3, from what I understand of Garst's reports this should
9864 work for other g++ versions. We're screwed if the abs(int) definition
9865 changed between bugfix releases of gcc.
9867 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9869 * text.C: fix chapter label offset !
9871 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9874 * text.C: fix hfill at end of line, clean up
9876 2001-12-04 Juergen Vigna <jug@sad.it>
9878 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9879 that we force an update of the inset and it's owners if neccessary.
9881 2001-12-03 Juergen Vigna <jug@sad.it>
9883 * text.C (rowLast): simplified code
9885 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9887 * lyxfunc.C: fix show options on timeout
9889 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9891 * screen.C (topCursorVisible): scroll half a page when the cursor
9892 reached top of bottom of screen
9894 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9896 * minibuffer.C: deactivate on loss of focus
9898 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9900 * vspace.[Ch] (operator!=): add operator.
9902 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9904 * BufferView_pimpl.C: refuse to open an inset when
9905 there's a selection.
9907 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9909 * BufferView_pimpl.C: allow to click on RHS of full row insets
9911 2001-11-30 Juergen Vigna <jug@sad.it>
9913 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9914 insets for undo reasons.
9916 2001-11-28 André Pönitz <poenitz@gmx.net>
9918 * vspace.[Ch]: cosmetical changes
9920 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9930 * kbsequence.C: part re-write of old kb code
9933 * WorkArea.C: remove Lgb_bug_find_hack
9935 2001-11-30 José Matos <jamatos@fep.up.pt>
9937 * buffer.C (makeDocBookFile): add a comment to point a hack.
9938 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9939 Fixed a double write of labels.
9941 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9944 * LaTeX.h Fixed bug in LaTeX class where it would not
9945 re-run latex if no depfiles were changed, but the .dvi was removed.
9947 2001-11-28 André Pönitz <poenitz@gmx.net>
9949 * all the files from the change on 2001/11/26:
9950 use lyx::layout_type instead of LyXTextClass::size_type
9951 use lyx::textclass_type instead of LyXTextClassList::size_type
9953 2001-11-29 Juergen Vigna <jug@sad.it>
9955 * text.C: added support for paragraph::isFreeSpacing()
9957 * buffer.C: same as above
9959 * paragraph.h: inserted isFreeSpacing() function to enable
9960 FreeSpacing inside InsetERT.
9962 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9963 of the paragraph's in the cut/copy buffer to 0!
9965 * text2.C (removeRow): remove the assert as it can!
9967 * lyxtext.h: added helper function firstRow returning firstrow and
9968 made firstrow private again.
9970 * BufferView2.C (lockInset): don't relock if we're already locked!
9972 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9974 (removeRow): added Assert::(firstrow)
9976 * debug.C: forgot to add INSETTEXT here.
9978 2001-11-28 Juergen Vigna <jug@sad.it>
9980 * sp_spell.C (initialize): changed error text to more general
9981 spellchecker command use (not only ispell!)
9983 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9985 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9987 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9989 * vspace.C: initialise lyxgluelength on failure
9991 2001-11-28 Allan Rae <rae@lyx.org>
9993 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9994 declaration & definition that looks like a function declaration.
9996 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9998 * BufferView2.C (copy):
9999 (copyEnvironment): do not clear the selection when doing a copy.
10001 * text.C (paintFirstRow): compilation fix
10003 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10005 * tabular.C (Latex): correct line count when writing latex.
10007 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10009 * paragraph_pimpl.h:
10010 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10013 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10017 * LColor.C: change vfillline->added_space
10019 * text.C: add markers and text for added space
10021 * vspace.C: fix comment
10023 2001-11-28 André Pönitz <poenitz@gmx.net>
10025 * paragraph.C: whitespace changes
10026 * all the other files from the change on 2001/11/26:
10027 change *::pos_type into lyx::pos_type
10029 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10031 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10032 language of the document when inserting error insets.
10034 2001-11-26 André Pönitz <poenitz@gmx.net>
10036 * BufferView_pimpl.[Ch]:
10044 * paragraph_pimpl.[Ch]:
10047 * text2.C: reduce header dependencies, introduce type for positions
10049 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10051 * <various>: change to use Alert.h
10053 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10055 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10056 when encountering an unknown token.
10057 (readLyXformat2): Show an error message if there were unknown tokens.
10059 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10062 * BufferView_pimpl.C:
10066 * text2.C: use par->isInset()
10068 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10070 * paragraph_pimpl.h:
10071 * paragraph_pimpl.C: cleanup
10073 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10075 * text2.C (removeRow):
10076 * text.C (setHeightOfRow): remove useless (and costly) call to
10079 2001-11-20 Allan Rae <rae@lyx.org>
10081 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10082 Now need Inset*::checkInsertChar() to return true for appropriate
10083 cases so that the characters in the minibuffer will actually be
10086 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * text.C: change the order of the includes.
10089 (workWidth): initialize it at once.
10090 (workWidth): make maxw unsigned
10091 (setHeightOfRow): remove unused variable (inset)
10092 (selectSelectedWord): remove unused variable (inset)
10093 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10095 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10097 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10098 server is not running.
10100 (closeConnection): add debug info when server is disabled.
10102 * ColorHandler.C (getGCForeground): send debug message to GUI
10105 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10107 * kbmap.C (bind): modify because return conventions of
10108 kb_sequence::parse have changed.
10110 * kbsequence.C (parse): only ignore spaces and not any stupid
10111 control character. This avoids tests like s[i] <= ' ', which are
10112 guaranteed to fail with 8bit characters and signed chars.
10113 Change return code to string::npos when there have been no error
10114 (0 was a bad idea when error is at first character)
10116 2001-11-14 José Matos <jamatos@fep.up.pt>
10119 * buffer.C (simpleDocBookOnePar): removed unused argument.
10121 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10123 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10124 insets which are part of a word. Paragraph::isLetter takes care of
10125 that now. Use Paragraph::isInset to identify insets.
10126 (selectSelectedWord): do not test for hyphenation break.
10128 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10129 that protected spaces are considered as spaces.
10131 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10134 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10137 * lyxserver.C: fix it. and small cleanup.
10139 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10141 * BufferView_pimpl.C: use inline helpers
10144 * LaTeXFeatures.C: fix typos
10147 * Spacing.C: move spacing_string into class
10149 * ToolbarDefaults.C: move stuff into namespace anon
10151 * layout.h: update enum
10153 * lyxfunc.C: use better debug
10155 * minibuffer.h: fix typo
10159 * WorkArea.C: add and use Debug::WORKAREA
10163 * text2.C: code re-organisation, inline helpers
10165 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10167 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10168 std::vector.empty().
10170 2001-11-09 Allan Rae <rae@lyx.org>
10172 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10173 '\n's after tables. Tabular and ERT inset work now makes this no
10176 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10179 * minibuffer.C: fix crash, improve drop-down completion
10181 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10184 * lyxserver.C: invalidate fd's when doing endPipe()
10186 2001-11-08 José Matos <jamatos@fep.up.pt>
10188 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10189 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10192 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10194 2001-11-07 José Matos <jamatos@fep.up.pt>
10197 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10200 * buffer.C (sgmlOpenTag):
10201 * buffer.C (sgmlCloseTag): removed debug info.
10203 * buffer.h (sgmlOpenTag):
10204 * buffer.h (sgmlCloseTag): made public.
10206 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10208 * buffer.C (saveParamsAsDefaults):
10209 * lyx_cb.C (MenuLayoutSave): remove
10211 * LyXAction.C (init):
10213 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10215 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10217 * buffer.C (setPaperStuff): removed from here...
10219 * bufferparams.C (setPaperStuff): ... and moved there.
10221 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10225 * XFormsView.C: add support for drop-down completion
10227 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10229 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10232 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10237 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10239 * lyx_main.C: change ref to known bugs
10241 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10243 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10244 to work around older babel problems.
10246 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10248 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10250 2001-10-24 Juergen Vigna <jug@sad.it>
10252 * tabular-old.C (ReadOld): below variable changes reflected.
10254 * tabular.[Ch]: added ltType struct for longtable header/footer
10255 defines and changed all instances where they are used. Added
10256 future support for double top/bottom rows.
10258 2001-10-24 José Matos <jamatos@fep.up.pt>
10260 * buffer.h (docbookHandleCaption):
10261 * buffer.C (docbookHandleCaption): removed unused function.
10262 (makeDocBookFile): moved docbook supported version to v4.1.
10264 2001-10-24 José Matos <jamatos@fep.up.pt>
10267 * tabular.C (docbookRow): new function to export docbook code of a row.
10268 (DocBook): now honors the longtable flags.
10270 2001-10-23 José Matos <jamatos@fep.up.pt>
10273 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10274 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10276 * buffer.C (makeLinuxDocFile):
10277 (makeDocBookFile): reworked the preamble, more clean, and with
10278 support for lyx defined entities. Changed the document declaration
10279 to be more XML friendly.
10281 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10282 if we need to output XML that should be done with a filter.
10284 2001-10-22 Juergen Vigna <jug@sad.it>
10286 * sp_pspell.h (class PSpell): add alive function needed in the
10287 controller to see if the spellchecker could be started.
10289 2001-10-22 Juergen Vigna <jug@sad.it>
10291 * buffer.C (insertStringAsLines): modify the font for inserting
10292 chars in certain conditions by calling checkInsertChar(font).
10294 2001-10-19 Juergen Vigna <jug@sad.it>
10296 * text.C (workWidth): use getRow instead of wrong algorithm.
10297 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10299 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10304 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10306 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10308 * text.C (workWidth): do not search for the exact row when
10309 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10310 optimization for big documents.
10312 2001-10-18 Juergen Vigna <jug@sad.it>
10314 * text.C (workWidth): new function with added Inset * parameter.
10316 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10318 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10320 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10321 change return type of getColumnNearX.
10324 * text.C (changeRegionCase): use uppercase/lowercase instead of
10327 (rightMargin): simplify code by factoring out the uses of
10332 (appendParagraph): use Paragraph::size_type
10334 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10336 * vspace.C (asLatexString): add a missing break
10338 2001-10-15 Herbert Voss <voss@perce.de>
10340 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10342 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10344 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10347 2001-10-10 André Pönitz <poenitz@gmx.net>
10349 * lyxfunc.C: removed greek_kb_flag.
10351 2001-10-10 Herbert Voss <voss@perce.de>
10353 * lyx_main.C: delete global string help_lyxdir.
10355 2001-10-09 Herbert Voss <voss@perce.de>
10357 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10359 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10361 * lyx_main.C: added global string help_lyxdir.
10363 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10365 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10367 * lyxrc.C (set_font_norm_type): support iso8859-4
10369 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10371 * LaTeX.C (deplog): add another regex for MikTeX
10373 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10375 * lyxrc.C (set_font_norm_type): support iso8859-3
10377 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10379 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10381 * LaTeXFeatures.C: remove special case of french and index
10383 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10384 before \begin{document}). This solves several incompatibilities.
10386 2001-10-03 Garst Reese <reese@isn.net>
10388 * lyx_cb.C: change CheckTex error msg.
10390 2001-10-03 José Matos <jamatos@fep.up.pt>
10392 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10394 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * .cvsignore: update
10398 * lyx_main.C (commandLineVersionInfo): use new style version info.
10400 * buffer.C (writeFile):
10402 (makeLinuxDocFile):
10403 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10405 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10407 * version.h: update to use stuff in version.C
10409 * version.C.in: new file. Contains version information determined
10410 at compile time. This is a merging of version.h and
10413 2001-10-03 Juergen Vigna <jug@sad.it>
10415 * BufferView_pimpl.C (update): don't change "dirty" status in
10418 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10420 * WorkArea.C (c-tor): re-position version string slightly.
10422 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10424 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10425 revert to previous code.
10427 WorkArea.[Ch]: (show, destroySplash): methods removed.
10429 WorkArea.C: rework code so that it's an amalgam of the codes before and
10430 after the splash screen was moved to WorkArea.
10432 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10435 * vspace.C (inPixels):
10438 * buffer.C (insertStringAsLines):
10439 (asciiParagraph): fix types to be large enough
10441 * lyxlex_pimpl.h: change member status from short to int
10443 * layout.h: fix type of endlabeltype
10446 * kbsequence.C (parse): change return type to string::size_type
10448 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10451 * Bullet.C (bulletSize):
10452 (bulletEntry): do not use short ints as parameters
10454 * BufferView2.C (insertLyXFile): change a char to an int.
10456 * WorkArea.C (WorkArea): remove unneeded floats in computation
10458 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10460 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10462 * paragraph.C (asString): Do not ignore newline/hfill chars when
10463 copying to the clipboard.
10465 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10467 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10468 after a multi-line inset.
10470 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10472 * paragraph.C (validate): Set NeedLyXFootnoteCode
10474 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10476 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10477 and decrease-error to decrease.
10479 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10481 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10482 it more readable (should be equivalent)
10484 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10486 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10488 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10490 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10491 of a cursor (row, etc.) after a character has been deleted
10492 (deleteEmptyParagraphMechanism): call the method above on _all_
10493 cursors held by the LyXText when a double space has been
10496 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10498 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10500 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10502 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10503 background. Use greyOut() and the new show() methods to toggle between
10504 the foreground and background. Add code to remove the splash after
10505 its initial showing.
10507 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10508 (create_forms): no longer call Dialogs::showSplash.
10510 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10512 * .cvsignore: add version_info.h
10514 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10516 * version_info.h.in: new file
10518 * Makefile.am: add version_info.h.in
10520 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10521 version_info.h instead of VERSION_INFO
10523 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10525 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10526 The ERT inset now returns string().
10528 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10530 * lyxtext.h, text.C (selectNextWord): renamed as
10531 selectNextWordToSpellcheck.
10533 * text.C (selectNextWordToSpellcheck): Modified to not select
10534 words inside an ERT inset.
10536 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10538 * lyx_cb.C (MenuLayoutSave): change a bit the question
10540 * sp_base.h: include <sys/types.h>
10542 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10544 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10546 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10548 * several files: fix typos in user-visible strings
10550 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * text2.C (pasteSelection): do not set the selection, since it
10553 will be cleared later. Actually, the intent was to fix the way the
10554 selection was set, but I figured rmoving the code was just as good.
10556 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10558 * FontLoader.C (available): Check if font is available without
10561 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10563 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10565 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10567 * lyxrc.[Ch]: added display_graphics variable and associated code.
10569 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10571 * bufferparams.C (hasClassDefaults): new method. Returns true if
10572 the buffer parameters correspond to known class defaults
10574 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10576 * XFormsView.C (show): set minimum size to the main window.
10578 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * text2.C (copySelection):
10582 * lyxfind.C (LyXReplace):
10583 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10584 LyXText::selectionAsString.
10586 * paragraph.C (asString): add "label" argument to the second form
10588 * text2.C (selectionAsString): add "label" argument and pass it to
10589 Paragraph::asString.
10591 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10593 * lyx_main.C (commandLineHelp): remove version information
10595 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10597 * lyx_main.C: add -version commandline option
10599 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * paragraph.h: make the optional constructor arg required instead.
10602 some modifications to other files because of this.
10604 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10606 * lyxserver.C (C_LyXComm_callback): make it static
10608 * lyx_main.C (error_handler): make it static
10610 * lyx_gui.C (LyX_XErrHandler): make it static
10612 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10614 * WorkArea.C: make the extern "C" methods static.
10616 * Makefile.am (lyx_LDADD): simplify
10618 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10620 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10621 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10623 * LyXAction.C (init):
10624 * lyxfunc.C (dispatch): associated code removal.
10626 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10628 * lyxfont.h (isSymbolFont): shut off warning
10630 * text.C (setHeightOfRow):
10631 (getVisibleRow): fix crash with empty paragraphs which have a
10634 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10636 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10639 2001-09-04 José Matos <jamatos@fep.up.pt>
10642 * tabular.C (docbook): rename docBook method to docbook.
10644 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10646 * Makefile.am: add dependencies to main.o.
10648 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10650 * FontLoader.C (available): Return false if !lyxrc.use_gui
10652 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10654 * FontInfo.C (query):
10655 * converter.C (view):
10656 * importer.C (Import):
10657 * exporter.C (Export): Can not -> cannot.
10659 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10661 * BufferView_pimpl.C: allow to create index inset even if
10664 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10666 * buffer.C (getLists): replace boost::tie code with an explicit pair
10667 as boost::tie can break some compilers.
10669 * iterators.h: Added a std:: declaration to the return type of
10672 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10674 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10677 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10679 * iterators.[Ch]: New files. Provide paragraph iterators.
10681 * buffer.C (changeLanguage): Use paragraph iterators.
10682 (isMultiLingual): ditto
10684 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10686 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10688 * FontLoader.C: Support for cmr font.
10690 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10692 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10693 (available): New method.
10695 * FontInfo.C (getFontname): Use scalable fonts even when
10696 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10699 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10701 * converter.C (Formats::view): reverted! Incorrect fix.
10703 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10705 * converter.C (Formats::view): only output the -paper option
10706 if the dvi viewer is xdvi, thereby fixing bug #233429.
10708 2001-08-23 Herbert Voss <voss@perce>
10710 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10712 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10714 * Spacing.h (Spacing): Set space to Default on in the default
10717 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10719 * vc-backend.h (RCS::versionString): add RCS to version
10720 (CVS::versionString): add CVS to version
10722 * vc-backend.C (scanMaster): do not add CVS to version.
10723 (scanMaster): do not add RCS to version
10725 * lyxvc.C (versionString): new method
10727 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10729 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10731 * Spacing.C (set): initialize fval
10733 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10735 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10738 2001-08-16 Juergen Vigna <jug@sad.it>
10740 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10742 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10744 * BufferView_pimpl.C:
10747 * text2.C: setParagraph takes linespacing now
10749 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10751 * LyxAction.C: add internal LFUN_CITATION_INSERT
10753 * LyXView.C: actually apply fix
10755 * bufferlist.C: fix open non-existent file
10757 * lyxfind.C: fix indentation
10759 * lyxfunc.C: remove unneeded assert, fix typo
10761 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10763 * MenuBackend.C: use "Floatname List"
10765 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10767 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10768 when converting LaTeX layout to insetERT.
10769 Generate a non-collapsed float when reading old float
10771 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10773 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10776 2001-08-13 Juergen Vigna <jug@sad.it>
10778 * text.C (fill): return 0 instead of 20 as this seems to be the more
10781 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10783 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10786 2001-08-13 Juergen Vigna <jug@sad.it>
10788 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10790 (SearchBackward): comment out the unlocking of the inset_owner this
10791 should not be needed!
10793 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10795 * Many files: Remove inherit_language, and add latex_language
10797 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10798 collapsible insets.
10800 2001-08-10 Juergen Vigna <jug@sad.it>
10802 * text.C (prepareToPrint): fixed hfill-width in draw!
10804 * BufferView2.C (selectLastWord): save the selection cursor as this
10805 now is cleared in the function LyXText::clearSelection!
10807 2001-08-08 Juergen Vigna <jug@sad.it>
10809 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10810 BACKSPACE type functions.
10812 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10813 is only cutted from the document but not put in the cut-buffer, where
10814 still the old stuff should be.
10816 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10818 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10820 * tabular.C (SetWidthOfCell): fixed special case where the width
10822 (LeftLine): handle '|' in align_special.
10824 (LeftAlreadyDrawed): ditto
10825 (SetWidthOfCell): ditto
10827 2001-08-07 Juergen Vigna <jug@sad.it>
10829 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10831 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10833 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10834 * lyxlex.[hC]: ditto
10836 2001-08-06 Juergen Vigna <jug@sad.it>
10838 * text.C (getVisibleRow): fix up row clearing a bit.
10840 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * minibuffer.C: make sure the X server sees the changes in the input.
10844 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10846 * paragraph.C (getFont): split into...
10847 (getLabelFont): this
10848 (getLayoutFont): and this
10849 * paragraph_pimpl.C (realizeFont): calling this
10851 * text2.C (getFont): split into...
10852 (getLayoutFont): this
10853 (getLabelFont): and this
10854 (realizeFont): all three calling this
10856 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10859 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10863 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10865 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10866 layouts from the Quote inset insertion.
10868 2001-08-03 Juergen Vigna <jug@sad.it>
10870 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10872 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10873 only if status not is already CHANGED_IN_DRAW (second level).
10875 * text.C (draw): don't set the need_break_row when inside an
10878 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * buffer.C (parseSingleLyXformat2Token): handle more latex
10883 * bufferview_funcs.[hC]: change function names to
10884 begin with small char, adjust other files.
10886 2001-08-02 André Pönitz <poenitz@gmx.net>
10889 BufferView_pimpl.C: remove broken special code for math-greek
10891 2001-08-02 Juergen Vigna <jug@sad.it>
10893 * BufferView_pimpl.C (update): redone this function so that we
10894 update the text again if there was a CHANGE_IN_DRAW.
10896 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10897 (drawFromTo): added a new internal bool which is used by draw() and
10899 (general): some cursor drawing problems fixed.
10901 2001-08-01 Juergen Vigna <jug@sad.it>
10903 * lyxfind.C (LyXFind): fixed
10904 (SearchForward): ditto
10905 (SearchBackward): ditto
10907 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10908 spurius drawing of the cursor in the main area.
10910 * text2.C (status): small fix which could lead to a segfault!
10911 (clearSelection): remove unneeded BufferView param.
10913 2001-08-01 André Pönitz <poenitz@gmx.net>
10915 * lyxfunc.C: small change due to changed mathed interface
10917 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10919 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10921 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10923 * lyxfunc.c: fail gracefully if file doesn't exist
10928 * BufferView_pimpl.C: IsDirWriteable() proto changed
10930 * LyXView.C: fix updateWindowTitle() to store the last title
10932 2001-07-31 Juergen Vigna <jug@sad.it>
10934 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10935 the font (wrong since using of Paragraph::highestFontInRange).
10937 * paragraph.C (highestFontInRange): added a default_size parameter.
10939 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10940 (setHeightOfRow): reformat
10942 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10944 * converter.[hC] + affected files: move to (inital-char)lowercase
10947 * ParagraphParameters.C (ParagraphParameters): remove commented code
10949 * PainterBase.[Ch]: remove commented code
10951 * LaTeXFeatures.h: add "bool floats" for float.sty
10953 * LaTeXFeatures.C (LaTeXFeatures): init floats
10954 (require): handle float
10955 (getPackages): do it with floats
10957 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10959 * BufferView_pimpl.C (Dispatch): improve handling of
10960 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10962 * commandtags.h: #include lyxfont.h here temporarily to avoid
10965 * bufferlist.h: include LString.h here.
10967 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10969 * text2.C (getStringToIndex): new method.
10971 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10973 * *: Reduced header file dependencies all over.
10975 2001-07-30 Baruch Even <baruch@lyx.org>
10977 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10979 2001-07-29 Baruch Even <baruch@lyx.org>
10981 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10983 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10985 * ParameterStruct.h (endif): add a default constructor to make
10986 sure that all variables is initialized.
10988 * ParagraphParameters.C (ParagraphParameters): adjust
10990 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10992 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10993 index; also, check that there is something to index, and that it
10994 does not span over several paragraphs.
10995 (doubleClick): use WHOLE_WORD_STRICT for double click.
10997 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10999 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11002 2001-07-26 Baruch Even <baruch@lyx.org>
11004 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11005 an InsetFig figure, backwards compatible reading of old figure code.
11007 2001-07-27 Juergen Vigna <jug@sad.it>
11009 * text2.C: font.realize function adaption.
11011 * text.C (draw): add a warnings lyxerr text if needed.
11013 * layout.C: font.realize function adaption.
11015 * language.C: add inherit_language and implement it's handlings
11017 * bufferview_funcs.C (StyleReset): remove language parameter from
11018 font creation (should be language_inherit now).
11020 * bufferparams.C (writeFile): handle ignore_language.
11022 * paragraph.C (getFontSettings): the language has to be resolved
11023 otherwise we have problems in LyXFont!
11025 * lyxfont.C (lyxWriteChanges): added document_language parameter
11026 (update): removed unneeded language parameter
11028 * paragraph.C (validate): fixed wrong output of color-package when
11029 using interface colors for certain fonts in certain environments,
11030 which should not seen as that on the final output.
11032 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11034 * BufferView_pimpl.C:
11039 * LyXAction.C: add thesaurus support
11042 * lyxfind.C: add "once" parameter, for thesaurus, to not
11043 move to the next match
11045 2001-07-26 Juergen Vigna <jug@sad.it>
11047 * lyxfont.C (realize): honor ignore_language too!
11050 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11052 * text.C (draw): one place more for ignore_language to not draw
11055 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11057 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11059 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11062 the minipage conversion problem.
11064 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11069 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11071 * BufferView.h: don't forward declare WorkArea
11073 * BufferView.C: don't include WorkArea.h
11075 2001-07-25 André Pönitz <poenitz@gmx.net>
11079 * lyxfunc.C: new LFUN 'math-space'
11081 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11083 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11085 * text2.C (toggleInset): call open/close
11087 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * lyxfunc.C (dispatch): add debug for the disabled case
11091 * font.C (buttonText): make similar to rectText
11093 * buffer.C (readInset): comment out parsing of insetlist and
11096 * PainterBase.C (rectText): small correction
11098 * BufferView_pimpl.C: comment out insettheorem and insetlist
11099 * LyXAction.C: ditto
11100 * commandtags.h: ditto
11102 2001-07-24 Juergen Vigna <jug@sad.it>
11104 * text.C (draw): honor the ignore_language.
11106 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11108 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11110 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11113 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11115 * lyxtext.h: remove unused (and unimplemented) methods
11117 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11119 * text.C (getVisibleRow): honor background color
11122 * Painter.h: remove default color argument for fillRectangle
11124 * text.C (backgroundColor): new method
11126 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11128 * text.C (getVisibleRow): adjust
11130 * font.[Ch] (rectText): new method, metrics
11131 (buttonText): new method, metrics
11133 * PainterBase.[hC]: make rectText and buttonText always draw and take
11136 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11138 * ToolbarDefaults.C (read):
11139 * MenuBackend.C (read): allow escaping in all strings
11141 * BufferView_pimpl.C (insertAndEditInset): new method.
11142 (Dispatch): use insertAndEditInset whenever appropriate.
11144 * BufferView_pimpl.C (insertNote): removed
11146 * BufferView_pimpl.C (smartQuote): new method, moved from
11147 BufferView; if an insetquote cannot be inserted, insert a '"'
11150 * BufferView2.C: remove insertCorrectQuote();
11152 * lyxfunc.C (getStatus): Add support for all remaingin
11153 inset-insert lfuns.
11155 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11157 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11158 command (necessary to pass " as parameter of self-insert.
11160 * text.C (selectWordWhenUnderCursor):
11161 (selectWord): add word_location parameter
11162 (selectWordWhenUnderCursor): same + remove special code for word
11164 (selectNextWord): use kind() to guess type of insetspecialchar,
11167 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11168 (insertErtContents): create ert insets as collapsed.
11169 (readInset): better compatibility code for Info inset.
11171 2001-07-20 Juergen Vigna <jug@sad.it>
11173 * lyxfunc.C (dispatch): use always LyXFind now!
11175 * text2.C (init): add a reinit flag so that the LyXText can be
11176 reinited instead of deleted and reallocated (used in InsetText).
11178 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11184 2001-07-18 Juergen Vigna <jug@sad.it>
11186 * text.C (selectNextWord): handle insets inside inset by calling
11187 always the bv->text functions so that we can go up the_locking_inset!
11189 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11190 in strange locations when inside an inset!
11192 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11193 handling to include insets.
11195 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11197 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11199 * LyXAction.C (init):
11201 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11202 LIGATURE_BREAK, since the name is so stupid.
11204 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11206 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11209 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11211 * sp_form.[Ch]: remove.
11213 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11215 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11218 * src/buffer.C (readInset): ditto.
11220 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11222 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11223 menuSeparator(), endOfSentenceDot(), ldots() and
11224 hyphenationPoint(), which are therefore removed.
11225 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11227 * LyXAction.C (init):
11228 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11230 * paragraph.C (getWord): removed.
11232 * BufferView_pimpl.C (Dispatch): use last word or selection for
11233 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11235 * lyx_main.C (queryUserLyXDir): do not ask before creating
11236 user_dir, except if it has been named explicitely.
11238 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11240 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11241 a document of zero size.
11243 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11245 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11246 approriately in the c-tor and in require().
11247 (getPackages): output the appropriate LaTeX for natbib support.
11249 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11250 variables "use_natbib" and "use_numerical_citations" when reading the
11252 (readInset): read the various natbib cite commands.
11253 (validate): white-space change.
11255 * bufferparams.[Ch]: new variables "bool use_natbib" and
11256 "bool use_numerical_citations".
11257 (writeFile): output them in the LyX file.
11259 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11261 * lyxfunc.C (getStatus): add support for all the inset insertion
11264 * text2.C (insertInset):
11265 * paragraph.C (insetAllowed):
11266 * BufferView_pimpl.C (insertInset): update to take in account the
11267 renaming of insertInsetAllowed
11269 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11271 * text2.C (getInset): new method. returns inset at cursor position.
11273 * BufferView_pimpl.C (Dispatch): changes because of this.
11275 * LyXAction.C (init): rename open-stuff to inset-toggle.
11277 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11279 * text2.C (toggleInset): renamed from openStuff; use
11282 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11284 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11286 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11288 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11290 * buffer.C (readLyXformat2): Add filename to the error dialog
11292 2001-07-18 Juergen Vigna <jug@sad.it>
11294 * tabular.C (GetCellNumber): put an assert here instead of the check!
11296 2001-07-17 Juergen Vigna <jug@sad.it>
11298 * BufferView_pimpl.C (toggleSelection): adapted too.
11300 * text.C (selectNextWord): adapted for use with insets.
11301 (selectSelectedWord): ditto
11303 2001-07-17 Juergen Vigna <jug@sad.it>
11305 * sp_spell.C (PSpell): fix initialitation order.
11307 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * paragraph.C: spacing
11311 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11313 * sp_spell.C: repair language selection for pspell
11315 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * lyxfunc.h: change more methods to begin with lower char.
11319 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11321 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11322 for unknown layouts.
11324 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11326 * buffer.C (readLyXformat2): Generate an error dialog if there are
11329 2001-07-16 Juergen Vigna <jug@sad.it>
11331 * sp_spell.C: always compile ISpell part.
11333 * lyxrc.C: added use_pspell entry and it's handling.
11335 2001-07-13 Juergen Vigna <jug@sad.it>
11337 * sp_spell.C: removed double includes.
11339 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11341 Consistent use of Lsstream.h:
11342 * Lsstream.h: added using std::stringstream for consistencies sake.
11344 * buffer.C: removed using std::stringstream
11346 * lyxfont.C (stateText):
11347 * paragraph.C (asString):
11348 * text.C (selectNextWord, selectSelectedWord):
11349 * text2.C (setCounter):
11350 * vspace.C (asString, asLatexString):
11351 std::ostringstream -> ostringstream.
11353 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11355 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11356 * commandtags.h: add LFUN_HELP_ABOUTLYX
11357 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11359 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11361 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11363 * lyx_gui_misc.C: remove spellchecker
11364 * lyxfunc.C: showSpellchecker
11366 * sp_ispell.h: added
11367 * sp_pspell.h: added
11368 * sp_spell.C: added
11369 * sp_form.[Ch]: removed
11370 * spellchecker.[Ch]: removed
11372 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11374 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11376 (simpleTeXSpecialChars): Simply print the input character without
11377 any special translation if pass_thru is set.
11379 * layout.h: Added bool pass_thru to layout class for being able to
11380 implement pass through of a paragraph for Literate Programming.
11382 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11383 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11384 * layout.C (Read): add "passthru" to list of layout tags and add
11385 code to set the pass_thru boolean when it is read.
11387 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11389 * trans_decl.h: remove allowed from KmodInfo
11391 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11392 remove allowed code
11395 * paragraph_pimpl.C (erase): use boost::prior
11397 * Painter.C (text): use data() instead of c_str() when length is
11399 * WorkArea.C (putClipboard): ditto
11400 * font.h (width): ditto
11402 * BufferView2.C: use it-> instead of (*it). for iterators
11404 * paragraph_pimpl.C: ditto
11405 * paragraph.C: ditto
11406 * minibuffer.C: ditto
11407 * language.C: ditto
11409 * encoding.C: ditto
11410 * counters.C: ditto
11411 * converter.C: ditto
11413 * Variables.C: ditto
11414 * TextCache.C: ditto
11415 * MenuBackend.C: ditto
11416 * LyXAction.C: ditto
11418 * FloatList.C: ditto
11419 * DepTable.C: ditto
11420 * ColorHandler.C (LyXColorHandler): ditto
11422 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11424 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11426 * text2.C (openStuff): reintroduce this method (which had been
11427 nuked in NEW_INSETS frenzy).
11429 * lyxfunc.C (Dispatch): when an action has not been handled, use
11430 its name in the error message, not its number.
11432 * paragraph.C (inInset): change method name to begin with lowercase.
11435 * text2.C: updates because of this.
11437 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11439 * ToolbarDefaults.C (add): add spaces in error message
11441 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11444 (readLyXformat2): rename return_par to first_par, use lyxlex's
11445 pushToken and remove the manual push handling.
11446 (parseSingleLyXformat2Token): add another ert comp. variable:
11447 in_tabular, rename return_par to first_par. handle newlines better
11449 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11451 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11453 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * text2.C (getParFromID): removed
11457 * buffer.C (getParFromID): new method moved form lyxtext.
11458 * BufferView2.C (insertErrors): adjust
11459 (setCursorFromRow): adjust
11460 * BufferView_pimpl.C (restorePosition): adjust
11461 * lyxfunc.C (Dispatch): adjust
11462 * undo_funcs.C (textUndo): adjust
11464 (textHandleUndo): adjust
11465 (textHandleUndo): adjust
11467 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11469 * buffer.C: up' the LYX_FORMAT
11471 * lyxfont.h: turn NO_LATEX on as default
11473 * buffer.C (insertErtContents): new methods of tex style compability.
11474 (parseSingleLyXformat2Token): use it several places.
11475 * tabular.C (OldFormatRead): and here
11477 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11479 * text2.C: remove some commented code.
11482 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11483 * trans.C: changes because of the above.
11485 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11487 * text2.C (setCounter): Fix counters bug with bibliography layout.
11489 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11492 own member functions
11493 (simpleTeXSpecialChars): ditto
11495 2001-07-06 Juergen Vigna <jug@sad.it>
11497 * a lot of files: changed the access to LyXText::status and the
11498 call of undo-functions.
11500 * undo.[Ch]: added a inset_id to the undo informations.
11502 * undo_funcs.[Ch]: added and moved here all undo functions.
11504 * lyxtext.h: give the status enum a weight, made status_ a private
11505 variable and made accessor functions for it, removed the whole bunch
11506 of undo-functions as they are now in their own file, make some
11507 functions publically available. Added function ownerParagraph with
11510 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11511 made InInset() a const function, added getParFromID() function.
11513 * buffer.[Ch]: added const version for inset_iterator functions,
11514 added getInsetFromID() function.
11516 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11517 changed undo functions for new version.
11519 2001-07-05 Juergen Vigna <jug@sad.it>
11521 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11522 unknow mechanism does not call the proper constructor but only this
11523 one also if I request the other!?
11525 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11529 * text2.C (LyXText): use initialization lists.
11531 * lyxtext.h (Selection): initialize set_ and mark_
11532 (init): remove method
11534 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11536 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11538 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11540 * screen.[Ch]: change method names to begin with lowercase
11542 * BufferView_pimpl.C (updateScrollbar): simplify further and
11543 hopefully make it a bit faster.
11545 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11547 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11548 calling directly xforms functions.
11550 * Painter.C (Painter):
11551 * lyx_cb.C (MenuWrite):
11552 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11555 * lyx_gui.C: remove bogus guiruntime extern declaration.
11557 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11559 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11561 (redoDrawingOfParagraph): ditto
11562 (redoParagraphs): ditto
11563 (cutSelection): don't create a object for CutAndPaste use the
11564 static method directly
11565 (pasteSelection): ditto
11567 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11570 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11572 * modifications to some other files because of this.
11574 * Makefile.am (lyx_SOURCES): add XFormsView
11576 * XFormsView.[Ch]: new files
11578 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11579 the main window. Move the gui dependent stuff to XFormsView
11581 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11583 * tabular.C (GetCellInset): update cur_cell also in the row/col
11584 version of this function.
11586 * lyxfunc.C: no need to include figure_form.h here.
11592 * lyxvc.C: no need to include forms.h here.
11594 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11596 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11598 * lyxfunc.C (Dispatch):
11600 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11601 constructor argument.
11603 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11605 * paragraph.C (Paragraph): dont't clear, and just set layout.
11606 (makeSameLayout): use params's copy contructor.
11608 * ParagraphParameters.[Ch] (makeSame): delete method
11610 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11612 * Variables.[Ch]: fix indentation, rename set to isSet
11614 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11616 * lyxfunc.C (Dispatch): fix typo
11618 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11620 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11623 * bufferlist.C: include assert.h for emergencyWrite().
11625 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11627 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11628 give up at last (bug #425202) !
11630 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11636 * spellchecker.C: strip spellchecker options and bring up
11637 preferences tab instead
11639 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11641 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11642 the istringstream constructor
11644 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11646 * paragraph.C (getLayout): fix return value
11648 * paragraph.h: do not declare getLayout as inline.
11650 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11652 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * lyxcursor.h (operator<): new func
11655 (operator>): new func
11656 (operator>=): new func
11657 (operator<=): new func
11659 * text.C (changeCase): use selection.start and selection.end
11660 (changeRegionCase): require from to be <= to. Require par to be a
11663 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11665 2001-06-27 Juergen Vigna <jug@sad.it>
11667 * text.C (cursorLeftOneWord): changed to return the cursor and added
11668 overlay with BufferView * parameter which calls this one.
11670 (selectWord): use new getWord function.
11671 (changeCase): renamed from changeWordCase as and extended to work
11672 also on selections.
11674 * lyxtext.h: added enum word_location
11676 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11677 changeCase as this operates now also on selections.
11679 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11681 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11683 * many files: send debug output to Debug::INFO instead of
11686 * converter.C (View):
11688 (Move): send debug output to Debug::FILES instead of console.
11690 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11692 * lyxfunc.C (getStatus): use func_status
11694 * func_status.h: new header, describing the results of
11695 LyXFunc::getStatus;
11697 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11700 2001-06-25 The LyX Project <jug@sad.it>
11702 * buffer.C (sgmlOpenTag):
11704 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11706 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11708 * text2.C: remove some dead code
11710 * tabular.C (GetCellInset): store the last cell checked (gotten)
11712 * tabular.h: add the helper for the speedup
11714 * lyxtext.h: remove some dead code
11716 2001-06-26 The LyX Project <Asger>
11718 * paragraph.C: Change export to LaTeX of alignment to
11719 \begin{center} and family for better roundtrip work with reLyX.
11721 * Tune the math drawing a bit.
11723 2001-06-25 The LyX Project <Asger>
11725 * LColor.C (LColor): New color for math background. New color
11728 2001-06-25 The LyX Project <jug@sad.it>
11730 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11732 * lyxfunc.C (Open):
11733 * bufferlist.C (newFile): do not restrict to files ending with
11736 * BufferView_pimpl.C (MenuInsertLyXFile):
11738 2001-06-24 The LyX Project <jug@sad.it>
11740 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11743 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * lyxtext.h: rename most methods to begin with a small char.
11746 Lots of changes because of this.
11748 * paragraph.C (Paragraph): do not call fitToSize
11749 (erase): call Pimpl::erase
11750 (insertChar): call Pimpl::insertChar
11751 (insertInset): call Pipl::insertInset
11752 (breakParagraph): do not call fitToSize
11753 (breakParagraphConservative): do not call fitToSize
11754 (fitToSize): remove method
11756 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11758 2001-06-24 The LyX Project <Asger>
11760 * Fix Qt compilation^2
11762 2001-06-24 The LyX Project <jug@sad.it>
11764 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11765 depthHook(getDepth()-1).
11768 * ParagraphParameters.h:
11769 * ParameterStruct.h: change type of depth to unsigned int ==
11770 depth_type. Many adaptations to other files before of that.
11772 2001-06-24 The LyX Project <Asger>
11774 * Fix Qt compilation.
11776 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * paragraph.h: renamed several methods to begin with small letter.
11779 several changes to many parts of the code because of this.
11781 2001-06-23 The LyX Project <jug@sad.it>
11783 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11784 rewritten to discard all double spaces when KeepEmpty is off
11785 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11786 to only handle newlines but not fiddle with spaces and friends.
11788 * lyxfunc.C (MenuNew): when doing 'new from template', use
11789 template_path as default directory
11791 2001-06-23 The LyX Project <Asger>
11793 * Clean-up of header file includes all over
11794 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11796 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11798 * paragraph.h: renamed from lyxparagraph.h
11800 2001-06-23 Asger <lyx@violet.home.sad.it>
11802 * Buffer.h: Removed Buffer::resize
11803 * BufferList.h: Removed BufferList::resize
11804 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11805 the document lazily when we change the width, or the font settings.
11807 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11809 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11811 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11813 * buffer.h: remove out of date comment
11815 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11818 * screen.C: fix "theoretical" GC leak
11820 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11822 * LaTeX.C (scanAuxFile):
11823 (deplog): remove trailing \r when reading stream (useful under
11826 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11828 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11829 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11830 and BufferView::theLockingInset(Inset*), so should use them and not
11831 access bv_->text->the_locking_inset directly.
11833 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11835 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11838 * tex-defs.h: remove old unused file
11840 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11842 * BufferView_pimpl.C: fix typo, remove minibuffer message
11843 when buffer has loaded
11845 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * lyxfunc.C (Dispatch): use stringstream
11848 (MenuNew): use stringstream
11849 (Open): use stringstream
11851 * importer.C (Import): use stringstream
11853 * bufferview_funcs.C (CurrentState): use stringstream
11855 * LaTeX.C (run): use stringstream
11857 * BufferView_pimpl.C (savePosition): use stringstream
11858 (restorePosition): use stringstream
11859 (MenuInsertLyXFile): use stringstream
11861 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11874 * vspace.C: removed // -*- C++ -*- as first line.
11877 * version.h: added // -*- C++ -*- as first line.
11879 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11881 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11883 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11886 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11888 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11891 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11893 * gettext.C: include LString.h even when --disable-nls is on.
11895 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11897 * converter.h (Get): changed argument type from int to
11898 FormatList::size_type to avoid unnecessary conversion.
11900 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11903 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11905 * gettext.h: include LString.h even when --disable-nls is on.
11907 2001-06-07 Juergen Vigna <jug@sad.it>
11909 * text.C (BreakAgain): subst spaces with tabs.
11911 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11912 (resizeInsetsLyXText): set force on resizeLyXText.
11914 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11916 * gettext.h (gettext_init):
11917 (locale_init): use a real definition instead of a macro
11919 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11921 * Bufferview_pimpl.C:
11923 * LColor.C: further lcolor tidies
11925 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11927 * BufferView_pimpl.C (updateScrollbar): simplify.
11929 * BufferView2.C: don't include insets/insetinfo.h, change
11930 prototype for insertInset and call the Pimpl version. let
11931 updateInset call Pimpl version.
11933 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11934 gotoInset to BufferView::Pimpl
11936 2001-06-01 Juergen Vigna <jug@sad.it>
11938 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11939 inside a LockingInset (is the update needed at all?).
11941 2001-05-31 Juergen Vigna <jug@sad.it>
11943 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11944 here not the old one otherwise how should we compare it afterwards
11947 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11952 * FontInfo.C: bring C functions into global namespace when
11955 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11957 * LString.h: make sure config.h has been loaded before LString.h.
11959 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11960 (one for each char read by EatLine!).
11962 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11965 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11967 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11968 to the same as the par we break from
11970 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11972 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11974 * MenuBackend.C (expand): also create menu entries for wide
11975 versions of the floats.
11977 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11979 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11981 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11982 frontends/Makefile.am
11988 * tabular.C (getTokenValue): add std::
11990 * tabular-old.C (getTokenValue): add std::
11991 (getTokenValue): ditto
11992 (getTokenValue): ditto
11994 * screen.C (ToggleSelection): adjust
11996 * lyxtext.h: put selection cursors inside a Selection struct.
11998 * lyxfunc.C (moveCursorUpdate): adjust
12000 * lyxfont.C (latexWriteStartChanges): add std::
12002 * lyxfind.C: adjust
12004 * font.h: delete with(char const *, LyXFont const &)
12006 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12008 * FontInfo.C (getFontname): add std::
12010 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12011 (workAreaButtonPress): adjust
12012 (tripleClick): adjust
12014 (moveCursorUpdate): adjust
12017 * BufferView2.C (gotoInset): adjust
12019 2001-05-30 Juergen Vigna <jug@sad.it>
12021 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12022 to check pspell I add this as default as I now have new pspell
12023 libraries and they seem to use this.
12025 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12027 * text2.C (CutSelection): make the cursor valid before the call to
12030 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12032 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12033 relied on 0 terminated strings and other horrors. Bug found due to
12034 the new assert in lyxstring!
12036 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12039 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12044 * lyxfunc.C (processKeySym): change method of getting to the
12047 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12048 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12049 * BufferView_pimpl.[Ch]: here as private methods.
12051 2001-05-28 Juergen Vigna <jug@sad.it>
12053 * text.C (SetHeightOfRow): added the update() call again as it is
12054 needed to initialize inset dimensions!
12056 2001-05-16 Juergen Vigna <jug@sad.it>
12058 * text2.C (SetCharFont): Add new function with BufferView * and
12059 bool toggleall parameters for setting insets internal fonts.
12060 (SetFont): Freeze the undo as we may change fonts in Insets and
12061 all this change should be inside only one Undo!
12063 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12064 setting font's in insets as for them we have the SetFont function!
12066 2001-05-15 Juergen Vigna <jug@sad.it>
12068 * text2.C (ClearSelection): to be sure we REALLY don't have any
12071 * tabular.C (TeXCellPreamble): fixed the left border problem for
12074 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12076 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12079 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12081 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12082 LFUN_BREAKPARAGRAPH.
12084 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12085 help test to "internal only", similar for LFUN_INSERT_URL
12087 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12088 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12089 auto_region_delete and deadkeys.
12091 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12094 * LColor.C: remove some dead entries, tidy a little
12096 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12098 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12100 (Dispatch): implement LFUN_ESCAPE
12102 * commandtags.h: add LFUN_ESCAPE
12104 * LyXAction.C (init): add entry for LFUN_ESCAPE
12106 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12107 Remove commented code.
12108 (insertNote): moved here
12109 (open_new_inset): moved here
12111 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12114 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12116 * kbmap.C (findbinding): clean it up and make it work correctly.
12118 * lyx_main.C (init): do not pass argc and argv as parameters
12120 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12122 * buffer.C: fix path for OS/2 & Win32
12126 * lyx_main.C: Added os:: class.
12128 * os2_defines.h: update
12130 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12132 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12133 better by trying again with reduced state.
12135 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12137 * lyxrc.C (read): print error about invalid key sequence only when
12138 debugging (because not all latinX keysyms are known to some X
12141 * kbsequence.C (getiso): add a few std:: qualifiers
12142 (getiso): comment out extra return statement.
12144 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12148 (Dispatch): enhance the accent inset a bit. (not perfect)
12150 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12152 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12154 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12156 * bufferlist.C (emergencyWrite): fix assert() call
12158 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12160 * text.C (InsertChar): Added trivial patch to only send the "you
12161 can not do multiple spaces this way" message once during a
12164 2001-05-08 Baruch Even <baruch@lyx.org>
12166 * Makefile.am: Changed order of libraries to get LyX to link properly
12167 with the gnome frontend.
12169 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * LaTeXFeatures.h: add a std:: qualifier
12173 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12175 * paragraph.C (String): use stringstream
12177 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12179 * paragraph.C (writeFile): remove footflag arg
12181 * buffer.C (makeLaTeXFile): use stringstream
12182 (latexParagraphs): remove footnot gurba
12184 * LaTeXFeatures.C (getPackages): use stringstream
12185 (getMacros): likewise
12186 (getTClassPreamble): likewise
12187 (getFloatDefinitions): new method
12189 * paragraph.C (writeFile): reindent
12192 * WorkArea.h: revert the xpos + etc changes.
12194 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12196 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12198 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12199 (pasteSelection): likewise
12200 * text2.C (CreateUndo): likewise
12202 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12204 * minibuffer.C (peek_event): temporarily reduce the functionality
12205 of the minibuffer (to allow args on lfuns)
12207 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12208 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12210 * buffer.C (readInset): add compability reading of old float
12211 lists, add reading of new style float list.
12212 (readInset): avoid reevaluation of inscmd.getCmdName()
12213 (getLists): reindent
12215 * MenuBackend.C (MenuItem): implement parsing of
12216 md_floatlistinsert and md_floatinsert.
12217 (expand::LastFiles): move initalizaton of iterators out of loop,
12218 avoid reevaluation.
12219 (expand::Documents): introduce typdedef vector<string> Strings,
12221 (expand::ExportFormats): introduce typedef vector<Format const *>
12222 Formats, and use it.
12223 (expand): implement FloatListInsert and FloatInsert.
12225 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12226 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12227 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12229 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12231 (Dispatch::LFUN_FLOAT_LIST): implement
12233 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12235 * LaTeX.C (run): Fix problem with --export code.
12237 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12239 * BufferView.[Ch] (workarea): removed.
12240 (getClipboard) new method; wrapper for workarea()->getClipboard()
12242 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12245 * WorkArea.h (width, height, xpos, ypos): These methods all
12246 returned the dimensions of the work_area sub-area of WorkArea,
12247 resulting in a position error if the WorkArea were resized. Now
12248 return the dimensions of the entire WorkArea.
12250 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12252 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12254 * LaTeX.C (deplog): correct the syntax of regex reg1
12256 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12258 * undo.C: remove !NEW_INSETS cruft
12260 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * text2.C: remove !NEW_INSETS cruft
12264 * text.C: remove !NEW_INSETS cruft
12266 * tabular.C: remove !NEW_INSETS cruft
12268 * spellchecker.C: remove !NEW_INSETS cruft
12270 * lyxtext.h: remove !NEW_INSETS cruft
12272 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12274 * lyxfunc.C: remove !NEW_INSETS cruft
12276 * lyxfind.C: remove !NEW_INSETS cruft
12278 * lyx_cb.C: remove !NEW_INSETS cruft
12280 * figureForm.C: remove !NEW_INSETS cruft
12282 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12284 * buffer.[Ch]: remove !NEW_INSETS cruft
12286 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12288 * CutAndPaste.C: remove !NEW_INSETS cruft
12290 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12292 * BufferView2.C: remove !NEW_INSETS cruft
12294 * BufferView.h: remove !NEW_INSETS cruft
12296 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12298 * Lsstream.h: include LString.h before the sstream headers to
12299 fix problem with gcc 2.95.3 and lyxstring
12301 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12303 * lyx_main.C: add using directives when needed for C functions
12304 declared in std:: namespace.
12306 2001-04-27 Juergen Vigna <jug@sad.it>
12308 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12309 (SetHeightOfRow): comment out the update call should not be needed!
12311 2001-04-13 Juergen Vigna <jug@sad.it>
12313 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12314 (LyXTabular): tried to minimize operator= operations (and realized
12315 hopfully Lars wish).
12317 2001-04-27 Juergen Vigna <jug@sad.it>
12319 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12321 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12325 * buffer.C (readInset): hack to make listof algorithm work
12327 * BufferView_pimpl.C: hack to make listof algorithm work
12329 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12331 * LyXAction.C: removed all !NEW_INSETS cruft
12332 (init): moved lfun_item in method
12334 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12336 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12338 * BufferView2.C (theLockingInset): white space.
12340 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12342 * minibuffer.C: include <iostream>
12344 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12346 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12348 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12350 * text.[Ch] (TransposeChars): new method
12352 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12354 * call message directly through LyXView instead of through LyXFunc
12355 * BufferView2.C: adjust
12356 * BufferView_pimpl.C: adjust
12357 * FontLoader.C: adjust
12359 * bufferview_funcs.C: adjust
12360 * converter.C: adjust
12361 * figureForm.C: adjust
12362 * importer.C: adjust
12364 * lyx_gui_misc.C: adjust
12365 * lyxfunc.C: adjust
12368 + more files in subdirs
12370 * lyxparagraph.h (size): move up int file
12373 * adjust all uses of Assert to lyx::Assert.
12375 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12376 lyxfunctional in namespace lyx
12377 * layout.C (hasLayout): ditto
12380 (delete_layout): ditto
12381 (NumberOfClass): ditto
12382 * converter.C (GetFormat): ditto
12387 * bufferlist.C (getFileNames): ditto
12388 (emergencyWriteAll): ditto
12391 * MenuBackend.C (hasSubmenu): ditto
12394 * BufferView_pimpl.C (getInsetByCode): ditto
12396 2001-04-18 Juergen Vigna <jug@sad.it>
12398 * vspace.C (asLatexString): fixed the 100% problem.
12400 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12402 * lyxfunc.C (Dispatch):
12404 * minibuffer.h: add a few std:: qualifiers
12406 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12408 * minibuffer.[Ch]: reimplement so that commands is initiated and
12409 run from lyxfunc, simplified som handling, and made the completion
12410 and history code for complete. wip.
12412 * lyxfunc.C (processKeySym): call message
12413 (miniDispatch): new temporary method
12414 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12415 (LFUN_MESSAGE): implement
12416 (LFUN_MESSAGE_PUSH): implement
12417 (LFUN_MESSAGE_POP): implement
12418 (initMiniBuffer): the initial/defualt minibuffer message.
12420 * lyxfont.[Ch]: inline some more getters
12422 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12424 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12426 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12427 (AutoSave): use LFUN_MESSAGE
12428 (Reconfigure): ditto
12430 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12432 * figureForm.C: use LFUN_MESSAGE
12434 * converter.C (runLaTeX): use LFUN_MESSAGE
12436 * bufferview_funcs.C: use LFUN_MESSAGE
12438 (changeDepth): ditto
12440 * bufferparams.h: use boost::
12442 * bufferlist.h: inherit privately from noncopyable
12444 * bufferlist.C (loadLyXFile): remove some commented code.
12446 * buffer.C (runChktex): use LFUN_MESSAGE
12448 * ShareContainer.h: inherit privately from noncopyable
12450 * ParagraphParameters.[hC] (depth): inline it.
12452 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12454 (message): new method
12455 (messagePush): ditto
12456 (messagePop): ditto
12457 (show): init minibuffer
12458 (showState): direct call
12460 * LaTeX.[Ch]: inherit privately from noncopyable
12461 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12462 instead of WriteStatus.
12464 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12466 * BufferView_pimpl.C (buffer): don't init minibuffer
12467 (workAreaButtonPress): use LFUN_MESSAGE
12468 (workAreaButtonRelease): ditto
12469 (savePosition): ditto
12470 (restorePosition): ditto
12471 (MenuInsertLyXFile): ditto
12472 (workAreaExpose): don't init minibuffer
12473 (update): remove commented code, simplify
12475 * BufferView2.C (openStuff): use LFUN_MESSAGE
12476 (toggleFloat): ditto
12479 (copyEnvironment): ditto
12480 (pasteEnvironment): ditto
12485 (updateInset): remove some commented code
12487 * lastfiles.h: inherit privately from noncopyable
12490 * lyx_main.h: ditto
12492 * lyxlex_pimpl.h: ditto
12494 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12495 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12496 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12498 * LyXAction.h: inherit privately from noncopyable, add methods
12499 func_begin, func_end, returning iterators to the func map.
12501 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12502 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12503 (func_begin): new method
12504 (func_end): new method
12506 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12508 (copySelection): ditto
12509 (pasteSelection): ditto
12511 * BufferView.C: whitespace change
12512 * BufferView.h: inherit privately from noncopyable
12514 2001-04-16 Allan Rae <rae@lyx.org>
12516 * tabular-old.C (l_getline):
12517 * spellchecker.C (sc_check_word):
12518 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12519 an unrecognised preprocessor directive. So ensure they're wrapped.
12521 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12523 * src/exporter.C (Export): Give an error message when path to file
12526 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12528 * LaTeX.C (deplog): Always check that foundfile exists.
12530 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12533 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12535 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * tabular.[Ch] (getLabelList): implement new method
12539 * minibuffer.h: comment ouf setTiimer
12541 * minibuffer.C (ExecutingCB): constify res
12542 (peek_event): constify s
12543 (Set): constify ntext
12544 (Init): constify nicename
12546 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12548 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12549 (savePosition): use two params to Minibuffer::Set
12550 (restorePosition): ditto
12552 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12554 * lyx_main.C: include language.h
12556 * Makefile.am (lyx_main.o): add language.h
12558 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12564 * CutAndPaste.C: include gettext.h
12566 * lyxfont.h: remove old hack with ON and OFF.
12569 * lyxfont.h: do not include language.h...
12574 * bufferview_funcs.C:
12580 * paragraph.C: ... but do it here instead
12582 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12586 * tabular.C: small reformat
12588 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12591 (BreakParagraph): ditto
12592 (SetOnlyLayout): ditto
12595 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12598 * lastfiles.C: removed most using decl, add std:: where needed
12600 * buffer.C: ws changes
12602 * MenuBackend.C (class compare_format): put into anon namespace
12603 (expand): constify label, names, action, action2
12606 * text.C (SingleWidth): constify font
12607 (IsBoundary): constify rtl2
12608 (GetVisibleRow): constify ww
12610 * LaTeX.C (deplog): constify logfile
12612 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12614 (workAreaExpose): constify widthChange, heightChange
12616 * lyxrow.C (par): moved
12619 * lyxrow.h: as inlines here
12621 * lyxfont.h (shape): moved from lyxfont.C
12622 (emph): moved from lyxfont.C
12624 * lyxfont.C (LyXFont): use initialization list for all
12626 (shape): move to lyxfont.h as inline
12627 (emph): move to lyxfont.h as inline
12630 2001-04-04 Juergen Vigna <jug@sad.it>
12632 * vspace.C: had to include stdio.h for use of sscanf
12634 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12637 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12638 independent of xforms.
12640 2001-04-02 Juergen Vigna <jug@sad.it>
12642 * spellchecker.C: fixed namespace placing!
12644 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12646 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12647 the LyXParagraph * is 0.
12649 2001-03-29 Juergen Vigna <jug@sad.it>
12651 * vspace.C: added support for %, c%, p%, l%.
12652 (stringFromUnit): added helper function.
12653 (asLatexString): changed to give right results for the %-values.
12655 * buffer.C: convert the widthp in a width%.
12657 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12659 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12662 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12663 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12665 * lyx_cb.[Ch]: see above.
12667 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12671 * lyx.[Ch]: replaced by figure_form.[Ch].
12675 * lyxfunc.C: changed headers associated with above changes.
12677 2001-03-27 Juergen Vigna <jug@sad.it>
12679 * BufferView_pimpl.C: set the temporary cursor right!
12681 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12683 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12685 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12687 * LString.h: removed "using std::getline"!
12689 * BufferView_pimpl.C (Dispatch): changes due to changes in
12690 InsetInclude::Params.
12692 * buffer.C (tag_name): removed redundant break statements as they were
12693 producing lots of warnings with my compiler.
12695 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12697 * LString.h: add "using std::getline" when using the real <string>.
12699 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12701 * buffer.C: removed bitset usage.
12702 PAR_TAG moved to an anonymous name space.
12703 (tag_name): new funtion, also in the anonymous namespace.
12704 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12705 (makeDocBookFile): clean code. Completed transition from string arrays
12707 (SimpleDocBookOnePar): code clean.
12709 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12711 * tabular.C: add some comments.
12713 2001-03-22 Juergen Vigna <jug@sad.it>
12715 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12716 compatibility read a bit and fixed bug with minipage in different
12719 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12721 * buffer.C (pop_tag): removed.
12722 (push_tag): removed.
12723 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12724 array replaced with vector. Added support for CDATA sections.
12725 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12727 (makeDocBookFile): XML conformant declaration of CDATA section,
12728 fixed bug related to <emphasis> in the first paragraph char.
12729 (sgmlOpenTag): exclude empty tags.
12730 (sgmlCloseTag): ditto.
12732 * buffer.h (pop_tag): removed.
12733 (push_tag): removed.
12735 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12737 * language.h (Languages): added size_type and size().
12739 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12741 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12742 response on compability reading of minipages. One probliem is that
12743 the old usage of minipages was «flertydig»
12745 * several files here and in subdirs: don't use static at file
12746 scope use anon namespaces instead.
12748 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12750 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12751 LaTeX output. This is necessary for Literate document
12754 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12756 * buffer.C: insert hfill when needed.
12758 * tabular.C (l_getline): use string::erase, small whitespace change.
12760 * BufferView_pimpl.C: try the anon namespace.
12761 * WorkArea.C: ditto
12763 2001-03-16 Juergen Vigna <jug@sad.it>
12765 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12766 otherwise it won't open options-dialogs.
12768 * buffer.C: honor pextraWidth(p) on converting minipages.
12770 * tabular.C (l_getline): changed the functions to strip trailing \r.
12772 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12774 * BufferView_pimpl.C:
12775 * minibuffer..C: added "using SigC::slot" declaration.
12777 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12779 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12785 * paragraph.C: ditto
12787 * lyxtext.h: NO_PEXTRA
12789 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12791 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12792 * ParameterStruct.h: ditto
12793 * ParagraphParameters.h: ditto
12794 * lyxparagraph.h: ditto
12796 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12798 * buffer.C: add compability for minipage alignment.
12799 (latexParagraphs): remove unwanted pextra check.
12801 * several files: remove CXX_WORKING_NAMESPACES
12803 * buffer.C (pop_tag): tie is in namespace boost
12805 * BufferView.h: noncopyable is in namespace boost
12807 * lyx_main.h: ditto
12810 * lastfiles.h: ditto
12811 * bufferlist.h: ditto
12812 * ShareContainer.h: ditto
12814 * LyXAction.h: ditto
12817 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12819 * Merging changes from BRANCH_MVC back into HEAD.
12821 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12823 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12825 * BufferView_pimpl.C: change from intl.C
12829 * Makefile.am: move combox.*
12835 * intl.C: remove dialog (covered by prefs)
12837 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12839 * lyxfunc.C (Dispatch): removed redundant break statement.
12841 2001-03-14 Juergen Vigna <jug@sad.it>
12843 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12845 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12847 * buffer.C: add hack to fix compability reading of minipages.
12849 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12851 * buffer.C (getLists): Cleanup.
12853 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * lyxfont.C (update): don't honor toggleall on font size.
12857 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12861 * Makefile.am: moved to frontends/xforms/
12865 * BufferView_pimpl.C: changes for moved mathpanel
12867 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12869 * gettext.h: fix gettext_init() in --disable-nls
12871 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12873 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12875 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12878 * lyx.h: strip external form
12880 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12882 * BufferView_pimpl.C: add comment, destroySplash()
12884 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12886 * BufferView_pimpl.C:
12890 * lyxfunc.C: use re-worked insetinclude
12892 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12894 * buffer.C: add using std::stringstream.
12896 * lyx_cb.C: readd using std::ios.
12898 * buffer.C: add using std::map.
12900 * BufferView_pimpl.C: add using std::vector.
12902 * ShareContainer.h: add std:: to swap.
12904 * buffer.h: add some typedefs
12905 * buffer.C (getLists): use them
12906 (getLists): renamed from getTocList.
12907 add a counter for the different float types and use it in the
12909 (getLists): use the same counter for the NEW_INSETS and the "non"
12912 * lyx_cb.h: remove unused items, includes, using etc.
12914 * ShareContainer.h: remove some commented code, add more comments
12915 and "documentation".
12917 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12919 * buffer.C (getTocList): make the list also when NEW_INSETS is
12922 * buffer.h: remove TocType
12924 * buffer.C (getTocList): change to return a map<string,
12925 vector<TocItem> >, implement for dynamic number of list.
12927 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12928 * text2.C (PasteSelection): adjust
12929 * CutAndPaste.C (pasteSelection): adjust
12931 * FloatList.C (FloatList): update from the new_insets branch.
12932 * Floating.[Ch]: ditto
12933 * LaTeXFeatures.C: ditto
12935 * lyxlex_pimpl.C: ditto
12937 * paragraph.C (Last): remove when NEW_INSETS is defined.
12939 * other file: changes because of the above.
12941 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12943 * lyxparagraph.h: rename next to next_, previous to previous_,
12944 make them private for NEW_INSETS. Rename Next() to next(),
12945 Previous() to previous().
12947 * other files: changes because of the above.
12949 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12952 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12955 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12957 * main.C (main): pass lyx_localedir to gettext_init().
12959 * gettext.h: remove locale_init and gettext_init macros
12961 * gettext.C (locale_init): new function
12962 (gettext_init): new function
12964 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12967 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12969 * Moved credits to frontends:
12970 * credits.[Ch]: removed
12971 * credits_form.[Ch]: removed
12972 * lyx_gui_misc.C: remove credits stuff
12975 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12977 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12979 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12980 unneeded destructor.
12982 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12983 a standalone pointer again.
12985 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12987 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12993 * ToolbarDefaults.C:
13002 * BufferView_pimpl.C: use new file dialog in GUII
13005 * lyx_cb.C: remove LayoutsCB to Toolbar
13007 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13009 * ShareContainer.h (get): add std:: qualifier
13011 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13013 * ShareContainer.h: define a proper ShareContainer::value_type
13014 type (and use typename to please compaq cxx)
13016 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13018 * lyxparagraph.h: move serveral local vars to
13019 ParameterStruct/ParagraphParameters., use ShareContainer in
13020 FontTable., make vars in FontTable private and add getter and
13023 * paragraph.C: changes because of the above.
13025 * lyxfont.h: remove copy constructor and copy assignment. (the
13026 default ones is ok), move number inside FontBits. move inlines to
13029 * lyxfont.C: add number to initializaton of statics, move several
13030 inlines here. constify several local vars. some whitespace
13031 cleanup. Dont hide outerscope variables.
13033 * Spacing.h: add two new constructors to match the set methods.
13035 * ShareContainer.h: new file, will perhaps be moved to support
13037 * ParameterStruct.h: new file
13039 * ParagraphParameters.h: new file
13041 * ParagraphParameters.C: new file
13043 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13044 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13046 * BufferView_pimpl.C: ParagraphParameter changes.
13047 * buffer.C: Likewise.
13048 * bufferview_funcs.C: Likewise.
13049 * text.C: Likewise.
13050 * text2.C: Likewise.
13052 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13054 * lyxfind.C (LyXReplace): do not redefine default argument in
13056 (IsStringInText): ditto
13057 (SearchForward): ditto
13058 (SearchBackward): ditto
13060 2001-03-06 Juergen Vigna <jug@sad.it>
13062 * lyxfind.C (IsStringInText): put parentes around expressions.
13064 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13066 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13068 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13070 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13072 * stl_string_fwd.h: add comment
13074 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13077 * tabular.C: remove unused DocBook methods
13083 killed DO_USE_DEFAULT_LANGUAGE
13085 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * lyx_gui.C: do not include language.h.
13089 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13090 arguments in function implementation.
13092 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13094 * BufferView_pimpl.C: add <ctime>
13096 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13098 * BufferView_pimpl.C: add using std::find_if
13100 2001-02-27 José Matos <jamatos@fep.up.pt>
13102 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13105 2001-02-11 José Matos <jamatos@fep.up.pt>
13107 * buffer.C (makeDocBookFile): command styles now have a parameter as
13108 "title" by default.
13110 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13112 * layout_forms.[Ch]: removed
13113 * lyx_cb.[Ch]: out character
13114 * lyx_gui.C: out character
13115 * lyx_gui_misc.C: out character
13116 * bufferview_funcs.C: : out character,
13117 added toggleall as parameter in ToggleAndShow
13119 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13121 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13123 * text2.C (SetCurrentFont): Disable number property at boundary.
13125 2001-02-26 Juergen Vigna <jug@sad.it>
13127 * lyxfunc.C (getStatus): added a string argument override function so
13128 that this is correctly called from LyXFunc::Dispatch if it contains a
13129 do_not_use_argument which is used!
13130 (Dispatch): added check for "custom" export and call appropriate func.
13132 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13134 * lyxrc.C: Add language_command_local, language_use_babel and
13135 language_global_options.
13137 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13139 * buffer.C (makeLaTeXFile): Use language_use_babel and
13140 language_global_options.
13142 2001-02-23 Juergen Vigna <jug@sad.it>
13144 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13145 which works with LyXText and putted it inside BufferView. Here now we
13146 only call for that part the BufferView::Dispatch() function.
13148 * BufferView.C (Dispatch): added.
13150 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13151 functions which needs to use a LyXText over from LyXFunc.
13152 (MenuInsertLyXFile): added
13153 (getInsetByCode): added
13154 (moveCursorUpdate): added
13155 (static TEXT): added
13157 2001-02-22 Juergen Vigna <jug@sad.it>
13159 * BufferView_pimpl.C (update): call a status update to see if LyXText
13162 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13164 * vc-backend.C (revert): implement for CVS
13165 (getLog): implement for CVS
13167 2001-02-20 Juergen Vigna <jug@sad.it>
13169 * text2.C (ClearSelection): added BufferView param for inset_owner call
13171 * lyxfunc.C (TEXT): added this function and use it instead of
13172 directly owner->view()-text of getLyXText().
13174 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13176 * src/layout_forms.C: out preamble
13177 * src/layout_forms.h: out preamble
13178 * src/lyx_cb.C: out preamble
13179 * src/lyx_cb.h: out preamble
13180 * src/lyx_gui.C: out preamble
13181 * src/lyx_gui_misc.C: out preamble
13182 * src/lyxfunc.C: connect with guii preamble
13184 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13186 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13188 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13190 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13191 whether to run bibtex.
13193 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13195 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13197 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13199 * Makefile.am (lyx_SOURCES): removed bibforms.h
13201 * vspace.h: doxygen
13203 * text.C (GetVisibleRow): make several local vars const
13205 * tabular.C: small cleanup.
13207 * lyxserver.C (callback): use compare instead of strncmp
13209 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13210 inlines to after class or to paragraph.C
13212 * lyxfont.h: remove friend operator!=
13214 * converter.h: move friend bool operator< to non friend and after
13217 * combox.h: small cleanup
13219 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13220 to inlines after class def.
13222 * buffer.C (pop_tag): use string operations instead of strcmp
13224 * bmtable.c: doxygen, small cleanup
13226 * LaTeX.h: remove friend operator==
13228 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13240 * BufferView_pimpl.C:
13241 * BufferView.[Ch]: remove cruft
13243 2001-02-14 Juergen Vigna <jug@sad.it>
13245 * lyxfunc.C: removed #if 0 unused code
13247 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13249 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13251 * text2.C (SetSelection): added a BufferView * parameter
13253 2001-02-13 Juergen Vigna <jug@sad.it>
13255 * lyxfunc.C (Dispatch): fixed protected blank problem.
13256 * BufferView2.C (protectedBlank): added LyxText * parameter.
13258 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13259 (AppendColumn): same as above for column_info.
13261 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13262 (moveCursorUpdate): use a LyXText param for support of InsetText.
13264 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13265 (tripleClick): ditto
13267 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13269 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13271 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13273 * text2.C (SetSelection): set correct update status if inset_owner
13274 (ToggleFree): ditto
13276 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13278 * tabular.C: remove some commented code.
13280 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13282 * BufferView_pimpl.C: call hideSplash()
13284 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13287 * bibforms.h: remove
13290 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13291 add LFUN_CHILD_CREATE
13293 * counters.h: fix tiny typo
13298 * lyx.C: move splash to frontends/xforms/
13300 * lyx_gui_misc.C: move Include and Bibform to frontends
13302 * lyxvc.h: clarify comment
13304 * vspace.C: tiny housekeeping
13306 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13308 * text.C (PrepareToPrint): RTL Fix.
13310 * paragraph.C (GetUChar): New method.
13311 (String): Use GetUChar.
13313 * buffer.C (asciiParagraph): Use GetUChar.
13315 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13317 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13319 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13322 * buffer.C: rename to getLogName(), handle
13323 build log / latex log nicely
13325 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * MenuBackend.h: remove support for reference menuitem type.
13330 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13332 * BufferView_pimpl.C: housekeeping
13333 * BufferView_pimpl.h:
13338 * minibuffer.h: move Timeout GUI-I
13340 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13342 * lyxrc.C (read): Update converters data-structures.
13344 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13346 * LaTeX.h (operator!=): add operator != for Aux_Info
13348 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13350 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13352 * LaTeXLog.C: deleted, useful code moved to Buffer
13355 * buffer.C: new function getLatexLogName()
13361 * lyxfunc.C: use frontends for LaTeX and VC logs
13363 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * LaTeX.h: yet another std:: that Allan forgot.
13367 * Variables.C (set): renamed from isset(), because this clashes
13368 with some HP-UX macros (grr).
13370 2001-02-06 Allan Rae <rae@lyx.org>
13372 * LaTeX.h: Another bug fix. Missing std:: this time.
13374 2001-02-04 Allan Rae <rae@lyx.org>
13376 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13377 floats problem. I've left it commented out because it's not quite
13378 correct. It should also test that the current object is a table or
13379 figure inset. But I haven't gotten around to figuring out how to do
13380 that. I *think* it'll be something like: "table" == inset.type()
13382 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13385 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13387 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13388 all the citation/databases/styles in the auxilary file.
13389 (run): Rerun latex if there was a babel language error.
13391 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13393 * text.C (Backspace): Preserve the font when changing newline char
13395 (BreakParagraph): If the cursor is before a space, delete the space.
13397 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13399 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13401 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13402 new argument (code).
13403 (ChangeCitationsIfUnique): New method.
13405 * paragraph.C (GetPositionOfInset): Handle bibkey.
13407 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * BufferView_pimpl.h: change type of Position::par_pos to
13410 LyXParagraph::size_type.
13412 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13414 * BufferView_pimpl.C (savePosition, restorePosition): Write
13415 messages to minibuffer.
13417 2001-01-28 José Matos <jamatos@fep.up.pt>
13419 * buffer.C (makeDocBookFile): adds support for document language.
13420 A silly restriction on the name of LatexCommand types where removed.
13421 Added support for CDATA sections, allows to chars unescaped, used
13422 among others in code, to avoid escape < and >.
13424 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13426 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13427 saved positions instrad of a stack. Furthermore, a position is
13428 stored using paragraph id/paragraph position.
13430 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13431 Remove LFUN_REF_BACK.
13433 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13435 * converter.C (dvipdfm_options): New method.
13437 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13439 * vspace.C (isValidLength): Fix for empty input string.
13441 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13443 * LyXAction.C (init): change description of LFUN_FIGURE to
13446 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13448 * LaTeX.C: add using directive
13450 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13452 * MenuBackend.C (expand): Fix the sorting of the formats.
13454 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13456 * lyx_main.C: tiny error message fix
13458 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13460 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13461 calling fl_initialize(). This fixes the problem with ',' as
13462 decimal separator in text files.
13464 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13466 * trans.C (process): Fix the keymap bug.
13468 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13470 * LaTeX.C (scanAuxFiles): New method. Provides support for
13471 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13472 (scanLogFile) Scan for "run BibTeX" messages.
13474 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13475 OT1 font encoding. Also, load the aecompl package if the ae
13478 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13480 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13482 * texrow.C (increasePos): turn two error messages into debug
13485 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13487 * LaTeX.C (scanAux): Handle the \@input macro.
13488 (runBibTeX): Use scanAux().
13490 * language.C (latex_options_): New field.
13492 * LaTeXFeatures.C (getMacros): Add language macros.
13494 * buffer.C (makeLaTeXFile): Small fix.
13496 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13498 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13500 * text2.C: add a using directive.
13502 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13507 * lyxfunc.C: kill LyXBell.
13509 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13511 * text.C (IsBoundary): Remove the error message
13513 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13515 * lyxrc.C (setDefaults): Correct initialization value for
13518 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13520 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13523 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13524 and GotoNextNote().
13526 * src/LyXAction.C: Added reference-next.
13528 * text.C (InsertChar): Use contains instead of strchr.
13530 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13532 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13534 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13535 alignment commands (when needed).
13537 * text.C (InsertChar): Add ':' to number separator chars.