1 2003-10-22 Angus Leeming <leeming@lyx.org>
3 * buffer.[Ch] (fully_loaded): new member function, returning true
4 only when the file has been loaded fully.
5 Used to prevent the premature generation of previews and by the
6 citation inset to prevent computation of the natbib-style label.
8 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
9 templates are all set up.
11 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
13 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
15 * text.C: fixed an "oops" in the "is a bit silly"
18 2003-10-21 André Pönitz <poenitz@gmx.net>
20 * FuncStatus.[Ch]: small stuff, whitespace
22 * lyxfont.[Ch]: operator<<() for debug reasons
26 * lyxtext.h: whitespace, spelling
28 * paragraph.C: naming of variables
31 * text2.C: small stuff
34 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
36 * text.C: (1) finish off the inset display() work;
37 (2) fix the "is a bit silly" bug (accessing char
40 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
42 * text.C: re-introduce display() for insets, fixing the
43 various bugs (stretch of line above, math inset
46 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * text.C (rightMargin): remove spurious semicolon
50 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
53 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
55 * text3.C: fix one crash due to wrong cursor def
57 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
59 * vc-backend.C (scanMaster): make the regex static
61 * LaTeX.C (scanAuxFile): make the regexs static
63 * text3.C (doInsertInset, dispatch, dispatch):
64 * text2.C (cursorUp, cursorDown):
65 * text.C (selectNextWordToSpellcheck):
66 * BufferView_pimpl.C (dispatch):
67 * lyxfunc.C (dispatch): localDispatch -> dispatch
69 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * lyxsocket.C: include <cerrno>
73 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * lyxfunc.C (dispatch): remove textcache stuff
77 * bufferlist.C (release): remove textcache stuff
80 * TextCache.C: delete file
81 * TextCache.h: delete file
83 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
85 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
86 delete of the bv_->text.
87 (resizeCurrentBuffer): remove texcache stuff
88 (workAreaResize): ditto
90 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
95 2003-10-16 André Pönitz <poenitz@gmx.net>
102 * text3.C: speed up by storing y positions per paragraph plus per-row
103 offset instead of having a 'full' y position in the row.
105 2003-10-15 André Pönitz <poenitz@gmx.net>
109 * undo.[Ch]: make undo aware of inner insets
111 2003-10-14 Angus Leeming <leeming@lyx.org>
113 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
114 static member functions LyX::ref() and LyX::cref.
115 (lastfiles): new accessor functions for the new lastfiles_ member var.
116 (addLyXView, views_): add a new LyXView to the list of views_.
117 (updateInset): loop over all LyXViews to call their own updateInset
118 member function, returning a pointer to the Buffer owning the inset.
120 * BufferView_pimpl.C (loadLyXFile):
121 * MenuBackend.C (expandLastfiles):
122 * bufferlist.C (MenuWrite, QuitLyX):
123 lastfiles is no longer a global variable.
124 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
126 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
127 static function. Access through LyX::cref().emergencyCleanup().
129 2003-10-14 André Pönitz <poenitz@gmx.net>
131 * iterators.[Ch]: new direct access to innermost LyXText and Inset
133 * undo.[Ch]: restoring part of 'undo in insets'
136 * undo_funcs.[Ch]: merge with undo.[Ch]
138 * tabular.C: small cleansing stuff
140 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
142 * paragraph_funcs.C (readParToken): report unknown insets as error
143 boxes. Use the outer paragraph as location (also for unknown
146 * factory.C (readInset): do not abort on reading an unknown inset.
149 2003-10-13 Angus Leeming <leeming@lyx.org>
151 * lyx_main.C (LyX): remove call to setDisplayTranslator().
153 * lyxrc.C: displayTranslator is now a function,
154 declared in GraphicsTypes.h.
156 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
158 * format.C: new placeholder $$a to pass the socket address.
160 * bufferlist.[Ch]: new function getBufferFromTmp.
162 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
163 files in the temporary dir.
165 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
167 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
169 * Makefile.am: add lyxsocket.[Ch].
171 * lyx_main.C (error_handler): handle SIGPIPE.
173 2003-10-13 André Pönitz <poenitz@gmx.net>
175 * BufferView_pimpl.C:
180 * undo_funcs.[Ch]: use paroffset_type instead of
181 ParagraphList::iterators to prevent multiple conversion
182 (and get a more robust interface)
184 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
186 * lyxfunc.C (dispatch): RESULT -> dispatch_result
188 * text3.C (dispatch): ditto
190 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * LaTeX.C (handleFoundFile): move the static to smaller scope,
193 move the onlyfile, use onlyfile instead of foundfile in a couple
196 * DepTable.C (update): flush the error stream a bit more
198 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
200 * lyxserver.C (callback): adjust
202 * lyxfunc.C (getStatus): add a missing brace in commented code
203 (ensureBufferClean): reindent
204 (dispatch): delete version taking a string
206 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
208 * LaTeX.C (deplog): move found file handlig from here...
209 (handleFoundFile): .. to new function here.
210 (deplog): make sure to discover several files mentioned on the
213 2003-10-10 André Pönitz <poenitz@gmx.net>
220 * text3.C: fix some of the tabular crashes
222 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
224 * MenuBackend.C (binding): put debug message into Debug::KBMAP
226 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
228 2003-10-09 André Pönitz <poenitz@gmx.net>
230 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
233 * BufferView_pimpl.C:
234 * bufferview_funcs.C:
245 * undo_funcs.C: adjust
247 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
249 * text2.C (incrementItemDepth): new function, use a backtracking
250 algorithm to discover the correct item depth.
251 (resetEnumCounterIfNeeded): new function, use a backtracking
252 algorithm to discover if counter reset is needed.
253 (setCounter): use them. Simplify a bit. Add different labels for
254 different item depths for itemize.
256 * paragraph.C (Paragraph): remove initialization of enumdepth
259 * paragraph.h: get rid of enumdepth, and use itemdepth both for
260 enumerate and itemize. Change the type of itemdepth to signed char.
262 2003-10-08 André Pönitz <poenitz@gmx.net>
264 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
269 * tabular.[Ch]: fix crash after 'row-insert'
271 2003-10-08 Angus Leeming <leeming@lyx.org>
273 Fix doxygen warnings.
275 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
276 Remove CutAndPaste:: prefix from header file declaration.
278 * LColor.h (fill): remove LColor:: prefix from declaration.
280 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
281 use lyx::depth_type rather than Paragraph::depth_type so that
282 header file and .C file match.
284 * converter.h (intToFormat): remove Converters:: prefix from declaration.
286 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
287 * aspell.C: \file aspell_local.C -> \file aspell.C
288 * gettext.C: \file gettext.C -> \file src/gettext.C
289 * gettext.h: \file gettext.h -> \file src/gettext.h
290 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
291 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
292 * text.C: \file text.C -> \file src/text.C
294 * toc.C: move comment so that doxygen is not confused.
296 2003-10-07 Angus Leeming <leeming@lyx.org>
298 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
300 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
303 * aspell_local.h: add forgotten std::string's.
305 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
312 * text3.C: The Box patch. Fancybox support, minipage, parbox
314 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
320 * ParagraphParameters.h:
330 * lyxtextclasslist.h:
334 * textcursor.h: add <string> and other small fixes to make Lars'
335 std::string patch compile with STLport.
337 2003-10-06 Angus Leeming <leeming@lyx.org>
339 * LColor.h: Add missing #include <string>.
341 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
343 * All most all file in all subdirs: Make <string> be the prefered
344 way of getting to std::string, add using declarations.
346 2003-10-06 André Pönitz <poenitz@gmx.net>
348 * metricsinfo.C: initialize LyXFont before changing attribute.
349 (fixes the 'math in \emph is upright' bug)
351 2003-10-06 André Pönitz <poenitz@gmx.net>
353 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
355 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
358 * paragraph_pimpl.C: Small fixes to build using STLport
360 2003-10-02 André Pönitz <poenitz@gmx.net>
363 * text3.C: move handling of LFUN_DEPTH *; fix #1360
365 2003-10-01 André Pönitz <poenitz@gmx.net>
367 * factory.C: assert early
369 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
371 * lyx_main.C: remove the global debug object
373 * debug.h: adjust for new debugstream
375 * debug.C: adjust for new debugstream and keep the global debug
378 2003-09-22 Angus Leeming <leeming@lyx.org>
380 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
381 of g++ which otherwise complain that the scoped_ptr destructor can't delete
382 an incomplete class LyXFont.
384 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
386 * factory.C: bug fix in branches
388 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
390 * lyxfunc.C (processKeySym): adjust
392 (dispatch): change arg name from ev to func, adjust
393 (sendDispatchMessage): ditto
395 * lyx_main.C (defaultKeyBindings): adjust keybindings
396 (deadKeyBindings): ditto
398 * kbsequence.C (addkey): return a FuncRequest
400 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
402 * kbmap.C (bind): take a FuncRequest as arg, adjust
405 (defkey): change to take a FuncRequest as arg, adjust
406 (findbinding): take a FuncRequest as arg, adjust.
408 * funcrequest.h (operator=): added
410 * funcrequest.C (FuncRequest): default kb_action changed from
411 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
413 * buffer.C (dispatch): simplify
414 (dispatch): adjust to take a FuncRequest as arg, adjust
416 * boost.C (assertion_failed): change assertion message slightly
418 * ToolbarBackend.C (read): simplify
420 * MenuBackend.C (binding): adjust call to findbinding, add a
421 message if no binding is found.
423 (expandToc): correct by adding a empty FuncRequest
425 * LyXAction.C: include <boost/assert.hpp>
426 (isPseudoAction): delete function
427 (LookupFunc): change name to...
428 (lookupFunc): this. change return type to FuncRequest.
429 (getActionName): take kb_action as arg, simplify
430 (funcHasFlag): add an assert, simplify.
432 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
434 * toc.C (action): return a FuncRequest, simplify
436 * lyxfunc.C (processKeySym): adjust
437 (getStatus): delete version that takes an int.
439 (dispatch): delete version that takes action as int
441 (sendDispatchMessage): simplify and adjust
443 * funcrequest.C (getArg): take unsigned int as arg
445 * ToolbarBackend.C (read): adjust
446 (add): delete version that takes func as a string.
447 (getIton): take a FuncRequest as arg
449 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
452 * MenuBackend.C (MenuItem): add a new construct that only takes a
453 Kind, simplify the constructor use for submenus.
455 (expandLastfiles): adjust
456 (expandDocuments): adjust
457 (expandFormats): adjust
458 (expandFloatListInsert): adjust
459 (expandFloatInsert): adjust
460 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
462 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
463 Remove class variables lyx_pseudo_map and lyx_arg_map
465 * LyXAction.C (searchActionArg): delete function
466 (getPseudoAction): delete function
467 (retrieveActionArg): delete function
468 (LookupFunc): make it return kb_action, simplify.
469 (getActionName): simplify
471 * factory.C (createInset): fix new bug
473 2003-09-19 Angus Leeming <leeming@lyx.org>
475 * CutAndPaste.C (pasteSelection): remove fudge used to set the
476 masterFilename_ parameter in the include inset.
478 * factory.C (createInset): changes due to the changes to InsetInclude.
480 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
482 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
484 2003-09-18 Angus Leeming <leeming@lyx.org>
487 * BufferView.C: pass the buffer when calling Inset::getLabelList,
488 Inset::fillWithBibKeys.
489 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
491 2003-09-18 Angus Leeming <leeming@lyx.org>
493 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
495 (ctor): pass and store a 'Buffer const &'
496 (buffer): new member function.
498 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
499 '*this' to the LaTeXFeatures ctor.
501 2003-09-18 Angus Leeming <leeming@lyx.org>
507 * text.C: rename EnumLColor as LColor_color.
509 2003-09-18 Angus Leeming <leeming@lyx.org>
511 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
512 remove #include "insets/insetbase.h" from cursor.h.
514 2003-09-18 Angus Leeming <leeming@lyx.org>
516 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
517 InsetOld_code to remove #include "inset.h".
519 * iterators.C: add #include "insets/inset.h"
521 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
523 * BufferView.C: remove more locking stuff that apparently doesn't
524 do anything sensible.
526 2003-09-16 André Pönitz <poenitz@gmx.net>
529 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
532 2003-09-16 Angus Leeming <leeming@lyx.org>
534 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
536 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
539 * paragraph.h: remove #include "lyxfont.h". Forward declare
542 2003-09-16 Angus Leeming <leeming@lyx.org>
544 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
545 of support/textutils.h.
546 (isWord): move the contents of support/textutils.h's IsWordChar here.
552 * text2.C: add #include "paragraph.h".
555 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
557 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
563 * LaTeX.C: use namespace alias for lyx::support::os
565 2003-09-16 Angus Leeming <leeming@lyx.org>
568 * bufferview_funcs.C:
573 * text.C: add #include "LColor.h".
575 2003-09-16 Angus Leeming <leeming@lyx.org>
577 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
578 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
580 Store the FontBits::color variable as an int rather than as an
581 LColor::colorso that we can move LColor.h out of the lyxfont.h header
584 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
585 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
586 string calls together.
588 * lyxrc.C: add #include "LColor.h".
590 2003-09-15 Angus Leeming <leeming@lyx.org>
592 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
595 2003-09-15 Angus Leeming <leeming@lyx.org>
597 * LColor.h: add an EnumLColor wrapper for LColor::color.
599 * lyxfont.[Ch] (color, setColor, realColor):
600 * lyxtext.h, text.C (backgroundColor):
601 pass EnumLColor args to/from the functions, rather than LColor::color
605 * lyxtext.h: forward declare EnumLColor.
607 * lyx_main.C: add #include "LColor.h".
609 2003-09-15 Angus Leeming <leeming@lyx.org>
611 * .cvsignore: add lyx-gtk.
613 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * ParagraphParameters.C
632 * vc-backend.C: remove usage of STRCONV
634 2003-09-15 Angus Leeming <leeming@lyx.org>
636 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
637 explicitly define the color passed to the painter.
639 2003-09-15 Angus Leeming <leeming@lyx.org>
641 * bufferparams.C (BufferParams): reorder member initializers to avoid
644 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
646 * CutAndPaste.C (pasteSelection): remove an outdated #warning
647 * text.C (updateRowPositions): remove an unusual nop
649 2003-09-12 André Pönitz <poenitz@gmx.net>
651 * BufferView_pimpl.C:
660 * Counters.[Ch]: finish the 'automatic counters' job
662 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
664 * aspell.C: include <boost/assert.cpp> (compile fix)
666 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
668 * boost.C (assertion_failed): use lyx::support::abort instead of
671 2003-09-10 Angus Leeming <leeming@lyx.org>
673 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
674 with their _fwd progeny.
676 2003-09-09 Angus Leeming <leeming@lyx.org>
678 134 files throughtout the source tree: replace 'using namespace abc;'
679 directives with the appropriate 'using abc::xyz;' declarations.
681 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
683 * boost.C (emergencyCleanup): moved here from LAssert.c
684 (assertion_failed): new function, called by BOOST_ASSERT
686 * several files: change Assert to BOOST_ASSERT
688 2003-09-09 Angus Leeming <leeming@lyx.org>
690 * buffer.[Ch]: Add an Impl class and move Buffer's member
691 variables into it. As a result move several header files out of
694 Add header files to lots of .C files all over the tree as a result.
696 2003-09-09 Angus Leeming <leeming@lyx.org>
698 * buffer.[Ch]: make Buffer's member variables private. Add
701 Lots of changes all over the tree as a result.
703 2003-09-08 Angus Leeming <leeming@lyx.org>
705 * graph.C: #include <config.h>.
707 2003-09-08 Angus Leeming <leeming@lyx.org>
711 * BufferView_pimpl.C:
740 * toc.C: remove redundant using directives.
742 2003-09-07 Angus Leeming <leeming@lyx.org>
744 * LaTeXFeatures.h: remove #include "support/types.h".
745 * ToolbarBackend.h: remove #include <algorithm>.
746 * changes.h: remove #include <ctime>.
747 * debug.h: remove #include <iosfwd>.
748 * graph.h: remove #include "support/std_string.h".
749 * lyx_main.h: remove #include <csignal>.
750 * lyxlex_pimpl.h: remove #include <fstream>.
751 * sgml.h: remove #include <algorithm>, <utility>.
752 * toc.h: remove #include "support/std_ostream.h".
753 Add #include <iosfwd>.
755 2003-09-07 Angus Leeming <leeming@lyx.org>
757 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
759 * converter.h: forward declare LatexRunParams.
760 * encoding.h: remove #include "lyxrc.h".
761 * lyxtext.h: remove #include "LColor.h".
762 * lyxtextclass.h: remove #include "support/types.h".
763 * trans.h: remove #include "tex-accent.h".
764 * trans_mgr.h: remove #include "tex-accent.h".
765 * insets/inset.h: remove #include "support/types.h", <vector>.
766 * insets/insetcollapsable.h: remove #include "LColor.h".
767 * insets/insetinclude.h: remove #include "dimension.h".
768 * insets/insetlatexaccent.h: remove #include "dimension.h".
769 * insets/insetoptarg.h:: remove #include "insettext.h".
770 * insets/insettext.h: remove #include "dimension.h",
771 <boost/shared_ptr.hpp>
773 * insets/renderers.h: add #include "dimension.h".
774 * insets/updatableinset.h: add #include "support/types.h".
776 * many .C files: Associated changes.
778 2003-09-06 Angus Leeming <leeming@lyx.org>
780 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
781 one, inside testInvariant.
783 * PrinterParams.C: new file.
784 * PrinterParams.[Ch]: move the function bodies out of line.
786 2003-09-06 Angus Leeming <leeming@lyx.org>
788 * ParagraphParameters.h: forward declare ParameterStruct rather than
789 including its header file.
790 (depth): moved out-of-line.
792 2003-09-06 Angus Leeming <leeming@lyx.org>
794 * BufferView_pimpl.h:
797 * lyxfunc.h: forward declare LyXKeySym rather than
798 #include "frontends/LyXKeySym.h".
800 * BufferView_pimpl.C:
803 * lyxfunc.C: associated changes.
805 2003-09-06 Angus Leeming <leeming@lyx.org>
807 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
808 As a result, can remove the #include "insets/inset.h" from BufferView.h
810 2003-09-06 Angus Leeming <leeming@lyx.org>
812 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
813 As a result, can remove the #include "insets/inset.h" from BufferView.h
815 2003-09-06 Angus Leeming <leeming@lyx.org>
821 * bufferview_funcs.C:
822 * BufferView_pimpl.C:
827 * ParagraphParameters.C:
832 * frontends/controllers/ControlDocument.C:
833 * insets/insetcaption.C: rearrange the #includes into some sort of
836 * buffer.h: remove #includes ErrorList.h, undo.h
838 2003-09-06 Angus Leeming <leeming@lyx.org>
840 * support/types.h: add a 'depth_type' typedef, used to store the
841 nesting depth of a paragraph.
844 * ParameterStruct.h: use this lyx::depth_type typedef rather than
849 * ParagraphParameters.h:
850 * sgml.h: use lyx::depth_type rather than Paragraph or
851 ParameterStruct's depth_type.
854 * paragraph_funcs.h: no need to #include paragraph.h anymore.
857 * BufferView_pimpl.C:
859 * ParagraphParameters.C:
862 * bufferview_funcs.C:
869 * frontends/LyXView.C:
870 * frontends/controllers/ControlDocument.C:
871 * frontends/controllers/ControlErrorList.C:
872 * insets/insetbibitem.C:
873 * insets/insetbranch.C:
874 * insets/insetcaption.C:
875 * insets/insetcollapsable.C:
878 * insets/insetfloat.C:
879 * insets/insetfoot.C:
880 * insets/insetfootlike.C:
881 * insets/insetnewline.C:
882 * insets/insetquotes.C:
883 * insets/insettabular.C:
884 * insets/insettext.C:
885 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
887 * frontends/controllers/ControlChanges.C: #include "changes.h".
889 2003-09-06 Angus Leeming <leeming@lyx.org>
891 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
892 than #including paragraph.h.
895 * RowList.h: deleted. Superfluous.
905 * insets/insettext.h: use ParagraphList_fwd.h rather than
908 * paragraph.h: don't forward declare ParagraphList.
911 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
912 rather than ParagraphList.h. paragraph.h is still needed for the
913 Paragraph::depth_type parameters.
915 * textcursor.h: enable it to compile stand-alone in light of the
918 * bufferview_funcs.C:
930 * frontends/controllers/ControlParagraph.C:
931 * frontends/controllers/ControlTabular.C:
932 * insets/insetmarginal.C:
933 * insets/insetminipage.C:
934 * insets/insetnote.C:
935 * insets/insetoptarg.C: add header files needed to compile again.
937 2003-09-06 Angus Leeming <leeming@lyx.org>
939 * RowList_fwd.h: new file, forward-declaring Row rather than
945 * insets/insettext.h: use it instead of RowList.h
947 * bufferview_funcs.C:
954 * text3.C: #include "RowList.h".
956 2003-09-05 Angus Leeming <leeming@lyx.org>
958 * factory.C (createInset):
959 * vspace.C (c-tor): replace sscanf call with an istringstream.
960 * ispell.C: re-add missing HP/UX headers.
961 * lyxserver.C: re-add missing os2 headers.
963 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
972 * text3.C: re-add missing system headers, needed for 2.95.2.
974 2003-09-05 Angus Leeming <leeming@lyx.org>
976 Changes most place everywhere due to the removal of using directives
977 from support/std_sstream.h.
979 2003-09-05 Angus Leeming <leeming@lyx.org>
981 Replace LString.h with support/std_string.h,
982 Lsstream.h with support/std_sstream.h,
983 support/LIstream.h with support/std_istream.h,
984 support/LOstream.h with support/std_ostream.h.
986 Changes resulting throughout the tree.
988 2003-09-05 Angus Leeming <leeming@lyx.org>
990 * sgml.h: ensure that the header file can be compiled stand-alone.
991 * *.C: strip out redundant #includes. (320 in total.)
993 2003-09-04 Angus Leeming <leeming@lyx.org>
995 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
996 here (from getPackages).
998 * debug.[Ch]: add a new EXTERNAL tag.
1000 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1002 * text2.C (cursorEnd): simplify
1004 (getColumnNearX): adjust
1006 * text.C (computeBidiTables): adjust
1009 * rowpainter.C (paintChars): adjust
1010 (paintSelection): adjust
1011 (paintChangeBar): adjust
1014 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1016 (numberOfSeparators): adjust
1018 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1024 * text3.C: Restricts the mouse click functionality
1025 of insets like bibtex, include, toc and floatlist to the visible
1026 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1027 up the dialogs. Cursor has to be in front of the inset (i.e.
1028 start of row) for this to function.
1030 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1032 * bufferview_funcs.C (currentState): output row information
1034 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1036 * bufferview_funcs.C (currentState): output paragraph position
1038 2003-09-04 Angus Leeming <leeming@lyx.org>
1040 * FloatList.h: move out #include "Floating.h".
1041 * LaTeX.h: move out #include "DepTable.h".
1042 * LyXAction.h: move out #include "funcrequest.h".
1043 * buffer.h: move out #include "author.h", "iterators.h".
1044 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1045 * lyx_main.h: move out #include "errorlist.h".
1046 * lyxfunc.h: move out #include "FuncStatus.h".
1047 * lyxtext: move out #include "lyxcursor.h".
1048 * paragraph_pimpl.h: move out #include "counters.h".
1050 2003-09-03 Angus Leeming <leeming@lyx.org>
1052 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1053 preamble_snippets list, enabling us to add snippets to the preamble
1054 only if the snippet was not there already.
1056 2003-09-04 Angus Leeming <leeming@lyx.org>
1058 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1060 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1062 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1065 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1067 * BranchList.C: point fix, earlier forgotten
1069 2003-09-02 Angus Leeming <leeming@lyx.org>
1071 * box.C (contains): renamed from 'contained' after a fantastic
1074 2003-09-02 John Levon <levon@movementarian.org>
1080 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1082 2003-09-02 John Levon <levon@movementarian.org>
1084 * text2.C: simplification of cursorEnd(), including partial
1087 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * buffer.C (readFile): add a space
1091 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1093 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1095 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1097 * buffer.C (readFile): new function, take a filename and a
1098 ParagraphList::iterator
1100 (readFile): adjust, make it private. don't use setStream, make
1101 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1102 always contain the filename.
1104 * BufferView.C (insertLyXFile): simplify and make it work for
1107 2003-08-30 John Levon <levon@movementarian.org>
1109 * Makefile.am: fix dist (from Kayvan)
1111 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * most files: change to use const Buffer refs
1115 2003-08-27 André Pönitz <poenitz@gmx.net>
1117 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1118 on top of ownerPar().
1120 2003-08-27 John Levon <levon@movementarian.org>
1122 * funcrequest.C: properly initialise POD members
1124 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1126 * lyxtext.h (top_y): move top_y from here
1131 * BufferView_pimpl.[Ch]: to here
1132 * frontends/screen.C:
1133 * insets/insettabular.C:
1134 * insets/insettext.C: adjust
1135 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1137 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1140 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1142 2003-08-26 André Pönitz <poenitz@gmx.net>
1144 * paragraph_func.[Ch] (outerPar): new function
1147 * paragraph_funcs.C:
1148 * paragraph_funcs.h:
1149 * paragraph_pimpl.C:
1150 * text2.C: remove Inset::par_owner
1152 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1157 * text2.C: eliminates the needFullRow/display() stuff
1158 altogether, putting the logic in metrics/draw in the insets.
1160 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1162 * text2.C (redoParagraphInternal, redoParagraphs):
1163 * text.C (redoParagraph): add a call to updateRowPositions at the
1164 end of each 'metrics-like' call. Remove all others.
1165 (getRow): remove the 'y-computing' version.
1166 (getRowNearY): do not compute nor return the real y. Solve the
1167 'y < 0' problem and simplify.
1169 2003-08-22 Angus Leeming <leeming@lyx.org>
1171 * *.[Ch]: clean-up of licence and author blurbs.
1172 Also move config.h out of a few .h files and into a few .C files.
1174 2003-08-22 André Pönitz <poenitz@gmx.net>
1176 * lyxrow.[Ch]: add x_ and *fill_ members
1181 * text2.C: adjust/remove prepareToPrint() calls
1183 2003-08-22 André Pönitz <poenitz@gmx.net>
1185 * lyxrow.[Ch]: add end_ member
1187 * lyxrow_funcs.C: use LyXRow::end_
1189 * lyxtext.h (singleWidth): add LyXFont parameter
1192 * text2.C: adjust LyXText::singleWidth() calls
1194 * text.C (redoParagraph): simplify row breaking logic
1197 2003-08-19 André Pönitz <poenitz@gmx.net>
1199 * funcrequest.C: initialize button_ member
1202 * rowpainter.[Ch]: interface consolidation
1204 2003-08-18 André Pönitz <poenitz@gmx.net>
1207 * BufferView_pimpl.C:
1209 * paragraph_funcs.C:
1211 * text3.C: remove LyXScreen::draw() and fitCursor calls
1213 * BranchList.h: remove spurious semicolons
1215 * MenuBackend.C: fix branchlist related crash
1217 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1225 * bufferparams.[Ch]:
1229 * text3.C: implements the 'branch inset'
1230 idea. This allows the output of various versions of a document
1231 from a single source version, selectively outputing or suppressing
1232 output of parts of the text.
1233 This implementation contains a 'branch list editor' in a separate
1234 tab of the document settings dialog. Branches are user definable
1235 and have a "display colour" to distinguish them on-screen.
1237 ColorHandler was somewhat cleaned up.
1238 (1) make possible a dynamically growing LColor list by allowing
1239 the graphic context cache to grow along (vector);
1240 (2) eliminate an IMHO unnecessary step in colour allocation.
1242 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1244 * BufferView_pimpl.C: compile fix
1246 2003-08-15 André Pönitz <poenitz@gmx.net>
1248 * rowpainter.C: remove extra metrics calls
1250 * lyxtext.h: merge the two constructors into a single one,
1251 pass reference to owner's par list
1253 * BufferView_pimpl.C:
1257 2003-08-15 André Pönitz <poenitz@gmx.net>
1259 * lyxrow_funcs.[Ch]:
1262 * paragraph_funcs.C:
1267 * text_funcs.C: split LyXText::rowlist_ into individual
1268 Paragraph::rows_ chunks
1271 * BufferView_pimpl.[Ch]:
1274 * text3.C: remove toggleSelection()
1276 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1278 * bufferlist.C: beautify two alerts (shorter text of buttons)
1279 * buffer.C: Remove redundant ' ' from message
1281 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1282 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1283 rename VALIGN_CENTER to VALIGN_MIDDLE
1285 2003-08-11 André Pönitz <poenitz@gmx.net>
1287 * lyxtext.h (getPar):
1288 * text.C: new function
1290 2003-08-11 André Pönitz <poenitz@gmx.net>
1293 * tracer.[Ch]: remove unneeded files
1295 * InsetList.[Ch]: remove resizeInsetsLyXText()
1300 * text3.C: merge insertParagraphs() and appendParagraph()
1301 remove breakAgain(), update()
1303 * BufferView_pimpl.[Ch]:
1304 * bufferview_funcs.[Ch]:
1308 * tabular.C: adjust after text & InsetList changes.
1310 2003-08-08 André Pönitz <poenitz@gmx.net>
1312 * text.C (insertChar, backspace): replace rowlist fiddling
1313 with rebreak of full par
1316 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1317 checkParagraph, updateInset): removed
1319 2003-08-07 André Pönitz <poenitz@gmx.net>
1322 * text3.C: merge some LFUN handlers, remove dead code
1324 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1326 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1328 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1330 * text2.C (DEPM): fix part of bug 1255 and 1256
1332 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1334 * BufferView_pimpl.C (workAreaDispatch): change to use
1335 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1336 that are no mouse related.
1338 2003-08-05 André Pönitz <poenitz@gmx.net>
1341 * BufferView_pimpl.[Ch]:
1342 * bufferview_funcs.C:
1344 * text3.C: rip out "deep update"
1346 * textcursor.[Ch] (last_sel_cursor): remove unused member
1348 2003-08-04 André Pönitz <poenitz@gmx.net>
1351 * BufferView_pimpl.[Ch]:
1352 * ParagraphParameters.C:
1353 * bufferview_funcs.C:
1359 * text3.C: replace "complicated" BufferView::update(...) calls with
1362 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1364 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1366 * Makefile.am (lyx_SOURCES): add paper.h
1368 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1370 * Makefile.am: move things around so that both lyx-qt and
1371 lyx-xforms can be built (according to --with-frontend). Then lyx
1372 is a symbolic link to lyx-[firstfrontend]
1374 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1376 * Always use std::endl with lyxerr
1378 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1380 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1382 2003-08-01 André Pönitz <poenitz@gmx.net>
1385 * BufferView_pimpl.[Ch]:
1387 * text3.C: merge BufferView::repaint() and BufferView::update()
1389 2003-08-01 José Matos <jamatos@lyx.org>
1391 * buffer.[Ch]: file_format is no longer a buffer data element.
1393 2003-08-01 André Pönitz <poenitz@gmx.net>
1398 * text2.C: make redoParagraph more independent of current cursor
1400 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1402 * text2.C: remove unneeded members
1404 2003-07-30 André Pönitz <poenitz@gmx.net>
1406 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1408 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1409 create a single function...
1411 * paragraph_funcs.C (moveItem): ... here.
1414 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1416 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1418 * LColor.[Ch]: Add comment and greyedout logical colors.
1420 2003-07-30 André Pönitz <poenitz@gmx.net>
1422 * tabular.C: don't use Assert too heavily. This crashes where it
1425 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1427 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1428 is disabled (bug 1232)
1430 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1432 * factory.C: limited 'arg' scope
1434 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1436 * factory.C: fixed Note submenu issues
1438 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1440 * factory.C: submenu for Note/Comment/Greyedout
1442 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1445 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1447 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1450 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1451 greyedout. Patch provided by Jürgen Spitzmüller.
1453 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1455 * kbmap.C (read): fix error message when reading bind files
1457 2003-07-29 Angus Leeming <leeming@lyx.org>
1459 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1460 certainly does not do what it purports to do. I am doing it, and
1461 us, a favour by killing it.
1463 2003-07-28 José Matos <jamatos@lyx.org>
1465 * buffer.C (readBody, do_writeFile):
1466 * paragraph.C(readParagraph): \end_document replaces \the_end.
1468 2003-07-29 André Pönitz <poenitz@gmx.net>
1471 * BufferView_pimpl.[Ch]:
1475 * textcursor.[Ch]: remove toggleToggle & Co
1477 2003-07-28 José Matos <jamatos@fep.up.pt>
1479 * buffer.C (readParagraph):
1480 * params_func (readParToken, readParagraph):
1481 * paragraph.C (write): \layout -> \begin_layout.
1483 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1485 * lyxlex_pimpl.C (setFile): clean up slightly.
1487 * bufferparams.h: add compressed var
1489 * buffer_funcs.C (readFile): adjust for LyXLex change
1490 (newFile): ditto + simplify
1492 * buffer.C (writeFile): handle writing of compressed files
1494 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1495 Check if the file is compressed and set a bufferparm if so.
1497 * Makefile.am (lyx_LDADD): remove explicit -lz
1499 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1502 makeDocBookFile): put the real LyX version in the first line of
1506 * version.C.in: remove lyx_docversion
1508 * tabular.C (write_attribute): add a template-based version to
1509 write enums properly
1511 2003-07-28 André Pönitz <poenitz@gmx.net>
1516 * text3.C: use doubles again for x-coordinates. They are needed.
1518 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * messages.C (getLocaleDir): use lyx_localedir()
1522 * lyxlex_pimpl.C (setFile): compress stuff
1524 * buffer.C (writeFile): add some compression stuff
1525 (do_writeFile): new func, dont call expliti close... will this
1528 * Makefile.am (lyx_LDADD): add -lz
1530 2003-07-28 José Matos <jamatos@fep.up.pt>
1532 * buffer.C: increment file format.
1533 * paragraph_funcs (readParagraph, readParToken):
1534 * paragraph.C (readParagraph): add \end_layout.
1536 2003-07-27 Angus Leeming <leeming@lyx.org>
1538 * Makefile.am: remove special casing for configure-time setting of
1539 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1541 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1542 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1544 2003-07-26 André Pönitz <poenitz@gmx.net>
1546 * paragraph_func.[Ch]:
1547 * paragraph.C (realizeFont): inline it whereever it is used
1552 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1555 2003-07-26 André Pönitz <poenitz@gmx.net>
1559 * text2.C: get rid of LyXText::need_break_row
1561 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * toc.[Ch]: put namespace toc inside namespace lyx
1565 * MenuBackend.C (expandToc2): adjust for lyx::toc
1568 * lyxfunc.C (dispatch): adjust for lyx::find
1570 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1571 lyx::find instead. Reorganize a bit.
1572 (LyXReplace): rename to replace
1573 (LyXFind): rename to find
1575 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1578 2003-07-26 André Pönitz <poenitz@gmx.net>
1580 * text.C (setHeightOfRow): restrict scope of temporary variable
1582 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1583 code (never has been used?)
1585 2003-07-27 Asger Alstrup <alstrup@local>
1587 * text.C (fill): Optimise algorithm to exploit that we can reuse
1588 the LyXFont for many characters.
1589 (setHeightOfRow): Same thing.
1590 (rowBreakPoint): Same thing.
1592 2003-07-26 Asger Alstrup <alstrup@local>
1594 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1596 * text.C (singleWidth): Spurious font copying in hot-spot
1597 singleWidth avoided. Reorder tests for arabic for efficiency.
1599 * text.C (fill): handle empty paragraphs better.
1601 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1604 * encoding.h: add includes
1606 * lyxrc.C: remove reading of bind files
1608 * lyx_main.C (init): setup bindings and menus only if we have a
1611 * kbmap.C (read): new method. Do the actual reading of bind
1614 * converter.C (dvipdfm_options):
1617 (output): adapt PAPER_* enums.
1619 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1621 * bufferparams.h: remove paper-related enums from there
1623 * paper.h: New file. A trivial header file to hold paper-related
1624 enums. It should later expand to contain many paper-related
1627 * lyxrc.C: declare extern displayTranslator
1629 2003-07-27 José Matos <jamatos@fep.up.pt>
1631 * tabular.[Ch] (linuxdoc): add support for tables and figures
1634 2003-07-27 José Matos <jamatos@fep.up.pt>
1636 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1637 consistency in both functions.
1638 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1640 2003-07-26 Asger Alstrup <alstrup@local>
1642 * rowpainter.C (paintRows): Change algorithm to work directly on
1643 the insets rather than asking every character in the document
1644 whether its an inset.
1646 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1648 * buffer.C (openFileWrite): factorize some code
1650 2003-07-26 Angus Leeming <leeming@lyx.org>
1653 * lyx_main.[Ch]: replace occurances of system_tempdir with
1656 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * rename Inset to InsetOld
1660 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1662 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1663 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1664 which I think is a bit clearer. EDIT is gone, since it was
1665 premature optimisation, and broken for mathed anyway.
1666 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1667 with cursor positioning in insets as well (math insets still do not
1668 work, but that's a different story anyway.) It mysteriously
1669 crashes sometimes with undo in the first paragraph, but I'm fairly
1670 confident that this is a compiler bug.
1672 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * paragraph.C (Paragraph): adjust for new clone return type
1676 (copyIntoMinibuffer): ditto
1678 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1680 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1681 by not having a special case, and always doing a full rebreak of
1682 the document after undo.
1684 2003-07-23 Angus Leeming <leeming@lyx.org>
1686 * factory.C (createInset): InsetExternal::setParams now takes a
1689 2003-07-23 Angus Leeming <leeming@lyx.org>
1691 * factory.C (createInset): changed interface to the external and
1692 graphics mailers' string2params functions.
1694 2003-07-23 Angus Leeming <leeming@lyx.org>
1696 * factory.C (createInset): pass a
1697 Buffer const * parameter to InsetExternalMailer's string2params.
1699 2003-07-22 John Levon <levon@movementarian.org>
1701 * Thesaurus.h: include the right aiksaurus header
1703 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1705 * MenuBackend.C (expand): check menu shortcuts unconditionally
1707 2003-07-21 Angus Leeming <leeming@lyx.org>
1709 * factory.C (createInset): pass a
1710 buffer_path parameter to InsetGraphicsMailer's string2params.
1712 2003-07-21 Angus Leeming <leeming@lyx.org>
1714 * BufferView_pimpl.C (buffer):
1717 * lyxfunc.C (dispatch):
1718 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1719 rather than the grfx shortcut.
1721 2003-07-21 André Pönitz <poenitz@gmx.net>
1723 * rowpainter.C: remove unused variables
1726 * tabular_funcs.h: move to tabular.C
1727 * Makefile.am: adjust
1729 * tabular.[Ch]: basic optical cleaning
1731 * author.h: pass references, not values
1733 2003-07-18 André Pönitz <poenitz@gmx.net>
1741 * text3.C: two-phase drawing for InsetText and InsetTabular
1742 some float -> int changes.
1744 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1746 * lyx_main.C: fix the fix
1748 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1750 * lyx_main.C: fix a crash in batch mode if no files specified
1753 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1755 * format.[Ch] (papersize): moved to BufferParams
1756 * converter.[Ch] (dvips_options): moved to BufferParams
1757 (dvipdfm_options): moved to anon namespace
1758 * bufferparams.[Ch]: added above functions.
1760 2003-07-17 André Pönitz <poenitz@gmx.net>
1764 * text2.C: don't call inset->update() anymore
1766 * metricsinfo.[Ch]: add convenience constructor
1768 2003-07-16 André Pönitz <poenitz@gmx.net>
1773 * text2.C: replace the LyXCursor::irow_ member with
1774 on-demand computation of the value
1776 2003-07-16 John Levon <levon@movementarian.org>
1778 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1780 2003-07-15 André Pönitz <poenitz@gmx.net>
1783 * text2.C: remove no more needed refresh_row
1785 2003-07-15 André Pönitz <poenitz@gmx.net>
1790 * text3.C: refresh_status tristate -> need_update bool
1792 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1794 * lyxtext.h (init): remove reinit argument (act as if always true)
1795 * text2.C: adjust to that
1797 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1799 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1800 * text3.C: use it to delete selections in some cases
1801 (bugs 441, 673, 702, 954).
1803 2003-07-14 André Pönitz <poenitz@gmx.net>
1805 * rowpainter.[Ch]: reduce interface
1807 2003-07-14 André Pönitz <poenitz@gmx.net>
1809 * BufferView_pimpl.C:
1810 * text2.C: adjust after removing unused BufferView * argument
1812 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1814 * text2.C (init): fix a crash fired on resize
1816 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1818 * buffer.[Ch]: added new closing signal
1819 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1820 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1821 BufferView::Pimpl via the closing the signal
1823 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1825 * buffer.[Ch]: take out all bv-related from buffer
1827 * BufferView_pimpl.[Ch]: connect to new signals
1828 * CutAndPaste.C: removed useless asserts
1829 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1832 * lyxfunc.C: moved view-related funciontality from vc here
1833 * paragraph.C: removed outdated comments
1836 2003-07-10 André Pönitz <poenitz@gmx.net>
1838 * BufferView_pimpl.C:
1842 * text2.C: remove InsetText::InnerCache, clean up consequences
1844 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1846 * ispell.C: fix two typos in error messages
1848 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1850 * Extend Note inset to other forms of annotation like Comment
1851 and Greyedout. Right button click gives dialog.
1853 Files modified or added (+):
1857 * ControlNote.[Ch] +
1859 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1860 frontends/controllers
1864 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1866 * aspell.C: add missing namespace lyx::support
1868 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1870 * BufferView.[Ch] (newFile): Add
1871 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1872 * LaTeX.[Ch] (message): added this signal and use it
1873 * buffer.[Ch] (busy, message): added these signals and use them
1874 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1878 * importer.C: use buffer signals instead of direct bv calling
1879 * lyx_cb.[Ch] (ShowMessage): removed
1882 * paragraph_funcs.C:
1883 * text2.C: use buffer signals
1885 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1887 * introduce namespace lyx::graphics
1889 2003-07-02 André Pönitz <poenitz@gmx.net>
1891 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1893 2003-07-01 André Pönitz <poenitz@gmx.net>
1900 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1901 text*.C to text_func.C
1903 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * introduce namespace lyx::support
1907 2003-06-30 André Pönitz <poenitz@gmx.net>
1912 * text.C: re-enable --with-included-string
1914 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * textcursor.C: add <config.h>
1918 * text.C (getWord): remove const from word_location arg
1920 * lyxvc.C (getLogFile): fix const type order
1922 * lyxtext.h: remove const from word_location arg, add arg name
1924 * lyxlayout.h: currect type on labeltype.
1926 * importer.C: correct \file
1928 * converter.C (intToFormat): use std:: on ret val, ws changes
1930 * bufferlist.h: correct \file
1932 * buffer.C (makeLinuxDocFile): fix const type order
1933 (makeDocBookFile): ditto
1934 (fillWithBibKeys): use std:: on stdlib args.
1936 * CutAndPaste.C: fix authors.
1937 (availableSelections): use std:: on return vector
1939 2003-06-27 André Pönitz <poenitz@gmx.net>
1941 * BufferView_pimpl.C:
1942 * bufferview_funcs.C:
1950 * text3.C: remove LyXCursor::row_ member
1953 * text.C: rename fullRebreak() to partialRebreak() and implement
1954 a fullRebreak() that really bereks fully
1956 * textcursor.h: new struct for cursor-related data
1958 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1960 * lyx_main.C (LyX): get full path of document loaded on the
1963 2003-06-26 André Pönitz <poenitz@gmx.net>
1965 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1966 remove unused/broken operator>,<,>=.
1968 * text.C: remove only use of broken operator<= in an Assert().
1970 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1972 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1973 moved errorlist_.clear to showErrorList
1975 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1977 * converter.C (scanLog, runLaTeX):
1978 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1979 move the bv->showErrorList call to the callers
1980 * lyxfunc.C: i.e. here...
1982 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1983 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1984 namespace, the second to...
1985 * buffer_funcs (BufferFormat, parseErrors): added
1986 * errorlist.C (ErrorList(TeXErrors const &)): removed
1988 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1990 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1992 2003-06-24 "Garst R. Reese" <reese@isn.net>
1996 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1998 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2000 * version.C.in: change docversion to 1.4
2002 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2004 * buffer.C: fix a bug just introduced
2006 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2008 * buffer.[Ch]: added the parseError signal and use it, removed
2010 * BufferView.[Ch] (addError): moved to ...
2011 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2012 to the Buffer::parseError signal to catch (guess what) parse errors
2013 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2015 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2017 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2018 ability to create a buffer and to return an existing one from
2019 the list. Moved these functions to...
2020 * buffer_funcs.[Ch]: added
2021 * BufferView.[Ch] (loadLyXFile): added
2022 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2023 job removed from bufferlist::loadLyXFile.
2024 * buffer.C (setReadOnly): make it work without view
2025 (i.e added an if (users))
2027 2003-06-19 Angus Leeming <leeming@lyx.org>
2030 * LyXAction.C (init):
2031 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2032 with LFUN_DIALOG_SHOW <name> <data>.
2034 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2036 * CutAndPaste.C (availableSelections): small compilation fix for
2037 ancient (gcc 2.9x) compilers
2039 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * text3.C (cursorNext): add tmp var
2043 * text2.C (updateCounters): for function calling out of for clause
2044 (replaceSelectionWithString): ditto
2045 (insertStringAsParagraphs): ditto
2046 (getColumnNearX): add tmp var
2047 (setCursorFromCoordinates): add tmp var
2048 (cursorDownParagraph): add tmp var
2049 (deleteEmptyParagraphMechanism): add tmp var
2051 * text.C (insertChar): add tmp var
2053 * rowpainter.C (paintDepthBar): add tmp var
2055 * CutAndPaste.C (availableSelections): potentially check all
2056 paragraphs in a cut to fill the shown strings.
2058 2003-06-18 André Pönitz <poenitz@gmx.net>
2060 * kbmap.[Ch]: use vector<> instead of list<>
2062 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2064 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2065 pasteSelection with index
2067 * text2.C (pasteSelection): modify, call pasteSelection with index
2069 * paragraph.C (asString): reimplement version with no interval to
2070 call the one with interval.
2072 * lyxtext.h: add index arg to pasteSelection
2074 * MenuBackend.C (MenuItem): handle PasteRecent
2075 (Menu::read::Menutags): add md_pasterecent
2077 (expandPasteRecent): new function
2080 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2082 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2084 (availableSelections): new function
2086 2003-06-17 Angus Leeming <leeming@lyx.org>
2088 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2090 2003-06-17 Angus Leeming <leeming@lyx.org>
2093 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2095 * lyxfunc.C (dispatch): invoke it.
2097 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2099 * iterators.C (operator++, ParPosition): reintroduce some
2100 const_cast for the benefit of older compilers.
2102 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2104 * text3.C (dispatch): do not modify clipboard when doing
2105 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2106 LFUN_DELETE_SKIP on a selection selection
2108 2003-06-16 André Pönitz <poenitz@gmx.net>
2114 * tabular.[Ch]: IU of clone() and getLabelList();
2116 2003-06-13 André Pönitz <poenitz@gmx.net>
2118 * tabular.h: compactification
2120 2003-06-12 André Pönitz <poenitz@gmx.net>
2124 * tabular_funcs.h: some renaming plus whitespace
2126 2003-06-12 André Pönitz <poenitz@gmx.net>
2129 * BufferView_pimpl.C:
2135 * toc.C: Return a Paragraph & for ParIterator::operator*()
2137 2003-06-11 John Levon <levon@movementarian.org>
2141 * ToolbarBackend.C: add "Toolbars" section and
2144 2003-06-10 Angus Leeming <leeming@lyx.org>
2147 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2149 * lyxfunc.C (dispatch): invoke it.
2151 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * main.C: protect <ios> with HAVE_IOS
2154 (main): protect sync_with_stdio with HAVE_IOS
2156 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2158 * text2.C (cutSelection): adjust
2159 (pasteSelection): adjust
2161 * messages.C: handle get of empty string
2163 * main.C (main): use sync_with_stdio(false)
2165 * lyxfunc.C (dispatch): adjust
2167 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2168 (WriteAs): remove unneeded BufferView arg.
2170 * bufferparams.h: use correct types on papersize, papersize2 and
2173 * bufferparams.C (readToken): adjust for type
2174 (writeLaTeX): add missing cases to switch.
2176 * bufferlist.C (quitWriteBuffer): adjust
2179 * buffer.C (asciiParagraph): remove some commented code.
2181 * CutAndPaste.C: remove current_view extern variable.
2182 (cutSelection): add BufferParams arg.
2183 (eraseSelection): add BufferParams arg.
2184 (pasteSelection): add Buffer const & arg
2186 2003-06-07 John Levon <levon@movementarian.org>
2189 * paragraph_funcs.C:
2190 * paragraph_pimpl.C:
2194 * paragraph.C: allow InsetERT to freely space lines,
2195 and some consolidation of code
2197 2003-06-06 José Matos <jamatos@fep.up.pt>
2199 * buffer.C (makeDocBookFile): fix bug #821
2201 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2203 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2205 2003-06-04 Angus Leeming <leeming@lyx.org>
2207 * buffer.C: bump format to 224.
2209 2003-06-05 André Pönitz <poenitz@gmx.net>
2211 * text2.C (redoParagraphs): remove two const_cast<>
2213 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2215 * ParagraphList.h: remove last remnants of NO_STD_LIST
2217 2003-06-03 Angus Leeming <leeming@lyx.org>
2219 * factory.C (createInset): small change to the way InsetExternal's params
2222 2003-06-04 André Pönitz <poenitz@gmx.net>
2224 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2226 * paragraph_pimpl.h:
2227 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2229 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2231 * undo_funcs.C: make some simple cases of undo work again
2233 2003-06-03 John Levon <levon@movementarian.org>
2235 * ispell.C: HPUX doesn't have sys/select.h
2238 2003-06-03 John Levon <levon@movementarian.org>
2240 * CutAndPaste.C: update tabular and include inset
2245 * paragraph.C: remove owningBuffer(), don't pass Buffer
2248 * factory.C: insetGraphicsParams changed
2250 2003-06-02 John Levon <levon@movementarian.org>
2256 * text3.C: remove insetparent
2258 2003-06-02 John Levon <levon@movementarian.org>
2261 * buffer.C: fix inset_iterator.end(), move out of line
2264 2003-06-01 John Levon <levon@movementarian.org>
2266 * text3.C: use a proper cut/paste when doing inset
2267 insert (from Jürgen Spitzmüller)
2269 2003-06-01 John Levon <levon@movementarian.org>
2271 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2273 2003-05-30 André Pönitz <poenitz@gmx.net>
2275 * rowpainter.C: unify second drawing phase
2277 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * trans_mgr.C: remove one case of current_view
2281 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2283 * paragraph_funcs.h: remove paragraph.h include
2285 * paragraph.h: delete NO_STD_LIST stuff
2287 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2289 * buffer.h: remove paragraph.h include
2291 * ParagraphList.C: delete file
2293 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2295 * toc.C (getTocList): adjust
2297 * paragraph_pimpl.C (validate): adjust
2299 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2301 * paragraph.C (Paragraph): adjust
2302 (getPositionOfInset): use const_iterator, adjust
2303 (bibitem): use const_iterator, adjust
2304 (setInsetOwner): adjust
2306 * iterators.C (operator++): adjust
2308 * InsetList.[Ch]: Replace selfmade iterator with standard
2309 vector::iterator also introduce const_iterator. Remove getPos,
2310 getInset and setInset from InsetTable. Adjust accordingly.
2312 * BufferView.C (lockInset): adjust
2313 (ChangeInsets): adjust
2315 * tabular.[Ch]: delete commented same_id functions
2317 2003-05-28 John Levon <levon@movementarian.org>
2319 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2321 2003-05-28 André Pönitz <poenitz@gmx.net>
2323 * metricsinfo.[Ch]: remove 'fullredraw' member
2325 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2327 * lyxtextclass.C (operator): remove caching.
2329 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2333 * text2.C (cursorBottom): adjust
2334 (setCounter): use ParagraphList::find, adjust
2336 * text.C (workWidth): use ParagraphList::find, adjust
2338 * lyxcursor.C (LyXCursor): adjust
2340 * buffer.C (inset_iterator): adjust
2342 * ParagraphList.h: make iterator(value_type) private, make
2343 ParagraphList a friend of iterator.
2345 * ParagraphList.C (find): new function
2347 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2349 2003-05-27 André Pönitz <poenitz@gmx.net>
2351 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2353 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2355 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2357 2003-05-26 John Levon <levon@movementarian.org>
2359 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2361 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2363 * remove same_id from function signatures, adjust.
2365 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2367 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2369 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2371 * paragraph.C (Paragraph): get rid of same_ids parameter
2373 * ParagraphList.C (insert): adjust
2376 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * paragraph_funcs.C (breakParagraph): adjust
2379 (breakParagraphConservative): adjust
2381 * buffer.C (readParagraph): adjust
2383 * ParagraphList.C (insert): take a reference instead of a pointer
2386 * paragraph.[Ch] (id): new function
2388 * bufferlist.C (newFile): adjust
2390 * ParagraphList.C (ParagraphList): adjust
2392 (push_back): take a reference instead of a pointer.
2394 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2396 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2399 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2400 set else use old code.
2402 * ParagraphList.C: remove all NO_NEXT code and only compile this
2403 code of NO_STD_LIST is set.
2405 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2407 * BufferView_pimpl.C:
2417 * graphics/GraphicsConverter.C:
2418 * graphics/PreviewLoader.C: header adjustment
2420 2003-05-23 Angus Leeming <leeming@lyx.org>
2422 * LaTeXFeatures.[Ch] (useBabel): new method.
2423 * bufferparams.C (writeLaTeX): use it.
2425 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2427 * ParagraphList.h (set): remove unused function.
2429 2003-05-23 André Pönitz <poenitz@gmx.net>
2432 * BufferView_pimpl.C:
2436 * undo_funcs.C: setUndo reworked
2438 * iterators.[Ch]: add access to topmost ParagraphList
2440 * lyxtext.[Ch] (workWidth): add a const
2442 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2444 * texrow.[Ch] (increasePos): remove function
2445 * exporter.C (export): removed unused var and outdated comment
2447 2003-05-23 Angus Leeming <leeming@lyx.org>
2449 * latexrunparams.h: rename fragile as moving_arg.
2450 * paragraph.C (simpleTeXOnePar): ditto.
2451 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2453 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2457 (textUndoOrRedo): comment out a currently unused var.
2459 * paragraph.h (NO_NEXT): enable NO_NEXT
2461 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2463 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2465 * exporter.C (Export): adjust for removeAutoInsets removal.
2467 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2469 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2471 * BufferView.[Ch] (removeAutoInsets): delete function
2473 2003-05-22 Angus Leeming <leeming@lyx.org>
2475 * latexrunparams.h: add a free_spacing variable.
2477 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2478 to pass moving_arg, as the data is stored in runparams.fragile.
2480 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2481 to Inset::latexOptional or to simpleTeXOnePar.
2483 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2484 free_spacing arg to Inset::latexOptional.
2486 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2489 2003-05-22 Angus Leeming <leeming@lyx.org>
2491 * latexrunparams.h: add fragile and use_babel variables.
2493 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2494 * buffer.C (makeLaTeXFile): store this returned value in
2495 runparams.use_babel, thus passing it to the inset::latex methods.
2497 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2498 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2500 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2501 longer has a fragile arg, as it is stored in runparams.fragile.
2503 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2504 moving_arg parameter as the data is stored in runparams.fragile.
2506 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2507 a fragile parameter as the data is stored in runparams.fragile.
2509 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2513 2003-05-22 Angus Leeming <leeming@lyx.org>
2515 * latexrunparams.h: add a 'bool nice' which defaults to false.
2517 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2518 now encapsulated within runparams.
2520 * bufferlist.C (updateIncludedTeXfiles):
2521 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2523 2003-05-22 Angus Leeming <leeming@lyx.org>
2525 * latexrunparams.h: new file containing struct LatexRunParams.
2526 * Makefile.am: add new file.
2528 * LaTeX.[Ch] (c-tor, run):
2529 * buffer.[Ch] (makeLaTeXFile):
2530 * bufferlist.[Ch] (updateIncludedTeXfiles):
2531 * converter.C (convert, scanLog):
2532 * converter.[Ch] (runLaTeX):
2533 * exporter.C (Export):
2534 * paragraph.[Ch] (simpleTeXOnePar):
2535 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2536 * paragraph_funcs.[Ch] (latexParagraphs):
2537 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2538 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2539 pass around a LatexRunParams parameter.
2541 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * paragraph.[Ch]: remove unused constructor
2545 * ParagraphList.C (erase): new function, taking two iterators
2547 2003-05-22 André Pönitz <poenitz@gmx.net>
2549 * undo_funcs.C: remove duplicated code
2551 * iterator.[Ch]: operator=
2553 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * tabular.C (SetMultiColumn): ws changes
2557 * rowpainter.C (paintFirst): get rid of a ->previous
2559 * lyx_cb.C (getPossibleLabel): parlist simplification
2561 * BufferView.C (ChangeInsets): simplify slightly.
2563 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2565 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2566 * lfuns.h: new LFUN_SPACE
2567 * lyxfunc.C: protected space has a new lfun
2568 * paragraph_funcs.C: read new space insets
2570 * factory.C: handle new space insets
2572 2003-05-22 André Pönitz <poenitz@gmx.net>
2575 * BufferView_pimpl.C:
2578 * undo_funcs.C: return a ParIterator from getParFromID.
2580 * iterators.[Ch]: add two const's
2582 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * toc.C (getTocList): adjust
2586 * iterators.[Ch]: rework for parlist
2588 * buffer.C (par_iterator_begin): adjust
2589 (par_iterator_end): adjust
2591 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2593 * BufferView.C (removeAutoInsets): adjust
2594 (ChangeInsets): adjust
2596 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2598 * text.C (top_y): fix bug 1110
2600 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2602 * errorlist.[Ch]: added
2605 * BufferView_pimpl.C:
2606 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2609 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * Makefile.am: ensure that lyx is relinked upon changes to the
2612 various "convenience" libs.
2614 2003-05-20 Angus Leeming <leeming@lyx.org>
2616 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2617 files are compiled in alphabetical order again.
2619 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2621 2003-05-19 Angus Leeming <leeming@lyx.org>
2623 * gettext.[Ch]: remove "char const * _(char const *)".
2625 2003-05-19 André Pönitz <poenitz@gmx.net>
2627 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2636 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2638 2003-05-19 André Pönitz <poenitz@gmx.net>
2642 * lyxtextclass.[Ch]:
2644 * paragraph_funcs.[Ch]:
2646 * text3.C: more insetenv work
2648 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2650 * ParagraphParameters.C (params2string): small bug fixed
2652 2003-05-16 André Pönitz <poenitz@gmx.net>
2655 * bufferview_funcs.C: patch from Kornel Benko to prevent
2656 crash when _(...) is called twice in a statement
2658 2003-05-16 André Pönitz <poenitz@gmx.net>
2665 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2667 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2669 * lyx_main.C (init): remove spurious static_cast
2671 2003-05-14 André Pönitz <poenitz@gmx.net>
2673 * BufferView.C: fix format string
2675 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2677 * BufferView.[Ch] (insertErrors): removed
2678 * BufferView.[Ch] (showErrorList): added
2679 * buffer.C (runChkTeX):
2680 * converter.C (scanLog): call showErrorList instead of inserterrors
2682 2003-05-13 André Pönitz <poenitz@gmx.net>
2684 * BufferView_pimpl.C:
2686 * bufferview_func.C:
2693 * tabular_funcs.h: tostr() from its own header
2695 * ParagraphParameters.C:
2700 * text3.C: STRCONV()
2702 2003-05-12 André Pönitz <poenitz@gmx.net>
2705 * BufferView_pimpl.C:
2709 * ParagraphParameters.C:
2713 * bufferview_funcs.C:
2726 * paragraph_funcs.C:
2730 * text3.C: boost::format -> bformat all over the place
2733 2003-05-09 André Pönitz <poenitz@gmx.net>
2735 * LColor.[Ch]: Pimpl the #include <map> away
2737 2003-05-09 John Levon <levon@movementarian.org>
2739 * bufferlist.C: never remove emergency saves
2741 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * Makefile.am: better lib building
2745 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2749 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2750 (simpleTeXSpecialChars): adjust
2751 (simpleTeXSpecialChars): adjust
2752 * paragraph.C (simpleTeXOnePar): adjust
2753 * buffer.C (makeLaTeXFile): adjust
2755 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2757 * text2.C (changeDepth): parlist cleanup
2758 (getColumnNearX): ditto
2760 * rowpainter.C (getLabelFont): parlist cleanup
2762 * bufferlist.C (newFile): parlist cleanup
2764 * CutAndPaste.C (eraseSelection): parlist cleanup
2766 * BufferView_pimpl.C (trackChanges): parlist cleanup
2769 * BufferView.C (lockInset): parlist cleanup.
2770 (ChangeInsets): ditto
2772 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * CutAndPaste.h: Update file header.
2776 * CutAndPaste.C: Update file header.
2777 Store the parts cut out of the Document in a limited_stack.
2778 (copySelection): adjust
2779 (pasteSelection): new function, takes the index in the limited stack.
2780 (nrOfParagraphs): adjust
2781 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2782 simplify error inset insertion.
2783 (checkPastePossible): adjust
2785 2003-05-06 John Levon <levon@movementarian.org>
2787 * text2.C: don't cast wrap inset to float
2789 2003-05-05 André Pönitz <poenitz@gmx.net>
2792 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2794 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2795 few naked Paragraph *.
2797 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2799 * bufferparams.C: Output warning if a document with missing
2800 TeX document class is loaded
2801 * exporter.C: Disable TeX exports if the document class is missing
2804 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2805 isTeXClassAvailable()
2807 2003-05-03 John Levon <levon@movementarian.org>
2810 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2811 explicit cursor show/hide
2813 * BufferView_pimpl.h:
2814 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2815 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2817 * lyxfunc.C: hide cursor before dispatching.
2822 * text3.C: remove explicit cursor hides
2824 2003-05-02 André Pönitz <poenitz@gmx.net>
2826 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2829 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2832 * text2.C: tiny whitespace
2834 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * undo_funcs.C: almost only ws changes.
2838 * ParagraphList.C (splice): just return if pl is empty.
2840 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2842 * ParagraphList.C (splice): new function.
2844 * CutAndPaste.C (pasteSelection): use it
2846 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * CutAndPaste.C (pasteSelection): remove the last next and
2849 previous from this file.
2851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * CutAndPaste.C (pasteSelection): more clean up, user proper
2854 ParagraphList functions for pasteing.
2856 * ParagraphList.C (insert): new function, three arg insert
2858 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * ParagraphList.C (insert): new function, three arg insert
2862 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2865 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2869 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2871 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2875 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2876 (copySelection): clean up a bit.
2877 (pasteSelection): use make_pair
2879 * ParagraphList.C (ParagraphList): implement copy constructor
2880 (operator=): implement, base on copy constructor.
2883 * paragraph.C (erase): return a bool
2885 * paragraph_pimpl.C (erasePos): remove function, move contents...
2886 (erase): ... here. Return a bool.
2887 (erase): call erase instead of erasePos.
2889 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2891 * ParagraphList.h: define PitPosPair
2892 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2893 ParagraphList, fix a bug on pasting multiple pars
2894 * text2.C: change interface to C&P
2896 2003-04-30 André Pönitz <poenitz@gmx.net>
2898 * undo_func.C: revert part of yesterday's patch 2
2900 2003-04-30 John Levon <levon@movementarian.org>
2902 * LColor.C: s/tabular/table/
2904 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * text3.C (dispatch): do not convert iterator -> pointer
2907 * undo_funcs.C (setCursorParUndo): ditto
2908 * text_funcs.C (transposeChars): ditto
2910 * text2.C (setLayout): ws changes only
2912 * text.C (breakParagraph): do not convert iterator -> pointer
2914 (acceptChange): ditto
2915 (rejectChange): ditto
2920 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2923 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2925 * text3.C (gotoInset): YABG (yet another bad getChar)
2927 2003-04-29 André Pönitz <poenitz@gmx.net>
2929 * paragraph.h: make operator= private unimplemented as long as
2932 * ParagraphList.C: whitespace
2935 * paragraph_pimpl.[Ch]:
2936 * paragraph_funcs.C:
2938 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2941 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2943 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2945 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2946 * paragraph.[Ch] (erase):
2947 * paragraph_pimpl.[Ch] (erase): change return type and value
2948 * text2.C (cutSelection): some rework
2950 2003-04-28 John Levon <levon@movementarian.org>
2952 * bufferlist.C: changes for unsaved changes dialog
2954 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2956 * bufferlist.C (newFile): set language (messages_) for new
2959 * buffer.C (readFile): ws changes only.
2961 2003-04-28 André Pönitz <poenitz@gmx.net>
2966 * BufferView_pimpl.C:
2967 * BufferView.C: getParFromID related ParagraphList::iterator changes
2969 2003-04-28 André Pönitz <poenitz@gmx.net>
2971 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2974 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * messages.C: remove one more localedir class variable.
2978 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * messages.C (getLocaleDir): singleton generation function
2982 (Messages): add a default constructor.
2984 * main.C (main): do not setup localedir here, do not call
2987 * gettext.C (_): use it.
2988 (gettext_init): delete funciton
2990 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2992 * gettext.C (getLyXMessages): new singleton generating function.
2994 * buffer.C (updateDocLang): adjust
2996 * Makefile.am (messages.o): add target
2997 (main.o): remove target
2999 2003-04-27 John Levon <levon@movementarian.org>
3004 * lyxvc.C: specify cancel button in Alert::prompt
3006 2003-04-26 John Levon <levon@movementarian.org>
3011 * LyXAction.C: add LFUN_INSET_SETTINGS
3013 * lyxfunc.C: don't enable tabular-feature when there's
3014 just any locking inset
3016 2003-04-26 John Levon <levon@movementarian.org>
3018 * bufferlist.C: re-add Cancel to buffer close question
3020 * lyxfunc.C: fix import UI a bit
3022 2003-04-25 John Levon <levon@movementarian.org>
3024 * gettext.C: remove the broken asserts for now
3026 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3028 * messages.C: make case where setlocale cannot comply work better.
3030 * buffer.C (updateDocLang): new function
3031 (changeLanguage): use it
3034 * text2.C (setCounter): use B_ a bit.
3036 * lyxlayout.C (Read): be sure to trim the label strings.
3038 * messages.C (Messages): fix typo in comment
3040 * buffer.C (readFile): set message_ after file is loaded.
3041 (makeDocBookFile): remove double return
3042 (changeLanguage): reset message_ upon language change.
3043 (B_): new func, use this to get translated buffer strings.
3045 * main.C: add myself and Jean Marc as authors.
3047 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * messages.[hC]: pimplify Messages, and three different pimpls to be
3050 used in different circumstances.
3052 * gettext.[Ch]: change for use with new message code.
3054 2003-04-24 André Pönitz <poenitz@gmx.net>
3056 * factory.C: support for eqref
3058 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * messages.[Ch]: add missing char
3062 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3064 * messages.[Ch]: New files
3066 2003-04-18 John Levon <levon@movementarian.org>
3070 * BufferView_pimpl.C:
3074 * text2.C: remove layout-copy/paste (bug 778)
3076 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3078 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3080 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3082 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3083 if they succeed. Act accordingly.
3085 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * text2.C (setCharFont): adjust
3088 (setCounter): adjust
3089 (insertStringAsLines): adjust
3091 * text.C (leftMargin): adjust
3092 (setHeightOfRow): adjust
3094 * rowpainter.C (paintFirst): adjust
3097 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3099 (isFirstInSequence): ditto
3100 (getEndLabel): ditto
3103 * paragraph.C (getParLanguage): comment out some hard stuff.
3105 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3107 (simpleDocBookOnePar): ditto
3108 (makeDocBookFile): use ParagraphList::iterator
3110 * CutAndPaste.C (pasteSelection): adjust
3112 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * text2.C (getFont): adjust
3115 (getLayoutFont): adjust
3116 (getLabelFont): adjust
3118 * paragraph_funcs.C (TeXOnePar): adjust
3120 * buffer.C (simpleLinuxDocOnePar): adjust
3121 (simpleDocBookOnePar): adjust
3123 * CutAndPaste.C (pasteSelection): adjust
3125 * BufferView.C (getEncoding): adjust
3127 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3129 2003-04-16 John Levon <levon@movementarian.org>
3131 * lyxfind.C: use parlist stuff for search/changes
3133 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3137 * text2.C (deleteEmptyParagraphMechanism): adjust
3139 * text2.[Ch] (ownerParagraph): delete func (both of them
3141 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3145 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * ParagraphList.C: prepare for NO_NEXT
3149 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * text2.C (getFont): adjust
3152 (getLayoutFont): adjust
3153 (getLabelFont): adjust
3155 * paragraph.C (getFont): adjust
3156 (getLabelFont): adjust
3157 (getLayoutFont): adjust
3159 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3161 2003-04-15 John Levon <levon@movementarian.org>
3165 * lyx_main.C: handle Include in .ui files
3167 2003-04-15 John Levon <levon@movementarian.org>
3169 * MenuBackend.C: make the doc files length shorter
3172 * ToolbarBackend.C: handle toolbar placement flags,
3175 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3180 * paragraph_funcs.C (TeXOnePar): adjust
3182 * paragraph.C (getLabelFont): add outerfont arg, adjust
3183 (getLayoutFont): ditto
3184 (simpleTeXOnePar): adjust
3186 * paragraph_pimpl.C (realizeFont): delete func
3188 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3190 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3191 row argument, constify cur argument.
3193 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3195 * text2.C (getFont): adjust
3196 (getLayoutFont): adjust
3197 (getLabelFont): adjust
3199 * paragraph_funcs.C (TeXOnePar): adjust
3200 (outerFont): new func...
3201 (realizeFont): ...moved out from here, changed this to facilitate
3204 * paragraph.C (getFont): take outerfont as arg, adjust
3205 (simpleTeXOnePar): add outerfont arg, adjust
3207 * buffer.C (simpleLinuxDocOnePar): adjust
3208 (simpleDocBookOnePar): adjust
3210 * CutAndPaste.C (pasteSelection): adjust
3212 * BufferView.C (getEncoding): adjust
3214 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * text2.C (setCharFont): adjust
3217 (setCounter): adjust
3219 * text.C (leftMargin): adjust
3220 (setHeightOfRow): adjust
3222 * rowpainter.C (paintFirst): adjust
3225 * paragraph_pimpl.C (realizeFont): adjust
3227 * paragraph.C (isFirstInSequence): move from here...
3228 * paragraph_funcs.C (isFirstInSequence): ...to here
3230 * paragraph.C (outerHook): move from here...
3231 * paragraph_funcs.C (outerHook): ...to here
3233 * paragraph.C (depthHook): move from here...
3234 * paragraph_funcs.C (depthHook): ...to here
3236 * paragraph.C (getEndLabel): move from here...
3237 * paragraph_funcs.C (getEndLabel): ...to here
3239 * text2.C (realizeFont): move from here...
3240 * paragraph_funcs.C (realizeFont): ...to here
3242 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3246 2003-04-14 Angus Leeming <leeming@lyx.org>
3248 * LColor.[Ch]: scrap LColor mathcursor.
3250 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * lyxlex.[Ch] (text): delete function
3253 * trans.C (Load): adjust
3254 * paragraph_funcs.C (readParToken): adjust
3256 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3259 vector<char> instead of a char[].
3261 * lyxlex_pimpl.C (getString): adjust
3263 (lex): use getString
3267 * lyxlex.C (text): use pimpl_->getString()
3271 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3274 (makeFontEntriesLayoutSpecific): temp var for par.size()
3275 (setLayout): temp var for ownerParagraphs().end()
3276 (fullRebreak): temp var for rows().end()
3277 (selectionAsString): temp var for boost::next(startpit), realize
3278 that the while really is a regular for loop.
3279 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3280 setCursor in one place.
3281 (setParagraph): temp vr for ownerParagraphs().end()
3282 (updateCounters): make the while loop a for loop
3283 (cutSelection): temp var for ownerParagraphs().end()
3284 (updateInset): make the do {} while() a regular for loop
3285 (getCursorX): use temp vars
3286 (setCurrentFont): use temp vars
3287 (getColumnNearX): use temp vars
3289 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * text.C (transformChar): use temp var for getChar
3292 (computeBidiTables): use temp var for row->par()
3293 (fill): move temp vars for row->par() and pit->layout() earlier in
3295 (labelFill): use temp var for row->par()
3296 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3297 asc and desc, realize that pit never changes and that firstpit is
3298 just a duplicate and not needed. Exchange rit->par() with pit in a
3300 (breakAgain): use a temp var for boost::next(rit)
3301 (breakAgainOneRow): ditto
3302 (breakParagraph): use a temp var for rows().begin()
3303 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3304 (cursorRightOneWord): use temp var for cursor.par() and
3305 cursor.pos(), remove usage of tmpcursor.
3306 (cursorLeftOneWord): use temp var for cursor.par() and
3307 cursor.pos() only set cur at end of function.
3309 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3311 * text.C, text2.C: exchange all usage of Paragraph::next with
3312 boost::next(ParagraphList::iterator)
3314 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3316 * text2.C (cursorTop): simplify implementation
3317 (cursorBottom): ditto
3318 (setParagraph): use ParagraphList::iterator
3319 (setCurrentFont): adjust
3320 (getColumnNearX): adjust
3321 (cursorRight): adjust
3322 (cursorLeft): remove usage of Paragraph::previous
3323 (cursorUpParagraph): ditto
3324 (deleteEmptyParagraphMechanism): slight cleanup
3326 * text.C (isBoundary): take a Paragraph const & instead of a
3328 (addressBreakPoint): ditto
3329 (leftMargin): remove usage of Paragraph::previous.
3330 (setHeightOfRow): ditto
3331 (cursorLeftOneWord): ditto
3332 (selectNextWordToSpellcheck): ditto
3335 (breakParagraph): remove one usage of Paragraph::next
3336 (redoParagraph): ditto
3337 (acceptChange): ditto
3338 (insertChar): adjust
3339 (rowBreakPoint): adjust
3341 * bufferview_funcs.C (toggleAndShow): adjust
3343 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3345 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3346 methods to access it.
3348 * text.C: Added updateRowPositions to compute all row positions.
3349 Make top_y and getRowNearY() to use the cached y position
3351 2003-04-11 John Levon <levon@movementarian.org>
3353 * text.C (rowBreakPoint): reintroduce the labelEnd
3354 checks, code copied from the row fill stuff. Deep voodoo.
3356 * text.C (fill): add a comment and debugging for the
3359 2003-04-11 John Levon <levon@movementarian.org>
3361 * text.C: make sure fullrow insets get wrapped to the next line,
3362 even when they're in a manual label
3364 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * text2.C (insertParagraph): make it take ParagraphList::iterator
3368 (setLayout): make it return ParagraphList::iterator
3369 (redoParagraphs): ditto
3371 (checkParagraph): ditto
3373 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3375 * text2.C: adjust several funcs.
3376 (realizeFont): take a ParagraphList::iterator as arg.
3377 (getLayoutFont): ditto
3378 (getLabelFont): ditto
3379 (setCharFont): ditto
3381 * text.C: adjust several funcs.
3383 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3385 * text.C (selectNextWordToSpellcheck): don't accidentally
3388 2003-04-10 John Levon <levon@movementarian.org>
3390 * ToolbarBackend.C (getIcon): special handling for
3393 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3395 * text2.C (cursorRight): a getChar assert fixed
3397 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * text2.C (getFont): change to take a ParagraphList::iterator
3400 instead of Paragraph*
3401 Adjust several functions.
3403 * text.C (transformChar): change to take a ParagraphList::iterator
3404 instead of Paragraph*
3405 (singleWidth): ditto
3406 Adjust several functions.
3408 * rowpainter.C: adjust several functions
3409 * rowpainter.h:store a ParagraphList::iterator and not a
3413 2003-04-09 John Levon <levon@movementarian.org>
3418 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3419 and the "help" bits as well
3421 2003-04-09 John Levon <levon@movementarian.org>
3424 * ToolbarBackend.C: allow multiple toolbars
3426 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3428 * undo_funcs.C (setCursorParUndo): adjust
3430 * text_funcs.C (transposeChars): adjust
3432 * text3.C (gotoNextInset): adjust
3435 * text2.C (setLayout): adjust
3436 (changeDepth): adjust
3438 (redoParagraphs): adjust
3439 (selectionAsString): adjust
3440 (setParagraph): adjust
3441 (insertInset): adjust
3442 (cutSelection): adjust
3443 (copySelection): adjust
3444 (pasteSelection): adjust
3445 (insertStringAsLines): adjust
3446 (updateInset): adjust
3447 (setCursor): change to take a ParagraphList::iterator parameter
3448 (setCursorIntern): change to take a ParagraphList::iterator parameter
3449 (setCurrentFont): adjust
3450 (cursorLeft): adjust
3451 (cursorRight): adjust
3452 (deleteEmptyParagraphMechanism): adjust
3454 * text.C (breakParagraph): adjust
3455 (insertChar): adjust
3456 (acceptChange): adjust
3457 (rejectChange): adjust
3458 (selectNextWordToSpellcheck): adjust
3459 (changeCase): adjust
3463 * lyxfind.C (SearchForward): adjust
3464 (SearchBackward): adjust
3465 (nextChange): adjust
3467 * lyxcursor.C (par): adjust
3469 * lyxcursor.h: store a ParagraphList::iterator instead of a
3472 * lyx_cb.C (getPossibleLabel): adjust
3474 * bufferview_funcs.C (toggleAndShow): adjust
3476 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3479 * BufferView.C (removeAutoInsets): adjust
3480 (lockedInsetStoreUndo): adjust
3482 2003-04-09 John Levon <levon@movementarian.org>
3484 * ToolbarBackend.C: try icon without argument
3485 if with argument fails
3487 2003-04-08 John Levon <levon@movementarian.org>
3490 * ToolbarBackend.C: add getIcon(), handle tooltip,
3491 and change from "Icon" to "Item".
3493 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3495 * BufferView.C (lockInset): another bad getchar crunched
3497 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3499 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3502 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3504 * lyxfind.C (searchForward, searchBackwards): bug 782
3506 2003-04-07 John Levon <levon@movementarian.org>
3508 * paragraph.C: remove dead comment
3510 * text.C: remove troublesome depth-fiddling code
3511 in leftMargin() and rightMargin() (bug 1017)
3513 * text.C: fix breaking of rows in nested lists
3516 * text2.C (updateCounters): fix up depth values
3519 2003-04-07 John Levon <levon@movementarian.org>
3521 * BufferView_pimpl.C: clear message when doc finishes resizing,
3522 and after a mouse event
3524 * lyxfunc.C: clear message after exiting inset
3526 2003-04-07 John Levon <levon@movementarian.org>
3528 * bufferview_funcs.C: show math status not outside
3529 status in the statusbar
3531 2003-04-07 John Levon <levon@movementarian.org>
3533 * lyxfunc.C: note status changed after a depth change
3535 2003-04-04 Angus Leeming <leeming@lyx.org>
3537 * LaTeX.h: move AuxInfo operator==, != out of line.
3538 Remove LaTeX virtual destructor; nothing derives from it.
3539 Move operator()() out of public area and rename it startscript().
3540 Change protected for private.
3542 2003-04-04 Angus Leeming <leeming@lyx.org>
3545 * text2.C: remove unneeded #includes.
3547 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3549 * text2.C (dEPM): fix the heigth of the next row
3551 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3553 * text.C: squashed an invalid getChar requester + some ws changes
3555 2003-04-03 John Levon <levon@movementarian.org>
3557 * bufferview_funcs.h:
3558 * bufferview_funcs.C:
3561 * text2.C: make getStatus work for the env depth lfuns
3563 2003-04-03 John Levon <levon@movementarian.org>
3565 * bufferview_funcs.h:
3566 * bufferview_funcs.C:
3569 * text2.C: parlistize decDepth(), by merging it with incDepth()
3571 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * lyxrow.h: store a ParagraphList::iterator instead of a
3574 Paragraph* and adjust other class functions to suit.
3576 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3579 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3581 * text2.C (setCursor): do not anchor to cursor row for the time being
3583 2003-04-02 John Levon <levon@movementarian.org>
3590 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3592 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3594 * paragraph.h: make ParagraphList and ParagraphList::iterator
3595 friends of Paragraph.
3597 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3599 * ParagraphList.C: Use the private next_ and previous_ from
3602 2003-04-01 John Levon <levon@movementarian.org>
3606 * Makefile.am: rename, remove defaults gunk
3609 * MenuBackend.C: remove defaults gunk
3612 * Languages.C: remove defaults gunk
3615 * lyx_main.C: error out if files couldn't be found.
3617 2003-04-02 John Levon <levon@movementarian.org>
3619 * text2.C: make incDepth() use parlist
3621 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * undo_funcs.C (firstUndoParagraph): adjust
3625 * text3.C (gotoInset): adjust
3626 (dispatch): adjust, and rewrite loop.
3628 * text2.C (init): adjust, and rewrite loop.
3629 (redoParagraphs): adjust
3630 (updateInset): adjust, and rewrite loop.
3631 (deleteEmptyParagraphMechanism): adjust
3633 * tabular.C (LyXTabular): adjust
3634 (SetMultiColumn): adjust
3637 * lyxtext.[Ch] (ownerParagraph): delete function
3638 (ownerParagraphs): new function returns a ParagraphList.
3640 * BufferView.C (removeAutoInsets): adjust
3641 (insertErrors): adjust
3642 (setCursorFromRow): adjust
3644 2003-04-01 Angus Leeming <leeming@lyx.org>
3646 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3649 2003-04-02 John Levon <levon@movementarian.org>
3655 * text_funcs.C: make transposeChars a free function
3657 * lyxrow_funcs.C: remove wrong comment
3659 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * rowpainter.C: adjust
3667 * lyxrow_funcs. [Ch]: new files
3669 * lyxrow.[Ch]: remove next and previous pointers
3670 (next,previous): remove accessor functions
3671 (isParEnd): move to lyxrow_funcs
3672 (lastPos): move to lyxrow_funcs
3673 (nextRowIsAllInset): move to lyxrow_funcs
3674 (lastPrintablePos): move to lyxrow_funcs
3675 (numberOfSeparators): move to lyxrow_funcs
3676 (numberOfHfills): move to lyxrow_funcs
3677 (numberOfLabelHfills): move to lyxrow_funcs
3678 (hfillExpansion): move to lyxrow_funcs
3682 * bufferview_funcs.C (toggleAndShow): adjust
3684 * RowList.h: Remove class RowList from file leave just a
3687 * RowList.C: delete file
3689 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3692 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3694 * text3.C (cursorPrevious): adjust
3695 (cursorNext): adjust
3698 * text2.C (redoHeightOfParagraph): adjust
3699 (redoDrawingOfParagraph): adjust
3702 * text.C (breakParagraph): adjust
3703 (insertChar): adjust
3706 * rowpainter.C (RowPainter): adjust
3707 (leftMargin): simplify and adjust
3708 (most rowpainter functions): adjust.
3710 * rowpainter.h: store the row as RowList::iterator not as Row*
3712 * lyxcursor.C (row): taka RowList::iterator as arg
3715 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3718 2003-04-01 Angus Leeming <leeming@lyx.org>
3720 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3721 stuff like bool Bool.
3723 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3725 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3728 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3733 * lyxtext.h (rows): drop one version and leve a const variant that
3734 returns a RowList::iterator.
3736 2003-03-31 Angus Leeming <leeming@lyx.org>
3738 * text.C (fill): ensure that the signature is the same as that in the
3741 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * text2.C (redoParagraphs): adjust
3744 (updateCounters): adjust
3745 (checkParagraph): adjust
3746 (getColumnNearX): adjust and reformat a bit.
3748 * text.C (top_y): adjust
3750 (leftMargin): adjust
3751 (prepareToPrint): adjust
3753 (getRowNearY): adjust
3755 * lyxtext.h: make rowlist_ mutable.
3757 * RowList.h: add const_iterator
3758 * RowList.C: adjust for RowList::const_iterator.
3760 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3763 2003-03-31 John Levon <levon@movementarian.org>
3766 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3768 * lyx_main.C: set default fonts from using lyx_gui funcs
3770 * exporter.C: pdf_mode moved from lyxrc
3773 * lyxfunc.C: changes from above
3775 2003-03-31 John Levon <levon@movementarian.org>
3777 * lyx_main.C: fix to the last fix
3779 2003-03-31 John Levon <levon@movementarian.org>
3781 * bufferlist.C: "Load original" -> "Load Original"
3787 * format.C: more Alert cleanups
3789 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * text2.C (removeParagraph): make it take a RowList::iterator as
3793 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3794 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3796 * text.C (anchor_row): make it take a RowList::iterator as arg,
3798 (computeBidiTables): make it take a const reference to Row instead
3799 of Row pointer, adjust.
3800 (leftMargin): make it take a RowList::iterator as arg, adjust.
3801 (rowBreakPoint): adjust
3802 (breakAgainOneRow): make it take a RowList::iterator as arg,
3804 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3806 * bufferview_funcs.C (toggleAndShow): adjust
3808 2003-03-30 John Levon <levon@movementarian.org>
3812 * boost-inst.C: moved to support
3814 * several files: changes as a result
3816 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * text2.C (LyXText): adjust.
3820 (removeRow): make it take a RowList::iterator as arg, adjust.
3821 (fullRebreak): adjust
3822 (deleteEmptyParagraphMechanism): adjust
3823 (clearPaint): adjust
3826 * text.C (top_y): adjust
3827 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3828 (breakAgain): make it take a RowList::iterator as arg, adjust.
3829 (breakParagraph): adjust
3830 (insertChar): adjust
3833 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3834 need_break_row, and refresh_row.
3836 * text3.C (dispatch): adjust
3838 * text2.C (checkParagraph): adjust
3840 (setCursorFromCoordinates): adjust
3842 * text.C (top_y): adjust
3844 (getRow): make it return a RowList::iterator, adjust
3845 (getRowNearY): make it return a RowList::iterator, adjust
3847 * text2.C (init): adjust
3848 (insertRow): remove function
3849 (insertParagraph): adjust
3850 (redoParagraphs): adjust
3851 (fullRebreak): adjust
3852 (updateCounters): adjust
3854 * text.C (top_y): rewrite to use RowList iterators.
3856 (setHeightOfRow): rewrite to sue RowList iterators.
3857 (appendParagraph): adjust
3858 (breakAgain): adjust
3859 (breakAgainOneRow): adjust
3860 (breakParagraph): adjust
3862 (getRowNearY): adjust, and remove commented code.
3864 * lyxtext.h (firstRow): delete function
3865 (lastRow): delete function
3866 (rows): new function (const and non-const versions.)
3867 (insertRow): delete function
3869 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3871 2003-03-29 John Levon <levon@movementarian.org>
3873 * BufferView_pimpl.C: always update scrollbar top
3874 because pasting text when we're anchored could mean we
3875 miss an update altogether
3877 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * text2.C (init): use rowlist_.end() and not 0.
3880 (insertRow): change to take a RowList::iterator as arg, adjust
3882 (insertParagraph): change to take a RowList::iterator as arg,
3884 (redoParagraphs): remove some debug msgs.
3886 * text.C (appendParagraph): change to take a RowList::iterator
3887 arg, adjust for this.
3888 (breakAgain): add an assert
3889 (breakAgainOneRow): ditto
3891 2003-03-29 John Levon <levon@movementarian.org>
3893 * text2.C: do not clear selection after inc/decDepth
3896 2003-03-29 John Levon <levon@movementarian.org>
3899 * buffer.C: fix broken strerrors according to Lars
3901 2003-03-29 John Levon <levon@movementarian.org>
3903 * converters.C: more Alert cleanups
3905 2003-03-29 John Levon <levon@movementarian.org>
3907 * bufferview_funcs.C: remove pointless Alert
3909 * buffer.C: fix confusing error message when
3910 a template is chmoded 000
3912 2003-03-29 John Levon <levon@movementarian.org>
3916 * BufferView_pimpl.C: Alert fixes
3920 * tabular-old.C: remove unused table compat reading
3922 2003-03-29 John Levon <levon@movementarian.org>
3927 * lyx_cb.C: more Alert cleanups
3929 * lyxfunc.C: don't allow chktex if not latex document
3931 2003-03-29 John Levon <levon@movementarian.org>
3935 * buffer.C: warnings pushed down from support/,
3938 2003-03-29 John Levon <levon@movementarian.org>
3940 * lyxfunc.C: safety check for C-r (revert)
3942 2003-03-29 John Levon <levon@movementarian.org>
3945 * bufferlist.C: several UI fixes using Alert::prompt.
3946 Fix the pointless looping quit code. Fix stupid revert
3951 * lyx_cb.C: use Alert::prompt
3953 * lyx_main.C: remove a silly question
3955 * lyxfunc.C: remove a couple of silly questions,
3958 2003-03-28 John Levon <levon@movementarian.org>
3960 * text2.C: fix bug 974 (End on empty par)
3962 2003-03-28 John Levon <levon@movementarian.org>
3964 * BufferView_pimpl.C:
3966 * lfuns.h: remove do-nothing math greek lfuns
3968 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * lyxgluelength.h (isValidGlueLength): add default arg on
3971 parameter 2. Remove default arg from friend in class.
3973 * lyxlength.h (isValidLength): add default arg on parameter 2.
3974 Remove default arg from friend in class.
3976 * text2.C (LyXText): adjust, initialize refresh_row.
3980 (insertParagraph): adjst
3981 (redoParagraphs): adjust
3982 (fullRebreak): adjust
3983 (updateCounters): adjust
3984 (deleteEmptyParagraphMechanism): first attempt at fixing a
3987 * text.C (top_y): adjust
3988 (setHeightOfRow): adjust
3990 (getRowNearY): adjust
3992 * lyxtext.h: include RowList.h
3993 (~LyXText): not needed anymore, deleted.
3994 (firstRow): modify for RowList
3995 (lastRow): new function
3996 Delete firstrow and lastrow class variables, add a Rowlist
3997 rowlist_ class variable.
3999 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4002 * RowList.C (insert): fix case where it == begin().
4004 2003-03-26 Angus Leeming <leeming@lyx.org>
4006 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4007 the thesaurus dialog.
4009 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4011 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4013 * RowList.[Ch]: new files
4015 * ParagraphList.C (erase): handle the case where it == begin
4018 2003-03-25 John Levon <levon@movementarian.org>
4022 * aspell.C: add new aspell support
4025 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4028 2003-03-25 Angus Leeming <leeming@lyx.org>
4031 * LyXAction.C (init): new LFUN_INSET_INSERT.
4033 * BufferView_pimpl.C (dispatch): split out part of the
4034 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4036 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4039 2003-03-25 Angus Leeming <leeming@lyx.org>
4041 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4043 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4046 * text3.C: remove useless row->height(0)
4048 2003-03-25 John Levon <levon@movementarian.org>
4052 * text3.C: rename the refreshing stuff to better names
4054 2003-03-24 John Levon <levon@movementarian.org>
4056 * BufferView_pimpl.h:
4057 * BufferView_pimpl.C: update layout choice on a mouse
4060 2003-03-23 John Levon <levon@movementarian.org>
4062 * Makefile.am: fix commandtags.h reference
4064 2003-03-22 John Levon <levon@movementarian.org>
4066 * BufferView_pimpl.C:
4071 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4073 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4076 * text.C: take the rtl methods out of line
4078 2003-03-21 André Pönitz <poenitz@gmx.net>
4080 * metricsinfo.[Ch]: new files containing structures to be passed around
4081 during the two-phase-drawing...
4083 2003-03-21 André Pönitz <poenitz@gmx.net>
4085 * lyxtextclass.C: read 'environment' tag.
4087 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4089 * text2.C (removeRow): fix bug 964
4091 2003-03-20 John Levon <levon@movementarian.org>
4095 * text2.C: paint cleanups. Inset::update() dropped font
4098 2003-03-19 John Levon <levon@movementarian.org>
4100 * lyxfunc.C: only fitcursor/markDirty if available()
4102 2003-03-19 John Levon <levon@movementarian.org>
4104 * commandtags.h: rename to ...
4106 * lfuns.h: ... this, and renumber / cleanup
4108 2003-03-19 John Levon <levon@movementarian.org>
4110 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4111 fit the cursor after an lfun
4115 * BufferView_pimpl.h:
4116 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4118 * LyXAction.C: layout-character should have ReadOnly
4120 * ParagraphParameters.C:
4122 * bufferview_funcs.C:
4129 * undo_funcs.C: changes from above
4131 2003-03-18 John Levon <levon@movementarian.org>
4133 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4134 remove it from update()
4136 * lyxfunc.C: update layout choice after an lfun
4138 * text3.C: remove extra updateLayoutChoice()s
4140 2003-03-18 John Levon <levon@movementarian.org>
4142 * text.C: top_y change means full repaint, fix
4143 a drawing bug with cursor movement
4145 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4149 * text2.C: anchor row on setCursor
4151 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4153 * lyxtext.h: remove almost all mutable keywords
4156 * text3.C: remove const keywords accordingly
4158 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4162 (TeXEnvironment): ditto
4165 2003-03-17 John Levon <levon@movementarian.org>
4167 * text.C (rowBreakPoint): remove attempt to fix displayed
4168 math insets inside a manual label
4170 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * lyxtext.h: remove BufferView* as first arg from almost all class
4174 * other files: adjust.
4176 2003-03-17 John Levon <levon@movementarian.org>
4180 * text2.C: more paint cleanups
4182 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4185 * rowpainter.C: remove "smart" background painting code
4187 2003-03-16 John Levon <levon@movementarian.org>
4192 * text3.C: add helper functions for setting refresh_row/y
4194 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4196 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4197 newline inset which *can* get inserted in the pass_thru layouts.
4198 This is primarily for literate documents.
4200 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4202 * buffer.C: increment LYX_FORMAT to 223
4204 2003-03-14 André Pönitz <poenitz@gmx.net>
4206 * textclass.h: prepare for environment handling, ws changes
4207 * lyxlayout.C: read latexheader and latexfooter tags
4209 2003-03-14 John Levon <levon@movementarian.org>
4211 * text2.C: rewrite ::status() a bit
4213 2003-03-13 John Levon <levon@movementarian.org>
4215 * lyxtext.h: add some docs
4217 2003-03-13 John Levon <levon@movementarian.org>
4222 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4224 2003-03-13 John Levon <levon@movementarian.org>
4226 * text3.C: fix appendix redrawing
4228 2003-03-13 John Levon <levon@movementarian.org>
4230 * text.C (setHeightOfRow):
4232 * rowpainter.C: make appendix mark have the text
4233 "Appendix" so the user knows what it is
4236 * LColor.C: s/appendixline/appendix/ from above
4238 2003-03-13 John Levon <levon@movementarian.org>
4240 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4242 * text.C: fix a getChar(pos) bug properly
4244 2003-03-13 Angus Leeming <leeming@lyx.org>
4247 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4248 Probably only temporary. Let's see how things pan out.
4250 * BufferView.C (unlockInset):
4251 * BufferView_pimpl.C (fitCursor):
4252 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4254 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4255 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4257 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4258 new functions that convert ParagraphParameters to and from a string.
4260 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4261 BufferView::Pimpl's dispatch.
4262 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4264 2003-03-13 André Pönitz <poenitz@gmx.net>
4268 * factory.C: make it aware of InsetEnv
4270 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4272 * text2.C (setCursor): never ask for one past last
4273 (setCursor): add some debugging messages.
4275 * text.C (singleWidth): never ask for one past last
4276 (singleWidth): ditto
4278 (rightMargin): ditto
4279 (rowBreakPoint): ditto
4280 (setHeightOfRow): ditto
4281 (prepareToPrint): ditto
4283 * rowpainter.C (paintBackground): never ask for one past last
4284 (paintText): never ask for one past last
4286 * paragraph_pimpl.C (getChar): make the assert stricter, never
4287 allow the one past last pos to be taken
4289 * paragraph.C (getChar): ws changes only
4291 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4292 (numberOfSeparators): ditto
4293 (numberOfHfills): ditto
4295 2003-03-12 John Levon <levon@movementarian.org>
4301 * paragraph_funcs.C: fix per-buffer authorlists
4303 2003-03-12 John Levon <levon@movementarian.org>
4305 * text.C: fix newline in right address
4307 2003-03-12 Angus Leeming <leeming@lyx.org>
4309 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4310 duplicate those in LyXFunc::dispatch.
4314 * ToolbarDefaults.C:
4315 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4316 Add LFUN_FONTFREE_UPDATE.
4318 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4319 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4321 * bufferview_func.[Ch]: several new functions to facilliate
4322 transfer of data to and from the character dialog.
4324 2003-03-12 John Levon <levon@movementarian.org>
4329 * paragraph_funcs.C:
4330 * paragraph_pimpl.C:
4334 * text3.C: remove META_NEWLINE in favour of an inset
4337 * rowpainter.C: remove paintNewline (done by inset)
4339 2003-03-12 John Levon <levon@movementarian.org>
4341 * paragraph_pimpl.C: complain about bad getChar()s
4342 for a while at least
4344 2003-03-12 John Levon <levon@movementarian.org>
4347 * buffer.C: move paragraph read into a separate function,
4348 a little renaming to reflect that.
4351 * bufferparams.C: remove the author_ids map, not necessary now
4354 * factory.C: moved Buffer::readInset to here
4356 * paragraph_funcs.h:
4357 * paragraph_funcs.C: readParagraph free function moved from
4360 * tabular.C: name change
4362 2003-03-12 John Levon <levon@movementarian.org>
4365 * ParagraphParameters.C: move par params input to
4368 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4369 behave like a normal read from the stream wrt reading
4370 a line vs. a \\token
4372 2003-03-12 John Levon <levon@movementarian.org>
4375 * ParagraphParameters.h:
4376 * ParagraphParameters.C: move output code to a
4379 2003-03-12 John Levon <levon@movementarian.org>
4381 * BufferView.C (insertLyXFile):
4384 * tabular.C: use a parlist iterator for creating the
4387 2003-03-12 John Levon <levon@movementarian.org>
4389 * buffer.C: make current_change static local not
4392 2003-03-12 John Levon <levon@movementarian.org>
4394 * buffer.C: fix insertStringAsLines for change tracking
4396 2003-03-12 John Levon <levon@movementarian.org>
4403 * bufferparams.C: move author list into params. Rename some
4404 functions. Move the header reading into a separate token
4405 loop. Move the header token reading into BufferParams.
4407 2003-03-12 John Levon <levon@movementarian.org>
4409 * changes.C: put debug inside lyxerr.debugging() checks
4411 2003-03-11 André Pönitz <poenitz@gmx.net>
4413 * factory.C: make it aware of InsetHFill
4415 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4417 * buffer.C (latexParagraphs): move function from here...
4418 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4421 2003-03-10 Angus Leeming <leeming@lyx.org>
4423 * LyXAction.C (init): fix bug in poplating array with multiple entries
4424 with the same LFUN (spotted by JMarc).
4426 2003-03-10 John Levon <levon@movementarian.org>
4429 * text2.C: move getColumnNearX() near its
4432 2003-03-10 John Levon <levon@movementarian.org>
4434 * text.C: fix break before a minipage
4436 2003-03-10 John Levon <levon@movementarian.org>
4438 * text.C: fix the last commit
4440 2003-03-09 John Levon <levon@movementarian.org>
4444 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4445 bug 365 (don't break before insets unless needed). Don't
4446 return a value > last under any circumstances.
4448 2003-03-09 Angus Leeming <leeming@lyx.org>
4450 * BufferView_pimpl.C (trackChanges, dispatch): call
4451 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4453 2003-03-09 Angus Leeming <leeming@lyx.org>
4455 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4456 than Dialogs::showAboutlyx().
4458 2003-03-09 Angus Leeming <leeming@lyx.org>
4460 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4461 than Dialogs::showTabularCreate().
4463 2003-03-09 John Levon <levon@movementarian.org>
4467 * text2.C: 3rd arg to nextBreakPoint was always the same.
4470 2003-03-08 John Levon <levon@movementarian.org>
4477 * text2.C: Remove the "main" bit from the "main body"
4480 2003-03-08 John Levon <levon@movementarian.org>
4482 * text.C (leftMargin): The left margin of an empty
4483 manual label paragraph should not include the label width
4486 * text.C (prepareToPrint): don't attempt to measure hfills
4487 for empty manual label paragraphs - the answer should be 0
4489 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * CutAndPaste.C: remove commented code and reindent.
4493 2003-03-08 John Levon <levon@movementarian.org>
4496 * lyxfunc.C: move reloadBuffer()
4499 * BufferView.C: to here
4501 * lyxvc.C: add comment
4504 * vc-backend.C: call bv->reload() to avoid
4505 getStatus() check on MENURELOAD
4507 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4509 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4510 to an old format .dep file.
4512 2003-03-07 Angus Leeming <leeming@lyx.org>
4514 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4515 when the LFUN_MOUSE_RELEASE should have been handled by
4516 inset->localDispatch.
4518 2003-03-07 Angus Leeming <leeming@lyx.org>
4520 * BufferView_pimpl.C (dispatch):
4521 * LyXAction.C (init):
4522 * ToolbarDefaults.C (init):
4524 * lyxfunc.C (getStatus):
4525 remove LFUN_INSET_GRAPHICS.
4527 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4529 2003-03-07 Angus Leeming <leeming@lyx.org>
4532 * LyXAction.C (init):
4533 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4535 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4538 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4540 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4541 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4543 2003-03-07 Angus Leeming <leeming@lyx.org>
4545 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4548 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4550 * ParagraphList.C (front): new function
4553 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4555 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4556 and top_row_offset_. removed var first_y.
4558 * text2.C (LyXText, removeRow):
4560 * BufferView_pimpl.C:
4561 use these methods instead of using first_y
4563 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4565 * text2.C (pasteSelection): adjust for checkPastePossible
4567 * CutAndPaste.C: remove Paragraph * buf and replace with
4568 ParagraphList paragraphs.
4569 (DeleteBuffer): delete
4570 (cutSelection): change the tc type to textclass_type
4571 (copySelection): change the tc type to textclass_type
4572 (copySelection): adjust for ParagraphList
4573 (pasteSelection): change the tc type to textclass_type
4574 (pasteSelection): adjust for Paragraphlist
4575 (nrOfParagraphs): simplify for ParagraphList
4576 (checkPastePossible): simplify for ParagraphList
4577 (checkPastePossible): remove unused arg
4579 * ParagraphList.C (insert): handle the case where there are no
4582 * CutAndPaste.h: make CutAndPaste a namespace.
4584 * text3.C (dispatch): adjust
4586 * text.C (breakParagraph): add a ParagraphList as arg
4588 * paragraph_funcs.C (breakParagraph): change to take a
4589 BufferParams and a ParagraphList as args.
4590 (breakParagraphConservative): ditto
4591 (mergeParagraph): ditto
4592 (TeXDeeper): add a ParagraphList arg
4593 (TeXEnvironment): ditto
4596 * buffer.C (readLyXformat2): adjust
4597 (insertStringAsLines): adjust
4598 (latexParagraphs): adjust
4600 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4601 (cutSelection): adjust
4602 (pasteSelection): adjust
4604 * BufferView_pimpl.C (insertInset): adjust
4606 2003-03-05 Angus Leeming <leeming@lyx.org>
4609 * LyXAction.C (init):
4610 * BufferView_pimpl.C (dispatch):
4611 * lyxfunc.C (getStatus):
4612 remove LFUN_CHILD_INSERT.
4614 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4616 2003-03-05 Angus Leeming <leeming@lyx.org>
4619 * LyXAction.C (init):
4620 * src/factory.C (createInset):
4621 * lyxfunc.C (getStatus):
4622 * text3.C (dispatch):
4623 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4625 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4627 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * ParagraphList.C (insert): handle insert right before end()
4630 (erase): fix cases where it can be first or last paragraph.
4632 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4635 Paragraph::next and Paragraph::previous
4638 * text.C (breakParagraph): adjust
4640 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4641 BufferParams& as arg.
4642 (breakParagraph): use ParagraphList::insert
4643 (breakParagraphConservative): take a Buffer* instead of a
4644 BufferParams& as arg.
4645 (breakParagraphConservative): use ParagraphList::insert.
4647 * buffer.C (insertStringAsLines): un-const it
4648 (insertStringAsLines): adjust
4650 * ParagraphList.C (insert): new function
4652 * CutAndPaste.C (pasteSelection): adjust
4654 * text.C (backspace): adjust
4656 * tabular.C (SetMultiColumn): adjust
4658 * CutAndPaste.C (cutSelection): adjust
4659 (pasteSelection): adjust
4661 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4662 Buffer const * as arg
4664 * ParagraphList.C (erase): new function
4665 * paragraph_funcs.C (mergeParagraph): use it
4666 (mergeParagraph): make it take a Buffer* instead of a
4667 BufferParams* as arg
4669 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4671 (breakParagraphConservative): ditto
4673 * paragraph.h: remove the breakParagraph friend
4675 * paragraph.C (eraseIntern): new function
4676 (setChange): new function
4678 * paragraph_funcs.C (mergeParagraph): make it take a
4679 ParagraphList::iterator instead of a Paragraph *, adjust
4682 * paragraph.h: move an #endif so that the change tracking stuff
4683 also works in the NO_NEXT case.
4685 2003-03-04 Angus Leeming <leeming@lyx.org>
4688 * LyXAction.C: new LFUN_INSET_MODIFY.
4690 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4691 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4693 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * several files: ws changes only
4697 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4698 (TeXEnvironment): ditto
4701 * buffer.C (makeLaTeXFile): adjust
4702 (latexParagraphs): make it take ParagraphList::iterator as args
4704 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * buffer.C (latexParagraphs): adjust
4708 * paragraph.C (TeXOnePar): move function...
4709 (optArgInset): move function...
4710 (TeXEnvironment): move function...
4711 * paragraph_pimpl.C (TeXDeeper): move function...
4712 * paragraph_funcs.C: ...here
4714 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4716 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4718 * buffer.C (readInset): remove compability code for old Figure and
4721 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * buffer.C: ws changes
4726 * BufferView_pimpl.C: ditto
4729 * bufferlist.h: ditto
4733 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4735 * converter.[Ch]: split into itself +
4738 * Makefile.am: += graph.[Ch] + format.[Ch]
4745 * lyxrc.C: added #include "format.h"
4747 2003-02-27 Angus Leeming <leeming@lyx.org>
4749 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4752 * factory.C (createInset): add "label" to the factory.
4754 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4755 string and do no more.
4757 2003-02-27 Angus Leeming <leeming@lyx.org>
4760 * LyXAction.C (init):
4761 * factory.C (createInset):
4762 * BufferView_pimpl.C (dispatch):
4763 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4765 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4767 * lyxfunc.C (dispatch):
4768 * text3.C (dispatch): pass name to params2string.
4770 2003-02-26 Angus Leeming <leeming@lyx.org>
4772 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4774 Rearrange the ~includes. Strip out the unnecessary ones.
4776 * factory.C (createInset): reformat.
4777 create new insets for the various LFUN_XYZ_APPLY lfuns.
4779 2003-02-26 John Levon <levon@movementarian.org>
4782 * lyxrow.C: add isParStart,isParEnd helpers
4784 * paragraph.h: make isInserted/DeletedText take refs
4786 * paragraph_funcs.h:
4787 * paragraph_funcs.C: remove #if 0'd code
4792 * text.C: use lyxrow helpers above.
4793 Move draw and paint routines to RowPainter.
4794 Make several methods use refs not pointers.
4795 Make backgroundColor() const.
4796 Add markChangeInDraw(), isInInset().
4797 Merge changeRegionCase into changeCase.
4798 Make workWidth() shouldn't-happen code into an Assert.
4801 * rowpainter.C: new class for painting a row.
4804 * vspace.C: make inPixels take a ref
4806 2003-02-26 Angus Leeming <leeming@lyx.org>
4808 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4811 2003-02-25 John Levon <levon@movementarian.org>
4813 * ispell.C: give the forked command a more accurate name
4815 2003-02-22 John Levon <levon@movementarian.org>
4818 * toc.C: make TocItem store an id not a Paragraph *
4821 2003-02-21 Angus Leeming <leeming@lyx.org>
4823 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4824 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4825 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4826 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4827 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4828 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4830 * BufferView_pimpl.C (dispatch):
4831 * LyXAction.C (init):
4832 * factory.C (createInset):
4833 * lyxfunc.C (getStatus, dispatch):
4834 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4836 2003-02-21 Angus Leeming <leeming@lyx.org>
4838 * BufferView_pimpl.C (MenuInsertLyXFile):
4839 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4840 * lyxfunc.C (menuNew, open, doImport):
4841 no longer pass a LyXView & to fileDlg.
4843 2003-02-21 Angus Leeming <leeming@lyx.org>
4845 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4846 * LyXAction.C: change, BIBKEY to BIBITEM.
4847 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4848 Change InsetBibKey to InsetBibitem.
4849 Change BIBKEY_CODE to BIBITEM_CODE.
4850 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4851 * factory.C: replace insetbib.h with insetbibitem.h.
4852 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4853 * paragraph.C: replace insetbib.h with insetbibitem.h.
4854 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4855 Change bibkey() to bibitem().
4856 * text.C: remove insetbib.h.
4857 * text2.C: replace insetbib.h with insetbibitem.h.
4858 change bibkey() to bibitem().
4859 * text3.C: remove insetbib.h.
4860 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4862 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4864 * lyxrc.C (output): enclose user email in quotes (in case there are
4867 2003-02-18 John Levon <levon@movementarian.org>
4869 * buffer.h: add std::
4871 2003-02-17 John Levon <levon@movementarian.org>
4877 * pspell.C: reworking. Especially in ispell, a large
4878 number of clean ups and bug fixes.
4880 * lyxfunc.C: fix revert to behave sensibly
4882 2003-02-17 André Pönitz <poenitz@gmx.net>
4885 * commandtags.h: new LFUN_INSERT_BIBKEY
4895 * paragraph_func.C: remove special bibkey handling
4897 2003-02-17 John Levon <levon@movementarian.org>
4899 * text.C (Delete): fix case where delete at the end of
4900 the very first paragraph would not merge the pars
4902 2003-02-17 John Levon <levon@movementarian.org>
4904 * lyxrow.C: fix lastPrintablePos()
4906 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4908 * bufferparams.C (writeLaTeX): add a std:here
4910 * buffer.C: and remove a using directive there
4912 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4914 * buffer.C (makeLaTeXFile): move the code that generates the
4917 * bufferparams.C (writeLaTeX): ... in this new method
4919 * LaTeXFeatures.C (getEncodingSet): make const
4920 (getLanguages): make const
4922 * MenuBackend.C (binding): returns the binding associated to this
4924 (add): sets the status of each item by calling getStatus. Adds
4926 (read): add support for OptSubMenu
4927 (expand): remove extra separator at the end of expanded menu
4929 2003-02-15 John Levon <levon@movementarian.org>
4932 * BufferView_pimpl.C:
4934 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4935 inset code that had no actual effect. Remove unneeded status
4938 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4940 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4943 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4945 * text.C (drawLengthMarker): also draw an arrow marker for
4946 symbolic lengths (medskip...)
4948 2003-02-14 John Levon <levon@movementarian.org>
4951 * tabular.C: better method names
4953 2003-02-14 John Levon <levon@movementarian.org>
4955 * BufferView_pimpl.C:
4960 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4961 it's a more accurate name. Remove some pointless uses.
4963 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4965 * text2.C (LyXText): change order of initilizers to shut off
4968 2003-02-14 John Levon <levon@movementarian.org>
4970 * buffer.C: use ParIterator for getParFromID()
4974 * paragraph_pimpl.h:
4975 * paragraph_pimpl.C: remove unused getParFromID()
4977 2003-02-14 John Levon <levon@movementarian.org>
4979 * buffer.C: remove some very old #if 0'd parse code
4981 2003-02-13 John Levon <levon@movementarian.org>
4985 * text2.C: move hfillExpansion(), numberOfSeparators(),
4986 rowLast(), rowLastPrintable(), numberofHfills(),
4987 numberOfLabelHfills() ...
4990 * lyxrow.C: ... to member functions here.
4995 * text.C: remove LyXText::beginningOfMainBody(), and call
4996 p->beginningOfMainBody() directly. Move the check for
4997 LABEL_MANUAL into the latter.
5004 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5010 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5011 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5013 2003-02-13 John Levon <levon@movementarian.org>
5015 * CutAndPaste.C: remove debug
5017 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5019 * paragraph.C (asString): remove two unused variables
5021 * lyxtextclass.C (readTitleType):
5023 (LyXTextClass): handle new members titletype_ and titlename_
5025 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5027 2003-02-09 John Levon <levon@movementarian.org>
5030 * buffer.C: replace hand-coded list with a map for the dep clean
5032 2003-02-08 John Levon <levon@movementarian.org>
5034 * LaTeX.C: consolidate code into showRunMessage() helper
5036 2003-02-08 John Levon <levon@movementarian.org>
5041 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5042 and pass the size in explicitly
5044 * BufferView_pimpl.h:
5045 * BufferView_pimpl.C:
5047 * BufferView.C: add getCurrentChange()
5049 * BufferView_pimpl.h:
5050 * BufferView_pimpl.C: handle change lfuns
5052 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5053 for changes. Mark pasted paragraphs as new.
5055 * support/lyxtime.h:
5056 * support/lyxtime.C:
5057 * DepTable.C: abstract time_t as lyx::time_type
5060 * LColor.C: add colours for new text, deleted text, changebars
5062 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5063 package use "usenames" option.
5067 * LyXAction.C: add change lfuns
5071 * author.C: author handling
5074 * buffer.C: add a per-buffer author list, with first entry as
5075 current author. Handle new .lyx tokens for change tracking. Output
5076 author list to .lyx file. Output dvipost stuff to .tex preamble.
5077 Bump lyx format to 222.
5080 * bufferlist.C: add setCurrentAuthor() to reset current author details
5084 * bufferparams.C: add param for tracking
5086 * bufferview_funcs.C: output change info in minibuffer
5090 * changes.C: add change-tracking structure
5093 * debug.C: add CHANGES debug flag
5096 * lyxfind.C: add code for finding the next change piece
5099 * lyxrc.C: add user_name and user_email
5102 * lyxrow.C: add a metric for the top of the text line
5105 * text.C: implement accept/rejectChange()
5108 * text.C: paint changebars. Paint new/deleted text in the chosen
5109 colours. Strike through deleted text.
5113 * paragraph_pimpl.h:
5114 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5115 in the current change to the insert functions. Rework erase to
5116 mark text as deleted, adding an eraseIntern() and a range-based
5117 erase(). Implement per-paragraph change lookup and
5120 * paragraph_funcs.C: Fixup paste for change tracking.
5122 * tabular.C: mark added row/columns as new.
5124 * text.C: fix rowLast() to never return -1. Don't allow
5125 spellchecking of deleted text. Track transpose changes. Don't
5126 allow paragraph break or merge where appropriate.
5128 * text2.C: leave cursor at end of selection after a cut.
5130 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5132 * text.C (getLengthMarkerHeight):
5133 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5134 visible on screen too.
5136 2003-02-07 John Levon <levon@movementarian.org>
5138 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5140 2003-02-05 Angus Leeming <leeming@lyx.org>
5142 * lyxserver.C (read_ready): revert my patch of 11 September last year
5143 as it sends PC cpu through the roof. Presumably this means that
5144 the lyxserver will no longer run on an Alpha...
5146 2003-01-30 Angus Leeming <leeming@lyx.org>
5148 * factory.C (createInset): create an InsetCommandParam of type "index"
5149 and use it to 'do the right thing'.
5151 * text2.C (getStringToIndex): ensure that cursor position is always
5152 reset to the reset_cursor position.
5154 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5156 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5159 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5163 * lyxfunc.C: Output messages with identical spelling, punctuation,
5166 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5168 * MenuBackend.C (expandFormats): List only viewable export formats
5171 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5174 * lyxfunc.C (getStatus): Make sure that formats other than
5175 "fax" can also be disabled
5177 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5179 * text3.C (dispatch): put the lfuns that insert insets in 3
5180 groups, and call doInsertInset with appropriate arguments.
5181 (doInsertInset): new function, that creates an inset and inserts
5182 it according to some boolean parameters.
5184 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * buffer.C (readFile): remember to pass on 'par' when calling
5187 readFile recursively.
5189 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5191 * MenuBackend.C (expandFormats): add "..." to import formats.
5193 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5195 * paragraph.C (asString): Remove XForms RTL hacks.
5197 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5198 * buffer.C: fix typo
5200 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * Makefile.am (LIBS): delete var
5203 (lyx_LDADD): add @LIBS@ here instead.
5205 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5207 * Clarify the meaning of "wheel mouse jump"
5209 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5211 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5214 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5216 * importer.C (Loaders): do not preallocate 3 elements in the
5217 vector, since one ends up with 6 elements otherwise
5219 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5221 * DepTable.C (write): write the file name as last element of the
5222 .dep file (because it may contain spaces)
5223 (read): read info in the right order
5225 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5227 * paragraph_pimpl.C (simpleTeXBlanks):
5228 (simpleTeXSpecialChars):
5229 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5231 * tabular.C (latex): add some missing case statements. Reindent.
5233 * MenuBackend.C (expandToc): remove unused variable.
5235 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5244 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5247 2003-01-05 John Levon <levon@movementarian.org>
5250 * BufferView.C: add getEncoding()
5253 * kbsequence.C: do not store last keypress
5256 * lyxfunc.C: store last keypress here instead. Pass encoding
5259 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5261 * lyx_main.C (init): remove annoying error message when following
5262 symbolic links (bug #780)
5264 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5266 * text.C (insertChar):
5267 * lyxrc.C (getDescription): remove extra spaces
5269 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5271 * lyxrc.C (getDescription): remove extra spaces
5273 2002-12-20 John Levon <levon@movementarian.org>
5275 * text3.C: hack fix for page up/down across tall rows
5277 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5279 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5282 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5284 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5285 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5286 thesaurus is not compiled in
5288 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5290 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5292 2002-12-16 Angus Leeming <leeming@lyx.org>
5295 * lyx_main.C (init): remove override_x_deadkeys stuff.
5297 2002-12-12 John Levon <levon@movementarian.org>
5299 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5300 insert. Only remove shift modifier under strict
5303 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * MenuBackend.C (expandToc): fix crash.
5307 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * MenuBackend.C (expandToc): gettext on float names.
5311 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5313 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5314 implement bool empty() [bug 490]
5316 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5320 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * several files: ws changes
5324 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5326 * text2.C (setCounter): clean up a bit, use boost.format.
5327 (updateCounters): initialize par upon declaration.
5329 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5330 if the layout exists. We do not just store the layout any more.
5331 (SwitchLayoutsBetweenClasses): use boost.format
5333 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5335 * converter.C (convert): if from and to files are the same, use a
5336 temporary files as intermediary
5338 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5341 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5343 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5345 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5347 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * tabular.C (asciiPrintCell): use string(size, char) instead of
5352 * sgml.C (openTag): fix order of arguments to string constructor
5355 * lyxfunc.C (dispatch): use boost.format
5357 * lots of files: change "c" -> 'c'
5359 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5361 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5363 2002-11-25 Angus Leeming <leeming@lyx.org>
5365 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5367 * lyx_main.C (init): compile fix.
5369 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * lyx_cb.C (start): boost.formatify
5372 do not include <iostream>
5374 * lengthcommon.C: ws only
5376 * boost-inst.C,BoostFormat.h: add more explict instantations
5378 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * lots of files: handle USE_BOOST_FORMAT
5382 2002-11-21 John Levon <levon@movementarian.org>
5384 * pspell.C: fix compile
5386 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5388 * lyxfunc.C (dispatch): use boost::format
5392 * lyxfont.C (stateText): use boost::format
5394 * lyx_main.C (LyX): use boost::format
5396 (queryUserLyXDir): ditto
5399 (typedef boost::function): use the recommened syntax.
5401 * importer.C (Import): use boost::format
5403 * debug.C (showLevel): use boost::format
5405 * converter.C (view): use boost::format
5410 * bufferview_funcs.C (currentState): use boost::format
5412 * bufferlist.C (emergencyWrite): use boost::format
5414 * buffer.C (readLyXformat2): use boost::format
5415 (parseSingleLyXformat2Token): ditto
5417 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5419 * LaTeX.C (run): use boost::format
5421 * Chktex.C (scanLogFile): use boost::format
5423 * BufferView_pimpl.C (savePosition): use boost::format
5424 (restorePosition): ditto
5425 (MenuInsertLyXFile): ditto
5427 * BoostFormat.h: help file for explicit instation.
5429 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5431 * tabular.C (latex): Support for block alignment in fixed width
5434 2002-11-17 John Levon <levon@movementarian.org>
5436 * BufferView_pimpl.C:
5438 * lyxfunc.C: split filedialog into open/save
5440 2002-11-08 Juergen Vigna <jug@sad.it>
5442 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5443 by my last patch (hopefully).
5445 2002-11-08 John Levon <levon@movementarian.org>
5454 * toc.C: ParConstIterator, and use it (from Lars)
5456 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5458 * lyxtextclass.[Ch]: revise and add doxygen comments
5460 2002-11-07 John Levon <levon@movementarian.org>
5462 * text.C: fix progress value for spellchecker
5464 * toc.C: fix navigate menu for insetwrap inside minipage
5466 * paragraph_funcs.C: added FIXME for suspect code
5468 2002-11-07 John Levon <levon@movementarian.org>
5470 * BufferView_pimpl.C: fix redrawing of insets
5473 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5475 * text2.C (updateCounters): fix bug 668
5477 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5479 * text3.C (dispatch): Do not make the buffer dirty when moving the
5482 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * vc-backend.C: STRCONV
5487 * text2.C (setCounter): STRCONV
5489 * paragraph.C (asString): STRCONV
5491 * lyxlength.C (asString): STRCONV
5492 (asLatexString): ditto
5494 * lyxgluelength.C (asString): STRCONV
5495 (asLatexString): ditto
5497 * lyxfunc.C (dispatch): STRCONV
5500 * lyxfont.C (stateText): STRCONV
5502 * importer.C (Import): STRCONV
5504 * counters.C (labelItem): STRCONV
5505 (numberLabel): ditto
5506 (numberLabel): remove unused ostringstream o
5511 * bufferview_funcs.C (currentState): STRCONV
5513 * buffer.C (readFile): STRCONV
5514 (asciiParagraph): ditto
5515 (makeLaTeXFile): ditto
5517 * Spacing.C (writeEnvirBegin): STRCONV
5519 * LaTeXFeatures.C (getLanguages): STRCONV
5520 (getPackages): ditto
5522 (getBabelOptions): ditto
5523 (getTClassPreamble): ditto
5524 (getLyXSGMLEntities): ditto
5525 (getIncludedFiles): ditto
5529 (scanAuxFile): ditto
5532 * LString.h: add the STRCONV macros
5534 * BufferView_pimpl.C (savePosition): STRCONV
5535 (restorePosition): ditto
5536 (MenuInsertLyXFile): ditto
5538 * vc-backend.C (scanMaster): change from submatch[...] to
5541 * funcrequest.C: include config.h
5543 * factory.C: include config.h
5545 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5547 * box.C: include config.h
5549 * LaTeX.C (scanAuxFile): change from submatch[...] to
5553 2002-10-25 Angus Leeming <leeming@lyx.org>
5555 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5557 * ispell.[Ch] (setError): new method.
5558 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5559 Use setError() insetead of goto END.
5561 * lyx_cb.C (AutoSave): move out child process into new class
5564 2002-10-30 John Levon <levon@movementarian.org>
5566 * text3.C: make start appendix undoable
5568 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5570 * lyxlength.C (inPixels): Fix returned value.
5572 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5575 2002-10-24 Angus Leeming <leeming@lyx.org>
5577 * lyxgluelength.h: no need to forward declare BufferParams
5578 or BufferView, so don't.
5580 2002-10-21 John Levon <levon@movementarian.org>
5582 * BufferView.C: menuUndo ->undo, redo
5584 * BufferView.h: document, remove dead, make some methods private
5586 * paragraph_funcs.h:
5587 * paragraph_funcs.C:
5588 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5593 * sgml.C: move sgml open/close tag into sgml.C
5595 * bufferview_funcs.h: unused prototype
5598 * lyxfunc.C: remove unused
5601 * text.C: remove unused
5603 2002-10-21 John Levon <levon@movementarian.org>
5607 * BufferView_pimpl.h:
5608 * BufferView_pimpl.C: fix mouse wheel handling based on
5609 patch from Darren Freeman
5611 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5613 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5615 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5617 * lyxlength.C (inPixels): Fix hanfling of negative length.
5618 Fix LyXLength::MU case.
5620 2002-10-16 John Levon <levon@movementarian.org>
5622 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5624 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5626 * converter.C (view): add support for $$i (file name) and $$p
5627 (file path) for the viewer command. If $$i is not specified, then
5628 it is appended to the command (for compatibility with old syntax)
5630 2002-10-14 Juergen Vigna <jug@sad.it>
5632 * undo_funcs.C (textHandleUndo): alter the order in which the
5633 new undopar is added to the LyXText, as we have to set first
5634 the right prev/next and then add it as otherwise the rebuild of
5635 LyXText is not correct. Also reset the cursor to the right paragraph,
5636 with this IMO we could remove the hack in "redoParagraphs()".
5638 2002-10-09 Angus Leeming <leeming@lyx.org>
5640 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5641 to turn off an optimisation if a new inset is to be inserted.
5643 2002-10-11 André Pönitz <poenitz@gmx.net>
5645 * lyxtext.h: make some functions public to allow access
5646 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5648 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5650 * text3.C (dispatch): when changing layout, avoid an infinite loop
5653 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5655 * lyxrc.C (read): treat a viewer or converter command of "none" as
5658 * MenuBackend.C (expandFormats): for an update, also allow the
5659 formats that are not viewable
5661 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5662 script if it is newer than the lyxrc.defaults in user directory
5664 2002-10-07 André Pönitz <poenitz@gmx.net>
5666 * text.C: Vitaly Lipatov's small i18n fix
5668 2002-09-25 Angus Leeming <leeming@lyx.org>
5670 * ispell.h: doxygen fix.
5672 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5674 * buffer.h (readFile): Add a new argument to the method, to allow
5675 reading of old-format templates.
5677 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5679 * toc.C (getTocList): Get TOC from InsetWrap.
5681 2002-09-16 John Levon <levon@movementarian.org>
5683 * lyxfunc.C: check tabular for cut/copy too
5685 2002-09-12 John Levon <levon@movementarian.org>
5690 * factory.C: add header
5692 * paragraph_funcs.h:
5693 * paragraph_funcs.C: cleanup
5695 2002-09-11 John Levon <levon@movementarian.org>
5697 * PrinterParams.h: odd/even default to true
5699 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5701 * PrinterParams.h: update printer parameters for new xforms dialog
5703 2002-09-11 Angus Leeming <leeming@lyx.org>
5705 * lyxserver.C (read_ready): re-write to make it more transparent
5706 and to make it work in coherent fashion under Tru64 Unix.
5708 2002-09-11 André Pönitz <poenitz@gmx.net>
5712 * text3.C: implement LFUN_WORDSEL
5714 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5717 make floatlist_ a boost::shared_ptr<FloatList>
5719 * lyxtextclass.C: include FloatList.h
5720 (LyXTextClass): initialize floatlist_
5721 (TextClassTags): add TC_NOFLOAT
5722 (Read): match "nofloat" to TC_NOFLOAT and use it.
5723 (readFloat): modify call to floatlist_
5727 * FloatList.[Ch] (FloatList): remove commented out float
5729 (erase): new function
5731 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5733 * MenuBackend.C (expandToc): fix crash when there is no document
5736 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5738 * many files: Add insetwrap.
5740 2002-09-09 John Levon <levon@movementarian.org>
5742 * text2.C: remove confusing and awkward depth wraparound
5744 2002-09-09 John Levon <levon@movementarian.org>
5746 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5749 * buffer.C: remove getIncludeonlyList()
5752 * lyxfunc.C: remove headers
5754 2002-09-09 Juergen Vigna <jug@sad.it>
5756 * text.C (getColumnNearX): fix form Michael this is most
5757 probably a cut&paste bug.
5759 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5763 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5764 references, ws changes.
5766 * text2.C (init): update counters after init
5767 (insertParagraph): no need to set counter on idividual paragraphs.
5768 (setCounter): access the counters object in the textclass object
5769 on in the buffer object.
5770 (updateCounters): ditto
5772 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5773 shared_ptr<Counters> to avoid loading counters.h in all
5775 (LyXTextClass): initialize ctrs_
5776 (TextClassTags): add TC_COUNTER, and ...
5777 (Read): use it here.
5778 (CounterTags): new tags
5779 (readCounter): new function
5780 (counters): new funtion
5781 (defaultLayoutName): return a const reference
5783 * counters.C (Counters): remove contructor
5784 (newCounter): remove a couple of unneeded statements.
5785 (newCounter): simplify a bit.
5786 (numberLabel): some small formatting changes.
5788 * buffer.[Ch]: remove all traces of counters, move the Counters
5789 object to the LyXTextClass.
5791 2002-09-06 Alain Castera <castera@in2p3.fr>
5793 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5794 package to set the horizontal alignment on fixed width columns.
5797 * lyx_sty.h: added tabularnewline macro def.
5799 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5801 2002-09-06 John Levon <levon@movementarian.org>
5803 * LyXAction.C: tooltips for sub/superscript
5805 * MenuBackend.C: a bit more verbose
5807 * lyxfunc.C: tiny clean
5809 * undo_funcs.C: document undo_frozen
5811 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * counters.C (Counters): add missing algorithm counter.
5815 * text2.C (setCounter): lookup the counter with layouts latexname
5816 instead of by section number.
5817 (setCounter): use a hackish way to lookup the correct enum
5819 a float name->type change
5820 reset enum couners with counter name directly instead of depth value.
5822 * counters.C (Counters): remove the push_backs, change to use the
5823 float type not the float name.
5824 (labelItem): remove unused string, float name->type change
5826 * counters.h: don't include vector, loose the enums and sects vectors
5828 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5831 (Read): add float->TC_FLOAT to textclassTags
5832 (Read): and handle it in the switch
5833 (readFloat): new function
5835 * FloatList.C (FloatList): comment out the hardcoded float
5838 * lyxlayout.h: ws change.
5840 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5842 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5844 2002-09-03 Angus Leeming <leeming@lyx.org>
5846 * BufferView_pimpl.h: qualified name is not allowed in member
5847 declaration: WorkArea & Pimpl::workarea() const;
5849 * factory.C: added using std::endl directive.
5851 * text3.C: added using std::find and std::vector directives.
5853 2002-08-29 André Pönitz <poenitz@gmx.net>
5856 * text2.C: remove unused member number_of_rows
5859 * BufferView2.C: remove file, move contents to...
5860 * BufferView.C: ... here
5862 * BufferView_pimpl.C:
5863 * factory.C: move more inset creation to factory
5865 * vspace.C: avoid direct usage of LyXText, ws changes
5868 don't provide direct access to WorkArea, use two simple
5869 acessors haveSelction() and workHeight() instead
5872 2002-08-29 John Levon <levon@movementarian.org>
5874 * BufferView_pimpl.C (dispatch): do not continue when
5877 2002-08-28 André Pönitz <poenitz@gmx.net>
5879 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5882 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5884 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5886 * buffer.C: increment LYX_FORMAT to 221
5888 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5889 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5891 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5893 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5895 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5897 * factory.C (createInset): use LyXTextClass::floats
5899 * MenuBackend.C (expandFloatListInsert):
5900 (expandFloatInsert):
5903 * text2.C (setCounter):
5905 * LaTeXFeatures.C (useFloat):
5906 (getFloatDefinitions):
5908 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5910 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5911 floatlist_, with accessor floats().
5913 * FloatList.h: remove global FloatList
5915 2002-08-26 André Pönitz <poenitz@gmx.net>
5917 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5921 * BufferView_pimpl.C:
5922 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5924 2002-08-25 John Levon <levon@movementarian.org>
5926 * LyXAction.C: fix margin note description
5928 2002-08-24 John Levon <levon@movementarian.org>
5932 * bufferview_funcs.C:
5934 * undo_funcs.C: cleanups
5936 * lyxfunc.C: disable CUT/COPY when no selection
5938 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5940 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5941 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5943 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5944 Add backward compatibility to "mono", "gray" and "no".
5946 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5948 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5949 (and file_format >= 200).
5951 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5953 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5955 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5957 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5959 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5961 * BufferView_pimpl.C:
5968 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5969 inset and code to make it work with the paragraph code. The inset
5970 can be anywhere in the paragraph, but will only do the expected
5971 thing in LaTeX if the layout file contains the parameter line
5973 (or more generally, a nonzero value) for that layout.
5975 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * paragraph.h: remove the declaration of undefined counters class
5980 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5982 * text2.C (setCounter): fixed enumeration mis-count as reported by
5983 Dr. Richard Hawkins.
5985 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5987 * paragraph_funcs.h: remove some unneeded includes
5989 * text.C (backspace): pasteParagraph now in global scipe
5991 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5992 (pasteSelection): ditto
5994 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5995 * paragraph_funcs.C (pasteParagraph): ... here
5997 2002-08-20 André Pönitz <poenitz@gmx.net>
5999 * commandtags.h: new LFUNs for swapping/copying table row/colums
6002 * lyxfunc.C: support for new lfuns
6004 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * buffer.[Ch]: remove NO_COMPABILITY stuff
6009 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6011 * boost.C (throw_exception): new file, with helper function for
6012 boost compiled without exceptions.
6017 * ParameterStruct.h:
6018 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6020 * bufferlist.C (emergencyWriteAll): use boost bind
6022 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6024 * text.C: include paragraph_funcs.h
6025 (breakParagraph): breakParagraph is now in global scope
6027 * paragraph_funcs.[Ch]: new files
6029 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6032 * buffer.C: include paragraph_funcs.h
6033 (insertStringAsLines): breakParagraph is now in global scope
6035 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6038 * CutAndPaste.C: include paragraph_funcs.h
6039 (cutSelection): breakParagraphConservative is now in global scope
6040 (pasteSelection): ditto
6042 * buffer.h: declare oprator== and operator!= for
6043 Buffer::inset_iterator
6045 * bufferlist.C (emergencyWrite): don't use fmt(...)
6047 * text3.C: add using std::endl
6049 * BufferView.C (moveCursorUpdate): remove default arg
6051 2002-08-20 André Pönitz <poenitz@gmx.net>
6053 * buffer.[Ch]: move inline functions to .C
6056 * BufferView_pimpl.C:
6058 * buffer.[Ch]: use improved inset_iterator
6061 * paragraph.[Ch]: write one paragraph at a time
6063 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6065 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6066 style if style is not specified.
6068 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6070 * text2.C (setCounter): when searching for right label for a
6071 caption, make sure to recurse to parent insets (so that a caption
6072 in a minipage in a figure float works) (bug #568)
6074 2002-08-20 André Pönitz <poenitz@gmx.net>
6076 * text3.C: new file for LyXText::dispatch() and helpers
6078 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6080 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6082 2002-08-19 André Pönitz <poenitz@gmx.net>
6085 * text.C: new LyXText::dispatch()
6087 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6089 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6091 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6093 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6096 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6098 * Makefile.am: use $(variables) instead of @substitutions@
6100 2002-08-15 André Pönitz <poenitz@gmx.net>
6103 * BufferView_pimpl.C: streamlining mathed <-> outer world
6107 * LyXAction.C: remove unused LFUN_MATH
6109 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6113 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * paragraph.C (Paragraph): reformat a bit
6116 (cutIntoMinibuffer): use builtin InsetList function instad of
6120 * buffer.C: include boost/bind.hpp, add using std::for_each
6121 (writeFileAscii): use ParagraphList iterators
6122 (validate): use for_each for validate traversal of paragraphs
6123 (getBibkeyList): use ParagraphList iterators
6124 (resizeInsets): use for_each to resizeInsetsLyXText for all
6126 (getParFromID): use ParagraphList iterators
6128 * BufferView2.C (lockInset): use paragraph list and iterators
6130 2002-08-14 John Levon <levon@movementarian.org>
6132 * lyxserver.C: remove spurious xforms include
6134 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6136 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6138 2002-08-13 André Pönitz <poenitz@gmx.net>
6141 * lyxfunc.C: further cleaning
6143 2002-08-13 André Pönitz <poenitz@gmx.net>
6145 * funcrequest.h: new constructor
6147 * funcrequest.C: move stuff here from .h
6150 * BufferView_pimpl.C:
6153 * lyxfunc.C: subsequent changes
6155 * lyxfunc.h: new view() member function
6157 * lyxfunc.C: subsequent changes
6159 2002-08-13 Angus Leeming <leeming@lyx.org>
6162 * BufferView_pimpl.C:
6170 changes due to the changed LyXView interface that now returns references
6171 to member variables not pointers.
6173 2002-08-13 Angus Leeming <leeming@lyx.org>
6175 * WordLangTuple (word, lang_code): return references to strings,
6180 * lyxtext.h: forward-declare WordLangTuple.
6185 * text.C: #include "WordLangTuple.h".
6188 * text.C: (selectNextWordToSpellcheck): constify return type.
6190 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6196 * paragraph_pimpl.h:
6199 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6201 Made updateCounter always count from start of buffer, and removed
6202 second argument (par).
6203 Reverted floats number display to '#'. Perhaps I'll try again when the
6204 code base is sanitized a bit.
6206 2002-08-12 Angus Leeming <leeming@lyx.org>
6208 * buffer.[Ch] (getLabelList): constify.
6210 2002-08-07 André Pönitz <poenitz@gmx.net>
6212 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6214 * funcrequest.h: extension to keep mouse (x,y) position
6216 2002-08-12 Juergen Vigna <jug@sad.it>
6218 * BufferView2.C (insertErrors): forbid undo when inserting error
6221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6223 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * ParagraphList.[Ch]: new files
6227 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6229 * BufferView2.C (lockInset): ParagraphList changes
6232 * bufferlist.C: ditto
6236 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6238 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6239 unused class variable counter_,
6241 * paragraph.[Ch] (getFirstCounter): delete unused function
6243 * counters.C: include LAssert.h
6244 (reset): add a new function with no arg, change other version to
6245 not have def. arg and to not allow empty arg.
6247 * text2.C (setCounter): remove empty arg from call to Counters::reset
6249 2002-08-11 John Levon <levon@movementarian.org>
6251 * Makefile.am: add WordLangTuple.h
6253 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6256 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6258 * insets/insettext.C: InsetList changes
6260 * graphics/GraphicsSupport.C (operator()): InsetList changes
6262 * toc.C (getTocList): InsetList changes
6264 * paragraph_pimpl.[Ch]: InsetList changes
6266 * paragraph.[Ch]: InsetList changes
6268 * buffer.C (inset_iterator): InsetList changes
6269 (setParagraph): ditto
6270 * buffer.h (inset_iterator): ditto
6271 * iterators.C (operator++): ditto
6272 * iterators.h: ditto
6274 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6276 * InsetList.[Ch]: new files, most InsetList handling moved out of
6279 * BufferView2.C (removeAutoInsets): InsetList changes
6281 (ChangeInsets): ditto
6283 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * paragraph_pimpl.h (empty): new function
6287 * paragraph.[Ch] (empty): new function
6289 * other files: use the new Paragraph::empty function
6291 2002-08-09 John Levon <levon@movementarian.org>
6293 * lyxtext.h: remove unused refresh_height
6295 2002-08-09 John Levon <levon@movementarian.org>
6302 * paragraph.C: move sgml char escaping out of paragraph
6305 * paragraph.C: remove id setter
6309 * paragraph_pimpl.C: remove dead tex_code_break_column
6311 * bufferview_funcs.C: small cleanup
6313 * lyxfunc.C: remove dead proto
6315 * lyxtext.h: make some stuff private. Remove some dead stuff.
6317 * lyxgluelength.C: make as[LyX]String() readable
6319 2002-08-08 John Levon <levon@movementarian.org>
6324 * ToolbarDefaults.C:
6327 * toc.C: lyxaction cleanup
6329 2002-08-08 John Levon <levon@movementarian.org>
6331 * BufferView2.C: small cleanup
6334 * lyxfind.C: move unnecessary header into the .C
6336 2002-08-08 John Levon <levon@movementarian.org>
6338 * funcrequest.h: just tedious nonsense
6341 * lyx_main.C: cleanups
6344 * vspace.C: remove dead header lyx_main.h
6346 2002-08-07 Angus Leeming <leeming@lyx.org>
6349 * paragraph_pimpl.h:
6350 Forward declare class Counters in paragraph.h by moving the ctrs member
6351 variable into Paragraph::Pimpl.
6352 (counters): new method, returning a reference to pimpl_->ctrs.
6354 * text2.C: ensuing changes.
6356 2002-08-07 John Levon <levon@movementarian.org>
6358 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6360 * BufferView_pimpl.C: announce X selection on double/triple
6363 * lyx_main.C: use correct bool in batch dispatch
6365 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6367 2002-08-07 André Pönitz <poenitz@gmx.net>
6369 * funcrequest.h: new class to wrap a kb_action and its argument
6372 * BufferView_pimpl[Ch]:
6376 * lyxrc.C: subsequent changes
6379 2002-08-07 John Levon <levon@movementarian.org>
6381 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6382 document options change.
6384 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6389 * makefile.am: move counters functionality over from
6390 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6392 2002-08-06 John Levon <levon@movementarian.org>
6394 * WordLangTuple.h: new file for word + language code tuple
6405 * BufferView2.C: use WordLangTuple
6408 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6410 2002-08-06 John Levon <levon@movementarian.org>
6412 * lyx_main.C: fix cmdline batch handling
6414 2002-08-06 André Pönitz <poenitz@gmx.net>
6416 * lyxrc.C: set default for show_banner to true
6418 2002-08-06 John Levon <levon@movementarian.org>
6420 * pspell.C: fix a crash, and allow new aspell to work
6422 2002-08-06 John Levon <levon@movementarian.org>
6425 * kbmap.C: small cleanup
6428 * vspace.C: add const
6430 2002-08-05 John Levon <levon@movementarian.org>
6432 * LyXAction.C: back to tabular-insert
6434 2002-08-04 John Levon <levon@movementarian.org>
6437 * BufferView.C: cosmetic change
6439 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6449 * BufferView2.C: purge all "Lyx" not "LyX" strings
6452 * lyxcursor.C: attempt to add some documentation
6457 * ToolbarDefaults.C:
6458 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6459 merge with LFUN_TABULAR_INSERT
6466 * pspell.C: split up i/pspell implementations into separate
6467 files, many cleanups
6469 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6471 * text2.C: some cleanup
6473 * lyxfunc.C: don't check for isp_command == "none" any more, it
6474 didn't make any sense
6476 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6481 * makefile.am: move counters functionality over
6482 from text2.C/paragraph.[Ch] to counters.[Ch], and
6484 2002-08-02 John Levon <levon@movementarian.org>
6486 * buffer.C: s/lyxconvert/lyx2lyx/
6488 2002-08-02 Angus Leeming <leeming@lyx.org>
6490 * lyxlex.C: revert John's change as it breaks reading of the user
6493 2002-08-02 Angus Leeming <leeming@lyx.org>
6495 * importer.C (Import):
6496 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6497 changes due to LyXView::view() now returning a boost::shared_ptr.
6499 2002-08-02 John Levon <levon@movementarian.org>
6501 * lyxlex.C: small cleanup
6503 2002-08-02 John Levon <levon@movementarian.org>
6505 * text2.C (status): small cleanup, no logic change
6507 2002-08-01 John Levon <levon@movementarian.org>
6510 * buffer.C (writeFile): don't output alerts, caller
6514 * lyx_cb.C: from above
6516 * lyxfunc.C: allow to open non-existent files
6518 2002-07-31 John Levon <levon@movementarian.org>
6520 * lyxserver.C: don't let incidental errors get
6523 2002-07-30 John Levon <levon@movementarian.org>
6525 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6527 2002-07-30 John Levon <levon@movementarian.org>
6530 * lyxserver.C: remove I/O callback too
6532 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6534 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6537 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * many files: strip,frontStrip -> trim,ltrim,rtrim
6541 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * PrinterParams.h: remove extern containsOnly, and include
6544 support/lstrings.h instead.
6546 * LaTeX.C (scanAuxFile): modify because of strip changes
6548 * buffer.C (makeLaTeXFile): ditto
6549 * bufferparams.C (writeFile): ditt
6550 * lyxfont.C (stateText): ditto
6551 * lyxserver.C (read_ready): ditto
6552 * vc-backend.C (scanMaster): ditto
6554 * BufferView_pimpl.h: ws changes
6556 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6558 2002-07-26 André Pönitz <poenitz@gmx.net>
6560 * kb_sequence.C: remove unnedred usings
6562 2002-07-26 Juergen Vigna <jug@sad.it>
6564 * lyxfind.C (LyXReplace): we have to check better if the returned
6565 text is not of theLockingInset()->getLockingInset().
6567 2002-07-25 Juergen Vigna <jug@sad.it>
6569 * lyxfind.C (LyXReplace): don't replace if we don't get the
6572 * undo_funcs.C (createUndo): remove debugging code.
6574 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6576 * buffer.C (parseSingleLyXformat2Token): Use default placement
6577 when reading old floats.
6579 * FloatList.C (FloatList): Change the default placement of figure
6580 and tables to "tbp".
6582 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6584 * MenuBackend.C: using std::max
6586 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6588 * MenuBackend.C (expandToc):
6589 (expandToc2): code moved from xforms menu frontend. It is now
6590 generic and TOCs are transparent to menu frontends.
6592 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6594 * toc.C (getTocList): protect against buf=0
6596 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6597 Menu as first parameter. Now, this calls itself recursively to
6598 expand a whole tree (this will be useful for TOC handling)
6599 (expandFloatInsert): remove 'wide' version of floats
6601 * MenuBackend.h (submenuname): returns the name of the submenu.
6602 (submenu): returns the submenu itself, provided it has been
6603 created by MenuBackend::expand
6605 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6607 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6608 insets which have noFontChange == true. (bug #172)
6610 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6612 * BufferView_pimpl.C: add connection objects and use them...
6615 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6617 * MenuBackend.C (expandLastfiles):
6620 (expandFloatListInsert):
6621 (expandFloatInsert):
6622 (expand): split expand in parts
6624 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6626 * lyx_gui.C: use lyx_gui::exit()
6628 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6630 * LyXAction.C: show the failing pseudo action
6632 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6634 * buffer.C (readFile): Run the lyxconvert script in order to read
6637 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6641 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6643 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6647 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6649 2002-07-22 Herbert Voss <voss@lyx.org>
6652 * lyxlength.[Ch]: add support for the vertical lengths
6654 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6656 * toc.[Ch]: std:: fixes
6658 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6660 * lyxrc.C: do not include lyx_main.h
6662 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6668 * BufferView2.C: include "lyxlex.h"
6671 * bufferparams.h: do not #include "lyxlex.h"
6673 * lyxtextclasslist.C (Add): remove method
6674 (classlist): renamed to classlist_
6676 * paragraph_pimpl.C:
6680 * bufferview_funcs.C:
6685 * toc.C (getTocList): use BufferParams::getLyXTextClass
6687 * toc.C (getTocList): use InsetFloat::addToToc
6689 * toc.[Ch]: new files, containing helper functions to handle table
6692 * lyxfunc.C (dispatch): no need to remove spaces around command
6694 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6695 first command of the sequence; it is not very clever, but I do not
6696 have a better idea, actually
6698 * LyXAction.C (LookupFunc): make sure to remove space at the
6699 beginning and end of the command
6701 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6703 * MenuBackend.C (getMenubar): new method: return the menubar of
6705 (read): treat differently reading of menu and menubar (in
6706 particular, the menubar has no name now)
6707 (Menu::menubar): remove
6709 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6712 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6714 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6715 a bibitem inset in a RTL paragraph.
6717 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6719 * paragraph_pimpl.C: constify
6721 * BufferView_pimpl.C:
6723 * lyxfunc.C: fix dispatch in a nicer way
6725 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6727 * lyxfunc.C (dispatch):
6728 * BufferView_pimpl.C:
6729 * BufferView_pimpl.h:
6731 * BufferView.h: rename Dispatch() to dispatch()
6733 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6735 * lyxlayout.C (Read): honor DependsOn tag
6737 * lyxlayout.[Ch] (depends_on): new method
6739 * version.C.in: update lyx_docversion
6741 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6743 * paragraph.C (validate): remove from here...
6744 * paragraph_pimpl.C (validate): ... and move here
6745 (isTextAt): make it const
6747 * buffer.C (getLists): ws cleanup
6749 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6751 * language.C (read): Use iso8859-1 encoding in latex_lang
6752 (this prevents LyX from crashing when using iso10646-1 encoding).
6754 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6756 * text2.C (toggleInset): if cursor is inside an inset, close the
6757 inset and leave cursor _after_ it
6759 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6761 * lyxfunc.C: move minibuffer completion handling out of here
6763 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6765 * BufferView_pimpl.C:
6766 * LaTeX.C: fix dispatch calls
6768 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6770 * text.C (drawChars): Fix Arabic text rendering.
6772 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6776 * lyxfunc.C: remove message-push/pop
6780 * lyxfunc.C: rationalise some code by removing verboseDispatch
6781 in favour of a bool argument to dispatch()
6783 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6785 * lyx_main.C (init): make sure to read symlinks as absolute paths
6787 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6790 * lyxfunc.C: no need for commandshortcut to be a member
6792 2002-07-15 André Pönitz <poenitz@gmx.net>
6794 * converter.C: add support for $$s (scripts from lib/scripts dir)
6795 * lyx_main.C: white space
6797 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6801 * lyxrc.C: remove second exit confirmation
6803 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6808 * BufferView_pimpl.h:
6809 * BufferView_pimpl.C:
6810 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6812 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6814 * MenuBackend.C (expand): add numeric shortcuts to document menu
6816 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6818 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * lyxfont.C (setLyXFamily):
6827 * buffer.C (asciiParagraph): use ascii_lowercase
6829 2002-07-15 Mike Fabian <mfabian@suse.de>
6831 * lyxlex_pimpl.C (search_kw):
6832 * lyxlex.C (getLongString):
6833 * converter.h (operator<):
6834 * converter.C (operator<):
6835 * buffer.C (parseSingleLyXformat2Token):
6837 * ToolbarDefaults.C (read):
6838 * MenuBackend.C (checkShortcuts):
6840 * LColor.C (getFromGUIName):
6841 (getFromLyXName): use the compare_ascii_no_case instead of
6842 compare_no_case, because in turkish, 'i' is not the lowercase
6843 version of 'I', and thus turkish locale breaks parsing of tags.
6845 2002-07-16 Angus Leeming <leeming@lyx.org>
6847 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6848 now takes a Buffer const & argument.
6850 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6852 * BufferView.C (resize): check there's a buffer to resize
6854 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6856 * lyxfunc.C: remove dead code
6859 * lyxserver.C: use lyx_guii::set_read_callback
6861 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6863 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6864 an inset in a RTL paragraph.
6866 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6868 * lyxfunc.C: repaint after a font size update
6870 2002-07-15 André Pönitz <poenitz@gmx.net>
6872 * lyxlength.C: inBP should be able to return negative values
6874 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6876 * lyxfunc.C: use lyx_gui::update_fonts()
6878 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6880 * lyxfunc.C: use lyx_gui::update_color()
6882 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6888 * lyxrc.C: remove file->new asks for name option, and let
6889 buffer-new take an argument
6891 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6893 * BufferView_pimpl.C: remove unneeded extra repaint()
6895 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6897 * LyXAction.C: allow command-sequence with NoBuffer
6899 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6901 2002-07-10 Angus Leeming <leeming@lyx.org>
6903 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6905 2002-07-09 Angus Leeming <leeming@lyx.org>
6907 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6909 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6911 * lengthcommon.h: whitespace
6913 * lyxfunc.C: update scrollbar after goto paragraph
6915 * lyxtext.h: factor out page break drawing, and fix it so
6916 page break/added space paints as selected nicely
6918 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6920 * BufferView_pimpl.C: add FIXMEs, clean up a little
6922 2002-07-09 André Pönitz <poenitz@gmx.net>
6924 * lyxfont.[Ch]: support for wasy symbols
6926 2002-07-08 André Pönitz <poenitz@gmx.net>
6928 * BufferView_pimpl.C: apply John's patch for #93.
6930 2002-07-05 Angus Leeming <leeming@lyx.org>
6932 * BufferView_pimpl.C (buffer): generate previews if desired.
6934 * LColor.h: add "preview" to the color enum.
6936 * LColor.C (LColor): add a corresponding entry to the items array.
6938 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6941 2002-07-05 Angus Leeming <leeming@lyx.org>
6943 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6944 The body of the code is now in the method that is passed an ostream &
6945 rather than a file name.
6946 Pass an additional only_preamble parameter, useful for the forthcoming
6949 2002-07-03 André Pönitz <poenitz@gmx.net>
6951 * lyxfunc.C: simplify getStatus() a bit for math stuff
6953 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6955 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6957 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6959 * text.C (changeRegionCase): do not change case of all the
6960 document when region ends at paragraph end (bug #461)
6962 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6964 * paragraph.C (startTeXParParams):
6965 (endTeXParParams): add \protect when necessary
6967 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6969 * BufferView_pimpl.C (workAreaExpose): remove warning
6971 2002-06-27 Angus Leeming <leeming@lyx.org>
6973 * Makefile.am: add lyxlayout_ptr_fwd.h.
6975 2002-06-26 André Pönitz <poenitz@gmx.net>
6977 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6979 2002-06-25 Angus Leeming <leeming@lyx.org>
6981 * lyxfunc.C (dispatch): Comment out the call to
6982 grfx::GCache::changeDisplay. The method no longer exists now that the
6983 pixmap generation part of the graphics loader has been moved into
6986 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6988 * text2.C: layout as layout
6990 * text.C: layout as layout
6992 * tabular.C (OldFormatRead): layout as layout
6994 * paragraph_pimpl.C (TeXDeeper): layout as layout
6995 (realizeFont): layout as layout
6997 * paragraph.C (writeFile): layout as layout
6998 (validate): layout as layout
6999 (getFont): layout as layout
7000 (getLabelFont): layout as layout
7001 (getLayoutFont): layout as layout
7002 (breakParagraph): layout as layout
7003 (stripLeadingSpaces): layout as layout
7004 (getEndLabel): layout as layout
7005 (getMaxDepthAfter): layout as layout
7006 (applyLayout): layout as layout
7007 (TeXOnePar): layout as layout
7008 (simpleTeXOnePar): layout as layout
7009 (TeXEnvironment): layout as layout
7010 (layout): layout as layout
7011 (layout): layout as layout
7013 * lyxtextclass.C (compare_name): new functor to work with
7014 shared_ptr, layout as layout
7015 (Read): layout as layout
7016 (hasLayout): layout as layout
7017 (operator): layout as layout
7018 (delete_layout): layout as layout
7019 (defaultLayout): layout as layout
7021 * lyxlayout_ptr_fwd.h: new file
7023 * lyxlayout.C (Read): layout as layout
7025 * lyx_cb.C (MenuInsertLabel): layout as layout
7027 * bufferlist.C (newFile): layout as layout
7029 * buffer.C (readLyXformat2): layout as layout
7030 (parseSingleLyXformat2Token): layout as layout
7031 (insertStringAsLines): layout as layout
7032 (asciiParagraph): layout as layout
7033 (latexParagraphs): layout as layout
7034 (makeLinuxDocFile): layout as layout
7035 (simpleLinuxDocOnePar): layout as layout
7036 (makeDocBookFile): layout as layout
7037 (simpleDocBookOnePar): layout as layout
7038 (getLists): layout as layout
7040 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7042 * CutAndPaste.C (cutSelection): layout as layout
7043 (pasteSelection): layout as layout
7044 (SwitchLayoutsBetweenClasses): layout as layout
7046 * BufferView_pimpl.C (Dispatch): layout as layout
7047 (smartQuote): layout as layout
7049 * BufferView2.C (unlockInset): layout as layout
7051 2002-06-24 André Pönitz <poenitz@gmx.net>
7053 * lyxfunc.C: fix #487
7055 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7059 * lyxfunc.C: remove display_shortcuts, show_banner
7061 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7063 * Buffer_pimpl.C: oops, update on resize
7065 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7072 * BufferView.C: use repaint()
7074 * BufferView_pimpl.h:
7075 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7076 as it's a clearer description. Remove superfluous
7079 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7081 * text.C: fix bug 488. Not ideal, but getting
7082 getWord() to work properly for the insets that
7083 matter is more difficult ...
7085 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7087 * BufferView_pimpl.C:
7090 * lyxfunc.C: remove the six million index lyxfuncs to just
7091 one, and DTRT (bug 458)
7093 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7097 * BufferView_pimpl.h:
7098 * BufferView_pimpl.C: clean up resize() stuff,
7099 and unnecessary updateScreen()s
7101 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7105 * BufferView_pimpl.h:
7106 * BufferView_pimpl.C:
7109 * minibuffer.C: remove focus management of workarea,
7110 not needed. Use screen's greyOut()
7112 2002-06-17 Herbert Voss <voss@lyx.org>
7114 * converter.C: (convert) do not post a message, when converting
7115 fails, let the calling function decide what to do in this case
7117 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7119 * lyxfunc.C: tidy up a little
7121 2002-06-16 <alstrup@diku.dk>
7123 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7124 Got rid of FORMS_H_LOCATION include. Now we are
7127 2002-06-15 LyX Development team <lyx@rilke>
7129 * buffer.[Ch] (sgmlOpenTag):
7130 (sgmlCloseTag): Added support for avoiding pernicious mixed
7131 content. Return number of lines written.
7134 (makeDocBookFile): Fixed calls to sgml*Tag.
7135 Simple white space clean.
7137 (simpleDocBookOnePar): Simple white space clean.
7139 * tabular.[Ch] (docBook): Renamed to docbook and got another
7140 argument to related with the pernicious mixed content.
7142 (docbookRow): Fixed calls for docbook inset method.
7144 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7146 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7147 so it's X11 independent.
7151 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7153 2002-06-15 Lyx Development team <lyx@electronia>
7155 * intl.h: Renamed getTrans to getTransManager.
7157 2002-06-14 Angus Leeming <leeming@lyx.org>
7159 * Makefile.am: nuke forgotten stl_string_fwd.h.
7161 2002-06-12 Angus Leeming <leeming@lyx.org>
7163 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7165 2002-06-13 Angus Leeming <leeming@lyx.org>
7168 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7170 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7172 * kbmap.C (getiso): add support for cyrillic and greek
7174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7178 * BufferView_pimpl.h:
7179 * BufferView_pimpl.C: move bogus scrolling logic
7182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7185 * BufferView_pimpl.C: view->resize() change
7187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7189 * BufferView_pimpl.C: topCursorVisible
7192 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7196 * lyx_gui.C: move to frontends/
7200 * lyx_main.C: changes from above
7202 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7209 * lyx_main.C: minor tidy
7211 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7213 * BufferView_pimpl.h:
7214 * BufferView_pimpl.C:
7216 * BufferView.C: make painter() const,
7219 * BufferView2.C: use screen() accessor
7222 * lyx_main.C: some minor cleanup
7224 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7226 * BufferView_pimpl.h:
7227 * BufferView_pimpl.C: remove enter/leaveView,
7230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7235 * BufferView_pimpl.h:
7236 * BufferView_pimpl.C: only construct screen once,
7239 * lyxrc.C: remove pointless comment
7241 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7244 * BufferView.C: remove active() and belowMouse()
7246 * BufferView_pimpl.h:
7247 * BufferView_pimpl.C: use workarea() not workarea_,
7248 and make it use a scoped_ptr instead
7250 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7252 * lyx_gui.C: add debug message on BadWindow
7254 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7256 * sp_spell.C: fdopen is not part of the C++ standard.
7258 * paragraph.C (InsetIterator): use >= instead of ==
7260 2002-06-07 Angus Leeming <leeming@lyx.org>
7262 Fixes needed to compile with Compaq cxx 6.5.
7263 * BufferView_pimpl.C:
7270 * lyxtextclasslist.C:
7275 all c-library variables have been moved into namespace std. Wrap
7276 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7281 Add a using std::abs declaration.
7283 * kbmap.h (modifier_pair):
7284 * paragraph.h (InsetTable, InsetList):
7285 * lyxfont.h (FontBits):
7286 type definition made public.
7288 * bufferlist.C (emergencyWriteAll): the compiler complains that
7289 there is more than one possible lyx::class_fun template to choose from.
7290 I re-named the void specialisation as lyx::void_class_fun.
7292 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7294 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7295 the compiler is is unable to find tostr in write_attribute.
7297 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7299 * buffer.C (sgmlError): hide #warning
7301 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7303 * xtl/*: get rid of xtl, which is not in use anyway
7305 * LyXAction.C (init):
7306 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7307 were unimplemented xtl experimentation
7309 2002-06-04 André Pönitz <poenitz@gmx.net>
7311 * lyxfunc.C: disable array operation on simple formulae
7313 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7315 * converter.C: constify a bit
7317 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7319 * lyx_gui.C: check xforms version correctly
7321 2002-04-30 Herbert Voss <voss@lyx.org>
7323 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7326 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7328 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7329 attempt to register it with a VCS)
7331 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7333 * lyx_main.C (init): honor variables LYX_DIR_13x and
7336 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7340 * lyx_main.C: fix a crash on bad command line,
7341 and give a useful exit status on error
7343 * lyxfunc.C (doImport): allow -i lyx to work
7345 2002-03-30 André Pönitz <poenitz@gmx.net>
7347 * lyxfunc.C: mathed font changes
7349 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7364 * trans_mgr.h: srcdocs, and some minor cleanups
7366 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7368 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7369 call getFont all the time)
7371 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7373 * switch from SigC signals to boost::signals
7375 2002-05-29 André Pönitz <poenitz@gmx.net>
7377 * paragraph_pimpl.C (getChar): don't call size() too often...
7379 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7381 * paragraph_pimpl.C (insertChar): do not try to update tables when
7382 appending (pos == size())
7384 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7385 in order to reduce drastically the number of comparisons needed to
7386 parse a large document
7388 2002-05-29 André Pönitz <poenitz@gmx.net>
7394 * textclasslist.[Ch]:
7395 * sp_ispell.h: whitespace change
7397 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7400 lyxaction directly now.
7402 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7406 * lyxvc.C: remove unused headers
7408 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7415 * undo_funcs.C: some cleanups. Use shared_ptr
7416 and a template for the undo stacks.
7418 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7420 * BufferView_pimpl.h:
7421 * BufferView_pimpl.C:
7428 * text2.C: use key_state/mouse_state
7430 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7432 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7435 * chset.C: change include order
7436 (loadFile): use boost regex and get rid of LRegex and LSubstring
7438 * Makefile.am (BOOST_LIBS): new variable
7441 * LaTeX.C: change include order.
7442 (scanAuxFile): use boost regex and get rid of LRegex and
7446 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7451 * FontInfo.C: moved to frontends/xforms/
7454 * FontLoader.C: moved into frontends for GUIIzation
7459 * lyxfunc.C: changes from above
7461 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7463 * LColor.C: remove spurious X include
7465 * BufferView_pimpl.C:
7470 * text2.C: move font metrics to frontends/
7472 2002-05-24 Juergen Vigna <jug@sad.it>
7474 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7475 setting the undo_cursor.
7477 * ParagraphParameters.h: include local includes first.
7479 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7481 * BufferView_pimpl.C:
7482 * BufferView_pimpl.h:
7486 * screen.C: move WorkArea into frontends/
7492 * BufferView2.C: move LyXScreen into frontends/
7496 * lyx_gui.C: move lyxlookup into frontends/xforms/
7498 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7501 * BufferView_pimpl.C:
7511 * bufferview_funcs.C:
7524 * vc-backend.C: move LyX/XFormsView into frontends/
7526 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7538 * text2.C: move Painter to frontends/
7540 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7542 * buffer.C: comment out some some code that depend upon lyx_format
7545 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7546 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7548 * buffer.h (NO_COMPABILITY): turn off compability
7550 * ColorHandler.C: include scoped_array.hpp
7552 * font.C: Use more specific smart_ptr header.
7555 * ShareContainer.h: ditto
7559 * BufferView_pimpl.h: ditto
7560 * ColorHandler.h: ditto
7562 * kbmap.C (defkey): change call to shared_ptr::reset
7564 2002-05-21 Juergen Vigna <jug@sad.it>
7566 * buffer.C (insertErtContents): fix to insert ert asis if it is
7567 non empty. Skip it completely if it contains only whitespaces.
7569 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7571 * BufferView_pimpl.C:
7572 * BufferView2.C: clear selection on paste (bug 393)
7574 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7576 * DepTable.C: include ctime
7578 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7580 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7582 2002-05-14 Juergen Vigna <jug@sad.it>
7584 * text.C (breakParagraph): fixed function to honor the keepempty
7585 layout in the right maner and also to permit the right breaking
7586 algorithm on empty or non empyt keepempty paragraphs.
7588 * paragraph.C (breakParagraph): we have to check also if the par
7589 is really empty (!size()) for isempty otherwise we do the wrong
7592 2002-05-10 Juergen Vigna <jug@sad.it>
7594 * buffer.[Ch] : The following are only changes to the ert
7595 compatibility read reading old LaTeX layout and font stuff and
7596 convert it to ERTInsets.
7598 * buffer.h: added isErtInset().
7600 * buffer.C (struct ErtComp): add a fromlayout bool to check
7601 if we're inside a LaTeX layout.
7602 (isErtInset): new helper function.
7603 (insertErtContents): look for other ert insets before this one
7604 and insert the contents there, so that we don't have subsequent
7605 ERT insets with nothing between them. This way we create only one
7606 inset with multiple paragraphs. Also check if we don't insert only
7607 spaces ' ' as they are ignored anyway afterwards in the .tex file
7608 so if we have only spaces we will ignore this latex part in the
7610 (parseSingleLyXformat2Token \\layout): better compatibility when
7611 reading layout-latex stuff.
7612 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7614 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7615 stuff after reading the inset only get the information back from
7618 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7620 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7622 * LaTeXFeatures.C (getBabelOptions): New method.
7624 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7626 * BufferView_pimpl.C (Dispatch): work around missing argument for
7629 2002-05-08 Juergen Vigna <jug@sad.it>
7631 * text.C (leftMargin): handle paragraph leftindent.
7633 * paragraph.C (writeFile): write the new \\leftindent tag.
7634 (validate): handle leftindent code.
7635 (TeXEnvironment): handle paragraphleftindent code again.
7637 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7639 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7640 for paragrap_extra indent code and new token \\leftindent.
7641 (latexParagraphs): handle the leftindent as environment.
7643 * ParameterStruct.h: added leftindent support.
7645 * ParagraphParameters.C (leftIndent): added support functions for
7646 the paragraph left indent.
7648 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7651 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7653 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7656 * text.C (computeBidiTables): No bidi in insetERT.
7658 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7661 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7663 * version.C.in: pre 5
7665 2002-05-02 José Matos <jamatos@fep.up.pt>
7666 * buffer.C (makeDocBookFile): white space changes, add newline to
7668 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7670 * tabular.C (docBook): fix typo.
7672 2002-05-03 Juergen Vigna <jug@sad.it>
7674 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7675 change in LyXText as we can not be sure it was not freed.
7676 (drawOneRow): remove unused code.
7678 * text.C (drawInset): redo the calculation of the need_break_row as
7679 it could have a row which was already freed.
7680 (draw): look at the return value of drawInset and return false if
7681 it also returned false.
7682 (paintRowText): look at the return value of draw and return false if
7683 it also returned false.
7685 * lyxtext.h: added bool return type to drawInset() and draw() so that
7686 if we have a change in the row so that the rowbreak has to be redone
7687 we abort drawing as it will be called again.
7689 2002-05-02 Juergen Vigna <jug@sad.it>
7691 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7692 a change in the maintext also if we're inside an inset.
7693 (Dispatch): set the cursor again after a break line and after the
7694 screen has been updated as it could be we're in a different row.
7696 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7697 to set the cursor behind the pargraph with > size().
7698 (setCursor): check also for the same paragraph when checking where
7699 to put the cursor if we have a NFR inset.
7701 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7702 parts of layout read further up as it still was in the wrong
7705 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7707 * screen.C (drawFromTo): change sine fullRebreak always return
7710 * buffer.C (parseSingleLyXformat2Token): reindent some
7712 * BufferView_pimpl.C (update): change since fullRebreak always
7714 (Dispatch): git rid of the last hardcoded "Standard"s.
7716 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7718 * text2.[Ch] (fullRebreak): make it return void now that we always
7721 2002-04-30 Juergen Vigna <jug@sad.it>
7723 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7724 ert compatibility check for "latex" layout.
7726 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7728 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7729 minipages: use col% instead of p%, and also use the current font.
7730 (makeLaTeXFile): Fix use babel condition.
7731 (parseSingleLyXformat2Token): Correct font when reading old floats.
7733 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7735 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7736 inserting list of floats.
7738 2002-04-25 Herbert Voss <voss@lyx.org>
7740 * MenuBackend.C (expand): don't add the graphics extensions to the
7743 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7745 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7746 non-existing layout, do not complain if it was the default layout
7747 of the original class (bug #342)
7749 2002-04-24 Juergen Vigna <jug@sad.it>
7751 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7752 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7754 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7756 * buffer.C (getBibkeyList): If using \bibliography, return the
7757 option field with the reference itself. Enables us to provide natbib
7758 support when using \bibliography.
7760 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7762 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7764 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7765 natbib is provided by the LaTeX class.
7767 2002-04-23 Juergen Vigna <jug@sad.it>
7769 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7772 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7774 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7776 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7778 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7779 ensuremath around textordmasculine, textordfeminine and
7782 2002-04-19 Juergen Vigna <jug@sad.it>
7784 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7785 reinitializing the buffer otherwise row-dimensions may be wrong.
7786 (update): reset also the selection cursors if they do exits otherwise
7787 their x/y positions may be wrong.
7789 * text2.C (cursorDown): don't enter the inset if we came from a row
7790 above and are one row over the inset.
7792 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7793 really leaving an inset.
7795 2002-04-18 Juergen Vigna <jug@sad.it>
7797 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7798 of the selected paragraph does not have the selected layout also if
7801 * text2.C (setLayout): fixed bug which did not change last selected
7804 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7805 changed the read and substituted \\end_float with \\end_inset!
7807 * BufferView_pimpl.C (cursorPrevious):
7808 (cursorNext): fixed to make it work with rows heigher than the work
7809 area without moving the cursor only the draw of the row.
7810 (workAreaMotionNotify): fix jumping over high rows.
7812 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7814 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7817 2002-04-16 Juergen Vigna <jug@sad.it>
7819 * text2.C (setCursor): set also the irow().
7820 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7822 (cursorDown): support for locking an inset if the x_fix value goes
7823 inside it. That way I can transverse insets too with cursor up/down.
7825 * lyxrow.h: added irow helper function same as other (i) functions.
7827 * BufferView_pimpl.C (cursorPrevious):
7828 (cursorNext): fixed for insets!
7830 2002-04-15 Juergen Vigna <jug@sad.it>
7832 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7833 position otherwise it is wrong in some cases.
7835 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7836 inside the inset before the call.
7838 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7840 * buffer.[Ch] (getBibkeyList): make it const.
7842 2002-04-12 Juergen Vigna <jug@sad.it>
7844 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7846 * text2.C (getCursorX): new helper function
7847 (setCursor): compute also ix_
7848 (setCursorFromCoordinates): set also ix.
7850 * lyxcursor.h: added ix_ and helper functions.
7852 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7854 * buffer.C (insertStringAsLines): dont break paragraph if the this
7855 paragraph is inside an inset which does not permit it!
7857 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7858 also with no chars on this paragraph.
7859 (paintRowText): only paint stuff if it's inside the workarea!
7861 * paragraph.C (breakParagraph): honor keepempty flag and break the
7862 paragraph always below not above.
7864 * BufferView2.C (unlockInset): update the paragraph layout on inset
7865 unlock as we changed paragraph in such a case.
7867 * lyxfind.C (LyXFind): clear the former selection if not found!
7869 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7870 again called in insertChar().
7872 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7873 an inset which uses the whole row!
7874 (rightMargin): ditto.
7875 (insertChar): force a rebreak if we inserted an inset!
7877 2002-03-28 Herbert Voss <voss@lyx.org>
7879 * lyxlength.[Ch]: add inBP() to get the right PS-point
7880 units (BigPoint). With inPixels we have rounding errors
7882 2002-04-11 Juergen Vigna <jug@sad.it>
7884 * text2.C (setCursorFromCoordinates): set iy to the right value.
7885 (setCursor): add check if row->previous exists!
7887 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7888 an old float_type as this was the case in the old code!
7890 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7892 * BufferView2.C (showLockedInsetCursor): use iy
7893 (fitLockedInsetCursor): ditto
7895 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7896 locked insets as there we have the right value now.
7898 * lyxcursor.C: added iy_ variable and iy functions to set to the
7899 baseline of cursor-y of the locked inset.
7901 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7902 (setCursor): fixed for insets which need a full row.
7904 * text.C (rowLastPrintable): don't ignore the last space when before
7905 an inset which needs a full row.
7906 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7907 as last character of a row when before a inset which needs a full row.
7909 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7911 * version.C.in: update date
7913 * text2.C (fullRebreak): try to always return true and see what
7916 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7918 * MenuBackend.C (expand): use Floating::listName
7920 * FloatList.C (FloatList): add listName argument to the built-in
7923 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7924 text associated with the float.
7926 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7928 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7930 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7932 * ShareContainer.h: add a couple of missing typenames.
7934 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7936 * lyxrc.C (getDescription): use _() correctly rather than N_().
7938 2002-03-28 Herbert Voss <voss@lyx.org>
7940 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7941 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7943 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7946 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7948 2002-03-29 Juergen Vigna <jug@sad.it>
7950 * lyxfunc.C (dispatch): add a missing fitCursor call.
7952 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7953 it was scrolled by a cursor move, so return the bool status.
7955 * BufferView.C (fitCursor): return the bool flag also to the outside
7956 world as this is needed.
7958 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7960 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7961 call the edit() as it is not needed (and wrong) IMO.
7962 (workAreaButtonPress): set the screen_first variable before evt.
7963 unlock the inset as this may change screen_first and then we have
7964 a wrong y position for the click!
7966 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7968 * MenuBackend.C (expand): another translation that I missed
7970 2002-03-28 Juergen Vigna <jug@sad.it>
7972 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7974 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7976 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7978 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7980 * MenuBackend.C (expand): fix export/view/update when there is no
7983 2002-03-27 Herbert Voss <voss@lyx.org>
7985 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7988 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7990 * bufferview_funcs.C (currentState): only show paragraph number
7991 for is DEVEL_VERSION is set.
7993 * lyxfunc.C (dispatch): put warning in INFO channel
7995 * MenuBackend.C (expand): translate the name of floats
7997 * FloatList.C (FloatList): mark the float names for translation
7999 * converter.C (convert): use LibScriptSearch
8001 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8003 * MenuBackend.C (defaults): fix default menu (we might as well get
8006 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8008 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8011 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8013 * lyxvc.C: reorder includes.
8015 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8017 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8020 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8022 * CutAndPaste.C: change layouts earlier on paste
8023 to avoid crashing when calling getFont()
8025 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8027 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8030 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8032 * WorkArea.C: remove 'Pending' debug message.
8034 * most files: ws cleanup
8036 * buffer.[Ch]: ws changes
8038 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8040 2002-03-21 Juergen Vigna <jug@sad.it>
8042 * tabular.C (SetMultiColumn): collapse also the contents of the
8043 cells and set the last border right. Added a Buffer const * param.
8045 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8047 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8050 2002-03-19 Juergen Vigna <jug@sad.it>
8052 * text2.C (clearSelection): reset also xsel_cache.
8054 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8055 where it needs to be called (John tells us to do so too :)
8056 (selectionLost): reset sel_cache.
8058 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8060 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8062 * text2.C (setCursorIntern): put debuging code in INSETS channel
8064 2002-03-19 André Pönitz <poenitz@gmx.net>
8066 * lyxfunc.C: tiny whitespace change
8068 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * ToolbarDefaults.C (init):
8071 * LyXAction.C (init):
8073 * BufferView_pimpl.C (Dispatch):
8074 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8076 2002-03-19 Allan Rae <rae@lyx.org>
8078 * exporter.C (Export): removeAutoInsets before doing anything else.
8079 While I've just introduced a dependency on BufferView this really is
8080 the best place to clean the buffer otherwise you need to cleanup in
8081 a dozen places before calling export or cleanup in a dozen functions
8084 * converter.C (runLaTeX):
8085 (scanLog): Better handling of removeAutoInsets and screen updates.
8087 * lyxfunc.C (dispatch): small whitespace changes
8089 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8091 * WorkArea.C (C_WorkAreaEvent): return a value.
8092 (event_cb): return 1 if we handled the event, 0 otherwise.
8094 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8096 2002-03-18 Juergen Vigna <jug@sad.it>
8098 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8099 (GetAdditionalWidth): ditto.
8103 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8104 inset if we're there actually (probably not used right now but this
8105 is the direction to go for unifying code).
8106 (paste): disable code to clear the selection.
8108 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8109 inside an InsetText and move the check further up as it is in the
8112 * text2.C (pasteSelection): set a selection over the pasted text.
8114 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8116 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8117 and libgraphics to build on Cygwin.
8119 2002-03-15 Juergen Vigna <jug@sad.it>
8121 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8122 inserting an Inset into the paragraph. I know this is not the best
8123 fix but we already use current_view in CutAndPaste so we will remove
8124 all of it's using at the same time.
8126 * buffer.C (sgmlError): deactivated function till it is rewritten in
8127 the right mode, now it can create problems.
8129 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8130 before accessing it.
8132 2002-03-14 Juergen Vigna <jug@sad.it>
8134 * undo_funcs.C (textHandleUndo): do the right thing when updating
8135 the inset after the undo/redo.
8137 * text2.C (setCursor): just some testcode for #44 not ready yet.
8139 * undo_funcs.C (textHandleUndo): set the next() and previous()
8140 pointers of the paragraph to 0 before deleting otherwise we have
8141 problems with the Paragraph::[destructor].
8143 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8144 on a paragraph insertion.
8146 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8148 * buffer.C (asciiParagraph): use += operator for char append to
8151 * paragraph.C (getFontSettings): compare >= not just >
8152 (highestFontInRange): ditto
8155 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8157 * paragraph.C: change several algorithm to be more appripriate for
8158 the problem domain. This is lookip in FontList and in the InsetList.
8160 2002-03-13 André Pönitz <poenitz@gmx.net>
8163 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8165 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8170 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8172 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8174 * Painter.C (display): anon helper function, adjust code for this
8176 (pixmap): remove function.
8178 * Painter.h: remove private display variable.
8180 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8182 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8184 * WorkArea.[Ch]: remove figinset_canvas cruft.
8186 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8188 * lyxtextclass.C (operator): add one item cache optimization.
8190 * bufferlist.h: doxy changes
8192 * bufferlist.C: ws changes
8194 * DepTable.[Ch] (ext_exist): place const in the right spot.
8196 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8198 (workAreaExpose): call resizeInsets when the with BufferView changes.
8199 (Dispatch): adjust for protectedBlank removal
8200 (specialChar): call updateInset if the insert went ok.
8202 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8203 specialChar instead.
8205 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8207 * BufferView.h: doxy change
8209 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8211 * lyxtextclass.C (operator[]): remove non-const version
8212 (defaultLayout): remove non-const version
8214 2002-03-12 Juergen Vigna <jug@sad.it>
8216 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8217 did resize the LyXText too.
8219 * buffer.C (readLyXformat2): set layout information on newly allocated
8222 * tabular.C (OldFormatRead): set layout information on the paragraph.
8224 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8226 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8228 2002-03-11 Juergen Vigna <jug@sad.it>
8230 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8232 (resizeCurrentBuffer): force also the insets to resize themselfes.
8233 (moveCursorUpdate): fixed up for InsetText.
8235 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8238 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8239 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8240 value of Dialogs::tooltipsEnabled().
8241 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8243 2002-03-08 Juergen Vigna <jug@sad.it>
8245 * BufferView_pimpl.C (updateInset): update inset inside inset also
8246 if it isn't inside theLockingInset().
8248 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8250 * buffer.C (asciiParagraph): redo some of the word and line length
8252 (getLists): look for Caption instead of caption.
8254 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8256 * buffer.C (Buffer): initialize niceFile to true
8259 (makeDocBookFile): make sure niceFile is true on exit
8261 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8263 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8265 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8267 * LyXSendto.C: remove.
8268 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8269 * lyx_gui.C: remove now-redundant comment.
8270 * ColorHandler.h: remove forward declaration of class WorkArea.
8271 * lyxfunc.C: remove #include "WorkArea.h".
8273 2002-03-07 Juergen Vigna <jug@sad.it>
8275 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8276 got moved away with the DEPM and also set the inset_owner always
8277 right which before could have been omitted.
8279 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8281 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8282 wanted layout is not found.
8284 2002-03-07 Juergen Vigna <jug@sad.it>
8286 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8288 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8290 * paragraph.C (breakParagraph): use default layout not layout of
8292 (Paragraph): clear ParagraphParameters.
8294 2002-03-06 Juergen Vigna <jug@sad.it>
8296 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8297 otherwise it would not be a valid lenght. Fixed a special case in
8298 the minipage compatibility read where we end the document with a
8301 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8302 was set as it could be 0 for InsetTexts first entry.
8304 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8306 * paragraph.C (writeFile): if layout is empty write out
8307 defaultLayoutName().
8309 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8310 file without named layout we set layout to defaultLayoutName().
8312 2002-03-06 Juergen Vigna <jug@sad.it>
8314 * CutAndPaste.C (copySelection): set layout for new paragraph.
8316 * text.C (prepareToPrint): leave ERT inset left aligned
8317 (leftMargin): don't indent paragraphs inside ERT insets
8319 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8321 * paragraph.C (breakParagraph): dont call clear do the work manually
8323 * paragraph.[Ch] (clear): remove function
8325 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8327 * paragraph.C (Paragraph): dont call clear, the work has already
8330 * lyxtextclass.C (operator): assert if n is empty
8332 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8333 work manually instead.
8335 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8337 * BufferView_pimpl.C: protect selectionLost against text == 0
8339 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8341 * text.C (breakParagraph): fix a setting layout to '0' problem.
8343 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8345 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8346 final location of file, for the included files, and graphics.
8348 2002-03-05 Juergen Vigna <jug@sad.it>
8350 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8352 2002-03-04 Juergen Vigna <jug@sad.it>
8354 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8356 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8357 last column of multicolumn cells.
8358 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8360 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8362 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8363 file if it doesn't go to a temporary file.
8365 * buffer.C (sgmlOpenTag):
8366 (sgmlCloseTag): remove extra newline insertion.
8368 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8370 * text.C (getRowNearY): comment out debug msg
8372 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8374 * text2.C: first -> first_y
8376 * text.C (getRowNearY): add some attemts at a possible
8377 optimization, not working.
8379 * tabular.[Ch]: add BufferParams to several function so that newly
8380 created paragraph can be initialized to he default layotu for the
8383 * tabular-old.C (ReadOld): add buf->params to call of Init
8385 * screen.C: rename text->first to text->first_y
8387 * paragraph.C (breakParagraph): always set layout in the broken
8390 * lyxtextclass.C (Read): remove lowercase
8393 (delete_layout): ditto
8395 * lyxtext.h: rename first -> first_y
8397 * lyxlayout.C (Read): remove lowercase
8400 (obsoleted_by): ditto
8402 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8404 * buffer.C (insertErtContents): add params are to InsetERT
8405 (parseSingleLyXformat2Token): add code to check if a paragraphs
8406 layout really exist.
8407 (parseSingleLyXformat2Token): add params to several inset
8409 (asciiParagraph): remove lowercase, do the layout comparisons with
8412 * BufferView_pimpl.C (cursorNext): first -> first_y
8413 (resizeCurrentBuffer): first -> first_y
8414 (updateScrollbar): first -> first_y
8415 (scrollCB): first -> first_y
8416 (workAreaMotionNotify): first -> first_y
8417 (workAreaButtonPress): first -> first_y
8418 (checkInsetHit): first -> first_y
8419 (cursorPrevious): first -> first_y
8420 (cursorNext): first -> first_y
8421 (Dispatch): add buffer_->params to severl inset contructors
8423 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8425 * lyxlayout.C (Read): remove some debug info that I forgot.
8427 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8428 clean up the code slightly.
8429 (makeLinuxDocFile): ditto
8430 (makeDocBookFile): ditto
8432 * text2.C: layout as string
8434 * text.C: layout as string
8436 * paragraph_pimpl.C: layout as string
8438 * paragraph.[Ch]: layout as string
8440 * lyxtextclasslist.[Ch]: layout as string
8442 * lyxtextclass.[Ch]: layout as string
8444 * lyxtext.h: layout as string
8446 * lyxlayout.[Ch]: layout as string
8448 * lyx_cb.C: layout as string
8450 * bufferview_funcs.C: layout as string
8452 * bufferparams.C: layout as string
8454 * buffer.C: layout as string
8456 * LyXView.[Ch]: layout as string
8458 * LaTeXFeatures.[Ch]: layout as string
8460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8462 * BufferView_pimpl.C: change current_layout to string, remove
8467 (workAreaButtonRelease): layout as string
8469 * BufferView2.C (unlockInset): adjust
8471 * vspace.C (asLatexCommand): use an explict temp variable.
8473 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8475 * Makefile.am: use FRONTEND_*
8477 2002-03-01 Juergen Vigna <jug@sad.it>
8479 * tabular.C (SetWidthOfMulticolCell): changed to something better
8480 I hope but still work in progress.
8481 (recalculateMulticolumnsOfColumn): renamed function from
8482 recalculateMulticolCells as it is more appropriate now.
8483 (SetWidthOfCell): calculate multicols better.
8485 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8487 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8489 * lyxfunc.C (processKeySym): print sequence also if it is
8490 `deleted' (complete)
8492 * kbsequence.C (print): print sequence even if it is deleted
8493 (complete would be a better word, actually).
8495 * lyxfunc.C (dispatch): print complete options after a prefix key
8497 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8499 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8501 * text2.C (setCharFont): eliminate setCharFont code duplication.
8503 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8505 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8506 LFUN_TABULAR_FEATURE (bug #177)
8508 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8510 * Makefile.am: remove figure.h
8512 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8514 * Bufferview_pimpl.C:
8526 * text2.C: remove #include "lyx_gui_misc.h".
8528 * LaTeX.C: added #include <cstdio>
8530 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8532 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8533 that the paragraph following this one can have.
8535 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8537 * vspace.C (asLatexCommand): fix bogus gcc warning
8539 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8541 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8543 * text2.C (setLayout): get rid of redundant code
8545 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8547 * text2.C (incDepth): make sure depth cannot be increased beyond
8550 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8552 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8553 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8555 * PainterBase.h (image):
8556 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8559 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8563 * BufferView_pimpl.C:
8564 * BufferView_pimpl.h:
8584 * sp_spell.C: remove fig inset, and the crap house of
8585 cards that follows it
8587 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8593 * nt_defines.h: move .h into support/
8595 * vms_defines.h: remove
8597 * WorkArea.C: add space in debug output
8601 * buffer.C: add WITH_WARNINGS
8605 * bufferlist.C: s/retrive/retrieve/, add docs
8616 * lyxgui.C: add ID to X error handler
8618 * lyxtestclass.c: fix typo
8620 2002-02-26 Juergen Vigna <jug@sad.it>
8622 * tabular_funcs.C (write_attribute): changed so that some default
8623 attributes are not written at all.
8624 (getTokenValue): set default values before trying to read the
8625 value so we have the return value always set as default if we don't
8626 find the token we search for.
8628 * tabular.C (Write): write bools as bools not as strings!
8630 2002-02-22 Juergen Vigna <jug@sad.it>
8632 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8633 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8635 * text.C (leftMargin): don't add an indent for paragraphs inside
8636 tabular cells (fix #208).
8638 2002-02-21 José Matos <jamatos@fep.up.pt>
8640 * tabular.C (docBook): fixed support for long tables.
8642 2002-02-20 Juergen Vigna <jug@sad.it>
8644 * text2.C (getFont): get the drawing font of the Inset if this
8645 paragraph is inside an inset (only important for InsetERT for now).
8647 * buffer.C (insertErtContents): use new lanugage params in ERT
8650 * CutAndPaste.C: commenting out seemingly uneeded code.
8652 2002-02-19 Allan Rae <rae@lyx.org>
8654 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8655 Iterators might be simple to use but they also get invalidated.
8656 (removeAutoInsets): renamed saved cursor tracking variables and added
8657 some comments to clarify what everything does.
8659 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8666 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8667 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8670 * vc-backend.h: remove #include "support/syscall.h"
8674 * converter.C: rearrange #includes in Lars' approved fashion.
8676 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8677 forward declare class Timeout in the header file.
8679 * XFormsView.C: changes due to the above.
8681 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8684 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8685 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8687 2002-02-18 José Matos <jamatos@fep.up.pt>
8689 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8692 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8694 * a lot of small ws changes
8695 * add a lot of using std::XXX
8696 * use std construcs some places where approp.
8697 * use some exisint stuff from lyxfunctional where approp.
8698 * Make file changes to use partial linking (lets test this now...)
8700 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8704 remove #include "support/syscontr.h" as it's redundant. Always has been.
8712 change Systemcalls::System to Systemcalls::Wait and
8713 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8714 No change of functionality, just reflects the stripped down Systemcalls
8717 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8719 * debug.[Ch]: add a GRAPHICS type to the enum.
8721 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8723 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8725 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8728 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8730 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8731 match the changes below.
8733 * text2.C (toggleInset): if there is not editable inset at cursor
8734 position, try to see if cursor is _inside_ a collapsable inset
8737 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8739 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8740 document menu has a nice checkbox
8742 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8744 * lyxlength.C (asLatexString): change PW to output as percent of
8747 * lengthcommon.C: change '%' to 't%'
8749 * lyxfunc.C (dispatch): a few comments from Martin
8751 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8755 * BufferView_pimpl.h:
8756 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8759 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8761 * vspace.C (inPixels): fix compiler warning
8763 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8765 * lyxfunc.C (getStatus): fix status message for disabled commands.
8767 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8769 * BufferView_pimpl.C: fix crash on close buffer
8770 during selection (#227)
8772 2002-01-27 Herbert Voss <voss@lyx.org>
8774 * buffer.C: link old Figure to new graphic inset
8776 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8778 * FontLoader.C (getFontinfo): Change the latex font names in order
8779 to match the names of type1inst.
8781 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8785 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8788 (remove_files_with_extension): ditto
8789 (remove_file): ditto
8792 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8793 document is smaller than the work area height. Do not initialize
8794 static variables to 0.
8796 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8800 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8801 LFUN_LAYOUT_PARAGRAPHS.
8803 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8804 tabular. It is possible to provide a possible cell, which will
8805 typically be the actcell from the corresponding insettabular
8807 * lyxfunc.C (getStatus): small cleanup; disable
8808 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8811 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8815 * paragraph.C (startTeXParParams):
8816 (endTeXParParams): new methods. The LaTeX code to
8817 start/end paragraph formatting
8818 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8819 empty (fixes bug #200)
8821 * vspace.C (inPixels): adapt to the change below
8822 (inPixels): [later] more cleanups (remove unused variables)
8824 * lyxlength.C (inPixels): change to use a width and a height as
8827 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8830 Replaced with \paperwidth
8832 * DepTable.C (insert): add std:: qualifier
8834 2002-01-18 Allan Rae <rae@lyx.org>
8836 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8839 * text.C (drawInset): Turned out I didn't know enough about how
8840 rebreaking worked. This fixes most of the redraw problems. I see
8841 an occasional cursor trail when a line is broken now and the cursor
8842 placement can seem out by a few pixels also after a rebreak.
8844 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8846 * buffer.C (parseSingleLyXformat2Token): update because minipage
8847 width is now a LyXLength
8849 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8851 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8854 2002-01-17 Juergen Vigna <jug@sad.it>
8856 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8858 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8859 is set correctly and the inset is updated correctly.
8861 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8863 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8864 the beginning of the loop.
8866 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8868 * lyxrc.C: improve help for use_scalable_fonts
8870 2002-01-17 Allan Rae <rae@lyx.org>
8872 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8874 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8877 make sure to set their inset_owner to the right value (bug #171)
8879 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8882 * DepTable.C: Implement mtime checking to reduce time spent doing
8885 2002-01-16 Juergen Vigna <jug@sad.it>
8887 * tabular.C (GetAdditionalHeight): one of error fixed.
8889 * lyxrc.C (output): small fix in writing use_pspell.
8891 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8893 * sp_base.h: #include LString.h
8895 2002-01-16 Allan Rae <rae@lyx.org>
8897 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8898 Can someone check this please?
8900 * text.C (drawInset): It was possible that p.row would be removed by
8901 breakAgainOneRow upsetting a few other settings. There may be another
8902 small tweak possible by setting need_break_row = 0 when p.row has been
8903 removed but I don't know enough about the logic here.
8905 2002-01-15 Allan Rae <rae@lyx.org>
8907 * text.C (insertChar): removed conditional truism.
8909 * BufferView2.C (removeAutoInsets): More tweaks.
8910 cur_par_prev could be a stray pointer. Check for trailing empty line
8911 in case last line was cur_par and only had an error inset on it.
8913 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8915 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8918 * vc-backend.C (most methods):
8919 * exporter.C (Export):
8920 * converter.C (convert):
8922 * LyXSendto.C (SendtoApplyCB):
8923 * lyxfunc.C (dispatch):
8927 * lyx_cb.C (AutoSave):
8929 * BufferView_pimpl.C (MenuInsertLyXFile):
8930 * buffer.C (runChktex): use Buffer::filePath().
8932 * buffer.h: rename filename to filename_; rename filepath to
8933 filepath_ and make it private
8934 (filePath): new method
8936 * buffer.C (writeFile): use fileName()
8939 * lyx_main.C (init): fix starting of LyX when the binary is a
8940 link from so,ewhere else.
8942 * minibuffer.C: include <cctype> for isprint
8944 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8946 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8947 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8948 name clash with InsetCollapsable's width function.
8950 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8952 * lastfiles.C: include <iterator>
8954 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8956 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8959 * buffer.C (makeLaTeXFile): ditto.
8960 Also make loop operation more transparent.
8962 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8964 * ToolbarDefaults.C: remove trailing comma closing namespace.
8966 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8968 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8971 * trans.C (Load): comment out unused variable, allowed.
8973 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8975 * minibuffer.[Ch] (append_char): new method to recieve input from the
8976 drop-down completion browser. If a key was pressed, then recieve this
8977 char and append it to the existing string.
8978 (peek_event): modify the positioning data passed to the completion
8979 browser so that it can be placed above the minibuffer rather than below.
8980 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8982 * LyXAction.C (init): alloe error-next for readonly documents.
8984 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8987 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8989 * bufferlist.C (readFile): create the buffer _after_ checking that
8992 * lyxfunc.C (verboseDispatch): fix handling of arguments
8994 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8996 * lyxrc.C: use string::erase() instead of initializing to "".
8999 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9001 * BufferView_pimpl.h:
9002 * BufferView_pimpl.C:
9005 * text2.C: tell X when we have made a selection for copying
9007 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9009 * BufferView_pimpl.C (MenuInsertLyXFile):
9010 * lyxfunc.C (menuNew):
9012 (doImport): add shortcuts to directory buttons
9014 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9017 * lyxfunc.C (setStatusMessage):
9018 (getStatusMessage): new methods
9019 (getStatus):use setStatusMessage instead of setErrorMessage
9020 (dispatch): when function is disabled, set error message here
9021 [instead of in getStatus previously]
9023 * BufferView_pimpl.C (workAreaButtonRelease): update
9024 toolbar/menubar here too.
9026 2002-01-13 Allan Rae <rae@lyx.org>
9028 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9029 Now seems indestructible. Remaining task is to audit all other
9030 code affected by deleteEmptyParagraphMechanism. One small quirk
9031 left is that an empty document with an error in the preamble can
9032 be made to report an error but no error box appears. I don't know
9034 (removeAutoInsets): Improved comments.
9036 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9039 * Thesaurus.C: update for Aiksaurus 0.14
9041 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9043 * text2.C (firstParagraph): removed member function, all uses
9044 replaces with ownerParagraph
9045 (redoParagraphs): here
9047 (toggleAppendix): here
9048 * BufferView2.C (insertErrors): here
9049 (setCursorFromRow): here
9051 2002-01-13 Allan Rae <rae@lyx.org>
9053 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9054 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9055 There is still a way to segfault this although you may have to do this
9056 multiple times: Have an InsetERT with an unknown command in it.
9057 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9058 <down-arrow>, <Enter> again, View->DVI, BANG!
9060 * text2.C (setCursor):
9061 (deleteEmptyParagraphMechanism):
9062 * lyxtext.h (setCursor):
9063 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9064 Making use of the return value may help fix other bugs.
9066 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9068 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9070 * LyXView.C (updateMenubar): call MenuBar::update here
9071 (updateToolbar): but not here
9072 (showState): do not update toolbar/menubar
9074 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9075 should need to care about that.
9077 * lyxfunc.C (verboseDispatch): simplify a bit
9078 (getStatus): have a version which takes a pseudoaction, and
9079 another which requires a (kb_action,string).
9081 * LyXAction.C (retrieveActionArg): make it work also when action
9082 is not a pseudo-action.
9083 (getActionName): simplify a bit
9086 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9088 * lyxfunc.C (verboseDispatch): new families of methods with
9089 several ways to specify a command and a bool to indicate whether
9090 the command name and shortcut should be displayed in minibuffer
9091 (eventually, we could extend that to a finer bitmask like
9092 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9093 (dispatch): the pristine dispatch command which just, well,
9094 dispatchs! Note it still sets its result to minibuffer; I'm not
9097 * lyxfunc.h: remove setHintMessage
9099 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9101 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9103 * BufferView_pimpl.C (specialChar): delete new inset if we have
9104 not been able to insert it.
9106 * kbmap.C: revert to using int instead of kb_action, since all we
9107 are dealing with is pseudo-actions.
9109 * LyXAction.C (searchActionArg): change to return int instead of
9110 kb_action, since the result is a pseudoaction.
9112 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9114 * buffer.C (insertErtContents): Fix (partially) the font bug.
9116 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9118 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9119 as the other one is broken on my machine!
9121 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9124 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9126 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9128 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9129 reflect their actual use. Provide compatibility code for older lyxrc
9132 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9134 change names of popup font variables in line with the changes to lyxrc.C
9136 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9138 * buffer.C (asciiParagraph): avoid outputing a word twice after
9141 * lyxrc.C (getDescription): document that document_path and
9142 template_path can be empty.
9144 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9146 * LaTeXFeatures.C (getMacros):
9147 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9149 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9151 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9153 (getPackages): rename feature "floats" to "float". Use an array to
9154 iterate over 'simple' features (i.e. just a \usepackage). Add
9155 handling of "amsmath" (renamed from "amsstyle").
9157 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9159 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9162 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9164 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9165 FuncStaus::FuncStatus & FuncStaus::some_method().
9167 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9169 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9170 of the func_satus stuff. Edited and massaged in various ways by
9173 * lyxfunc.C (getStatus): use FuncStatus
9175 2002-01-08 Juergen Vigna <jug@sad.it>
9177 * text.C (nextBreakPoint): use function Inset::isChar().
9179 * paragraph.C (TeXOnePar): use function
9180 Inset::forceDefaultParagraphs.
9182 * buffer.C (latexParagraphs): use function
9183 Inset::forceDefaultParagraphs.
9185 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9187 * lyx_gui.C (init): set the style of the menu popups to
9188 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9190 2002-01-07 Juergen Vigna <jug@sad.it>
9192 * text.C (setHeightOfRow): small fix
9193 (prepareToPrint): don't look at alignment if we don't have the place
9196 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9198 * box.C: New file. Move the Box methods and functions out of box.h,
9199 following Lars' suggestion.
9201 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9203 * box.h: #include "support/LOstream.h", needed for inlined function.
9206 * lyxtextclasslist.C: added some using std declarations.
9208 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9210 * box.h: make signed dimensions to allow insets wider than
9211 the screen (bug #162)
9213 * BufferView_pimpl.C: add some insetHit debug
9215 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9217 * vc-backend.C: add FIXME
9219 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * lyxfunc.C (getStatus): enable code for showing math font status
9224 2002-01-07 Juergen Vigna <jug@sad.it>
9226 * text.C (nextBreakPoint): removed debug output not needed anymore.
9228 2002-01-06 Juergen Vigna <jug@sad.it>
9230 * text.C (nextBreakPoint): fixed up this function we had this bug
9231 since ever but now hopefully we break row better.
9232 (insertChar): we have to check if an inset is the next char as it
9233 could now happen that a large inset is causing a break.
9235 2002-01-05 Juergen Vigna <jug@sad.it>
9237 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9238 if it doesn't like to be drawed.
9240 2002-01-04 Juergen Vigna <jug@sad.it>
9242 * BufferView2.C (lockInset): forgot to set a cursor.
9244 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9246 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9251 * form_maths_panel.C:
9252 * form_maths_panel.h:
9253 * form_maths_panel.fd: implemented sub- and super- buttons in math
9256 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9257 (or ^ space) to be used as in TeX (req'd by André).
9259 * lyxfunc.C: Allow ^ and _ again to be used both as
9260 super/subscript (mathed) and as themselves (in text).
9262 2002-01-03 Allan Rae <rae@lyx.org>
9264 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9265 "LyX" or the filename of the current buffer if it has one. This is a
9266 modified form of John Levon's patch.
9268 * XFormsView.C (setWindowTitle): also set icon title.
9270 * LyXView.h (setWindowTitle): signature changed.
9271 * XFormsView.h (setWindowTitle): ditto.
9273 2002-01-02 Juergen Vigna <jug@sad.it>
9275 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9277 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * screen.C (topCursorVisible): introduce a temp var for
9280 text->cursor.row(), handle the case where this row is null. (kindo
9283 * text2.C (setCursor): add a couple of asserts.
9285 * paragraph.h (inset_iterator): add -> operator
9287 * paragraph.[Ch] (autoDeleteInsets): remove member function
9289 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9290 cursor pos correctly and handle inset deletion by itself.
9291 (insertErrors): move iterator declaration out of for expression
9293 * lyxtextclass.C: add <algorithm>
9295 * Makefile.am: added the new files to sources, removed layout.C
9297 * layout.C: removed file
9299 * layout.h: remove LYX_DUMMY_LAYOUT
9301 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9305 * lyxtextclass.[Ch]:
9306 * lyxtextclasslist.[Ch]: new files
9308 * include order changes to a lot of files, also changes because of
9311 2001-12-27 Juergen Vigna <jug@sad.it>
9313 * buffer.C (asciiParagraph): more fixes.
9315 * tabular.C (ascii): make ascii export support export of only the
9316 data separated by a column-delimiter.
9317 (ascii): better support for ascii export.
9319 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9321 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9323 * tabular_funcs.C: use a "using std::getline" instead of the
9324 previous fix from Angus (necessary for cxx + lyxstring)
9326 2001-12-24 Juergen Vigna <jug@sad.it>
9328 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9330 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9331 problems. First check a minipage also if we have some ert-contents
9332 (not only on par->size(), second set the right depth of the paragraph
9333 on the relink to the root-paragraph-list!
9335 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9336 which then did not anymore update the main paragraphs on undo/redo!
9338 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9340 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9341 code. Support all font-changing funcs (even those which are not in
9342 menu currently). Support for reporting font settings in
9343 mathed (disabled until Andre provides a function on mathed's side).
9345 * func_status.h (toggle): small helper function to set toggle
9348 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9350 * tabular_funcs.C: getline -> std::getline
9352 2001-12-21 Juergen Vigna <jug@sad.it>
9354 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9355 accessed and could be 0 (I couldn't generate this but it seems
9358 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9360 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9361 * tabular_funcs.h: here and include iosfwd
9363 2001-12-20 Juergen Vigna <jug@sad.it>
9365 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9366 inside inset but undo_par was.
9368 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9370 * Thesaurus.C: always include <config.h> in sources.
9374 * box.h: do not include <config.h> in header files
9376 * text.C (paintLastRow): remove unused variable
9378 * text.C (transformChar):
9380 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9383 * font.C (width): rewrite to use uppercase() instead of
9386 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9388 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9390 * lyxfind.C: clean up of find failure position change
9392 2001-12-20 Juergen Vigna <jug@sad.it>
9394 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9396 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9397 (TeXRow): added to LaTeX a single tabular row.
9398 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9399 (Latex): simplified and finally good LT-h/f support.
9400 (various_functions): just small adaptions for LT-h/f support.
9402 * tabular_funcs.[hC]: added and moved here all not classfunctions
9405 2001-12-19 Juergen Vigna <jug@sad.it>
9407 * tabular.[Ch]: better support for longtabular options (not finished
9410 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9412 * text.C (paintLastRow): use the label font instead of the font of
9413 the last character to compute the size of *_BOX. This makes more
9414 sense and avoids a crash with empty paragraphs.
9415 Use Painter::rectangle to draw EMPTY_BOX.
9417 2001-12-19 Juergen Vigna <jug@sad.it>
9419 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9420 the paragraphs if the replaced paragraph is not the first one!
9421 Tried to delete not used paragraphs but does not work yet so for
9422 now it's inside #ifdef's and by default off!
9424 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9426 * MenuBackend.C: include "lyx_main.h" instead of declaring
9427 lastfiles (actually was declared as LastFiles* instead of a
9430 2001-12-17 Juergen Vigna <jug@sad.it>
9432 * tabular.C (AppendColumn): applied John's fix
9434 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9438 * BufferView_pimpl.h:
9439 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9442 * box.h: new start of class for above
9444 * lyxfunc.C: ignore space-only minibuffer dispatches.
9445 Show the command name when it doesn't exist
9447 * minibuffer.C: don't add empty lines to the history
9449 * minibuffer.C: add a space on dropdown completion
9451 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9453 * text.C: fix line above/below drawing in insets
9455 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9457 * lyxlength.C (LyXLength): Initialize private variables.
9459 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9462 when inserting error insets.
9464 2001-12-13 Juergen Vigna <jug@sad.it>
9466 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9467 actually sometimes the before-paragraph.
9468 (setUndo): don't clear the redostack if we're not actually undoing!
9470 2001-12-06 Juergen Vigna <jug@sad.it>
9472 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9473 and fixed redoing of main paragraph, so we can use it now ;)
9475 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9477 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9482 2001-12-13 André Pönitz <poenitz@gmx.net>
9485 * undo_func.C: minor cleanup
9487 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9489 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9490 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9491 font in urw-fonts package which is marked as -urw-fontspecific and
9492 does not work (incidentally, changing the encoding in the
9493 fonts.dir of this package to -adobe-fontspecific fixes the
9496 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9497 is a crash when undoing first paragraph (Juergen, please take a
9498 look). THis does not mean the undo fix is wrong, just that it
9501 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9502 the (Paragraph*) version when needed instead of duplicating the
9505 * text.C (workWidth): use Inset::parOwner to find out where the
9506 inset has been inserted. This is a huge performance gain for large
9507 documents with lots of insets. If Inset::parOwner is not set, fall
9508 back on the brute force method
9510 * paragraph_pimpl.C (insertInset):
9511 * paragraph.C (Paragraph):
9512 (cutIntoMinibuffer): set parOwner of insets when
9513 inserting/removing them
9515 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9517 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9523 * mathed/formulabase.C:
9524 * mathed/math_cursor.[Ch]:
9525 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9528 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9530 * lyxlength.[Ch] (operator!=): new function
9532 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9534 * text.C (workWidth): use Inset::parOwner to find out where the
9535 inset has been inserted. This is a huge performance gain for large
9536 documents with lots of insets. If Inset::parOwner is not set, fall
9537 back on the brute force method
9539 * paragraph_pimpl.C (insertInset):
9540 * paragraph.C (Paragraph):
9541 (cutIntoMinibuffer): set parOwner of insets when
9542 inserting/removing them
9544 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9546 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9548 * tabular-old.C (getTokenValue):
9549 * tabular.C (getTokenValue):
9550 (write_attribute): new versions for LyXLength
9551 (everywhere): adjust the use of widths
9553 * tabular.h: change the type of widths from string to LyXLength
9555 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9557 * paragraph.C: fixed missing line number count when exporting
9558 Environments to LaTeX file
9560 * buffer.C: added informational message for checking line numbers.
9562 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9564 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9565 paragraph, do the 'double space' part, but not the 'empty
9568 * text.C (workWidth): small optimization
9569 (getLengthMarkerHeight): use minimal size for negative lengths.
9571 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9573 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9575 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9577 2001-12-11 André Pönitz <poenitz@gmx.net>
9580 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9582 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9584 * text2.C: keep selection on a setFont()
9586 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9588 * lyx_cb.C: another bv->text misuse, from insert label
9590 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9593 * kbsequence.C: re-instate nmodifier mask
9595 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9597 * lyx_main.h: make lyxGUI private.
9599 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9601 * lyxfind.C: place the cursor correctly on failed search
9603 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9605 * text.C (getLengthMarkerHeight): for small heights, the arrows
9606 are not always on top/bottom of the text
9607 (drawLengthMarker): smaller arrows; take the left margin in
9608 account; draw also vfills.
9610 (paintLastRow): remove special code for vfill and standard spaces,
9611 since everything is handled in drawLengthMarker now.
9613 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * buffer.C (insertErtContents): try to handle font and language
9616 interaction a bit better.g
9618 * ColorHandler.C (updateColor): change the hash to cover the whole
9619 LColor enum, ws cleanup
9620 (getGCLinepars): ditto
9621 (getGCLinepars): only lookup in the linecache once.
9623 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9625 * iterators.C (operator++): Make the iterator more robust
9627 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9629 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9631 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9634 * text.C: better added space drawing
9636 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9639 * BufferView2.C: fix layout combo update on inset unlock
9641 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9643 * Makefile.am: don't compile unused files
9645 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9649 * LyXAction.C: remove old LFUN_LAYOUTNO
9651 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9653 * paragraph_pimpl.h:
9654 * paragraph_pimpl.C: isTextAt() doesn't need font param
9656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9659 * lyxlex.C: little cleanup
9661 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9663 * BufferView_pimpl.C: fix insertAscii for insets
9665 2001-12-05 Juergen Vigna <jug@sad.it>
9667 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9668 set the right font on the "multi" paragraph paste!
9670 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9676 * lyxlength.C: remove out-commented code.
9692 * vc-backend.C: change "while(" to "while ("
9694 * lyxlength.[Ch]: add zero function to check if length is zero or
9696 * lyxgluelength.C: use it
9698 2001-12-05 Allan Rae <rae@lyx.org>
9700 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9701 Works for 2.95.3, from what I understand of Garst's reports this should
9702 work for other g++ versions. We're screwed if the abs(int) definition
9703 changed between bugfix releases of gcc.
9705 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9707 * text.C: fix chapter label offset !
9709 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9712 * text.C: fix hfill at end of line, clean up
9714 2001-12-04 Juergen Vigna <jug@sad.it>
9716 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9717 that we force an update of the inset and it's owners if neccessary.
9719 2001-12-03 Juergen Vigna <jug@sad.it>
9721 * text.C (rowLast): simplified code
9723 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9725 * lyxfunc.C: fix show options on timeout
9727 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * screen.C (topCursorVisible): scroll half a page when the cursor
9730 reached top of bottom of screen
9732 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9734 * minibuffer.C: deactivate on loss of focus
9736 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * vspace.[Ch] (operator!=): add operator.
9740 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9742 * BufferView_pimpl.C: refuse to open an inset when
9743 there's a selection.
9745 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9747 * BufferView_pimpl.C: allow to click on RHS of full row insets
9749 2001-11-30 Juergen Vigna <jug@sad.it>
9751 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9752 insets for undo reasons.
9754 2001-11-28 André Pönitz <poenitz@gmx.net>
9756 * vspace.[Ch]: cosmetical changes
9758 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9768 * kbsequence.C: part re-write of old kb code
9771 * WorkArea.C: remove Lgb_bug_find_hack
9773 2001-11-30 José Matos <jamatos@fep.up.pt>
9775 * buffer.C (makeDocBookFile): add a comment to point a hack.
9776 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9777 Fixed a double write of labels.
9779 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9782 * LaTeX.h Fixed bug in LaTeX class where it would not
9783 re-run latex if no depfiles were changed, but the .dvi was removed.
9785 2001-11-28 André Pönitz <poenitz@gmx.net>
9787 * all the files from the change on 2001/11/26:
9788 use lyx::layout_type instead of LyXTextClass::size_type
9789 use lyx::textclass_type instead of LyXTextClassList::size_type
9791 2001-11-29 Juergen Vigna <jug@sad.it>
9793 * text.C: added support for paragraph::isFreeSpacing()
9795 * buffer.C: same as above
9797 * paragraph.h: inserted isFreeSpacing() function to enable
9798 FreeSpacing inside InsetERT.
9800 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9801 of the paragraph's in the cut/copy buffer to 0!
9803 * text2.C (removeRow): remove the assert as it can!
9805 * lyxtext.h: added helper function firstRow returning firstrow and
9806 made firstrow private again.
9808 * BufferView2.C (lockInset): don't relock if we're already locked!
9810 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9812 (removeRow): added Assert::(firstrow)
9814 * debug.C: forgot to add INSETTEXT here.
9816 2001-11-28 Juergen Vigna <jug@sad.it>
9818 * sp_spell.C (initialize): changed error text to more general
9819 spellchecker command use (not only ispell!)
9821 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9823 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9825 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9827 * vspace.C: initialise lyxgluelength on failure
9829 2001-11-28 Allan Rae <rae@lyx.org>
9831 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9832 declaration & definition that looks like a function declaration.
9834 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9836 * BufferView2.C (copy):
9837 (copyEnvironment): do not clear the selection when doing a copy.
9839 * text.C (paintFirstRow): compilation fix
9841 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9843 * tabular.C (Latex): correct line count when writing latex.
9845 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9847 * paragraph_pimpl.h:
9848 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9851 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9855 * LColor.C: change vfillline->added_space
9857 * text.C: add markers and text for added space
9859 * vspace.C: fix comment
9861 2001-11-28 André Pönitz <poenitz@gmx.net>
9863 * paragraph.C: whitespace changes
9864 * all the other files from the change on 2001/11/26:
9865 change *::pos_type into lyx::pos_type
9867 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9869 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9870 language of the document when inserting error insets.
9872 2001-11-26 André Pönitz <poenitz@gmx.net>
9874 * BufferView_pimpl.[Ch]:
9882 * paragraph_pimpl.[Ch]:
9885 * text2.C: reduce header dependencies, introduce type for positions
9887 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9889 * <various>: change to use Alert.h
9891 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9893 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9894 when encountering an unknown token.
9895 (readLyXformat2): Show an error message if there were unknown tokens.
9897 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9900 * BufferView_pimpl.C:
9904 * text2.C: use par->isInset()
9906 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9908 * paragraph_pimpl.h:
9909 * paragraph_pimpl.C: cleanup
9911 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9913 * text2.C (removeRow):
9914 * text.C (setHeightOfRow): remove useless (and costly) call to
9917 2001-11-20 Allan Rae <rae@lyx.org>
9919 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9920 Now need Inset*::checkInsertChar() to return true for appropriate
9921 cases so that the characters in the minibuffer will actually be
9924 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9926 * text.C: change the order of the includes.
9927 (workWidth): initialize it at once.
9928 (workWidth): make maxw unsigned
9929 (setHeightOfRow): remove unused variable (inset)
9930 (selectSelectedWord): remove unused variable (inset)
9931 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9933 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9935 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9936 server is not running.
9938 (closeConnection): add debug info when server is disabled.
9940 * ColorHandler.C (getGCForeground): send debug message to GUI
9943 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9945 * kbmap.C (bind): modify because return conventions of
9946 kb_sequence::parse have changed.
9948 * kbsequence.C (parse): only ignore spaces and not any stupid
9949 control character. This avoids tests like s[i] <= ' ', which are
9950 guaranteed to fail with 8bit characters and signed chars.
9951 Change return code to string::npos when there have been no error
9952 (0 was a bad idea when error is at first character)
9954 2001-11-14 José Matos <jamatos@fep.up.pt>
9957 * buffer.C (simpleDocBookOnePar): removed unused argument.
9959 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9961 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9962 insets which are part of a word. Paragraph::isLetter takes care of
9963 that now. Use Paragraph::isInset to identify insets.
9964 (selectSelectedWord): do not test for hyphenation break.
9966 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9967 that protected spaces are considered as spaces.
9969 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9972 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9975 * lyxserver.C: fix it. and small cleanup.
9977 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9979 * BufferView_pimpl.C: use inline helpers
9982 * LaTeXFeatures.C: fix typos
9985 * Spacing.C: move spacing_string into class
9987 * ToolbarDefaults.C: move stuff into namespace anon
9989 * layout.h: update enum
9991 * lyxfunc.C: use better debug
9993 * minibuffer.h: fix typo
9997 * WorkArea.C: add and use Debug::WORKAREA
10001 * text2.C: code re-organisation, inline helpers
10003 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10005 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10006 std::vector.empty().
10008 2001-11-09 Allan Rae <rae@lyx.org>
10010 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10011 '\n's after tables. Tabular and ERT inset work now makes this no
10014 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10017 * minibuffer.C: fix crash, improve drop-down completion
10019 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10022 * lyxserver.C: invalidate fd's when doing endPipe()
10024 2001-11-08 José Matos <jamatos@fep.up.pt>
10026 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10027 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10030 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10032 2001-11-07 José Matos <jamatos@fep.up.pt>
10035 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10038 * buffer.C (sgmlOpenTag):
10039 * buffer.C (sgmlCloseTag): removed debug info.
10041 * buffer.h (sgmlOpenTag):
10042 * buffer.h (sgmlCloseTag): made public.
10044 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10046 * buffer.C (saveParamsAsDefaults):
10047 * lyx_cb.C (MenuLayoutSave): remove
10049 * LyXAction.C (init):
10051 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10053 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10055 * buffer.C (setPaperStuff): removed from here...
10057 * bufferparams.C (setPaperStuff): ... and moved there.
10059 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10063 * XFormsView.C: add support for drop-down completion
10065 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10067 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10070 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10072 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10075 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10077 * lyx_main.C: change ref to known bugs
10079 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10081 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10082 to work around older babel problems.
10084 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10086 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10088 2001-10-24 Juergen Vigna <jug@sad.it>
10090 * tabular-old.C (ReadOld): below variable changes reflected.
10092 * tabular.[Ch]: added ltType struct for longtable header/footer
10093 defines and changed all instances where they are used. Added
10094 future support for double top/bottom rows.
10096 2001-10-24 José Matos <jamatos@fep.up.pt>
10098 * buffer.h (docbookHandleCaption):
10099 * buffer.C (docbookHandleCaption): removed unused function.
10100 (makeDocBookFile): moved docbook supported version to v4.1.
10102 2001-10-24 José Matos <jamatos@fep.up.pt>
10105 * tabular.C (docbookRow): new function to export docbook code of a row.
10106 (DocBook): now honors the longtable flags.
10108 2001-10-23 José Matos <jamatos@fep.up.pt>
10111 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10112 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10114 * buffer.C (makeLinuxDocFile):
10115 (makeDocBookFile): reworked the preamble, more clean, and with
10116 support for lyx defined entities. Changed the document declaration
10117 to be more XML friendly.
10119 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10120 if we need to output XML that should be done with a filter.
10122 2001-10-22 Juergen Vigna <jug@sad.it>
10124 * sp_pspell.h (class PSpell): add alive function needed in the
10125 controller to see if the spellchecker could be started.
10127 2001-10-22 Juergen Vigna <jug@sad.it>
10129 * buffer.C (insertStringAsLines): modify the font for inserting
10130 chars in certain conditions by calling checkInsertChar(font).
10132 2001-10-19 Juergen Vigna <jug@sad.it>
10134 * text.C (workWidth): use getRow instead of wrong algorithm.
10135 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10137 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10142 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10144 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10146 * text.C (workWidth): do not search for the exact row when
10147 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10148 optimization for big documents.
10150 2001-10-18 Juergen Vigna <jug@sad.it>
10152 * text.C (workWidth): new function with added Inset * parameter.
10154 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10156 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10158 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10159 change return type of getColumnNearX.
10162 * text.C (changeRegionCase): use uppercase/lowercase instead of
10165 (rightMargin): simplify code by factoring out the uses of
10170 (appendParagraph): use Paragraph::size_type
10172 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10174 * vspace.C (asLatexString): add a missing break
10176 2001-10-15 Herbert Voss <voss@perce.de>
10178 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10180 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10182 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10185 2001-10-10 André Pönitz <poenitz@gmx.net>
10187 * lyxfunc.C: removed greek_kb_flag.
10189 2001-10-10 Herbert Voss <voss@perce.de>
10191 * lyx_main.C: delete global string help_lyxdir.
10193 2001-10-09 Herbert Voss <voss@perce.de>
10195 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10197 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10199 * lyx_main.C: added global string help_lyxdir.
10201 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10203 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10205 * lyxrc.C (set_font_norm_type): support iso8859-4
10207 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10209 * LaTeX.C (deplog): add another regex for MikTeX
10211 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10213 * lyxrc.C (set_font_norm_type): support iso8859-3
10215 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10217 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10219 * LaTeXFeatures.C: remove special case of french and index
10221 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10222 before \begin{document}). This solves several incompatibilities.
10224 2001-10-03 Garst Reese <reese@isn.net>
10226 * lyx_cb.C: change CheckTex error msg.
10228 2001-10-03 José Matos <jamatos@fep.up.pt>
10230 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10232 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * .cvsignore: update
10236 * lyx_main.C (commandLineVersionInfo): use new style version info.
10238 * buffer.C (writeFile):
10240 (makeLinuxDocFile):
10241 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10243 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10245 * version.h: update to use stuff in version.C
10247 * version.C.in: new file. Contains version information determined
10248 at compile time. This is a merging of version.h and
10251 2001-10-03 Juergen Vigna <jug@sad.it>
10253 * BufferView_pimpl.C (update): don't change "dirty" status in
10256 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10258 * WorkArea.C (c-tor): re-position version string slightly.
10260 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10262 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10263 revert to previous code.
10265 WorkArea.[Ch]: (show, destroySplash): methods removed.
10267 WorkArea.C: rework code so that it's an amalgam of the codes before and
10268 after the splash screen was moved to WorkArea.
10270 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10273 * vspace.C (inPixels):
10276 * buffer.C (insertStringAsLines):
10277 (asciiParagraph): fix types to be large enough
10279 * lyxlex_pimpl.h: change member status from short to int
10281 * layout.h: fix type of endlabeltype
10284 * kbsequence.C (parse): change return type to string::size_type
10286 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10289 * Bullet.C (bulletSize):
10290 (bulletEntry): do not use short ints as parameters
10292 * BufferView2.C (insertLyXFile): change a char to an int.
10294 * WorkArea.C (WorkArea): remove unneeded floats in computation
10296 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10298 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10300 * paragraph.C (asString): Do not ignore newline/hfill chars when
10301 copying to the clipboard.
10303 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10305 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10306 after a multi-line inset.
10308 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10310 * paragraph.C (validate): Set NeedLyXFootnoteCode
10312 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10314 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10315 and decrease-error to decrease.
10317 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10319 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10320 it more readable (should be equivalent)
10322 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10324 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10326 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10329 of a cursor (row, etc.) after a character has been deleted
10330 (deleteEmptyParagraphMechanism): call the method above on _all_
10331 cursors held by the LyXText when a double space has been
10334 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10336 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10338 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10340 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10341 background. Use greyOut() and the new show() methods to toggle between
10342 the foreground and background. Add code to remove the splash after
10343 its initial showing.
10345 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10346 (create_forms): no longer call Dialogs::showSplash.
10348 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * .cvsignore: add version_info.h
10352 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10354 * version_info.h.in: new file
10356 * Makefile.am: add version_info.h.in
10358 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10359 version_info.h instead of VERSION_INFO
10361 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10363 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10364 The ERT inset now returns string().
10366 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10368 * lyxtext.h, text.C (selectNextWord): renamed as
10369 selectNextWordToSpellcheck.
10371 * text.C (selectNextWordToSpellcheck): Modified to not select
10372 words inside an ERT inset.
10374 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * lyx_cb.C (MenuLayoutSave): change a bit the question
10378 * sp_base.h: include <sys/types.h>
10380 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10382 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10384 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10386 * several files: fix typos in user-visible strings
10388 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10390 * text2.C (pasteSelection): do not set the selection, since it
10391 will be cleared later. Actually, the intent was to fix the way the
10392 selection was set, but I figured rmoving the code was just as good.
10394 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10396 * FontLoader.C (available): Check if font is available without
10399 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10401 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10403 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10405 * lyxrc.[Ch]: added display_graphics variable and associated code.
10407 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10409 * bufferparams.C (hasClassDefaults): new method. Returns true if
10410 the buffer parameters correspond to known class defaults
10412 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10414 * XFormsView.C (show): set minimum size to the main window.
10416 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * text2.C (copySelection):
10420 * lyxfind.C (LyXReplace):
10421 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10422 LyXText::selectionAsString.
10424 * paragraph.C (asString): add "label" argument to the second form
10426 * text2.C (selectionAsString): add "label" argument and pass it to
10427 Paragraph::asString.
10429 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10431 * lyx_main.C (commandLineHelp): remove version information
10433 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10435 * lyx_main.C: add -version commandline option
10437 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10439 * paragraph.h: make the optional constructor arg required instead.
10440 some modifications to other files because of this.
10442 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10444 * lyxserver.C (C_LyXComm_callback): make it static
10446 * lyx_main.C (error_handler): make it static
10448 * lyx_gui.C (LyX_XErrHandler): make it static
10450 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10452 * WorkArea.C: make the extern "C" methods static.
10454 * Makefile.am (lyx_LDADD): simplify
10456 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10458 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10459 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10461 * LyXAction.C (init):
10462 * lyxfunc.C (dispatch): associated code removal.
10464 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10466 * lyxfont.h (isSymbolFont): shut off warning
10468 * text.C (setHeightOfRow):
10469 (getVisibleRow): fix crash with empty paragraphs which have a
10472 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10474 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10477 2001-09-04 José Matos <jamatos@fep.up.pt>
10480 * tabular.C (docbook): rename docBook method to docbook.
10482 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10484 * Makefile.am: add dependencies to main.o.
10486 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10488 * FontLoader.C (available): Return false if !lyxrc.use_gui
10490 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10492 * FontInfo.C (query):
10493 * converter.C (view):
10494 * importer.C (Import):
10495 * exporter.C (Export): Can not -> cannot.
10497 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10499 * BufferView_pimpl.C: allow to create index inset even if
10502 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10504 * buffer.C (getLists): replace boost::tie code with an explicit pair
10505 as boost::tie can break some compilers.
10507 * iterators.h: Added a std:: declaration to the return type of
10510 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10512 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10515 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10517 * iterators.[Ch]: New files. Provide paragraph iterators.
10519 * buffer.C (changeLanguage): Use paragraph iterators.
10520 (isMultiLingual): ditto
10522 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10524 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10526 * FontLoader.C: Support for cmr font.
10528 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10530 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10531 (available): New method.
10533 * FontInfo.C (getFontname): Use scalable fonts even when
10534 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10537 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10539 * converter.C (Formats::view): reverted! Incorrect fix.
10541 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10543 * converter.C (Formats::view): only output the -paper option
10544 if the dvi viewer is xdvi, thereby fixing bug #233429.
10546 2001-08-23 Herbert Voss <voss@perce>
10548 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10550 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10552 * Spacing.h (Spacing): Set space to Default on in the default
10555 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * vc-backend.h (RCS::versionString): add RCS to version
10558 (CVS::versionString): add CVS to version
10560 * vc-backend.C (scanMaster): do not add CVS to version.
10561 (scanMaster): do not add RCS to version
10563 * lyxvc.C (versionString): new method
10565 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10567 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * Spacing.C (set): initialize fval
10571 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10573 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10576 2001-08-16 Juergen Vigna <jug@sad.it>
10578 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10580 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10582 * BufferView_pimpl.C:
10585 * text2.C: setParagraph takes linespacing now
10587 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10589 * LyxAction.C: add internal LFUN_CITATION_INSERT
10591 * LyXView.C: actually apply fix
10593 * bufferlist.C: fix open non-existent file
10595 * lyxfind.C: fix indentation
10597 * lyxfunc.C: remove unneeded assert, fix typo
10599 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10601 * MenuBackend.C: use "Floatname List"
10603 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10605 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10606 when converting LaTeX layout to insetERT.
10607 Generate a non-collapsed float when reading old float
10609 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10611 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10614 2001-08-13 Juergen Vigna <jug@sad.it>
10616 * text.C (fill): return 0 instead of 20 as this seems to be the more
10619 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10621 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10624 2001-08-13 Juergen Vigna <jug@sad.it>
10626 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10628 (SearchBackward): comment out the unlocking of the inset_owner this
10629 should not be needed!
10631 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10633 * Many files: Remove inherit_language, and add latex_language
10635 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10636 collapsible insets.
10638 2001-08-10 Juergen Vigna <jug@sad.it>
10640 * text.C (prepareToPrint): fixed hfill-width in draw!
10642 * BufferView2.C (selectLastWord): save the selection cursor as this
10643 now is cleared in the function LyXText::clearSelection!
10645 2001-08-08 Juergen Vigna <jug@sad.it>
10647 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10648 BACKSPACE type functions.
10650 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10651 is only cutted from the document but not put in the cut-buffer, where
10652 still the old stuff should be.
10654 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10656 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10658 * tabular.C (SetWidthOfCell): fixed special case where the width
10660 (LeftLine): handle '|' in align_special.
10662 (LeftAlreadyDrawed): ditto
10663 (SetWidthOfCell): ditto
10665 2001-08-07 Juergen Vigna <jug@sad.it>
10667 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10669 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10672 * lyxlex.[hC]: ditto
10674 2001-08-06 Juergen Vigna <jug@sad.it>
10676 * text.C (getVisibleRow): fix up row clearing a bit.
10678 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10680 * minibuffer.C: make sure the X server sees the changes in the input.
10682 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10684 * paragraph.C (getFont): split into...
10685 (getLabelFont): this
10686 (getLayoutFont): and this
10687 * paragraph_pimpl.C (realizeFont): calling this
10689 * text2.C (getFont): split into...
10690 (getLayoutFont): this
10691 (getLabelFont): and this
10692 (realizeFont): all three calling this
10694 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10697 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10701 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10703 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10704 layouts from the Quote inset insertion.
10706 2001-08-03 Juergen Vigna <jug@sad.it>
10708 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10710 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10711 only if status not is already CHANGED_IN_DRAW (second level).
10713 * text.C (draw): don't set the need_break_row when inside an
10716 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * buffer.C (parseSingleLyXformat2Token): handle more latex
10721 * bufferview_funcs.[hC]: change function names to
10722 begin with small char, adjust other files.
10724 2001-08-02 André Pönitz <poenitz@gmx.net>
10727 BufferView_pimpl.C: remove broken special code for math-greek
10729 2001-08-02 Juergen Vigna <jug@sad.it>
10731 * BufferView_pimpl.C (update): redone this function so that we
10732 update the text again if there was a CHANGE_IN_DRAW.
10734 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10735 (drawFromTo): added a new internal bool which is used by draw() and
10737 (general): some cursor drawing problems fixed.
10739 2001-08-01 Juergen Vigna <jug@sad.it>
10741 * lyxfind.C (LyXFind): fixed
10742 (SearchForward): ditto
10743 (SearchBackward): ditto
10745 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10746 spurius drawing of the cursor in the main area.
10748 * text2.C (status): small fix which could lead to a segfault!
10749 (clearSelection): remove unneeded BufferView param.
10751 2001-08-01 André Pönitz <poenitz@gmx.net>
10753 * lyxfunc.C: small change due to changed mathed interface
10755 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10759 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10761 * lyxfunc.c: fail gracefully if file doesn't exist
10766 * BufferView_pimpl.C: IsDirWriteable() proto changed
10768 * LyXView.C: fix updateWindowTitle() to store the last title
10770 2001-07-31 Juergen Vigna <jug@sad.it>
10772 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10773 the font (wrong since using of Paragraph::highestFontInRange).
10775 * paragraph.C (highestFontInRange): added a default_size parameter.
10777 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10778 (setHeightOfRow): reformat
10780 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10782 * converter.[hC] + affected files: move to (inital-char)lowercase
10785 * ParagraphParameters.C (ParagraphParameters): remove commented code
10787 * PainterBase.[Ch]: remove commented code
10789 * LaTeXFeatures.h: add "bool floats" for float.sty
10791 * LaTeXFeatures.C (LaTeXFeatures): init floats
10792 (require): handle float
10793 (getPackages): do it with floats
10795 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10797 * BufferView_pimpl.C (Dispatch): improve handling of
10798 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10800 * commandtags.h: #include lyxfont.h here temporarily to avoid
10803 * bufferlist.h: include LString.h here.
10805 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10807 * text2.C (getStringToIndex): new method.
10809 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10811 * *: Reduced header file dependencies all over.
10813 2001-07-30 Baruch Even <baruch@lyx.org>
10815 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10817 2001-07-29 Baruch Even <baruch@lyx.org>
10819 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10821 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10823 * ParameterStruct.h (endif): add a default constructor to make
10824 sure that all variables is initialized.
10826 * ParagraphParameters.C (ParagraphParameters): adjust
10828 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10830 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10831 index; also, check that there is something to index, and that it
10832 does not span over several paragraphs.
10833 (doubleClick): use WHOLE_WORD_STRICT for double click.
10835 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10837 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10840 2001-07-26 Baruch Even <baruch@lyx.org>
10842 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10843 an InsetFig figure, backwards compatible reading of old figure code.
10845 2001-07-27 Juergen Vigna <jug@sad.it>
10847 * text2.C: font.realize function adaption.
10849 * text.C (draw): add a warnings lyxerr text if needed.
10851 * layout.C: font.realize function adaption.
10853 * language.C: add inherit_language and implement it's handlings
10855 * bufferview_funcs.C (StyleReset): remove language parameter from
10856 font creation (should be language_inherit now).
10858 * bufferparams.C (writeFile): handle ignore_language.
10860 * paragraph.C (getFontSettings): the language has to be resolved
10861 otherwise we have problems in LyXFont!
10863 * lyxfont.C (lyxWriteChanges): added document_language parameter
10864 (update): removed unneeded language parameter
10866 * paragraph.C (validate): fixed wrong output of color-package when
10867 using interface colors for certain fonts in certain environments,
10868 which should not seen as that on the final output.
10870 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10872 * BufferView_pimpl.C:
10877 * LyXAction.C: add thesaurus support
10880 * lyxfind.C: add "once" parameter, for thesaurus, to not
10881 move to the next match
10883 2001-07-26 Juergen Vigna <jug@sad.it>
10885 * lyxfont.C (realize): honor ignore_language too!
10888 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10890 * text.C (draw): one place more for ignore_language to not draw
10893 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10895 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10897 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10900 the minipage conversion problem.
10902 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10907 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10909 * BufferView.h: don't forward declare WorkArea
10911 * BufferView.C: don't include WorkArea.h
10913 2001-07-25 André Pönitz <poenitz@gmx.net>
10917 * lyxfunc.C: new LFUN 'math-space'
10919 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10921 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10923 * text2.C (toggleInset): call open/close
10925 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10927 * lyxfunc.C (dispatch): add debug for the disabled case
10929 * font.C (buttonText): make similar to rectText
10931 * buffer.C (readInset): comment out parsing of insetlist and
10934 * PainterBase.C (rectText): small correction
10936 * BufferView_pimpl.C: comment out insettheorem and insetlist
10937 * LyXAction.C: ditto
10938 * commandtags.h: ditto
10940 2001-07-24 Juergen Vigna <jug@sad.it>
10942 * text.C (draw): honor the ignore_language.
10944 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10946 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10948 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10951 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10953 * lyxtext.h: remove unused (and unimplemented) methods
10955 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10957 * text.C (getVisibleRow): honor background color
10960 * Painter.h: remove default color argument for fillRectangle
10962 * text.C (backgroundColor): new method
10964 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * text.C (getVisibleRow): adjust
10968 * font.[Ch] (rectText): new method, metrics
10969 (buttonText): new method, metrics
10971 * PainterBase.[hC]: make rectText and buttonText always draw and take
10974 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10976 * ToolbarDefaults.C (read):
10977 * MenuBackend.C (read): allow escaping in all strings
10979 * BufferView_pimpl.C (insertAndEditInset): new method.
10980 (Dispatch): use insertAndEditInset whenever appropriate.
10982 * BufferView_pimpl.C (insertNote): removed
10984 * BufferView_pimpl.C (smartQuote): new method, moved from
10985 BufferView; if an insetquote cannot be inserted, insert a '"'
10988 * BufferView2.C: remove insertCorrectQuote();
10990 * lyxfunc.C (getStatus): Add support for all remaingin
10991 inset-insert lfuns.
10993 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10995 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10996 command (necessary to pass " as parameter of self-insert.
10998 * text.C (selectWordWhenUnderCursor):
10999 (selectWord): add word_location parameter
11000 (selectWordWhenUnderCursor): same + remove special code for word
11002 (selectNextWord): use kind() to guess type of insetspecialchar,
11005 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11006 (insertErtContents): create ert insets as collapsed.
11007 (readInset): better compatibility code for Info inset.
11009 2001-07-20 Juergen Vigna <jug@sad.it>
11011 * lyxfunc.C (dispatch): use always LyXFind now!
11013 * text2.C (init): add a reinit flag so that the LyXText can be
11014 reinited instead of deleted and reallocated (used in InsetText).
11016 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11022 2001-07-18 Juergen Vigna <jug@sad.it>
11024 * text.C (selectNextWord): handle insets inside inset by calling
11025 always the bv->text functions so that we can go up the_locking_inset!
11027 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11028 in strange locations when inside an inset!
11030 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11031 handling to include insets.
11033 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11035 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11037 * LyXAction.C (init):
11039 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11040 LIGATURE_BREAK, since the name is so stupid.
11042 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11044 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11047 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11049 * sp_form.[Ch]: remove.
11051 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11053 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11056 * src/buffer.C (readInset): ditto.
11058 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11060 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11061 menuSeparator(), endOfSentenceDot(), ldots() and
11062 hyphenationPoint(), which are therefore removed.
11063 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11065 * LyXAction.C (init):
11066 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11068 * paragraph.C (getWord): removed.
11070 * BufferView_pimpl.C (Dispatch): use last word or selection for
11071 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11073 * lyx_main.C (queryUserLyXDir): do not ask before creating
11074 user_dir, except if it has been named explicitely.
11076 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11078 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11079 a document of zero size.
11081 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11083 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11084 approriately in the c-tor and in require().
11085 (getPackages): output the appropriate LaTeX for natbib support.
11087 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11088 variables "use_natbib" and "use_numerical_citations" when reading the
11090 (readInset): read the various natbib cite commands.
11091 (validate): white-space change.
11093 * bufferparams.[Ch]: new variables "bool use_natbib" and
11094 "bool use_numerical_citations".
11095 (writeFile): output them in the LyX file.
11097 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11099 * lyxfunc.C (getStatus): add support for all the inset insertion
11102 * text2.C (insertInset):
11103 * paragraph.C (insetAllowed):
11104 * BufferView_pimpl.C (insertInset): update to take in account the
11105 renaming of insertInsetAllowed
11107 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11109 * text2.C (getInset): new method. returns inset at cursor position.
11111 * BufferView_pimpl.C (Dispatch): changes because of this.
11113 * LyXAction.C (init): rename open-stuff to inset-toggle.
11115 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11117 * text2.C (toggleInset): renamed from openStuff; use
11120 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11122 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11124 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11126 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11128 * buffer.C (readLyXformat2): Add filename to the error dialog
11130 2001-07-18 Juergen Vigna <jug@sad.it>
11132 * tabular.C (GetCellNumber): put an assert here instead of the check!
11134 2001-07-17 Juergen Vigna <jug@sad.it>
11136 * BufferView_pimpl.C (toggleSelection): adapted too.
11138 * text.C (selectNextWord): adapted for use with insets.
11139 (selectSelectedWord): ditto
11141 2001-07-17 Juergen Vigna <jug@sad.it>
11143 * sp_spell.C (PSpell): fix initialitation order.
11145 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11147 * paragraph.C: spacing
11149 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11151 * sp_spell.C: repair language selection for pspell
11153 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11155 * lyxfunc.h: change more methods to begin with lower char.
11157 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11159 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11160 for unknown layouts.
11162 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11164 * buffer.C (readLyXformat2): Generate an error dialog if there are
11167 2001-07-16 Juergen Vigna <jug@sad.it>
11169 * sp_spell.C: always compile ISpell part.
11171 * lyxrc.C: added use_pspell entry and it's handling.
11173 2001-07-13 Juergen Vigna <jug@sad.it>
11175 * sp_spell.C: removed double includes.
11177 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11179 Consistent use of Lsstream.h:
11180 * Lsstream.h: added using std::stringstream for consistencies sake.
11182 * buffer.C: removed using std::stringstream
11184 * lyxfont.C (stateText):
11185 * paragraph.C (asString):
11186 * text.C (selectNextWord, selectSelectedWord):
11187 * text2.C (setCounter):
11188 * vspace.C (asString, asLatexString):
11189 std::ostringstream -> ostringstream.
11191 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11193 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11194 * commandtags.h: add LFUN_HELP_ABOUTLYX
11195 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11197 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11199 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11201 * lyx_gui_misc.C: remove spellchecker
11202 * lyxfunc.C: showSpellchecker
11204 * sp_ispell.h: added
11205 * sp_pspell.h: added
11206 * sp_spell.C: added
11207 * sp_form.[Ch]: removed
11208 * spellchecker.[Ch]: removed
11210 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11212 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11214 (simpleTeXSpecialChars): Simply print the input character without
11215 any special translation if pass_thru is set.
11217 * layout.h: Added bool pass_thru to layout class for being able to
11218 implement pass through of a paragraph for Literate Programming.
11220 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11221 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11222 * layout.C (Read): add "passthru" to list of layout tags and add
11223 code to set the pass_thru boolean when it is read.
11225 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11227 * trans_decl.h: remove allowed from KmodInfo
11229 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11230 remove allowed code
11233 * paragraph_pimpl.C (erase): use boost::prior
11235 * Painter.C (text): use data() instead of c_str() when length is
11237 * WorkArea.C (putClipboard): ditto
11238 * font.h (width): ditto
11240 * BufferView2.C: use it-> instead of (*it). for iterators
11242 * paragraph_pimpl.C: ditto
11243 * paragraph.C: ditto
11244 * minibuffer.C: ditto
11245 * language.C: ditto
11247 * encoding.C: ditto
11248 * counters.C: ditto
11249 * converter.C: ditto
11251 * Variables.C: ditto
11252 * TextCache.C: ditto
11253 * MenuBackend.C: ditto
11254 * LyXAction.C: ditto
11256 * FloatList.C: ditto
11257 * DepTable.C: ditto
11258 * ColorHandler.C (LyXColorHandler): ditto
11260 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11262 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11264 * text2.C (openStuff): reintroduce this method (which had been
11265 nuked in NEW_INSETS frenzy).
11267 * lyxfunc.C (Dispatch): when an action has not been handled, use
11268 its name in the error message, not its number.
11270 * paragraph.C (inInset): change method name to begin with lowercase.
11273 * text2.C: updates because of this.
11275 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11277 * ToolbarDefaults.C (add): add spaces in error message
11279 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11282 (readLyXformat2): rename return_par to first_par, use lyxlex's
11283 pushToken and remove the manual push handling.
11284 (parseSingleLyXformat2Token): add another ert comp. variable:
11285 in_tabular, rename return_par to first_par. handle newlines better
11287 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11289 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11291 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11293 * text2.C (getParFromID): removed
11295 * buffer.C (getParFromID): new method moved form lyxtext.
11296 * BufferView2.C (insertErrors): adjust
11297 (setCursorFromRow): adjust
11298 * BufferView_pimpl.C (restorePosition): adjust
11299 * lyxfunc.C (Dispatch): adjust
11300 * undo_funcs.C (textUndo): adjust
11302 (textHandleUndo): adjust
11303 (textHandleUndo): adjust
11305 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * buffer.C: up' the LYX_FORMAT
11309 * lyxfont.h: turn NO_LATEX on as default
11311 * buffer.C (insertErtContents): new methods of tex style compability.
11312 (parseSingleLyXformat2Token): use it several places.
11313 * tabular.C (OldFormatRead): and here
11315 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * text2.C: remove some commented code.
11320 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11321 * trans.C: changes because of the above.
11323 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11325 * text2.C (setCounter): Fix counters bug with bibliography layout.
11327 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11330 own member functions
11331 (simpleTeXSpecialChars): ditto
11333 2001-07-06 Juergen Vigna <jug@sad.it>
11335 * a lot of files: changed the access to LyXText::status and the
11336 call of undo-functions.
11338 * undo.[Ch]: added a inset_id to the undo informations.
11340 * undo_funcs.[Ch]: added and moved here all undo functions.
11342 * lyxtext.h: give the status enum a weight, made status_ a private
11343 variable and made accessor functions for it, removed the whole bunch
11344 of undo-functions as they are now in their own file, make some
11345 functions publically available. Added function ownerParagraph with
11348 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11349 made InInset() a const function, added getParFromID() function.
11351 * buffer.[Ch]: added const version for inset_iterator functions,
11352 added getInsetFromID() function.
11354 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11355 changed undo functions for new version.
11357 2001-07-05 Juergen Vigna <jug@sad.it>
11359 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11360 unknow mechanism does not call the proper constructor but only this
11361 one also if I request the other!?
11363 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11365 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11367 * text2.C (LyXText): use initialization lists.
11369 * lyxtext.h (Selection): initialize set_ and mark_
11370 (init): remove method
11372 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11374 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11376 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11378 * screen.[Ch]: change method names to begin with lowercase
11380 * BufferView_pimpl.C (updateScrollbar): simplify further and
11381 hopefully make it a bit faster.
11383 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11385 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11386 calling directly xforms functions.
11388 * Painter.C (Painter):
11389 * lyx_cb.C (MenuWrite):
11390 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11393 * lyx_gui.C: remove bogus guiruntime extern declaration.
11395 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11399 (redoDrawingOfParagraph): ditto
11400 (redoParagraphs): ditto
11401 (cutSelection): don't create a object for CutAndPaste use the
11402 static method directly
11403 (pasteSelection): ditto
11405 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11408 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11410 * modifications to some other files because of this.
11412 * Makefile.am (lyx_SOURCES): add XFormsView
11414 * XFormsView.[Ch]: new files
11416 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11417 the main window. Move the gui dependent stuff to XFormsView
11419 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11421 * tabular.C (GetCellInset): update cur_cell also in the row/col
11422 version of this function.
11424 * lyxfunc.C: no need to include figure_form.h here.
11430 * lyxvc.C: no need to include forms.h here.
11432 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11436 * lyxfunc.C (Dispatch):
11438 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11439 constructor argument.
11441 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * paragraph.C (Paragraph): dont't clear, and just set layout.
11444 (makeSameLayout): use params's copy contructor.
11446 * ParagraphParameters.[Ch] (makeSame): delete method
11448 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11450 * Variables.[Ch]: fix indentation, rename set to isSet
11452 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11454 * lyxfunc.C (Dispatch): fix typo
11456 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11458 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11461 * bufferlist.C: include assert.h for emergencyWrite().
11463 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11465 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11466 give up at last (bug #425202) !
11468 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11474 * spellchecker.C: strip spellchecker options and bring up
11475 preferences tab instead
11477 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11479 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11480 the istringstream constructor
11482 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11484 * paragraph.C (getLayout): fix return value
11486 * paragraph.h: do not declare getLayout as inline.
11488 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11490 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11492 * lyxcursor.h (operator<): new func
11493 (operator>): new func
11494 (operator>=): new func
11495 (operator<=): new func
11497 * text.C (changeCase): use selection.start and selection.end
11498 (changeRegionCase): require from to be <= to. Require par to be a
11501 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11503 2001-06-27 Juergen Vigna <jug@sad.it>
11505 * text.C (cursorLeftOneWord): changed to return the cursor and added
11506 overlay with BufferView * parameter which calls this one.
11508 (selectWord): use new getWord function.
11509 (changeCase): renamed from changeWordCase as and extended to work
11510 also on selections.
11512 * lyxtext.h: added enum word_location
11514 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11515 changeCase as this operates now also on selections.
11517 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11519 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11521 * many files: send debug output to Debug::INFO instead of
11524 * converter.C (View):
11526 (Move): send debug output to Debug::FILES instead of console.
11528 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11530 * lyxfunc.C (getStatus): use func_status
11532 * func_status.h: new header, describing the results of
11533 LyXFunc::getStatus;
11535 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11538 2001-06-25 The LyX Project <jug@sad.it>
11540 * buffer.C (sgmlOpenTag):
11542 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11544 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11546 * text2.C: remove some dead code
11548 * tabular.C (GetCellInset): store the last cell checked (gotten)
11550 * tabular.h: add the helper for the speedup
11552 * lyxtext.h: remove some dead code
11554 2001-06-26 The LyX Project <Asger>
11556 * paragraph.C: Change export to LaTeX of alignment to
11557 \begin{center} and family for better roundtrip work with reLyX.
11559 * Tune the math drawing a bit.
11561 2001-06-25 The LyX Project <Asger>
11563 * LColor.C (LColor): New color for math background. New color
11566 2001-06-25 The LyX Project <jug@sad.it>
11568 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11570 * lyxfunc.C (Open):
11571 * bufferlist.C (newFile): do not restrict to files ending with
11574 * BufferView_pimpl.C (MenuInsertLyXFile):
11576 2001-06-24 The LyX Project <jug@sad.it>
11578 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11581 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * lyxtext.h: rename most methods to begin with a small char.
11584 Lots of changes because of this.
11586 * paragraph.C (Paragraph): do not call fitToSize
11587 (erase): call Pimpl::erase
11588 (insertChar): call Pimpl::insertChar
11589 (insertInset): call Pipl::insertInset
11590 (breakParagraph): do not call fitToSize
11591 (breakParagraphConservative): do not call fitToSize
11592 (fitToSize): remove method
11594 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11596 2001-06-24 The LyX Project <Asger>
11598 * Fix Qt compilation^2
11600 2001-06-24 The LyX Project <jug@sad.it>
11602 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11603 depthHook(getDepth()-1).
11606 * ParagraphParameters.h:
11607 * ParameterStruct.h: change type of depth to unsigned int ==
11608 depth_type. Many adaptations to other files before of that.
11610 2001-06-24 The LyX Project <Asger>
11612 * Fix Qt compilation.
11614 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11616 * paragraph.h: renamed several methods to begin with small letter.
11617 several changes to many parts of the code because of this.
11619 2001-06-23 The LyX Project <jug@sad.it>
11621 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11622 rewritten to discard all double spaces when KeepEmpty is off
11623 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11624 to only handle newlines but not fiddle with spaces and friends.
11626 * lyxfunc.C (MenuNew): when doing 'new from template', use
11627 template_path as default directory
11629 2001-06-23 The LyX Project <Asger>
11631 * Clean-up of header file includes all over
11632 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11634 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11636 * paragraph.h: renamed from lyxparagraph.h
11638 2001-06-23 Asger <lyx@violet.home.sad.it>
11640 * Buffer.h: Removed Buffer::resize
11641 * BufferList.h: Removed BufferList::resize
11642 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11643 the document lazily when we change the width, or the font settings.
11645 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11647 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11649 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11651 * buffer.h: remove out of date comment
11653 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11656 * screen.C: fix "theoretical" GC leak
11658 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11660 * LaTeX.C (scanAuxFile):
11661 (deplog): remove trailing \r when reading stream (useful under
11664 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11666 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11667 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11668 and BufferView::theLockingInset(Inset*), so should use them and not
11669 access bv_->text->the_locking_inset directly.
11671 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11673 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11676 * tex-defs.h: remove old unused file
11678 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11680 * BufferView_pimpl.C: fix typo, remove minibuffer message
11681 when buffer has loaded
11683 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11685 * lyxfunc.C (Dispatch): use stringstream
11686 (MenuNew): use stringstream
11687 (Open): use stringstream
11689 * importer.C (Import): use stringstream
11691 * bufferview_funcs.C (CurrentState): use stringstream
11693 * LaTeX.C (run): use stringstream
11695 * BufferView_pimpl.C (savePosition): use stringstream
11696 (restorePosition): use stringstream
11697 (MenuInsertLyXFile): use stringstream
11699 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11712 * vspace.C: removed // -*- C++ -*- as first line.
11715 * version.h: added // -*- C++ -*- as first line.
11717 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11719 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11721 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11724 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11729 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11731 * gettext.C: include LString.h even when --disable-nls is on.
11733 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11735 * converter.h (Get): changed argument type from int to
11736 FormatList::size_type to avoid unnecessary conversion.
11738 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11741 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11743 * gettext.h: include LString.h even when --disable-nls is on.
11745 2001-06-07 Juergen Vigna <jug@sad.it>
11747 * text.C (BreakAgain): subst spaces with tabs.
11749 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11750 (resizeInsetsLyXText): set force on resizeLyXText.
11752 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11754 * gettext.h (gettext_init):
11755 (locale_init): use a real definition instead of a macro
11757 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11759 * Bufferview_pimpl.C:
11761 * LColor.C: further lcolor tidies
11763 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11765 * BufferView_pimpl.C (updateScrollbar): simplify.
11767 * BufferView2.C: don't include insets/insetinfo.h, change
11768 prototype for insertInset and call the Pimpl version. let
11769 updateInset call Pimpl version.
11771 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11772 gotoInset to BufferView::Pimpl
11774 2001-06-01 Juergen Vigna <jug@sad.it>
11776 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11777 inside a LockingInset (is the update needed at all?).
11779 2001-05-31 Juergen Vigna <jug@sad.it>
11781 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11782 here not the old one otherwise how should we compare it afterwards
11785 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11790 * FontInfo.C: bring C functions into global namespace when
11793 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11795 * LString.h: make sure config.h has been loaded before LString.h.
11797 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11798 (one for each char read by EatLine!).
11800 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11803 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11805 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11806 to the same as the par we break from
11808 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11810 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11812 * MenuBackend.C (expand): also create menu entries for wide
11813 versions of the floats.
11815 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11817 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11819 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11820 frontends/Makefile.am
11826 * tabular.C (getTokenValue): add std::
11828 * tabular-old.C (getTokenValue): add std::
11829 (getTokenValue): ditto
11830 (getTokenValue): ditto
11832 * screen.C (ToggleSelection): adjust
11834 * lyxtext.h: put selection cursors inside a Selection struct.
11836 * lyxfunc.C (moveCursorUpdate): adjust
11838 * lyxfont.C (latexWriteStartChanges): add std::
11840 * lyxfind.C: adjust
11842 * font.h: delete with(char const *, LyXFont const &)
11844 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11846 * FontInfo.C (getFontname): add std::
11848 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11849 (workAreaButtonPress): adjust
11850 (tripleClick): adjust
11852 (moveCursorUpdate): adjust
11855 * BufferView2.C (gotoInset): adjust
11857 2001-05-30 Juergen Vigna <jug@sad.it>
11859 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11860 to check pspell I add this as default as I now have new pspell
11861 libraries and they seem to use this.
11863 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11865 * text2.C (CutSelection): make the cursor valid before the call to
11868 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11870 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11871 relied on 0 terminated strings and other horrors. Bug found due to
11872 the new assert in lyxstring!
11874 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11877 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11879 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11882 * lyxfunc.C (processKeySym): change method of getting to the
11885 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11886 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11887 * BufferView_pimpl.[Ch]: here as private methods.
11889 2001-05-28 Juergen Vigna <jug@sad.it>
11891 * text.C (SetHeightOfRow): added the update() call again as it is
11892 needed to initialize inset dimensions!
11894 2001-05-16 Juergen Vigna <jug@sad.it>
11896 * text2.C (SetCharFont): Add new function with BufferView * and
11897 bool toggleall parameters for setting insets internal fonts.
11898 (SetFont): Freeze the undo as we may change fonts in Insets and
11899 all this change should be inside only one Undo!
11901 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11902 setting font's in insets as for them we have the SetFont function!
11904 2001-05-15 Juergen Vigna <jug@sad.it>
11906 * text2.C (ClearSelection): to be sure we REALLY don't have any
11909 * tabular.C (TeXCellPreamble): fixed the left border problem for
11912 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11914 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11917 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11920 LFUN_BREAKPARAGRAPH.
11922 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11923 help test to "internal only", similar for LFUN_INSERT_URL
11925 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11926 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11927 auto_region_delete and deadkeys.
11929 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11932 * LColor.C: remove some dead entries, tidy a little
11934 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11938 (Dispatch): implement LFUN_ESCAPE
11940 * commandtags.h: add LFUN_ESCAPE
11942 * LyXAction.C (init): add entry for LFUN_ESCAPE
11944 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11945 Remove commented code.
11946 (insertNote): moved here
11947 (open_new_inset): moved here
11949 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11952 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11954 * kbmap.C (findbinding): clean it up and make it work correctly.
11956 * lyx_main.C (init): do not pass argc and argv as parameters
11958 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11960 * buffer.C: fix path for OS/2 & Win32
11964 * lyx_main.C: Added os:: class.
11966 * os2_defines.h: update
11968 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11970 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11971 better by trying again with reduced state.
11973 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11975 * lyxrc.C (read): print error about invalid key sequence only when
11976 debugging (because not all latinX keysyms are known to some X
11979 * kbsequence.C (getiso): add a few std:: qualifiers
11980 (getiso): comment out extra return statement.
11982 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11984 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11986 (Dispatch): enhance the accent inset a bit. (not perfect)
11988 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11990 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11992 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11994 * bufferlist.C (emergencyWrite): fix assert() call
11996 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11998 * text.C (InsertChar): Added trivial patch to only send the "you
11999 can not do multiple spaces this way" message once during a
12002 2001-05-08 Baruch Even <baruch@lyx.org>
12004 * Makefile.am: Changed order of libraries to get LyX to link properly
12005 with the gnome frontend.
12007 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12009 * LaTeXFeatures.h: add a std:: qualifier
12011 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12013 * paragraph.C (String): use stringstream
12015 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * paragraph.C (writeFile): remove footflag arg
12019 * buffer.C (makeLaTeXFile): use stringstream
12020 (latexParagraphs): remove footnot gurba
12022 * LaTeXFeatures.C (getPackages): use stringstream
12023 (getMacros): likewise
12024 (getTClassPreamble): likewise
12025 (getFloatDefinitions): new method
12027 * paragraph.C (writeFile): reindent
12030 * WorkArea.h: revert the xpos + etc changes.
12032 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12034 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12036 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12037 (pasteSelection): likewise
12038 * text2.C (CreateUndo): likewise
12040 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * minibuffer.C (peek_event): temporarily reduce the functionality
12043 of the minibuffer (to allow args on lfuns)
12045 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12046 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12048 * buffer.C (readInset): add compability reading of old float
12049 lists, add reading of new style float list.
12050 (readInset): avoid reevaluation of inscmd.getCmdName()
12051 (getLists): reindent
12053 * MenuBackend.C (MenuItem): implement parsing of
12054 md_floatlistinsert and md_floatinsert.
12055 (expand::LastFiles): move initalizaton of iterators out of loop,
12056 avoid reevaluation.
12057 (expand::Documents): introduce typdedef vector<string> Strings,
12059 (expand::ExportFormats): introduce typedef vector<Format const *>
12060 Formats, and use it.
12061 (expand): implement FloatListInsert and FloatInsert.
12063 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12064 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12065 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12067 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12069 (Dispatch::LFUN_FLOAT_LIST): implement
12071 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12073 * LaTeX.C (run): Fix problem with --export code.
12075 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12077 * BufferView.[Ch] (workarea): removed.
12078 (getClipboard) new method; wrapper for workarea()->getClipboard()
12080 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12083 * WorkArea.h (width, height, xpos, ypos): These methods all
12084 returned the dimensions of the work_area sub-area of WorkArea,
12085 resulting in a position error if the WorkArea were resized. Now
12086 return the dimensions of the entire WorkArea.
12088 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12090 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12092 * LaTeX.C (deplog): correct the syntax of regex reg1
12094 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * undo.C: remove !NEW_INSETS cruft
12098 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12100 * text2.C: remove !NEW_INSETS cruft
12102 * text.C: remove !NEW_INSETS cruft
12104 * tabular.C: remove !NEW_INSETS cruft
12106 * spellchecker.C: remove !NEW_INSETS cruft
12108 * lyxtext.h: remove !NEW_INSETS cruft
12110 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12112 * lyxfunc.C: remove !NEW_INSETS cruft
12114 * lyxfind.C: remove !NEW_INSETS cruft
12116 * lyx_cb.C: remove !NEW_INSETS cruft
12118 * figureForm.C: remove !NEW_INSETS cruft
12120 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12122 * buffer.[Ch]: remove !NEW_INSETS cruft
12124 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12126 * CutAndPaste.C: remove !NEW_INSETS cruft
12128 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12130 * BufferView2.C: remove !NEW_INSETS cruft
12132 * BufferView.h: remove !NEW_INSETS cruft
12134 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12136 * Lsstream.h: include LString.h before the sstream headers to
12137 fix problem with gcc 2.95.3 and lyxstring
12139 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12141 * lyx_main.C: add using directives when needed for C functions
12142 declared in std:: namespace.
12144 2001-04-27 Juergen Vigna <jug@sad.it>
12146 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12147 (SetHeightOfRow): comment out the update call should not be needed!
12149 2001-04-13 Juergen Vigna <jug@sad.it>
12151 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12152 (LyXTabular): tried to minimize operator= operations (and realized
12153 hopfully Lars wish).
12155 2001-04-27 Juergen Vigna <jug@sad.it>
12157 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12159 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12161 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12163 * buffer.C (readInset): hack to make listof algorithm work
12165 * BufferView_pimpl.C: hack to make listof algorithm work
12167 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * LyXAction.C: removed all !NEW_INSETS cruft
12170 (init): moved lfun_item in method
12172 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12174 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12176 * BufferView2.C (theLockingInset): white space.
12178 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * minibuffer.C: include <iostream>
12182 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12184 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12186 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12188 * text.[Ch] (TransposeChars): new method
12190 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * call message directly through LyXView instead of through LyXFunc
12193 * BufferView2.C: adjust
12194 * BufferView_pimpl.C: adjust
12195 * FontLoader.C: adjust
12197 * bufferview_funcs.C: adjust
12198 * converter.C: adjust
12199 * figureForm.C: adjust
12200 * importer.C: adjust
12202 * lyx_gui_misc.C: adjust
12203 * lyxfunc.C: adjust
12206 + more files in subdirs
12208 * lyxparagraph.h (size): move up int file
12211 * adjust all uses of Assert to lyx::Assert.
12213 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12214 lyxfunctional in namespace lyx
12215 * layout.C (hasLayout): ditto
12218 (delete_layout): ditto
12219 (NumberOfClass): ditto
12220 * converter.C (GetFormat): ditto
12225 * bufferlist.C (getFileNames): ditto
12226 (emergencyWriteAll): ditto
12229 * MenuBackend.C (hasSubmenu): ditto
12232 * BufferView_pimpl.C (getInsetByCode): ditto
12234 2001-04-18 Juergen Vigna <jug@sad.it>
12236 * vspace.C (asLatexString): fixed the 100% problem.
12238 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12240 * lyxfunc.C (Dispatch):
12242 * minibuffer.h: add a few std:: qualifiers
12244 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * minibuffer.[Ch]: reimplement so that commands is initiated and
12247 run from lyxfunc, simplified som handling, and made the completion
12248 and history code for complete. wip.
12250 * lyxfunc.C (processKeySym): call message
12251 (miniDispatch): new temporary method
12252 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12253 (LFUN_MESSAGE): implement
12254 (LFUN_MESSAGE_PUSH): implement
12255 (LFUN_MESSAGE_POP): implement
12256 (initMiniBuffer): the initial/defualt minibuffer message.
12258 * lyxfont.[Ch]: inline some more getters
12260 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12262 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12264 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12265 (AutoSave): use LFUN_MESSAGE
12266 (Reconfigure): ditto
12268 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12270 * figureForm.C: use LFUN_MESSAGE
12272 * converter.C (runLaTeX): use LFUN_MESSAGE
12274 * bufferview_funcs.C: use LFUN_MESSAGE
12276 (changeDepth): ditto
12278 * bufferparams.h: use boost::
12280 * bufferlist.h: inherit privately from noncopyable
12282 * bufferlist.C (loadLyXFile): remove some commented code.
12284 * buffer.C (runChktex): use LFUN_MESSAGE
12286 * ShareContainer.h: inherit privately from noncopyable
12288 * ParagraphParameters.[hC] (depth): inline it.
12290 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12292 (message): new method
12293 (messagePush): ditto
12294 (messagePop): ditto
12295 (show): init minibuffer
12296 (showState): direct call
12298 * LaTeX.[Ch]: inherit privately from noncopyable
12299 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12300 instead of WriteStatus.
12302 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12304 * BufferView_pimpl.C (buffer): don't init minibuffer
12305 (workAreaButtonPress): use LFUN_MESSAGE
12306 (workAreaButtonRelease): ditto
12307 (savePosition): ditto
12308 (restorePosition): ditto
12309 (MenuInsertLyXFile): ditto
12310 (workAreaExpose): don't init minibuffer
12311 (update): remove commented code, simplify
12313 * BufferView2.C (openStuff): use LFUN_MESSAGE
12314 (toggleFloat): ditto
12317 (copyEnvironment): ditto
12318 (pasteEnvironment): ditto
12323 (updateInset): remove some commented code
12325 * lastfiles.h: inherit privately from noncopyable
12328 * lyx_main.h: ditto
12330 * lyxlex_pimpl.h: ditto
12332 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12333 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12334 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12336 * LyXAction.h: inherit privately from noncopyable, add methods
12337 func_begin, func_end, returning iterators to the func map.
12339 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12340 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12341 (func_begin): new method
12342 (func_end): new method
12344 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12346 (copySelection): ditto
12347 (pasteSelection): ditto
12349 * BufferView.C: whitespace change
12350 * BufferView.h: inherit privately from noncopyable
12352 2001-04-16 Allan Rae <rae@lyx.org>
12354 * tabular-old.C (l_getline):
12355 * spellchecker.C (sc_check_word):
12356 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12357 an unrecognised preprocessor directive. So ensure they're wrapped.
12359 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12361 * src/exporter.C (Export): Give an error message when path to file
12364 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12366 * LaTeX.C (deplog): Always check that foundfile exists.
12368 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12373 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * tabular.[Ch] (getLabelList): implement new method
12377 * minibuffer.h: comment ouf setTiimer
12379 * minibuffer.C (ExecutingCB): constify res
12380 (peek_event): constify s
12381 (Set): constify ntext
12382 (Init): constify nicename
12384 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12386 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12387 (savePosition): use two params to Minibuffer::Set
12388 (restorePosition): ditto
12390 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12392 * lyx_main.C: include language.h
12394 * Makefile.am (lyx_main.o): add language.h
12396 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12402 * CutAndPaste.C: include gettext.h
12404 * lyxfont.h: remove old hack with ON and OFF.
12407 * lyxfont.h: do not include language.h...
12412 * bufferview_funcs.C:
12418 * paragraph.C: ... but do it here instead
12420 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12424 * tabular.C: small reformat
12426 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12429 (BreakParagraph): ditto
12430 (SetOnlyLayout): ditto
12433 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12436 * lastfiles.C: removed most using decl, add std:: where needed
12438 * buffer.C: ws changes
12440 * MenuBackend.C (class compare_format): put into anon namespace
12441 (expand): constify label, names, action, action2
12444 * text.C (SingleWidth): constify font
12445 (IsBoundary): constify rtl2
12446 (GetVisibleRow): constify ww
12448 * LaTeX.C (deplog): constify logfile
12450 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12452 (workAreaExpose): constify widthChange, heightChange
12454 * lyxrow.C (par): moved
12457 * lyxrow.h: as inlines here
12459 * lyxfont.h (shape): moved from lyxfont.C
12460 (emph): moved from lyxfont.C
12462 * lyxfont.C (LyXFont): use initialization list for all
12464 (shape): move to lyxfont.h as inline
12465 (emph): move to lyxfont.h as inline
12468 2001-04-04 Juergen Vigna <jug@sad.it>
12470 * vspace.C: had to include stdio.h for use of sscanf
12472 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12475 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12476 independent of xforms.
12478 2001-04-02 Juergen Vigna <jug@sad.it>
12480 * spellchecker.C: fixed namespace placing!
12482 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12484 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12485 the LyXParagraph * is 0.
12487 2001-03-29 Juergen Vigna <jug@sad.it>
12489 * vspace.C: added support for %, c%, p%, l%.
12490 (stringFromUnit): added helper function.
12491 (asLatexString): changed to give right results for the %-values.
12493 * buffer.C: convert the widthp in a width%.
12495 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12497 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12500 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12501 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12503 * lyx_cb.[Ch]: see above.
12505 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12509 * lyx.[Ch]: replaced by figure_form.[Ch].
12513 * lyxfunc.C: changed headers associated with above changes.
12515 2001-03-27 Juergen Vigna <jug@sad.it>
12517 * BufferView_pimpl.C: set the temporary cursor right!
12519 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12521 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12523 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12525 * LString.h: removed "using std::getline"!
12527 * BufferView_pimpl.C (Dispatch): changes due to changes in
12528 InsetInclude::Params.
12530 * buffer.C (tag_name): removed redundant break statements as they were
12531 producing lots of warnings with my compiler.
12533 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * LString.h: add "using std::getline" when using the real <string>.
12537 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12539 * buffer.C: removed bitset usage.
12540 PAR_TAG moved to an anonymous name space.
12541 (tag_name): new funtion, also in the anonymous namespace.
12542 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12543 (makeDocBookFile): clean code. Completed transition from string arrays
12545 (SimpleDocBookOnePar): code clean.
12547 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12549 * tabular.C: add some comments.
12551 2001-03-22 Juergen Vigna <jug@sad.it>
12553 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12554 compatibility read a bit and fixed bug with minipage in different
12557 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12559 * buffer.C (pop_tag): removed.
12560 (push_tag): removed.
12561 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12562 array replaced with vector. Added support for CDATA sections.
12563 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12565 (makeDocBookFile): XML conformant declaration of CDATA section,
12566 fixed bug related to <emphasis> in the first paragraph char.
12567 (sgmlOpenTag): exclude empty tags.
12568 (sgmlCloseTag): ditto.
12570 * buffer.h (pop_tag): removed.
12571 (push_tag): removed.
12573 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12575 * language.h (Languages): added size_type and size().
12577 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12579 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12580 response on compability reading of minipages. One probliem is that
12581 the old usage of minipages was «flertydig»
12583 * several files here and in subdirs: don't use static at file
12584 scope use anon namespaces instead.
12586 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12588 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12589 LaTeX output. This is necessary for Literate document
12592 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12594 * buffer.C: insert hfill when needed.
12596 * tabular.C (l_getline): use string::erase, small whitespace change.
12598 * BufferView_pimpl.C: try the anon namespace.
12599 * WorkArea.C: ditto
12601 2001-03-16 Juergen Vigna <jug@sad.it>
12603 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12604 otherwise it won't open options-dialogs.
12606 * buffer.C: honor pextraWidth(p) on converting minipages.
12608 * tabular.C (l_getline): changed the functions to strip trailing \r.
12610 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12612 * BufferView_pimpl.C:
12613 * minibuffer..C: added "using SigC::slot" declaration.
12615 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12617 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12623 * paragraph.C: ditto
12625 * lyxtext.h: NO_PEXTRA
12627 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12629 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12630 * ParameterStruct.h: ditto
12631 * ParagraphParameters.h: ditto
12632 * lyxparagraph.h: ditto
12634 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12636 * buffer.C: add compability for minipage alignment.
12637 (latexParagraphs): remove unwanted pextra check.
12639 * several files: remove CXX_WORKING_NAMESPACES
12641 * buffer.C (pop_tag): tie is in namespace boost
12643 * BufferView.h: noncopyable is in namespace boost
12645 * lyx_main.h: ditto
12648 * lastfiles.h: ditto
12649 * bufferlist.h: ditto
12650 * ShareContainer.h: ditto
12652 * LyXAction.h: ditto
12655 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12657 * Merging changes from BRANCH_MVC back into HEAD.
12659 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12661 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12663 * BufferView_pimpl.C: change from intl.C
12667 * Makefile.am: move combox.*
12673 * intl.C: remove dialog (covered by prefs)
12675 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12677 * lyxfunc.C (Dispatch): removed redundant break statement.
12679 2001-03-14 Juergen Vigna <jug@sad.it>
12681 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12683 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12685 * buffer.C: add hack to fix compability reading of minipages.
12687 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12689 * buffer.C (getLists): Cleanup.
12691 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12693 * lyxfont.C (update): don't honor toggleall on font size.
12695 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12699 * Makefile.am: moved to frontends/xforms/
12703 * BufferView_pimpl.C: changes for moved mathpanel
12705 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12707 * gettext.h: fix gettext_init() in --disable-nls
12709 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12711 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12713 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12716 * lyx.h: strip external form
12718 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12720 * BufferView_pimpl.C: add comment, destroySplash()
12722 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12724 * BufferView_pimpl.C:
12728 * lyxfunc.C: use re-worked insetinclude
12730 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12732 * buffer.C: add using std::stringstream.
12734 * lyx_cb.C: readd using std::ios.
12736 * buffer.C: add using std::map.
12738 * BufferView_pimpl.C: add using std::vector.
12740 * ShareContainer.h: add std:: to swap.
12742 * buffer.h: add some typedefs
12743 * buffer.C (getLists): use them
12744 (getLists): renamed from getTocList.
12745 add a counter for the different float types and use it in the
12747 (getLists): use the same counter for the NEW_INSETS and the "non"
12750 * lyx_cb.h: remove unused items, includes, using etc.
12752 * ShareContainer.h: remove some commented code, add more comments
12753 and "documentation".
12755 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12757 * buffer.C (getTocList): make the list also when NEW_INSETS is
12760 * buffer.h: remove TocType
12762 * buffer.C (getTocList): change to return a map<string,
12763 vector<TocItem> >, implement for dynamic number of list.
12765 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12766 * text2.C (PasteSelection): adjust
12767 * CutAndPaste.C (pasteSelection): adjust
12769 * FloatList.C (FloatList): update from the new_insets branch.
12770 * Floating.[Ch]: ditto
12771 * LaTeXFeatures.C: ditto
12773 * lyxlex_pimpl.C: ditto
12775 * paragraph.C (Last): remove when NEW_INSETS is defined.
12777 * other file: changes because of the above.
12779 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12781 * lyxparagraph.h: rename next to next_, previous to previous_,
12782 make them private for NEW_INSETS. Rename Next() to next(),
12783 Previous() to previous().
12785 * other files: changes because of the above.
12787 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12790 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12793 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * main.C (main): pass lyx_localedir to gettext_init().
12797 * gettext.h: remove locale_init and gettext_init macros
12799 * gettext.C (locale_init): new function
12800 (gettext_init): new function
12802 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12805 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12807 * Moved credits to frontends:
12808 * credits.[Ch]: removed
12809 * credits_form.[Ch]: removed
12810 * lyx_gui_misc.C: remove credits stuff
12813 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12815 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12817 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12818 unneeded destructor.
12820 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12821 a standalone pointer again.
12823 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12825 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12831 * ToolbarDefaults.C:
12840 * BufferView_pimpl.C: use new file dialog in GUII
12843 * lyx_cb.C: remove LayoutsCB to Toolbar
12845 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12847 * ShareContainer.h (get): add std:: qualifier
12849 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * ShareContainer.h: define a proper ShareContainer::value_type
12852 type (and use typename to please compaq cxx)
12854 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12856 * lyxparagraph.h: move serveral local vars to
12857 ParameterStruct/ParagraphParameters., use ShareContainer in
12858 FontTable., make vars in FontTable private and add getter and
12861 * paragraph.C: changes because of the above.
12863 * lyxfont.h: remove copy constructor and copy assignment. (the
12864 default ones is ok), move number inside FontBits. move inlines to
12867 * lyxfont.C: add number to initializaton of statics, move several
12868 inlines here. constify several local vars. some whitespace
12869 cleanup. Dont hide outerscope variables.
12871 * Spacing.h: add two new constructors to match the set methods.
12873 * ShareContainer.h: new file, will perhaps be moved to support
12875 * ParameterStruct.h: new file
12877 * ParagraphParameters.h: new file
12879 * ParagraphParameters.C: new file
12881 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12882 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12884 * BufferView_pimpl.C: ParagraphParameter changes.
12885 * buffer.C: Likewise.
12886 * bufferview_funcs.C: Likewise.
12887 * text.C: Likewise.
12888 * text2.C: Likewise.
12890 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12892 * lyxfind.C (LyXReplace): do not redefine default argument in
12894 (IsStringInText): ditto
12895 (SearchForward): ditto
12896 (SearchBackward): ditto
12898 2001-03-06 Juergen Vigna <jug@sad.it>
12900 * lyxfind.C (IsStringInText): put parentes around expressions.
12902 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12904 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12906 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12908 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12910 * stl_string_fwd.h: add comment
12912 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12915 * tabular.C: remove unused DocBook methods
12921 killed DO_USE_DEFAULT_LANGUAGE
12923 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12925 * lyx_gui.C: do not include language.h.
12927 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12928 arguments in function implementation.
12930 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12932 * BufferView_pimpl.C: add <ctime>
12934 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12936 * BufferView_pimpl.C: add using std::find_if
12938 2001-02-27 José Matos <jamatos@fep.up.pt>
12940 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12943 2001-02-11 José Matos <jamatos@fep.up.pt>
12945 * buffer.C (makeDocBookFile): command styles now have a parameter as
12946 "title" by default.
12948 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12950 * layout_forms.[Ch]: removed
12951 * lyx_cb.[Ch]: out character
12952 * lyx_gui.C: out character
12953 * lyx_gui_misc.C: out character
12954 * bufferview_funcs.C: : out character,
12955 added toggleall as parameter in ToggleAndShow
12957 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12959 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12961 * text2.C (SetCurrentFont): Disable number property at boundary.
12963 2001-02-26 Juergen Vigna <jug@sad.it>
12965 * lyxfunc.C (getStatus): added a string argument override function so
12966 that this is correctly called from LyXFunc::Dispatch if it contains a
12967 do_not_use_argument which is used!
12968 (Dispatch): added check for "custom" export and call appropriate func.
12970 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12972 * lyxrc.C: Add language_command_local, language_use_babel and
12973 language_global_options.
12975 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12977 * buffer.C (makeLaTeXFile): Use language_use_babel and
12978 language_global_options.
12980 2001-02-23 Juergen Vigna <jug@sad.it>
12982 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12983 which works with LyXText and putted it inside BufferView. Here now we
12984 only call for that part the BufferView::Dispatch() function.
12986 * BufferView.C (Dispatch): added.
12988 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12989 functions which needs to use a LyXText over from LyXFunc.
12990 (MenuInsertLyXFile): added
12991 (getInsetByCode): added
12992 (moveCursorUpdate): added
12993 (static TEXT): added
12995 2001-02-22 Juergen Vigna <jug@sad.it>
12997 * BufferView_pimpl.C (update): call a status update to see if LyXText
13000 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13002 * vc-backend.C (revert): implement for CVS
13003 (getLog): implement for CVS
13005 2001-02-20 Juergen Vigna <jug@sad.it>
13007 * text2.C (ClearSelection): added BufferView param for inset_owner call
13009 * lyxfunc.C (TEXT): added this function and use it instead of
13010 directly owner->view()-text of getLyXText().
13012 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13014 * src/layout_forms.C: out preamble
13015 * src/layout_forms.h: out preamble
13016 * src/lyx_cb.C: out preamble
13017 * src/lyx_cb.h: out preamble
13018 * src/lyx_gui.C: out preamble
13019 * src/lyx_gui_misc.C: out preamble
13020 * src/lyxfunc.C: connect with guii preamble
13022 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13024 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13026 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13028 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13029 whether to run bibtex.
13031 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13033 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13035 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13037 * Makefile.am (lyx_SOURCES): removed bibforms.h
13039 * vspace.h: doxygen
13041 * text.C (GetVisibleRow): make several local vars const
13043 * tabular.C: small cleanup.
13045 * lyxserver.C (callback): use compare instead of strncmp
13047 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13048 inlines to after class or to paragraph.C
13050 * lyxfont.h: remove friend operator!=
13052 * converter.h: move friend bool operator< to non friend and after
13055 * combox.h: small cleanup
13057 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13058 to inlines after class def.
13060 * buffer.C (pop_tag): use string operations instead of strcmp
13062 * bmtable.c: doxygen, small cleanup
13064 * LaTeX.h: remove friend operator==
13066 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13078 * BufferView_pimpl.C:
13079 * BufferView.[Ch]: remove cruft
13081 2001-02-14 Juergen Vigna <jug@sad.it>
13083 * lyxfunc.C: removed #if 0 unused code
13085 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13087 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13089 * text2.C (SetSelection): added a BufferView * parameter
13091 2001-02-13 Juergen Vigna <jug@sad.it>
13093 * lyxfunc.C (Dispatch): fixed protected blank problem.
13094 * BufferView2.C (protectedBlank): added LyxText * parameter.
13096 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13097 (AppendColumn): same as above for column_info.
13099 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13100 (moveCursorUpdate): use a LyXText param for support of InsetText.
13102 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13103 (tripleClick): ditto
13105 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13107 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13109 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13111 * text2.C (SetSelection): set correct update status if inset_owner
13112 (ToggleFree): ditto
13114 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13116 * tabular.C: remove some commented code.
13118 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13120 * BufferView_pimpl.C: call hideSplash()
13122 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13125 * bibforms.h: remove
13128 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13129 add LFUN_CHILD_CREATE
13131 * counters.h: fix tiny typo
13136 * lyx.C: move splash to frontends/xforms/
13138 * lyx_gui_misc.C: move Include and Bibform to frontends
13140 * lyxvc.h: clarify comment
13142 * vspace.C: tiny housekeeping
13144 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13146 * text.C (PrepareToPrint): RTL Fix.
13148 * paragraph.C (GetUChar): New method.
13149 (String): Use GetUChar.
13151 * buffer.C (asciiParagraph): Use GetUChar.
13153 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13155 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13157 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13160 * buffer.C: rename to getLogName(), handle
13161 build log / latex log nicely
13163 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * MenuBackend.h: remove support for reference menuitem type.
13168 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13170 * BufferView_pimpl.C: housekeeping
13171 * BufferView_pimpl.h:
13176 * minibuffer.h: move Timeout GUI-I
13178 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13180 * lyxrc.C (read): Update converters data-structures.
13182 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13184 * LaTeX.h (operator!=): add operator != for Aux_Info
13186 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13188 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13190 * LaTeXLog.C: deleted, useful code moved to Buffer
13193 * buffer.C: new function getLatexLogName()
13199 * lyxfunc.C: use frontends for LaTeX and VC logs
13201 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13203 * LaTeX.h: yet another std:: that Allan forgot.
13205 * Variables.C (set): renamed from isset(), because this clashes
13206 with some HP-UX macros (grr).
13208 2001-02-06 Allan Rae <rae@lyx.org>
13210 * LaTeX.h: Another bug fix. Missing std:: this time.
13212 2001-02-04 Allan Rae <rae@lyx.org>
13214 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13215 floats problem. I've left it commented out because it's not quite
13216 correct. It should also test that the current object is a table or
13217 figure inset. But I haven't gotten around to figuring out how to do
13218 that. I *think* it'll be something like: "table" == inset.type()
13220 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13223 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13225 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13226 all the citation/databases/styles in the auxilary file.
13227 (run): Rerun latex if there was a babel language error.
13229 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13231 * text.C (Backspace): Preserve the font when changing newline char
13233 (BreakParagraph): If the cursor is before a space, delete the space.
13235 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13237 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13239 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13240 new argument (code).
13241 (ChangeCitationsIfUnique): New method.
13243 * paragraph.C (GetPositionOfInset): Handle bibkey.
13245 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13247 * BufferView_pimpl.h: change type of Position::par_pos to
13248 LyXParagraph::size_type.
13250 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13252 * BufferView_pimpl.C (savePosition, restorePosition): Write
13253 messages to minibuffer.
13255 2001-01-28 José Matos <jamatos@fep.up.pt>
13257 * buffer.C (makeDocBookFile): adds support for document language.
13258 A silly restriction on the name of LatexCommand types where removed.
13259 Added support for CDATA sections, allows to chars unescaped, used
13260 among others in code, to avoid escape < and >.
13262 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13264 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13265 saved positions instrad of a stack. Furthermore, a position is
13266 stored using paragraph id/paragraph position.
13268 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13269 Remove LFUN_REF_BACK.
13271 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13273 * converter.C (dvipdfm_options): New method.
13275 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13277 * vspace.C (isValidLength): Fix for empty input string.
13279 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * LyXAction.C (init): change description of LFUN_FIGURE to
13284 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * LaTeX.C: add using directive
13288 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13290 * MenuBackend.C (expand): Fix the sorting of the formats.
13292 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13294 * lyx_main.C: tiny error message fix
13296 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13298 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13299 calling fl_initialize(). This fixes the problem with ',' as
13300 decimal separator in text files.
13302 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13304 * trans.C (process): Fix the keymap bug.
13306 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13308 * LaTeX.C (scanAuxFiles): New method. Provides support for
13309 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13310 (scanLogFile) Scan for "run BibTeX" messages.
13312 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13313 OT1 font encoding. Also, load the aecompl package if the ae
13316 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13318 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * texrow.C (increasePos): turn two error messages into debug
13323 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13325 * LaTeX.C (scanAux): Handle the \@input macro.
13326 (runBibTeX): Use scanAux().
13328 * language.C (latex_options_): New field.
13330 * LaTeXFeatures.C (getMacros): Add language macros.
13332 * buffer.C (makeLaTeXFile): Small fix.
13334 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13338 * text2.C: add a using directive.
13340 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13345 * lyxfunc.C: kill LyXBell.
13347 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13349 * text.C (IsBoundary): Remove the error message
13351 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13353 * lyxrc.C (setDefaults): Correct initialization value for
13356 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13358 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13361 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13362 and GotoNextNote().
13364 * src/LyXAction.C: Added reference-next.
13366 * text.C (InsertChar): Use contains instead of strchr.
13368 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13370 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13372 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13373 alignment commands (when needed).
13375 * text.C (InsertChar): Add ':' to number separator chars.