2 2003-10-28 André Pönitz <poenitz@gmx.net>
9 * text2.C: general cleanup (lots of small stuff)
11 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
13 * text2.C (cursorEnd): simple fix to the "end key goes to one
14 before the end on last row" bug
16 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
18 * text.C (backspace): fix the "zombie characters"
20 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
22 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
24 2003-10-27 André Pönitz <poenitz@gmx.net>
26 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
28 * factory.C: handle new InsetPagebreak, InsetLine
30 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
31 and move handling into new InsetPagebreak, InsetLine
35 * ParagraphParameters.C:
48 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
57 * text3.C: remove lastPos uses in favour of Row::endpos
59 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
61 * undo.C (performUndoOrRedo): fix two crashes by setting a
62 cursor by hand and reordering some calls. Use bv->lockInset instead
63 of inset->edit because the latter loses cursor information
65 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
67 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
69 (rowBreakPoint): fix width. change point to point + 1.
72 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
75 * lyxfunc.C: fix (at least partly) the problems
76 with the Nav menu and headers inside branch insets
79 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
81 * paragraph.C (getChar): add strong asserts
83 * lyxrow_funcs.C (lastPos): remove hideous hack
85 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
86 (fill): adjust to that (avoid an infinite loop)
88 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
90 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
92 2003-10-23 André Pönitz <poenitz@gmx.net>
94 * RowList_fwd.h: change list<> to vector<> to gain speed
95 after suggestion from Alfredo
97 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
99 * lyxtext.h: move the bidi stuff from here...
102 * Bidi.[Ch]: ... to here
104 2003-10-23 André Pönitz <poenitz@gmx.net>
107 * text.C (isLastRow, isFirstRow): new functions
109 * paragraph.h: new width cache member
111 * rowpainter.C: replace RowList::iterator with Row & where possible
113 * lyxfunc.C: replace several view()->text with a single call
115 * toc.C: fix 'unused' warning
117 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
119 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
120 when woring with stream::pos_type
121 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
123 2003-10-22 André Pönitz <poenitz@gmx.net>
126 * text.C: use Row & instead of RowList::iterator
128 * lyxrow.h: rename end() to endpos()
134 2003-10-22 Angus Leeming <leeming@lyx.org>
136 * buffer.[Ch] (fully_loaded): new member function, returning true
137 only when the file has been loaded fully.
138 Used to prevent the premature generation of previews and by the
139 citation inset to prevent computation of the natbib-style label.
141 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
142 templates are all set up.
144 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
146 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
148 * text.C: fixed an "oops" in the "is a bit silly"
151 2003-10-21 André Pönitz <poenitz@gmx.net>
153 * FuncStatus.[Ch]: small stuff, whitespace
155 * lyxfont.[Ch]: operator<<() for debug reasons
159 * lyxtext.h: whitespace, spelling
161 * paragraph.C: naming of variables
164 * text2.C: small stuff
167 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
169 * text.C: (1) finish off the inset display() work;
170 (2) fix the "is a bit silly" bug (accessing char
173 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
175 * text.C: re-introduce display() for insets, fixing the
176 various bugs (stretch of line above, math inset
179 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * text.C (rightMargin): remove spurious semicolon
183 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
186 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
188 * text3.C: fix one crash due to wrong cursor def
190 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * vc-backend.C (scanMaster): make the regex static
194 * LaTeX.C (scanAuxFile): make the regexs static
196 * text3.C (doInsertInset, dispatch, dispatch):
197 * text2.C (cursorUp, cursorDown):
198 * text.C (selectNextWordToSpellcheck):
199 * BufferView_pimpl.C (dispatch):
200 * lyxfunc.C (dispatch): localDispatch -> dispatch
202 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * lyxsocket.C: include <cerrno>
206 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
208 * lyxfunc.C (dispatch): remove textcache stuff
210 * bufferlist.C (release): remove textcache stuff
213 * TextCache.C: delete file
214 * TextCache.h: delete file
216 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
218 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
219 delete of the bv_->text.
220 (resizeCurrentBuffer): remove texcache stuff
221 (workAreaResize): ditto
223 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
228 2003-10-16 André Pönitz <poenitz@gmx.net>
235 * text3.C: speed up by storing y positions per paragraph plus per-row
236 offset instead of having a 'full' y position in the row.
238 2003-10-15 André Pönitz <poenitz@gmx.net>
242 * undo.[Ch]: make undo aware of inner insets
244 2003-10-14 Angus Leeming <leeming@lyx.org>
246 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
247 static member functions LyX::ref() and LyX::cref.
248 (lastfiles): new accessor functions for the new lastfiles_ member var.
249 (addLyXView, views_): add a new LyXView to the list of views_.
250 (updateInset): loop over all LyXViews to call their own updateInset
251 member function, returning a pointer to the Buffer owning the inset.
253 * BufferView_pimpl.C (loadLyXFile):
254 * MenuBackend.C (expandLastfiles):
255 * bufferlist.C (MenuWrite, QuitLyX):
256 lastfiles is no longer a global variable.
257 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
259 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
260 static function. Access through LyX::cref().emergencyCleanup().
262 2003-10-14 André Pönitz <poenitz@gmx.net>
264 * iterators.[Ch]: new direct access to innermost LyXText and Inset
266 * undo.[Ch]: restoring part of 'undo in insets'
269 * undo_funcs.[Ch]: merge with undo.[Ch]
271 * tabular.C: small cleansing stuff
273 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
275 * paragraph_funcs.C (readParToken): report unknown insets as error
276 boxes. Use the outer paragraph as location (also for unknown
279 * factory.C (readInset): do not abort on reading an unknown inset.
282 2003-10-13 Angus Leeming <leeming@lyx.org>
284 * lyx_main.C (LyX): remove call to setDisplayTranslator().
286 * lyxrc.C: displayTranslator is now a function,
287 declared in GraphicsTypes.h.
289 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
291 * format.C: new placeholder $$a to pass the socket address.
293 * bufferlist.[Ch]: new function getBufferFromTmp.
295 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
296 files in the temporary dir.
298 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
300 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
302 * Makefile.am: add lyxsocket.[Ch].
304 * lyx_main.C (error_handler): handle SIGPIPE.
306 2003-10-13 André Pönitz <poenitz@gmx.net>
308 * BufferView_pimpl.C:
313 * undo_funcs.[Ch]: use paroffset_type instead of
314 ParagraphList::iterators to prevent multiple conversion
315 (and get a more robust interface)
317 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
319 * lyxfunc.C (dispatch): RESULT -> dispatch_result
321 * text3.C (dispatch): ditto
323 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
325 * LaTeX.C (handleFoundFile): move the static to smaller scope,
326 move the onlyfile, use onlyfile instead of foundfile in a couple
329 * DepTable.C (update): flush the error stream a bit more
331 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
333 * lyxserver.C (callback): adjust
335 * lyxfunc.C (getStatus): add a missing brace in commented code
336 (ensureBufferClean): reindent
337 (dispatch): delete version taking a string
339 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
341 * LaTeX.C (deplog): move found file handlig from here...
342 (handleFoundFile): .. to new function here.
343 (deplog): make sure to discover several files mentioned on the
346 2003-10-10 André Pönitz <poenitz@gmx.net>
353 * text3.C: fix some of the tabular crashes
355 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
357 * MenuBackend.C (binding): put debug message into Debug::KBMAP
359 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
361 2003-10-09 André Pönitz <poenitz@gmx.net>
363 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
366 * BufferView_pimpl.C:
367 * bufferview_funcs.C:
378 * undo_funcs.C: adjust
380 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
382 * text2.C (incrementItemDepth): new function, use a backtracking
383 algorithm to discover the correct item depth.
384 (resetEnumCounterIfNeeded): new function, use a backtracking
385 algorithm to discover if counter reset is needed.
386 (setCounter): use them. Simplify a bit. Add different labels for
387 different item depths for itemize.
389 * paragraph.C (Paragraph): remove initialization of enumdepth
392 * paragraph.h: get rid of enumdepth, and use itemdepth both for
393 enumerate and itemize. Change the type of itemdepth to signed char.
395 2003-10-08 André Pönitz <poenitz@gmx.net>
397 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
402 * tabular.[Ch]: fix crash after 'row-insert'
404 2003-10-08 Angus Leeming <leeming@lyx.org>
406 Fix doxygen warnings.
408 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
409 Remove CutAndPaste:: prefix from header file declaration.
411 * LColor.h (fill): remove LColor:: prefix from declaration.
413 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
414 use lyx::depth_type rather than Paragraph::depth_type so that
415 header file and .C file match.
417 * converter.h (intToFormat): remove Converters:: prefix from declaration.
419 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
420 * aspell.C: \file aspell_local.C -> \file aspell.C
421 * gettext.C: \file gettext.C -> \file src/gettext.C
422 * gettext.h: \file gettext.h -> \file src/gettext.h
423 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
424 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
425 * text.C: \file text.C -> \file src/text.C
427 * toc.C: move comment so that doxygen is not confused.
429 2003-10-07 Angus Leeming <leeming@lyx.org>
431 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
433 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
436 * aspell_local.h: add forgotten std::string's.
438 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
445 * text3.C: The Box patch. Fancybox support, minipage, parbox
447 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
453 * ParagraphParameters.h:
463 * lyxtextclasslist.h:
467 * textcursor.h: add <string> and other small fixes to make Lars'
468 std::string patch compile with STLport.
470 2003-10-06 Angus Leeming <leeming@lyx.org>
472 * LColor.h: Add missing #include <string>.
474 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * All most all file in all subdirs: Make <string> be the prefered
477 way of getting to std::string, add using declarations.
479 2003-10-06 André Pönitz <poenitz@gmx.net>
481 * metricsinfo.C: initialize LyXFont before changing attribute.
482 (fixes the 'math in \emph is upright' bug)
484 2003-10-06 André Pönitz <poenitz@gmx.net>
486 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
488 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
491 * paragraph_pimpl.C: Small fixes to build using STLport
493 2003-10-02 André Pönitz <poenitz@gmx.net>
496 * text3.C: move handling of LFUN_DEPTH *; fix #1360
498 2003-10-01 André Pönitz <poenitz@gmx.net>
500 * factory.C: assert early
502 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
504 * lyx_main.C: remove the global debug object
506 * debug.h: adjust for new debugstream
508 * debug.C: adjust for new debugstream and keep the global debug
511 2003-09-22 Angus Leeming <leeming@lyx.org>
513 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
514 of g++ which otherwise complain that the scoped_ptr destructor can't delete
515 an incomplete class LyXFont.
517 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
519 * factory.C: bug fix in branches
521 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
523 * lyxfunc.C (processKeySym): adjust
525 (dispatch): change arg name from ev to func, adjust
526 (sendDispatchMessage): ditto
528 * lyx_main.C (defaultKeyBindings): adjust keybindings
529 (deadKeyBindings): ditto
531 * kbsequence.C (addkey): return a FuncRequest
533 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
535 * kbmap.C (bind): take a FuncRequest as arg, adjust
538 (defkey): change to take a FuncRequest as arg, adjust
539 (findbinding): take a FuncRequest as arg, adjust.
541 * funcrequest.h (operator=): added
543 * funcrequest.C (FuncRequest): default kb_action changed from
544 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
546 * buffer.C (dispatch): simplify
547 (dispatch): adjust to take a FuncRequest as arg, adjust
549 * boost.C (assertion_failed): change assertion message slightly
551 * ToolbarBackend.C (read): simplify
553 * MenuBackend.C (binding): adjust call to findbinding, add a
554 message if no binding is found.
556 (expandToc): correct by adding a empty FuncRequest
558 * LyXAction.C: include <boost/assert.hpp>
559 (isPseudoAction): delete function
560 (LookupFunc): change name to...
561 (lookupFunc): this. change return type to FuncRequest.
562 (getActionName): take kb_action as arg, simplify
563 (funcHasFlag): add an assert, simplify.
565 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
567 * toc.C (action): return a FuncRequest, simplify
569 * lyxfunc.C (processKeySym): adjust
570 (getStatus): delete version that takes an int.
572 (dispatch): delete version that takes action as int
574 (sendDispatchMessage): simplify and adjust
576 * funcrequest.C (getArg): take unsigned int as arg
578 * ToolbarBackend.C (read): adjust
579 (add): delete version that takes func as a string.
580 (getIton): take a FuncRequest as arg
582 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
585 * MenuBackend.C (MenuItem): add a new construct that only takes a
586 Kind, simplify the constructor use for submenus.
588 (expandLastfiles): adjust
589 (expandDocuments): adjust
590 (expandFormats): adjust
591 (expandFloatListInsert): adjust
592 (expandFloatInsert): adjust
593 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
595 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
596 Remove class variables lyx_pseudo_map and lyx_arg_map
598 * LyXAction.C (searchActionArg): delete function
599 (getPseudoAction): delete function
600 (retrieveActionArg): delete function
601 (LookupFunc): make it return kb_action, simplify.
602 (getActionName): simplify
604 * factory.C (createInset): fix new bug
606 2003-09-19 Angus Leeming <leeming@lyx.org>
608 * CutAndPaste.C (pasteSelection): remove fudge used to set the
609 masterFilename_ parameter in the include inset.
611 * factory.C (createInset): changes due to the changes to InsetInclude.
613 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
615 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
617 2003-09-18 Angus Leeming <leeming@lyx.org>
620 * BufferView.C: pass the buffer when calling Inset::getLabelList,
621 Inset::fillWithBibKeys.
622 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
624 2003-09-18 Angus Leeming <leeming@lyx.org>
626 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
628 (ctor): pass and store a 'Buffer const &'
629 (buffer): new member function.
631 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
632 '*this' to the LaTeXFeatures ctor.
634 2003-09-18 Angus Leeming <leeming@lyx.org>
640 * text.C: rename EnumLColor as LColor_color.
642 2003-09-18 Angus Leeming <leeming@lyx.org>
644 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
645 remove #include "insets/insetbase.h" from cursor.h.
647 2003-09-18 Angus Leeming <leeming@lyx.org>
649 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
650 InsetOld_code to remove #include "inset.h".
652 * iterators.C: add #include "insets/inset.h"
654 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
656 * BufferView.C: remove more locking stuff that apparently doesn't
657 do anything sensible.
659 2003-09-16 André Pönitz <poenitz@gmx.net>
662 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
665 2003-09-16 Angus Leeming <leeming@lyx.org>
667 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
669 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
672 * paragraph.h: remove #include "lyxfont.h". Forward declare
675 2003-09-16 Angus Leeming <leeming@lyx.org>
677 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
678 of support/textutils.h.
679 (isWord): move the contents of support/textutils.h's IsWordChar here.
685 * text2.C: add #include "paragraph.h".
688 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
690 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
696 * LaTeX.C: use namespace alias for lyx::support::os
698 2003-09-16 Angus Leeming <leeming@lyx.org>
701 * bufferview_funcs.C:
706 * text.C: add #include "LColor.h".
708 2003-09-16 Angus Leeming <leeming@lyx.org>
710 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
711 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
713 Store the FontBits::color variable as an int rather than as an
714 LColor::colorso that we can move LColor.h out of the lyxfont.h header
717 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
718 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
719 string calls together.
721 * lyxrc.C: add #include "LColor.h".
723 2003-09-15 Angus Leeming <leeming@lyx.org>
725 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
728 2003-09-15 Angus Leeming <leeming@lyx.org>
730 * LColor.h: add an EnumLColor wrapper for LColor::color.
732 * lyxfont.[Ch] (color, setColor, realColor):
733 * lyxtext.h, text.C (backgroundColor):
734 pass EnumLColor args to/from the functions, rather than LColor::color
738 * lyxtext.h: forward declare EnumLColor.
740 * lyx_main.C: add #include "LColor.h".
742 2003-09-15 Angus Leeming <leeming@lyx.org>
744 * .cvsignore: add lyx-gtk.
746 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * ParagraphParameters.C
765 * vc-backend.C: remove usage of STRCONV
767 2003-09-15 Angus Leeming <leeming@lyx.org>
769 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
770 explicitly define the color passed to the painter.
772 2003-09-15 Angus Leeming <leeming@lyx.org>
774 * bufferparams.C (BufferParams): reorder member initializers to avoid
777 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
779 * CutAndPaste.C (pasteSelection): remove an outdated #warning
780 * text.C (updateRowPositions): remove an unusual nop
782 2003-09-12 André Pönitz <poenitz@gmx.net>
784 * BufferView_pimpl.C:
793 * Counters.[Ch]: finish the 'automatic counters' job
795 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
797 * aspell.C: include <boost/assert.cpp> (compile fix)
799 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
801 * boost.C (assertion_failed): use lyx::support::abort instead of
804 2003-09-10 Angus Leeming <leeming@lyx.org>
806 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
807 with their _fwd progeny.
809 2003-09-09 Angus Leeming <leeming@lyx.org>
811 134 files throughtout the source tree: replace 'using namespace abc;'
812 directives with the appropriate 'using abc::xyz;' declarations.
814 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
816 * boost.C (emergencyCleanup): moved here from LAssert.c
817 (assertion_failed): new function, called by BOOST_ASSERT
819 * several files: change Assert to BOOST_ASSERT
821 2003-09-09 Angus Leeming <leeming@lyx.org>
823 * buffer.[Ch]: Add an Impl class and move Buffer's member
824 variables into it. As a result move several header files out of
827 Add header files to lots of .C files all over the tree as a result.
829 2003-09-09 Angus Leeming <leeming@lyx.org>
831 * buffer.[Ch]: make Buffer's member variables private. Add
834 Lots of changes all over the tree as a result.
836 2003-09-08 Angus Leeming <leeming@lyx.org>
838 * graph.C: #include <config.h>.
840 2003-09-08 Angus Leeming <leeming@lyx.org>
844 * BufferView_pimpl.C:
873 * toc.C: remove redundant using directives.
875 2003-09-07 Angus Leeming <leeming@lyx.org>
877 * LaTeXFeatures.h: remove #include "support/types.h".
878 * ToolbarBackend.h: remove #include <algorithm>.
879 * changes.h: remove #include <ctime>.
880 * debug.h: remove #include <iosfwd>.
881 * graph.h: remove #include "support/std_string.h".
882 * lyx_main.h: remove #include <csignal>.
883 * lyxlex_pimpl.h: remove #include <fstream>.
884 * sgml.h: remove #include <algorithm>, <utility>.
885 * toc.h: remove #include "support/std_ostream.h".
886 Add #include <iosfwd>.
888 2003-09-07 Angus Leeming <leeming@lyx.org>
890 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
892 * converter.h: forward declare LatexRunParams.
893 * encoding.h: remove #include "lyxrc.h".
894 * lyxtext.h: remove #include "LColor.h".
895 * lyxtextclass.h: remove #include "support/types.h".
896 * trans.h: remove #include "tex-accent.h".
897 * trans_mgr.h: remove #include "tex-accent.h".
898 * insets/inset.h: remove #include "support/types.h", <vector>.
899 * insets/insetcollapsable.h: remove #include "LColor.h".
900 * insets/insetinclude.h: remove #include "dimension.h".
901 * insets/insetlatexaccent.h: remove #include "dimension.h".
902 * insets/insetoptarg.h:: remove #include "insettext.h".
903 * insets/insettext.h: remove #include "dimension.h",
904 <boost/shared_ptr.hpp>
906 * insets/renderers.h: add #include "dimension.h".
907 * insets/updatableinset.h: add #include "support/types.h".
909 * many .C files: Associated changes.
911 2003-09-06 Angus Leeming <leeming@lyx.org>
913 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
914 one, inside testInvariant.
916 * PrinterParams.C: new file.
917 * PrinterParams.[Ch]: move the function bodies out of line.
919 2003-09-06 Angus Leeming <leeming@lyx.org>
921 * ParagraphParameters.h: forward declare ParameterStruct rather than
922 including its header file.
923 (depth): moved out-of-line.
925 2003-09-06 Angus Leeming <leeming@lyx.org>
927 * BufferView_pimpl.h:
930 * lyxfunc.h: forward declare LyXKeySym rather than
931 #include "frontends/LyXKeySym.h".
933 * BufferView_pimpl.C:
936 * lyxfunc.C: associated changes.
938 2003-09-06 Angus Leeming <leeming@lyx.org>
940 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
941 As a result, can remove the #include "insets/inset.h" from BufferView.h
943 2003-09-06 Angus Leeming <leeming@lyx.org>
945 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
946 As a result, can remove the #include "insets/inset.h" from BufferView.h
948 2003-09-06 Angus Leeming <leeming@lyx.org>
954 * bufferview_funcs.C:
955 * BufferView_pimpl.C:
960 * ParagraphParameters.C:
965 * frontends/controllers/ControlDocument.C:
966 * insets/insetcaption.C: rearrange the #includes into some sort of
969 * buffer.h: remove #includes ErrorList.h, undo.h
971 2003-09-06 Angus Leeming <leeming@lyx.org>
973 * support/types.h: add a 'depth_type' typedef, used to store the
974 nesting depth of a paragraph.
977 * ParameterStruct.h: use this lyx::depth_type typedef rather than
982 * ParagraphParameters.h:
983 * sgml.h: use lyx::depth_type rather than Paragraph or
984 ParameterStruct's depth_type.
987 * paragraph_funcs.h: no need to #include paragraph.h anymore.
990 * BufferView_pimpl.C:
992 * ParagraphParameters.C:
995 * bufferview_funcs.C:
1002 * frontends/LyXView.C:
1003 * frontends/controllers/ControlDocument.C:
1004 * frontends/controllers/ControlErrorList.C:
1005 * insets/insetbibitem.C:
1006 * insets/insetbranch.C:
1007 * insets/insetcaption.C:
1008 * insets/insetcollapsable.C:
1009 * insets/insetenv.C:
1010 * insets/insetert.C:
1011 * insets/insetfloat.C:
1012 * insets/insetfoot.C:
1013 * insets/insetfootlike.C:
1014 * insets/insetnewline.C:
1015 * insets/insetquotes.C:
1016 * insets/insettabular.C:
1017 * insets/insettext.C:
1018 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1020 * frontends/controllers/ControlChanges.C: #include "changes.h".
1022 2003-09-06 Angus Leeming <leeming@lyx.org>
1024 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1025 than #including paragraph.h.
1028 * RowList.h: deleted. Superfluous.
1038 * insets/insettext.h: use ParagraphList_fwd.h rather than
1041 * paragraph.h: don't forward declare ParagraphList.
1044 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1045 rather than ParagraphList.h. paragraph.h is still needed for the
1046 Paragraph::depth_type parameters.
1048 * textcursor.h: enable it to compile stand-alone in light of the
1051 * bufferview_funcs.C:
1063 * frontends/controllers/ControlParagraph.C:
1064 * frontends/controllers/ControlTabular.C:
1065 * insets/insetmarginal.C:
1066 * insets/insetminipage.C:
1067 * insets/insetnote.C:
1068 * insets/insetoptarg.C: add header files needed to compile again.
1070 2003-09-06 Angus Leeming <leeming@lyx.org>
1072 * RowList_fwd.h: new file, forward-declaring Row rather than
1073 #including lyxrow.h.
1078 * insets/insettext.h: use it instead of RowList.h
1080 * bufferview_funcs.C:
1087 * text3.C: #include "RowList.h".
1089 2003-09-05 Angus Leeming <leeming@lyx.org>
1091 * factory.C (createInset):
1092 * vspace.C (c-tor): replace sscanf call with an istringstream.
1093 * ispell.C: re-add missing HP/UX headers.
1094 * lyxserver.C: re-add missing os2 headers.
1096 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1105 * text3.C: re-add missing system headers, needed for 2.95.2.
1107 2003-09-05 Angus Leeming <leeming@lyx.org>
1109 Changes most place everywhere due to the removal of using directives
1110 from support/std_sstream.h.
1112 2003-09-05 Angus Leeming <leeming@lyx.org>
1114 Replace LString.h with support/std_string.h,
1115 Lsstream.h with support/std_sstream.h,
1116 support/LIstream.h with support/std_istream.h,
1117 support/LOstream.h with support/std_ostream.h.
1119 Changes resulting throughout the tree.
1121 2003-09-05 Angus Leeming <leeming@lyx.org>
1123 * sgml.h: ensure that the header file can be compiled stand-alone.
1124 * *.C: strip out redundant #includes. (320 in total.)
1126 2003-09-04 Angus Leeming <leeming@lyx.org>
1128 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1129 here (from getPackages).
1131 * debug.[Ch]: add a new EXTERNAL tag.
1133 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1135 * text2.C (cursorEnd): simplify
1137 (getColumnNearX): adjust
1139 * text.C (computeBidiTables): adjust
1142 * rowpainter.C (paintChars): adjust
1143 (paintSelection): adjust
1144 (paintChangeBar): adjust
1147 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1149 (numberOfSeparators): adjust
1151 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1157 * text3.C: Restricts the mouse click functionality
1158 of insets like bibtex, include, toc and floatlist to the visible
1159 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1160 up the dialogs. Cursor has to be in front of the inset (i.e.
1161 start of row) for this to function.
1163 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1165 * bufferview_funcs.C (currentState): output row information
1167 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1169 * bufferview_funcs.C (currentState): output paragraph position
1171 2003-09-04 Angus Leeming <leeming@lyx.org>
1173 * FloatList.h: move out #include "Floating.h".
1174 * LaTeX.h: move out #include "DepTable.h".
1175 * LyXAction.h: move out #include "funcrequest.h".
1176 * buffer.h: move out #include "author.h", "iterators.h".
1177 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1178 * lyx_main.h: move out #include "errorlist.h".
1179 * lyxfunc.h: move out #include "FuncStatus.h".
1180 * lyxtext: move out #include "lyxcursor.h".
1181 * paragraph_pimpl.h: move out #include "counters.h".
1183 2003-09-03 Angus Leeming <leeming@lyx.org>
1185 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1186 preamble_snippets list, enabling us to add snippets to the preamble
1187 only if the snippet was not there already.
1189 2003-09-04 Angus Leeming <leeming@lyx.org>
1191 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1193 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1198 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1200 * BranchList.C: point fix, earlier forgotten
1202 2003-09-02 Angus Leeming <leeming@lyx.org>
1204 * box.C (contains): renamed from 'contained' after a fantastic
1207 2003-09-02 John Levon <levon@movementarian.org>
1213 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1215 2003-09-02 John Levon <levon@movementarian.org>
1217 * text2.C: simplification of cursorEnd(), including partial
1220 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * buffer.C (readFile): add a space
1224 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1226 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1228 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * buffer.C (readFile): new function, take a filename and a
1231 ParagraphList::iterator
1233 (readFile): adjust, make it private. don't use setStream, make
1234 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1235 always contain the filename.
1237 * BufferView.C (insertLyXFile): simplify and make it work for
1240 2003-08-30 John Levon <levon@movementarian.org>
1242 * Makefile.am: fix dist (from Kayvan)
1244 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1246 * most files: change to use const Buffer refs
1248 2003-08-27 André Pönitz <poenitz@gmx.net>
1250 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1251 on top of ownerPar().
1253 2003-08-27 John Levon <levon@movementarian.org>
1255 * funcrequest.C: properly initialise POD members
1257 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1259 * lyxtext.h (top_y): move top_y from here
1264 * BufferView_pimpl.[Ch]: to here
1265 * frontends/screen.C:
1266 * insets/insettabular.C:
1267 * insets/insettext.C: adjust
1268 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1270 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1273 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1275 2003-08-26 André Pönitz <poenitz@gmx.net>
1277 * paragraph_func.[Ch] (outerPar): new function
1280 * paragraph_funcs.C:
1281 * paragraph_funcs.h:
1282 * paragraph_pimpl.C:
1283 * text2.C: remove Inset::par_owner
1285 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1290 * text2.C: eliminates the needFullRow/display() stuff
1291 altogether, putting the logic in metrics/draw in the insets.
1293 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1295 * text2.C (redoParagraphInternal, redoParagraphs):
1296 * text.C (redoParagraph): add a call to updateRowPositions at the
1297 end of each 'metrics-like' call. Remove all others.
1298 (getRow): remove the 'y-computing' version.
1299 (getRowNearY): do not compute nor return the real y. Solve the
1300 'y < 0' problem and simplify.
1302 2003-08-22 Angus Leeming <leeming@lyx.org>
1304 * *.[Ch]: clean-up of licence and author blurbs.
1305 Also move config.h out of a few .h files and into a few .C files.
1307 2003-08-22 André Pönitz <poenitz@gmx.net>
1309 * lyxrow.[Ch]: add x_ and *fill_ members
1314 * text2.C: adjust/remove prepareToPrint() calls
1316 2003-08-22 André Pönitz <poenitz@gmx.net>
1318 * lyxrow.[Ch]: add end_ member
1320 * lyxrow_funcs.C: use LyXRow::end_
1322 * lyxtext.h (singleWidth): add LyXFont parameter
1325 * text2.C: adjust LyXText::singleWidth() calls
1327 * text.C (redoParagraph): simplify row breaking logic
1330 2003-08-19 André Pönitz <poenitz@gmx.net>
1332 * funcrequest.C: initialize button_ member
1335 * rowpainter.[Ch]: interface consolidation
1337 2003-08-18 André Pönitz <poenitz@gmx.net>
1340 * BufferView_pimpl.C:
1342 * paragraph_funcs.C:
1344 * text3.C: remove LyXScreen::draw() and fitCursor calls
1346 * BranchList.h: remove spurious semicolons
1348 * MenuBackend.C: fix branchlist related crash
1350 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1358 * bufferparams.[Ch]:
1362 * text3.C: implements the 'branch inset'
1363 idea. This allows the output of various versions of a document
1364 from a single source version, selectively outputing or suppressing
1365 output of parts of the text.
1366 This implementation contains a 'branch list editor' in a separate
1367 tab of the document settings dialog. Branches are user definable
1368 and have a "display colour" to distinguish them on-screen.
1370 ColorHandler was somewhat cleaned up.
1371 (1) make possible a dynamically growing LColor list by allowing
1372 the graphic context cache to grow along (vector);
1373 (2) eliminate an IMHO unnecessary step in colour allocation.
1375 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1377 * BufferView_pimpl.C: compile fix
1379 2003-08-15 André Pönitz <poenitz@gmx.net>
1381 * rowpainter.C: remove extra metrics calls
1383 * lyxtext.h: merge the two constructors into a single one,
1384 pass reference to owner's par list
1386 * BufferView_pimpl.C:
1390 2003-08-15 André Pönitz <poenitz@gmx.net>
1392 * lyxrow_funcs.[Ch]:
1395 * paragraph_funcs.C:
1400 * text_funcs.C: split LyXText::rowlist_ into individual
1401 Paragraph::rows_ chunks
1404 * BufferView_pimpl.[Ch]:
1407 * text3.C: remove toggleSelection()
1409 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1411 * bufferlist.C: beautify two alerts (shorter text of buttons)
1412 * buffer.C: Remove redundant ' ' from message
1414 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1415 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1416 rename VALIGN_CENTER to VALIGN_MIDDLE
1418 2003-08-11 André Pönitz <poenitz@gmx.net>
1420 * lyxtext.h (getPar):
1421 * text.C: new function
1423 2003-08-11 André Pönitz <poenitz@gmx.net>
1426 * tracer.[Ch]: remove unneeded files
1428 * InsetList.[Ch]: remove resizeInsetsLyXText()
1433 * text3.C: merge insertParagraphs() and appendParagraph()
1434 remove breakAgain(), update()
1436 * BufferView_pimpl.[Ch]:
1437 * bufferview_funcs.[Ch]:
1441 * tabular.C: adjust after text & InsetList changes.
1443 2003-08-08 André Pönitz <poenitz@gmx.net>
1445 * text.C (insertChar, backspace): replace rowlist fiddling
1446 with rebreak of full par
1449 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1450 checkParagraph, updateInset): removed
1452 2003-08-07 André Pönitz <poenitz@gmx.net>
1455 * text3.C: merge some LFUN handlers, remove dead code
1457 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1459 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1461 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1463 * text2.C (DEPM): fix part of bug 1255 and 1256
1465 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1467 * BufferView_pimpl.C (workAreaDispatch): change to use
1468 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1469 that are no mouse related.
1471 2003-08-05 André Pönitz <poenitz@gmx.net>
1474 * BufferView_pimpl.[Ch]:
1475 * bufferview_funcs.C:
1477 * text3.C: rip out "deep update"
1479 * textcursor.[Ch] (last_sel_cursor): remove unused member
1481 2003-08-04 André Pönitz <poenitz@gmx.net>
1484 * BufferView_pimpl.[Ch]:
1485 * ParagraphParameters.C:
1486 * bufferview_funcs.C:
1492 * text3.C: replace "complicated" BufferView::update(...) calls with
1495 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1497 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1499 * Makefile.am (lyx_SOURCES): add paper.h
1501 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1503 * Makefile.am: move things around so that both lyx-qt and
1504 lyx-xforms can be built (according to --with-frontend). Then lyx
1505 is a symbolic link to lyx-[firstfrontend]
1507 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1509 * Always use std::endl with lyxerr
1511 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1513 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1515 2003-08-01 André Pönitz <poenitz@gmx.net>
1518 * BufferView_pimpl.[Ch]:
1520 * text3.C: merge BufferView::repaint() and BufferView::update()
1522 2003-08-01 José Matos <jamatos@lyx.org>
1524 * buffer.[Ch]: file_format is no longer a buffer data element.
1526 2003-08-01 André Pönitz <poenitz@gmx.net>
1531 * text2.C: make redoParagraph more independent of current cursor
1533 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1535 * text2.C: remove unneeded members
1537 2003-07-30 André Pönitz <poenitz@gmx.net>
1539 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1541 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1542 create a single function...
1544 * paragraph_funcs.C (moveItem): ... here.
1547 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1549 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1551 * LColor.[Ch]: Add comment and greyedout logical colors.
1553 2003-07-30 André Pönitz <poenitz@gmx.net>
1555 * tabular.C: don't use Assert too heavily. This crashes where it
1558 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1560 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1561 is disabled (bug 1232)
1563 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1565 * factory.C: limited 'arg' scope
1567 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1569 * factory.C: fixed Note submenu issues
1571 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1573 * factory.C: submenu for Note/Comment/Greyedout
1575 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1578 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1580 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1583 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1584 greyedout. Patch provided by Jürgen Spitzmüller.
1586 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1588 * kbmap.C (read): fix error message when reading bind files
1590 2003-07-29 Angus Leeming <leeming@lyx.org>
1592 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1593 certainly does not do what it purports to do. I am doing it, and
1594 us, a favour by killing it.
1596 2003-07-28 José Matos <jamatos@lyx.org>
1598 * buffer.C (readBody, do_writeFile):
1599 * paragraph.C(readParagraph): \end_document replaces \the_end.
1601 2003-07-29 André Pönitz <poenitz@gmx.net>
1604 * BufferView_pimpl.[Ch]:
1608 * textcursor.[Ch]: remove toggleToggle & Co
1610 2003-07-28 José Matos <jamatos@fep.up.pt>
1612 * buffer.C (readParagraph):
1613 * params_func (readParToken, readParagraph):
1614 * paragraph.C (write): \layout -> \begin_layout.
1616 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * lyxlex_pimpl.C (setFile): clean up slightly.
1620 * bufferparams.h: add compressed var
1622 * buffer_funcs.C (readFile): adjust for LyXLex change
1623 (newFile): ditto + simplify
1625 * buffer.C (writeFile): handle writing of compressed files
1627 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1628 Check if the file is compressed and set a bufferparm if so.
1630 * Makefile.am (lyx_LDADD): remove explicit -lz
1632 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1634 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1635 makeDocBookFile): put the real LyX version in the first line of
1639 * version.C.in: remove lyx_docversion
1641 * tabular.C (write_attribute): add a template-based version to
1642 write enums properly
1644 2003-07-28 André Pönitz <poenitz@gmx.net>
1649 * text3.C: use doubles again for x-coordinates. They are needed.
1651 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1653 * messages.C (getLocaleDir): use lyx_localedir()
1655 * lyxlex_pimpl.C (setFile): compress stuff
1657 * buffer.C (writeFile): add some compression stuff
1658 (do_writeFile): new func, dont call expliti close... will this
1661 * Makefile.am (lyx_LDADD): add -lz
1663 2003-07-28 José Matos <jamatos@fep.up.pt>
1665 * buffer.C: increment file format.
1666 * paragraph_funcs (readParagraph, readParToken):
1667 * paragraph.C (readParagraph): add \end_layout.
1669 2003-07-27 Angus Leeming <leeming@lyx.org>
1671 * Makefile.am: remove special casing for configure-time setting of
1672 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1674 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1675 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1677 2003-07-26 André Pönitz <poenitz@gmx.net>
1679 * paragraph_func.[Ch]:
1680 * paragraph.C (realizeFont): inline it whereever it is used
1685 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1688 2003-07-26 André Pönitz <poenitz@gmx.net>
1692 * text2.C: get rid of LyXText::need_break_row
1694 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1696 * toc.[Ch]: put namespace toc inside namespace lyx
1698 * MenuBackend.C (expandToc2): adjust for lyx::toc
1701 * lyxfunc.C (dispatch): adjust for lyx::find
1703 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1704 lyx::find instead. Reorganize a bit.
1705 (LyXReplace): rename to replace
1706 (LyXFind): rename to find
1708 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1711 2003-07-26 André Pönitz <poenitz@gmx.net>
1713 * text.C (setHeightOfRow): restrict scope of temporary variable
1715 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1716 code (never has been used?)
1718 2003-07-27 Asger Alstrup <alstrup@local>
1720 * text.C (fill): Optimise algorithm to exploit that we can reuse
1721 the LyXFont for many characters.
1722 (setHeightOfRow): Same thing.
1723 (rowBreakPoint): Same thing.
1725 2003-07-26 Asger Alstrup <alstrup@local>
1727 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1729 * text.C (singleWidth): Spurious font copying in hot-spot
1730 singleWidth avoided. Reorder tests for arabic for efficiency.
1732 * text.C (fill): handle empty paragraphs better.
1734 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1737 * encoding.h: add includes
1739 * lyxrc.C: remove reading of bind files
1741 * lyx_main.C (init): setup bindings and menus only if we have a
1744 * kbmap.C (read): new method. Do the actual reading of bind
1747 * converter.C (dvipdfm_options):
1750 (output): adapt PAPER_* enums.
1752 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1754 * bufferparams.h: remove paper-related enums from there
1756 * paper.h: New file. A trivial header file to hold paper-related
1757 enums. It should later expand to contain many paper-related
1760 * lyxrc.C: declare extern displayTranslator
1762 2003-07-27 José Matos <jamatos@fep.up.pt>
1764 * tabular.[Ch] (linuxdoc): add support for tables and figures
1767 2003-07-27 José Matos <jamatos@fep.up.pt>
1769 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1770 consistency in both functions.
1771 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1773 2003-07-26 Asger Alstrup <alstrup@local>
1775 * rowpainter.C (paintRows): Change algorithm to work directly on
1776 the insets rather than asking every character in the document
1777 whether its an inset.
1779 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1781 * buffer.C (openFileWrite): factorize some code
1783 2003-07-26 Angus Leeming <leeming@lyx.org>
1786 * lyx_main.[Ch]: replace occurances of system_tempdir with
1789 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1791 * rename Inset to InsetOld
1793 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1795 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1796 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1797 which I think is a bit clearer. EDIT is gone, since it was
1798 premature optimisation, and broken for mathed anyway.
1799 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1800 with cursor positioning in insets as well (math insets still do not
1801 work, but that's a different story anyway.) It mysteriously
1802 crashes sometimes with undo in the first paragraph, but I'm fairly
1803 confident that this is a compiler bug.
1805 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * paragraph.C (Paragraph): adjust for new clone return type
1809 (copyIntoMinibuffer): ditto
1811 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1813 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1814 by not having a special case, and always doing a full rebreak of
1815 the document after undo.
1817 2003-07-23 Angus Leeming <leeming@lyx.org>
1819 * factory.C (createInset): InsetExternal::setParams now takes a
1822 2003-07-23 Angus Leeming <leeming@lyx.org>
1824 * factory.C (createInset): changed interface to the external and
1825 graphics mailers' string2params functions.
1827 2003-07-23 Angus Leeming <leeming@lyx.org>
1829 * factory.C (createInset): pass a
1830 Buffer const * parameter to InsetExternalMailer's string2params.
1832 2003-07-22 John Levon <levon@movementarian.org>
1834 * Thesaurus.h: include the right aiksaurus header
1836 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1838 * MenuBackend.C (expand): check menu shortcuts unconditionally
1840 2003-07-21 Angus Leeming <leeming@lyx.org>
1842 * factory.C (createInset): pass a
1843 buffer_path parameter to InsetGraphicsMailer's string2params.
1845 2003-07-21 Angus Leeming <leeming@lyx.org>
1847 * BufferView_pimpl.C (buffer):
1850 * lyxfunc.C (dispatch):
1851 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1852 rather than the grfx shortcut.
1854 2003-07-21 André Pönitz <poenitz@gmx.net>
1856 * rowpainter.C: remove unused variables
1859 * tabular_funcs.h: move to tabular.C
1860 * Makefile.am: adjust
1862 * tabular.[Ch]: basic optical cleaning
1864 * author.h: pass references, not values
1866 2003-07-18 André Pönitz <poenitz@gmx.net>
1874 * text3.C: two-phase drawing for InsetText and InsetTabular
1875 some float -> int changes.
1877 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1879 * lyx_main.C: fix the fix
1881 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1883 * lyx_main.C: fix a crash in batch mode if no files specified
1886 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1888 * format.[Ch] (papersize): moved to BufferParams
1889 * converter.[Ch] (dvips_options): moved to BufferParams
1890 (dvipdfm_options): moved to anon namespace
1891 * bufferparams.[Ch]: added above functions.
1893 2003-07-17 André Pönitz <poenitz@gmx.net>
1897 * text2.C: don't call inset->update() anymore
1899 * metricsinfo.[Ch]: add convenience constructor
1901 2003-07-16 André Pönitz <poenitz@gmx.net>
1906 * text2.C: replace the LyXCursor::irow_ member with
1907 on-demand computation of the value
1909 2003-07-16 John Levon <levon@movementarian.org>
1911 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1913 2003-07-15 André Pönitz <poenitz@gmx.net>
1916 * text2.C: remove no more needed refresh_row
1918 2003-07-15 André Pönitz <poenitz@gmx.net>
1923 * text3.C: refresh_status tristate -> need_update bool
1925 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1927 * lyxtext.h (init): remove reinit argument (act as if always true)
1928 * text2.C: adjust to that
1930 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1932 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1933 * text3.C: use it to delete selections in some cases
1934 (bugs 441, 673, 702, 954).
1936 2003-07-14 André Pönitz <poenitz@gmx.net>
1938 * rowpainter.[Ch]: reduce interface
1940 2003-07-14 André Pönitz <poenitz@gmx.net>
1942 * BufferView_pimpl.C:
1943 * text2.C: adjust after removing unused BufferView * argument
1945 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1947 * text2.C (init): fix a crash fired on resize
1949 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1951 * buffer.[Ch]: added new closing signal
1952 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1953 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1954 BufferView::Pimpl via the closing the signal
1956 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1958 * buffer.[Ch]: take out all bv-related from buffer
1960 * BufferView_pimpl.[Ch]: connect to new signals
1961 * CutAndPaste.C: removed useless asserts
1962 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1965 * lyxfunc.C: moved view-related funciontality from vc here
1966 * paragraph.C: removed outdated comments
1969 2003-07-10 André Pönitz <poenitz@gmx.net>
1971 * BufferView_pimpl.C:
1975 * text2.C: remove InsetText::InnerCache, clean up consequences
1977 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1979 * ispell.C: fix two typos in error messages
1981 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1983 * Extend Note inset to other forms of annotation like Comment
1984 and Greyedout. Right button click gives dialog.
1986 Files modified or added (+):
1990 * ControlNote.[Ch] +
1992 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1993 frontends/controllers
1997 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1999 * aspell.C: add missing namespace lyx::support
2001 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2003 * BufferView.[Ch] (newFile): Add
2004 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2005 * LaTeX.[Ch] (message): added this signal and use it
2006 * buffer.[Ch] (busy, message): added these signals and use them
2007 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2011 * importer.C: use buffer signals instead of direct bv calling
2012 * lyx_cb.[Ch] (ShowMessage): removed
2015 * paragraph_funcs.C:
2016 * text2.C: use buffer signals
2018 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2020 * introduce namespace lyx::graphics
2022 2003-07-02 André Pönitz <poenitz@gmx.net>
2024 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2026 2003-07-01 André Pönitz <poenitz@gmx.net>
2033 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2034 text*.C to text_func.C
2036 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * introduce namespace lyx::support
2040 2003-06-30 André Pönitz <poenitz@gmx.net>
2045 * text.C: re-enable --with-included-string
2047 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2049 * textcursor.C: add <config.h>
2051 * text.C (getWord): remove const from word_location arg
2053 * lyxvc.C (getLogFile): fix const type order
2055 * lyxtext.h: remove const from word_location arg, add arg name
2057 * lyxlayout.h: currect type on labeltype.
2059 * importer.C: correct \file
2061 * converter.C (intToFormat): use std:: on ret val, ws changes
2063 * bufferlist.h: correct \file
2065 * buffer.C (makeLinuxDocFile): fix const type order
2066 (makeDocBookFile): ditto
2067 (fillWithBibKeys): use std:: on stdlib args.
2069 * CutAndPaste.C: fix authors.
2070 (availableSelections): use std:: on return vector
2072 2003-06-27 André Pönitz <poenitz@gmx.net>
2074 * BufferView_pimpl.C:
2075 * bufferview_funcs.C:
2083 * text3.C: remove LyXCursor::row_ member
2086 * text.C: rename fullRebreak() to partialRebreak() and implement
2087 a fullRebreak() that really bereks fully
2089 * textcursor.h: new struct for cursor-related data
2091 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2093 * lyx_main.C (LyX): get full path of document loaded on the
2096 2003-06-26 André Pönitz <poenitz@gmx.net>
2098 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2099 remove unused/broken operator>,<,>=.
2101 * text.C: remove only use of broken operator<= in an Assert().
2103 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2105 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2106 moved errorlist_.clear to showErrorList
2108 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2110 * converter.C (scanLog, runLaTeX):
2111 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2112 move the bv->showErrorList call to the callers
2113 * lyxfunc.C: i.e. here...
2115 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2116 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2117 namespace, the second to...
2118 * buffer_funcs (BufferFormat, parseErrors): added
2119 * errorlist.C (ErrorList(TeXErrors const &)): removed
2121 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2123 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2125 2003-06-24 "Garst R. Reese" <reese@isn.net>
2129 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2131 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2133 * version.C.in: change docversion to 1.4
2135 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2137 * buffer.C: fix a bug just introduced
2139 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2141 * buffer.[Ch]: added the parseError signal and use it, removed
2143 * BufferView.[Ch] (addError): moved to ...
2144 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2145 to the Buffer::parseError signal to catch (guess what) parse errors
2146 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2148 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2150 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2151 ability to create a buffer and to return an existing one from
2152 the list. Moved these functions to...
2153 * buffer_funcs.[Ch]: added
2154 * BufferView.[Ch] (loadLyXFile): added
2155 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2156 job removed from bufferlist::loadLyXFile.
2157 * buffer.C (setReadOnly): make it work without view
2158 (i.e added an if (users))
2160 2003-06-19 Angus Leeming <leeming@lyx.org>
2163 * LyXAction.C (init):
2164 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2165 with LFUN_DIALOG_SHOW <name> <data>.
2167 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * CutAndPaste.C (availableSelections): small compilation fix for
2170 ancient (gcc 2.9x) compilers
2172 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * text3.C (cursorNext): add tmp var
2176 * text2.C (updateCounters): for function calling out of for clause
2177 (replaceSelectionWithString): ditto
2178 (insertStringAsParagraphs): ditto
2179 (getColumnNearX): add tmp var
2180 (setCursorFromCoordinates): add tmp var
2181 (cursorDownParagraph): add tmp var
2182 (deleteEmptyParagraphMechanism): add tmp var
2184 * text.C (insertChar): add tmp var
2186 * rowpainter.C (paintDepthBar): add tmp var
2188 * CutAndPaste.C (availableSelections): potentially check all
2189 paragraphs in a cut to fill the shown strings.
2191 2003-06-18 André Pönitz <poenitz@gmx.net>
2193 * kbmap.[Ch]: use vector<> instead of list<>
2195 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2197 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2198 pasteSelection with index
2200 * text2.C (pasteSelection): modify, call pasteSelection with index
2202 * paragraph.C (asString): reimplement version with no interval to
2203 call the one with interval.
2205 * lyxtext.h: add index arg to pasteSelection
2207 * MenuBackend.C (MenuItem): handle PasteRecent
2208 (Menu::read::Menutags): add md_pasterecent
2210 (expandPasteRecent): new function
2213 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2215 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2217 (availableSelections): new function
2219 2003-06-17 Angus Leeming <leeming@lyx.org>
2221 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2223 2003-06-17 Angus Leeming <leeming@lyx.org>
2226 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2228 * lyxfunc.C (dispatch): invoke it.
2230 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2232 * iterators.C (operator++, ParPosition): reintroduce some
2233 const_cast for the benefit of older compilers.
2235 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * text3.C (dispatch): do not modify clipboard when doing
2238 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2239 LFUN_DELETE_SKIP on a selection selection
2241 2003-06-16 André Pönitz <poenitz@gmx.net>
2247 * tabular.[Ch]: IU of clone() and getLabelList();
2249 2003-06-13 André Pönitz <poenitz@gmx.net>
2251 * tabular.h: compactification
2253 2003-06-12 André Pönitz <poenitz@gmx.net>
2257 * tabular_funcs.h: some renaming plus whitespace
2259 2003-06-12 André Pönitz <poenitz@gmx.net>
2262 * BufferView_pimpl.C:
2268 * toc.C: Return a Paragraph & for ParIterator::operator*()
2270 2003-06-11 John Levon <levon@movementarian.org>
2274 * ToolbarBackend.C: add "Toolbars" section and
2277 2003-06-10 Angus Leeming <leeming@lyx.org>
2280 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2282 * lyxfunc.C (dispatch): invoke it.
2284 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2286 * main.C: protect <ios> with HAVE_IOS
2287 (main): protect sync_with_stdio with HAVE_IOS
2289 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2291 * text2.C (cutSelection): adjust
2292 (pasteSelection): adjust
2294 * messages.C: handle get of empty string
2296 * main.C (main): use sync_with_stdio(false)
2298 * lyxfunc.C (dispatch): adjust
2300 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2301 (WriteAs): remove unneeded BufferView arg.
2303 * bufferparams.h: use correct types on papersize, papersize2 and
2306 * bufferparams.C (readToken): adjust for type
2307 (writeLaTeX): add missing cases to switch.
2309 * bufferlist.C (quitWriteBuffer): adjust
2312 * buffer.C (asciiParagraph): remove some commented code.
2314 * CutAndPaste.C: remove current_view extern variable.
2315 (cutSelection): add BufferParams arg.
2316 (eraseSelection): add BufferParams arg.
2317 (pasteSelection): add Buffer const & arg
2319 2003-06-07 John Levon <levon@movementarian.org>
2322 * paragraph_funcs.C:
2323 * paragraph_pimpl.C:
2327 * paragraph.C: allow InsetERT to freely space lines,
2328 and some consolidation of code
2330 2003-06-06 José Matos <jamatos@fep.up.pt>
2332 * buffer.C (makeDocBookFile): fix bug #821
2334 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2336 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2338 2003-06-04 Angus Leeming <leeming@lyx.org>
2340 * buffer.C: bump format to 224.
2342 2003-06-05 André Pönitz <poenitz@gmx.net>
2344 * text2.C (redoParagraphs): remove two const_cast<>
2346 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2348 * ParagraphList.h: remove last remnants of NO_STD_LIST
2350 2003-06-03 Angus Leeming <leeming@lyx.org>
2352 * factory.C (createInset): small change to the way InsetExternal's params
2355 2003-06-04 André Pönitz <poenitz@gmx.net>
2357 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2359 * paragraph_pimpl.h:
2360 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2362 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2364 * undo_funcs.C: make some simple cases of undo work again
2366 2003-06-03 John Levon <levon@movementarian.org>
2368 * ispell.C: HPUX doesn't have sys/select.h
2371 2003-06-03 John Levon <levon@movementarian.org>
2373 * CutAndPaste.C: update tabular and include inset
2378 * paragraph.C: remove owningBuffer(), don't pass Buffer
2381 * factory.C: insetGraphicsParams changed
2383 2003-06-02 John Levon <levon@movementarian.org>
2389 * text3.C: remove insetparent
2391 2003-06-02 John Levon <levon@movementarian.org>
2394 * buffer.C: fix inset_iterator.end(), move out of line
2397 2003-06-01 John Levon <levon@movementarian.org>
2399 * text3.C: use a proper cut/paste when doing inset
2400 insert (from Jürgen Spitzmüller)
2402 2003-06-01 John Levon <levon@movementarian.org>
2404 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2406 2003-05-30 André Pönitz <poenitz@gmx.net>
2408 * rowpainter.C: unify second drawing phase
2410 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * trans_mgr.C: remove one case of current_view
2414 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2416 * paragraph_funcs.h: remove paragraph.h include
2418 * paragraph.h: delete NO_STD_LIST stuff
2420 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2422 * buffer.h: remove paragraph.h include
2424 * ParagraphList.C: delete file
2426 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2428 * toc.C (getTocList): adjust
2430 * paragraph_pimpl.C (validate): adjust
2432 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2434 * paragraph.C (Paragraph): adjust
2435 (getPositionOfInset): use const_iterator, adjust
2436 (bibitem): use const_iterator, adjust
2437 (setInsetOwner): adjust
2439 * iterators.C (operator++): adjust
2441 * InsetList.[Ch]: Replace selfmade iterator with standard
2442 vector::iterator also introduce const_iterator. Remove getPos,
2443 getInset and setInset from InsetTable. Adjust accordingly.
2445 * BufferView.C (lockInset): adjust
2446 (ChangeInsets): adjust
2448 * tabular.[Ch]: delete commented same_id functions
2450 2003-05-28 John Levon <levon@movementarian.org>
2452 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2454 2003-05-28 André Pönitz <poenitz@gmx.net>
2456 * metricsinfo.[Ch]: remove 'fullredraw' member
2458 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2460 * lyxtextclass.C (operator): remove caching.
2462 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * text2.C (cursorBottom): adjust
2467 (setCounter): use ParagraphList::find, adjust
2469 * text.C (workWidth): use ParagraphList::find, adjust
2471 * lyxcursor.C (LyXCursor): adjust
2473 * buffer.C (inset_iterator): adjust
2475 * ParagraphList.h: make iterator(value_type) private, make
2476 ParagraphList a friend of iterator.
2478 * ParagraphList.C (find): new function
2480 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2482 2003-05-27 André Pönitz <poenitz@gmx.net>
2484 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2486 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2488 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2490 2003-05-26 John Levon <levon@movementarian.org>
2492 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2494 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * remove same_id from function signatures, adjust.
2498 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2502 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2504 * paragraph.C (Paragraph): get rid of same_ids parameter
2506 * ParagraphList.C (insert): adjust
2509 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * paragraph_funcs.C (breakParagraph): adjust
2512 (breakParagraphConservative): adjust
2514 * buffer.C (readParagraph): adjust
2516 * ParagraphList.C (insert): take a reference instead of a pointer
2519 * paragraph.[Ch] (id): new function
2521 * bufferlist.C (newFile): adjust
2523 * ParagraphList.C (ParagraphList): adjust
2525 (push_back): take a reference instead of a pointer.
2527 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2529 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2532 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2533 set else use old code.
2535 * ParagraphList.C: remove all NO_NEXT code and only compile this
2536 code of NO_STD_LIST is set.
2538 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2540 * BufferView_pimpl.C:
2550 * graphics/GraphicsConverter.C:
2551 * graphics/PreviewLoader.C: header adjustment
2553 2003-05-23 Angus Leeming <leeming@lyx.org>
2555 * LaTeXFeatures.[Ch] (useBabel): new method.
2556 * bufferparams.C (writeLaTeX): use it.
2558 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * ParagraphList.h (set): remove unused function.
2562 2003-05-23 André Pönitz <poenitz@gmx.net>
2565 * BufferView_pimpl.C:
2569 * undo_funcs.C: setUndo reworked
2571 * iterators.[Ch]: add access to topmost ParagraphList
2573 * lyxtext.[Ch] (workWidth): add a const
2575 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2577 * texrow.[Ch] (increasePos): remove function
2578 * exporter.C (export): removed unused var and outdated comment
2580 2003-05-23 Angus Leeming <leeming@lyx.org>
2582 * latexrunparams.h: rename fragile as moving_arg.
2583 * paragraph.C (simpleTeXOnePar): ditto.
2584 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2586 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2590 (textUndoOrRedo): comment out a currently unused var.
2592 * paragraph.h (NO_NEXT): enable NO_NEXT
2594 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2596 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2598 * exporter.C (Export): adjust for removeAutoInsets removal.
2600 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2602 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2604 * BufferView.[Ch] (removeAutoInsets): delete function
2606 2003-05-22 Angus Leeming <leeming@lyx.org>
2608 * latexrunparams.h: add a free_spacing variable.
2610 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2611 to pass moving_arg, as the data is stored in runparams.fragile.
2613 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2614 to Inset::latexOptional or to simpleTeXOnePar.
2616 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2617 free_spacing arg to Inset::latexOptional.
2619 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2622 2003-05-22 Angus Leeming <leeming@lyx.org>
2624 * latexrunparams.h: add fragile and use_babel variables.
2626 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2627 * buffer.C (makeLaTeXFile): store this returned value in
2628 runparams.use_babel, thus passing it to the inset::latex methods.
2630 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2631 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2633 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2634 longer has a fragile arg, as it is stored in runparams.fragile.
2636 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2637 moving_arg parameter as the data is stored in runparams.fragile.
2639 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2640 a fragile parameter as the data is stored in runparams.fragile.
2642 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2646 2003-05-22 Angus Leeming <leeming@lyx.org>
2648 * latexrunparams.h: add a 'bool nice' which defaults to false.
2650 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2651 now encapsulated within runparams.
2653 * bufferlist.C (updateIncludedTeXfiles):
2654 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2656 2003-05-22 Angus Leeming <leeming@lyx.org>
2658 * latexrunparams.h: new file containing struct LatexRunParams.
2659 * Makefile.am: add new file.
2661 * LaTeX.[Ch] (c-tor, run):
2662 * buffer.[Ch] (makeLaTeXFile):
2663 * bufferlist.[Ch] (updateIncludedTeXfiles):
2664 * converter.C (convert, scanLog):
2665 * converter.[Ch] (runLaTeX):
2666 * exporter.C (Export):
2667 * paragraph.[Ch] (simpleTeXOnePar):
2668 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2669 * paragraph_funcs.[Ch] (latexParagraphs):
2670 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2671 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2672 pass around a LatexRunParams parameter.
2674 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * paragraph.[Ch]: remove unused constructor
2678 * ParagraphList.C (erase): new function, taking two iterators
2680 2003-05-22 André Pönitz <poenitz@gmx.net>
2682 * undo_funcs.C: remove duplicated code
2684 * iterator.[Ch]: operator=
2686 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * tabular.C (SetMultiColumn): ws changes
2690 * rowpainter.C (paintFirst): get rid of a ->previous
2692 * lyx_cb.C (getPossibleLabel): parlist simplification
2694 * BufferView.C (ChangeInsets): simplify slightly.
2696 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2698 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2699 * lfuns.h: new LFUN_SPACE
2700 * lyxfunc.C: protected space has a new lfun
2701 * paragraph_funcs.C: read new space insets
2703 * factory.C: handle new space insets
2705 2003-05-22 André Pönitz <poenitz@gmx.net>
2708 * BufferView_pimpl.C:
2711 * undo_funcs.C: return a ParIterator from getParFromID.
2713 * iterators.[Ch]: add two const's
2715 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * toc.C (getTocList): adjust
2719 * iterators.[Ch]: rework for parlist
2721 * buffer.C (par_iterator_begin): adjust
2722 (par_iterator_end): adjust
2724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2726 * BufferView.C (removeAutoInsets): adjust
2727 (ChangeInsets): adjust
2729 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2731 * text.C (top_y): fix bug 1110
2733 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2735 * errorlist.[Ch]: added
2738 * BufferView_pimpl.C:
2739 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2742 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2744 * Makefile.am: ensure that lyx is relinked upon changes to the
2745 various "convenience" libs.
2747 2003-05-20 Angus Leeming <leeming@lyx.org>
2749 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2750 files are compiled in alphabetical order again.
2752 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2754 2003-05-19 Angus Leeming <leeming@lyx.org>
2756 * gettext.[Ch]: remove "char const * _(char const *)".
2758 2003-05-19 André Pönitz <poenitz@gmx.net>
2760 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2769 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2771 2003-05-19 André Pönitz <poenitz@gmx.net>
2775 * lyxtextclass.[Ch]:
2777 * paragraph_funcs.[Ch]:
2779 * text3.C: more insetenv work
2781 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2783 * ParagraphParameters.C (params2string): small bug fixed
2785 2003-05-16 André Pönitz <poenitz@gmx.net>
2788 * bufferview_funcs.C: patch from Kornel Benko to prevent
2789 crash when _(...) is called twice in a statement
2791 2003-05-16 André Pönitz <poenitz@gmx.net>
2798 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2800 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2802 * lyx_main.C (init): remove spurious static_cast
2804 2003-05-14 André Pönitz <poenitz@gmx.net>
2806 * BufferView.C: fix format string
2808 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2810 * BufferView.[Ch] (insertErrors): removed
2811 * BufferView.[Ch] (showErrorList): added
2812 * buffer.C (runChkTeX):
2813 * converter.C (scanLog): call showErrorList instead of inserterrors
2815 2003-05-13 André Pönitz <poenitz@gmx.net>
2817 * BufferView_pimpl.C:
2819 * bufferview_func.C:
2826 * tabular_funcs.h: tostr() from its own header
2828 * ParagraphParameters.C:
2833 * text3.C: STRCONV()
2835 2003-05-12 André Pönitz <poenitz@gmx.net>
2838 * BufferView_pimpl.C:
2842 * ParagraphParameters.C:
2846 * bufferview_funcs.C:
2859 * paragraph_funcs.C:
2863 * text3.C: boost::format -> bformat all over the place
2866 2003-05-09 André Pönitz <poenitz@gmx.net>
2868 * LColor.[Ch]: Pimpl the #include <map> away
2870 2003-05-09 John Levon <levon@movementarian.org>
2872 * bufferlist.C: never remove emergency saves
2874 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2876 * Makefile.am: better lib building
2878 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2882 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2883 (simpleTeXSpecialChars): adjust
2884 (simpleTeXSpecialChars): adjust
2885 * paragraph.C (simpleTeXOnePar): adjust
2886 * buffer.C (makeLaTeXFile): adjust
2888 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2890 * text2.C (changeDepth): parlist cleanup
2891 (getColumnNearX): ditto
2893 * rowpainter.C (getLabelFont): parlist cleanup
2895 * bufferlist.C (newFile): parlist cleanup
2897 * CutAndPaste.C (eraseSelection): parlist cleanup
2899 * BufferView_pimpl.C (trackChanges): parlist cleanup
2902 * BufferView.C (lockInset): parlist cleanup.
2903 (ChangeInsets): ditto
2905 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * CutAndPaste.h: Update file header.
2909 * CutAndPaste.C: Update file header.
2910 Store the parts cut out of the Document in a limited_stack.
2911 (copySelection): adjust
2912 (pasteSelection): new function, takes the index in the limited stack.
2913 (nrOfParagraphs): adjust
2914 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2915 simplify error inset insertion.
2916 (checkPastePossible): adjust
2918 2003-05-06 John Levon <levon@movementarian.org>
2920 * text2.C: don't cast wrap inset to float
2922 2003-05-05 André Pönitz <poenitz@gmx.net>
2925 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2927 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2928 few naked Paragraph *.
2930 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2932 * bufferparams.C: Output warning if a document with missing
2933 TeX document class is loaded
2934 * exporter.C: Disable TeX exports if the document class is missing
2937 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2938 isTeXClassAvailable()
2940 2003-05-03 John Levon <levon@movementarian.org>
2943 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2944 explicit cursor show/hide
2946 * BufferView_pimpl.h:
2947 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2948 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2950 * lyxfunc.C: hide cursor before dispatching.
2955 * text3.C: remove explicit cursor hides
2957 2003-05-02 André Pönitz <poenitz@gmx.net>
2959 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2962 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2965 * text2.C: tiny whitespace
2967 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * undo_funcs.C: almost only ws changes.
2971 * ParagraphList.C (splice): just return if pl is empty.
2973 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * ParagraphList.C (splice): new function.
2977 * CutAndPaste.C (pasteSelection): use it
2979 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2981 * CutAndPaste.C (pasteSelection): remove the last next and
2982 previous from this file.
2984 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * CutAndPaste.C (pasteSelection): more clean up, user proper
2987 ParagraphList functions for pasteing.
2989 * ParagraphList.C (insert): new function, three arg insert
2991 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * ParagraphList.C (insert): new function, three arg insert
2995 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2998 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3000 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3002 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3006 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3008 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3009 (copySelection): clean up a bit.
3010 (pasteSelection): use make_pair
3012 * ParagraphList.C (ParagraphList): implement copy constructor
3013 (operator=): implement, base on copy constructor.
3016 * paragraph.C (erase): return a bool
3018 * paragraph_pimpl.C (erasePos): remove function, move contents...
3019 (erase): ... here. Return a bool.
3020 (erase): call erase instead of erasePos.
3022 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3024 * ParagraphList.h: define PitPosPair
3025 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3026 ParagraphList, fix a bug on pasting multiple pars
3027 * text2.C: change interface to C&P
3029 2003-04-30 André Pönitz <poenitz@gmx.net>
3031 * undo_func.C: revert part of yesterday's patch 2
3033 2003-04-30 John Levon <levon@movementarian.org>
3035 * LColor.C: s/tabular/table/
3037 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * text3.C (dispatch): do not convert iterator -> pointer
3040 * undo_funcs.C (setCursorParUndo): ditto
3041 * text_funcs.C (transposeChars): ditto
3043 * text2.C (setLayout): ws changes only
3045 * text.C (breakParagraph): do not convert iterator -> pointer
3047 (acceptChange): ditto
3048 (rejectChange): ditto
3053 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3056 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3058 * text3.C (gotoInset): YABG (yet another bad getChar)
3060 2003-04-29 André Pönitz <poenitz@gmx.net>
3062 * paragraph.h: make operator= private unimplemented as long as
3065 * ParagraphList.C: whitespace
3068 * paragraph_pimpl.[Ch]:
3069 * paragraph_funcs.C:
3071 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3074 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3076 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3078 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3079 * paragraph.[Ch] (erase):
3080 * paragraph_pimpl.[Ch] (erase): change return type and value
3081 * text2.C (cutSelection): some rework
3083 2003-04-28 John Levon <levon@movementarian.org>
3085 * bufferlist.C: changes for unsaved changes dialog
3087 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * bufferlist.C (newFile): set language (messages_) for new
3092 * buffer.C (readFile): ws changes only.
3094 2003-04-28 André Pönitz <poenitz@gmx.net>
3099 * BufferView_pimpl.C:
3100 * BufferView.C: getParFromID related ParagraphList::iterator changes
3102 2003-04-28 André Pönitz <poenitz@gmx.net>
3104 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3107 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * messages.C: remove one more localedir class variable.
3111 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * messages.C (getLocaleDir): singleton generation function
3115 (Messages): add a default constructor.
3117 * main.C (main): do not setup localedir here, do not call
3120 * gettext.C (_): use it.
3121 (gettext_init): delete funciton
3123 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * gettext.C (getLyXMessages): new singleton generating function.
3127 * buffer.C (updateDocLang): adjust
3129 * Makefile.am (messages.o): add target
3130 (main.o): remove target
3132 2003-04-27 John Levon <levon@movementarian.org>
3137 * lyxvc.C: specify cancel button in Alert::prompt
3139 2003-04-26 John Levon <levon@movementarian.org>
3144 * LyXAction.C: add LFUN_INSET_SETTINGS
3146 * lyxfunc.C: don't enable tabular-feature when there's
3147 just any locking inset
3149 2003-04-26 John Levon <levon@movementarian.org>
3151 * bufferlist.C: re-add Cancel to buffer close question
3153 * lyxfunc.C: fix import UI a bit
3155 2003-04-25 John Levon <levon@movementarian.org>
3157 * gettext.C: remove the broken asserts for now
3159 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * messages.C: make case where setlocale cannot comply work better.
3163 * buffer.C (updateDocLang): new function
3164 (changeLanguage): use it
3167 * text2.C (setCounter): use B_ a bit.
3169 * lyxlayout.C (Read): be sure to trim the label strings.
3171 * messages.C (Messages): fix typo in comment
3173 * buffer.C (readFile): set message_ after file is loaded.
3174 (makeDocBookFile): remove double return
3175 (changeLanguage): reset message_ upon language change.
3176 (B_): new func, use this to get translated buffer strings.
3178 * main.C: add myself and Jean Marc as authors.
3180 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * messages.[hC]: pimplify Messages, and three different pimpls to be
3183 used in different circumstances.
3185 * gettext.[Ch]: change for use with new message code.
3187 2003-04-24 André Pönitz <poenitz@gmx.net>
3189 * factory.C: support for eqref
3191 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * messages.[Ch]: add missing char
3195 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3197 * messages.[Ch]: New files
3199 2003-04-18 John Levon <levon@movementarian.org>
3203 * BufferView_pimpl.C:
3207 * text2.C: remove layout-copy/paste (bug 778)
3209 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3211 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3213 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3215 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3216 if they succeed. Act accordingly.
3218 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * text2.C (setCharFont): adjust
3221 (setCounter): adjust
3222 (insertStringAsLines): adjust
3224 * text.C (leftMargin): adjust
3225 (setHeightOfRow): adjust
3227 * rowpainter.C (paintFirst): adjust
3230 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3232 (isFirstInSequence): ditto
3233 (getEndLabel): ditto
3236 * paragraph.C (getParLanguage): comment out some hard stuff.
3238 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3240 (simpleDocBookOnePar): ditto
3241 (makeDocBookFile): use ParagraphList::iterator
3243 * CutAndPaste.C (pasteSelection): adjust
3245 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * text2.C (getFont): adjust
3248 (getLayoutFont): adjust
3249 (getLabelFont): adjust
3251 * paragraph_funcs.C (TeXOnePar): adjust
3253 * buffer.C (simpleLinuxDocOnePar): adjust
3254 (simpleDocBookOnePar): adjust
3256 * CutAndPaste.C (pasteSelection): adjust
3258 * BufferView.C (getEncoding): adjust
3260 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3262 2003-04-16 John Levon <levon@movementarian.org>
3264 * lyxfind.C: use parlist stuff for search/changes
3266 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3270 * text2.C (deleteEmptyParagraphMechanism): adjust
3272 * text2.[Ch] (ownerParagraph): delete func (both of them
3274 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3278 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * ParagraphList.C: prepare for NO_NEXT
3282 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * text2.C (getFont): adjust
3285 (getLayoutFont): adjust
3286 (getLabelFont): adjust
3288 * paragraph.C (getFont): adjust
3289 (getLabelFont): adjust
3290 (getLayoutFont): adjust
3292 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3294 2003-04-15 John Levon <levon@movementarian.org>
3298 * lyx_main.C: handle Include in .ui files
3300 2003-04-15 John Levon <levon@movementarian.org>
3302 * MenuBackend.C: make the doc files length shorter
3305 * ToolbarBackend.C: handle toolbar placement flags,
3308 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3313 * paragraph_funcs.C (TeXOnePar): adjust
3315 * paragraph.C (getLabelFont): add outerfont arg, adjust
3316 (getLayoutFont): ditto
3317 (simpleTeXOnePar): adjust
3319 * paragraph_pimpl.C (realizeFont): delete func
3321 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3323 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3324 row argument, constify cur argument.
3326 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * text2.C (getFont): adjust
3329 (getLayoutFont): adjust
3330 (getLabelFont): adjust
3332 * paragraph_funcs.C (TeXOnePar): adjust
3333 (outerFont): new func...
3334 (realizeFont): ...moved out from here, changed this to facilitate
3337 * paragraph.C (getFont): take outerfont as arg, adjust
3338 (simpleTeXOnePar): add outerfont arg, adjust
3340 * buffer.C (simpleLinuxDocOnePar): adjust
3341 (simpleDocBookOnePar): adjust
3343 * CutAndPaste.C (pasteSelection): adjust
3345 * BufferView.C (getEncoding): adjust
3347 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * text2.C (setCharFont): adjust
3350 (setCounter): adjust
3352 * text.C (leftMargin): adjust
3353 (setHeightOfRow): adjust
3355 * rowpainter.C (paintFirst): adjust
3358 * paragraph_pimpl.C (realizeFont): adjust
3360 * paragraph.C (isFirstInSequence): move from here...
3361 * paragraph_funcs.C (isFirstInSequence): ...to here
3363 * paragraph.C (outerHook): move from here...
3364 * paragraph_funcs.C (outerHook): ...to here
3366 * paragraph.C (depthHook): move from here...
3367 * paragraph_funcs.C (depthHook): ...to here
3369 * paragraph.C (getEndLabel): move from here...
3370 * paragraph_funcs.C (getEndLabel): ...to here
3372 * text2.C (realizeFont): move from here...
3373 * paragraph_funcs.C (realizeFont): ...to here
3375 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3379 2003-04-14 Angus Leeming <leeming@lyx.org>
3381 * LColor.[Ch]: scrap LColor mathcursor.
3383 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * lyxlex.[Ch] (text): delete function
3386 * trans.C (Load): adjust
3387 * paragraph_funcs.C (readParToken): adjust
3389 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3391 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3392 vector<char> instead of a char[].
3394 * lyxlex_pimpl.C (getString): adjust
3396 (lex): use getString
3400 * lyxlex.C (text): use pimpl_->getString()
3404 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3407 (makeFontEntriesLayoutSpecific): temp var for par.size()
3408 (setLayout): temp var for ownerParagraphs().end()
3409 (fullRebreak): temp var for rows().end()
3410 (selectionAsString): temp var for boost::next(startpit), realize
3411 that the while really is a regular for loop.
3412 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3413 setCursor in one place.
3414 (setParagraph): temp vr for ownerParagraphs().end()
3415 (updateCounters): make the while loop a for loop
3416 (cutSelection): temp var for ownerParagraphs().end()
3417 (updateInset): make the do {} while() a regular for loop
3418 (getCursorX): use temp vars
3419 (setCurrentFont): use temp vars
3420 (getColumnNearX): use temp vars
3422 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * text.C (transformChar): use temp var for getChar
3425 (computeBidiTables): use temp var for row->par()
3426 (fill): move temp vars for row->par() and pit->layout() earlier in
3428 (labelFill): use temp var for row->par()
3429 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3430 asc and desc, realize that pit never changes and that firstpit is
3431 just a duplicate and not needed. Exchange rit->par() with pit in a
3433 (breakAgain): use a temp var for boost::next(rit)
3434 (breakAgainOneRow): ditto
3435 (breakParagraph): use a temp var for rows().begin()
3436 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3437 (cursorRightOneWord): use temp var for cursor.par() and
3438 cursor.pos(), remove usage of tmpcursor.
3439 (cursorLeftOneWord): use temp var for cursor.par() and
3440 cursor.pos() only set cur at end of function.
3442 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3444 * text.C, text2.C: exchange all usage of Paragraph::next with
3445 boost::next(ParagraphList::iterator)
3447 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3449 * text2.C (cursorTop): simplify implementation
3450 (cursorBottom): ditto
3451 (setParagraph): use ParagraphList::iterator
3452 (setCurrentFont): adjust
3453 (getColumnNearX): adjust
3454 (cursorRight): adjust
3455 (cursorLeft): remove usage of Paragraph::previous
3456 (cursorUpParagraph): ditto
3457 (deleteEmptyParagraphMechanism): slight cleanup
3459 * text.C (isBoundary): take a Paragraph const & instead of a
3461 (addressBreakPoint): ditto
3462 (leftMargin): remove usage of Paragraph::previous.
3463 (setHeightOfRow): ditto
3464 (cursorLeftOneWord): ditto
3465 (selectNextWordToSpellcheck): ditto
3468 (breakParagraph): remove one usage of Paragraph::next
3469 (redoParagraph): ditto
3470 (acceptChange): ditto
3471 (insertChar): adjust
3472 (rowBreakPoint): adjust
3474 * bufferview_funcs.C (toggleAndShow): adjust
3476 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3478 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3479 methods to access it.
3481 * text.C: Added updateRowPositions to compute all row positions.
3482 Make top_y and getRowNearY() to use the cached y position
3484 2003-04-11 John Levon <levon@movementarian.org>
3486 * text.C (rowBreakPoint): reintroduce the labelEnd
3487 checks, code copied from the row fill stuff. Deep voodoo.
3489 * text.C (fill): add a comment and debugging for the
3492 2003-04-11 John Levon <levon@movementarian.org>
3494 * text.C: make sure fullrow insets get wrapped to the next line,
3495 even when they're in a manual label
3497 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3499 * text2.C (insertParagraph): make it take ParagraphList::iterator
3501 (setLayout): make it return ParagraphList::iterator
3502 (redoParagraphs): ditto
3504 (checkParagraph): ditto
3506 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3508 * text2.C: adjust several funcs.
3509 (realizeFont): take a ParagraphList::iterator as arg.
3510 (getLayoutFont): ditto
3511 (getLabelFont): ditto
3512 (setCharFont): ditto
3514 * text.C: adjust several funcs.
3516 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3518 * text.C (selectNextWordToSpellcheck): don't accidentally
3521 2003-04-10 John Levon <levon@movementarian.org>
3523 * ToolbarBackend.C (getIcon): special handling for
3526 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3528 * text2.C (cursorRight): a getChar assert fixed
3530 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3532 * text2.C (getFont): change to take a ParagraphList::iterator
3533 instead of Paragraph*
3534 Adjust several functions.
3536 * text.C (transformChar): change to take a ParagraphList::iterator
3537 instead of Paragraph*
3538 (singleWidth): ditto
3539 Adjust several functions.
3541 * rowpainter.C: adjust several functions
3542 * rowpainter.h:store a ParagraphList::iterator and not a
3546 2003-04-09 John Levon <levon@movementarian.org>
3551 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3552 and the "help" bits as well
3554 2003-04-09 John Levon <levon@movementarian.org>
3557 * ToolbarBackend.C: allow multiple toolbars
3559 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * undo_funcs.C (setCursorParUndo): adjust
3563 * text_funcs.C (transposeChars): adjust
3565 * text3.C (gotoNextInset): adjust
3568 * text2.C (setLayout): adjust
3569 (changeDepth): adjust
3571 (redoParagraphs): adjust
3572 (selectionAsString): adjust
3573 (setParagraph): adjust
3574 (insertInset): adjust
3575 (cutSelection): adjust
3576 (copySelection): adjust
3577 (pasteSelection): adjust
3578 (insertStringAsLines): adjust
3579 (updateInset): adjust
3580 (setCursor): change to take a ParagraphList::iterator parameter
3581 (setCursorIntern): change to take a ParagraphList::iterator parameter
3582 (setCurrentFont): adjust
3583 (cursorLeft): adjust
3584 (cursorRight): adjust
3585 (deleteEmptyParagraphMechanism): adjust
3587 * text.C (breakParagraph): adjust
3588 (insertChar): adjust
3589 (acceptChange): adjust
3590 (rejectChange): adjust
3591 (selectNextWordToSpellcheck): adjust
3592 (changeCase): adjust
3596 * lyxfind.C (SearchForward): adjust
3597 (SearchBackward): adjust
3598 (nextChange): adjust
3600 * lyxcursor.C (par): adjust
3602 * lyxcursor.h: store a ParagraphList::iterator instead of a
3605 * lyx_cb.C (getPossibleLabel): adjust
3607 * bufferview_funcs.C (toggleAndShow): adjust
3609 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3612 * BufferView.C (removeAutoInsets): adjust
3613 (lockedInsetStoreUndo): adjust
3615 2003-04-09 John Levon <levon@movementarian.org>
3617 * ToolbarBackend.C: try icon without argument
3618 if with argument fails
3620 2003-04-08 John Levon <levon@movementarian.org>
3623 * ToolbarBackend.C: add getIcon(), handle tooltip,
3624 and change from "Icon" to "Item".
3626 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3628 * BufferView.C (lockInset): another bad getchar crunched
3630 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3632 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3635 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3637 * lyxfind.C (searchForward, searchBackwards): bug 782
3639 2003-04-07 John Levon <levon@movementarian.org>
3641 * paragraph.C: remove dead comment
3643 * text.C: remove troublesome depth-fiddling code
3644 in leftMargin() and rightMargin() (bug 1017)
3646 * text.C: fix breaking of rows in nested lists
3649 * text2.C (updateCounters): fix up depth values
3652 2003-04-07 John Levon <levon@movementarian.org>
3654 * BufferView_pimpl.C: clear message when doc finishes resizing,
3655 and after a mouse event
3657 * lyxfunc.C: clear message after exiting inset
3659 2003-04-07 John Levon <levon@movementarian.org>
3661 * bufferview_funcs.C: show math status not outside
3662 status in the statusbar
3664 2003-04-07 John Levon <levon@movementarian.org>
3666 * lyxfunc.C: note status changed after a depth change
3668 2003-04-04 Angus Leeming <leeming@lyx.org>
3670 * LaTeX.h: move AuxInfo operator==, != out of line.
3671 Remove LaTeX virtual destructor; nothing derives from it.
3672 Move operator()() out of public area and rename it startscript().
3673 Change protected for private.
3675 2003-04-04 Angus Leeming <leeming@lyx.org>
3678 * text2.C: remove unneeded #includes.
3680 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3682 * text2.C (dEPM): fix the heigth of the next row
3684 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3686 * text.C: squashed an invalid getChar requester + some ws changes
3688 2003-04-03 John Levon <levon@movementarian.org>
3690 * bufferview_funcs.h:
3691 * bufferview_funcs.C:
3694 * text2.C: make getStatus work for the env depth lfuns
3696 2003-04-03 John Levon <levon@movementarian.org>
3698 * bufferview_funcs.h:
3699 * bufferview_funcs.C:
3702 * text2.C: parlistize decDepth(), by merging it with incDepth()
3704 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * lyxrow.h: store a ParagraphList::iterator instead of a
3707 Paragraph* and adjust other class functions to suit.
3709 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3712 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3714 * text2.C (setCursor): do not anchor to cursor row for the time being
3716 2003-04-02 John Levon <levon@movementarian.org>
3723 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3725 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * paragraph.h: make ParagraphList and ParagraphList::iterator
3728 friends of Paragraph.
3730 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3732 * ParagraphList.C: Use the private next_ and previous_ from
3735 2003-04-01 John Levon <levon@movementarian.org>
3739 * Makefile.am: rename, remove defaults gunk
3742 * MenuBackend.C: remove defaults gunk
3745 * Languages.C: remove defaults gunk
3748 * lyx_main.C: error out if files couldn't be found.
3750 2003-04-02 John Levon <levon@movementarian.org>
3752 * text2.C: make incDepth() use parlist
3754 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * undo_funcs.C (firstUndoParagraph): adjust
3758 * text3.C (gotoInset): adjust
3759 (dispatch): adjust, and rewrite loop.
3761 * text2.C (init): adjust, and rewrite loop.
3762 (redoParagraphs): adjust
3763 (updateInset): adjust, and rewrite loop.
3764 (deleteEmptyParagraphMechanism): adjust
3766 * tabular.C (LyXTabular): adjust
3767 (SetMultiColumn): adjust
3770 * lyxtext.[Ch] (ownerParagraph): delete function
3771 (ownerParagraphs): new function returns a ParagraphList.
3773 * BufferView.C (removeAutoInsets): adjust
3774 (insertErrors): adjust
3775 (setCursorFromRow): adjust
3777 2003-04-01 Angus Leeming <leeming@lyx.org>
3779 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3782 2003-04-02 John Levon <levon@movementarian.org>
3788 * text_funcs.C: make transposeChars a free function
3790 * lyxrow_funcs.C: remove wrong comment
3792 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * rowpainter.C: adjust
3800 * lyxrow_funcs. [Ch]: new files
3802 * lyxrow.[Ch]: remove next and previous pointers
3803 (next,previous): remove accessor functions
3804 (isParEnd): move to lyxrow_funcs
3805 (lastPos): move to lyxrow_funcs
3806 (nextRowIsAllInset): move to lyxrow_funcs
3807 (lastPrintablePos): move to lyxrow_funcs
3808 (numberOfSeparators): move to lyxrow_funcs
3809 (numberOfHfills): move to lyxrow_funcs
3810 (numberOfLabelHfills): move to lyxrow_funcs
3811 (hfillExpansion): move to lyxrow_funcs
3815 * bufferview_funcs.C (toggleAndShow): adjust
3817 * RowList.h: Remove class RowList from file leave just a
3820 * RowList.C: delete file
3822 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3825 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3827 * text3.C (cursorPrevious): adjust
3828 (cursorNext): adjust
3831 * text2.C (redoHeightOfParagraph): adjust
3832 (redoDrawingOfParagraph): adjust
3835 * text.C (breakParagraph): adjust
3836 (insertChar): adjust
3839 * rowpainter.C (RowPainter): adjust
3840 (leftMargin): simplify and adjust
3841 (most rowpainter functions): adjust.
3843 * rowpainter.h: store the row as RowList::iterator not as Row*
3845 * lyxcursor.C (row): taka RowList::iterator as arg
3848 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3851 2003-04-01 Angus Leeming <leeming@lyx.org>
3853 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3854 stuff like bool Bool.
3856 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3858 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3861 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3863 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3866 * lyxtext.h (rows): drop one version and leve a const variant that
3867 returns a RowList::iterator.
3869 2003-03-31 Angus Leeming <leeming@lyx.org>
3871 * text.C (fill): ensure that the signature is the same as that in the
3874 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3876 * text2.C (redoParagraphs): adjust
3877 (updateCounters): adjust
3878 (checkParagraph): adjust
3879 (getColumnNearX): adjust and reformat a bit.
3881 * text.C (top_y): adjust
3883 (leftMargin): adjust
3884 (prepareToPrint): adjust
3886 (getRowNearY): adjust
3888 * lyxtext.h: make rowlist_ mutable.
3890 * RowList.h: add const_iterator
3891 * RowList.C: adjust for RowList::const_iterator.
3893 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3896 2003-03-31 John Levon <levon@movementarian.org>
3899 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3901 * lyx_main.C: set default fonts from using lyx_gui funcs
3903 * exporter.C: pdf_mode moved from lyxrc
3906 * lyxfunc.C: changes from above
3908 2003-03-31 John Levon <levon@movementarian.org>
3910 * lyx_main.C: fix to the last fix
3912 2003-03-31 John Levon <levon@movementarian.org>
3914 * bufferlist.C: "Load original" -> "Load Original"
3920 * format.C: more Alert cleanups
3922 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * text2.C (removeParagraph): make it take a RowList::iterator as
3926 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3927 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3929 * text.C (anchor_row): make it take a RowList::iterator as arg,
3931 (computeBidiTables): make it take a const reference to Row instead
3932 of Row pointer, adjust.
3933 (leftMargin): make it take a RowList::iterator as arg, adjust.
3934 (rowBreakPoint): adjust
3935 (breakAgainOneRow): make it take a RowList::iterator as arg,
3937 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3939 * bufferview_funcs.C (toggleAndShow): adjust
3941 2003-03-30 John Levon <levon@movementarian.org>
3945 * boost-inst.C: moved to support
3947 * several files: changes as a result
3949 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * text2.C (LyXText): adjust.
3953 (removeRow): make it take a RowList::iterator as arg, adjust.
3954 (fullRebreak): adjust
3955 (deleteEmptyParagraphMechanism): adjust
3956 (clearPaint): adjust
3959 * text.C (top_y): adjust
3960 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3961 (breakAgain): make it take a RowList::iterator as arg, adjust.
3962 (breakParagraph): adjust
3963 (insertChar): adjust
3966 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3967 need_break_row, and refresh_row.
3969 * text3.C (dispatch): adjust
3971 * text2.C (checkParagraph): adjust
3973 (setCursorFromCoordinates): adjust
3975 * text.C (top_y): adjust
3977 (getRow): make it return a RowList::iterator, adjust
3978 (getRowNearY): make it return a RowList::iterator, adjust
3980 * text2.C (init): adjust
3981 (insertRow): remove function
3982 (insertParagraph): adjust
3983 (redoParagraphs): adjust
3984 (fullRebreak): adjust
3985 (updateCounters): adjust
3987 * text.C (top_y): rewrite to use RowList iterators.
3989 (setHeightOfRow): rewrite to sue RowList iterators.
3990 (appendParagraph): adjust
3991 (breakAgain): adjust
3992 (breakAgainOneRow): adjust
3993 (breakParagraph): adjust
3995 (getRowNearY): adjust, and remove commented code.
3997 * lyxtext.h (firstRow): delete function
3998 (lastRow): delete function
3999 (rows): new function (const and non-const versions.)
4000 (insertRow): delete function
4002 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4004 2003-03-29 John Levon <levon@movementarian.org>
4006 * BufferView_pimpl.C: always update scrollbar top
4007 because pasting text when we're anchored could mean we
4008 miss an update altogether
4010 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * text2.C (init): use rowlist_.end() and not 0.
4013 (insertRow): change to take a RowList::iterator as arg, adjust
4015 (insertParagraph): change to take a RowList::iterator as arg,
4017 (redoParagraphs): remove some debug msgs.
4019 * text.C (appendParagraph): change to take a RowList::iterator
4020 arg, adjust for this.
4021 (breakAgain): add an assert
4022 (breakAgainOneRow): ditto
4024 2003-03-29 John Levon <levon@movementarian.org>
4026 * text2.C: do not clear selection after inc/decDepth
4029 2003-03-29 John Levon <levon@movementarian.org>
4032 * buffer.C: fix broken strerrors according to Lars
4034 2003-03-29 John Levon <levon@movementarian.org>
4036 * converters.C: more Alert cleanups
4038 2003-03-29 John Levon <levon@movementarian.org>
4040 * bufferview_funcs.C: remove pointless Alert
4042 * buffer.C: fix confusing error message when
4043 a template is chmoded 000
4045 2003-03-29 John Levon <levon@movementarian.org>
4049 * BufferView_pimpl.C: Alert fixes
4053 * tabular-old.C: remove unused table compat reading
4055 2003-03-29 John Levon <levon@movementarian.org>
4060 * lyx_cb.C: more Alert cleanups
4062 * lyxfunc.C: don't allow chktex if not latex document
4064 2003-03-29 John Levon <levon@movementarian.org>
4068 * buffer.C: warnings pushed down from support/,
4071 2003-03-29 John Levon <levon@movementarian.org>
4073 * lyxfunc.C: safety check for C-r (revert)
4075 2003-03-29 John Levon <levon@movementarian.org>
4078 * bufferlist.C: several UI fixes using Alert::prompt.
4079 Fix the pointless looping quit code. Fix stupid revert
4084 * lyx_cb.C: use Alert::prompt
4086 * lyx_main.C: remove a silly question
4088 * lyxfunc.C: remove a couple of silly questions,
4091 2003-03-28 John Levon <levon@movementarian.org>
4093 * text2.C: fix bug 974 (End on empty par)
4095 2003-03-28 John Levon <levon@movementarian.org>
4097 * BufferView_pimpl.C:
4099 * lfuns.h: remove do-nothing math greek lfuns
4101 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * lyxgluelength.h (isValidGlueLength): add default arg on
4104 parameter 2. Remove default arg from friend in class.
4106 * lyxlength.h (isValidLength): add default arg on parameter 2.
4107 Remove default arg from friend in class.
4109 * text2.C (LyXText): adjust, initialize refresh_row.
4113 (insertParagraph): adjst
4114 (redoParagraphs): adjust
4115 (fullRebreak): adjust
4116 (updateCounters): adjust
4117 (deleteEmptyParagraphMechanism): first attempt at fixing a
4120 * text.C (top_y): adjust
4121 (setHeightOfRow): adjust
4123 (getRowNearY): adjust
4125 * lyxtext.h: include RowList.h
4126 (~LyXText): not needed anymore, deleted.
4127 (firstRow): modify for RowList
4128 (lastRow): new function
4129 Delete firstrow and lastrow class variables, add a Rowlist
4130 rowlist_ class variable.
4132 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4135 * RowList.C (insert): fix case where it == begin().
4137 2003-03-26 Angus Leeming <leeming@lyx.org>
4139 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4140 the thesaurus dialog.
4142 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4146 * RowList.[Ch]: new files
4148 * ParagraphList.C (erase): handle the case where it == begin
4151 2003-03-25 John Levon <levon@movementarian.org>
4155 * aspell.C: add new aspell support
4158 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4161 2003-03-25 Angus Leeming <leeming@lyx.org>
4164 * LyXAction.C (init): new LFUN_INSET_INSERT.
4166 * BufferView_pimpl.C (dispatch): split out part of the
4167 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4169 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4172 2003-03-25 Angus Leeming <leeming@lyx.org>
4174 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4176 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4179 * text3.C: remove useless row->height(0)
4181 2003-03-25 John Levon <levon@movementarian.org>
4185 * text3.C: rename the refreshing stuff to better names
4187 2003-03-24 John Levon <levon@movementarian.org>
4189 * BufferView_pimpl.h:
4190 * BufferView_pimpl.C: update layout choice on a mouse
4193 2003-03-23 John Levon <levon@movementarian.org>
4195 * Makefile.am: fix commandtags.h reference
4197 2003-03-22 John Levon <levon@movementarian.org>
4199 * BufferView_pimpl.C:
4204 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4206 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4209 * text.C: take the rtl methods out of line
4211 2003-03-21 André Pönitz <poenitz@gmx.net>
4213 * metricsinfo.[Ch]: new files containing structures to be passed around
4214 during the two-phase-drawing...
4216 2003-03-21 André Pönitz <poenitz@gmx.net>
4218 * lyxtextclass.C: read 'environment' tag.
4220 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4222 * text2.C (removeRow): fix bug 964
4224 2003-03-20 John Levon <levon@movementarian.org>
4228 * text2.C: paint cleanups. Inset::update() dropped font
4231 2003-03-19 John Levon <levon@movementarian.org>
4233 * lyxfunc.C: only fitcursor/markDirty if available()
4235 2003-03-19 John Levon <levon@movementarian.org>
4237 * commandtags.h: rename to ...
4239 * lfuns.h: ... this, and renumber / cleanup
4241 2003-03-19 John Levon <levon@movementarian.org>
4243 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4244 fit the cursor after an lfun
4248 * BufferView_pimpl.h:
4249 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4251 * LyXAction.C: layout-character should have ReadOnly
4253 * ParagraphParameters.C:
4255 * bufferview_funcs.C:
4262 * undo_funcs.C: changes from above
4264 2003-03-18 John Levon <levon@movementarian.org>
4266 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4267 remove it from update()
4269 * lyxfunc.C: update layout choice after an lfun
4271 * text3.C: remove extra updateLayoutChoice()s
4273 2003-03-18 John Levon <levon@movementarian.org>
4275 * text.C: top_y change means full repaint, fix
4276 a drawing bug with cursor movement
4278 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4282 * text2.C: anchor row on setCursor
4284 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4286 * lyxtext.h: remove almost all mutable keywords
4289 * text3.C: remove const keywords accordingly
4291 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4295 (TeXEnvironment): ditto
4298 2003-03-17 John Levon <levon@movementarian.org>
4300 * text.C (rowBreakPoint): remove attempt to fix displayed
4301 math insets inside a manual label
4303 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * lyxtext.h: remove BufferView* as first arg from almost all class
4307 * other files: adjust.
4309 2003-03-17 John Levon <levon@movementarian.org>
4313 * text2.C: more paint cleanups
4315 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4318 * rowpainter.C: remove "smart" background painting code
4320 2003-03-16 John Levon <levon@movementarian.org>
4325 * text3.C: add helper functions for setting refresh_row/y
4327 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4329 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4330 newline inset which *can* get inserted in the pass_thru layouts.
4331 This is primarily for literate documents.
4333 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4335 * buffer.C: increment LYX_FORMAT to 223
4337 2003-03-14 André Pönitz <poenitz@gmx.net>
4339 * textclass.h: prepare for environment handling, ws changes
4340 * lyxlayout.C: read latexheader and latexfooter tags
4342 2003-03-14 John Levon <levon@movementarian.org>
4344 * text2.C: rewrite ::status() a bit
4346 2003-03-13 John Levon <levon@movementarian.org>
4348 * lyxtext.h: add some docs
4350 2003-03-13 John Levon <levon@movementarian.org>
4355 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4357 2003-03-13 John Levon <levon@movementarian.org>
4359 * text3.C: fix appendix redrawing
4361 2003-03-13 John Levon <levon@movementarian.org>
4363 * text.C (setHeightOfRow):
4365 * rowpainter.C: make appendix mark have the text
4366 "Appendix" so the user knows what it is
4369 * LColor.C: s/appendixline/appendix/ from above
4371 2003-03-13 John Levon <levon@movementarian.org>
4373 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4375 * text.C: fix a getChar(pos) bug properly
4377 2003-03-13 Angus Leeming <leeming@lyx.org>
4380 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4381 Probably only temporary. Let's see how things pan out.
4383 * BufferView.C (unlockInset):
4384 * BufferView_pimpl.C (fitCursor):
4385 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4387 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4388 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4390 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4391 new functions that convert ParagraphParameters to and from a string.
4393 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4394 BufferView::Pimpl's dispatch.
4395 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4397 2003-03-13 André Pönitz <poenitz@gmx.net>
4401 * factory.C: make it aware of InsetEnv
4403 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4405 * text2.C (setCursor): never ask for one past last
4406 (setCursor): add some debugging messages.
4408 * text.C (singleWidth): never ask for one past last
4409 (singleWidth): ditto
4411 (rightMargin): ditto
4412 (rowBreakPoint): ditto
4413 (setHeightOfRow): ditto
4414 (prepareToPrint): ditto
4416 * rowpainter.C (paintBackground): never ask for one past last
4417 (paintText): never ask for one past last
4419 * paragraph_pimpl.C (getChar): make the assert stricter, never
4420 allow the one past last pos to be taken
4422 * paragraph.C (getChar): ws changes only
4424 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4425 (numberOfSeparators): ditto
4426 (numberOfHfills): ditto
4428 2003-03-12 John Levon <levon@movementarian.org>
4434 * paragraph_funcs.C: fix per-buffer authorlists
4436 2003-03-12 John Levon <levon@movementarian.org>
4438 * text.C: fix newline in right address
4440 2003-03-12 Angus Leeming <leeming@lyx.org>
4442 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4443 duplicate those in LyXFunc::dispatch.
4447 * ToolbarDefaults.C:
4448 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4449 Add LFUN_FONTFREE_UPDATE.
4451 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4452 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4454 * bufferview_func.[Ch]: several new functions to facilliate
4455 transfer of data to and from the character dialog.
4457 2003-03-12 John Levon <levon@movementarian.org>
4462 * paragraph_funcs.C:
4463 * paragraph_pimpl.C:
4467 * text3.C: remove META_NEWLINE in favour of an inset
4470 * rowpainter.C: remove paintNewline (done by inset)
4472 2003-03-12 John Levon <levon@movementarian.org>
4474 * paragraph_pimpl.C: complain about bad getChar()s
4475 for a while at least
4477 2003-03-12 John Levon <levon@movementarian.org>
4480 * buffer.C: move paragraph read into a separate function,
4481 a little renaming to reflect that.
4484 * bufferparams.C: remove the author_ids map, not necessary now
4487 * factory.C: moved Buffer::readInset to here
4489 * paragraph_funcs.h:
4490 * paragraph_funcs.C: readParagraph free function moved from
4493 * tabular.C: name change
4495 2003-03-12 John Levon <levon@movementarian.org>
4498 * ParagraphParameters.C: move par params input to
4501 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4502 behave like a normal read from the stream wrt reading
4503 a line vs. a \\token
4505 2003-03-12 John Levon <levon@movementarian.org>
4508 * ParagraphParameters.h:
4509 * ParagraphParameters.C: move output code to a
4512 2003-03-12 John Levon <levon@movementarian.org>
4514 * BufferView.C (insertLyXFile):
4517 * tabular.C: use a parlist iterator for creating the
4520 2003-03-12 John Levon <levon@movementarian.org>
4522 * buffer.C: make current_change static local not
4525 2003-03-12 John Levon <levon@movementarian.org>
4527 * buffer.C: fix insertStringAsLines for change tracking
4529 2003-03-12 John Levon <levon@movementarian.org>
4536 * bufferparams.C: move author list into params. Rename some
4537 functions. Move the header reading into a separate token
4538 loop. Move the header token reading into BufferParams.
4540 2003-03-12 John Levon <levon@movementarian.org>
4542 * changes.C: put debug inside lyxerr.debugging() checks
4544 2003-03-11 André Pönitz <poenitz@gmx.net>
4546 * factory.C: make it aware of InsetHFill
4548 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4550 * buffer.C (latexParagraphs): move function from here...
4551 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4554 2003-03-10 Angus Leeming <leeming@lyx.org>
4556 * LyXAction.C (init): fix bug in poplating array with multiple entries
4557 with the same LFUN (spotted by JMarc).
4559 2003-03-10 John Levon <levon@movementarian.org>
4562 * text2.C: move getColumnNearX() near its
4565 2003-03-10 John Levon <levon@movementarian.org>
4567 * text.C: fix break before a minipage
4569 2003-03-10 John Levon <levon@movementarian.org>
4571 * text.C: fix the last commit
4573 2003-03-09 John Levon <levon@movementarian.org>
4577 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4578 bug 365 (don't break before insets unless needed). Don't
4579 return a value > last under any circumstances.
4581 2003-03-09 Angus Leeming <leeming@lyx.org>
4583 * BufferView_pimpl.C (trackChanges, dispatch): call
4584 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4586 2003-03-09 Angus Leeming <leeming@lyx.org>
4588 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4589 than Dialogs::showAboutlyx().
4591 2003-03-09 Angus Leeming <leeming@lyx.org>
4593 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4594 than Dialogs::showTabularCreate().
4596 2003-03-09 John Levon <levon@movementarian.org>
4600 * text2.C: 3rd arg to nextBreakPoint was always the same.
4603 2003-03-08 John Levon <levon@movementarian.org>
4610 * text2.C: Remove the "main" bit from the "main body"
4613 2003-03-08 John Levon <levon@movementarian.org>
4615 * text.C (leftMargin): The left margin of an empty
4616 manual label paragraph should not include the label width
4619 * text.C (prepareToPrint): don't attempt to measure hfills
4620 for empty manual label paragraphs - the answer should be 0
4622 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4624 * CutAndPaste.C: remove commented code and reindent.
4626 2003-03-08 John Levon <levon@movementarian.org>
4629 * lyxfunc.C: move reloadBuffer()
4632 * BufferView.C: to here
4634 * lyxvc.C: add comment
4637 * vc-backend.C: call bv->reload() to avoid
4638 getStatus() check on MENURELOAD
4640 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4642 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4643 to an old format .dep file.
4645 2003-03-07 Angus Leeming <leeming@lyx.org>
4647 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4648 when the LFUN_MOUSE_RELEASE should have been handled by
4649 inset->localDispatch.
4651 2003-03-07 Angus Leeming <leeming@lyx.org>
4653 * BufferView_pimpl.C (dispatch):
4654 * LyXAction.C (init):
4655 * ToolbarDefaults.C (init):
4657 * lyxfunc.C (getStatus):
4658 remove LFUN_INSET_GRAPHICS.
4660 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4662 2003-03-07 Angus Leeming <leeming@lyx.org>
4665 * LyXAction.C (init):
4666 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4668 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4671 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4673 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4674 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4676 2003-03-07 Angus Leeming <leeming@lyx.org>
4678 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4681 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * ParagraphList.C (front): new function
4686 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4688 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4689 and top_row_offset_. removed var first_y.
4691 * text2.C (LyXText, removeRow):
4693 * BufferView_pimpl.C:
4694 use these methods instead of using first_y
4696 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * text2.C (pasteSelection): adjust for checkPastePossible
4700 * CutAndPaste.C: remove Paragraph * buf and replace with
4701 ParagraphList paragraphs.
4702 (DeleteBuffer): delete
4703 (cutSelection): change the tc type to textclass_type
4704 (copySelection): change the tc type to textclass_type
4705 (copySelection): adjust for ParagraphList
4706 (pasteSelection): change the tc type to textclass_type
4707 (pasteSelection): adjust for Paragraphlist
4708 (nrOfParagraphs): simplify for ParagraphList
4709 (checkPastePossible): simplify for ParagraphList
4710 (checkPastePossible): remove unused arg
4712 * ParagraphList.C (insert): handle the case where there are no
4715 * CutAndPaste.h: make CutAndPaste a namespace.
4717 * text3.C (dispatch): adjust
4719 * text.C (breakParagraph): add a ParagraphList as arg
4721 * paragraph_funcs.C (breakParagraph): change to take a
4722 BufferParams and a ParagraphList as args.
4723 (breakParagraphConservative): ditto
4724 (mergeParagraph): ditto
4725 (TeXDeeper): add a ParagraphList arg
4726 (TeXEnvironment): ditto
4729 * buffer.C (readLyXformat2): adjust
4730 (insertStringAsLines): adjust
4731 (latexParagraphs): adjust
4733 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4734 (cutSelection): adjust
4735 (pasteSelection): adjust
4737 * BufferView_pimpl.C (insertInset): adjust
4739 2003-03-05 Angus Leeming <leeming@lyx.org>
4742 * LyXAction.C (init):
4743 * BufferView_pimpl.C (dispatch):
4744 * lyxfunc.C (getStatus):
4745 remove LFUN_CHILD_INSERT.
4747 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4749 2003-03-05 Angus Leeming <leeming@lyx.org>
4752 * LyXAction.C (init):
4753 * src/factory.C (createInset):
4754 * lyxfunc.C (getStatus):
4755 * text3.C (dispatch):
4756 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4758 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4760 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * ParagraphList.C (insert): handle insert right before end()
4763 (erase): fix cases where it can be first or last paragraph.
4765 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4768 Paragraph::next and Paragraph::previous
4771 * text.C (breakParagraph): adjust
4773 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4774 BufferParams& as arg.
4775 (breakParagraph): use ParagraphList::insert
4776 (breakParagraphConservative): take a Buffer* instead of a
4777 BufferParams& as arg.
4778 (breakParagraphConservative): use ParagraphList::insert.
4780 * buffer.C (insertStringAsLines): un-const it
4781 (insertStringAsLines): adjust
4783 * ParagraphList.C (insert): new function
4785 * CutAndPaste.C (pasteSelection): adjust
4787 * text.C (backspace): adjust
4789 * tabular.C (SetMultiColumn): adjust
4791 * CutAndPaste.C (cutSelection): adjust
4792 (pasteSelection): adjust
4794 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4795 Buffer const * as arg
4797 * ParagraphList.C (erase): new function
4798 * paragraph_funcs.C (mergeParagraph): use it
4799 (mergeParagraph): make it take a Buffer* instead of a
4800 BufferParams* as arg
4802 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4804 (breakParagraphConservative): ditto
4806 * paragraph.h: remove the breakParagraph friend
4808 * paragraph.C (eraseIntern): new function
4809 (setChange): new function
4811 * paragraph_funcs.C (mergeParagraph): make it take a
4812 ParagraphList::iterator instead of a Paragraph *, adjust
4815 * paragraph.h: move an #endif so that the change tracking stuff
4816 also works in the NO_NEXT case.
4818 2003-03-04 Angus Leeming <leeming@lyx.org>
4821 * LyXAction.C: new LFUN_INSET_MODIFY.
4823 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4824 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4826 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * several files: ws changes only
4830 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4831 (TeXEnvironment): ditto
4834 * buffer.C (makeLaTeXFile): adjust
4835 (latexParagraphs): make it take ParagraphList::iterator as args
4837 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * buffer.C (latexParagraphs): adjust
4841 * paragraph.C (TeXOnePar): move function...
4842 (optArgInset): move function...
4843 (TeXEnvironment): move function...
4844 * paragraph_pimpl.C (TeXDeeper): move function...
4845 * paragraph_funcs.C: ...here
4847 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4849 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * buffer.C (readInset): remove compability code for old Figure and
4854 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4856 * buffer.C: ws changes
4859 * BufferView_pimpl.C: ditto
4862 * bufferlist.h: ditto
4866 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4868 * converter.[Ch]: split into itself +
4871 * Makefile.am: += graph.[Ch] + format.[Ch]
4878 * lyxrc.C: added #include "format.h"
4880 2003-02-27 Angus Leeming <leeming@lyx.org>
4882 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4885 * factory.C (createInset): add "label" to the factory.
4887 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4888 string and do no more.
4890 2003-02-27 Angus Leeming <leeming@lyx.org>
4893 * LyXAction.C (init):
4894 * factory.C (createInset):
4895 * BufferView_pimpl.C (dispatch):
4896 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4898 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4900 * lyxfunc.C (dispatch):
4901 * text3.C (dispatch): pass name to params2string.
4903 2003-02-26 Angus Leeming <leeming@lyx.org>
4905 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4907 Rearrange the ~includes. Strip out the unnecessary ones.
4909 * factory.C (createInset): reformat.
4910 create new insets for the various LFUN_XYZ_APPLY lfuns.
4912 2003-02-26 John Levon <levon@movementarian.org>
4915 * lyxrow.C: add isParStart,isParEnd helpers
4917 * paragraph.h: make isInserted/DeletedText take refs
4919 * paragraph_funcs.h:
4920 * paragraph_funcs.C: remove #if 0'd code
4925 * text.C: use lyxrow helpers above.
4926 Move draw and paint routines to RowPainter.
4927 Make several methods use refs not pointers.
4928 Make backgroundColor() const.
4929 Add markChangeInDraw(), isInInset().
4930 Merge changeRegionCase into changeCase.
4931 Make workWidth() shouldn't-happen code into an Assert.
4934 * rowpainter.C: new class for painting a row.
4937 * vspace.C: make inPixels take a ref
4939 2003-02-26 Angus Leeming <leeming@lyx.org>
4941 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4944 2003-02-25 John Levon <levon@movementarian.org>
4946 * ispell.C: give the forked command a more accurate name
4948 2003-02-22 John Levon <levon@movementarian.org>
4951 * toc.C: make TocItem store an id not a Paragraph *
4954 2003-02-21 Angus Leeming <leeming@lyx.org>
4956 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4957 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4958 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4959 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4960 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4961 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4963 * BufferView_pimpl.C (dispatch):
4964 * LyXAction.C (init):
4965 * factory.C (createInset):
4966 * lyxfunc.C (getStatus, dispatch):
4967 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4969 2003-02-21 Angus Leeming <leeming@lyx.org>
4971 * BufferView_pimpl.C (MenuInsertLyXFile):
4972 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4973 * lyxfunc.C (menuNew, open, doImport):
4974 no longer pass a LyXView & to fileDlg.
4976 2003-02-21 Angus Leeming <leeming@lyx.org>
4978 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4979 * LyXAction.C: change, BIBKEY to BIBITEM.
4980 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4981 Change InsetBibKey to InsetBibitem.
4982 Change BIBKEY_CODE to BIBITEM_CODE.
4983 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4984 * factory.C: replace insetbib.h with insetbibitem.h.
4985 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4986 * paragraph.C: replace insetbib.h with insetbibitem.h.
4987 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4988 Change bibkey() to bibitem().
4989 * text.C: remove insetbib.h.
4990 * text2.C: replace insetbib.h with insetbibitem.h.
4991 change bibkey() to bibitem().
4992 * text3.C: remove insetbib.h.
4993 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4995 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4997 * lyxrc.C (output): enclose user email in quotes (in case there are
5000 2003-02-18 John Levon <levon@movementarian.org>
5002 * buffer.h: add std::
5004 2003-02-17 John Levon <levon@movementarian.org>
5010 * pspell.C: reworking. Especially in ispell, a large
5011 number of clean ups and bug fixes.
5013 * lyxfunc.C: fix revert to behave sensibly
5015 2003-02-17 André Pönitz <poenitz@gmx.net>
5018 * commandtags.h: new LFUN_INSERT_BIBKEY
5028 * paragraph_func.C: remove special bibkey handling
5030 2003-02-17 John Levon <levon@movementarian.org>
5032 * text.C (Delete): fix case where delete at the end of
5033 the very first paragraph would not merge the pars
5035 2003-02-17 John Levon <levon@movementarian.org>
5037 * lyxrow.C: fix lastPrintablePos()
5039 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5041 * bufferparams.C (writeLaTeX): add a std:here
5043 * buffer.C: and remove a using directive there
5045 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5047 * buffer.C (makeLaTeXFile): move the code that generates the
5050 * bufferparams.C (writeLaTeX): ... in this new method
5052 * LaTeXFeatures.C (getEncodingSet): make const
5053 (getLanguages): make const
5055 * MenuBackend.C (binding): returns the binding associated to this
5057 (add): sets the status of each item by calling getStatus. Adds
5059 (read): add support for OptSubMenu
5060 (expand): remove extra separator at the end of expanded menu
5062 2003-02-15 John Levon <levon@movementarian.org>
5065 * BufferView_pimpl.C:
5067 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5068 inset code that had no actual effect. Remove unneeded status
5071 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5073 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5076 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5078 * text.C (drawLengthMarker): also draw an arrow marker for
5079 symbolic lengths (medskip...)
5081 2003-02-14 John Levon <levon@movementarian.org>
5084 * tabular.C: better method names
5086 2003-02-14 John Levon <levon@movementarian.org>
5088 * BufferView_pimpl.C:
5093 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5094 it's a more accurate name. Remove some pointless uses.
5096 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5098 * text2.C (LyXText): change order of initilizers to shut off
5101 2003-02-14 John Levon <levon@movementarian.org>
5103 * buffer.C: use ParIterator for getParFromID()
5107 * paragraph_pimpl.h:
5108 * paragraph_pimpl.C: remove unused getParFromID()
5110 2003-02-14 John Levon <levon@movementarian.org>
5112 * buffer.C: remove some very old #if 0'd parse code
5114 2003-02-13 John Levon <levon@movementarian.org>
5118 * text2.C: move hfillExpansion(), numberOfSeparators(),
5119 rowLast(), rowLastPrintable(), numberofHfills(),
5120 numberOfLabelHfills() ...
5123 * lyxrow.C: ... to member functions here.
5128 * text.C: remove LyXText::beginningOfMainBody(), and call
5129 p->beginningOfMainBody() directly. Move the check for
5130 LABEL_MANUAL into the latter.
5137 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5143 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5144 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5146 2003-02-13 John Levon <levon@movementarian.org>
5148 * CutAndPaste.C: remove debug
5150 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5152 * paragraph.C (asString): remove two unused variables
5154 * lyxtextclass.C (readTitleType):
5156 (LyXTextClass): handle new members titletype_ and titlename_
5158 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5160 2003-02-09 John Levon <levon@movementarian.org>
5163 * buffer.C: replace hand-coded list with a map for the dep clean
5165 2003-02-08 John Levon <levon@movementarian.org>
5167 * LaTeX.C: consolidate code into showRunMessage() helper
5169 2003-02-08 John Levon <levon@movementarian.org>
5174 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5175 and pass the size in explicitly
5177 * BufferView_pimpl.h:
5178 * BufferView_pimpl.C:
5180 * BufferView.C: add getCurrentChange()
5182 * BufferView_pimpl.h:
5183 * BufferView_pimpl.C: handle change lfuns
5185 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5186 for changes. Mark pasted paragraphs as new.
5188 * support/lyxtime.h:
5189 * support/lyxtime.C:
5190 * DepTable.C: abstract time_t as lyx::time_type
5193 * LColor.C: add colours for new text, deleted text, changebars
5195 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5196 package use "usenames" option.
5200 * LyXAction.C: add change lfuns
5204 * author.C: author handling
5207 * buffer.C: add a per-buffer author list, with first entry as
5208 current author. Handle new .lyx tokens for change tracking. Output
5209 author list to .lyx file. Output dvipost stuff to .tex preamble.
5210 Bump lyx format to 222.
5213 * bufferlist.C: add setCurrentAuthor() to reset current author details
5217 * bufferparams.C: add param for tracking
5219 * bufferview_funcs.C: output change info in minibuffer
5223 * changes.C: add change-tracking structure
5226 * debug.C: add CHANGES debug flag
5229 * lyxfind.C: add code for finding the next change piece
5232 * lyxrc.C: add user_name and user_email
5235 * lyxrow.C: add a metric for the top of the text line
5238 * text.C: implement accept/rejectChange()
5241 * text.C: paint changebars. Paint new/deleted text in the chosen
5242 colours. Strike through deleted text.
5246 * paragraph_pimpl.h:
5247 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5248 in the current change to the insert functions. Rework erase to
5249 mark text as deleted, adding an eraseIntern() and a range-based
5250 erase(). Implement per-paragraph change lookup and
5253 * paragraph_funcs.C: Fixup paste for change tracking.
5255 * tabular.C: mark added row/columns as new.
5257 * text.C: fix rowLast() to never return -1. Don't allow
5258 spellchecking of deleted text. Track transpose changes. Don't
5259 allow paragraph break or merge where appropriate.
5261 * text2.C: leave cursor at end of selection after a cut.
5263 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5265 * text.C (getLengthMarkerHeight):
5266 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5267 visible on screen too.
5269 2003-02-07 John Levon <levon@movementarian.org>
5271 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5273 2003-02-05 Angus Leeming <leeming@lyx.org>
5275 * lyxserver.C (read_ready): revert my patch of 11 September last year
5276 as it sends PC cpu through the roof. Presumably this means that
5277 the lyxserver will no longer run on an Alpha...
5279 2003-01-30 Angus Leeming <leeming@lyx.org>
5281 * factory.C (createInset): create an InsetCommandParam of type "index"
5282 and use it to 'do the right thing'.
5284 * text2.C (getStringToIndex): ensure that cursor position is always
5285 reset to the reset_cursor position.
5287 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5289 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5292 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5296 * lyxfunc.C: Output messages with identical spelling, punctuation,
5299 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5301 * MenuBackend.C (expandFormats): List only viewable export formats
5304 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5307 * lyxfunc.C (getStatus): Make sure that formats other than
5308 "fax" can also be disabled
5310 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5312 * text3.C (dispatch): put the lfuns that insert insets in 3
5313 groups, and call doInsertInset with appropriate arguments.
5314 (doInsertInset): new function, that creates an inset and inserts
5315 it according to some boolean parameters.
5317 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * buffer.C (readFile): remember to pass on 'par' when calling
5320 readFile recursively.
5322 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5324 * MenuBackend.C (expandFormats): add "..." to import formats.
5326 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5328 * paragraph.C (asString): Remove XForms RTL hacks.
5330 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5331 * buffer.C: fix typo
5333 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * Makefile.am (LIBS): delete var
5336 (lyx_LDADD): add @LIBS@ here instead.
5338 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5340 * Clarify the meaning of "wheel mouse jump"
5342 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5344 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5347 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5349 * importer.C (Loaders): do not preallocate 3 elements in the
5350 vector, since one ends up with 6 elements otherwise
5352 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5354 * DepTable.C (write): write the file name as last element of the
5355 .dep file (because it may contain spaces)
5356 (read): read info in the right order
5358 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5360 * paragraph_pimpl.C (simpleTeXBlanks):
5361 (simpleTeXSpecialChars):
5362 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5364 * tabular.C (latex): add some missing case statements. Reindent.
5366 * MenuBackend.C (expandToc): remove unused variable.
5368 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5377 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5380 2003-01-05 John Levon <levon@movementarian.org>
5383 * BufferView.C: add getEncoding()
5386 * kbsequence.C: do not store last keypress
5389 * lyxfunc.C: store last keypress here instead. Pass encoding
5392 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5394 * lyx_main.C (init): remove annoying error message when following
5395 symbolic links (bug #780)
5397 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5399 * text.C (insertChar):
5400 * lyxrc.C (getDescription): remove extra spaces
5402 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5404 * lyxrc.C (getDescription): remove extra spaces
5406 2002-12-20 John Levon <levon@movementarian.org>
5408 * text3.C: hack fix for page up/down across tall rows
5410 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5412 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5415 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5417 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5418 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5419 thesaurus is not compiled in
5421 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5423 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5425 2002-12-16 Angus Leeming <leeming@lyx.org>
5428 * lyx_main.C (init): remove override_x_deadkeys stuff.
5430 2002-12-12 John Levon <levon@movementarian.org>
5432 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5433 insert. Only remove shift modifier under strict
5436 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5438 * MenuBackend.C (expandToc): fix crash.
5440 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5442 * MenuBackend.C (expandToc): gettext on float names.
5444 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5446 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5447 implement bool empty() [bug 490]
5449 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5453 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * several files: ws changes
5457 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * text2.C (setCounter): clean up a bit, use boost.format.
5460 (updateCounters): initialize par upon declaration.
5462 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5463 if the layout exists. We do not just store the layout any more.
5464 (SwitchLayoutsBetweenClasses): use boost.format
5466 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5468 * converter.C (convert): if from and to files are the same, use a
5469 temporary files as intermediary
5471 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5474 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5476 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5478 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5480 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5482 * tabular.C (asciiPrintCell): use string(size, char) instead of
5485 * sgml.C (openTag): fix order of arguments to string constructor
5488 * lyxfunc.C (dispatch): use boost.format
5490 * lots of files: change "c" -> 'c'
5492 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5494 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5496 2002-11-25 Angus Leeming <leeming@lyx.org>
5498 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5500 * lyx_main.C (init): compile fix.
5502 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * lyx_cb.C (start): boost.formatify
5505 do not include <iostream>
5507 * lengthcommon.C: ws only
5509 * boost-inst.C,BoostFormat.h: add more explict instantations
5511 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * lots of files: handle USE_BOOST_FORMAT
5515 2002-11-21 John Levon <levon@movementarian.org>
5517 * pspell.C: fix compile
5519 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5521 * lyxfunc.C (dispatch): use boost::format
5525 * lyxfont.C (stateText): use boost::format
5527 * lyx_main.C (LyX): use boost::format
5529 (queryUserLyXDir): ditto
5532 (typedef boost::function): use the recommened syntax.
5534 * importer.C (Import): use boost::format
5536 * debug.C (showLevel): use boost::format
5538 * converter.C (view): use boost::format
5543 * bufferview_funcs.C (currentState): use boost::format
5545 * bufferlist.C (emergencyWrite): use boost::format
5547 * buffer.C (readLyXformat2): use boost::format
5548 (parseSingleLyXformat2Token): ditto
5550 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5552 * LaTeX.C (run): use boost::format
5554 * Chktex.C (scanLogFile): use boost::format
5556 * BufferView_pimpl.C (savePosition): use boost::format
5557 (restorePosition): ditto
5558 (MenuInsertLyXFile): ditto
5560 * BoostFormat.h: help file for explicit instation.
5562 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5564 * tabular.C (latex): Support for block alignment in fixed width
5567 2002-11-17 John Levon <levon@movementarian.org>
5569 * BufferView_pimpl.C:
5571 * lyxfunc.C: split filedialog into open/save
5573 2002-11-08 Juergen Vigna <jug@sad.it>
5575 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5576 by my last patch (hopefully).
5578 2002-11-08 John Levon <levon@movementarian.org>
5587 * toc.C: ParConstIterator, and use it (from Lars)
5589 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5591 * lyxtextclass.[Ch]: revise and add doxygen comments
5593 2002-11-07 John Levon <levon@movementarian.org>
5595 * text.C: fix progress value for spellchecker
5597 * toc.C: fix navigate menu for insetwrap inside minipage
5599 * paragraph_funcs.C: added FIXME for suspect code
5601 2002-11-07 John Levon <levon@movementarian.org>
5603 * BufferView_pimpl.C: fix redrawing of insets
5606 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5608 * text2.C (updateCounters): fix bug 668
5610 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5612 * text3.C (dispatch): Do not make the buffer dirty when moving the
5615 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5617 * vc-backend.C: STRCONV
5620 * text2.C (setCounter): STRCONV
5622 * paragraph.C (asString): STRCONV
5624 * lyxlength.C (asString): STRCONV
5625 (asLatexString): ditto
5627 * lyxgluelength.C (asString): STRCONV
5628 (asLatexString): ditto
5630 * lyxfunc.C (dispatch): STRCONV
5633 * lyxfont.C (stateText): STRCONV
5635 * importer.C (Import): STRCONV
5637 * counters.C (labelItem): STRCONV
5638 (numberLabel): ditto
5639 (numberLabel): remove unused ostringstream o
5644 * bufferview_funcs.C (currentState): STRCONV
5646 * buffer.C (readFile): STRCONV
5647 (asciiParagraph): ditto
5648 (makeLaTeXFile): ditto
5650 * Spacing.C (writeEnvirBegin): STRCONV
5652 * LaTeXFeatures.C (getLanguages): STRCONV
5653 (getPackages): ditto
5655 (getBabelOptions): ditto
5656 (getTClassPreamble): ditto
5657 (getLyXSGMLEntities): ditto
5658 (getIncludedFiles): ditto
5662 (scanAuxFile): ditto
5665 * LString.h: add the STRCONV macros
5667 * BufferView_pimpl.C (savePosition): STRCONV
5668 (restorePosition): ditto
5669 (MenuInsertLyXFile): ditto
5671 * vc-backend.C (scanMaster): change from submatch[...] to
5674 * funcrequest.C: include config.h
5676 * factory.C: include config.h
5678 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5680 * box.C: include config.h
5682 * LaTeX.C (scanAuxFile): change from submatch[...] to
5686 2002-10-25 Angus Leeming <leeming@lyx.org>
5688 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5690 * ispell.[Ch] (setError): new method.
5691 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5692 Use setError() insetead of goto END.
5694 * lyx_cb.C (AutoSave): move out child process into new class
5697 2002-10-30 John Levon <levon@movementarian.org>
5699 * text3.C: make start appendix undoable
5701 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5703 * lyxlength.C (inPixels): Fix returned value.
5705 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5708 2002-10-24 Angus Leeming <leeming@lyx.org>
5710 * lyxgluelength.h: no need to forward declare BufferParams
5711 or BufferView, so don't.
5713 2002-10-21 John Levon <levon@movementarian.org>
5715 * BufferView.C: menuUndo ->undo, redo
5717 * BufferView.h: document, remove dead, make some methods private
5719 * paragraph_funcs.h:
5720 * paragraph_funcs.C:
5721 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5726 * sgml.C: move sgml open/close tag into sgml.C
5728 * bufferview_funcs.h: unused prototype
5731 * lyxfunc.C: remove unused
5734 * text.C: remove unused
5736 2002-10-21 John Levon <levon@movementarian.org>
5740 * BufferView_pimpl.h:
5741 * BufferView_pimpl.C: fix mouse wheel handling based on
5742 patch from Darren Freeman
5744 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5746 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5748 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5750 * lyxlength.C (inPixels): Fix hanfling of negative length.
5751 Fix LyXLength::MU case.
5753 2002-10-16 John Levon <levon@movementarian.org>
5755 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5757 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5759 * converter.C (view): add support for $$i (file name) and $$p
5760 (file path) for the viewer command. If $$i is not specified, then
5761 it is appended to the command (for compatibility with old syntax)
5763 2002-10-14 Juergen Vigna <jug@sad.it>
5765 * undo_funcs.C (textHandleUndo): alter the order in which the
5766 new undopar is added to the LyXText, as we have to set first
5767 the right prev/next and then add it as otherwise the rebuild of
5768 LyXText is not correct. Also reset the cursor to the right paragraph,
5769 with this IMO we could remove the hack in "redoParagraphs()".
5771 2002-10-09 Angus Leeming <leeming@lyx.org>
5773 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5774 to turn off an optimisation if a new inset is to be inserted.
5776 2002-10-11 André Pönitz <poenitz@gmx.net>
5778 * lyxtext.h: make some functions public to allow access
5779 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5781 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5783 * text3.C (dispatch): when changing layout, avoid an infinite loop
5786 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5788 * lyxrc.C (read): treat a viewer or converter command of "none" as
5791 * MenuBackend.C (expandFormats): for an update, also allow the
5792 formats that are not viewable
5794 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5795 script if it is newer than the lyxrc.defaults in user directory
5797 2002-10-07 André Pönitz <poenitz@gmx.net>
5799 * text.C: Vitaly Lipatov's small i18n fix
5801 2002-09-25 Angus Leeming <leeming@lyx.org>
5803 * ispell.h: doxygen fix.
5805 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5807 * buffer.h (readFile): Add a new argument to the method, to allow
5808 reading of old-format templates.
5810 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5812 * toc.C (getTocList): Get TOC from InsetWrap.
5814 2002-09-16 John Levon <levon@movementarian.org>
5816 * lyxfunc.C: check tabular for cut/copy too
5818 2002-09-12 John Levon <levon@movementarian.org>
5823 * factory.C: add header
5825 * paragraph_funcs.h:
5826 * paragraph_funcs.C: cleanup
5828 2002-09-11 John Levon <levon@movementarian.org>
5830 * PrinterParams.h: odd/even default to true
5832 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5834 * PrinterParams.h: update printer parameters for new xforms dialog
5836 2002-09-11 Angus Leeming <leeming@lyx.org>
5838 * lyxserver.C (read_ready): re-write to make it more transparent
5839 and to make it work in coherent fashion under Tru64 Unix.
5841 2002-09-11 André Pönitz <poenitz@gmx.net>
5845 * text3.C: implement LFUN_WORDSEL
5847 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5850 make floatlist_ a boost::shared_ptr<FloatList>
5852 * lyxtextclass.C: include FloatList.h
5853 (LyXTextClass): initialize floatlist_
5854 (TextClassTags): add TC_NOFLOAT
5855 (Read): match "nofloat" to TC_NOFLOAT and use it.
5856 (readFloat): modify call to floatlist_
5860 * FloatList.[Ch] (FloatList): remove commented out float
5862 (erase): new function
5864 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5866 * MenuBackend.C (expandToc): fix crash when there is no document
5869 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5871 * many files: Add insetwrap.
5873 2002-09-09 John Levon <levon@movementarian.org>
5875 * text2.C: remove confusing and awkward depth wraparound
5877 2002-09-09 John Levon <levon@movementarian.org>
5879 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5882 * buffer.C: remove getIncludeonlyList()
5885 * lyxfunc.C: remove headers
5887 2002-09-09 Juergen Vigna <jug@sad.it>
5889 * text.C (getColumnNearX): fix form Michael this is most
5890 probably a cut&paste bug.
5892 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5896 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5897 references, ws changes.
5899 * text2.C (init): update counters after init
5900 (insertParagraph): no need to set counter on idividual paragraphs.
5901 (setCounter): access the counters object in the textclass object
5902 on in the buffer object.
5903 (updateCounters): ditto
5905 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5906 shared_ptr<Counters> to avoid loading counters.h in all
5908 (LyXTextClass): initialize ctrs_
5909 (TextClassTags): add TC_COUNTER, and ...
5910 (Read): use it here.
5911 (CounterTags): new tags
5912 (readCounter): new function
5913 (counters): new funtion
5914 (defaultLayoutName): return a const reference
5916 * counters.C (Counters): remove contructor
5917 (newCounter): remove a couple of unneeded statements.
5918 (newCounter): simplify a bit.
5919 (numberLabel): some small formatting changes.
5921 * buffer.[Ch]: remove all traces of counters, move the Counters
5922 object to the LyXTextClass.
5924 2002-09-06 Alain Castera <castera@in2p3.fr>
5926 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5927 package to set the horizontal alignment on fixed width columns.
5930 * lyx_sty.h: added tabularnewline macro def.
5932 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5934 2002-09-06 John Levon <levon@movementarian.org>
5936 * LyXAction.C: tooltips for sub/superscript
5938 * MenuBackend.C: a bit more verbose
5940 * lyxfunc.C: tiny clean
5942 * undo_funcs.C: document undo_frozen
5944 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5946 * counters.C (Counters): add missing algorithm counter.
5948 * text2.C (setCounter): lookup the counter with layouts latexname
5949 instead of by section number.
5950 (setCounter): use a hackish way to lookup the correct enum
5952 a float name->type change
5953 reset enum couners with counter name directly instead of depth value.
5955 * counters.C (Counters): remove the push_backs, change to use the
5956 float type not the float name.
5957 (labelItem): remove unused string, float name->type change
5959 * counters.h: don't include vector, loose the enums and sects vectors
5961 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5964 (Read): add float->TC_FLOAT to textclassTags
5965 (Read): and handle it in the switch
5966 (readFloat): new function
5968 * FloatList.C (FloatList): comment out the hardcoded float
5971 * lyxlayout.h: ws change.
5973 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5975 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5977 2002-09-03 Angus Leeming <leeming@lyx.org>
5979 * BufferView_pimpl.h: qualified name is not allowed in member
5980 declaration: WorkArea & Pimpl::workarea() const;
5982 * factory.C: added using std::endl directive.
5984 * text3.C: added using std::find and std::vector directives.
5986 2002-08-29 André Pönitz <poenitz@gmx.net>
5989 * text2.C: remove unused member number_of_rows
5992 * BufferView2.C: remove file, move contents to...
5993 * BufferView.C: ... here
5995 * BufferView_pimpl.C:
5996 * factory.C: move more inset creation to factory
5998 * vspace.C: avoid direct usage of LyXText, ws changes
6001 don't provide direct access to WorkArea, use two simple
6002 acessors haveSelction() and workHeight() instead
6005 2002-08-29 John Levon <levon@movementarian.org>
6007 * BufferView_pimpl.C (dispatch): do not continue when
6010 2002-08-28 André Pönitz <poenitz@gmx.net>
6012 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6015 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6017 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6019 * buffer.C: increment LYX_FORMAT to 221
6021 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6022 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6024 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6026 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6028 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6030 * factory.C (createInset): use LyXTextClass::floats
6032 * MenuBackend.C (expandFloatListInsert):
6033 (expandFloatInsert):
6036 * text2.C (setCounter):
6038 * LaTeXFeatures.C (useFloat):
6039 (getFloatDefinitions):
6041 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6043 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6044 floatlist_, with accessor floats().
6046 * FloatList.h: remove global FloatList
6048 2002-08-26 André Pönitz <poenitz@gmx.net>
6050 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6054 * BufferView_pimpl.C:
6055 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6057 2002-08-25 John Levon <levon@movementarian.org>
6059 * LyXAction.C: fix margin note description
6061 2002-08-24 John Levon <levon@movementarian.org>
6065 * bufferview_funcs.C:
6067 * undo_funcs.C: cleanups
6069 * lyxfunc.C: disable CUT/COPY when no selection
6071 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6073 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6074 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6076 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6077 Add backward compatibility to "mono", "gray" and "no".
6079 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6081 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6082 (and file_format >= 200).
6084 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6086 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6088 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6090 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6092 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6094 * BufferView_pimpl.C:
6101 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6102 inset and code to make it work with the paragraph code. The inset
6103 can be anywhere in the paragraph, but will only do the expected
6104 thing in LaTeX if the layout file contains the parameter line
6106 (or more generally, a nonzero value) for that layout.
6108 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * paragraph.h: remove the declaration of undefined counters class
6113 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6115 * text2.C (setCounter): fixed enumeration mis-count as reported by
6116 Dr. Richard Hawkins.
6118 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6120 * paragraph_funcs.h: remove some unneeded includes
6122 * text.C (backspace): pasteParagraph now in global scipe
6124 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6125 (pasteSelection): ditto
6127 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6128 * paragraph_funcs.C (pasteParagraph): ... here
6130 2002-08-20 André Pönitz <poenitz@gmx.net>
6132 * commandtags.h: new LFUNs for swapping/copying table row/colums
6135 * lyxfunc.C: support for new lfuns
6137 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * buffer.[Ch]: remove NO_COMPABILITY stuff
6142 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * boost.C (throw_exception): new file, with helper function for
6145 boost compiled without exceptions.
6150 * ParameterStruct.h:
6151 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6153 * bufferlist.C (emergencyWriteAll): use boost bind
6155 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6157 * text.C: include paragraph_funcs.h
6158 (breakParagraph): breakParagraph is now in global scope
6160 * paragraph_funcs.[Ch]: new files
6162 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6165 * buffer.C: include paragraph_funcs.h
6166 (insertStringAsLines): breakParagraph is now in global scope
6168 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6171 * CutAndPaste.C: include paragraph_funcs.h
6172 (cutSelection): breakParagraphConservative is now in global scope
6173 (pasteSelection): ditto
6175 * buffer.h: declare oprator== and operator!= for
6176 Buffer::inset_iterator
6178 * bufferlist.C (emergencyWrite): don't use fmt(...)
6180 * text3.C: add using std::endl
6182 * BufferView.C (moveCursorUpdate): remove default arg
6184 2002-08-20 André Pönitz <poenitz@gmx.net>
6186 * buffer.[Ch]: move inline functions to .C
6189 * BufferView_pimpl.C:
6191 * buffer.[Ch]: use improved inset_iterator
6194 * paragraph.[Ch]: write one paragraph at a time
6196 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6198 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6199 style if style is not specified.
6201 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6203 * text2.C (setCounter): when searching for right label for a
6204 caption, make sure to recurse to parent insets (so that a caption
6205 in a minipage in a figure float works) (bug #568)
6207 2002-08-20 André Pönitz <poenitz@gmx.net>
6209 * text3.C: new file for LyXText::dispatch() and helpers
6211 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6213 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6215 2002-08-19 André Pönitz <poenitz@gmx.net>
6218 * text.C: new LyXText::dispatch()
6220 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6222 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6224 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6226 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6229 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6231 * Makefile.am: use $(variables) instead of @substitutions@
6233 2002-08-15 André Pönitz <poenitz@gmx.net>
6236 * BufferView_pimpl.C: streamlining mathed <-> outer world
6240 * LyXAction.C: remove unused LFUN_MATH
6242 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6246 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * paragraph.C (Paragraph): reformat a bit
6249 (cutIntoMinibuffer): use builtin InsetList function instad of
6253 * buffer.C: include boost/bind.hpp, add using std::for_each
6254 (writeFileAscii): use ParagraphList iterators
6255 (validate): use for_each for validate traversal of paragraphs
6256 (getBibkeyList): use ParagraphList iterators
6257 (resizeInsets): use for_each to resizeInsetsLyXText for all
6259 (getParFromID): use ParagraphList iterators
6261 * BufferView2.C (lockInset): use paragraph list and iterators
6263 2002-08-14 John Levon <levon@movementarian.org>
6265 * lyxserver.C: remove spurious xforms include
6267 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6269 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6271 2002-08-13 André Pönitz <poenitz@gmx.net>
6274 * lyxfunc.C: further cleaning
6276 2002-08-13 André Pönitz <poenitz@gmx.net>
6278 * funcrequest.h: new constructor
6280 * funcrequest.C: move stuff here from .h
6283 * BufferView_pimpl.C:
6286 * lyxfunc.C: subsequent changes
6288 * lyxfunc.h: new view() member function
6290 * lyxfunc.C: subsequent changes
6292 2002-08-13 Angus Leeming <leeming@lyx.org>
6295 * BufferView_pimpl.C:
6303 changes due to the changed LyXView interface that now returns references
6304 to member variables not pointers.
6306 2002-08-13 Angus Leeming <leeming@lyx.org>
6308 * WordLangTuple (word, lang_code): return references to strings,
6313 * lyxtext.h: forward-declare WordLangTuple.
6318 * text.C: #include "WordLangTuple.h".
6321 * text.C: (selectNextWordToSpellcheck): constify return type.
6323 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6329 * paragraph_pimpl.h:
6332 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6334 Made updateCounter always count from start of buffer, and removed
6335 second argument (par).
6336 Reverted floats number display to '#'. Perhaps I'll try again when the
6337 code base is sanitized a bit.
6339 2002-08-12 Angus Leeming <leeming@lyx.org>
6341 * buffer.[Ch] (getLabelList): constify.
6343 2002-08-07 André Pönitz <poenitz@gmx.net>
6345 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6347 * funcrequest.h: extension to keep mouse (x,y) position
6349 2002-08-12 Juergen Vigna <jug@sad.it>
6351 * BufferView2.C (insertErrors): forbid undo when inserting error
6354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6356 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6358 * ParagraphList.[Ch]: new files
6360 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6362 * BufferView2.C (lockInset): ParagraphList changes
6365 * bufferlist.C: ditto
6369 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6372 unused class variable counter_,
6374 * paragraph.[Ch] (getFirstCounter): delete unused function
6376 * counters.C: include LAssert.h
6377 (reset): add a new function with no arg, change other version to
6378 not have def. arg and to not allow empty arg.
6380 * text2.C (setCounter): remove empty arg from call to Counters::reset
6382 2002-08-11 John Levon <levon@movementarian.org>
6384 * Makefile.am: add WordLangTuple.h
6386 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6389 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6391 * insets/insettext.C: InsetList changes
6393 * graphics/GraphicsSupport.C (operator()): InsetList changes
6395 * toc.C (getTocList): InsetList changes
6397 * paragraph_pimpl.[Ch]: InsetList changes
6399 * paragraph.[Ch]: InsetList changes
6401 * buffer.C (inset_iterator): InsetList changes
6402 (setParagraph): ditto
6403 * buffer.h (inset_iterator): ditto
6404 * iterators.C (operator++): ditto
6405 * iterators.h: ditto
6407 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6409 * InsetList.[Ch]: new files, most InsetList handling moved out of
6412 * BufferView2.C (removeAutoInsets): InsetList changes
6414 (ChangeInsets): ditto
6416 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * paragraph_pimpl.h (empty): new function
6420 * paragraph.[Ch] (empty): new function
6422 * other files: use the new Paragraph::empty function
6424 2002-08-09 John Levon <levon@movementarian.org>
6426 * lyxtext.h: remove unused refresh_height
6428 2002-08-09 John Levon <levon@movementarian.org>
6435 * paragraph.C: move sgml char escaping out of paragraph
6438 * paragraph.C: remove id setter
6442 * paragraph_pimpl.C: remove dead tex_code_break_column
6444 * bufferview_funcs.C: small cleanup
6446 * lyxfunc.C: remove dead proto
6448 * lyxtext.h: make some stuff private. Remove some dead stuff.
6450 * lyxgluelength.C: make as[LyX]String() readable
6452 2002-08-08 John Levon <levon@movementarian.org>
6457 * ToolbarDefaults.C:
6460 * toc.C: lyxaction cleanup
6462 2002-08-08 John Levon <levon@movementarian.org>
6464 * BufferView2.C: small cleanup
6467 * lyxfind.C: move unnecessary header into the .C
6469 2002-08-08 John Levon <levon@movementarian.org>
6471 * funcrequest.h: just tedious nonsense
6474 * lyx_main.C: cleanups
6477 * vspace.C: remove dead header lyx_main.h
6479 2002-08-07 Angus Leeming <leeming@lyx.org>
6482 * paragraph_pimpl.h:
6483 Forward declare class Counters in paragraph.h by moving the ctrs member
6484 variable into Paragraph::Pimpl.
6485 (counters): new method, returning a reference to pimpl_->ctrs.
6487 * text2.C: ensuing changes.
6489 2002-08-07 John Levon <levon@movementarian.org>
6491 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6493 * BufferView_pimpl.C: announce X selection on double/triple
6496 * lyx_main.C: use correct bool in batch dispatch
6498 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6500 2002-08-07 André Pönitz <poenitz@gmx.net>
6502 * funcrequest.h: new class to wrap a kb_action and its argument
6505 * BufferView_pimpl[Ch]:
6509 * lyxrc.C: subsequent changes
6512 2002-08-07 John Levon <levon@movementarian.org>
6514 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6515 document options change.
6517 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6522 * makefile.am: move counters functionality over from
6523 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6525 2002-08-06 John Levon <levon@movementarian.org>
6527 * WordLangTuple.h: new file for word + language code tuple
6538 * BufferView2.C: use WordLangTuple
6541 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6543 2002-08-06 John Levon <levon@movementarian.org>
6545 * lyx_main.C: fix cmdline batch handling
6547 2002-08-06 André Pönitz <poenitz@gmx.net>
6549 * lyxrc.C: set default for show_banner to true
6551 2002-08-06 John Levon <levon@movementarian.org>
6553 * pspell.C: fix a crash, and allow new aspell to work
6555 2002-08-06 John Levon <levon@movementarian.org>
6558 * kbmap.C: small cleanup
6561 * vspace.C: add const
6563 2002-08-05 John Levon <levon@movementarian.org>
6565 * LyXAction.C: back to tabular-insert
6567 2002-08-04 John Levon <levon@movementarian.org>
6570 * BufferView.C: cosmetic change
6572 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6582 * BufferView2.C: purge all "Lyx" not "LyX" strings
6585 * lyxcursor.C: attempt to add some documentation
6590 * ToolbarDefaults.C:
6591 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6592 merge with LFUN_TABULAR_INSERT
6599 * pspell.C: split up i/pspell implementations into separate
6600 files, many cleanups
6602 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6604 * text2.C: some cleanup
6606 * lyxfunc.C: don't check for isp_command == "none" any more, it
6607 didn't make any sense
6609 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6614 * makefile.am: move counters functionality over
6615 from text2.C/paragraph.[Ch] to counters.[Ch], and
6617 2002-08-02 John Levon <levon@movementarian.org>
6619 * buffer.C: s/lyxconvert/lyx2lyx/
6621 2002-08-02 Angus Leeming <leeming@lyx.org>
6623 * lyxlex.C: revert John's change as it breaks reading of the user
6626 2002-08-02 Angus Leeming <leeming@lyx.org>
6628 * importer.C (Import):
6629 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6630 changes due to LyXView::view() now returning a boost::shared_ptr.
6632 2002-08-02 John Levon <levon@movementarian.org>
6634 * lyxlex.C: small cleanup
6636 2002-08-02 John Levon <levon@movementarian.org>
6638 * text2.C (status): small cleanup, no logic change
6640 2002-08-01 John Levon <levon@movementarian.org>
6643 * buffer.C (writeFile): don't output alerts, caller
6647 * lyx_cb.C: from above
6649 * lyxfunc.C: allow to open non-existent files
6651 2002-07-31 John Levon <levon@movementarian.org>
6653 * lyxserver.C: don't let incidental errors get
6656 2002-07-30 John Levon <levon@movementarian.org>
6658 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6660 2002-07-30 John Levon <levon@movementarian.org>
6663 * lyxserver.C: remove I/O callback too
6665 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6667 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6670 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * many files: strip,frontStrip -> trim,ltrim,rtrim
6674 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6676 * PrinterParams.h: remove extern containsOnly, and include
6677 support/lstrings.h instead.
6679 * LaTeX.C (scanAuxFile): modify because of strip changes
6681 * buffer.C (makeLaTeXFile): ditto
6682 * bufferparams.C (writeFile): ditt
6683 * lyxfont.C (stateText): ditto
6684 * lyxserver.C (read_ready): ditto
6685 * vc-backend.C (scanMaster): ditto
6687 * BufferView_pimpl.h: ws changes
6689 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6691 2002-07-26 André Pönitz <poenitz@gmx.net>
6693 * kb_sequence.C: remove unnedred usings
6695 2002-07-26 Juergen Vigna <jug@sad.it>
6697 * lyxfind.C (LyXReplace): we have to check better if the returned
6698 text is not of theLockingInset()->getLockingInset().
6700 2002-07-25 Juergen Vigna <jug@sad.it>
6702 * lyxfind.C (LyXReplace): don't replace if we don't get the
6705 * undo_funcs.C (createUndo): remove debugging code.
6707 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6709 * buffer.C (parseSingleLyXformat2Token): Use default placement
6710 when reading old floats.
6712 * FloatList.C (FloatList): Change the default placement of figure
6713 and tables to "tbp".
6715 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6717 * MenuBackend.C: using std::max
6719 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6721 * MenuBackend.C (expandToc):
6722 (expandToc2): code moved from xforms menu frontend. It is now
6723 generic and TOCs are transparent to menu frontends.
6725 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6727 * toc.C (getTocList): protect against buf=0
6729 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6730 Menu as first parameter. Now, this calls itself recursively to
6731 expand a whole tree (this will be useful for TOC handling)
6732 (expandFloatInsert): remove 'wide' version of floats
6734 * MenuBackend.h (submenuname): returns the name of the submenu.
6735 (submenu): returns the submenu itself, provided it has been
6736 created by MenuBackend::expand
6738 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6740 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6741 insets which have noFontChange == true. (bug #172)
6743 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6745 * BufferView_pimpl.C: add connection objects and use them...
6748 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * MenuBackend.C (expandLastfiles):
6753 (expandFloatListInsert):
6754 (expandFloatInsert):
6755 (expand): split expand in parts
6757 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6759 * lyx_gui.C: use lyx_gui::exit()
6761 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6763 * LyXAction.C: show the failing pseudo action
6765 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6767 * buffer.C (readFile): Run the lyxconvert script in order to read
6770 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6774 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6776 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6780 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6782 2002-07-22 Herbert Voss <voss@lyx.org>
6785 * lyxlength.[Ch]: add support for the vertical lengths
6787 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6789 * toc.[Ch]: std:: fixes
6791 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6793 * lyxrc.C: do not include lyx_main.h
6795 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6801 * BufferView2.C: include "lyxlex.h"
6804 * bufferparams.h: do not #include "lyxlex.h"
6806 * lyxtextclasslist.C (Add): remove method
6807 (classlist): renamed to classlist_
6809 * paragraph_pimpl.C:
6813 * bufferview_funcs.C:
6818 * toc.C (getTocList): use BufferParams::getLyXTextClass
6820 * toc.C (getTocList): use InsetFloat::addToToc
6822 * toc.[Ch]: new files, containing helper functions to handle table
6825 * lyxfunc.C (dispatch): no need to remove spaces around command
6827 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6828 first command of the sequence; it is not very clever, but I do not
6829 have a better idea, actually
6831 * LyXAction.C (LookupFunc): make sure to remove space at the
6832 beginning and end of the command
6834 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6836 * MenuBackend.C (getMenubar): new method: return the menubar of
6838 (read): treat differently reading of menu and menubar (in
6839 particular, the menubar has no name now)
6840 (Menu::menubar): remove
6842 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6845 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6847 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6848 a bibitem inset in a RTL paragraph.
6850 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6852 * paragraph_pimpl.C: constify
6854 * BufferView_pimpl.C:
6856 * lyxfunc.C: fix dispatch in a nicer way
6858 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6860 * lyxfunc.C (dispatch):
6861 * BufferView_pimpl.C:
6862 * BufferView_pimpl.h:
6864 * BufferView.h: rename Dispatch() to dispatch()
6866 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6868 * lyxlayout.C (Read): honor DependsOn tag
6870 * lyxlayout.[Ch] (depends_on): new method
6872 * version.C.in: update lyx_docversion
6874 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6876 * paragraph.C (validate): remove from here...
6877 * paragraph_pimpl.C (validate): ... and move here
6878 (isTextAt): make it const
6880 * buffer.C (getLists): ws cleanup
6882 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6884 * language.C (read): Use iso8859-1 encoding in latex_lang
6885 (this prevents LyX from crashing when using iso10646-1 encoding).
6887 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * text2.C (toggleInset): if cursor is inside an inset, close the
6890 inset and leave cursor _after_ it
6892 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6894 * lyxfunc.C: move minibuffer completion handling out of here
6896 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6898 * BufferView_pimpl.C:
6899 * LaTeX.C: fix dispatch calls
6901 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6903 * text.C (drawChars): Fix Arabic text rendering.
6905 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6909 * lyxfunc.C: remove message-push/pop
6913 * lyxfunc.C: rationalise some code by removing verboseDispatch
6914 in favour of a bool argument to dispatch()
6916 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6918 * lyx_main.C (init): make sure to read symlinks as absolute paths
6920 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6923 * lyxfunc.C: no need for commandshortcut to be a member
6925 2002-07-15 André Pönitz <poenitz@gmx.net>
6927 * converter.C: add support for $$s (scripts from lib/scripts dir)
6928 * lyx_main.C: white space
6930 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6934 * lyxrc.C: remove second exit confirmation
6936 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6941 * BufferView_pimpl.h:
6942 * BufferView_pimpl.C:
6943 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6945 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6947 * MenuBackend.C (expand): add numeric shortcuts to document menu
6949 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6951 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6953 * lyxfont.C (setLyXFamily):
6960 * buffer.C (asciiParagraph): use ascii_lowercase
6962 2002-07-15 Mike Fabian <mfabian@suse.de>
6964 * lyxlex_pimpl.C (search_kw):
6965 * lyxlex.C (getLongString):
6966 * converter.h (operator<):
6967 * converter.C (operator<):
6968 * buffer.C (parseSingleLyXformat2Token):
6970 * ToolbarDefaults.C (read):
6971 * MenuBackend.C (checkShortcuts):
6973 * LColor.C (getFromGUIName):
6974 (getFromLyXName): use the compare_ascii_no_case instead of
6975 compare_no_case, because in turkish, 'i' is not the lowercase
6976 version of 'I', and thus turkish locale breaks parsing of tags.
6978 2002-07-16 Angus Leeming <leeming@lyx.org>
6980 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6981 now takes a Buffer const & argument.
6983 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6985 * BufferView.C (resize): check there's a buffer to resize
6987 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6989 * lyxfunc.C: remove dead code
6992 * lyxserver.C: use lyx_guii::set_read_callback
6994 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6996 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6997 an inset in a RTL paragraph.
6999 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7001 * lyxfunc.C: repaint after a font size update
7003 2002-07-15 André Pönitz <poenitz@gmx.net>
7005 * lyxlength.C: inBP should be able to return negative values
7007 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7009 * lyxfunc.C: use lyx_gui::update_fonts()
7011 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7013 * lyxfunc.C: use lyx_gui::update_color()
7015 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7021 * lyxrc.C: remove file->new asks for name option, and let
7022 buffer-new take an argument
7024 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7026 * BufferView_pimpl.C: remove unneeded extra repaint()
7028 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7030 * LyXAction.C: allow command-sequence with NoBuffer
7032 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7034 2002-07-10 Angus Leeming <leeming@lyx.org>
7036 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7038 2002-07-09 Angus Leeming <leeming@lyx.org>
7040 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7042 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7044 * lengthcommon.h: whitespace
7046 * lyxfunc.C: update scrollbar after goto paragraph
7048 * lyxtext.h: factor out page break drawing, and fix it so
7049 page break/added space paints as selected nicely
7051 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7053 * BufferView_pimpl.C: add FIXMEs, clean up a little
7055 2002-07-09 André Pönitz <poenitz@gmx.net>
7057 * lyxfont.[Ch]: support for wasy symbols
7059 2002-07-08 André Pönitz <poenitz@gmx.net>
7061 * BufferView_pimpl.C: apply John's patch for #93.
7063 2002-07-05 Angus Leeming <leeming@lyx.org>
7065 * BufferView_pimpl.C (buffer): generate previews if desired.
7067 * LColor.h: add "preview" to the color enum.
7069 * LColor.C (LColor): add a corresponding entry to the items array.
7071 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7074 2002-07-05 Angus Leeming <leeming@lyx.org>
7076 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7077 The body of the code is now in the method that is passed an ostream &
7078 rather than a file name.
7079 Pass an additional only_preamble parameter, useful for the forthcoming
7082 2002-07-03 André Pönitz <poenitz@gmx.net>
7084 * lyxfunc.C: simplify getStatus() a bit for math stuff
7086 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7088 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7090 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7092 * text.C (changeRegionCase): do not change case of all the
7093 document when region ends at paragraph end (bug #461)
7095 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7097 * paragraph.C (startTeXParParams):
7098 (endTeXParParams): add \protect when necessary
7100 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7102 * BufferView_pimpl.C (workAreaExpose): remove warning
7104 2002-06-27 Angus Leeming <leeming@lyx.org>
7106 * Makefile.am: add lyxlayout_ptr_fwd.h.
7108 2002-06-26 André Pönitz <poenitz@gmx.net>
7110 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7112 2002-06-25 Angus Leeming <leeming@lyx.org>
7114 * lyxfunc.C (dispatch): Comment out the call to
7115 grfx::GCache::changeDisplay. The method no longer exists now that the
7116 pixmap generation part of the graphics loader has been moved into
7119 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7121 * text2.C: layout as layout
7123 * text.C: layout as layout
7125 * tabular.C (OldFormatRead): layout as layout
7127 * paragraph_pimpl.C (TeXDeeper): layout as layout
7128 (realizeFont): layout as layout
7130 * paragraph.C (writeFile): layout as layout
7131 (validate): layout as layout
7132 (getFont): layout as layout
7133 (getLabelFont): layout as layout
7134 (getLayoutFont): layout as layout
7135 (breakParagraph): layout as layout
7136 (stripLeadingSpaces): layout as layout
7137 (getEndLabel): layout as layout
7138 (getMaxDepthAfter): layout as layout
7139 (applyLayout): layout as layout
7140 (TeXOnePar): layout as layout
7141 (simpleTeXOnePar): layout as layout
7142 (TeXEnvironment): layout as layout
7143 (layout): layout as layout
7144 (layout): layout as layout
7146 * lyxtextclass.C (compare_name): new functor to work with
7147 shared_ptr, layout as layout
7148 (Read): layout as layout
7149 (hasLayout): layout as layout
7150 (operator): layout as layout
7151 (delete_layout): layout as layout
7152 (defaultLayout): layout as layout
7154 * lyxlayout_ptr_fwd.h: new file
7156 * lyxlayout.C (Read): layout as layout
7158 * lyx_cb.C (MenuInsertLabel): layout as layout
7160 * bufferlist.C (newFile): layout as layout
7162 * buffer.C (readLyXformat2): layout as layout
7163 (parseSingleLyXformat2Token): layout as layout
7164 (insertStringAsLines): layout as layout
7165 (asciiParagraph): layout as layout
7166 (latexParagraphs): layout as layout
7167 (makeLinuxDocFile): layout as layout
7168 (simpleLinuxDocOnePar): layout as layout
7169 (makeDocBookFile): layout as layout
7170 (simpleDocBookOnePar): layout as layout
7171 (getLists): layout as layout
7173 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7175 * CutAndPaste.C (cutSelection): layout as layout
7176 (pasteSelection): layout as layout
7177 (SwitchLayoutsBetweenClasses): layout as layout
7179 * BufferView_pimpl.C (Dispatch): layout as layout
7180 (smartQuote): layout as layout
7182 * BufferView2.C (unlockInset): layout as layout
7184 2002-06-24 André Pönitz <poenitz@gmx.net>
7186 * lyxfunc.C: fix #487
7188 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7192 * lyxfunc.C: remove display_shortcuts, show_banner
7194 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7196 * Buffer_pimpl.C: oops, update on resize
7198 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7205 * BufferView.C: use repaint()
7207 * BufferView_pimpl.h:
7208 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7209 as it's a clearer description. Remove superfluous
7212 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7214 * text.C: fix bug 488. Not ideal, but getting
7215 getWord() to work properly for the insets that
7216 matter is more difficult ...
7218 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7220 * BufferView_pimpl.C:
7223 * lyxfunc.C: remove the six million index lyxfuncs to just
7224 one, and DTRT (bug 458)
7226 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7230 * BufferView_pimpl.h:
7231 * BufferView_pimpl.C: clean up resize() stuff,
7232 and unnecessary updateScreen()s
7234 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7238 * BufferView_pimpl.h:
7239 * BufferView_pimpl.C:
7242 * minibuffer.C: remove focus management of workarea,
7243 not needed. Use screen's greyOut()
7245 2002-06-17 Herbert Voss <voss@lyx.org>
7247 * converter.C: (convert) do not post a message, when converting
7248 fails, let the calling function decide what to do in this case
7250 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7252 * lyxfunc.C: tidy up a little
7254 2002-06-16 <alstrup@diku.dk>
7256 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7257 Got rid of FORMS_H_LOCATION include. Now we are
7260 2002-06-15 LyX Development team <lyx@rilke>
7262 * buffer.[Ch] (sgmlOpenTag):
7263 (sgmlCloseTag): Added support for avoiding pernicious mixed
7264 content. Return number of lines written.
7267 (makeDocBookFile): Fixed calls to sgml*Tag.
7268 Simple white space clean.
7270 (simpleDocBookOnePar): Simple white space clean.
7272 * tabular.[Ch] (docBook): Renamed to docbook and got another
7273 argument to related with the pernicious mixed content.
7275 (docbookRow): Fixed calls for docbook inset method.
7277 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7279 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7280 so it's X11 independent.
7284 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7286 2002-06-15 Lyx Development team <lyx@electronia>
7288 * intl.h: Renamed getTrans to getTransManager.
7290 2002-06-14 Angus Leeming <leeming@lyx.org>
7292 * Makefile.am: nuke forgotten stl_string_fwd.h.
7294 2002-06-12 Angus Leeming <leeming@lyx.org>
7296 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7298 2002-06-13 Angus Leeming <leeming@lyx.org>
7301 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7303 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7305 * kbmap.C (getiso): add support for cyrillic and greek
7307 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7311 * BufferView_pimpl.h:
7312 * BufferView_pimpl.C: move bogus scrolling logic
7315 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7318 * BufferView_pimpl.C: view->resize() change
7320 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7322 * BufferView_pimpl.C: topCursorVisible
7325 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7329 * lyx_gui.C: move to frontends/
7333 * lyx_main.C: changes from above
7335 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7342 * lyx_main.C: minor tidy
7344 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7346 * BufferView_pimpl.h:
7347 * BufferView_pimpl.C:
7349 * BufferView.C: make painter() const,
7352 * BufferView2.C: use screen() accessor
7355 * lyx_main.C: some minor cleanup
7357 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7359 * BufferView_pimpl.h:
7360 * BufferView_pimpl.C: remove enter/leaveView,
7363 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7368 * BufferView_pimpl.h:
7369 * BufferView_pimpl.C: only construct screen once,
7372 * lyxrc.C: remove pointless comment
7374 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7377 * BufferView.C: remove active() and belowMouse()
7379 * BufferView_pimpl.h:
7380 * BufferView_pimpl.C: use workarea() not workarea_,
7381 and make it use a scoped_ptr instead
7383 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7385 * lyx_gui.C: add debug message on BadWindow
7387 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7389 * sp_spell.C: fdopen is not part of the C++ standard.
7391 * paragraph.C (InsetIterator): use >= instead of ==
7393 2002-06-07 Angus Leeming <leeming@lyx.org>
7395 Fixes needed to compile with Compaq cxx 6.5.
7396 * BufferView_pimpl.C:
7403 * lyxtextclasslist.C:
7408 all c-library variables have been moved into namespace std. Wrap
7409 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7414 Add a using std::abs declaration.
7416 * kbmap.h (modifier_pair):
7417 * paragraph.h (InsetTable, InsetList):
7418 * lyxfont.h (FontBits):
7419 type definition made public.
7421 * bufferlist.C (emergencyWriteAll): the compiler complains that
7422 there is more than one possible lyx::class_fun template to choose from.
7423 I re-named the void specialisation as lyx::void_class_fun.
7425 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7427 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7428 the compiler is is unable to find tostr in write_attribute.
7430 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7432 * buffer.C (sgmlError): hide #warning
7434 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7436 * xtl/*: get rid of xtl, which is not in use anyway
7438 * LyXAction.C (init):
7439 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7440 were unimplemented xtl experimentation
7442 2002-06-04 André Pönitz <poenitz@gmx.net>
7444 * lyxfunc.C: disable array operation on simple formulae
7446 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7448 * converter.C: constify a bit
7450 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7452 * lyx_gui.C: check xforms version correctly
7454 2002-04-30 Herbert Voss <voss@lyx.org>
7456 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7459 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7461 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7462 attempt to register it with a VCS)
7464 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7466 * lyx_main.C (init): honor variables LYX_DIR_13x and
7469 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7473 * lyx_main.C: fix a crash on bad command line,
7474 and give a useful exit status on error
7476 * lyxfunc.C (doImport): allow -i lyx to work
7478 2002-03-30 André Pönitz <poenitz@gmx.net>
7480 * lyxfunc.C: mathed font changes
7482 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7497 * trans_mgr.h: srcdocs, and some minor cleanups
7499 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7501 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7502 call getFont all the time)
7504 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7506 * switch from SigC signals to boost::signals
7508 2002-05-29 André Pönitz <poenitz@gmx.net>
7510 * paragraph_pimpl.C (getChar): don't call size() too often...
7512 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7514 * paragraph_pimpl.C (insertChar): do not try to update tables when
7515 appending (pos == size())
7517 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7518 in order to reduce drastically the number of comparisons needed to
7519 parse a large document
7521 2002-05-29 André Pönitz <poenitz@gmx.net>
7527 * textclasslist.[Ch]:
7528 * sp_ispell.h: whitespace change
7530 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7532 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7533 lyxaction directly now.
7535 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7539 * lyxvc.C: remove unused headers
7541 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7548 * undo_funcs.C: some cleanups. Use shared_ptr
7549 and a template for the undo stacks.
7551 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7553 * BufferView_pimpl.h:
7554 * BufferView_pimpl.C:
7561 * text2.C: use key_state/mouse_state
7563 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7565 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7568 * chset.C: change include order
7569 (loadFile): use boost regex and get rid of LRegex and LSubstring
7571 * Makefile.am (BOOST_LIBS): new variable
7574 * LaTeX.C: change include order.
7575 (scanAuxFile): use boost regex and get rid of LRegex and
7579 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7584 * FontInfo.C: moved to frontends/xforms/
7587 * FontLoader.C: moved into frontends for GUIIzation
7592 * lyxfunc.C: changes from above
7594 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7596 * LColor.C: remove spurious X include
7598 * BufferView_pimpl.C:
7603 * text2.C: move font metrics to frontends/
7605 2002-05-24 Juergen Vigna <jug@sad.it>
7607 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7608 setting the undo_cursor.
7610 * ParagraphParameters.h: include local includes first.
7612 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7614 * BufferView_pimpl.C:
7615 * BufferView_pimpl.h:
7619 * screen.C: move WorkArea into frontends/
7625 * BufferView2.C: move LyXScreen into frontends/
7629 * lyx_gui.C: move lyxlookup into frontends/xforms/
7631 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7634 * BufferView_pimpl.C:
7644 * bufferview_funcs.C:
7657 * vc-backend.C: move LyX/XFormsView into frontends/
7659 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7671 * text2.C: move Painter to frontends/
7673 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7675 * buffer.C: comment out some some code that depend upon lyx_format
7678 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7679 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7681 * buffer.h (NO_COMPABILITY): turn off compability
7683 * ColorHandler.C: include scoped_array.hpp
7685 * font.C: Use more specific smart_ptr header.
7688 * ShareContainer.h: ditto
7692 * BufferView_pimpl.h: ditto
7693 * ColorHandler.h: ditto
7695 * kbmap.C (defkey): change call to shared_ptr::reset
7697 2002-05-21 Juergen Vigna <jug@sad.it>
7699 * buffer.C (insertErtContents): fix to insert ert asis if it is
7700 non empty. Skip it completely if it contains only whitespaces.
7702 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7704 * BufferView_pimpl.C:
7705 * BufferView2.C: clear selection on paste (bug 393)
7707 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7709 * DepTable.C: include ctime
7711 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7713 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7715 2002-05-14 Juergen Vigna <jug@sad.it>
7717 * text.C (breakParagraph): fixed function to honor the keepempty
7718 layout in the right maner and also to permit the right breaking
7719 algorithm on empty or non empyt keepempty paragraphs.
7721 * paragraph.C (breakParagraph): we have to check also if the par
7722 is really empty (!size()) for isempty otherwise we do the wrong
7725 2002-05-10 Juergen Vigna <jug@sad.it>
7727 * buffer.[Ch] : The following are only changes to the ert
7728 compatibility read reading old LaTeX layout and font stuff and
7729 convert it to ERTInsets.
7731 * buffer.h: added isErtInset().
7733 * buffer.C (struct ErtComp): add a fromlayout bool to check
7734 if we're inside a LaTeX layout.
7735 (isErtInset): new helper function.
7736 (insertErtContents): look for other ert insets before this one
7737 and insert the contents there, so that we don't have subsequent
7738 ERT insets with nothing between them. This way we create only one
7739 inset with multiple paragraphs. Also check if we don't insert only
7740 spaces ' ' as they are ignored anyway afterwards in the .tex file
7741 so if we have only spaces we will ignore this latex part in the
7743 (parseSingleLyXformat2Token \\layout): better compatibility when
7744 reading layout-latex stuff.
7745 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7747 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7748 stuff after reading the inset only get the information back from
7751 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7753 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7755 * LaTeXFeatures.C (getBabelOptions): New method.
7757 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7759 * BufferView_pimpl.C (Dispatch): work around missing argument for
7762 2002-05-08 Juergen Vigna <jug@sad.it>
7764 * text.C (leftMargin): handle paragraph leftindent.
7766 * paragraph.C (writeFile): write the new \\leftindent tag.
7767 (validate): handle leftindent code.
7768 (TeXEnvironment): handle paragraphleftindent code again.
7770 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7772 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7773 for paragrap_extra indent code and new token \\leftindent.
7774 (latexParagraphs): handle the leftindent as environment.
7776 * ParameterStruct.h: added leftindent support.
7778 * ParagraphParameters.C (leftIndent): added support functions for
7779 the paragraph left indent.
7781 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7784 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7786 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7789 * text.C (computeBidiTables): No bidi in insetERT.
7791 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7794 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7796 * version.C.in: pre 5
7798 2002-05-02 José Matos <jamatos@fep.up.pt>
7799 * buffer.C (makeDocBookFile): white space changes, add newline to
7801 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7803 * tabular.C (docBook): fix typo.
7805 2002-05-03 Juergen Vigna <jug@sad.it>
7807 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7808 change in LyXText as we can not be sure it was not freed.
7809 (drawOneRow): remove unused code.
7811 * text.C (drawInset): redo the calculation of the need_break_row as
7812 it could have a row which was already freed.
7813 (draw): look at the return value of drawInset and return false if
7814 it also returned false.
7815 (paintRowText): look at the return value of draw and return false if
7816 it also returned false.
7818 * lyxtext.h: added bool return type to drawInset() and draw() so that
7819 if we have a change in the row so that the rowbreak has to be redone
7820 we abort drawing as it will be called again.
7822 2002-05-02 Juergen Vigna <jug@sad.it>
7824 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7825 a change in the maintext also if we're inside an inset.
7826 (Dispatch): set the cursor again after a break line and after the
7827 screen has been updated as it could be we're in a different row.
7829 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7830 to set the cursor behind the pargraph with > size().
7831 (setCursor): check also for the same paragraph when checking where
7832 to put the cursor if we have a NFR inset.
7834 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7835 parts of layout read further up as it still was in the wrong
7838 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7840 * screen.C (drawFromTo): change sine fullRebreak always return
7843 * buffer.C (parseSingleLyXformat2Token): reindent some
7845 * BufferView_pimpl.C (update): change since fullRebreak always
7847 (Dispatch): git rid of the last hardcoded "Standard"s.
7849 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7851 * text2.[Ch] (fullRebreak): make it return void now that we always
7854 2002-04-30 Juergen Vigna <jug@sad.it>
7856 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7857 ert compatibility check for "latex" layout.
7859 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7861 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7862 minipages: use col% instead of p%, and also use the current font.
7863 (makeLaTeXFile): Fix use babel condition.
7864 (parseSingleLyXformat2Token): Correct font when reading old floats.
7866 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7868 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7869 inserting list of floats.
7871 2002-04-25 Herbert Voss <voss@lyx.org>
7873 * MenuBackend.C (expand): don't add the graphics extensions to the
7876 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7878 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7879 non-existing layout, do not complain if it was the default layout
7880 of the original class (bug #342)
7882 2002-04-24 Juergen Vigna <jug@sad.it>
7884 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7885 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7887 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7889 * buffer.C (getBibkeyList): If using \bibliography, return the
7890 option field with the reference itself. Enables us to provide natbib
7891 support when using \bibliography.
7893 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7895 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7897 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7898 natbib is provided by the LaTeX class.
7900 2002-04-23 Juergen Vigna <jug@sad.it>
7902 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7905 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7907 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7909 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7911 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7912 ensuremath around textordmasculine, textordfeminine and
7915 2002-04-19 Juergen Vigna <jug@sad.it>
7917 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7918 reinitializing the buffer otherwise row-dimensions may be wrong.
7919 (update): reset also the selection cursors if they do exits otherwise
7920 their x/y positions may be wrong.
7922 * text2.C (cursorDown): don't enter the inset if we came from a row
7923 above and are one row over the inset.
7925 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7926 really leaving an inset.
7928 2002-04-18 Juergen Vigna <jug@sad.it>
7930 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7931 of the selected paragraph does not have the selected layout also if
7934 * text2.C (setLayout): fixed bug which did not change last selected
7937 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7938 changed the read and substituted \\end_float with \\end_inset!
7940 * BufferView_pimpl.C (cursorPrevious):
7941 (cursorNext): fixed to make it work with rows heigher than the work
7942 area without moving the cursor only the draw of the row.
7943 (workAreaMotionNotify): fix jumping over high rows.
7945 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7947 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7950 2002-04-16 Juergen Vigna <jug@sad.it>
7952 * text2.C (setCursor): set also the irow().
7953 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7955 (cursorDown): support for locking an inset if the x_fix value goes
7956 inside it. That way I can transverse insets too with cursor up/down.
7958 * lyxrow.h: added irow helper function same as other (i) functions.
7960 * BufferView_pimpl.C (cursorPrevious):
7961 (cursorNext): fixed for insets!
7963 2002-04-15 Juergen Vigna <jug@sad.it>
7965 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7966 position otherwise it is wrong in some cases.
7968 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7969 inside the inset before the call.
7971 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7973 * buffer.[Ch] (getBibkeyList): make it const.
7975 2002-04-12 Juergen Vigna <jug@sad.it>
7977 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7979 * text2.C (getCursorX): new helper function
7980 (setCursor): compute also ix_
7981 (setCursorFromCoordinates): set also ix.
7983 * lyxcursor.h: added ix_ and helper functions.
7985 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7987 * buffer.C (insertStringAsLines): dont break paragraph if the this
7988 paragraph is inside an inset which does not permit it!
7990 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7991 also with no chars on this paragraph.
7992 (paintRowText): only paint stuff if it's inside the workarea!
7994 * paragraph.C (breakParagraph): honor keepempty flag and break the
7995 paragraph always below not above.
7997 * BufferView2.C (unlockInset): update the paragraph layout on inset
7998 unlock as we changed paragraph in such a case.
8000 * lyxfind.C (LyXFind): clear the former selection if not found!
8002 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8003 again called in insertChar().
8005 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8006 an inset which uses the whole row!
8007 (rightMargin): ditto.
8008 (insertChar): force a rebreak if we inserted an inset!
8010 2002-03-28 Herbert Voss <voss@lyx.org>
8012 * lyxlength.[Ch]: add inBP() to get the right PS-point
8013 units (BigPoint). With inPixels we have rounding errors
8015 2002-04-11 Juergen Vigna <jug@sad.it>
8017 * text2.C (setCursorFromCoordinates): set iy to the right value.
8018 (setCursor): add check if row->previous exists!
8020 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8021 an old float_type as this was the case in the old code!
8023 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8025 * BufferView2.C (showLockedInsetCursor): use iy
8026 (fitLockedInsetCursor): ditto
8028 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8029 locked insets as there we have the right value now.
8031 * lyxcursor.C: added iy_ variable and iy functions to set to the
8032 baseline of cursor-y of the locked inset.
8034 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8035 (setCursor): fixed for insets which need a full row.
8037 * text.C (rowLastPrintable): don't ignore the last space when before
8038 an inset which needs a full row.
8039 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8040 as last character of a row when before a inset which needs a full row.
8042 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8044 * version.C.in: update date
8046 * text2.C (fullRebreak): try to always return true and see what
8049 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8051 * MenuBackend.C (expand): use Floating::listName
8053 * FloatList.C (FloatList): add listName argument to the built-in
8056 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8057 text associated with the float.
8059 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8061 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8063 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8065 * ShareContainer.h: add a couple of missing typenames.
8067 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8069 * lyxrc.C (getDescription): use _() correctly rather than N_().
8071 2002-03-28 Herbert Voss <voss@lyx.org>
8073 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8074 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8076 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8078 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8079 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8081 2002-03-29 Juergen Vigna <jug@sad.it>
8083 * lyxfunc.C (dispatch): add a missing fitCursor call.
8085 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8086 it was scrolled by a cursor move, so return the bool status.
8088 * BufferView.C (fitCursor): return the bool flag also to the outside
8089 world as this is needed.
8091 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8093 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8094 call the edit() as it is not needed (and wrong) IMO.
8095 (workAreaButtonPress): set the screen_first variable before evt.
8096 unlock the inset as this may change screen_first and then we have
8097 a wrong y position for the click!
8099 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8101 * MenuBackend.C (expand): another translation that I missed
8103 2002-03-28 Juergen Vigna <jug@sad.it>
8105 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8107 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8109 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8111 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8113 * MenuBackend.C (expand): fix export/view/update when there is no
8116 2002-03-27 Herbert Voss <voss@lyx.org>
8118 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8121 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8123 * bufferview_funcs.C (currentState): only show paragraph number
8124 for is DEVEL_VERSION is set.
8126 * lyxfunc.C (dispatch): put warning in INFO channel
8128 * MenuBackend.C (expand): translate the name of floats
8130 * FloatList.C (FloatList): mark the float names for translation
8132 * converter.C (convert): use LibScriptSearch
8134 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * MenuBackend.C (defaults): fix default menu (we might as well get
8139 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8141 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8144 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8146 * lyxvc.C: reorder includes.
8148 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8150 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8153 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8155 * CutAndPaste.C: change layouts earlier on paste
8156 to avoid crashing when calling getFont()
8158 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8160 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8163 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8165 * WorkArea.C: remove 'Pending' debug message.
8167 * most files: ws cleanup
8169 * buffer.[Ch]: ws changes
8171 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8173 2002-03-21 Juergen Vigna <jug@sad.it>
8175 * tabular.C (SetMultiColumn): collapse also the contents of the
8176 cells and set the last border right. Added a Buffer const * param.
8178 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8180 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8183 2002-03-19 Juergen Vigna <jug@sad.it>
8185 * text2.C (clearSelection): reset also xsel_cache.
8187 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8188 where it needs to be called (John tells us to do so too :)
8189 (selectionLost): reset sel_cache.
8191 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8193 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8195 * text2.C (setCursorIntern): put debuging code in INSETS channel
8197 2002-03-19 André Pönitz <poenitz@gmx.net>
8199 * lyxfunc.C: tiny whitespace change
8201 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8203 * ToolbarDefaults.C (init):
8204 * LyXAction.C (init):
8206 * BufferView_pimpl.C (Dispatch):
8207 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8209 2002-03-19 Allan Rae <rae@lyx.org>
8211 * exporter.C (Export): removeAutoInsets before doing anything else.
8212 While I've just introduced a dependency on BufferView this really is
8213 the best place to clean the buffer otherwise you need to cleanup in
8214 a dozen places before calling export or cleanup in a dozen functions
8217 * converter.C (runLaTeX):
8218 (scanLog): Better handling of removeAutoInsets and screen updates.
8220 * lyxfunc.C (dispatch): small whitespace changes
8222 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8224 * WorkArea.C (C_WorkAreaEvent): return a value.
8225 (event_cb): return 1 if we handled the event, 0 otherwise.
8227 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8229 2002-03-18 Juergen Vigna <jug@sad.it>
8231 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8232 (GetAdditionalWidth): ditto.
8236 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8237 inset if we're there actually (probably not used right now but this
8238 is the direction to go for unifying code).
8239 (paste): disable code to clear the selection.
8241 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8242 inside an InsetText and move the check further up as it is in the
8245 * text2.C (pasteSelection): set a selection over the pasted text.
8247 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8249 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8250 and libgraphics to build on Cygwin.
8252 2002-03-15 Juergen Vigna <jug@sad.it>
8254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8255 inserting an Inset into the paragraph. I know this is not the best
8256 fix but we already use current_view in CutAndPaste so we will remove
8257 all of it's using at the same time.
8259 * buffer.C (sgmlError): deactivated function till it is rewritten in
8260 the right mode, now it can create problems.
8262 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8263 before accessing it.
8265 2002-03-14 Juergen Vigna <jug@sad.it>
8267 * undo_funcs.C (textHandleUndo): do the right thing when updating
8268 the inset after the undo/redo.
8270 * text2.C (setCursor): just some testcode for #44 not ready yet.
8272 * undo_funcs.C (textHandleUndo): set the next() and previous()
8273 pointers of the paragraph to 0 before deleting otherwise we have
8274 problems with the Paragraph::[destructor].
8276 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8277 on a paragraph insertion.
8279 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8281 * buffer.C (asciiParagraph): use += operator for char append to
8284 * paragraph.C (getFontSettings): compare >= not just >
8285 (highestFontInRange): ditto
8288 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8290 * paragraph.C: change several algorithm to be more appripriate for
8291 the problem domain. This is lookip in FontList and in the InsetList.
8293 2002-03-13 André Pönitz <poenitz@gmx.net>
8296 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8298 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8303 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8305 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8307 * Painter.C (display): anon helper function, adjust code for this
8309 (pixmap): remove function.
8311 * Painter.h: remove private display variable.
8313 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8315 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8317 * WorkArea.[Ch]: remove figinset_canvas cruft.
8319 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8321 * lyxtextclass.C (operator): add one item cache optimization.
8323 * bufferlist.h: doxy changes
8325 * bufferlist.C: ws changes
8327 * DepTable.[Ch] (ext_exist): place const in the right spot.
8329 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8331 (workAreaExpose): call resizeInsets when the with BufferView changes.
8332 (Dispatch): adjust for protectedBlank removal
8333 (specialChar): call updateInset if the insert went ok.
8335 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8336 specialChar instead.
8338 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8340 * BufferView.h: doxy change
8342 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8344 * lyxtextclass.C (operator[]): remove non-const version
8345 (defaultLayout): remove non-const version
8347 2002-03-12 Juergen Vigna <jug@sad.it>
8349 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8350 did resize the LyXText too.
8352 * buffer.C (readLyXformat2): set layout information on newly allocated
8355 * tabular.C (OldFormatRead): set layout information on the paragraph.
8357 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8359 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8361 2002-03-11 Juergen Vigna <jug@sad.it>
8363 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8365 (resizeCurrentBuffer): force also the insets to resize themselfes.
8366 (moveCursorUpdate): fixed up for InsetText.
8368 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8371 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8372 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8373 value of Dialogs::tooltipsEnabled().
8374 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8376 2002-03-08 Juergen Vigna <jug@sad.it>
8378 * BufferView_pimpl.C (updateInset): update inset inside inset also
8379 if it isn't inside theLockingInset().
8381 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8383 * buffer.C (asciiParagraph): redo some of the word and line length
8385 (getLists): look for Caption instead of caption.
8387 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8389 * buffer.C (Buffer): initialize niceFile to true
8392 (makeDocBookFile): make sure niceFile is true on exit
8394 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8396 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8398 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8400 * LyXSendto.C: remove.
8401 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8402 * lyx_gui.C: remove now-redundant comment.
8403 * ColorHandler.h: remove forward declaration of class WorkArea.
8404 * lyxfunc.C: remove #include "WorkArea.h".
8406 2002-03-07 Juergen Vigna <jug@sad.it>
8408 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8409 got moved away with the DEPM and also set the inset_owner always
8410 right which before could have been omitted.
8412 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8414 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8415 wanted layout is not found.
8417 2002-03-07 Juergen Vigna <jug@sad.it>
8419 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8421 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8423 * paragraph.C (breakParagraph): use default layout not layout of
8425 (Paragraph): clear ParagraphParameters.
8427 2002-03-06 Juergen Vigna <jug@sad.it>
8429 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8430 otherwise it would not be a valid lenght. Fixed a special case in
8431 the minipage compatibility read where we end the document with a
8434 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8435 was set as it could be 0 for InsetTexts first entry.
8437 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8439 * paragraph.C (writeFile): if layout is empty write out
8440 defaultLayoutName().
8442 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8443 file without named layout we set layout to defaultLayoutName().
8445 2002-03-06 Juergen Vigna <jug@sad.it>
8447 * CutAndPaste.C (copySelection): set layout for new paragraph.
8449 * text.C (prepareToPrint): leave ERT inset left aligned
8450 (leftMargin): don't indent paragraphs inside ERT insets
8452 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8454 * paragraph.C (breakParagraph): dont call clear do the work manually
8456 * paragraph.[Ch] (clear): remove function
8458 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8460 * paragraph.C (Paragraph): dont call clear, the work has already
8463 * lyxtextclass.C (operator): assert if n is empty
8465 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8466 work manually instead.
8468 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8470 * BufferView_pimpl.C: protect selectionLost against text == 0
8472 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * text.C (breakParagraph): fix a setting layout to '0' problem.
8476 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8478 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8479 final location of file, for the included files, and graphics.
8481 2002-03-05 Juergen Vigna <jug@sad.it>
8483 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8485 2002-03-04 Juergen Vigna <jug@sad.it>
8487 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8489 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8490 last column of multicolumn cells.
8491 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8493 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8495 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8496 file if it doesn't go to a temporary file.
8498 * buffer.C (sgmlOpenTag):
8499 (sgmlCloseTag): remove extra newline insertion.
8501 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8503 * text.C (getRowNearY): comment out debug msg
8505 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8507 * text2.C: first -> first_y
8509 * text.C (getRowNearY): add some attemts at a possible
8510 optimization, not working.
8512 * tabular.[Ch]: add BufferParams to several function so that newly
8513 created paragraph can be initialized to he default layotu for the
8516 * tabular-old.C (ReadOld): add buf->params to call of Init
8518 * screen.C: rename text->first to text->first_y
8520 * paragraph.C (breakParagraph): always set layout in the broken
8523 * lyxtextclass.C (Read): remove lowercase
8526 (delete_layout): ditto
8528 * lyxtext.h: rename first -> first_y
8530 * lyxlayout.C (Read): remove lowercase
8533 (obsoleted_by): ditto
8535 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8537 * buffer.C (insertErtContents): add params are to InsetERT
8538 (parseSingleLyXformat2Token): add code to check if a paragraphs
8539 layout really exist.
8540 (parseSingleLyXformat2Token): add params to several inset
8542 (asciiParagraph): remove lowercase, do the layout comparisons with
8545 * BufferView_pimpl.C (cursorNext): first -> first_y
8546 (resizeCurrentBuffer): first -> first_y
8547 (updateScrollbar): first -> first_y
8548 (scrollCB): first -> first_y
8549 (workAreaMotionNotify): first -> first_y
8550 (workAreaButtonPress): first -> first_y
8551 (checkInsetHit): first -> first_y
8552 (cursorPrevious): first -> first_y
8553 (cursorNext): first -> first_y
8554 (Dispatch): add buffer_->params to severl inset contructors
8556 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8558 * lyxlayout.C (Read): remove some debug info that I forgot.
8560 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8561 clean up the code slightly.
8562 (makeLinuxDocFile): ditto
8563 (makeDocBookFile): ditto
8565 * text2.C: layout as string
8567 * text.C: layout as string
8569 * paragraph_pimpl.C: layout as string
8571 * paragraph.[Ch]: layout as string
8573 * lyxtextclasslist.[Ch]: layout as string
8575 * lyxtextclass.[Ch]: layout as string
8577 * lyxtext.h: layout as string
8579 * lyxlayout.[Ch]: layout as string
8581 * lyx_cb.C: layout as string
8583 * bufferview_funcs.C: layout as string
8585 * bufferparams.C: layout as string
8587 * buffer.C: layout as string
8589 * LyXView.[Ch]: layout as string
8591 * LaTeXFeatures.[Ch]: layout as string
8593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8595 * BufferView_pimpl.C: change current_layout to string, remove
8600 (workAreaButtonRelease): layout as string
8602 * BufferView2.C (unlockInset): adjust
8604 * vspace.C (asLatexCommand): use an explict temp variable.
8606 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8608 * Makefile.am: use FRONTEND_*
8610 2002-03-01 Juergen Vigna <jug@sad.it>
8612 * tabular.C (SetWidthOfMulticolCell): changed to something better
8613 I hope but still work in progress.
8614 (recalculateMulticolumnsOfColumn): renamed function from
8615 recalculateMulticolCells as it is more appropriate now.
8616 (SetWidthOfCell): calculate multicols better.
8618 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8620 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8622 * lyxfunc.C (processKeySym): print sequence also if it is
8623 `deleted' (complete)
8625 * kbsequence.C (print): print sequence even if it is deleted
8626 (complete would be a better word, actually).
8628 * lyxfunc.C (dispatch): print complete options after a prefix key
8630 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8632 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8634 * text2.C (setCharFont): eliminate setCharFont code duplication.
8636 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8638 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8639 LFUN_TABULAR_FEATURE (bug #177)
8641 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8643 * Makefile.am: remove figure.h
8645 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8647 * Bufferview_pimpl.C:
8659 * text2.C: remove #include "lyx_gui_misc.h".
8661 * LaTeX.C: added #include <cstdio>
8663 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8665 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8666 that the paragraph following this one can have.
8668 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8670 * vspace.C (asLatexCommand): fix bogus gcc warning
8672 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8674 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8676 * text2.C (setLayout): get rid of redundant code
8678 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8680 * text2.C (incDepth): make sure depth cannot be increased beyond
8683 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8685 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8686 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8688 * PainterBase.h (image):
8689 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8692 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8696 * BufferView_pimpl.C:
8697 * BufferView_pimpl.h:
8717 * sp_spell.C: remove fig inset, and the crap house of
8718 cards that follows it
8720 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8726 * nt_defines.h: move .h into support/
8728 * vms_defines.h: remove
8730 * WorkArea.C: add space in debug output
8734 * buffer.C: add WITH_WARNINGS
8738 * bufferlist.C: s/retrive/retrieve/, add docs
8749 * lyxgui.C: add ID to X error handler
8751 * lyxtestclass.c: fix typo
8753 2002-02-26 Juergen Vigna <jug@sad.it>
8755 * tabular_funcs.C (write_attribute): changed so that some default
8756 attributes are not written at all.
8757 (getTokenValue): set default values before trying to read the
8758 value so we have the return value always set as default if we don't
8759 find the token we search for.
8761 * tabular.C (Write): write bools as bools not as strings!
8763 2002-02-22 Juergen Vigna <jug@sad.it>
8765 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8766 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8768 * text.C (leftMargin): don't add an indent for paragraphs inside
8769 tabular cells (fix #208).
8771 2002-02-21 José Matos <jamatos@fep.up.pt>
8773 * tabular.C (docBook): fixed support for long tables.
8775 2002-02-20 Juergen Vigna <jug@sad.it>
8777 * text2.C (getFont): get the drawing font of the Inset if this
8778 paragraph is inside an inset (only important for InsetERT for now).
8780 * buffer.C (insertErtContents): use new lanugage params in ERT
8783 * CutAndPaste.C: commenting out seemingly uneeded code.
8785 2002-02-19 Allan Rae <rae@lyx.org>
8787 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8788 Iterators might be simple to use but they also get invalidated.
8789 (removeAutoInsets): renamed saved cursor tracking variables and added
8790 some comments to clarify what everything does.
8792 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8799 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8800 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8803 * vc-backend.h: remove #include "support/syscall.h"
8807 * converter.C: rearrange #includes in Lars' approved fashion.
8809 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8810 forward declare class Timeout in the header file.
8812 * XFormsView.C: changes due to the above.
8814 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8817 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8818 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8820 2002-02-18 José Matos <jamatos@fep.up.pt>
8822 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8825 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8827 * a lot of small ws changes
8828 * add a lot of using std::XXX
8829 * use std construcs some places where approp.
8830 * use some exisint stuff from lyxfunctional where approp.
8831 * Make file changes to use partial linking (lets test this now...)
8833 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8837 remove #include "support/syscontr.h" as it's redundant. Always has been.
8845 change Systemcalls::System to Systemcalls::Wait and
8846 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8847 No change of functionality, just reflects the stripped down Systemcalls
8850 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8852 * debug.[Ch]: add a GRAPHICS type to the enum.
8854 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8856 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8858 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8861 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8863 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8864 match the changes below.
8866 * text2.C (toggleInset): if there is not editable inset at cursor
8867 position, try to see if cursor is _inside_ a collapsable inset
8870 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8872 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8873 document menu has a nice checkbox
8875 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8877 * lyxlength.C (asLatexString): change PW to output as percent of
8880 * lengthcommon.C: change '%' to 't%'
8882 * lyxfunc.C (dispatch): a few comments from Martin
8884 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8888 * BufferView_pimpl.h:
8889 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8892 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * vspace.C (inPixels): fix compiler warning
8896 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * lyxfunc.C (getStatus): fix status message for disabled commands.
8900 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8902 * BufferView_pimpl.C: fix crash on close buffer
8903 during selection (#227)
8905 2002-01-27 Herbert Voss <voss@lyx.org>
8907 * buffer.C: link old Figure to new graphic inset
8909 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8911 * FontLoader.C (getFontinfo): Change the latex font names in order
8912 to match the names of type1inst.
8914 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8916 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8918 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8921 (remove_files_with_extension): ditto
8922 (remove_file): ditto
8925 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8926 document is smaller than the work area height. Do not initialize
8927 static variables to 0.
8929 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8933 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8934 LFUN_LAYOUT_PARAGRAPHS.
8936 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8937 tabular. It is possible to provide a possible cell, which will
8938 typically be the actcell from the corresponding insettabular
8940 * lyxfunc.C (getStatus): small cleanup; disable
8941 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8944 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8946 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8948 * paragraph.C (startTeXParParams):
8949 (endTeXParParams): new methods. The LaTeX code to
8950 start/end paragraph formatting
8951 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8952 empty (fixes bug #200)
8954 * vspace.C (inPixels): adapt to the change below
8955 (inPixels): [later] more cleanups (remove unused variables)
8957 * lyxlength.C (inPixels): change to use a width and a height as
8960 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8962 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8963 Replaced with \paperwidth
8965 * DepTable.C (insert): add std:: qualifier
8967 2002-01-18 Allan Rae <rae@lyx.org>
8969 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8972 * text.C (drawInset): Turned out I didn't know enough about how
8973 rebreaking worked. This fixes most of the redraw problems. I see
8974 an occasional cursor trail when a line is broken now and the cursor
8975 placement can seem out by a few pixels also after a rebreak.
8977 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8979 * buffer.C (parseSingleLyXformat2Token): update because minipage
8980 width is now a LyXLength
8982 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8984 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8987 2002-01-17 Juergen Vigna <jug@sad.it>
8989 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8991 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8992 is set correctly and the inset is updated correctly.
8994 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8996 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8997 the beginning of the loop.
8999 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9001 * lyxrc.C: improve help for use_scalable_fonts
9003 2002-01-17 Allan Rae <rae@lyx.org>
9005 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9007 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9009 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9010 make sure to set their inset_owner to the right value (bug #171)
9012 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9015 * DepTable.C: Implement mtime checking to reduce time spent doing
9018 2002-01-16 Juergen Vigna <jug@sad.it>
9020 * tabular.C (GetAdditionalHeight): one of error fixed.
9022 * lyxrc.C (output): small fix in writing use_pspell.
9024 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9026 * sp_base.h: #include LString.h
9028 2002-01-16 Allan Rae <rae@lyx.org>
9030 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9031 Can someone check this please?
9033 * text.C (drawInset): It was possible that p.row would be removed by
9034 breakAgainOneRow upsetting a few other settings. There may be another
9035 small tweak possible by setting need_break_row = 0 when p.row has been
9036 removed but I don't know enough about the logic here.
9038 2002-01-15 Allan Rae <rae@lyx.org>
9040 * text.C (insertChar): removed conditional truism.
9042 * BufferView2.C (removeAutoInsets): More tweaks.
9043 cur_par_prev could be a stray pointer. Check for trailing empty line
9044 in case last line was cur_par and only had an error inset on it.
9046 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9051 * vc-backend.C (most methods):
9052 * exporter.C (Export):
9053 * converter.C (convert):
9055 * LyXSendto.C (SendtoApplyCB):
9056 * lyxfunc.C (dispatch):
9060 * lyx_cb.C (AutoSave):
9062 * BufferView_pimpl.C (MenuInsertLyXFile):
9063 * buffer.C (runChktex): use Buffer::filePath().
9065 * buffer.h: rename filename to filename_; rename filepath to
9066 filepath_ and make it private
9067 (filePath): new method
9069 * buffer.C (writeFile): use fileName()
9072 * lyx_main.C (init): fix starting of LyX when the binary is a
9073 link from so,ewhere else.
9075 * minibuffer.C: include <cctype> for isprint
9077 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9079 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9080 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9081 name clash with InsetCollapsable's width function.
9083 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9085 * lastfiles.C: include <iterator>
9087 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9089 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9092 * buffer.C (makeLaTeXFile): ditto.
9093 Also make loop operation more transparent.
9095 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9097 * ToolbarDefaults.C: remove trailing comma closing namespace.
9099 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9101 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9104 * trans.C (Load): comment out unused variable, allowed.
9106 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9108 * minibuffer.[Ch] (append_char): new method to recieve input from the
9109 drop-down completion browser. If a key was pressed, then recieve this
9110 char and append it to the existing string.
9111 (peek_event): modify the positioning data passed to the completion
9112 browser so that it can be placed above the minibuffer rather than below.
9113 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9115 * LyXAction.C (init): alloe error-next for readonly documents.
9117 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9120 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9122 * bufferlist.C (readFile): create the buffer _after_ checking that
9125 * lyxfunc.C (verboseDispatch): fix handling of arguments
9127 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9129 * lyxrc.C: use string::erase() instead of initializing to "".
9132 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9134 * BufferView_pimpl.h:
9135 * BufferView_pimpl.C:
9138 * text2.C: tell X when we have made a selection for copying
9140 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9142 * BufferView_pimpl.C (MenuInsertLyXFile):
9143 * lyxfunc.C (menuNew):
9145 (doImport): add shortcuts to directory buttons
9147 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9150 * lyxfunc.C (setStatusMessage):
9151 (getStatusMessage): new methods
9152 (getStatus):use setStatusMessage instead of setErrorMessage
9153 (dispatch): when function is disabled, set error message here
9154 [instead of in getStatus previously]
9156 * BufferView_pimpl.C (workAreaButtonRelease): update
9157 toolbar/menubar here too.
9159 2002-01-13 Allan Rae <rae@lyx.org>
9161 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9162 Now seems indestructible. Remaining task is to audit all other
9163 code affected by deleteEmptyParagraphMechanism. One small quirk
9164 left is that an empty document with an error in the preamble can
9165 be made to report an error but no error box appears. I don't know
9167 (removeAutoInsets): Improved comments.
9169 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9172 * Thesaurus.C: update for Aiksaurus 0.14
9174 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9176 * text2.C (firstParagraph): removed member function, all uses
9177 replaces with ownerParagraph
9178 (redoParagraphs): here
9180 (toggleAppendix): here
9181 * BufferView2.C (insertErrors): here
9182 (setCursorFromRow): here
9184 2002-01-13 Allan Rae <rae@lyx.org>
9186 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9187 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9188 There is still a way to segfault this although you may have to do this
9189 multiple times: Have an InsetERT with an unknown command in it.
9190 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9191 <down-arrow>, <Enter> again, View->DVI, BANG!
9193 * text2.C (setCursor):
9194 (deleteEmptyParagraphMechanism):
9195 * lyxtext.h (setCursor):
9196 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9197 Making use of the return value may help fix other bugs.
9199 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9203 * LyXView.C (updateMenubar): call MenuBar::update here
9204 (updateToolbar): but not here
9205 (showState): do not update toolbar/menubar
9207 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9208 should need to care about that.
9210 * lyxfunc.C (verboseDispatch): simplify a bit
9211 (getStatus): have a version which takes a pseudoaction, and
9212 another which requires a (kb_action,string).
9214 * LyXAction.C (retrieveActionArg): make it work also when action
9215 is not a pseudo-action.
9216 (getActionName): simplify a bit
9219 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * lyxfunc.C (verboseDispatch): new families of methods with
9222 several ways to specify a command and a bool to indicate whether
9223 the command name and shortcut should be displayed in minibuffer
9224 (eventually, we could extend that to a finer bitmask like
9225 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9226 (dispatch): the pristine dispatch command which just, well,
9227 dispatchs! Note it still sets its result to minibuffer; I'm not
9230 * lyxfunc.h: remove setHintMessage
9232 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9234 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9236 * BufferView_pimpl.C (specialChar): delete new inset if we have
9237 not been able to insert it.
9239 * kbmap.C: revert to using int instead of kb_action, since all we
9240 are dealing with is pseudo-actions.
9242 * LyXAction.C (searchActionArg): change to return int instead of
9243 kb_action, since the result is a pseudoaction.
9245 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9247 * buffer.C (insertErtContents): Fix (partially) the font bug.
9249 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9251 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9252 as the other one is broken on my machine!
9254 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9257 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9259 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9261 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9262 reflect their actual use. Provide compatibility code for older lyxrc
9265 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9267 change names of popup font variables in line with the changes to lyxrc.C
9269 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * buffer.C (asciiParagraph): avoid outputing a word twice after
9274 * lyxrc.C (getDescription): document that document_path and
9275 template_path can be empty.
9277 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9279 * LaTeXFeatures.C (getMacros):
9280 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9282 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9284 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9286 (getPackages): rename feature "floats" to "float". Use an array to
9287 iterate over 'simple' features (i.e. just a \usepackage). Add
9288 handling of "amsmath" (renamed from "amsstyle").
9290 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9292 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9295 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9297 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9298 FuncStaus::FuncStatus & FuncStaus::some_method().
9300 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9302 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9303 of the func_satus stuff. Edited and massaged in various ways by
9306 * lyxfunc.C (getStatus): use FuncStatus
9308 2002-01-08 Juergen Vigna <jug@sad.it>
9310 * text.C (nextBreakPoint): use function Inset::isChar().
9312 * paragraph.C (TeXOnePar): use function
9313 Inset::forceDefaultParagraphs.
9315 * buffer.C (latexParagraphs): use function
9316 Inset::forceDefaultParagraphs.
9318 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9320 * lyx_gui.C (init): set the style of the menu popups to
9321 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9323 2002-01-07 Juergen Vigna <jug@sad.it>
9325 * text.C (setHeightOfRow): small fix
9326 (prepareToPrint): don't look at alignment if we don't have the place
9329 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9331 * box.C: New file. Move the Box methods and functions out of box.h,
9332 following Lars' suggestion.
9334 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9336 * box.h: #include "support/LOstream.h", needed for inlined function.
9339 * lyxtextclasslist.C: added some using std declarations.
9341 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9343 * box.h: make signed dimensions to allow insets wider than
9344 the screen (bug #162)
9346 * BufferView_pimpl.C: add some insetHit debug
9348 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9350 * vc-backend.C: add FIXME
9352 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9354 * lyxfunc.C (getStatus): enable code for showing math font status
9357 2002-01-07 Juergen Vigna <jug@sad.it>
9359 * text.C (nextBreakPoint): removed debug output not needed anymore.
9361 2002-01-06 Juergen Vigna <jug@sad.it>
9363 * text.C (nextBreakPoint): fixed up this function we had this bug
9364 since ever but now hopefully we break row better.
9365 (insertChar): we have to check if an inset is the next char as it
9366 could now happen that a large inset is causing a break.
9368 2002-01-05 Juergen Vigna <jug@sad.it>
9370 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9371 if it doesn't like to be drawed.
9373 2002-01-04 Juergen Vigna <jug@sad.it>
9375 * BufferView2.C (lockInset): forgot to set a cursor.
9377 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9379 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9384 * form_maths_panel.C:
9385 * form_maths_panel.h:
9386 * form_maths_panel.fd: implemented sub- and super- buttons in math
9389 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9390 (or ^ space) to be used as in TeX (req'd by André).
9392 * lyxfunc.C: Allow ^ and _ again to be used both as
9393 super/subscript (mathed) and as themselves (in text).
9395 2002-01-03 Allan Rae <rae@lyx.org>
9397 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9398 "LyX" or the filename of the current buffer if it has one. This is a
9399 modified form of John Levon's patch.
9401 * XFormsView.C (setWindowTitle): also set icon title.
9403 * LyXView.h (setWindowTitle): signature changed.
9404 * XFormsView.h (setWindowTitle): ditto.
9406 2002-01-02 Juergen Vigna <jug@sad.it>
9408 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9410 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9412 * screen.C (topCursorVisible): introduce a temp var for
9413 text->cursor.row(), handle the case where this row is null. (kindo
9416 * text2.C (setCursor): add a couple of asserts.
9418 * paragraph.h (inset_iterator): add -> operator
9420 * paragraph.[Ch] (autoDeleteInsets): remove member function
9422 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9423 cursor pos correctly and handle inset deletion by itself.
9424 (insertErrors): move iterator declaration out of for expression
9426 * lyxtextclass.C: add <algorithm>
9428 * Makefile.am: added the new files to sources, removed layout.C
9430 * layout.C: removed file
9432 * layout.h: remove LYX_DUMMY_LAYOUT
9434 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9438 * lyxtextclass.[Ch]:
9439 * lyxtextclasslist.[Ch]: new files
9441 * include order changes to a lot of files, also changes because of
9444 2001-12-27 Juergen Vigna <jug@sad.it>
9446 * buffer.C (asciiParagraph): more fixes.
9448 * tabular.C (ascii): make ascii export support export of only the
9449 data separated by a column-delimiter.
9450 (ascii): better support for ascii export.
9452 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9454 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9456 * tabular_funcs.C: use a "using std::getline" instead of the
9457 previous fix from Angus (necessary for cxx + lyxstring)
9459 2001-12-24 Juergen Vigna <jug@sad.it>
9461 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9463 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9464 problems. First check a minipage also if we have some ert-contents
9465 (not only on par->size(), second set the right depth of the paragraph
9466 on the relink to the root-paragraph-list!
9468 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9469 which then did not anymore update the main paragraphs on undo/redo!
9471 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9474 code. Support all font-changing funcs (even those which are not in
9475 menu currently). Support for reporting font settings in
9476 mathed (disabled until Andre provides a function on mathed's side).
9478 * func_status.h (toggle): small helper function to set toggle
9481 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9483 * tabular_funcs.C: getline -> std::getline
9485 2001-12-21 Juergen Vigna <jug@sad.it>
9487 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9488 accessed and could be 0 (I couldn't generate this but it seems
9491 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9494 * tabular_funcs.h: here and include iosfwd
9496 2001-12-20 Juergen Vigna <jug@sad.it>
9498 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9499 inside inset but undo_par was.
9501 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * Thesaurus.C: always include <config.h> in sources.
9507 * box.h: do not include <config.h> in header files
9509 * text.C (paintLastRow): remove unused variable
9511 * text.C (transformChar):
9513 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9516 * font.C (width): rewrite to use uppercase() instead of
9519 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9521 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9523 * lyxfind.C: clean up of find failure position change
9525 2001-12-20 Juergen Vigna <jug@sad.it>
9527 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9529 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9530 (TeXRow): added to LaTeX a single tabular row.
9531 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9532 (Latex): simplified and finally good LT-h/f support.
9533 (various_functions): just small adaptions for LT-h/f support.
9535 * tabular_funcs.[hC]: added and moved here all not classfunctions
9538 2001-12-19 Juergen Vigna <jug@sad.it>
9540 * tabular.[Ch]: better support for longtabular options (not finished
9543 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9545 * text.C (paintLastRow): use the label font instead of the font of
9546 the last character to compute the size of *_BOX. This makes more
9547 sense and avoids a crash with empty paragraphs.
9548 Use Painter::rectangle to draw EMPTY_BOX.
9550 2001-12-19 Juergen Vigna <jug@sad.it>
9552 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9553 the paragraphs if the replaced paragraph is not the first one!
9554 Tried to delete not used paragraphs but does not work yet so for
9555 now it's inside #ifdef's and by default off!
9557 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9559 * MenuBackend.C: include "lyx_main.h" instead of declaring
9560 lastfiles (actually was declared as LastFiles* instead of a
9563 2001-12-17 Juergen Vigna <jug@sad.it>
9565 * tabular.C (AppendColumn): applied John's fix
9567 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9571 * BufferView_pimpl.h:
9572 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9575 * box.h: new start of class for above
9577 * lyxfunc.C: ignore space-only minibuffer dispatches.
9578 Show the command name when it doesn't exist
9580 * minibuffer.C: don't add empty lines to the history
9582 * minibuffer.C: add a space on dropdown completion
9584 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9586 * text.C: fix line above/below drawing in insets
9588 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * lyxlength.C (LyXLength): Initialize private variables.
9592 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9594 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9595 when inserting error insets.
9597 2001-12-13 Juergen Vigna <jug@sad.it>
9599 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9600 actually sometimes the before-paragraph.
9601 (setUndo): don't clear the redostack if we're not actually undoing!
9603 2001-12-06 Juergen Vigna <jug@sad.it>
9605 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9606 and fixed redoing of main paragraph, so we can use it now ;)
9608 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9610 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9612 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9615 2001-12-13 André Pönitz <poenitz@gmx.net>
9618 * undo_func.C: minor cleanup
9620 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9622 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9623 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9624 font in urw-fonts package which is marked as -urw-fontspecific and
9625 does not work (incidentally, changing the encoding in the
9626 fonts.dir of this package to -adobe-fontspecific fixes the
9629 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9630 is a crash when undoing first paragraph (Juergen, please take a
9631 look). THis does not mean the undo fix is wrong, just that it
9634 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9635 the (Paragraph*) version when needed instead of duplicating the
9638 * text.C (workWidth): use Inset::parOwner to find out where the
9639 inset has been inserted. This is a huge performance gain for large
9640 documents with lots of insets. If Inset::parOwner is not set, fall
9641 back on the brute force method
9643 * paragraph_pimpl.C (insertInset):
9644 * paragraph.C (Paragraph):
9645 (cutIntoMinibuffer): set parOwner of insets when
9646 inserting/removing them
9648 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9650 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9656 * mathed/formulabase.C:
9657 * mathed/math_cursor.[Ch]:
9658 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9661 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9663 * lyxlength.[Ch] (operator!=): new function
9665 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9681 * tabular-old.C (getTokenValue):
9682 * tabular.C (getTokenValue):
9683 (write_attribute): new versions for LyXLength
9684 (everywhere): adjust the use of widths
9686 * tabular.h: change the type of widths from string to LyXLength
9688 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9690 * paragraph.C: fixed missing line number count when exporting
9691 Environments to LaTeX file
9693 * buffer.C: added informational message for checking line numbers.
9695 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9697 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9698 paragraph, do the 'double space' part, but not the 'empty
9701 * text.C (workWidth): small optimization
9702 (getLengthMarkerHeight): use minimal size for negative lengths.
9704 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9706 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9708 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9710 2001-12-11 André Pönitz <poenitz@gmx.net>
9713 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9715 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9717 * text2.C: keep selection on a setFont()
9719 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9721 * lyx_cb.C: another bv->text misuse, from insert label
9723 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9726 * kbsequence.C: re-instate nmodifier mask
9728 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9730 * lyx_main.h: make lyxGUI private.
9732 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9734 * lyxfind.C: place the cursor correctly on failed search
9736 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9738 * text.C (getLengthMarkerHeight): for small heights, the arrows
9739 are not always on top/bottom of the text
9740 (drawLengthMarker): smaller arrows; take the left margin in
9741 account; draw also vfills.
9743 (paintLastRow): remove special code for vfill and standard spaces,
9744 since everything is handled in drawLengthMarker now.
9746 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9748 * buffer.C (insertErtContents): try to handle font and language
9749 interaction a bit better.g
9751 * ColorHandler.C (updateColor): change the hash to cover the whole
9752 LColor enum, ws cleanup
9753 (getGCLinepars): ditto
9754 (getGCLinepars): only lookup in the linecache once.
9756 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9758 * iterators.C (operator++): Make the iterator more robust
9760 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9764 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9767 * text.C: better added space drawing
9769 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9772 * BufferView2.C: fix layout combo update on inset unlock
9774 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9776 * Makefile.am: don't compile unused files
9778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9782 * LyXAction.C: remove old LFUN_LAYOUTNO
9784 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9786 * paragraph_pimpl.h:
9787 * paragraph_pimpl.C: isTextAt() doesn't need font param
9789 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9792 * lyxlex.C: little cleanup
9794 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9796 * BufferView_pimpl.C: fix insertAscii for insets
9798 2001-12-05 Juergen Vigna <jug@sad.it>
9800 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9801 set the right font on the "multi" paragraph paste!
9803 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * lyxlength.C: remove out-commented code.
9825 * vc-backend.C: change "while(" to "while ("
9827 * lyxlength.[Ch]: add zero function to check if length is zero or
9829 * lyxgluelength.C: use it
9831 2001-12-05 Allan Rae <rae@lyx.org>
9833 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9834 Works for 2.95.3, from what I understand of Garst's reports this should
9835 work for other g++ versions. We're screwed if the abs(int) definition
9836 changed between bugfix releases of gcc.
9838 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9840 * text.C: fix chapter label offset !
9842 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9845 * text.C: fix hfill at end of line, clean up
9847 2001-12-04 Juergen Vigna <jug@sad.it>
9849 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9850 that we force an update of the inset and it's owners if neccessary.
9852 2001-12-03 Juergen Vigna <jug@sad.it>
9854 * text.C (rowLast): simplified code
9856 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9858 * lyxfunc.C: fix show options on timeout
9860 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9862 * screen.C (topCursorVisible): scroll half a page when the cursor
9863 reached top of bottom of screen
9865 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9867 * minibuffer.C: deactivate on loss of focus
9869 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9871 * vspace.[Ch] (operator!=): add operator.
9873 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9875 * BufferView_pimpl.C: refuse to open an inset when
9876 there's a selection.
9878 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9880 * BufferView_pimpl.C: allow to click on RHS of full row insets
9882 2001-11-30 Juergen Vigna <jug@sad.it>
9884 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9885 insets for undo reasons.
9887 2001-11-28 André Pönitz <poenitz@gmx.net>
9889 * vspace.[Ch]: cosmetical changes
9891 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9901 * kbsequence.C: part re-write of old kb code
9904 * WorkArea.C: remove Lgb_bug_find_hack
9906 2001-11-30 José Matos <jamatos@fep.up.pt>
9908 * buffer.C (makeDocBookFile): add a comment to point a hack.
9909 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9910 Fixed a double write of labels.
9912 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9915 * LaTeX.h Fixed bug in LaTeX class where it would not
9916 re-run latex if no depfiles were changed, but the .dvi was removed.
9918 2001-11-28 André Pönitz <poenitz@gmx.net>
9920 * all the files from the change on 2001/11/26:
9921 use lyx::layout_type instead of LyXTextClass::size_type
9922 use lyx::textclass_type instead of LyXTextClassList::size_type
9924 2001-11-29 Juergen Vigna <jug@sad.it>
9926 * text.C: added support for paragraph::isFreeSpacing()
9928 * buffer.C: same as above
9930 * paragraph.h: inserted isFreeSpacing() function to enable
9931 FreeSpacing inside InsetERT.
9933 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9934 of the paragraph's in the cut/copy buffer to 0!
9936 * text2.C (removeRow): remove the assert as it can!
9938 * lyxtext.h: added helper function firstRow returning firstrow and
9939 made firstrow private again.
9941 * BufferView2.C (lockInset): don't relock if we're already locked!
9943 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9945 (removeRow): added Assert::(firstrow)
9947 * debug.C: forgot to add INSETTEXT here.
9949 2001-11-28 Juergen Vigna <jug@sad.it>
9951 * sp_spell.C (initialize): changed error text to more general
9952 spellchecker command use (not only ispell!)
9954 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9956 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9958 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9960 * vspace.C: initialise lyxgluelength on failure
9962 2001-11-28 Allan Rae <rae@lyx.org>
9964 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9965 declaration & definition that looks like a function declaration.
9967 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9969 * BufferView2.C (copy):
9970 (copyEnvironment): do not clear the selection when doing a copy.
9972 * text.C (paintFirstRow): compilation fix
9974 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9976 * tabular.C (Latex): correct line count when writing latex.
9978 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9980 * paragraph_pimpl.h:
9981 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9984 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9988 * LColor.C: change vfillline->added_space
9990 * text.C: add markers and text for added space
9992 * vspace.C: fix comment
9994 2001-11-28 André Pönitz <poenitz@gmx.net>
9996 * paragraph.C: whitespace changes
9997 * all the other files from the change on 2001/11/26:
9998 change *::pos_type into lyx::pos_type
10000 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10002 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10003 language of the document when inserting error insets.
10005 2001-11-26 André Pönitz <poenitz@gmx.net>
10007 * BufferView_pimpl.[Ch]:
10015 * paragraph_pimpl.[Ch]:
10018 * text2.C: reduce header dependencies, introduce type for positions
10020 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10022 * <various>: change to use Alert.h
10024 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10026 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10027 when encountering an unknown token.
10028 (readLyXformat2): Show an error message if there were unknown tokens.
10030 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10033 * BufferView_pimpl.C:
10037 * text2.C: use par->isInset()
10039 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10041 * paragraph_pimpl.h:
10042 * paragraph_pimpl.C: cleanup
10044 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10046 * text2.C (removeRow):
10047 * text.C (setHeightOfRow): remove useless (and costly) call to
10050 2001-11-20 Allan Rae <rae@lyx.org>
10052 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10053 Now need Inset*::checkInsertChar() to return true for appropriate
10054 cases so that the characters in the minibuffer will actually be
10057 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10059 * text.C: change the order of the includes.
10060 (workWidth): initialize it at once.
10061 (workWidth): make maxw unsigned
10062 (setHeightOfRow): remove unused variable (inset)
10063 (selectSelectedWord): remove unused variable (inset)
10064 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10066 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10068 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10069 server is not running.
10071 (closeConnection): add debug info when server is disabled.
10073 * ColorHandler.C (getGCForeground): send debug message to GUI
10076 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10078 * kbmap.C (bind): modify because return conventions of
10079 kb_sequence::parse have changed.
10081 * kbsequence.C (parse): only ignore spaces and not any stupid
10082 control character. This avoids tests like s[i] <= ' ', which are
10083 guaranteed to fail with 8bit characters and signed chars.
10084 Change return code to string::npos when there have been no error
10085 (0 was a bad idea when error is at first character)
10087 2001-11-14 José Matos <jamatos@fep.up.pt>
10090 * buffer.C (simpleDocBookOnePar): removed unused argument.
10092 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10094 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10095 insets which are part of a word. Paragraph::isLetter takes care of
10096 that now. Use Paragraph::isInset to identify insets.
10097 (selectSelectedWord): do not test for hyphenation break.
10099 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10100 that protected spaces are considered as spaces.
10102 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10105 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10108 * lyxserver.C: fix it. and small cleanup.
10110 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10112 * BufferView_pimpl.C: use inline helpers
10115 * LaTeXFeatures.C: fix typos
10118 * Spacing.C: move spacing_string into class
10120 * ToolbarDefaults.C: move stuff into namespace anon
10122 * layout.h: update enum
10124 * lyxfunc.C: use better debug
10126 * minibuffer.h: fix typo
10130 * WorkArea.C: add and use Debug::WORKAREA
10134 * text2.C: code re-organisation, inline helpers
10136 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10138 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10139 std::vector.empty().
10141 2001-11-09 Allan Rae <rae@lyx.org>
10143 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10144 '\n's after tables. Tabular and ERT inset work now makes this no
10147 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10150 * minibuffer.C: fix crash, improve drop-down completion
10152 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10155 * lyxserver.C: invalidate fd's when doing endPipe()
10157 2001-11-08 José Matos <jamatos@fep.up.pt>
10159 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10160 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10163 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10165 2001-11-07 José Matos <jamatos@fep.up.pt>
10168 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10171 * buffer.C (sgmlOpenTag):
10172 * buffer.C (sgmlCloseTag): removed debug info.
10174 * buffer.h (sgmlOpenTag):
10175 * buffer.h (sgmlCloseTag): made public.
10177 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * buffer.C (saveParamsAsDefaults):
10180 * lyx_cb.C (MenuLayoutSave): remove
10182 * LyXAction.C (init):
10184 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10186 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10188 * buffer.C (setPaperStuff): removed from here...
10190 * bufferparams.C (setPaperStuff): ... and moved there.
10192 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10196 * XFormsView.C: add support for drop-down completion
10198 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10200 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10203 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10208 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10210 * lyx_main.C: change ref to known bugs
10212 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10214 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10215 to work around older babel problems.
10217 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10219 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10221 2001-10-24 Juergen Vigna <jug@sad.it>
10223 * tabular-old.C (ReadOld): below variable changes reflected.
10225 * tabular.[Ch]: added ltType struct for longtable header/footer
10226 defines and changed all instances where they are used. Added
10227 future support for double top/bottom rows.
10229 2001-10-24 José Matos <jamatos@fep.up.pt>
10231 * buffer.h (docbookHandleCaption):
10232 * buffer.C (docbookHandleCaption): removed unused function.
10233 (makeDocBookFile): moved docbook supported version to v4.1.
10235 2001-10-24 José Matos <jamatos@fep.up.pt>
10238 * tabular.C (docbookRow): new function to export docbook code of a row.
10239 (DocBook): now honors the longtable flags.
10241 2001-10-23 José Matos <jamatos@fep.up.pt>
10244 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10245 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10247 * buffer.C (makeLinuxDocFile):
10248 (makeDocBookFile): reworked the preamble, more clean, and with
10249 support for lyx defined entities. Changed the document declaration
10250 to be more XML friendly.
10252 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10253 if we need to output XML that should be done with a filter.
10255 2001-10-22 Juergen Vigna <jug@sad.it>
10257 * sp_pspell.h (class PSpell): add alive function needed in the
10258 controller to see if the spellchecker could be started.
10260 2001-10-22 Juergen Vigna <jug@sad.it>
10262 * buffer.C (insertStringAsLines): modify the font for inserting
10263 chars in certain conditions by calling checkInsertChar(font).
10265 2001-10-19 Juergen Vigna <jug@sad.it>
10267 * text.C (workWidth): use getRow instead of wrong algorithm.
10268 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10270 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10275 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10277 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10279 * text.C (workWidth): do not search for the exact row when
10280 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10281 optimization for big documents.
10283 2001-10-18 Juergen Vigna <jug@sad.it>
10285 * text.C (workWidth): new function with added Inset * parameter.
10287 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10289 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10291 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10292 change return type of getColumnNearX.
10295 * text.C (changeRegionCase): use uppercase/lowercase instead of
10298 (rightMargin): simplify code by factoring out the uses of
10303 (appendParagraph): use Paragraph::size_type
10305 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * vspace.C (asLatexString): add a missing break
10309 2001-10-15 Herbert Voss <voss@perce.de>
10311 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10313 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10315 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10318 2001-10-10 André Pönitz <poenitz@gmx.net>
10320 * lyxfunc.C: removed greek_kb_flag.
10322 2001-10-10 Herbert Voss <voss@perce.de>
10324 * lyx_main.C: delete global string help_lyxdir.
10326 2001-10-09 Herbert Voss <voss@perce.de>
10328 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10330 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10332 * lyx_main.C: added global string help_lyxdir.
10334 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10336 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10338 * lyxrc.C (set_font_norm_type): support iso8859-4
10340 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10342 * LaTeX.C (deplog): add another regex for MikTeX
10344 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10346 * lyxrc.C (set_font_norm_type): support iso8859-3
10348 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10352 * LaTeXFeatures.C: remove special case of french and index
10354 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10355 before \begin{document}). This solves several incompatibilities.
10357 2001-10-03 Garst Reese <reese@isn.net>
10359 * lyx_cb.C: change CheckTex error msg.
10361 2001-10-03 José Matos <jamatos@fep.up.pt>
10363 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10365 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10367 * .cvsignore: update
10369 * lyx_main.C (commandLineVersionInfo): use new style version info.
10371 * buffer.C (writeFile):
10373 (makeLinuxDocFile):
10374 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10376 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10378 * version.h: update to use stuff in version.C
10380 * version.C.in: new file. Contains version information determined
10381 at compile time. This is a merging of version.h and
10384 2001-10-03 Juergen Vigna <jug@sad.it>
10386 * BufferView_pimpl.C (update): don't change "dirty" status in
10389 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10391 * WorkArea.C (c-tor): re-position version string slightly.
10393 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10395 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10396 revert to previous code.
10398 WorkArea.[Ch]: (show, destroySplash): methods removed.
10400 WorkArea.C: rework code so that it's an amalgam of the codes before and
10401 after the splash screen was moved to WorkArea.
10403 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10406 * vspace.C (inPixels):
10409 * buffer.C (insertStringAsLines):
10410 (asciiParagraph): fix types to be large enough
10412 * lyxlex_pimpl.h: change member status from short to int
10414 * layout.h: fix type of endlabeltype
10417 * kbsequence.C (parse): change return type to string::size_type
10419 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10422 * Bullet.C (bulletSize):
10423 (bulletEntry): do not use short ints as parameters
10425 * BufferView2.C (insertLyXFile): change a char to an int.
10427 * WorkArea.C (WorkArea): remove unneeded floats in computation
10429 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10431 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10433 * paragraph.C (asString): Do not ignore newline/hfill chars when
10434 copying to the clipboard.
10436 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10438 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10439 after a multi-line inset.
10441 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10443 * paragraph.C (validate): Set NeedLyXFootnoteCode
10445 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10447 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10448 and decrease-error to decrease.
10450 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10452 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10453 it more readable (should be equivalent)
10455 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10457 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10459 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10461 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10462 of a cursor (row, etc.) after a character has been deleted
10463 (deleteEmptyParagraphMechanism): call the method above on _all_
10464 cursors held by the LyXText when a double space has been
10467 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10469 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10471 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10473 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10474 background. Use greyOut() and the new show() methods to toggle between
10475 the foreground and background. Add code to remove the splash after
10476 its initial showing.
10478 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10479 (create_forms): no longer call Dialogs::showSplash.
10481 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * .cvsignore: add version_info.h
10485 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10487 * version_info.h.in: new file
10489 * Makefile.am: add version_info.h.in
10491 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10492 version_info.h instead of VERSION_INFO
10494 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10496 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10497 The ERT inset now returns string().
10499 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10501 * lyxtext.h, text.C (selectNextWord): renamed as
10502 selectNextWordToSpellcheck.
10504 * text.C (selectNextWordToSpellcheck): Modified to not select
10505 words inside an ERT inset.
10507 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10509 * lyx_cb.C (MenuLayoutSave): change a bit the question
10511 * sp_base.h: include <sys/types.h>
10513 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10515 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10517 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10519 * several files: fix typos in user-visible strings
10521 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10523 * text2.C (pasteSelection): do not set the selection, since it
10524 will be cleared later. Actually, the intent was to fix the way the
10525 selection was set, but I figured rmoving the code was just as good.
10527 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10529 * FontLoader.C (available): Check if font is available without
10532 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10534 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10536 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10538 * lyxrc.[Ch]: added display_graphics variable and associated code.
10540 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10542 * bufferparams.C (hasClassDefaults): new method. Returns true if
10543 the buffer parameters correspond to known class defaults
10545 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10547 * XFormsView.C (show): set minimum size to the main window.
10549 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10551 * text2.C (copySelection):
10553 * lyxfind.C (LyXReplace):
10554 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10555 LyXText::selectionAsString.
10557 * paragraph.C (asString): add "label" argument to the second form
10559 * text2.C (selectionAsString): add "label" argument and pass it to
10560 Paragraph::asString.
10562 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10564 * lyx_main.C (commandLineHelp): remove version information
10566 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10568 * lyx_main.C: add -version commandline option
10570 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10572 * paragraph.h: make the optional constructor arg required instead.
10573 some modifications to other files because of this.
10575 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10577 * lyxserver.C (C_LyXComm_callback): make it static
10579 * lyx_main.C (error_handler): make it static
10581 * lyx_gui.C (LyX_XErrHandler): make it static
10583 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10585 * WorkArea.C: make the extern "C" methods static.
10587 * Makefile.am (lyx_LDADD): simplify
10589 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10591 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10592 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10594 * LyXAction.C (init):
10595 * lyxfunc.C (dispatch): associated code removal.
10597 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10599 * lyxfont.h (isSymbolFont): shut off warning
10601 * text.C (setHeightOfRow):
10602 (getVisibleRow): fix crash with empty paragraphs which have a
10605 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10607 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10610 2001-09-04 José Matos <jamatos@fep.up.pt>
10613 * tabular.C (docbook): rename docBook method to docbook.
10615 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10617 * Makefile.am: add dependencies to main.o.
10619 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10621 * FontLoader.C (available): Return false if !lyxrc.use_gui
10623 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10625 * FontInfo.C (query):
10626 * converter.C (view):
10627 * importer.C (Import):
10628 * exporter.C (Export): Can not -> cannot.
10630 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10632 * BufferView_pimpl.C: allow to create index inset even if
10635 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10637 * buffer.C (getLists): replace boost::tie code with an explicit pair
10638 as boost::tie can break some compilers.
10640 * iterators.h: Added a std:: declaration to the return type of
10643 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10645 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10648 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10650 * iterators.[Ch]: New files. Provide paragraph iterators.
10652 * buffer.C (changeLanguage): Use paragraph iterators.
10653 (isMultiLingual): ditto
10655 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10657 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10659 * FontLoader.C: Support for cmr font.
10661 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10663 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10664 (available): New method.
10666 * FontInfo.C (getFontname): Use scalable fonts even when
10667 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10670 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10672 * converter.C (Formats::view): reverted! Incorrect fix.
10674 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10676 * converter.C (Formats::view): only output the -paper option
10677 if the dvi viewer is xdvi, thereby fixing bug #233429.
10679 2001-08-23 Herbert Voss <voss@perce>
10681 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10683 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10685 * Spacing.h (Spacing): Set space to Default on in the default
10688 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10690 * vc-backend.h (RCS::versionString): add RCS to version
10691 (CVS::versionString): add CVS to version
10693 * vc-backend.C (scanMaster): do not add CVS to version.
10694 (scanMaster): do not add RCS to version
10696 * lyxvc.C (versionString): new method
10698 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10700 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10702 * Spacing.C (set): initialize fval
10704 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10706 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10709 2001-08-16 Juergen Vigna <jug@sad.it>
10711 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10713 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10715 * BufferView_pimpl.C:
10718 * text2.C: setParagraph takes linespacing now
10720 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10722 * LyxAction.C: add internal LFUN_CITATION_INSERT
10724 * LyXView.C: actually apply fix
10726 * bufferlist.C: fix open non-existent file
10728 * lyxfind.C: fix indentation
10730 * lyxfunc.C: remove unneeded assert, fix typo
10732 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10734 * MenuBackend.C: use "Floatname List"
10736 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10738 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10739 when converting LaTeX layout to insetERT.
10740 Generate a non-collapsed float when reading old float
10742 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10744 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10747 2001-08-13 Juergen Vigna <jug@sad.it>
10749 * text.C (fill): return 0 instead of 20 as this seems to be the more
10752 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10754 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10757 2001-08-13 Juergen Vigna <jug@sad.it>
10759 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10761 (SearchBackward): comment out the unlocking of the inset_owner this
10762 should not be needed!
10764 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10766 * Many files: Remove inherit_language, and add latex_language
10768 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10769 collapsible insets.
10771 2001-08-10 Juergen Vigna <jug@sad.it>
10773 * text.C (prepareToPrint): fixed hfill-width in draw!
10775 * BufferView2.C (selectLastWord): save the selection cursor as this
10776 now is cleared in the function LyXText::clearSelection!
10778 2001-08-08 Juergen Vigna <jug@sad.it>
10780 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10781 BACKSPACE type functions.
10783 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10784 is only cutted from the document but not put in the cut-buffer, where
10785 still the old stuff should be.
10787 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10789 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10791 * tabular.C (SetWidthOfCell): fixed special case where the width
10793 (LeftLine): handle '|' in align_special.
10795 (LeftAlreadyDrawed): ditto
10796 (SetWidthOfCell): ditto
10798 2001-08-07 Juergen Vigna <jug@sad.it>
10800 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10802 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10805 * lyxlex.[hC]: ditto
10807 2001-08-06 Juergen Vigna <jug@sad.it>
10809 * text.C (getVisibleRow): fix up row clearing a bit.
10811 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * minibuffer.C: make sure the X server sees the changes in the input.
10815 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * paragraph.C (getFont): split into...
10818 (getLabelFont): this
10819 (getLayoutFont): and this
10820 * paragraph_pimpl.C (realizeFont): calling this
10822 * text2.C (getFont): split into...
10823 (getLayoutFont): this
10824 (getLabelFont): and this
10825 (realizeFont): all three calling this
10827 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10830 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10832 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10834 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10836 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10837 layouts from the Quote inset insertion.
10839 2001-08-03 Juergen Vigna <jug@sad.it>
10841 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10843 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10844 only if status not is already CHANGED_IN_DRAW (second level).
10846 * text.C (draw): don't set the need_break_row when inside an
10849 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * buffer.C (parseSingleLyXformat2Token): handle more latex
10854 * bufferview_funcs.[hC]: change function names to
10855 begin with small char, adjust other files.
10857 2001-08-02 André Pönitz <poenitz@gmx.net>
10860 BufferView_pimpl.C: remove broken special code for math-greek
10862 2001-08-02 Juergen Vigna <jug@sad.it>
10864 * BufferView_pimpl.C (update): redone this function so that we
10865 update the text again if there was a CHANGE_IN_DRAW.
10867 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10868 (drawFromTo): added a new internal bool which is used by draw() and
10870 (general): some cursor drawing problems fixed.
10872 2001-08-01 Juergen Vigna <jug@sad.it>
10874 * lyxfind.C (LyXFind): fixed
10875 (SearchForward): ditto
10876 (SearchBackward): ditto
10878 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10879 spurius drawing of the cursor in the main area.
10881 * text2.C (status): small fix which could lead to a segfault!
10882 (clearSelection): remove unneeded BufferView param.
10884 2001-08-01 André Pönitz <poenitz@gmx.net>
10886 * lyxfunc.C: small change due to changed mathed interface
10888 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10892 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10894 * lyxfunc.c: fail gracefully if file doesn't exist
10899 * BufferView_pimpl.C: IsDirWriteable() proto changed
10901 * LyXView.C: fix updateWindowTitle() to store the last title
10903 2001-07-31 Juergen Vigna <jug@sad.it>
10905 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10906 the font (wrong since using of Paragraph::highestFontInRange).
10908 * paragraph.C (highestFontInRange): added a default_size parameter.
10910 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10911 (setHeightOfRow): reformat
10913 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * converter.[hC] + affected files: move to (inital-char)lowercase
10918 * ParagraphParameters.C (ParagraphParameters): remove commented code
10920 * PainterBase.[Ch]: remove commented code
10922 * LaTeXFeatures.h: add "bool floats" for float.sty
10924 * LaTeXFeatures.C (LaTeXFeatures): init floats
10925 (require): handle float
10926 (getPackages): do it with floats
10928 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * BufferView_pimpl.C (Dispatch): improve handling of
10931 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10933 * commandtags.h: #include lyxfont.h here temporarily to avoid
10936 * bufferlist.h: include LString.h here.
10938 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10940 * text2.C (getStringToIndex): new method.
10942 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10944 * *: Reduced header file dependencies all over.
10946 2001-07-30 Baruch Even <baruch@lyx.org>
10948 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10950 2001-07-29 Baruch Even <baruch@lyx.org>
10952 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10954 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10956 * ParameterStruct.h (endif): add a default constructor to make
10957 sure that all variables is initialized.
10959 * ParagraphParameters.C (ParagraphParameters): adjust
10961 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10963 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10964 index; also, check that there is something to index, and that it
10965 does not span over several paragraphs.
10966 (doubleClick): use WHOLE_WORD_STRICT for double click.
10968 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10970 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10973 2001-07-26 Baruch Even <baruch@lyx.org>
10975 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10976 an InsetFig figure, backwards compatible reading of old figure code.
10978 2001-07-27 Juergen Vigna <jug@sad.it>
10980 * text2.C: font.realize function adaption.
10982 * text.C (draw): add a warnings lyxerr text if needed.
10984 * layout.C: font.realize function adaption.
10986 * language.C: add inherit_language and implement it's handlings
10988 * bufferview_funcs.C (StyleReset): remove language parameter from
10989 font creation (should be language_inherit now).
10991 * bufferparams.C (writeFile): handle ignore_language.
10993 * paragraph.C (getFontSettings): the language has to be resolved
10994 otherwise we have problems in LyXFont!
10996 * lyxfont.C (lyxWriteChanges): added document_language parameter
10997 (update): removed unneeded language parameter
10999 * paragraph.C (validate): fixed wrong output of color-package when
11000 using interface colors for certain fonts in certain environments,
11001 which should not seen as that on the final output.
11003 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11005 * BufferView_pimpl.C:
11010 * LyXAction.C: add thesaurus support
11013 * lyxfind.C: add "once" parameter, for thesaurus, to not
11014 move to the next match
11016 2001-07-26 Juergen Vigna <jug@sad.it>
11018 * lyxfont.C (realize): honor ignore_language too!
11021 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11023 * text.C (draw): one place more for ignore_language to not draw
11026 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11028 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11030 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11032 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11033 the minipage conversion problem.
11035 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11037 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11040 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11042 * BufferView.h: don't forward declare WorkArea
11044 * BufferView.C: don't include WorkArea.h
11046 2001-07-25 André Pönitz <poenitz@gmx.net>
11050 * lyxfunc.C: new LFUN 'math-space'
11052 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11054 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11056 * text2.C (toggleInset): call open/close
11058 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11060 * lyxfunc.C (dispatch): add debug for the disabled case
11062 * font.C (buttonText): make similar to rectText
11064 * buffer.C (readInset): comment out parsing of insetlist and
11067 * PainterBase.C (rectText): small correction
11069 * BufferView_pimpl.C: comment out insettheorem and insetlist
11070 * LyXAction.C: ditto
11071 * commandtags.h: ditto
11073 2001-07-24 Juergen Vigna <jug@sad.it>
11075 * text.C (draw): honor the ignore_language.
11077 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11079 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11081 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11084 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11086 * lyxtext.h: remove unused (and unimplemented) methods
11088 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11090 * text.C (getVisibleRow): honor background color
11093 * Painter.h: remove default color argument for fillRectangle
11095 * text.C (backgroundColor): new method
11097 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * text.C (getVisibleRow): adjust
11101 * font.[Ch] (rectText): new method, metrics
11102 (buttonText): new method, metrics
11104 * PainterBase.[hC]: make rectText and buttonText always draw and take
11107 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11109 * ToolbarDefaults.C (read):
11110 * MenuBackend.C (read): allow escaping in all strings
11112 * BufferView_pimpl.C (insertAndEditInset): new method.
11113 (Dispatch): use insertAndEditInset whenever appropriate.
11115 * BufferView_pimpl.C (insertNote): removed
11117 * BufferView_pimpl.C (smartQuote): new method, moved from
11118 BufferView; if an insetquote cannot be inserted, insert a '"'
11121 * BufferView2.C: remove insertCorrectQuote();
11123 * lyxfunc.C (getStatus): Add support for all remaingin
11124 inset-insert lfuns.
11126 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11128 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11129 command (necessary to pass " as parameter of self-insert.
11131 * text.C (selectWordWhenUnderCursor):
11132 (selectWord): add word_location parameter
11133 (selectWordWhenUnderCursor): same + remove special code for word
11135 (selectNextWord): use kind() to guess type of insetspecialchar,
11138 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11139 (insertErtContents): create ert insets as collapsed.
11140 (readInset): better compatibility code for Info inset.
11142 2001-07-20 Juergen Vigna <jug@sad.it>
11144 * lyxfunc.C (dispatch): use always LyXFind now!
11146 * text2.C (init): add a reinit flag so that the LyXText can be
11147 reinited instead of deleted and reallocated (used in InsetText).
11149 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11155 2001-07-18 Juergen Vigna <jug@sad.it>
11157 * text.C (selectNextWord): handle insets inside inset by calling
11158 always the bv->text functions so that we can go up the_locking_inset!
11160 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11161 in strange locations when inside an inset!
11163 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11164 handling to include insets.
11166 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11168 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11170 * LyXAction.C (init):
11172 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11173 LIGATURE_BREAK, since the name is so stupid.
11175 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11177 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11180 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11182 * sp_form.[Ch]: remove.
11184 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11186 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11189 * src/buffer.C (readInset): ditto.
11191 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11193 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11194 menuSeparator(), endOfSentenceDot(), ldots() and
11195 hyphenationPoint(), which are therefore removed.
11196 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11198 * LyXAction.C (init):
11199 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11201 * paragraph.C (getWord): removed.
11203 * BufferView_pimpl.C (Dispatch): use last word or selection for
11204 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11206 * lyx_main.C (queryUserLyXDir): do not ask before creating
11207 user_dir, except if it has been named explicitely.
11209 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11211 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11212 a document of zero size.
11214 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11216 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11217 approriately in the c-tor and in require().
11218 (getPackages): output the appropriate LaTeX for natbib support.
11220 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11221 variables "use_natbib" and "use_numerical_citations" when reading the
11223 (readInset): read the various natbib cite commands.
11224 (validate): white-space change.
11226 * bufferparams.[Ch]: new variables "bool use_natbib" and
11227 "bool use_numerical_citations".
11228 (writeFile): output them in the LyX file.
11230 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11232 * lyxfunc.C (getStatus): add support for all the inset insertion
11235 * text2.C (insertInset):
11236 * paragraph.C (insetAllowed):
11237 * BufferView_pimpl.C (insertInset): update to take in account the
11238 renaming of insertInsetAllowed
11240 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11242 * text2.C (getInset): new method. returns inset at cursor position.
11244 * BufferView_pimpl.C (Dispatch): changes because of this.
11246 * LyXAction.C (init): rename open-stuff to inset-toggle.
11248 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11250 * text2.C (toggleInset): renamed from openStuff; use
11253 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11255 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11257 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11259 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11261 * buffer.C (readLyXformat2): Add filename to the error dialog
11263 2001-07-18 Juergen Vigna <jug@sad.it>
11265 * tabular.C (GetCellNumber): put an assert here instead of the check!
11267 2001-07-17 Juergen Vigna <jug@sad.it>
11269 * BufferView_pimpl.C (toggleSelection): adapted too.
11271 * text.C (selectNextWord): adapted for use with insets.
11272 (selectSelectedWord): ditto
11274 2001-07-17 Juergen Vigna <jug@sad.it>
11276 * sp_spell.C (PSpell): fix initialitation order.
11278 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11280 * paragraph.C: spacing
11282 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11284 * sp_spell.C: repair language selection for pspell
11286 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * lyxfunc.h: change more methods to begin with lower char.
11290 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11292 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11293 for unknown layouts.
11295 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11297 * buffer.C (readLyXformat2): Generate an error dialog if there are
11300 2001-07-16 Juergen Vigna <jug@sad.it>
11302 * sp_spell.C: always compile ISpell part.
11304 * lyxrc.C: added use_pspell entry and it's handling.
11306 2001-07-13 Juergen Vigna <jug@sad.it>
11308 * sp_spell.C: removed double includes.
11310 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11312 Consistent use of Lsstream.h:
11313 * Lsstream.h: added using std::stringstream for consistencies sake.
11315 * buffer.C: removed using std::stringstream
11317 * lyxfont.C (stateText):
11318 * paragraph.C (asString):
11319 * text.C (selectNextWord, selectSelectedWord):
11320 * text2.C (setCounter):
11321 * vspace.C (asString, asLatexString):
11322 std::ostringstream -> ostringstream.
11324 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11326 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11327 * commandtags.h: add LFUN_HELP_ABOUTLYX
11328 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11330 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11332 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11334 * lyx_gui_misc.C: remove spellchecker
11335 * lyxfunc.C: showSpellchecker
11337 * sp_ispell.h: added
11338 * sp_pspell.h: added
11339 * sp_spell.C: added
11340 * sp_form.[Ch]: removed
11341 * spellchecker.[Ch]: removed
11343 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11345 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11347 (simpleTeXSpecialChars): Simply print the input character without
11348 any special translation if pass_thru is set.
11350 * layout.h: Added bool pass_thru to layout class for being able to
11351 implement pass through of a paragraph for Literate Programming.
11353 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11354 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11355 * layout.C (Read): add "passthru" to list of layout tags and add
11356 code to set the pass_thru boolean when it is read.
11358 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11360 * trans_decl.h: remove allowed from KmodInfo
11362 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11363 remove allowed code
11366 * paragraph_pimpl.C (erase): use boost::prior
11368 * Painter.C (text): use data() instead of c_str() when length is
11370 * WorkArea.C (putClipboard): ditto
11371 * font.h (width): ditto
11373 * BufferView2.C: use it-> instead of (*it). for iterators
11375 * paragraph_pimpl.C: ditto
11376 * paragraph.C: ditto
11377 * minibuffer.C: ditto
11378 * language.C: ditto
11380 * encoding.C: ditto
11381 * counters.C: ditto
11382 * converter.C: ditto
11384 * Variables.C: ditto
11385 * TextCache.C: ditto
11386 * MenuBackend.C: ditto
11387 * LyXAction.C: ditto
11389 * FloatList.C: ditto
11390 * DepTable.C: ditto
11391 * ColorHandler.C (LyXColorHandler): ditto
11393 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11397 * text2.C (openStuff): reintroduce this method (which had been
11398 nuked in NEW_INSETS frenzy).
11400 * lyxfunc.C (Dispatch): when an action has not been handled, use
11401 its name in the error message, not its number.
11403 * paragraph.C (inInset): change method name to begin with lowercase.
11406 * text2.C: updates because of this.
11408 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11410 * ToolbarDefaults.C (add): add spaces in error message
11412 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11414 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11415 (readLyXformat2): rename return_par to first_par, use lyxlex's
11416 pushToken and remove the manual push handling.
11417 (parseSingleLyXformat2Token): add another ert comp. variable:
11418 in_tabular, rename return_par to first_par. handle newlines better
11420 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11422 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11424 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11426 * text2.C (getParFromID): removed
11428 * buffer.C (getParFromID): new method moved form lyxtext.
11429 * BufferView2.C (insertErrors): adjust
11430 (setCursorFromRow): adjust
11431 * BufferView_pimpl.C (restorePosition): adjust
11432 * lyxfunc.C (Dispatch): adjust
11433 * undo_funcs.C (textUndo): adjust
11435 (textHandleUndo): adjust
11436 (textHandleUndo): adjust
11438 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11440 * buffer.C: up' the LYX_FORMAT
11442 * lyxfont.h: turn NO_LATEX on as default
11444 * buffer.C (insertErtContents): new methods of tex style compability.
11445 (parseSingleLyXformat2Token): use it several places.
11446 * tabular.C (OldFormatRead): and here
11448 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * text2.C: remove some commented code.
11453 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11454 * trans.C: changes because of the above.
11456 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11458 * text2.C (setCounter): Fix counters bug with bibliography layout.
11460 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11462 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11463 own member functions
11464 (simpleTeXSpecialChars): ditto
11466 2001-07-06 Juergen Vigna <jug@sad.it>
11468 * a lot of files: changed the access to LyXText::status and the
11469 call of undo-functions.
11471 * undo.[Ch]: added a inset_id to the undo informations.
11473 * undo_funcs.[Ch]: added and moved here all undo functions.
11475 * lyxtext.h: give the status enum a weight, made status_ a private
11476 variable and made accessor functions for it, removed the whole bunch
11477 of undo-functions as they are now in their own file, make some
11478 functions publically available. Added function ownerParagraph with
11481 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11482 made InInset() a const function, added getParFromID() function.
11484 * buffer.[Ch]: added const version for inset_iterator functions,
11485 added getInsetFromID() function.
11487 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11488 changed undo functions for new version.
11490 2001-07-05 Juergen Vigna <jug@sad.it>
11492 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11493 unknow mechanism does not call the proper constructor but only this
11494 one also if I request the other!?
11496 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11500 * text2.C (LyXText): use initialization lists.
11502 * lyxtext.h (Selection): initialize set_ and mark_
11503 (init): remove method
11505 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11507 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11509 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * screen.[Ch]: change method names to begin with lowercase
11513 * BufferView_pimpl.C (updateScrollbar): simplify further and
11514 hopefully make it a bit faster.
11516 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11518 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11519 calling directly xforms functions.
11521 * Painter.C (Painter):
11522 * lyx_cb.C (MenuWrite):
11523 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11526 * lyx_gui.C: remove bogus guiruntime extern declaration.
11528 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11530 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11532 (redoDrawingOfParagraph): ditto
11533 (redoParagraphs): ditto
11534 (cutSelection): don't create a object for CutAndPaste use the
11535 static method directly
11536 (pasteSelection): ditto
11538 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11541 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * modifications to some other files because of this.
11545 * Makefile.am (lyx_SOURCES): add XFormsView
11547 * XFormsView.[Ch]: new files
11549 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11550 the main window. Move the gui dependent stuff to XFormsView
11552 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11554 * tabular.C (GetCellInset): update cur_cell also in the row/col
11555 version of this function.
11557 * lyxfunc.C: no need to include figure_form.h here.
11563 * lyxvc.C: no need to include forms.h here.
11565 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11567 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11569 * lyxfunc.C (Dispatch):
11571 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11572 constructor argument.
11574 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11576 * paragraph.C (Paragraph): dont't clear, and just set layout.
11577 (makeSameLayout): use params's copy contructor.
11579 * ParagraphParameters.[Ch] (makeSame): delete method
11581 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11583 * Variables.[Ch]: fix indentation, rename set to isSet
11585 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * lyxfunc.C (Dispatch): fix typo
11589 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11591 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11594 * bufferlist.C: include assert.h for emergencyWrite().
11596 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11598 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11599 give up at last (bug #425202) !
11601 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11607 * spellchecker.C: strip spellchecker options and bring up
11608 preferences tab instead
11610 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11612 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11613 the istringstream constructor
11615 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11617 * paragraph.C (getLayout): fix return value
11619 * paragraph.h: do not declare getLayout as inline.
11621 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11623 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11625 * lyxcursor.h (operator<): new func
11626 (operator>): new func
11627 (operator>=): new func
11628 (operator<=): new func
11630 * text.C (changeCase): use selection.start and selection.end
11631 (changeRegionCase): require from to be <= to. Require par to be a
11634 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11636 2001-06-27 Juergen Vigna <jug@sad.it>
11638 * text.C (cursorLeftOneWord): changed to return the cursor and added
11639 overlay with BufferView * parameter which calls this one.
11641 (selectWord): use new getWord function.
11642 (changeCase): renamed from changeWordCase as and extended to work
11643 also on selections.
11645 * lyxtext.h: added enum word_location
11647 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11648 changeCase as this operates now also on selections.
11650 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11652 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11654 * many files: send debug output to Debug::INFO instead of
11657 * converter.C (View):
11659 (Move): send debug output to Debug::FILES instead of console.
11661 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11663 * lyxfunc.C (getStatus): use func_status
11665 * func_status.h: new header, describing the results of
11666 LyXFunc::getStatus;
11668 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11671 2001-06-25 The LyX Project <jug@sad.it>
11673 * buffer.C (sgmlOpenTag):
11675 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11677 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * text2.C: remove some dead code
11681 * tabular.C (GetCellInset): store the last cell checked (gotten)
11683 * tabular.h: add the helper for the speedup
11685 * lyxtext.h: remove some dead code
11687 2001-06-26 The LyX Project <Asger>
11689 * paragraph.C: Change export to LaTeX of alignment to
11690 \begin{center} and family for better roundtrip work with reLyX.
11692 * Tune the math drawing a bit.
11694 2001-06-25 The LyX Project <Asger>
11696 * LColor.C (LColor): New color for math background. New color
11699 2001-06-25 The LyX Project <jug@sad.it>
11701 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11703 * lyxfunc.C (Open):
11704 * bufferlist.C (newFile): do not restrict to files ending with
11707 * BufferView_pimpl.C (MenuInsertLyXFile):
11709 2001-06-24 The LyX Project <jug@sad.it>
11711 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11714 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11716 * lyxtext.h: rename most methods to begin with a small char.
11717 Lots of changes because of this.
11719 * paragraph.C (Paragraph): do not call fitToSize
11720 (erase): call Pimpl::erase
11721 (insertChar): call Pimpl::insertChar
11722 (insertInset): call Pipl::insertInset
11723 (breakParagraph): do not call fitToSize
11724 (breakParagraphConservative): do not call fitToSize
11725 (fitToSize): remove method
11727 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11729 2001-06-24 The LyX Project <Asger>
11731 * Fix Qt compilation^2
11733 2001-06-24 The LyX Project <jug@sad.it>
11735 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11736 depthHook(getDepth()-1).
11739 * ParagraphParameters.h:
11740 * ParameterStruct.h: change type of depth to unsigned int ==
11741 depth_type. Many adaptations to other files before of that.
11743 2001-06-24 The LyX Project <Asger>
11745 * Fix Qt compilation.
11747 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11749 * paragraph.h: renamed several methods to begin with small letter.
11750 several changes to many parts of the code because of this.
11752 2001-06-23 The LyX Project <jug@sad.it>
11754 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11755 rewritten to discard all double spaces when KeepEmpty is off
11756 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11757 to only handle newlines but not fiddle with spaces and friends.
11759 * lyxfunc.C (MenuNew): when doing 'new from template', use
11760 template_path as default directory
11762 2001-06-23 The LyX Project <Asger>
11764 * Clean-up of header file includes all over
11765 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11767 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11769 * paragraph.h: renamed from lyxparagraph.h
11771 2001-06-23 Asger <lyx@violet.home.sad.it>
11773 * Buffer.h: Removed Buffer::resize
11774 * BufferList.h: Removed BufferList::resize
11775 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11776 the document lazily when we change the width, or the font settings.
11778 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11780 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11782 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11784 * buffer.h: remove out of date comment
11786 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11789 * screen.C: fix "theoretical" GC leak
11791 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11793 * LaTeX.C (scanAuxFile):
11794 (deplog): remove trailing \r when reading stream (useful under
11797 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11799 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11800 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11801 and BufferView::theLockingInset(Inset*), so should use them and not
11802 access bv_->text->the_locking_inset directly.
11804 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11806 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11809 * tex-defs.h: remove old unused file
11811 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11813 * BufferView_pimpl.C: fix typo, remove minibuffer message
11814 when buffer has loaded
11816 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11818 * lyxfunc.C (Dispatch): use stringstream
11819 (MenuNew): use stringstream
11820 (Open): use stringstream
11822 * importer.C (Import): use stringstream
11824 * bufferview_funcs.C (CurrentState): use stringstream
11826 * LaTeX.C (run): use stringstream
11828 * BufferView_pimpl.C (savePosition): use stringstream
11829 (restorePosition): use stringstream
11830 (MenuInsertLyXFile): use stringstream
11832 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11845 * vspace.C: removed // -*- C++ -*- as first line.
11848 * version.h: added // -*- C++ -*- as first line.
11850 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11854 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11857 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11862 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11864 * gettext.C: include LString.h even when --disable-nls is on.
11866 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11868 * converter.h (Get): changed argument type from int to
11869 FormatList::size_type to avoid unnecessary conversion.
11871 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11874 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11876 * gettext.h: include LString.h even when --disable-nls is on.
11878 2001-06-07 Juergen Vigna <jug@sad.it>
11880 * text.C (BreakAgain): subst spaces with tabs.
11882 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11883 (resizeInsetsLyXText): set force on resizeLyXText.
11885 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * gettext.h (gettext_init):
11888 (locale_init): use a real definition instead of a macro
11890 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11892 * Bufferview_pimpl.C:
11894 * LColor.C: further lcolor tidies
11896 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * BufferView_pimpl.C (updateScrollbar): simplify.
11900 * BufferView2.C: don't include insets/insetinfo.h, change
11901 prototype for insertInset and call the Pimpl version. let
11902 updateInset call Pimpl version.
11904 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11905 gotoInset to BufferView::Pimpl
11907 2001-06-01 Juergen Vigna <jug@sad.it>
11909 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11910 inside a LockingInset (is the update needed at all?).
11912 2001-05-31 Juergen Vigna <jug@sad.it>
11914 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11915 here not the old one otherwise how should we compare it afterwards
11918 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11923 * FontInfo.C: bring C functions into global namespace when
11926 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * LString.h: make sure config.h has been loaded before LString.h.
11930 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11931 (one for each char read by EatLine!).
11933 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11936 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11939 to the same as the par we break from
11941 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11945 * MenuBackend.C (expand): also create menu entries for wide
11946 versions of the floats.
11948 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11950 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11952 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11953 frontends/Makefile.am
11959 * tabular.C (getTokenValue): add std::
11961 * tabular-old.C (getTokenValue): add std::
11962 (getTokenValue): ditto
11963 (getTokenValue): ditto
11965 * screen.C (ToggleSelection): adjust
11967 * lyxtext.h: put selection cursors inside a Selection struct.
11969 * lyxfunc.C (moveCursorUpdate): adjust
11971 * lyxfont.C (latexWriteStartChanges): add std::
11973 * lyxfind.C: adjust
11975 * font.h: delete with(char const *, LyXFont const &)
11977 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11979 * FontInfo.C (getFontname): add std::
11981 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11982 (workAreaButtonPress): adjust
11983 (tripleClick): adjust
11985 (moveCursorUpdate): adjust
11988 * BufferView2.C (gotoInset): adjust
11990 2001-05-30 Juergen Vigna <jug@sad.it>
11992 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11993 to check pspell I add this as default as I now have new pspell
11994 libraries and they seem to use this.
11996 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11998 * text2.C (CutSelection): make the cursor valid before the call to
12001 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12003 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12004 relied on 0 terminated strings and other horrors. Bug found due to
12005 the new assert in lyxstring!
12007 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12010 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12015 * lyxfunc.C (processKeySym): change method of getting to the
12018 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12019 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12020 * BufferView_pimpl.[Ch]: here as private methods.
12022 2001-05-28 Juergen Vigna <jug@sad.it>
12024 * text.C (SetHeightOfRow): added the update() call again as it is
12025 needed to initialize inset dimensions!
12027 2001-05-16 Juergen Vigna <jug@sad.it>
12029 * text2.C (SetCharFont): Add new function with BufferView * and
12030 bool toggleall parameters for setting insets internal fonts.
12031 (SetFont): Freeze the undo as we may change fonts in Insets and
12032 all this change should be inside only one Undo!
12034 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12035 setting font's in insets as for them we have the SetFont function!
12037 2001-05-15 Juergen Vigna <jug@sad.it>
12039 * text2.C (ClearSelection): to be sure we REALLY don't have any
12042 * tabular.C (TeXCellPreamble): fixed the left border problem for
12045 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12047 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12050 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12052 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12053 LFUN_BREAKPARAGRAPH.
12055 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12056 help test to "internal only", similar for LFUN_INSERT_URL
12058 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12059 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12060 auto_region_delete and deadkeys.
12062 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12065 * LColor.C: remove some dead entries, tidy a little
12067 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12071 (Dispatch): implement LFUN_ESCAPE
12073 * commandtags.h: add LFUN_ESCAPE
12075 * LyXAction.C (init): add entry for LFUN_ESCAPE
12077 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12078 Remove commented code.
12079 (insertNote): moved here
12080 (open_new_inset): moved here
12082 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12085 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12087 * kbmap.C (findbinding): clean it up and make it work correctly.
12089 * lyx_main.C (init): do not pass argc and argv as parameters
12091 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12093 * buffer.C: fix path for OS/2 & Win32
12097 * lyx_main.C: Added os:: class.
12099 * os2_defines.h: update
12101 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12104 better by trying again with reduced state.
12106 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12108 * lyxrc.C (read): print error about invalid key sequence only when
12109 debugging (because not all latinX keysyms are known to some X
12112 * kbsequence.C (getiso): add a few std:: qualifiers
12113 (getiso): comment out extra return statement.
12115 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12119 (Dispatch): enhance the accent inset a bit. (not perfect)
12121 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12125 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12127 * bufferlist.C (emergencyWrite): fix assert() call
12129 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12131 * text.C (InsertChar): Added trivial patch to only send the "you
12132 can not do multiple spaces this way" message once during a
12135 2001-05-08 Baruch Even <baruch@lyx.org>
12137 * Makefile.am: Changed order of libraries to get LyX to link properly
12138 with the gnome frontend.
12140 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12142 * LaTeXFeatures.h: add a std:: qualifier
12144 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * paragraph.C (String): use stringstream
12148 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * paragraph.C (writeFile): remove footflag arg
12152 * buffer.C (makeLaTeXFile): use stringstream
12153 (latexParagraphs): remove footnot gurba
12155 * LaTeXFeatures.C (getPackages): use stringstream
12156 (getMacros): likewise
12157 (getTClassPreamble): likewise
12158 (getFloatDefinitions): new method
12160 * paragraph.C (writeFile): reindent
12163 * WorkArea.h: revert the xpos + etc changes.
12165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12167 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12169 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12170 (pasteSelection): likewise
12171 * text2.C (CreateUndo): likewise
12173 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12175 * minibuffer.C (peek_event): temporarily reduce the functionality
12176 of the minibuffer (to allow args on lfuns)
12178 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12179 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12181 * buffer.C (readInset): add compability reading of old float
12182 lists, add reading of new style float list.
12183 (readInset): avoid reevaluation of inscmd.getCmdName()
12184 (getLists): reindent
12186 * MenuBackend.C (MenuItem): implement parsing of
12187 md_floatlistinsert and md_floatinsert.
12188 (expand::LastFiles): move initalizaton of iterators out of loop,
12189 avoid reevaluation.
12190 (expand::Documents): introduce typdedef vector<string> Strings,
12192 (expand::ExportFormats): introduce typedef vector<Format const *>
12193 Formats, and use it.
12194 (expand): implement FloatListInsert and FloatInsert.
12196 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12197 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12198 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12200 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12202 (Dispatch::LFUN_FLOAT_LIST): implement
12204 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12206 * LaTeX.C (run): Fix problem with --export code.
12208 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12210 * BufferView.[Ch] (workarea): removed.
12211 (getClipboard) new method; wrapper for workarea()->getClipboard()
12213 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12216 * WorkArea.h (width, height, xpos, ypos): These methods all
12217 returned the dimensions of the work_area sub-area of WorkArea,
12218 resulting in a position error if the WorkArea were resized. Now
12219 return the dimensions of the entire WorkArea.
12221 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12223 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * LaTeX.C (deplog): correct the syntax of regex reg1
12227 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * undo.C: remove !NEW_INSETS cruft
12231 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * text2.C: remove !NEW_INSETS cruft
12235 * text.C: remove !NEW_INSETS cruft
12237 * tabular.C: remove !NEW_INSETS cruft
12239 * spellchecker.C: remove !NEW_INSETS cruft
12241 * lyxtext.h: remove !NEW_INSETS cruft
12243 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12245 * lyxfunc.C: remove !NEW_INSETS cruft
12247 * lyxfind.C: remove !NEW_INSETS cruft
12249 * lyx_cb.C: remove !NEW_INSETS cruft
12251 * figureForm.C: remove !NEW_INSETS cruft
12253 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12255 * buffer.[Ch]: remove !NEW_INSETS cruft
12257 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12259 * CutAndPaste.C: remove !NEW_INSETS cruft
12261 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12263 * BufferView2.C: remove !NEW_INSETS cruft
12265 * BufferView.h: remove !NEW_INSETS cruft
12267 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * Lsstream.h: include LString.h before the sstream headers to
12270 fix problem with gcc 2.95.3 and lyxstring
12272 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12274 * lyx_main.C: add using directives when needed for C functions
12275 declared in std:: namespace.
12277 2001-04-27 Juergen Vigna <jug@sad.it>
12279 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12280 (SetHeightOfRow): comment out the update call should not be needed!
12282 2001-04-13 Juergen Vigna <jug@sad.it>
12284 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12285 (LyXTabular): tried to minimize operator= operations (and realized
12286 hopfully Lars wish).
12288 2001-04-27 Juergen Vigna <jug@sad.it>
12290 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12292 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12296 * buffer.C (readInset): hack to make listof algorithm work
12298 * BufferView_pimpl.C: hack to make listof algorithm work
12300 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12302 * LyXAction.C: removed all !NEW_INSETS cruft
12303 (init): moved lfun_item in method
12305 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12307 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12309 * BufferView2.C (theLockingInset): white space.
12311 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * minibuffer.C: include <iostream>
12315 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12317 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12319 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12321 * text.[Ch] (TransposeChars): new method
12323 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12325 * call message directly through LyXView instead of through LyXFunc
12326 * BufferView2.C: adjust
12327 * BufferView_pimpl.C: adjust
12328 * FontLoader.C: adjust
12330 * bufferview_funcs.C: adjust
12331 * converter.C: adjust
12332 * figureForm.C: adjust
12333 * importer.C: adjust
12335 * lyx_gui_misc.C: adjust
12336 * lyxfunc.C: adjust
12339 + more files in subdirs
12341 * lyxparagraph.h (size): move up int file
12344 * adjust all uses of Assert to lyx::Assert.
12346 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12347 lyxfunctional in namespace lyx
12348 * layout.C (hasLayout): ditto
12351 (delete_layout): ditto
12352 (NumberOfClass): ditto
12353 * converter.C (GetFormat): ditto
12358 * bufferlist.C (getFileNames): ditto
12359 (emergencyWriteAll): ditto
12362 * MenuBackend.C (hasSubmenu): ditto
12365 * BufferView_pimpl.C (getInsetByCode): ditto
12367 2001-04-18 Juergen Vigna <jug@sad.it>
12369 * vspace.C (asLatexString): fixed the 100% problem.
12371 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12373 * lyxfunc.C (Dispatch):
12375 * minibuffer.h: add a few std:: qualifiers
12377 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * minibuffer.[Ch]: reimplement so that commands is initiated and
12380 run from lyxfunc, simplified som handling, and made the completion
12381 and history code for complete. wip.
12383 * lyxfunc.C (processKeySym): call message
12384 (miniDispatch): new temporary method
12385 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12386 (LFUN_MESSAGE): implement
12387 (LFUN_MESSAGE_PUSH): implement
12388 (LFUN_MESSAGE_POP): implement
12389 (initMiniBuffer): the initial/defualt minibuffer message.
12391 * lyxfont.[Ch]: inline some more getters
12393 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12395 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12397 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12398 (AutoSave): use LFUN_MESSAGE
12399 (Reconfigure): ditto
12401 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12403 * figureForm.C: use LFUN_MESSAGE
12405 * converter.C (runLaTeX): use LFUN_MESSAGE
12407 * bufferview_funcs.C: use LFUN_MESSAGE
12409 (changeDepth): ditto
12411 * bufferparams.h: use boost::
12413 * bufferlist.h: inherit privately from noncopyable
12415 * bufferlist.C (loadLyXFile): remove some commented code.
12417 * buffer.C (runChktex): use LFUN_MESSAGE
12419 * ShareContainer.h: inherit privately from noncopyable
12421 * ParagraphParameters.[hC] (depth): inline it.
12423 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12425 (message): new method
12426 (messagePush): ditto
12427 (messagePop): ditto
12428 (show): init minibuffer
12429 (showState): direct call
12431 * LaTeX.[Ch]: inherit privately from noncopyable
12432 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12433 instead of WriteStatus.
12435 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12437 * BufferView_pimpl.C (buffer): don't init minibuffer
12438 (workAreaButtonPress): use LFUN_MESSAGE
12439 (workAreaButtonRelease): ditto
12440 (savePosition): ditto
12441 (restorePosition): ditto
12442 (MenuInsertLyXFile): ditto
12443 (workAreaExpose): don't init minibuffer
12444 (update): remove commented code, simplify
12446 * BufferView2.C (openStuff): use LFUN_MESSAGE
12447 (toggleFloat): ditto
12450 (copyEnvironment): ditto
12451 (pasteEnvironment): ditto
12456 (updateInset): remove some commented code
12458 * lastfiles.h: inherit privately from noncopyable
12461 * lyx_main.h: ditto
12463 * lyxlex_pimpl.h: ditto
12465 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12466 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12467 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12469 * LyXAction.h: inherit privately from noncopyable, add methods
12470 func_begin, func_end, returning iterators to the func map.
12472 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12473 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12474 (func_begin): new method
12475 (func_end): new method
12477 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12479 (copySelection): ditto
12480 (pasteSelection): ditto
12482 * BufferView.C: whitespace change
12483 * BufferView.h: inherit privately from noncopyable
12485 2001-04-16 Allan Rae <rae@lyx.org>
12487 * tabular-old.C (l_getline):
12488 * spellchecker.C (sc_check_word):
12489 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12490 an unrecognised preprocessor directive. So ensure they're wrapped.
12492 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12494 * src/exporter.C (Export): Give an error message when path to file
12497 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12499 * LaTeX.C (deplog): Always check that foundfile exists.
12501 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12504 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12506 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * tabular.[Ch] (getLabelList): implement new method
12510 * minibuffer.h: comment ouf setTiimer
12512 * minibuffer.C (ExecutingCB): constify res
12513 (peek_event): constify s
12514 (Set): constify ntext
12515 (Init): constify nicename
12517 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12519 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12520 (savePosition): use two params to Minibuffer::Set
12521 (restorePosition): ditto
12523 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12525 * lyx_main.C: include language.h
12527 * Makefile.am (lyx_main.o): add language.h
12529 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * CutAndPaste.C: include gettext.h
12537 * lyxfont.h: remove old hack with ON and OFF.
12540 * lyxfont.h: do not include language.h...
12545 * bufferview_funcs.C:
12551 * paragraph.C: ... but do it here instead
12553 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12557 * tabular.C: small reformat
12559 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12562 (BreakParagraph): ditto
12563 (SetOnlyLayout): ditto
12566 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12569 * lastfiles.C: removed most using decl, add std:: where needed
12571 * buffer.C: ws changes
12573 * MenuBackend.C (class compare_format): put into anon namespace
12574 (expand): constify label, names, action, action2
12577 * text.C (SingleWidth): constify font
12578 (IsBoundary): constify rtl2
12579 (GetVisibleRow): constify ww
12581 * LaTeX.C (deplog): constify logfile
12583 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12585 (workAreaExpose): constify widthChange, heightChange
12587 * lyxrow.C (par): moved
12590 * lyxrow.h: as inlines here
12592 * lyxfont.h (shape): moved from lyxfont.C
12593 (emph): moved from lyxfont.C
12595 * lyxfont.C (LyXFont): use initialization list for all
12597 (shape): move to lyxfont.h as inline
12598 (emph): move to lyxfont.h as inline
12601 2001-04-04 Juergen Vigna <jug@sad.it>
12603 * vspace.C: had to include stdio.h for use of sscanf
12605 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12608 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12609 independent of xforms.
12611 2001-04-02 Juergen Vigna <jug@sad.it>
12613 * spellchecker.C: fixed namespace placing!
12615 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12617 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12618 the LyXParagraph * is 0.
12620 2001-03-29 Juergen Vigna <jug@sad.it>
12622 * vspace.C: added support for %, c%, p%, l%.
12623 (stringFromUnit): added helper function.
12624 (asLatexString): changed to give right results for the %-values.
12626 * buffer.C: convert the widthp in a width%.
12628 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12630 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12633 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12634 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12636 * lyx_cb.[Ch]: see above.
12638 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12642 * lyx.[Ch]: replaced by figure_form.[Ch].
12646 * lyxfunc.C: changed headers associated with above changes.
12648 2001-03-27 Juergen Vigna <jug@sad.it>
12650 * BufferView_pimpl.C: set the temporary cursor right!
12652 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12654 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12656 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12658 * LString.h: removed "using std::getline"!
12660 * BufferView_pimpl.C (Dispatch): changes due to changes in
12661 InsetInclude::Params.
12663 * buffer.C (tag_name): removed redundant break statements as they were
12664 producing lots of warnings with my compiler.
12666 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12668 * LString.h: add "using std::getline" when using the real <string>.
12670 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12672 * buffer.C: removed bitset usage.
12673 PAR_TAG moved to an anonymous name space.
12674 (tag_name): new funtion, also in the anonymous namespace.
12675 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12676 (makeDocBookFile): clean code. Completed transition from string arrays
12678 (SimpleDocBookOnePar): code clean.
12680 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12682 * tabular.C: add some comments.
12684 2001-03-22 Juergen Vigna <jug@sad.it>
12686 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12687 compatibility read a bit and fixed bug with minipage in different
12690 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12692 * buffer.C (pop_tag): removed.
12693 (push_tag): removed.
12694 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12695 array replaced with vector. Added support for CDATA sections.
12696 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12698 (makeDocBookFile): XML conformant declaration of CDATA section,
12699 fixed bug related to <emphasis> in the first paragraph char.
12700 (sgmlOpenTag): exclude empty tags.
12701 (sgmlCloseTag): ditto.
12703 * buffer.h (pop_tag): removed.
12704 (push_tag): removed.
12706 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12708 * language.h (Languages): added size_type and size().
12710 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12712 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12713 response on compability reading of minipages. One probliem is that
12714 the old usage of minipages was «flertydig»
12716 * several files here and in subdirs: don't use static at file
12717 scope use anon namespaces instead.
12719 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12721 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12722 LaTeX output. This is necessary for Literate document
12725 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12727 * buffer.C: insert hfill when needed.
12729 * tabular.C (l_getline): use string::erase, small whitespace change.
12731 * BufferView_pimpl.C: try the anon namespace.
12732 * WorkArea.C: ditto
12734 2001-03-16 Juergen Vigna <jug@sad.it>
12736 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12737 otherwise it won't open options-dialogs.
12739 * buffer.C: honor pextraWidth(p) on converting minipages.
12741 * tabular.C (l_getline): changed the functions to strip trailing \r.
12743 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12745 * BufferView_pimpl.C:
12746 * minibuffer..C: added "using SigC::slot" declaration.
12748 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12750 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12756 * paragraph.C: ditto
12758 * lyxtext.h: NO_PEXTRA
12760 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12762 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12763 * ParameterStruct.h: ditto
12764 * ParagraphParameters.h: ditto
12765 * lyxparagraph.h: ditto
12767 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12769 * buffer.C: add compability for minipage alignment.
12770 (latexParagraphs): remove unwanted pextra check.
12772 * several files: remove CXX_WORKING_NAMESPACES
12774 * buffer.C (pop_tag): tie is in namespace boost
12776 * BufferView.h: noncopyable is in namespace boost
12778 * lyx_main.h: ditto
12781 * lastfiles.h: ditto
12782 * bufferlist.h: ditto
12783 * ShareContainer.h: ditto
12785 * LyXAction.h: ditto
12788 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12790 * Merging changes from BRANCH_MVC back into HEAD.
12792 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12794 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12796 * BufferView_pimpl.C: change from intl.C
12800 * Makefile.am: move combox.*
12806 * intl.C: remove dialog (covered by prefs)
12808 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12810 * lyxfunc.C (Dispatch): removed redundant break statement.
12812 2001-03-14 Juergen Vigna <jug@sad.it>
12814 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12816 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12818 * buffer.C: add hack to fix compability reading of minipages.
12820 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12822 * buffer.C (getLists): Cleanup.
12824 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * lyxfont.C (update): don't honor toggleall on font size.
12828 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12832 * Makefile.am: moved to frontends/xforms/
12836 * BufferView_pimpl.C: changes for moved mathpanel
12838 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12840 * gettext.h: fix gettext_init() in --disable-nls
12842 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12846 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12849 * lyx.h: strip external form
12851 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12853 * BufferView_pimpl.C: add comment, destroySplash()
12855 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12857 * BufferView_pimpl.C:
12861 * lyxfunc.C: use re-worked insetinclude
12863 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12865 * buffer.C: add using std::stringstream.
12867 * lyx_cb.C: readd using std::ios.
12869 * buffer.C: add using std::map.
12871 * BufferView_pimpl.C: add using std::vector.
12873 * ShareContainer.h: add std:: to swap.
12875 * buffer.h: add some typedefs
12876 * buffer.C (getLists): use them
12877 (getLists): renamed from getTocList.
12878 add a counter for the different float types and use it in the
12880 (getLists): use the same counter for the NEW_INSETS and the "non"
12883 * lyx_cb.h: remove unused items, includes, using etc.
12885 * ShareContainer.h: remove some commented code, add more comments
12886 and "documentation".
12888 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12890 * buffer.C (getTocList): make the list also when NEW_INSETS is
12893 * buffer.h: remove TocType
12895 * buffer.C (getTocList): change to return a map<string,
12896 vector<TocItem> >, implement for dynamic number of list.
12898 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12899 * text2.C (PasteSelection): adjust
12900 * CutAndPaste.C (pasteSelection): adjust
12902 * FloatList.C (FloatList): update from the new_insets branch.
12903 * Floating.[Ch]: ditto
12904 * LaTeXFeatures.C: ditto
12906 * lyxlex_pimpl.C: ditto
12908 * paragraph.C (Last): remove when NEW_INSETS is defined.
12910 * other file: changes because of the above.
12912 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12914 * lyxparagraph.h: rename next to next_, previous to previous_,
12915 make them private for NEW_INSETS. Rename Next() to next(),
12916 Previous() to previous().
12918 * other files: changes because of the above.
12920 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12923 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12926 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12928 * main.C (main): pass lyx_localedir to gettext_init().
12930 * gettext.h: remove locale_init and gettext_init macros
12932 * gettext.C (locale_init): new function
12933 (gettext_init): new function
12935 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12938 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12940 * Moved credits to frontends:
12941 * credits.[Ch]: removed
12942 * credits_form.[Ch]: removed
12943 * lyx_gui_misc.C: remove credits stuff
12946 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12948 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12950 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12951 unneeded destructor.
12953 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12954 a standalone pointer again.
12956 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12958 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12964 * ToolbarDefaults.C:
12973 * BufferView_pimpl.C: use new file dialog in GUII
12976 * lyx_cb.C: remove LayoutsCB to Toolbar
12978 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12980 * ShareContainer.h (get): add std:: qualifier
12982 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12984 * ShareContainer.h: define a proper ShareContainer::value_type
12985 type (and use typename to please compaq cxx)
12987 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12989 * lyxparagraph.h: move serveral local vars to
12990 ParameterStruct/ParagraphParameters., use ShareContainer in
12991 FontTable., make vars in FontTable private and add getter and
12994 * paragraph.C: changes because of the above.
12996 * lyxfont.h: remove copy constructor and copy assignment. (the
12997 default ones is ok), move number inside FontBits. move inlines to
13000 * lyxfont.C: add number to initializaton of statics, move several
13001 inlines here. constify several local vars. some whitespace
13002 cleanup. Dont hide outerscope variables.
13004 * Spacing.h: add two new constructors to match the set methods.
13006 * ShareContainer.h: new file, will perhaps be moved to support
13008 * ParameterStruct.h: new file
13010 * ParagraphParameters.h: new file
13012 * ParagraphParameters.C: new file
13014 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13015 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13017 * BufferView_pimpl.C: ParagraphParameter changes.
13018 * buffer.C: Likewise.
13019 * bufferview_funcs.C: Likewise.
13020 * text.C: Likewise.
13021 * text2.C: Likewise.
13023 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13025 * lyxfind.C (LyXReplace): do not redefine default argument in
13027 (IsStringInText): ditto
13028 (SearchForward): ditto
13029 (SearchBackward): ditto
13031 2001-03-06 Juergen Vigna <jug@sad.it>
13033 * lyxfind.C (IsStringInText): put parentes around expressions.
13035 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13037 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13039 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13041 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13043 * stl_string_fwd.h: add comment
13045 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13048 * tabular.C: remove unused DocBook methods
13054 killed DO_USE_DEFAULT_LANGUAGE
13056 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13058 * lyx_gui.C: do not include language.h.
13060 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13061 arguments in function implementation.
13063 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13065 * BufferView_pimpl.C: add <ctime>
13067 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13069 * BufferView_pimpl.C: add using std::find_if
13071 2001-02-27 José Matos <jamatos@fep.up.pt>
13073 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13076 2001-02-11 José Matos <jamatos@fep.up.pt>
13078 * buffer.C (makeDocBookFile): command styles now have a parameter as
13079 "title" by default.
13081 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13083 * layout_forms.[Ch]: removed
13084 * lyx_cb.[Ch]: out character
13085 * lyx_gui.C: out character
13086 * lyx_gui_misc.C: out character
13087 * bufferview_funcs.C: : out character,
13088 added toggleall as parameter in ToggleAndShow
13090 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13092 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13094 * text2.C (SetCurrentFont): Disable number property at boundary.
13096 2001-02-26 Juergen Vigna <jug@sad.it>
13098 * lyxfunc.C (getStatus): added a string argument override function so
13099 that this is correctly called from LyXFunc::Dispatch if it contains a
13100 do_not_use_argument which is used!
13101 (Dispatch): added check for "custom" export and call appropriate func.
13103 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13105 * lyxrc.C: Add language_command_local, language_use_babel and
13106 language_global_options.
13108 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13110 * buffer.C (makeLaTeXFile): Use language_use_babel and
13111 language_global_options.
13113 2001-02-23 Juergen Vigna <jug@sad.it>
13115 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13116 which works with LyXText and putted it inside BufferView. Here now we
13117 only call for that part the BufferView::Dispatch() function.
13119 * BufferView.C (Dispatch): added.
13121 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13122 functions which needs to use a LyXText over from LyXFunc.
13123 (MenuInsertLyXFile): added
13124 (getInsetByCode): added
13125 (moveCursorUpdate): added
13126 (static TEXT): added
13128 2001-02-22 Juergen Vigna <jug@sad.it>
13130 * BufferView_pimpl.C (update): call a status update to see if LyXText
13133 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13135 * vc-backend.C (revert): implement for CVS
13136 (getLog): implement for CVS
13138 2001-02-20 Juergen Vigna <jug@sad.it>
13140 * text2.C (ClearSelection): added BufferView param for inset_owner call
13142 * lyxfunc.C (TEXT): added this function and use it instead of
13143 directly owner->view()-text of getLyXText().
13145 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13147 * src/layout_forms.C: out preamble
13148 * src/layout_forms.h: out preamble
13149 * src/lyx_cb.C: out preamble
13150 * src/lyx_cb.h: out preamble
13151 * src/lyx_gui.C: out preamble
13152 * src/lyx_gui_misc.C: out preamble
13153 * src/lyxfunc.C: connect with guii preamble
13155 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13157 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13159 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13161 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13162 whether to run bibtex.
13164 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13166 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13168 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13170 * Makefile.am (lyx_SOURCES): removed bibforms.h
13172 * vspace.h: doxygen
13174 * text.C (GetVisibleRow): make several local vars const
13176 * tabular.C: small cleanup.
13178 * lyxserver.C (callback): use compare instead of strncmp
13180 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13181 inlines to after class or to paragraph.C
13183 * lyxfont.h: remove friend operator!=
13185 * converter.h: move friend bool operator< to non friend and after
13188 * combox.h: small cleanup
13190 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13191 to inlines after class def.
13193 * buffer.C (pop_tag): use string operations instead of strcmp
13195 * bmtable.c: doxygen, small cleanup
13197 * LaTeX.h: remove friend operator==
13199 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13211 * BufferView_pimpl.C:
13212 * BufferView.[Ch]: remove cruft
13214 2001-02-14 Juergen Vigna <jug@sad.it>
13216 * lyxfunc.C: removed #if 0 unused code
13218 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13220 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13222 * text2.C (SetSelection): added a BufferView * parameter
13224 2001-02-13 Juergen Vigna <jug@sad.it>
13226 * lyxfunc.C (Dispatch): fixed protected blank problem.
13227 * BufferView2.C (protectedBlank): added LyxText * parameter.
13229 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13230 (AppendColumn): same as above for column_info.
13232 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13233 (moveCursorUpdate): use a LyXText param for support of InsetText.
13235 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13236 (tripleClick): ditto
13238 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13240 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13242 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13244 * text2.C (SetSelection): set correct update status if inset_owner
13245 (ToggleFree): ditto
13247 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13249 * tabular.C: remove some commented code.
13251 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13253 * BufferView_pimpl.C: call hideSplash()
13255 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13258 * bibforms.h: remove
13261 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13262 add LFUN_CHILD_CREATE
13264 * counters.h: fix tiny typo
13269 * lyx.C: move splash to frontends/xforms/
13271 * lyx_gui_misc.C: move Include and Bibform to frontends
13273 * lyxvc.h: clarify comment
13275 * vspace.C: tiny housekeeping
13277 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13279 * text.C (PrepareToPrint): RTL Fix.
13281 * paragraph.C (GetUChar): New method.
13282 (String): Use GetUChar.
13284 * buffer.C (asciiParagraph): Use GetUChar.
13286 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13288 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13290 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13293 * buffer.C: rename to getLogName(), handle
13294 build log / latex log nicely
13296 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13299 * MenuBackend.h: remove support for reference menuitem type.
13301 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13303 * BufferView_pimpl.C: housekeeping
13304 * BufferView_pimpl.h:
13309 * minibuffer.h: move Timeout GUI-I
13311 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13313 * lyxrc.C (read): Update converters data-structures.
13315 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13317 * LaTeX.h (operator!=): add operator != for Aux_Info
13319 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13321 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13323 * LaTeXLog.C: deleted, useful code moved to Buffer
13326 * buffer.C: new function getLatexLogName()
13332 * lyxfunc.C: use frontends for LaTeX and VC logs
13334 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * LaTeX.h: yet another std:: that Allan forgot.
13338 * Variables.C (set): renamed from isset(), because this clashes
13339 with some HP-UX macros (grr).
13341 2001-02-06 Allan Rae <rae@lyx.org>
13343 * LaTeX.h: Another bug fix. Missing std:: this time.
13345 2001-02-04 Allan Rae <rae@lyx.org>
13347 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13348 floats problem. I've left it commented out because it's not quite
13349 correct. It should also test that the current object is a table or
13350 figure inset. But I haven't gotten around to figuring out how to do
13351 that. I *think* it'll be something like: "table" == inset.type()
13353 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13356 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13358 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13359 all the citation/databases/styles in the auxilary file.
13360 (run): Rerun latex if there was a babel language error.
13362 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13364 * text.C (Backspace): Preserve the font when changing newline char
13366 (BreakParagraph): If the cursor is before a space, delete the space.
13368 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13370 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13372 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13373 new argument (code).
13374 (ChangeCitationsIfUnique): New method.
13376 * paragraph.C (GetPositionOfInset): Handle bibkey.
13378 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13380 * BufferView_pimpl.h: change type of Position::par_pos to
13381 LyXParagraph::size_type.
13383 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13385 * BufferView_pimpl.C (savePosition, restorePosition): Write
13386 messages to minibuffer.
13388 2001-01-28 José Matos <jamatos@fep.up.pt>
13390 * buffer.C (makeDocBookFile): adds support for document language.
13391 A silly restriction on the name of LatexCommand types where removed.
13392 Added support for CDATA sections, allows to chars unescaped, used
13393 among others in code, to avoid escape < and >.
13395 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13397 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13398 saved positions instrad of a stack. Furthermore, a position is
13399 stored using paragraph id/paragraph position.
13401 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13402 Remove LFUN_REF_BACK.
13404 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13406 * converter.C (dvipdfm_options): New method.
13408 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13410 * vspace.C (isValidLength): Fix for empty input string.
13412 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13414 * LyXAction.C (init): change description of LFUN_FIGURE to
13417 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13419 * LaTeX.C: add using directive
13421 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13423 * MenuBackend.C (expand): Fix the sorting of the formats.
13425 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13427 * lyx_main.C: tiny error message fix
13429 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13432 calling fl_initialize(). This fixes the problem with ',' as
13433 decimal separator in text files.
13435 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13437 * trans.C (process): Fix the keymap bug.
13439 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13441 * LaTeX.C (scanAuxFiles): New method. Provides support for
13442 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13443 (scanLogFile) Scan for "run BibTeX" messages.
13445 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13446 OT1 font encoding. Also, load the aecompl package if the ae
13449 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13451 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13453 * texrow.C (increasePos): turn two error messages into debug
13456 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13458 * LaTeX.C (scanAux): Handle the \@input macro.
13459 (runBibTeX): Use scanAux().
13461 * language.C (latex_options_): New field.
13463 * LaTeXFeatures.C (getMacros): Add language macros.
13465 * buffer.C (makeLaTeXFile): Small fix.
13467 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13469 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13471 * text2.C: add a using directive.
13473 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13478 * lyxfunc.C: kill LyXBell.
13480 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13482 * text.C (IsBoundary): Remove the error message
13484 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13486 * lyxrc.C (setDefaults): Correct initialization value for
13489 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13491 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13494 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13495 and GotoNextNote().
13497 * src/LyXAction.C: Added reference-next.
13499 * text.C (InsertChar): Use contains instead of strchr.
13501 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13503 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13505 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13506 alignment commands (when needed).
13508 * text.C (InsertChar): Add ':' to number separator chars.