1 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3 * paragraph.C (getChar): add strong asserts
5 * lyxrow_funcs.C (lastPos): remove hideous hack
7 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
8 (fill): adjust to that (avoid an infinite loop)
10 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
12 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
14 2003-10-23 André Pönitz <poenitz@gmx.net>
16 * RowList_fwd.h: change list<> to vector<> to gain speed
17 after suggestion from Alfredo
19 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
21 * lyxtext.h: move the bidi stuff from here...
24 * Bidi.[Ch]: ... to here
26 2003-10-23 André Pönitz <poenitz@gmx.net>
29 * text.C (isLastRow, isFirstRow): new functions
31 * paragraph.h: new width cache member
33 * rowpainter.C: replace RowList::iterator with Row & where possible
35 * lyxfunc.C: replace several view()->text with a single call
37 * toc.C: fix 'unused' warning
39 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
41 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
42 when woring with stream::pos_type
43 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
45 2003-10-22 André Pönitz <poenitz@gmx.net>
48 * text.C: use Row & instead of RowList::iterator
50 * lyxrow.h: rename end() to endpos()
56 2003-10-22 Angus Leeming <leeming@lyx.org>
58 * buffer.[Ch] (fully_loaded): new member function, returning true
59 only when the file has been loaded fully.
60 Used to prevent the premature generation of previews and by the
61 citation inset to prevent computation of the natbib-style label.
63 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
64 templates are all set up.
66 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
68 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
70 * text.C: fixed an "oops" in the "is a bit silly"
73 2003-10-21 André Pönitz <poenitz@gmx.net>
75 * FuncStatus.[Ch]: small stuff, whitespace
77 * lyxfont.[Ch]: operator<<() for debug reasons
81 * lyxtext.h: whitespace, spelling
83 * paragraph.C: naming of variables
86 * text2.C: small stuff
89 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
91 * text.C: (1) finish off the inset display() work;
92 (2) fix the "is a bit silly" bug (accessing char
95 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
97 * text.C: re-introduce display() for insets, fixing the
98 various bugs (stretch of line above, math inset
101 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
103 * text.C (rightMargin): remove spurious semicolon
105 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
108 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
110 * text3.C: fix one crash due to wrong cursor def
112 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
114 * vc-backend.C (scanMaster): make the regex static
116 * LaTeX.C (scanAuxFile): make the regexs static
118 * text3.C (doInsertInset, dispatch, dispatch):
119 * text2.C (cursorUp, cursorDown):
120 * text.C (selectNextWordToSpellcheck):
121 * BufferView_pimpl.C (dispatch):
122 * lyxfunc.C (dispatch): localDispatch -> dispatch
124 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * lyxsocket.C: include <cerrno>
128 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
130 * lyxfunc.C (dispatch): remove textcache stuff
132 * bufferlist.C (release): remove textcache stuff
135 * TextCache.C: delete file
136 * TextCache.h: delete file
138 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
140 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
141 delete of the bv_->text.
142 (resizeCurrentBuffer): remove texcache stuff
143 (workAreaResize): ditto
145 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
147 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
150 2003-10-16 André Pönitz <poenitz@gmx.net>
157 * text3.C: speed up by storing y positions per paragraph plus per-row
158 offset instead of having a 'full' y position in the row.
160 2003-10-15 André Pönitz <poenitz@gmx.net>
164 * undo.[Ch]: make undo aware of inner insets
166 2003-10-14 Angus Leeming <leeming@lyx.org>
168 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
169 static member functions LyX::ref() and LyX::cref.
170 (lastfiles): new accessor functions for the new lastfiles_ member var.
171 (addLyXView, views_): add a new LyXView to the list of views_.
172 (updateInset): loop over all LyXViews to call their own updateInset
173 member function, returning a pointer to the Buffer owning the inset.
175 * BufferView_pimpl.C (loadLyXFile):
176 * MenuBackend.C (expandLastfiles):
177 * bufferlist.C (MenuWrite, QuitLyX):
178 lastfiles is no longer a global variable.
179 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
181 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
182 static function. Access through LyX::cref().emergencyCleanup().
184 2003-10-14 André Pönitz <poenitz@gmx.net>
186 * iterators.[Ch]: new direct access to innermost LyXText and Inset
188 * undo.[Ch]: restoring part of 'undo in insets'
191 * undo_funcs.[Ch]: merge with undo.[Ch]
193 * tabular.C: small cleansing stuff
195 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
197 * paragraph_funcs.C (readParToken): report unknown insets as error
198 boxes. Use the outer paragraph as location (also for unknown
201 * factory.C (readInset): do not abort on reading an unknown inset.
204 2003-10-13 Angus Leeming <leeming@lyx.org>
206 * lyx_main.C (LyX): remove call to setDisplayTranslator().
208 * lyxrc.C: displayTranslator is now a function,
209 declared in GraphicsTypes.h.
211 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
213 * format.C: new placeholder $$a to pass the socket address.
215 * bufferlist.[Ch]: new function getBufferFromTmp.
217 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
218 files in the temporary dir.
220 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
222 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
224 * Makefile.am: add lyxsocket.[Ch].
226 * lyx_main.C (error_handler): handle SIGPIPE.
228 2003-10-13 André Pönitz <poenitz@gmx.net>
230 * BufferView_pimpl.C:
235 * undo_funcs.[Ch]: use paroffset_type instead of
236 ParagraphList::iterators to prevent multiple conversion
237 (and get a more robust interface)
239 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
241 * lyxfunc.C (dispatch): RESULT -> dispatch_result
243 * text3.C (dispatch): ditto
245 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
247 * LaTeX.C (handleFoundFile): move the static to smaller scope,
248 move the onlyfile, use onlyfile instead of foundfile in a couple
251 * DepTable.C (update): flush the error stream a bit more
253 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
255 * lyxserver.C (callback): adjust
257 * lyxfunc.C (getStatus): add a missing brace in commented code
258 (ensureBufferClean): reindent
259 (dispatch): delete version taking a string
261 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * LaTeX.C (deplog): move found file handlig from here...
264 (handleFoundFile): .. to new function here.
265 (deplog): make sure to discover several files mentioned on the
268 2003-10-10 André Pönitz <poenitz@gmx.net>
275 * text3.C: fix some of the tabular crashes
277 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
279 * MenuBackend.C (binding): put debug message into Debug::KBMAP
281 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
283 2003-10-09 André Pönitz <poenitz@gmx.net>
285 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
288 * BufferView_pimpl.C:
289 * bufferview_funcs.C:
300 * undo_funcs.C: adjust
302 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
304 * text2.C (incrementItemDepth): new function, use a backtracking
305 algorithm to discover the correct item depth.
306 (resetEnumCounterIfNeeded): new function, use a backtracking
307 algorithm to discover if counter reset is needed.
308 (setCounter): use them. Simplify a bit. Add different labels for
309 different item depths for itemize.
311 * paragraph.C (Paragraph): remove initialization of enumdepth
314 * paragraph.h: get rid of enumdepth, and use itemdepth both for
315 enumerate and itemize. Change the type of itemdepth to signed char.
317 2003-10-08 André Pönitz <poenitz@gmx.net>
319 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
324 * tabular.[Ch]: fix crash after 'row-insert'
326 2003-10-08 Angus Leeming <leeming@lyx.org>
328 Fix doxygen warnings.
330 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
331 Remove CutAndPaste:: prefix from header file declaration.
333 * LColor.h (fill): remove LColor:: prefix from declaration.
335 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
336 use lyx::depth_type rather than Paragraph::depth_type so that
337 header file and .C file match.
339 * converter.h (intToFormat): remove Converters:: prefix from declaration.
341 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
342 * aspell.C: \file aspell_local.C -> \file aspell.C
343 * gettext.C: \file gettext.C -> \file src/gettext.C
344 * gettext.h: \file gettext.h -> \file src/gettext.h
345 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
346 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
347 * text.C: \file text.C -> \file src/text.C
349 * toc.C: move comment so that doxygen is not confused.
351 2003-10-07 Angus Leeming <leeming@lyx.org>
353 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
355 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
358 * aspell_local.h: add forgotten std::string's.
360 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
367 * text3.C: The Box patch. Fancybox support, minipage, parbox
369 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
375 * ParagraphParameters.h:
385 * lyxtextclasslist.h:
389 * textcursor.h: add <string> and other small fixes to make Lars'
390 std::string patch compile with STLport.
392 2003-10-06 Angus Leeming <leeming@lyx.org>
394 * LColor.h: Add missing #include <string>.
396 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * All most all file in all subdirs: Make <string> be the prefered
399 way of getting to std::string, add using declarations.
401 2003-10-06 André Pönitz <poenitz@gmx.net>
403 * metricsinfo.C: initialize LyXFont before changing attribute.
404 (fixes the 'math in \emph is upright' bug)
406 2003-10-06 André Pönitz <poenitz@gmx.net>
408 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
410 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
413 * paragraph_pimpl.C: Small fixes to build using STLport
415 2003-10-02 André Pönitz <poenitz@gmx.net>
418 * text3.C: move handling of LFUN_DEPTH *; fix #1360
420 2003-10-01 André Pönitz <poenitz@gmx.net>
422 * factory.C: assert early
424 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * lyx_main.C: remove the global debug object
428 * debug.h: adjust for new debugstream
430 * debug.C: adjust for new debugstream and keep the global debug
433 2003-09-22 Angus Leeming <leeming@lyx.org>
435 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
436 of g++ which otherwise complain that the scoped_ptr destructor can't delete
437 an incomplete class LyXFont.
439 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
441 * factory.C: bug fix in branches
443 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
445 * lyxfunc.C (processKeySym): adjust
447 (dispatch): change arg name from ev to func, adjust
448 (sendDispatchMessage): ditto
450 * lyx_main.C (defaultKeyBindings): adjust keybindings
451 (deadKeyBindings): ditto
453 * kbsequence.C (addkey): return a FuncRequest
455 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
457 * kbmap.C (bind): take a FuncRequest as arg, adjust
460 (defkey): change to take a FuncRequest as arg, adjust
461 (findbinding): take a FuncRequest as arg, adjust.
463 * funcrequest.h (operator=): added
465 * funcrequest.C (FuncRequest): default kb_action changed from
466 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
468 * buffer.C (dispatch): simplify
469 (dispatch): adjust to take a FuncRequest as arg, adjust
471 * boost.C (assertion_failed): change assertion message slightly
473 * ToolbarBackend.C (read): simplify
475 * MenuBackend.C (binding): adjust call to findbinding, add a
476 message if no binding is found.
478 (expandToc): correct by adding a empty FuncRequest
480 * LyXAction.C: include <boost/assert.hpp>
481 (isPseudoAction): delete function
482 (LookupFunc): change name to...
483 (lookupFunc): this. change return type to FuncRequest.
484 (getActionName): take kb_action as arg, simplify
485 (funcHasFlag): add an assert, simplify.
487 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
489 * toc.C (action): return a FuncRequest, simplify
491 * lyxfunc.C (processKeySym): adjust
492 (getStatus): delete version that takes an int.
494 (dispatch): delete version that takes action as int
496 (sendDispatchMessage): simplify and adjust
498 * funcrequest.C (getArg): take unsigned int as arg
500 * ToolbarBackend.C (read): adjust
501 (add): delete version that takes func as a string.
502 (getIton): take a FuncRequest as arg
504 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
507 * MenuBackend.C (MenuItem): add a new construct that only takes a
508 Kind, simplify the constructor use for submenus.
510 (expandLastfiles): adjust
511 (expandDocuments): adjust
512 (expandFormats): adjust
513 (expandFloatListInsert): adjust
514 (expandFloatInsert): adjust
515 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
517 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
518 Remove class variables lyx_pseudo_map and lyx_arg_map
520 * LyXAction.C (searchActionArg): delete function
521 (getPseudoAction): delete function
522 (retrieveActionArg): delete function
523 (LookupFunc): make it return kb_action, simplify.
524 (getActionName): simplify
526 * factory.C (createInset): fix new bug
528 2003-09-19 Angus Leeming <leeming@lyx.org>
530 * CutAndPaste.C (pasteSelection): remove fudge used to set the
531 masterFilename_ parameter in the include inset.
533 * factory.C (createInset): changes due to the changes to InsetInclude.
535 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
537 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
539 2003-09-18 Angus Leeming <leeming@lyx.org>
542 * BufferView.C: pass the buffer when calling Inset::getLabelList,
543 Inset::fillWithBibKeys.
544 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
546 2003-09-18 Angus Leeming <leeming@lyx.org>
548 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
550 (ctor): pass and store a 'Buffer const &'
551 (buffer): new member function.
553 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
554 '*this' to the LaTeXFeatures ctor.
556 2003-09-18 Angus Leeming <leeming@lyx.org>
562 * text.C: rename EnumLColor as LColor_color.
564 2003-09-18 Angus Leeming <leeming@lyx.org>
566 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
567 remove #include "insets/insetbase.h" from cursor.h.
569 2003-09-18 Angus Leeming <leeming@lyx.org>
571 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
572 InsetOld_code to remove #include "inset.h".
574 * iterators.C: add #include "insets/inset.h"
576 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
578 * BufferView.C: remove more locking stuff that apparently doesn't
579 do anything sensible.
581 2003-09-16 André Pönitz <poenitz@gmx.net>
584 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
587 2003-09-16 Angus Leeming <leeming@lyx.org>
589 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
591 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
594 * paragraph.h: remove #include "lyxfont.h". Forward declare
597 2003-09-16 Angus Leeming <leeming@lyx.org>
599 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
600 of support/textutils.h.
601 (isWord): move the contents of support/textutils.h's IsWordChar here.
607 * text2.C: add #include "paragraph.h".
610 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
612 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * LaTeX.C: use namespace alias for lyx::support::os
620 2003-09-16 Angus Leeming <leeming@lyx.org>
623 * bufferview_funcs.C:
628 * text.C: add #include "LColor.h".
630 2003-09-16 Angus Leeming <leeming@lyx.org>
632 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
633 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
635 Store the FontBits::color variable as an int rather than as an
636 LColor::colorso that we can move LColor.h out of the lyxfont.h header
639 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
640 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
641 string calls together.
643 * lyxrc.C: add #include "LColor.h".
645 2003-09-15 Angus Leeming <leeming@lyx.org>
647 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
650 2003-09-15 Angus Leeming <leeming@lyx.org>
652 * LColor.h: add an EnumLColor wrapper for LColor::color.
654 * lyxfont.[Ch] (color, setColor, realColor):
655 * lyxtext.h, text.C (backgroundColor):
656 pass EnumLColor args to/from the functions, rather than LColor::color
660 * lyxtext.h: forward declare EnumLColor.
662 * lyx_main.C: add #include "LColor.h".
664 2003-09-15 Angus Leeming <leeming@lyx.org>
666 * .cvsignore: add lyx-gtk.
668 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
673 * ParagraphParameters.C
687 * vc-backend.C: remove usage of STRCONV
689 2003-09-15 Angus Leeming <leeming@lyx.org>
691 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
692 explicitly define the color passed to the painter.
694 2003-09-15 Angus Leeming <leeming@lyx.org>
696 * bufferparams.C (BufferParams): reorder member initializers to avoid
699 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
701 * CutAndPaste.C (pasteSelection): remove an outdated #warning
702 * text.C (updateRowPositions): remove an unusual nop
704 2003-09-12 André Pönitz <poenitz@gmx.net>
706 * BufferView_pimpl.C:
715 * Counters.[Ch]: finish the 'automatic counters' job
717 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
719 * aspell.C: include <boost/assert.cpp> (compile fix)
721 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
723 * boost.C (assertion_failed): use lyx::support::abort instead of
726 2003-09-10 Angus Leeming <leeming@lyx.org>
728 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
729 with their _fwd progeny.
731 2003-09-09 Angus Leeming <leeming@lyx.org>
733 134 files throughtout the source tree: replace 'using namespace abc;'
734 directives with the appropriate 'using abc::xyz;' declarations.
736 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
738 * boost.C (emergencyCleanup): moved here from LAssert.c
739 (assertion_failed): new function, called by BOOST_ASSERT
741 * several files: change Assert to BOOST_ASSERT
743 2003-09-09 Angus Leeming <leeming@lyx.org>
745 * buffer.[Ch]: Add an Impl class and move Buffer's member
746 variables into it. As a result move several header files out of
749 Add header files to lots of .C files all over the tree as a result.
751 2003-09-09 Angus Leeming <leeming@lyx.org>
753 * buffer.[Ch]: make Buffer's member variables private. Add
756 Lots of changes all over the tree as a result.
758 2003-09-08 Angus Leeming <leeming@lyx.org>
760 * graph.C: #include <config.h>.
762 2003-09-08 Angus Leeming <leeming@lyx.org>
766 * BufferView_pimpl.C:
795 * toc.C: remove redundant using directives.
797 2003-09-07 Angus Leeming <leeming@lyx.org>
799 * LaTeXFeatures.h: remove #include "support/types.h".
800 * ToolbarBackend.h: remove #include <algorithm>.
801 * changes.h: remove #include <ctime>.
802 * debug.h: remove #include <iosfwd>.
803 * graph.h: remove #include "support/std_string.h".
804 * lyx_main.h: remove #include <csignal>.
805 * lyxlex_pimpl.h: remove #include <fstream>.
806 * sgml.h: remove #include <algorithm>, <utility>.
807 * toc.h: remove #include "support/std_ostream.h".
808 Add #include <iosfwd>.
810 2003-09-07 Angus Leeming <leeming@lyx.org>
812 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
814 * converter.h: forward declare LatexRunParams.
815 * encoding.h: remove #include "lyxrc.h".
816 * lyxtext.h: remove #include "LColor.h".
817 * lyxtextclass.h: remove #include "support/types.h".
818 * trans.h: remove #include "tex-accent.h".
819 * trans_mgr.h: remove #include "tex-accent.h".
820 * insets/inset.h: remove #include "support/types.h", <vector>.
821 * insets/insetcollapsable.h: remove #include "LColor.h".
822 * insets/insetinclude.h: remove #include "dimension.h".
823 * insets/insetlatexaccent.h: remove #include "dimension.h".
824 * insets/insetoptarg.h:: remove #include "insettext.h".
825 * insets/insettext.h: remove #include "dimension.h",
826 <boost/shared_ptr.hpp>
828 * insets/renderers.h: add #include "dimension.h".
829 * insets/updatableinset.h: add #include "support/types.h".
831 * many .C files: Associated changes.
833 2003-09-06 Angus Leeming <leeming@lyx.org>
835 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
836 one, inside testInvariant.
838 * PrinterParams.C: new file.
839 * PrinterParams.[Ch]: move the function bodies out of line.
841 2003-09-06 Angus Leeming <leeming@lyx.org>
843 * ParagraphParameters.h: forward declare ParameterStruct rather than
844 including its header file.
845 (depth): moved out-of-line.
847 2003-09-06 Angus Leeming <leeming@lyx.org>
849 * BufferView_pimpl.h:
852 * lyxfunc.h: forward declare LyXKeySym rather than
853 #include "frontends/LyXKeySym.h".
855 * BufferView_pimpl.C:
858 * lyxfunc.C: associated changes.
860 2003-09-06 Angus Leeming <leeming@lyx.org>
862 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
863 As a result, can remove the #include "insets/inset.h" from BufferView.h
865 2003-09-06 Angus Leeming <leeming@lyx.org>
867 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
868 As a result, can remove the #include "insets/inset.h" from BufferView.h
870 2003-09-06 Angus Leeming <leeming@lyx.org>
876 * bufferview_funcs.C:
877 * BufferView_pimpl.C:
882 * ParagraphParameters.C:
887 * frontends/controllers/ControlDocument.C:
888 * insets/insetcaption.C: rearrange the #includes into some sort of
891 * buffer.h: remove #includes ErrorList.h, undo.h
893 2003-09-06 Angus Leeming <leeming@lyx.org>
895 * support/types.h: add a 'depth_type' typedef, used to store the
896 nesting depth of a paragraph.
899 * ParameterStruct.h: use this lyx::depth_type typedef rather than
904 * ParagraphParameters.h:
905 * sgml.h: use lyx::depth_type rather than Paragraph or
906 ParameterStruct's depth_type.
909 * paragraph_funcs.h: no need to #include paragraph.h anymore.
912 * BufferView_pimpl.C:
914 * ParagraphParameters.C:
917 * bufferview_funcs.C:
924 * frontends/LyXView.C:
925 * frontends/controllers/ControlDocument.C:
926 * frontends/controllers/ControlErrorList.C:
927 * insets/insetbibitem.C:
928 * insets/insetbranch.C:
929 * insets/insetcaption.C:
930 * insets/insetcollapsable.C:
933 * insets/insetfloat.C:
934 * insets/insetfoot.C:
935 * insets/insetfootlike.C:
936 * insets/insetnewline.C:
937 * insets/insetquotes.C:
938 * insets/insettabular.C:
939 * insets/insettext.C:
940 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
942 * frontends/controllers/ControlChanges.C: #include "changes.h".
944 2003-09-06 Angus Leeming <leeming@lyx.org>
946 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
947 than #including paragraph.h.
950 * RowList.h: deleted. Superfluous.
960 * insets/insettext.h: use ParagraphList_fwd.h rather than
963 * paragraph.h: don't forward declare ParagraphList.
966 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
967 rather than ParagraphList.h. paragraph.h is still needed for the
968 Paragraph::depth_type parameters.
970 * textcursor.h: enable it to compile stand-alone in light of the
973 * bufferview_funcs.C:
985 * frontends/controllers/ControlParagraph.C:
986 * frontends/controllers/ControlTabular.C:
987 * insets/insetmarginal.C:
988 * insets/insetminipage.C:
989 * insets/insetnote.C:
990 * insets/insetoptarg.C: add header files needed to compile again.
992 2003-09-06 Angus Leeming <leeming@lyx.org>
994 * RowList_fwd.h: new file, forward-declaring Row rather than
1000 * insets/insettext.h: use it instead of RowList.h
1002 * bufferview_funcs.C:
1009 * text3.C: #include "RowList.h".
1011 2003-09-05 Angus Leeming <leeming@lyx.org>
1013 * factory.C (createInset):
1014 * vspace.C (c-tor): replace sscanf call with an istringstream.
1015 * ispell.C: re-add missing HP/UX headers.
1016 * lyxserver.C: re-add missing os2 headers.
1018 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1027 * text3.C: re-add missing system headers, needed for 2.95.2.
1029 2003-09-05 Angus Leeming <leeming@lyx.org>
1031 Changes most place everywhere due to the removal of using directives
1032 from support/std_sstream.h.
1034 2003-09-05 Angus Leeming <leeming@lyx.org>
1036 Replace LString.h with support/std_string.h,
1037 Lsstream.h with support/std_sstream.h,
1038 support/LIstream.h with support/std_istream.h,
1039 support/LOstream.h with support/std_ostream.h.
1041 Changes resulting throughout the tree.
1043 2003-09-05 Angus Leeming <leeming@lyx.org>
1045 * sgml.h: ensure that the header file can be compiled stand-alone.
1046 * *.C: strip out redundant #includes. (320 in total.)
1048 2003-09-04 Angus Leeming <leeming@lyx.org>
1050 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1051 here (from getPackages).
1053 * debug.[Ch]: add a new EXTERNAL tag.
1055 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1057 * text2.C (cursorEnd): simplify
1059 (getColumnNearX): adjust
1061 * text.C (computeBidiTables): adjust
1064 * rowpainter.C (paintChars): adjust
1065 (paintSelection): adjust
1066 (paintChangeBar): adjust
1069 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1071 (numberOfSeparators): adjust
1073 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1079 * text3.C: Restricts the mouse click functionality
1080 of insets like bibtex, include, toc and floatlist to the visible
1081 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1082 up the dialogs. Cursor has to be in front of the inset (i.e.
1083 start of row) for this to function.
1085 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1087 * bufferview_funcs.C (currentState): output row information
1089 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1091 * bufferview_funcs.C (currentState): output paragraph position
1093 2003-09-04 Angus Leeming <leeming@lyx.org>
1095 * FloatList.h: move out #include "Floating.h".
1096 * LaTeX.h: move out #include "DepTable.h".
1097 * LyXAction.h: move out #include "funcrequest.h".
1098 * buffer.h: move out #include "author.h", "iterators.h".
1099 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1100 * lyx_main.h: move out #include "errorlist.h".
1101 * lyxfunc.h: move out #include "FuncStatus.h".
1102 * lyxtext: move out #include "lyxcursor.h".
1103 * paragraph_pimpl.h: move out #include "counters.h".
1105 2003-09-03 Angus Leeming <leeming@lyx.org>
1107 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1108 preamble_snippets list, enabling us to add snippets to the preamble
1109 only if the snippet was not there already.
1111 2003-09-04 Angus Leeming <leeming@lyx.org>
1113 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1115 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1120 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1122 * BranchList.C: point fix, earlier forgotten
1124 2003-09-02 Angus Leeming <leeming@lyx.org>
1126 * box.C (contains): renamed from 'contained' after a fantastic
1129 2003-09-02 John Levon <levon@movementarian.org>
1135 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1137 2003-09-02 John Levon <levon@movementarian.org>
1139 * text2.C: simplification of cursorEnd(), including partial
1142 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * buffer.C (readFile): add a space
1146 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1148 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1150 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * buffer.C (readFile): new function, take a filename and a
1153 ParagraphList::iterator
1155 (readFile): adjust, make it private. don't use setStream, make
1156 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1157 always contain the filename.
1159 * BufferView.C (insertLyXFile): simplify and make it work for
1162 2003-08-30 John Levon <levon@movementarian.org>
1164 * Makefile.am: fix dist (from Kayvan)
1166 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1168 * most files: change to use const Buffer refs
1170 2003-08-27 André Pönitz <poenitz@gmx.net>
1172 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1173 on top of ownerPar().
1175 2003-08-27 John Levon <levon@movementarian.org>
1177 * funcrequest.C: properly initialise POD members
1179 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1181 * lyxtext.h (top_y): move top_y from here
1186 * BufferView_pimpl.[Ch]: to here
1187 * frontends/screen.C:
1188 * insets/insettabular.C:
1189 * insets/insettext.C: adjust
1190 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1192 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1195 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1197 2003-08-26 André Pönitz <poenitz@gmx.net>
1199 * paragraph_func.[Ch] (outerPar): new function
1202 * paragraph_funcs.C:
1203 * paragraph_funcs.h:
1204 * paragraph_pimpl.C:
1205 * text2.C: remove Inset::par_owner
1207 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1212 * text2.C: eliminates the needFullRow/display() stuff
1213 altogether, putting the logic in metrics/draw in the insets.
1215 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1217 * text2.C (redoParagraphInternal, redoParagraphs):
1218 * text.C (redoParagraph): add a call to updateRowPositions at the
1219 end of each 'metrics-like' call. Remove all others.
1220 (getRow): remove the 'y-computing' version.
1221 (getRowNearY): do not compute nor return the real y. Solve the
1222 'y < 0' problem and simplify.
1224 2003-08-22 Angus Leeming <leeming@lyx.org>
1226 * *.[Ch]: clean-up of licence and author blurbs.
1227 Also move config.h out of a few .h files and into a few .C files.
1229 2003-08-22 André Pönitz <poenitz@gmx.net>
1231 * lyxrow.[Ch]: add x_ and *fill_ members
1236 * text2.C: adjust/remove prepareToPrint() calls
1238 2003-08-22 André Pönitz <poenitz@gmx.net>
1240 * lyxrow.[Ch]: add end_ member
1242 * lyxrow_funcs.C: use LyXRow::end_
1244 * lyxtext.h (singleWidth): add LyXFont parameter
1247 * text2.C: adjust LyXText::singleWidth() calls
1249 * text.C (redoParagraph): simplify row breaking logic
1252 2003-08-19 André Pönitz <poenitz@gmx.net>
1254 * funcrequest.C: initialize button_ member
1257 * rowpainter.[Ch]: interface consolidation
1259 2003-08-18 André Pönitz <poenitz@gmx.net>
1262 * BufferView_pimpl.C:
1264 * paragraph_funcs.C:
1266 * text3.C: remove LyXScreen::draw() and fitCursor calls
1268 * BranchList.h: remove spurious semicolons
1270 * MenuBackend.C: fix branchlist related crash
1272 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1280 * bufferparams.[Ch]:
1284 * text3.C: implements the 'branch inset'
1285 idea. This allows the output of various versions of a document
1286 from a single source version, selectively outputing or suppressing
1287 output of parts of the text.
1288 This implementation contains a 'branch list editor' in a separate
1289 tab of the document settings dialog. Branches are user definable
1290 and have a "display colour" to distinguish them on-screen.
1292 ColorHandler was somewhat cleaned up.
1293 (1) make possible a dynamically growing LColor list by allowing
1294 the graphic context cache to grow along (vector);
1295 (2) eliminate an IMHO unnecessary step in colour allocation.
1297 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1299 * BufferView_pimpl.C: compile fix
1301 2003-08-15 André Pönitz <poenitz@gmx.net>
1303 * rowpainter.C: remove extra metrics calls
1305 * lyxtext.h: merge the two constructors into a single one,
1306 pass reference to owner's par list
1308 * BufferView_pimpl.C:
1312 2003-08-15 André Pönitz <poenitz@gmx.net>
1314 * lyxrow_funcs.[Ch]:
1317 * paragraph_funcs.C:
1322 * text_funcs.C: split LyXText::rowlist_ into individual
1323 Paragraph::rows_ chunks
1326 * BufferView_pimpl.[Ch]:
1329 * text3.C: remove toggleSelection()
1331 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1333 * bufferlist.C: beautify two alerts (shorter text of buttons)
1334 * buffer.C: Remove redundant ' ' from message
1336 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1337 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1338 rename VALIGN_CENTER to VALIGN_MIDDLE
1340 2003-08-11 André Pönitz <poenitz@gmx.net>
1342 * lyxtext.h (getPar):
1343 * text.C: new function
1345 2003-08-11 André Pönitz <poenitz@gmx.net>
1348 * tracer.[Ch]: remove unneeded files
1350 * InsetList.[Ch]: remove resizeInsetsLyXText()
1355 * text3.C: merge insertParagraphs() and appendParagraph()
1356 remove breakAgain(), update()
1358 * BufferView_pimpl.[Ch]:
1359 * bufferview_funcs.[Ch]:
1363 * tabular.C: adjust after text & InsetList changes.
1365 2003-08-08 André Pönitz <poenitz@gmx.net>
1367 * text.C (insertChar, backspace): replace rowlist fiddling
1368 with rebreak of full par
1371 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1372 checkParagraph, updateInset): removed
1374 2003-08-07 André Pönitz <poenitz@gmx.net>
1377 * text3.C: merge some LFUN handlers, remove dead code
1379 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1383 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1385 * text2.C (DEPM): fix part of bug 1255 and 1256
1387 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1389 * BufferView_pimpl.C (workAreaDispatch): change to use
1390 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1391 that are no mouse related.
1393 2003-08-05 André Pönitz <poenitz@gmx.net>
1396 * BufferView_pimpl.[Ch]:
1397 * bufferview_funcs.C:
1399 * text3.C: rip out "deep update"
1401 * textcursor.[Ch] (last_sel_cursor): remove unused member
1403 2003-08-04 André Pönitz <poenitz@gmx.net>
1406 * BufferView_pimpl.[Ch]:
1407 * ParagraphParameters.C:
1408 * bufferview_funcs.C:
1414 * text3.C: replace "complicated" BufferView::update(...) calls with
1417 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1419 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1421 * Makefile.am (lyx_SOURCES): add paper.h
1423 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1425 * Makefile.am: move things around so that both lyx-qt and
1426 lyx-xforms can be built (according to --with-frontend). Then lyx
1427 is a symbolic link to lyx-[firstfrontend]
1429 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1431 * Always use std::endl with lyxerr
1433 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1435 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1437 2003-08-01 André Pönitz <poenitz@gmx.net>
1440 * BufferView_pimpl.[Ch]:
1442 * text3.C: merge BufferView::repaint() and BufferView::update()
1444 2003-08-01 José Matos <jamatos@lyx.org>
1446 * buffer.[Ch]: file_format is no longer a buffer data element.
1448 2003-08-01 André Pönitz <poenitz@gmx.net>
1453 * text2.C: make redoParagraph more independent of current cursor
1455 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1457 * text2.C: remove unneeded members
1459 2003-07-30 André Pönitz <poenitz@gmx.net>
1461 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1463 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1464 create a single function...
1466 * paragraph_funcs.C (moveItem): ... here.
1469 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1471 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1473 * LColor.[Ch]: Add comment and greyedout logical colors.
1475 2003-07-30 André Pönitz <poenitz@gmx.net>
1477 * tabular.C: don't use Assert too heavily. This crashes where it
1480 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1482 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1483 is disabled (bug 1232)
1485 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1487 * factory.C: limited 'arg' scope
1489 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1491 * factory.C: fixed Note submenu issues
1493 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1495 * factory.C: submenu for Note/Comment/Greyedout
1497 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1500 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1502 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1505 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1506 greyedout. Patch provided by Jürgen Spitzmüller.
1508 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1510 * kbmap.C (read): fix error message when reading bind files
1512 2003-07-29 Angus Leeming <leeming@lyx.org>
1514 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1515 certainly does not do what it purports to do. I am doing it, and
1516 us, a favour by killing it.
1518 2003-07-28 José Matos <jamatos@lyx.org>
1520 * buffer.C (readBody, do_writeFile):
1521 * paragraph.C(readParagraph): \end_document replaces \the_end.
1523 2003-07-29 André Pönitz <poenitz@gmx.net>
1526 * BufferView_pimpl.[Ch]:
1530 * textcursor.[Ch]: remove toggleToggle & Co
1532 2003-07-28 José Matos <jamatos@fep.up.pt>
1534 * buffer.C (readParagraph):
1535 * params_func (readParToken, readParagraph):
1536 * paragraph.C (write): \layout -> \begin_layout.
1538 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * lyxlex_pimpl.C (setFile): clean up slightly.
1542 * bufferparams.h: add compressed var
1544 * buffer_funcs.C (readFile): adjust for LyXLex change
1545 (newFile): ditto + simplify
1547 * buffer.C (writeFile): handle writing of compressed files
1549 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1550 Check if the file is compressed and set a bufferparm if so.
1552 * Makefile.am (lyx_LDADD): remove explicit -lz
1554 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1557 makeDocBookFile): put the real LyX version in the first line of
1561 * version.C.in: remove lyx_docversion
1563 * tabular.C (write_attribute): add a template-based version to
1564 write enums properly
1566 2003-07-28 André Pönitz <poenitz@gmx.net>
1571 * text3.C: use doubles again for x-coordinates. They are needed.
1573 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * messages.C (getLocaleDir): use lyx_localedir()
1577 * lyxlex_pimpl.C (setFile): compress stuff
1579 * buffer.C (writeFile): add some compression stuff
1580 (do_writeFile): new func, dont call expliti close... will this
1583 * Makefile.am (lyx_LDADD): add -lz
1585 2003-07-28 José Matos <jamatos@fep.up.pt>
1587 * buffer.C: increment file format.
1588 * paragraph_funcs (readParagraph, readParToken):
1589 * paragraph.C (readParagraph): add \end_layout.
1591 2003-07-27 Angus Leeming <leeming@lyx.org>
1593 * Makefile.am: remove special casing for configure-time setting of
1594 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1596 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1597 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1599 2003-07-26 André Pönitz <poenitz@gmx.net>
1601 * paragraph_func.[Ch]:
1602 * paragraph.C (realizeFont): inline it whereever it is used
1607 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1610 2003-07-26 André Pönitz <poenitz@gmx.net>
1614 * text2.C: get rid of LyXText::need_break_row
1616 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * toc.[Ch]: put namespace toc inside namespace lyx
1620 * MenuBackend.C (expandToc2): adjust for lyx::toc
1623 * lyxfunc.C (dispatch): adjust for lyx::find
1625 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1626 lyx::find instead. Reorganize a bit.
1627 (LyXReplace): rename to replace
1628 (LyXFind): rename to find
1630 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1633 2003-07-26 André Pönitz <poenitz@gmx.net>
1635 * text.C (setHeightOfRow): restrict scope of temporary variable
1637 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1638 code (never has been used?)
1640 2003-07-27 Asger Alstrup <alstrup@local>
1642 * text.C (fill): Optimise algorithm to exploit that we can reuse
1643 the LyXFont for many characters.
1644 (setHeightOfRow): Same thing.
1645 (rowBreakPoint): Same thing.
1647 2003-07-26 Asger Alstrup <alstrup@local>
1649 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1651 * text.C (singleWidth): Spurious font copying in hot-spot
1652 singleWidth avoided. Reorder tests for arabic for efficiency.
1654 * text.C (fill): handle empty paragraphs better.
1656 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1659 * encoding.h: add includes
1661 * lyxrc.C: remove reading of bind files
1663 * lyx_main.C (init): setup bindings and menus only if we have a
1666 * kbmap.C (read): new method. Do the actual reading of bind
1669 * converter.C (dvipdfm_options):
1672 (output): adapt PAPER_* enums.
1674 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1676 * bufferparams.h: remove paper-related enums from there
1678 * paper.h: New file. A trivial header file to hold paper-related
1679 enums. It should later expand to contain many paper-related
1682 * lyxrc.C: declare extern displayTranslator
1684 2003-07-27 José Matos <jamatos@fep.up.pt>
1686 * tabular.[Ch] (linuxdoc): add support for tables and figures
1689 2003-07-27 José Matos <jamatos@fep.up.pt>
1691 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1692 consistency in both functions.
1693 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1695 2003-07-26 Asger Alstrup <alstrup@local>
1697 * rowpainter.C (paintRows): Change algorithm to work directly on
1698 the insets rather than asking every character in the document
1699 whether its an inset.
1701 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1703 * buffer.C (openFileWrite): factorize some code
1705 2003-07-26 Angus Leeming <leeming@lyx.org>
1708 * lyx_main.[Ch]: replace occurances of system_tempdir with
1711 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * rename Inset to InsetOld
1715 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1717 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1718 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1719 which I think is a bit clearer. EDIT is gone, since it was
1720 premature optimisation, and broken for mathed anyway.
1721 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1722 with cursor positioning in insets as well (math insets still do not
1723 work, but that's a different story anyway.) It mysteriously
1724 crashes sometimes with undo in the first paragraph, but I'm fairly
1725 confident that this is a compiler bug.
1727 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * paragraph.C (Paragraph): adjust for new clone return type
1731 (copyIntoMinibuffer): ditto
1733 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1735 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1736 by not having a special case, and always doing a full rebreak of
1737 the document after undo.
1739 2003-07-23 Angus Leeming <leeming@lyx.org>
1741 * factory.C (createInset): InsetExternal::setParams now takes a
1744 2003-07-23 Angus Leeming <leeming@lyx.org>
1746 * factory.C (createInset): changed interface to the external and
1747 graphics mailers' string2params functions.
1749 2003-07-23 Angus Leeming <leeming@lyx.org>
1751 * factory.C (createInset): pass a
1752 Buffer const * parameter to InsetExternalMailer's string2params.
1754 2003-07-22 John Levon <levon@movementarian.org>
1756 * Thesaurus.h: include the right aiksaurus header
1758 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1760 * MenuBackend.C (expand): check menu shortcuts unconditionally
1762 2003-07-21 Angus Leeming <leeming@lyx.org>
1764 * factory.C (createInset): pass a
1765 buffer_path parameter to InsetGraphicsMailer's string2params.
1767 2003-07-21 Angus Leeming <leeming@lyx.org>
1769 * BufferView_pimpl.C (buffer):
1772 * lyxfunc.C (dispatch):
1773 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1774 rather than the grfx shortcut.
1776 2003-07-21 André Pönitz <poenitz@gmx.net>
1778 * rowpainter.C: remove unused variables
1781 * tabular_funcs.h: move to tabular.C
1782 * Makefile.am: adjust
1784 * tabular.[Ch]: basic optical cleaning
1786 * author.h: pass references, not values
1788 2003-07-18 André Pönitz <poenitz@gmx.net>
1796 * text3.C: two-phase drawing for InsetText and InsetTabular
1797 some float -> int changes.
1799 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1801 * lyx_main.C: fix the fix
1803 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1805 * lyx_main.C: fix a crash in batch mode if no files specified
1808 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1810 * format.[Ch] (papersize): moved to BufferParams
1811 * converter.[Ch] (dvips_options): moved to BufferParams
1812 (dvipdfm_options): moved to anon namespace
1813 * bufferparams.[Ch]: added above functions.
1815 2003-07-17 André Pönitz <poenitz@gmx.net>
1819 * text2.C: don't call inset->update() anymore
1821 * metricsinfo.[Ch]: add convenience constructor
1823 2003-07-16 André Pönitz <poenitz@gmx.net>
1828 * text2.C: replace the LyXCursor::irow_ member with
1829 on-demand computation of the value
1831 2003-07-16 John Levon <levon@movementarian.org>
1833 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1835 2003-07-15 André Pönitz <poenitz@gmx.net>
1838 * text2.C: remove no more needed refresh_row
1840 2003-07-15 André Pönitz <poenitz@gmx.net>
1845 * text3.C: refresh_status tristate -> need_update bool
1847 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1849 * lyxtext.h (init): remove reinit argument (act as if always true)
1850 * text2.C: adjust to that
1852 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1854 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1855 * text3.C: use it to delete selections in some cases
1856 (bugs 441, 673, 702, 954).
1858 2003-07-14 André Pönitz <poenitz@gmx.net>
1860 * rowpainter.[Ch]: reduce interface
1862 2003-07-14 André Pönitz <poenitz@gmx.net>
1864 * BufferView_pimpl.C:
1865 * text2.C: adjust after removing unused BufferView * argument
1867 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1869 * text2.C (init): fix a crash fired on resize
1871 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1873 * buffer.[Ch]: added new closing signal
1874 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1875 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1876 BufferView::Pimpl via the closing the signal
1878 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1880 * buffer.[Ch]: take out all bv-related from buffer
1882 * BufferView_pimpl.[Ch]: connect to new signals
1883 * CutAndPaste.C: removed useless asserts
1884 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1887 * lyxfunc.C: moved view-related funciontality from vc here
1888 * paragraph.C: removed outdated comments
1891 2003-07-10 André Pönitz <poenitz@gmx.net>
1893 * BufferView_pimpl.C:
1897 * text2.C: remove InsetText::InnerCache, clean up consequences
1899 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1901 * ispell.C: fix two typos in error messages
1903 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1905 * Extend Note inset to other forms of annotation like Comment
1906 and Greyedout. Right button click gives dialog.
1908 Files modified or added (+):
1912 * ControlNote.[Ch] +
1914 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1915 frontends/controllers
1919 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1921 * aspell.C: add missing namespace lyx::support
1923 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1925 * BufferView.[Ch] (newFile): Add
1926 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1927 * LaTeX.[Ch] (message): added this signal and use it
1928 * buffer.[Ch] (busy, message): added these signals and use them
1929 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1933 * importer.C: use buffer signals instead of direct bv calling
1934 * lyx_cb.[Ch] (ShowMessage): removed
1937 * paragraph_funcs.C:
1938 * text2.C: use buffer signals
1940 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * introduce namespace lyx::graphics
1944 2003-07-02 André Pönitz <poenitz@gmx.net>
1946 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1948 2003-07-01 André Pönitz <poenitz@gmx.net>
1955 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1956 text*.C to text_func.C
1958 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * introduce namespace lyx::support
1962 2003-06-30 André Pönitz <poenitz@gmx.net>
1967 * text.C: re-enable --with-included-string
1969 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1971 * textcursor.C: add <config.h>
1973 * text.C (getWord): remove const from word_location arg
1975 * lyxvc.C (getLogFile): fix const type order
1977 * lyxtext.h: remove const from word_location arg, add arg name
1979 * lyxlayout.h: currect type on labeltype.
1981 * importer.C: correct \file
1983 * converter.C (intToFormat): use std:: on ret val, ws changes
1985 * bufferlist.h: correct \file
1987 * buffer.C (makeLinuxDocFile): fix const type order
1988 (makeDocBookFile): ditto
1989 (fillWithBibKeys): use std:: on stdlib args.
1991 * CutAndPaste.C: fix authors.
1992 (availableSelections): use std:: on return vector
1994 2003-06-27 André Pönitz <poenitz@gmx.net>
1996 * BufferView_pimpl.C:
1997 * bufferview_funcs.C:
2005 * text3.C: remove LyXCursor::row_ member
2008 * text.C: rename fullRebreak() to partialRebreak() and implement
2009 a fullRebreak() that really bereks fully
2011 * textcursor.h: new struct for cursor-related data
2013 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2015 * lyx_main.C (LyX): get full path of document loaded on the
2018 2003-06-26 André Pönitz <poenitz@gmx.net>
2020 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2021 remove unused/broken operator>,<,>=.
2023 * text.C: remove only use of broken operator<= in an Assert().
2025 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2027 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2028 moved errorlist_.clear to showErrorList
2030 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2032 * converter.C (scanLog, runLaTeX):
2033 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2034 move the bv->showErrorList call to the callers
2035 * lyxfunc.C: i.e. here...
2037 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2038 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2039 namespace, the second to...
2040 * buffer_funcs (BufferFormat, parseErrors): added
2041 * errorlist.C (ErrorList(TeXErrors const &)): removed
2043 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2047 2003-06-24 "Garst R. Reese" <reese@isn.net>
2051 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2053 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2055 * version.C.in: change docversion to 1.4
2057 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2059 * buffer.C: fix a bug just introduced
2061 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2063 * buffer.[Ch]: added the parseError signal and use it, removed
2065 * BufferView.[Ch] (addError): moved to ...
2066 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2067 to the Buffer::parseError signal to catch (guess what) parse errors
2068 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2070 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2072 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2073 ability to create a buffer and to return an existing one from
2074 the list. Moved these functions to...
2075 * buffer_funcs.[Ch]: added
2076 * BufferView.[Ch] (loadLyXFile): added
2077 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2078 job removed from bufferlist::loadLyXFile.
2079 * buffer.C (setReadOnly): make it work without view
2080 (i.e added an if (users))
2082 2003-06-19 Angus Leeming <leeming@lyx.org>
2085 * LyXAction.C (init):
2086 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2087 with LFUN_DIALOG_SHOW <name> <data>.
2089 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2091 * CutAndPaste.C (availableSelections): small compilation fix for
2092 ancient (gcc 2.9x) compilers
2094 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * text3.C (cursorNext): add tmp var
2098 * text2.C (updateCounters): for function calling out of for clause
2099 (replaceSelectionWithString): ditto
2100 (insertStringAsParagraphs): ditto
2101 (getColumnNearX): add tmp var
2102 (setCursorFromCoordinates): add tmp var
2103 (cursorDownParagraph): add tmp var
2104 (deleteEmptyParagraphMechanism): add tmp var
2106 * text.C (insertChar): add tmp var
2108 * rowpainter.C (paintDepthBar): add tmp var
2110 * CutAndPaste.C (availableSelections): potentially check all
2111 paragraphs in a cut to fill the shown strings.
2113 2003-06-18 André Pönitz <poenitz@gmx.net>
2115 * kbmap.[Ch]: use vector<> instead of list<>
2117 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2119 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2120 pasteSelection with index
2122 * text2.C (pasteSelection): modify, call pasteSelection with index
2124 * paragraph.C (asString): reimplement version with no interval to
2125 call the one with interval.
2127 * lyxtext.h: add index arg to pasteSelection
2129 * MenuBackend.C (MenuItem): handle PasteRecent
2130 (Menu::read::Menutags): add md_pasterecent
2132 (expandPasteRecent): new function
2135 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2137 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2139 (availableSelections): new function
2141 2003-06-17 Angus Leeming <leeming@lyx.org>
2143 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2145 2003-06-17 Angus Leeming <leeming@lyx.org>
2148 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2150 * lyxfunc.C (dispatch): invoke it.
2152 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * iterators.C (operator++, ParPosition): reintroduce some
2155 const_cast for the benefit of older compilers.
2157 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2159 * text3.C (dispatch): do not modify clipboard when doing
2160 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2161 LFUN_DELETE_SKIP on a selection selection
2163 2003-06-16 André Pönitz <poenitz@gmx.net>
2169 * tabular.[Ch]: IU of clone() and getLabelList();
2171 2003-06-13 André Pönitz <poenitz@gmx.net>
2173 * tabular.h: compactification
2175 2003-06-12 André Pönitz <poenitz@gmx.net>
2179 * tabular_funcs.h: some renaming plus whitespace
2181 2003-06-12 André Pönitz <poenitz@gmx.net>
2184 * BufferView_pimpl.C:
2190 * toc.C: Return a Paragraph & for ParIterator::operator*()
2192 2003-06-11 John Levon <levon@movementarian.org>
2196 * ToolbarBackend.C: add "Toolbars" section and
2199 2003-06-10 Angus Leeming <leeming@lyx.org>
2202 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2204 * lyxfunc.C (dispatch): invoke it.
2206 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2208 * main.C: protect <ios> with HAVE_IOS
2209 (main): protect sync_with_stdio with HAVE_IOS
2211 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2213 * text2.C (cutSelection): adjust
2214 (pasteSelection): adjust
2216 * messages.C: handle get of empty string
2218 * main.C (main): use sync_with_stdio(false)
2220 * lyxfunc.C (dispatch): adjust
2222 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2223 (WriteAs): remove unneeded BufferView arg.
2225 * bufferparams.h: use correct types on papersize, papersize2 and
2228 * bufferparams.C (readToken): adjust for type
2229 (writeLaTeX): add missing cases to switch.
2231 * bufferlist.C (quitWriteBuffer): adjust
2234 * buffer.C (asciiParagraph): remove some commented code.
2236 * CutAndPaste.C: remove current_view extern variable.
2237 (cutSelection): add BufferParams arg.
2238 (eraseSelection): add BufferParams arg.
2239 (pasteSelection): add Buffer const & arg
2241 2003-06-07 John Levon <levon@movementarian.org>
2244 * paragraph_funcs.C:
2245 * paragraph_pimpl.C:
2249 * paragraph.C: allow InsetERT to freely space lines,
2250 and some consolidation of code
2252 2003-06-06 José Matos <jamatos@fep.up.pt>
2254 * buffer.C (makeDocBookFile): fix bug #821
2256 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2258 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2260 2003-06-04 Angus Leeming <leeming@lyx.org>
2262 * buffer.C: bump format to 224.
2264 2003-06-05 André Pönitz <poenitz@gmx.net>
2266 * text2.C (redoParagraphs): remove two const_cast<>
2268 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2270 * ParagraphList.h: remove last remnants of NO_STD_LIST
2272 2003-06-03 Angus Leeming <leeming@lyx.org>
2274 * factory.C (createInset): small change to the way InsetExternal's params
2277 2003-06-04 André Pönitz <poenitz@gmx.net>
2279 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2281 * paragraph_pimpl.h:
2282 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2284 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2286 * undo_funcs.C: make some simple cases of undo work again
2288 2003-06-03 John Levon <levon@movementarian.org>
2290 * ispell.C: HPUX doesn't have sys/select.h
2293 2003-06-03 John Levon <levon@movementarian.org>
2295 * CutAndPaste.C: update tabular and include inset
2300 * paragraph.C: remove owningBuffer(), don't pass Buffer
2303 * factory.C: insetGraphicsParams changed
2305 2003-06-02 John Levon <levon@movementarian.org>
2311 * text3.C: remove insetparent
2313 2003-06-02 John Levon <levon@movementarian.org>
2316 * buffer.C: fix inset_iterator.end(), move out of line
2319 2003-06-01 John Levon <levon@movementarian.org>
2321 * text3.C: use a proper cut/paste when doing inset
2322 insert (from Jürgen Spitzmüller)
2324 2003-06-01 John Levon <levon@movementarian.org>
2326 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2328 2003-05-30 André Pönitz <poenitz@gmx.net>
2330 * rowpainter.C: unify second drawing phase
2332 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2334 * trans_mgr.C: remove one case of current_view
2336 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2338 * paragraph_funcs.h: remove paragraph.h include
2340 * paragraph.h: delete NO_STD_LIST stuff
2342 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2344 * buffer.h: remove paragraph.h include
2346 * ParagraphList.C: delete file
2348 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2350 * toc.C (getTocList): adjust
2352 * paragraph_pimpl.C (validate): adjust
2354 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2356 * paragraph.C (Paragraph): adjust
2357 (getPositionOfInset): use const_iterator, adjust
2358 (bibitem): use const_iterator, adjust
2359 (setInsetOwner): adjust
2361 * iterators.C (operator++): adjust
2363 * InsetList.[Ch]: Replace selfmade iterator with standard
2364 vector::iterator also introduce const_iterator. Remove getPos,
2365 getInset and setInset from InsetTable. Adjust accordingly.
2367 * BufferView.C (lockInset): adjust
2368 (ChangeInsets): adjust
2370 * tabular.[Ch]: delete commented same_id functions
2372 2003-05-28 John Levon <levon@movementarian.org>
2374 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2376 2003-05-28 André Pönitz <poenitz@gmx.net>
2378 * metricsinfo.[Ch]: remove 'fullredraw' member
2380 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2382 * lyxtextclass.C (operator): remove caching.
2384 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * text2.C (cursorBottom): adjust
2389 (setCounter): use ParagraphList::find, adjust
2391 * text.C (workWidth): use ParagraphList::find, adjust
2393 * lyxcursor.C (LyXCursor): adjust
2395 * buffer.C (inset_iterator): adjust
2397 * ParagraphList.h: make iterator(value_type) private, make
2398 ParagraphList a friend of iterator.
2400 * ParagraphList.C (find): new function
2402 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2404 2003-05-27 André Pönitz <poenitz@gmx.net>
2406 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2408 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2410 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2412 2003-05-26 John Levon <levon@movementarian.org>
2414 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2416 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * remove same_id from function signatures, adjust.
2420 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2422 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2424 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2426 * paragraph.C (Paragraph): get rid of same_ids parameter
2428 * ParagraphList.C (insert): adjust
2431 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * paragraph_funcs.C (breakParagraph): adjust
2434 (breakParagraphConservative): adjust
2436 * buffer.C (readParagraph): adjust
2438 * ParagraphList.C (insert): take a reference instead of a pointer
2441 * paragraph.[Ch] (id): new function
2443 * bufferlist.C (newFile): adjust
2445 * ParagraphList.C (ParagraphList): adjust
2447 (push_back): take a reference instead of a pointer.
2449 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2451 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2454 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2455 set else use old code.
2457 * ParagraphList.C: remove all NO_NEXT code and only compile this
2458 code of NO_STD_LIST is set.
2460 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2462 * BufferView_pimpl.C:
2472 * graphics/GraphicsConverter.C:
2473 * graphics/PreviewLoader.C: header adjustment
2475 2003-05-23 Angus Leeming <leeming@lyx.org>
2477 * LaTeXFeatures.[Ch] (useBabel): new method.
2478 * bufferparams.C (writeLaTeX): use it.
2480 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * ParagraphList.h (set): remove unused function.
2484 2003-05-23 André Pönitz <poenitz@gmx.net>
2487 * BufferView_pimpl.C:
2491 * undo_funcs.C: setUndo reworked
2493 * iterators.[Ch]: add access to topmost ParagraphList
2495 * lyxtext.[Ch] (workWidth): add a const
2497 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2499 * texrow.[Ch] (increasePos): remove function
2500 * exporter.C (export): removed unused var and outdated comment
2502 2003-05-23 Angus Leeming <leeming@lyx.org>
2504 * latexrunparams.h: rename fragile as moving_arg.
2505 * paragraph.C (simpleTeXOnePar): ditto.
2506 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2508 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2512 (textUndoOrRedo): comment out a currently unused var.
2514 * paragraph.h (NO_NEXT): enable NO_NEXT
2516 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2518 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2520 * exporter.C (Export): adjust for removeAutoInsets removal.
2522 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2524 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2526 * BufferView.[Ch] (removeAutoInsets): delete function
2528 2003-05-22 Angus Leeming <leeming@lyx.org>
2530 * latexrunparams.h: add a free_spacing variable.
2532 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2533 to pass moving_arg, as the data is stored in runparams.fragile.
2535 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2536 to Inset::latexOptional or to simpleTeXOnePar.
2538 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2539 free_spacing arg to Inset::latexOptional.
2541 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2544 2003-05-22 Angus Leeming <leeming@lyx.org>
2546 * latexrunparams.h: add fragile and use_babel variables.
2548 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2549 * buffer.C (makeLaTeXFile): store this returned value in
2550 runparams.use_babel, thus passing it to the inset::latex methods.
2552 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2553 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2555 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2556 longer has a fragile arg, as it is stored in runparams.fragile.
2558 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2559 moving_arg parameter as the data is stored in runparams.fragile.
2561 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2562 a fragile parameter as the data is stored in runparams.fragile.
2564 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2568 2003-05-22 Angus Leeming <leeming@lyx.org>
2570 * latexrunparams.h: add a 'bool nice' which defaults to false.
2572 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2573 now encapsulated within runparams.
2575 * bufferlist.C (updateIncludedTeXfiles):
2576 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2578 2003-05-22 Angus Leeming <leeming@lyx.org>
2580 * latexrunparams.h: new file containing struct LatexRunParams.
2581 * Makefile.am: add new file.
2583 * LaTeX.[Ch] (c-tor, run):
2584 * buffer.[Ch] (makeLaTeXFile):
2585 * bufferlist.[Ch] (updateIncludedTeXfiles):
2586 * converter.C (convert, scanLog):
2587 * converter.[Ch] (runLaTeX):
2588 * exporter.C (Export):
2589 * paragraph.[Ch] (simpleTeXOnePar):
2590 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2591 * paragraph_funcs.[Ch] (latexParagraphs):
2592 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2593 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2594 pass around a LatexRunParams parameter.
2596 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2598 * paragraph.[Ch]: remove unused constructor
2600 * ParagraphList.C (erase): new function, taking two iterators
2602 2003-05-22 André Pönitz <poenitz@gmx.net>
2604 * undo_funcs.C: remove duplicated code
2606 * iterator.[Ch]: operator=
2608 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2610 * tabular.C (SetMultiColumn): ws changes
2612 * rowpainter.C (paintFirst): get rid of a ->previous
2614 * lyx_cb.C (getPossibleLabel): parlist simplification
2616 * BufferView.C (ChangeInsets): simplify slightly.
2618 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2620 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2621 * lfuns.h: new LFUN_SPACE
2622 * lyxfunc.C: protected space has a new lfun
2623 * paragraph_funcs.C: read new space insets
2625 * factory.C: handle new space insets
2627 2003-05-22 André Pönitz <poenitz@gmx.net>
2630 * BufferView_pimpl.C:
2633 * undo_funcs.C: return a ParIterator from getParFromID.
2635 * iterators.[Ch]: add two const's
2637 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * toc.C (getTocList): adjust
2641 * iterators.[Ch]: rework for parlist
2643 * buffer.C (par_iterator_begin): adjust
2644 (par_iterator_end): adjust
2646 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2648 * BufferView.C (removeAutoInsets): adjust
2649 (ChangeInsets): adjust
2651 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2653 * text.C (top_y): fix bug 1110
2655 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2657 * errorlist.[Ch]: added
2660 * BufferView_pimpl.C:
2661 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2664 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2666 * Makefile.am: ensure that lyx is relinked upon changes to the
2667 various "convenience" libs.
2669 2003-05-20 Angus Leeming <leeming@lyx.org>
2671 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2672 files are compiled in alphabetical order again.
2674 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2676 2003-05-19 Angus Leeming <leeming@lyx.org>
2678 * gettext.[Ch]: remove "char const * _(char const *)".
2680 2003-05-19 André Pönitz <poenitz@gmx.net>
2682 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2691 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2693 2003-05-19 André Pönitz <poenitz@gmx.net>
2697 * lyxtextclass.[Ch]:
2699 * paragraph_funcs.[Ch]:
2701 * text3.C: more insetenv work
2703 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2705 * ParagraphParameters.C (params2string): small bug fixed
2707 2003-05-16 André Pönitz <poenitz@gmx.net>
2710 * bufferview_funcs.C: patch from Kornel Benko to prevent
2711 crash when _(...) is called twice in a statement
2713 2003-05-16 André Pönitz <poenitz@gmx.net>
2720 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2722 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2724 * lyx_main.C (init): remove spurious static_cast
2726 2003-05-14 André Pönitz <poenitz@gmx.net>
2728 * BufferView.C: fix format string
2730 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2732 * BufferView.[Ch] (insertErrors): removed
2733 * BufferView.[Ch] (showErrorList): added
2734 * buffer.C (runChkTeX):
2735 * converter.C (scanLog): call showErrorList instead of inserterrors
2737 2003-05-13 André Pönitz <poenitz@gmx.net>
2739 * BufferView_pimpl.C:
2741 * bufferview_func.C:
2748 * tabular_funcs.h: tostr() from its own header
2750 * ParagraphParameters.C:
2755 * text3.C: STRCONV()
2757 2003-05-12 André Pönitz <poenitz@gmx.net>
2760 * BufferView_pimpl.C:
2764 * ParagraphParameters.C:
2768 * bufferview_funcs.C:
2781 * paragraph_funcs.C:
2785 * text3.C: boost::format -> bformat all over the place
2788 2003-05-09 André Pönitz <poenitz@gmx.net>
2790 * LColor.[Ch]: Pimpl the #include <map> away
2792 2003-05-09 John Levon <levon@movementarian.org>
2794 * bufferlist.C: never remove emergency saves
2796 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2798 * Makefile.am: better lib building
2800 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2804 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2805 (simpleTeXSpecialChars): adjust
2806 (simpleTeXSpecialChars): adjust
2807 * paragraph.C (simpleTeXOnePar): adjust
2808 * buffer.C (makeLaTeXFile): adjust
2810 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2812 * text2.C (changeDepth): parlist cleanup
2813 (getColumnNearX): ditto
2815 * rowpainter.C (getLabelFont): parlist cleanup
2817 * bufferlist.C (newFile): parlist cleanup
2819 * CutAndPaste.C (eraseSelection): parlist cleanup
2821 * BufferView_pimpl.C (trackChanges): parlist cleanup
2824 * BufferView.C (lockInset): parlist cleanup.
2825 (ChangeInsets): ditto
2827 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * CutAndPaste.h: Update file header.
2831 * CutAndPaste.C: Update file header.
2832 Store the parts cut out of the Document in a limited_stack.
2833 (copySelection): adjust
2834 (pasteSelection): new function, takes the index in the limited stack.
2835 (nrOfParagraphs): adjust
2836 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2837 simplify error inset insertion.
2838 (checkPastePossible): adjust
2840 2003-05-06 John Levon <levon@movementarian.org>
2842 * text2.C: don't cast wrap inset to float
2844 2003-05-05 André Pönitz <poenitz@gmx.net>
2847 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2849 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2850 few naked Paragraph *.
2852 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2854 * bufferparams.C: Output warning if a document with missing
2855 TeX document class is loaded
2856 * exporter.C: Disable TeX exports if the document class is missing
2859 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2860 isTeXClassAvailable()
2862 2003-05-03 John Levon <levon@movementarian.org>
2865 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2866 explicit cursor show/hide
2868 * BufferView_pimpl.h:
2869 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2870 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2872 * lyxfunc.C: hide cursor before dispatching.
2877 * text3.C: remove explicit cursor hides
2879 2003-05-02 André Pönitz <poenitz@gmx.net>
2881 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2884 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2887 * text2.C: tiny whitespace
2889 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * undo_funcs.C: almost only ws changes.
2893 * ParagraphList.C (splice): just return if pl is empty.
2895 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * ParagraphList.C (splice): new function.
2899 * CutAndPaste.C (pasteSelection): use it
2901 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2903 * CutAndPaste.C (pasteSelection): remove the last next and
2904 previous from this file.
2906 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * CutAndPaste.C (pasteSelection): more clean up, user proper
2909 ParagraphList functions for pasteing.
2911 * ParagraphList.C (insert): new function, three arg insert
2913 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * ParagraphList.C (insert): new function, three arg insert
2917 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2920 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2924 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2928 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2930 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2931 (copySelection): clean up a bit.
2932 (pasteSelection): use make_pair
2934 * ParagraphList.C (ParagraphList): implement copy constructor
2935 (operator=): implement, base on copy constructor.
2938 * paragraph.C (erase): return a bool
2940 * paragraph_pimpl.C (erasePos): remove function, move contents...
2941 (erase): ... here. Return a bool.
2942 (erase): call erase instead of erasePos.
2944 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2946 * ParagraphList.h: define PitPosPair
2947 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2948 ParagraphList, fix a bug on pasting multiple pars
2949 * text2.C: change interface to C&P
2951 2003-04-30 André Pönitz <poenitz@gmx.net>
2953 * undo_func.C: revert part of yesterday's patch 2
2955 2003-04-30 John Levon <levon@movementarian.org>
2957 * LColor.C: s/tabular/table/
2959 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2961 * text3.C (dispatch): do not convert iterator -> pointer
2962 * undo_funcs.C (setCursorParUndo): ditto
2963 * text_funcs.C (transposeChars): ditto
2965 * text2.C (setLayout): ws changes only
2967 * text.C (breakParagraph): do not convert iterator -> pointer
2969 (acceptChange): ditto
2970 (rejectChange): ditto
2975 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2978 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2980 * text3.C (gotoInset): YABG (yet another bad getChar)
2982 2003-04-29 André Pönitz <poenitz@gmx.net>
2984 * paragraph.h: make operator= private unimplemented as long as
2987 * ParagraphList.C: whitespace
2990 * paragraph_pimpl.[Ch]:
2991 * paragraph_funcs.C:
2993 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2996 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2998 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3000 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3001 * paragraph.[Ch] (erase):
3002 * paragraph_pimpl.[Ch] (erase): change return type and value
3003 * text2.C (cutSelection): some rework
3005 2003-04-28 John Levon <levon@movementarian.org>
3007 * bufferlist.C: changes for unsaved changes dialog
3009 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3011 * bufferlist.C (newFile): set language (messages_) for new
3014 * buffer.C (readFile): ws changes only.
3016 2003-04-28 André Pönitz <poenitz@gmx.net>
3021 * BufferView_pimpl.C:
3022 * BufferView.C: getParFromID related ParagraphList::iterator changes
3024 2003-04-28 André Pönitz <poenitz@gmx.net>
3026 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3029 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * messages.C: remove one more localedir class variable.
3033 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3035 * messages.C (getLocaleDir): singleton generation function
3037 (Messages): add a default constructor.
3039 * main.C (main): do not setup localedir here, do not call
3042 * gettext.C (_): use it.
3043 (gettext_init): delete funciton
3045 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * gettext.C (getLyXMessages): new singleton generating function.
3049 * buffer.C (updateDocLang): adjust
3051 * Makefile.am (messages.o): add target
3052 (main.o): remove target
3054 2003-04-27 John Levon <levon@movementarian.org>
3059 * lyxvc.C: specify cancel button in Alert::prompt
3061 2003-04-26 John Levon <levon@movementarian.org>
3066 * LyXAction.C: add LFUN_INSET_SETTINGS
3068 * lyxfunc.C: don't enable tabular-feature when there's
3069 just any locking inset
3071 2003-04-26 John Levon <levon@movementarian.org>
3073 * bufferlist.C: re-add Cancel to buffer close question
3075 * lyxfunc.C: fix import UI a bit
3077 2003-04-25 John Levon <levon@movementarian.org>
3079 * gettext.C: remove the broken asserts for now
3081 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3083 * messages.C: make case where setlocale cannot comply work better.
3085 * buffer.C (updateDocLang): new function
3086 (changeLanguage): use it
3089 * text2.C (setCounter): use B_ a bit.
3091 * lyxlayout.C (Read): be sure to trim the label strings.
3093 * messages.C (Messages): fix typo in comment
3095 * buffer.C (readFile): set message_ after file is loaded.
3096 (makeDocBookFile): remove double return
3097 (changeLanguage): reset message_ upon language change.
3098 (B_): new func, use this to get translated buffer strings.
3100 * main.C: add myself and Jean Marc as authors.
3102 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * messages.[hC]: pimplify Messages, and three different pimpls to be
3105 used in different circumstances.
3107 * gettext.[Ch]: change for use with new message code.
3109 2003-04-24 André Pönitz <poenitz@gmx.net>
3111 * factory.C: support for eqref
3113 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * messages.[Ch]: add missing char
3117 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3119 * messages.[Ch]: New files
3121 2003-04-18 John Levon <levon@movementarian.org>
3125 * BufferView_pimpl.C:
3129 * text2.C: remove layout-copy/paste (bug 778)
3131 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3133 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3135 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3137 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3138 if they succeed. Act accordingly.
3140 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * text2.C (setCharFont): adjust
3143 (setCounter): adjust
3144 (insertStringAsLines): adjust
3146 * text.C (leftMargin): adjust
3147 (setHeightOfRow): adjust
3149 * rowpainter.C (paintFirst): adjust
3152 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3154 (isFirstInSequence): ditto
3155 (getEndLabel): ditto
3158 * paragraph.C (getParLanguage): comment out some hard stuff.
3160 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3162 (simpleDocBookOnePar): ditto
3163 (makeDocBookFile): use ParagraphList::iterator
3165 * CutAndPaste.C (pasteSelection): adjust
3167 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * text2.C (getFont): adjust
3170 (getLayoutFont): adjust
3171 (getLabelFont): adjust
3173 * paragraph_funcs.C (TeXOnePar): adjust
3175 * buffer.C (simpleLinuxDocOnePar): adjust
3176 (simpleDocBookOnePar): adjust
3178 * CutAndPaste.C (pasteSelection): adjust
3180 * BufferView.C (getEncoding): adjust
3182 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3184 2003-04-16 John Levon <levon@movementarian.org>
3186 * lyxfind.C: use parlist stuff for search/changes
3188 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3192 * text2.C (deleteEmptyParagraphMechanism): adjust
3194 * text2.[Ch] (ownerParagraph): delete func (both of them
3196 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3200 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * ParagraphList.C: prepare for NO_NEXT
3204 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3206 * text2.C (getFont): adjust
3207 (getLayoutFont): adjust
3208 (getLabelFont): adjust
3210 * paragraph.C (getFont): adjust
3211 (getLabelFont): adjust
3212 (getLayoutFont): adjust
3214 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3216 2003-04-15 John Levon <levon@movementarian.org>
3220 * lyx_main.C: handle Include in .ui files
3222 2003-04-15 John Levon <levon@movementarian.org>
3224 * MenuBackend.C: make the doc files length shorter
3227 * ToolbarBackend.C: handle toolbar placement flags,
3230 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3235 * paragraph_funcs.C (TeXOnePar): adjust
3237 * paragraph.C (getLabelFont): add outerfont arg, adjust
3238 (getLayoutFont): ditto
3239 (simpleTeXOnePar): adjust
3241 * paragraph_pimpl.C (realizeFont): delete func
3243 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3245 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3246 row argument, constify cur argument.
3248 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * text2.C (getFont): adjust
3251 (getLayoutFont): adjust
3252 (getLabelFont): adjust
3254 * paragraph_funcs.C (TeXOnePar): adjust
3255 (outerFont): new func...
3256 (realizeFont): ...moved out from here, changed this to facilitate
3259 * paragraph.C (getFont): take outerfont as arg, adjust
3260 (simpleTeXOnePar): add outerfont arg, adjust
3262 * buffer.C (simpleLinuxDocOnePar): adjust
3263 (simpleDocBookOnePar): adjust
3265 * CutAndPaste.C (pasteSelection): adjust
3267 * BufferView.C (getEncoding): adjust
3269 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3271 * text2.C (setCharFont): adjust
3272 (setCounter): adjust
3274 * text.C (leftMargin): adjust
3275 (setHeightOfRow): adjust
3277 * rowpainter.C (paintFirst): adjust
3280 * paragraph_pimpl.C (realizeFont): adjust
3282 * paragraph.C (isFirstInSequence): move from here...
3283 * paragraph_funcs.C (isFirstInSequence): ...to here
3285 * paragraph.C (outerHook): move from here...
3286 * paragraph_funcs.C (outerHook): ...to here
3288 * paragraph.C (depthHook): move from here...
3289 * paragraph_funcs.C (depthHook): ...to here
3291 * paragraph.C (getEndLabel): move from here...
3292 * paragraph_funcs.C (getEndLabel): ...to here
3294 * text2.C (realizeFont): move from here...
3295 * paragraph_funcs.C (realizeFont): ...to here
3297 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3301 2003-04-14 Angus Leeming <leeming@lyx.org>
3303 * LColor.[Ch]: scrap LColor mathcursor.
3305 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * lyxlex.[Ch] (text): delete function
3308 * trans.C (Load): adjust
3309 * paragraph_funcs.C (readParToken): adjust
3311 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3314 vector<char> instead of a char[].
3316 * lyxlex_pimpl.C (getString): adjust
3318 (lex): use getString
3322 * lyxlex.C (text): use pimpl_->getString()
3326 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3329 (makeFontEntriesLayoutSpecific): temp var for par.size()
3330 (setLayout): temp var for ownerParagraphs().end()
3331 (fullRebreak): temp var for rows().end()
3332 (selectionAsString): temp var for boost::next(startpit), realize
3333 that the while really is a regular for loop.
3334 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3335 setCursor in one place.
3336 (setParagraph): temp vr for ownerParagraphs().end()
3337 (updateCounters): make the while loop a for loop
3338 (cutSelection): temp var for ownerParagraphs().end()
3339 (updateInset): make the do {} while() a regular for loop
3340 (getCursorX): use temp vars
3341 (setCurrentFont): use temp vars
3342 (getColumnNearX): use temp vars
3344 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3346 * text.C (transformChar): use temp var for getChar
3347 (computeBidiTables): use temp var for row->par()
3348 (fill): move temp vars for row->par() and pit->layout() earlier in
3350 (labelFill): use temp var for row->par()
3351 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3352 asc and desc, realize that pit never changes and that firstpit is
3353 just a duplicate and not needed. Exchange rit->par() with pit in a
3355 (breakAgain): use a temp var for boost::next(rit)
3356 (breakAgainOneRow): ditto
3357 (breakParagraph): use a temp var for rows().begin()
3358 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3359 (cursorRightOneWord): use temp var for cursor.par() and
3360 cursor.pos(), remove usage of tmpcursor.
3361 (cursorLeftOneWord): use temp var for cursor.par() and
3362 cursor.pos() only set cur at end of function.
3364 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * text.C, text2.C: exchange all usage of Paragraph::next with
3367 boost::next(ParagraphList::iterator)
3369 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3371 * text2.C (cursorTop): simplify implementation
3372 (cursorBottom): ditto
3373 (setParagraph): use ParagraphList::iterator
3374 (setCurrentFont): adjust
3375 (getColumnNearX): adjust
3376 (cursorRight): adjust
3377 (cursorLeft): remove usage of Paragraph::previous
3378 (cursorUpParagraph): ditto
3379 (deleteEmptyParagraphMechanism): slight cleanup
3381 * text.C (isBoundary): take a Paragraph const & instead of a
3383 (addressBreakPoint): ditto
3384 (leftMargin): remove usage of Paragraph::previous.
3385 (setHeightOfRow): ditto
3386 (cursorLeftOneWord): ditto
3387 (selectNextWordToSpellcheck): ditto
3390 (breakParagraph): remove one usage of Paragraph::next
3391 (redoParagraph): ditto
3392 (acceptChange): ditto
3393 (insertChar): adjust
3394 (rowBreakPoint): adjust
3396 * bufferview_funcs.C (toggleAndShow): adjust
3398 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3400 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3401 methods to access it.
3403 * text.C: Added updateRowPositions to compute all row positions.
3404 Make top_y and getRowNearY() to use the cached y position
3406 2003-04-11 John Levon <levon@movementarian.org>
3408 * text.C (rowBreakPoint): reintroduce the labelEnd
3409 checks, code copied from the row fill stuff. Deep voodoo.
3411 * text.C (fill): add a comment and debugging for the
3414 2003-04-11 John Levon <levon@movementarian.org>
3416 * text.C: make sure fullrow insets get wrapped to the next line,
3417 even when they're in a manual label
3419 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3421 * text2.C (insertParagraph): make it take ParagraphList::iterator
3423 (setLayout): make it return ParagraphList::iterator
3424 (redoParagraphs): ditto
3426 (checkParagraph): ditto
3428 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3430 * text2.C: adjust several funcs.
3431 (realizeFont): take a ParagraphList::iterator as arg.
3432 (getLayoutFont): ditto
3433 (getLabelFont): ditto
3434 (setCharFont): ditto
3436 * text.C: adjust several funcs.
3438 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3440 * text.C (selectNextWordToSpellcheck): don't accidentally
3443 2003-04-10 John Levon <levon@movementarian.org>
3445 * ToolbarBackend.C (getIcon): special handling for
3448 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3450 * text2.C (cursorRight): a getChar assert fixed
3452 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3454 * text2.C (getFont): change to take a ParagraphList::iterator
3455 instead of Paragraph*
3456 Adjust several functions.
3458 * text.C (transformChar): change to take a ParagraphList::iterator
3459 instead of Paragraph*
3460 (singleWidth): ditto
3461 Adjust several functions.
3463 * rowpainter.C: adjust several functions
3464 * rowpainter.h:store a ParagraphList::iterator and not a
3468 2003-04-09 John Levon <levon@movementarian.org>
3473 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3474 and the "help" bits as well
3476 2003-04-09 John Levon <levon@movementarian.org>
3479 * ToolbarBackend.C: allow multiple toolbars
3481 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * undo_funcs.C (setCursorParUndo): adjust
3485 * text_funcs.C (transposeChars): adjust
3487 * text3.C (gotoNextInset): adjust
3490 * text2.C (setLayout): adjust
3491 (changeDepth): adjust
3493 (redoParagraphs): adjust
3494 (selectionAsString): adjust
3495 (setParagraph): adjust
3496 (insertInset): adjust
3497 (cutSelection): adjust
3498 (copySelection): adjust
3499 (pasteSelection): adjust
3500 (insertStringAsLines): adjust
3501 (updateInset): adjust
3502 (setCursor): change to take a ParagraphList::iterator parameter
3503 (setCursorIntern): change to take a ParagraphList::iterator parameter
3504 (setCurrentFont): adjust
3505 (cursorLeft): adjust
3506 (cursorRight): adjust
3507 (deleteEmptyParagraphMechanism): adjust
3509 * text.C (breakParagraph): adjust
3510 (insertChar): adjust
3511 (acceptChange): adjust
3512 (rejectChange): adjust
3513 (selectNextWordToSpellcheck): adjust
3514 (changeCase): adjust
3518 * lyxfind.C (SearchForward): adjust
3519 (SearchBackward): adjust
3520 (nextChange): adjust
3522 * lyxcursor.C (par): adjust
3524 * lyxcursor.h: store a ParagraphList::iterator instead of a
3527 * lyx_cb.C (getPossibleLabel): adjust
3529 * bufferview_funcs.C (toggleAndShow): adjust
3531 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3534 * BufferView.C (removeAutoInsets): adjust
3535 (lockedInsetStoreUndo): adjust
3537 2003-04-09 John Levon <levon@movementarian.org>
3539 * ToolbarBackend.C: try icon without argument
3540 if with argument fails
3542 2003-04-08 John Levon <levon@movementarian.org>
3545 * ToolbarBackend.C: add getIcon(), handle tooltip,
3546 and change from "Icon" to "Item".
3548 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3550 * BufferView.C (lockInset): another bad getchar crunched
3552 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3554 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3557 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3559 * lyxfind.C (searchForward, searchBackwards): bug 782
3561 2003-04-07 John Levon <levon@movementarian.org>
3563 * paragraph.C: remove dead comment
3565 * text.C: remove troublesome depth-fiddling code
3566 in leftMargin() and rightMargin() (bug 1017)
3568 * text.C: fix breaking of rows in nested lists
3571 * text2.C (updateCounters): fix up depth values
3574 2003-04-07 John Levon <levon@movementarian.org>
3576 * BufferView_pimpl.C: clear message when doc finishes resizing,
3577 and after a mouse event
3579 * lyxfunc.C: clear message after exiting inset
3581 2003-04-07 John Levon <levon@movementarian.org>
3583 * bufferview_funcs.C: show math status not outside
3584 status in the statusbar
3586 2003-04-07 John Levon <levon@movementarian.org>
3588 * lyxfunc.C: note status changed after a depth change
3590 2003-04-04 Angus Leeming <leeming@lyx.org>
3592 * LaTeX.h: move AuxInfo operator==, != out of line.
3593 Remove LaTeX virtual destructor; nothing derives from it.
3594 Move operator()() out of public area and rename it startscript().
3595 Change protected for private.
3597 2003-04-04 Angus Leeming <leeming@lyx.org>
3600 * text2.C: remove unneeded #includes.
3602 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3604 * text2.C (dEPM): fix the heigth of the next row
3606 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3608 * text.C: squashed an invalid getChar requester + some ws changes
3610 2003-04-03 John Levon <levon@movementarian.org>
3612 * bufferview_funcs.h:
3613 * bufferview_funcs.C:
3616 * text2.C: make getStatus work for the env depth lfuns
3618 2003-04-03 John Levon <levon@movementarian.org>
3620 * bufferview_funcs.h:
3621 * bufferview_funcs.C:
3624 * text2.C: parlistize decDepth(), by merging it with incDepth()
3626 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * lyxrow.h: store a ParagraphList::iterator instead of a
3629 Paragraph* and adjust other class functions to suit.
3631 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3634 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3636 * text2.C (setCursor): do not anchor to cursor row for the time being
3638 2003-04-02 John Levon <levon@movementarian.org>
3645 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3647 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * paragraph.h: make ParagraphList and ParagraphList::iterator
3650 friends of Paragraph.
3652 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3654 * ParagraphList.C: Use the private next_ and previous_ from
3657 2003-04-01 John Levon <levon@movementarian.org>
3661 * Makefile.am: rename, remove defaults gunk
3664 * MenuBackend.C: remove defaults gunk
3667 * Languages.C: remove defaults gunk
3670 * lyx_main.C: error out if files couldn't be found.
3672 2003-04-02 John Levon <levon@movementarian.org>
3674 * text2.C: make incDepth() use parlist
3676 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * undo_funcs.C (firstUndoParagraph): adjust
3680 * text3.C (gotoInset): adjust
3681 (dispatch): adjust, and rewrite loop.
3683 * text2.C (init): adjust, and rewrite loop.
3684 (redoParagraphs): adjust
3685 (updateInset): adjust, and rewrite loop.
3686 (deleteEmptyParagraphMechanism): adjust
3688 * tabular.C (LyXTabular): adjust
3689 (SetMultiColumn): adjust
3692 * lyxtext.[Ch] (ownerParagraph): delete function
3693 (ownerParagraphs): new function returns a ParagraphList.
3695 * BufferView.C (removeAutoInsets): adjust
3696 (insertErrors): adjust
3697 (setCursorFromRow): adjust
3699 2003-04-01 Angus Leeming <leeming@lyx.org>
3701 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3704 2003-04-02 John Levon <levon@movementarian.org>
3710 * text_funcs.C: make transposeChars a free function
3712 * lyxrow_funcs.C: remove wrong comment
3714 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * rowpainter.C: adjust
3722 * lyxrow_funcs. [Ch]: new files
3724 * lyxrow.[Ch]: remove next and previous pointers
3725 (next,previous): remove accessor functions
3726 (isParEnd): move to lyxrow_funcs
3727 (lastPos): move to lyxrow_funcs
3728 (nextRowIsAllInset): move to lyxrow_funcs
3729 (lastPrintablePos): move to lyxrow_funcs
3730 (numberOfSeparators): move to lyxrow_funcs
3731 (numberOfHfills): move to lyxrow_funcs
3732 (numberOfLabelHfills): move to lyxrow_funcs
3733 (hfillExpansion): move to lyxrow_funcs
3737 * bufferview_funcs.C (toggleAndShow): adjust
3739 * RowList.h: Remove class RowList from file leave just a
3742 * RowList.C: delete file
3744 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3747 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3749 * text3.C (cursorPrevious): adjust
3750 (cursorNext): adjust
3753 * text2.C (redoHeightOfParagraph): adjust
3754 (redoDrawingOfParagraph): adjust
3757 * text.C (breakParagraph): adjust
3758 (insertChar): adjust
3761 * rowpainter.C (RowPainter): adjust
3762 (leftMargin): simplify and adjust
3763 (most rowpainter functions): adjust.
3765 * rowpainter.h: store the row as RowList::iterator not as Row*
3767 * lyxcursor.C (row): taka RowList::iterator as arg
3770 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3773 2003-04-01 Angus Leeming <leeming@lyx.org>
3775 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3776 stuff like bool Bool.
3778 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3780 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3783 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3788 * lyxtext.h (rows): drop one version and leve a const variant that
3789 returns a RowList::iterator.
3791 2003-03-31 Angus Leeming <leeming@lyx.org>
3793 * text.C (fill): ensure that the signature is the same as that in the
3796 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * text2.C (redoParagraphs): adjust
3799 (updateCounters): adjust
3800 (checkParagraph): adjust
3801 (getColumnNearX): adjust and reformat a bit.
3803 * text.C (top_y): adjust
3805 (leftMargin): adjust
3806 (prepareToPrint): adjust
3808 (getRowNearY): adjust
3810 * lyxtext.h: make rowlist_ mutable.
3812 * RowList.h: add const_iterator
3813 * RowList.C: adjust for RowList::const_iterator.
3815 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3818 2003-03-31 John Levon <levon@movementarian.org>
3821 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3823 * lyx_main.C: set default fonts from using lyx_gui funcs
3825 * exporter.C: pdf_mode moved from lyxrc
3828 * lyxfunc.C: changes from above
3830 2003-03-31 John Levon <levon@movementarian.org>
3832 * lyx_main.C: fix to the last fix
3834 2003-03-31 John Levon <levon@movementarian.org>
3836 * bufferlist.C: "Load original" -> "Load Original"
3842 * format.C: more Alert cleanups
3844 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * text2.C (removeParagraph): make it take a RowList::iterator as
3848 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3849 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3851 * text.C (anchor_row): make it take a RowList::iterator as arg,
3853 (computeBidiTables): make it take a const reference to Row instead
3854 of Row pointer, adjust.
3855 (leftMargin): make it take a RowList::iterator as arg, adjust.
3856 (rowBreakPoint): adjust
3857 (breakAgainOneRow): make it take a RowList::iterator as arg,
3859 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3861 * bufferview_funcs.C (toggleAndShow): adjust
3863 2003-03-30 John Levon <levon@movementarian.org>
3867 * boost-inst.C: moved to support
3869 * several files: changes as a result
3871 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * text2.C (LyXText): adjust.
3875 (removeRow): make it take a RowList::iterator as arg, adjust.
3876 (fullRebreak): adjust
3877 (deleteEmptyParagraphMechanism): adjust
3878 (clearPaint): adjust
3881 * text.C (top_y): adjust
3882 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3883 (breakAgain): make it take a RowList::iterator as arg, adjust.
3884 (breakParagraph): adjust
3885 (insertChar): adjust
3888 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3889 need_break_row, and refresh_row.
3891 * text3.C (dispatch): adjust
3893 * text2.C (checkParagraph): adjust
3895 (setCursorFromCoordinates): adjust
3897 * text.C (top_y): adjust
3899 (getRow): make it return a RowList::iterator, adjust
3900 (getRowNearY): make it return a RowList::iterator, adjust
3902 * text2.C (init): adjust
3903 (insertRow): remove function
3904 (insertParagraph): adjust
3905 (redoParagraphs): adjust
3906 (fullRebreak): adjust
3907 (updateCounters): adjust
3909 * text.C (top_y): rewrite to use RowList iterators.
3911 (setHeightOfRow): rewrite to sue RowList iterators.
3912 (appendParagraph): adjust
3913 (breakAgain): adjust
3914 (breakAgainOneRow): adjust
3915 (breakParagraph): adjust
3917 (getRowNearY): adjust, and remove commented code.
3919 * lyxtext.h (firstRow): delete function
3920 (lastRow): delete function
3921 (rows): new function (const and non-const versions.)
3922 (insertRow): delete function
3924 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3926 2003-03-29 John Levon <levon@movementarian.org>
3928 * BufferView_pimpl.C: always update scrollbar top
3929 because pasting text when we're anchored could mean we
3930 miss an update altogether
3932 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * text2.C (init): use rowlist_.end() and not 0.
3935 (insertRow): change to take a RowList::iterator as arg, adjust
3937 (insertParagraph): change to take a RowList::iterator as arg,
3939 (redoParagraphs): remove some debug msgs.
3941 * text.C (appendParagraph): change to take a RowList::iterator
3942 arg, adjust for this.
3943 (breakAgain): add an assert
3944 (breakAgainOneRow): ditto
3946 2003-03-29 John Levon <levon@movementarian.org>
3948 * text2.C: do not clear selection after inc/decDepth
3951 2003-03-29 John Levon <levon@movementarian.org>
3954 * buffer.C: fix broken strerrors according to Lars
3956 2003-03-29 John Levon <levon@movementarian.org>
3958 * converters.C: more Alert cleanups
3960 2003-03-29 John Levon <levon@movementarian.org>
3962 * bufferview_funcs.C: remove pointless Alert
3964 * buffer.C: fix confusing error message when
3965 a template is chmoded 000
3967 2003-03-29 John Levon <levon@movementarian.org>
3971 * BufferView_pimpl.C: Alert fixes
3975 * tabular-old.C: remove unused table compat reading
3977 2003-03-29 John Levon <levon@movementarian.org>
3982 * lyx_cb.C: more Alert cleanups
3984 * lyxfunc.C: don't allow chktex if not latex document
3986 2003-03-29 John Levon <levon@movementarian.org>
3990 * buffer.C: warnings pushed down from support/,
3993 2003-03-29 John Levon <levon@movementarian.org>
3995 * lyxfunc.C: safety check for C-r (revert)
3997 2003-03-29 John Levon <levon@movementarian.org>
4000 * bufferlist.C: several UI fixes using Alert::prompt.
4001 Fix the pointless looping quit code. Fix stupid revert
4006 * lyx_cb.C: use Alert::prompt
4008 * lyx_main.C: remove a silly question
4010 * lyxfunc.C: remove a couple of silly questions,
4013 2003-03-28 John Levon <levon@movementarian.org>
4015 * text2.C: fix bug 974 (End on empty par)
4017 2003-03-28 John Levon <levon@movementarian.org>
4019 * BufferView_pimpl.C:
4021 * lfuns.h: remove do-nothing math greek lfuns
4023 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4025 * lyxgluelength.h (isValidGlueLength): add default arg on
4026 parameter 2. Remove default arg from friend in class.
4028 * lyxlength.h (isValidLength): add default arg on parameter 2.
4029 Remove default arg from friend in class.
4031 * text2.C (LyXText): adjust, initialize refresh_row.
4035 (insertParagraph): adjst
4036 (redoParagraphs): adjust
4037 (fullRebreak): adjust
4038 (updateCounters): adjust
4039 (deleteEmptyParagraphMechanism): first attempt at fixing a
4042 * text.C (top_y): adjust
4043 (setHeightOfRow): adjust
4045 (getRowNearY): adjust
4047 * lyxtext.h: include RowList.h
4048 (~LyXText): not needed anymore, deleted.
4049 (firstRow): modify for RowList
4050 (lastRow): new function
4051 Delete firstrow and lastrow class variables, add a Rowlist
4052 rowlist_ class variable.
4054 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4057 * RowList.C (insert): fix case where it == begin().
4059 2003-03-26 Angus Leeming <leeming@lyx.org>
4061 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4062 the thesaurus dialog.
4064 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4068 * RowList.[Ch]: new files
4070 * ParagraphList.C (erase): handle the case where it == begin
4073 2003-03-25 John Levon <levon@movementarian.org>
4077 * aspell.C: add new aspell support
4080 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4083 2003-03-25 Angus Leeming <leeming@lyx.org>
4086 * LyXAction.C (init): new LFUN_INSET_INSERT.
4088 * BufferView_pimpl.C (dispatch): split out part of the
4089 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4091 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4094 2003-03-25 Angus Leeming <leeming@lyx.org>
4096 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4098 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4101 * text3.C: remove useless row->height(0)
4103 2003-03-25 John Levon <levon@movementarian.org>
4107 * text3.C: rename the refreshing stuff to better names
4109 2003-03-24 John Levon <levon@movementarian.org>
4111 * BufferView_pimpl.h:
4112 * BufferView_pimpl.C: update layout choice on a mouse
4115 2003-03-23 John Levon <levon@movementarian.org>
4117 * Makefile.am: fix commandtags.h reference
4119 2003-03-22 John Levon <levon@movementarian.org>
4121 * BufferView_pimpl.C:
4126 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4128 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4131 * text.C: take the rtl methods out of line
4133 2003-03-21 André Pönitz <poenitz@gmx.net>
4135 * metricsinfo.[Ch]: new files containing structures to be passed around
4136 during the two-phase-drawing...
4138 2003-03-21 André Pönitz <poenitz@gmx.net>
4140 * lyxtextclass.C: read 'environment' tag.
4142 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4144 * text2.C (removeRow): fix bug 964
4146 2003-03-20 John Levon <levon@movementarian.org>
4150 * text2.C: paint cleanups. Inset::update() dropped font
4153 2003-03-19 John Levon <levon@movementarian.org>
4155 * lyxfunc.C: only fitcursor/markDirty if available()
4157 2003-03-19 John Levon <levon@movementarian.org>
4159 * commandtags.h: rename to ...
4161 * lfuns.h: ... this, and renumber / cleanup
4163 2003-03-19 John Levon <levon@movementarian.org>
4165 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4166 fit the cursor after an lfun
4170 * BufferView_pimpl.h:
4171 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4173 * LyXAction.C: layout-character should have ReadOnly
4175 * ParagraphParameters.C:
4177 * bufferview_funcs.C:
4184 * undo_funcs.C: changes from above
4186 2003-03-18 John Levon <levon@movementarian.org>
4188 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4189 remove it from update()
4191 * lyxfunc.C: update layout choice after an lfun
4193 * text3.C: remove extra updateLayoutChoice()s
4195 2003-03-18 John Levon <levon@movementarian.org>
4197 * text.C: top_y change means full repaint, fix
4198 a drawing bug with cursor movement
4200 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4204 * text2.C: anchor row on setCursor
4206 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4208 * lyxtext.h: remove almost all mutable keywords
4211 * text3.C: remove const keywords accordingly
4213 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4217 (TeXEnvironment): ditto
4220 2003-03-17 John Levon <levon@movementarian.org>
4222 * text.C (rowBreakPoint): remove attempt to fix displayed
4223 math insets inside a manual label
4225 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * lyxtext.h: remove BufferView* as first arg from almost all class
4229 * other files: adjust.
4231 2003-03-17 John Levon <levon@movementarian.org>
4235 * text2.C: more paint cleanups
4237 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4240 * rowpainter.C: remove "smart" background painting code
4242 2003-03-16 John Levon <levon@movementarian.org>
4247 * text3.C: add helper functions for setting refresh_row/y
4249 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4251 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4252 newline inset which *can* get inserted in the pass_thru layouts.
4253 This is primarily for literate documents.
4255 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4257 * buffer.C: increment LYX_FORMAT to 223
4259 2003-03-14 André Pönitz <poenitz@gmx.net>
4261 * textclass.h: prepare for environment handling, ws changes
4262 * lyxlayout.C: read latexheader and latexfooter tags
4264 2003-03-14 John Levon <levon@movementarian.org>
4266 * text2.C: rewrite ::status() a bit
4268 2003-03-13 John Levon <levon@movementarian.org>
4270 * lyxtext.h: add some docs
4272 2003-03-13 John Levon <levon@movementarian.org>
4277 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4279 2003-03-13 John Levon <levon@movementarian.org>
4281 * text3.C: fix appendix redrawing
4283 2003-03-13 John Levon <levon@movementarian.org>
4285 * text.C (setHeightOfRow):
4287 * rowpainter.C: make appendix mark have the text
4288 "Appendix" so the user knows what it is
4291 * LColor.C: s/appendixline/appendix/ from above
4293 2003-03-13 John Levon <levon@movementarian.org>
4295 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4297 * text.C: fix a getChar(pos) bug properly
4299 2003-03-13 Angus Leeming <leeming@lyx.org>
4302 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4303 Probably only temporary. Let's see how things pan out.
4305 * BufferView.C (unlockInset):
4306 * BufferView_pimpl.C (fitCursor):
4307 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4309 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4310 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4312 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4313 new functions that convert ParagraphParameters to and from a string.
4315 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4316 BufferView::Pimpl's dispatch.
4317 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4319 2003-03-13 André Pönitz <poenitz@gmx.net>
4323 * factory.C: make it aware of InsetEnv
4325 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * text2.C (setCursor): never ask for one past last
4328 (setCursor): add some debugging messages.
4330 * text.C (singleWidth): never ask for one past last
4331 (singleWidth): ditto
4333 (rightMargin): ditto
4334 (rowBreakPoint): ditto
4335 (setHeightOfRow): ditto
4336 (prepareToPrint): ditto
4338 * rowpainter.C (paintBackground): never ask for one past last
4339 (paintText): never ask for one past last
4341 * paragraph_pimpl.C (getChar): make the assert stricter, never
4342 allow the one past last pos to be taken
4344 * paragraph.C (getChar): ws changes only
4346 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4347 (numberOfSeparators): ditto
4348 (numberOfHfills): ditto
4350 2003-03-12 John Levon <levon@movementarian.org>
4356 * paragraph_funcs.C: fix per-buffer authorlists
4358 2003-03-12 John Levon <levon@movementarian.org>
4360 * text.C: fix newline in right address
4362 2003-03-12 Angus Leeming <leeming@lyx.org>
4364 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4365 duplicate those in LyXFunc::dispatch.
4369 * ToolbarDefaults.C:
4370 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4371 Add LFUN_FONTFREE_UPDATE.
4373 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4374 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4376 * bufferview_func.[Ch]: several new functions to facilliate
4377 transfer of data to and from the character dialog.
4379 2003-03-12 John Levon <levon@movementarian.org>
4384 * paragraph_funcs.C:
4385 * paragraph_pimpl.C:
4389 * text3.C: remove META_NEWLINE in favour of an inset
4392 * rowpainter.C: remove paintNewline (done by inset)
4394 2003-03-12 John Levon <levon@movementarian.org>
4396 * paragraph_pimpl.C: complain about bad getChar()s
4397 for a while at least
4399 2003-03-12 John Levon <levon@movementarian.org>
4402 * buffer.C: move paragraph read into a separate function,
4403 a little renaming to reflect that.
4406 * bufferparams.C: remove the author_ids map, not necessary now
4409 * factory.C: moved Buffer::readInset to here
4411 * paragraph_funcs.h:
4412 * paragraph_funcs.C: readParagraph free function moved from
4415 * tabular.C: name change
4417 2003-03-12 John Levon <levon@movementarian.org>
4420 * ParagraphParameters.C: move par params input to
4423 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4424 behave like a normal read from the stream wrt reading
4425 a line vs. a \\token
4427 2003-03-12 John Levon <levon@movementarian.org>
4430 * ParagraphParameters.h:
4431 * ParagraphParameters.C: move output code to a
4434 2003-03-12 John Levon <levon@movementarian.org>
4436 * BufferView.C (insertLyXFile):
4439 * tabular.C: use a parlist iterator for creating the
4442 2003-03-12 John Levon <levon@movementarian.org>
4444 * buffer.C: make current_change static local not
4447 2003-03-12 John Levon <levon@movementarian.org>
4449 * buffer.C: fix insertStringAsLines for change tracking
4451 2003-03-12 John Levon <levon@movementarian.org>
4458 * bufferparams.C: move author list into params. Rename some
4459 functions. Move the header reading into a separate token
4460 loop. Move the header token reading into BufferParams.
4462 2003-03-12 John Levon <levon@movementarian.org>
4464 * changes.C: put debug inside lyxerr.debugging() checks
4466 2003-03-11 André Pönitz <poenitz@gmx.net>
4468 * factory.C: make it aware of InsetHFill
4470 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4472 * buffer.C (latexParagraphs): move function from here...
4473 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4476 2003-03-10 Angus Leeming <leeming@lyx.org>
4478 * LyXAction.C (init): fix bug in poplating array with multiple entries
4479 with the same LFUN (spotted by JMarc).
4481 2003-03-10 John Levon <levon@movementarian.org>
4484 * text2.C: move getColumnNearX() near its
4487 2003-03-10 John Levon <levon@movementarian.org>
4489 * text.C: fix break before a minipage
4491 2003-03-10 John Levon <levon@movementarian.org>
4493 * text.C: fix the last commit
4495 2003-03-09 John Levon <levon@movementarian.org>
4499 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4500 bug 365 (don't break before insets unless needed). Don't
4501 return a value > last under any circumstances.
4503 2003-03-09 Angus Leeming <leeming@lyx.org>
4505 * BufferView_pimpl.C (trackChanges, dispatch): call
4506 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4508 2003-03-09 Angus Leeming <leeming@lyx.org>
4510 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4511 than Dialogs::showAboutlyx().
4513 2003-03-09 Angus Leeming <leeming@lyx.org>
4515 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4516 than Dialogs::showTabularCreate().
4518 2003-03-09 John Levon <levon@movementarian.org>
4522 * text2.C: 3rd arg to nextBreakPoint was always the same.
4525 2003-03-08 John Levon <levon@movementarian.org>
4532 * text2.C: Remove the "main" bit from the "main body"
4535 2003-03-08 John Levon <levon@movementarian.org>
4537 * text.C (leftMargin): The left margin of an empty
4538 manual label paragraph should not include the label width
4541 * text.C (prepareToPrint): don't attempt to measure hfills
4542 for empty manual label paragraphs - the answer should be 0
4544 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * CutAndPaste.C: remove commented code and reindent.
4548 2003-03-08 John Levon <levon@movementarian.org>
4551 * lyxfunc.C: move reloadBuffer()
4554 * BufferView.C: to here
4556 * lyxvc.C: add comment
4559 * vc-backend.C: call bv->reload() to avoid
4560 getStatus() check on MENURELOAD
4562 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4564 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4565 to an old format .dep file.
4567 2003-03-07 Angus Leeming <leeming@lyx.org>
4569 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4570 when the LFUN_MOUSE_RELEASE should have been handled by
4571 inset->localDispatch.
4573 2003-03-07 Angus Leeming <leeming@lyx.org>
4575 * BufferView_pimpl.C (dispatch):
4576 * LyXAction.C (init):
4577 * ToolbarDefaults.C (init):
4579 * lyxfunc.C (getStatus):
4580 remove LFUN_INSET_GRAPHICS.
4582 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4584 2003-03-07 Angus Leeming <leeming@lyx.org>
4587 * LyXAction.C (init):
4588 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4590 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4593 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4595 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4596 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4598 2003-03-07 Angus Leeming <leeming@lyx.org>
4600 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4603 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4605 * ParagraphList.C (front): new function
4608 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4610 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4611 and top_row_offset_. removed var first_y.
4613 * text2.C (LyXText, removeRow):
4615 * BufferView_pimpl.C:
4616 use these methods instead of using first_y
4618 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * text2.C (pasteSelection): adjust for checkPastePossible
4622 * CutAndPaste.C: remove Paragraph * buf and replace with
4623 ParagraphList paragraphs.
4624 (DeleteBuffer): delete
4625 (cutSelection): change the tc type to textclass_type
4626 (copySelection): change the tc type to textclass_type
4627 (copySelection): adjust for ParagraphList
4628 (pasteSelection): change the tc type to textclass_type
4629 (pasteSelection): adjust for Paragraphlist
4630 (nrOfParagraphs): simplify for ParagraphList
4631 (checkPastePossible): simplify for ParagraphList
4632 (checkPastePossible): remove unused arg
4634 * ParagraphList.C (insert): handle the case where there are no
4637 * CutAndPaste.h: make CutAndPaste a namespace.
4639 * text3.C (dispatch): adjust
4641 * text.C (breakParagraph): add a ParagraphList as arg
4643 * paragraph_funcs.C (breakParagraph): change to take a
4644 BufferParams and a ParagraphList as args.
4645 (breakParagraphConservative): ditto
4646 (mergeParagraph): ditto
4647 (TeXDeeper): add a ParagraphList arg
4648 (TeXEnvironment): ditto
4651 * buffer.C (readLyXformat2): adjust
4652 (insertStringAsLines): adjust
4653 (latexParagraphs): adjust
4655 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4656 (cutSelection): adjust
4657 (pasteSelection): adjust
4659 * BufferView_pimpl.C (insertInset): adjust
4661 2003-03-05 Angus Leeming <leeming@lyx.org>
4664 * LyXAction.C (init):
4665 * BufferView_pimpl.C (dispatch):
4666 * lyxfunc.C (getStatus):
4667 remove LFUN_CHILD_INSERT.
4669 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4671 2003-03-05 Angus Leeming <leeming@lyx.org>
4674 * LyXAction.C (init):
4675 * src/factory.C (createInset):
4676 * lyxfunc.C (getStatus):
4677 * text3.C (dispatch):
4678 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4680 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4682 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * ParagraphList.C (insert): handle insert right before end()
4685 (erase): fix cases where it can be first or last paragraph.
4687 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4690 Paragraph::next and Paragraph::previous
4693 * text.C (breakParagraph): adjust
4695 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4696 BufferParams& as arg.
4697 (breakParagraph): use ParagraphList::insert
4698 (breakParagraphConservative): take a Buffer* instead of a
4699 BufferParams& as arg.
4700 (breakParagraphConservative): use ParagraphList::insert.
4702 * buffer.C (insertStringAsLines): un-const it
4703 (insertStringAsLines): adjust
4705 * ParagraphList.C (insert): new function
4707 * CutAndPaste.C (pasteSelection): adjust
4709 * text.C (backspace): adjust
4711 * tabular.C (SetMultiColumn): adjust
4713 * CutAndPaste.C (cutSelection): adjust
4714 (pasteSelection): adjust
4716 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4717 Buffer const * as arg
4719 * ParagraphList.C (erase): new function
4720 * paragraph_funcs.C (mergeParagraph): use it
4721 (mergeParagraph): make it take a Buffer* instead of a
4722 BufferParams* as arg
4724 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4726 (breakParagraphConservative): ditto
4728 * paragraph.h: remove the breakParagraph friend
4730 * paragraph.C (eraseIntern): new function
4731 (setChange): new function
4733 * paragraph_funcs.C (mergeParagraph): make it take a
4734 ParagraphList::iterator instead of a Paragraph *, adjust
4737 * paragraph.h: move an #endif so that the change tracking stuff
4738 also works in the NO_NEXT case.
4740 2003-03-04 Angus Leeming <leeming@lyx.org>
4743 * LyXAction.C: new LFUN_INSET_MODIFY.
4745 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4746 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4748 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * several files: ws changes only
4752 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4753 (TeXEnvironment): ditto
4756 * buffer.C (makeLaTeXFile): adjust
4757 (latexParagraphs): make it take ParagraphList::iterator as args
4759 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * buffer.C (latexParagraphs): adjust
4763 * paragraph.C (TeXOnePar): move function...
4764 (optArgInset): move function...
4765 (TeXEnvironment): move function...
4766 * paragraph_pimpl.C (TeXDeeper): move function...
4767 * paragraph_funcs.C: ...here
4769 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4771 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * buffer.C (readInset): remove compability code for old Figure and
4776 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * buffer.C: ws changes
4781 * BufferView_pimpl.C: ditto
4784 * bufferlist.h: ditto
4788 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4790 * converter.[Ch]: split into itself +
4793 * Makefile.am: += graph.[Ch] + format.[Ch]
4800 * lyxrc.C: added #include "format.h"
4802 2003-02-27 Angus Leeming <leeming@lyx.org>
4804 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4807 * factory.C (createInset): add "label" to the factory.
4809 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4810 string and do no more.
4812 2003-02-27 Angus Leeming <leeming@lyx.org>
4815 * LyXAction.C (init):
4816 * factory.C (createInset):
4817 * BufferView_pimpl.C (dispatch):
4818 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4820 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4822 * lyxfunc.C (dispatch):
4823 * text3.C (dispatch): pass name to params2string.
4825 2003-02-26 Angus Leeming <leeming@lyx.org>
4827 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4829 Rearrange the ~includes. Strip out the unnecessary ones.
4831 * factory.C (createInset): reformat.
4832 create new insets for the various LFUN_XYZ_APPLY lfuns.
4834 2003-02-26 John Levon <levon@movementarian.org>
4837 * lyxrow.C: add isParStart,isParEnd helpers
4839 * paragraph.h: make isInserted/DeletedText take refs
4841 * paragraph_funcs.h:
4842 * paragraph_funcs.C: remove #if 0'd code
4847 * text.C: use lyxrow helpers above.
4848 Move draw and paint routines to RowPainter.
4849 Make several methods use refs not pointers.
4850 Make backgroundColor() const.
4851 Add markChangeInDraw(), isInInset().
4852 Merge changeRegionCase into changeCase.
4853 Make workWidth() shouldn't-happen code into an Assert.
4856 * rowpainter.C: new class for painting a row.
4859 * vspace.C: make inPixels take a ref
4861 2003-02-26 Angus Leeming <leeming@lyx.org>
4863 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4866 2003-02-25 John Levon <levon@movementarian.org>
4868 * ispell.C: give the forked command a more accurate name
4870 2003-02-22 John Levon <levon@movementarian.org>
4873 * toc.C: make TocItem store an id not a Paragraph *
4876 2003-02-21 Angus Leeming <leeming@lyx.org>
4878 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4879 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4880 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4881 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4882 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4883 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4885 * BufferView_pimpl.C (dispatch):
4886 * LyXAction.C (init):
4887 * factory.C (createInset):
4888 * lyxfunc.C (getStatus, dispatch):
4889 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4891 2003-02-21 Angus Leeming <leeming@lyx.org>
4893 * BufferView_pimpl.C (MenuInsertLyXFile):
4894 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4895 * lyxfunc.C (menuNew, open, doImport):
4896 no longer pass a LyXView & to fileDlg.
4898 2003-02-21 Angus Leeming <leeming@lyx.org>
4900 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4901 * LyXAction.C: change, BIBKEY to BIBITEM.
4902 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4903 Change InsetBibKey to InsetBibitem.
4904 Change BIBKEY_CODE to BIBITEM_CODE.
4905 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4906 * factory.C: replace insetbib.h with insetbibitem.h.
4907 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4908 * paragraph.C: replace insetbib.h with insetbibitem.h.
4909 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4910 Change bibkey() to bibitem().
4911 * text.C: remove insetbib.h.
4912 * text2.C: replace insetbib.h with insetbibitem.h.
4913 change bibkey() to bibitem().
4914 * text3.C: remove insetbib.h.
4915 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4917 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4919 * lyxrc.C (output): enclose user email in quotes (in case there are
4922 2003-02-18 John Levon <levon@movementarian.org>
4924 * buffer.h: add std::
4926 2003-02-17 John Levon <levon@movementarian.org>
4932 * pspell.C: reworking. Especially in ispell, a large
4933 number of clean ups and bug fixes.
4935 * lyxfunc.C: fix revert to behave sensibly
4937 2003-02-17 André Pönitz <poenitz@gmx.net>
4940 * commandtags.h: new LFUN_INSERT_BIBKEY
4950 * paragraph_func.C: remove special bibkey handling
4952 2003-02-17 John Levon <levon@movementarian.org>
4954 * text.C (Delete): fix case where delete at the end of
4955 the very first paragraph would not merge the pars
4957 2003-02-17 John Levon <levon@movementarian.org>
4959 * lyxrow.C: fix lastPrintablePos()
4961 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * bufferparams.C (writeLaTeX): add a std:here
4965 * buffer.C: and remove a using directive there
4967 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4969 * buffer.C (makeLaTeXFile): move the code that generates the
4972 * bufferparams.C (writeLaTeX): ... in this new method
4974 * LaTeXFeatures.C (getEncodingSet): make const
4975 (getLanguages): make const
4977 * MenuBackend.C (binding): returns the binding associated to this
4979 (add): sets the status of each item by calling getStatus. Adds
4981 (read): add support for OptSubMenu
4982 (expand): remove extra separator at the end of expanded menu
4984 2003-02-15 John Levon <levon@movementarian.org>
4987 * BufferView_pimpl.C:
4989 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4990 inset code that had no actual effect. Remove unneeded status
4993 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4995 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4998 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5000 * text.C (drawLengthMarker): also draw an arrow marker for
5001 symbolic lengths (medskip...)
5003 2003-02-14 John Levon <levon@movementarian.org>
5006 * tabular.C: better method names
5008 2003-02-14 John Levon <levon@movementarian.org>
5010 * BufferView_pimpl.C:
5015 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5016 it's a more accurate name. Remove some pointless uses.
5018 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5020 * text2.C (LyXText): change order of initilizers to shut off
5023 2003-02-14 John Levon <levon@movementarian.org>
5025 * buffer.C: use ParIterator for getParFromID()
5029 * paragraph_pimpl.h:
5030 * paragraph_pimpl.C: remove unused getParFromID()
5032 2003-02-14 John Levon <levon@movementarian.org>
5034 * buffer.C: remove some very old #if 0'd parse code
5036 2003-02-13 John Levon <levon@movementarian.org>
5040 * text2.C: move hfillExpansion(), numberOfSeparators(),
5041 rowLast(), rowLastPrintable(), numberofHfills(),
5042 numberOfLabelHfills() ...
5045 * lyxrow.C: ... to member functions here.
5050 * text.C: remove LyXText::beginningOfMainBody(), and call
5051 p->beginningOfMainBody() directly. Move the check for
5052 LABEL_MANUAL into the latter.
5059 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5065 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5066 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5068 2003-02-13 John Levon <levon@movementarian.org>
5070 * CutAndPaste.C: remove debug
5072 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5074 * paragraph.C (asString): remove two unused variables
5076 * lyxtextclass.C (readTitleType):
5078 (LyXTextClass): handle new members titletype_ and titlename_
5080 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5082 2003-02-09 John Levon <levon@movementarian.org>
5085 * buffer.C: replace hand-coded list with a map for the dep clean
5087 2003-02-08 John Levon <levon@movementarian.org>
5089 * LaTeX.C: consolidate code into showRunMessage() helper
5091 2003-02-08 John Levon <levon@movementarian.org>
5096 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5097 and pass the size in explicitly
5099 * BufferView_pimpl.h:
5100 * BufferView_pimpl.C:
5102 * BufferView.C: add getCurrentChange()
5104 * BufferView_pimpl.h:
5105 * BufferView_pimpl.C: handle change lfuns
5107 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5108 for changes. Mark pasted paragraphs as new.
5110 * support/lyxtime.h:
5111 * support/lyxtime.C:
5112 * DepTable.C: abstract time_t as lyx::time_type
5115 * LColor.C: add colours for new text, deleted text, changebars
5117 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5118 package use "usenames" option.
5122 * LyXAction.C: add change lfuns
5126 * author.C: author handling
5129 * buffer.C: add a per-buffer author list, with first entry as
5130 current author. Handle new .lyx tokens for change tracking. Output
5131 author list to .lyx file. Output dvipost stuff to .tex preamble.
5132 Bump lyx format to 222.
5135 * bufferlist.C: add setCurrentAuthor() to reset current author details
5139 * bufferparams.C: add param for tracking
5141 * bufferview_funcs.C: output change info in minibuffer
5145 * changes.C: add change-tracking structure
5148 * debug.C: add CHANGES debug flag
5151 * lyxfind.C: add code for finding the next change piece
5154 * lyxrc.C: add user_name and user_email
5157 * lyxrow.C: add a metric for the top of the text line
5160 * text.C: implement accept/rejectChange()
5163 * text.C: paint changebars. Paint new/deleted text in the chosen
5164 colours. Strike through deleted text.
5168 * paragraph_pimpl.h:
5169 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5170 in the current change to the insert functions. Rework erase to
5171 mark text as deleted, adding an eraseIntern() and a range-based
5172 erase(). Implement per-paragraph change lookup and
5175 * paragraph_funcs.C: Fixup paste for change tracking.
5177 * tabular.C: mark added row/columns as new.
5179 * text.C: fix rowLast() to never return -1. Don't allow
5180 spellchecking of deleted text. Track transpose changes. Don't
5181 allow paragraph break or merge where appropriate.
5183 * text2.C: leave cursor at end of selection after a cut.
5185 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5187 * text.C (getLengthMarkerHeight):
5188 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5189 visible on screen too.
5191 2003-02-07 John Levon <levon@movementarian.org>
5193 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5195 2003-02-05 Angus Leeming <leeming@lyx.org>
5197 * lyxserver.C (read_ready): revert my patch of 11 September last year
5198 as it sends PC cpu through the roof. Presumably this means that
5199 the lyxserver will no longer run on an Alpha...
5201 2003-01-30 Angus Leeming <leeming@lyx.org>
5203 * factory.C (createInset): create an InsetCommandParam of type "index"
5204 and use it to 'do the right thing'.
5206 * text2.C (getStringToIndex): ensure that cursor position is always
5207 reset to the reset_cursor position.
5209 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5211 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5214 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5218 * lyxfunc.C: Output messages with identical spelling, punctuation,
5221 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5223 * MenuBackend.C (expandFormats): List only viewable export formats
5226 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5229 * lyxfunc.C (getStatus): Make sure that formats other than
5230 "fax" can also be disabled
5232 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5234 * text3.C (dispatch): put the lfuns that insert insets in 3
5235 groups, and call doInsertInset with appropriate arguments.
5236 (doInsertInset): new function, that creates an inset and inserts
5237 it according to some boolean parameters.
5239 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * buffer.C (readFile): remember to pass on 'par' when calling
5242 readFile recursively.
5244 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5246 * MenuBackend.C (expandFormats): add "..." to import formats.
5248 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5250 * paragraph.C (asString): Remove XForms RTL hacks.
5252 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5253 * buffer.C: fix typo
5255 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5257 * Makefile.am (LIBS): delete var
5258 (lyx_LDADD): add @LIBS@ here instead.
5260 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5262 * Clarify the meaning of "wheel mouse jump"
5264 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5266 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5269 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5271 * importer.C (Loaders): do not preallocate 3 elements in the
5272 vector, since one ends up with 6 elements otherwise
5274 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5276 * DepTable.C (write): write the file name as last element of the
5277 .dep file (because it may contain spaces)
5278 (read): read info in the right order
5280 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5282 * paragraph_pimpl.C (simpleTeXBlanks):
5283 (simpleTeXSpecialChars):
5284 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5286 * tabular.C (latex): add some missing case statements. Reindent.
5288 * MenuBackend.C (expandToc): remove unused variable.
5290 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5299 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5302 2003-01-05 John Levon <levon@movementarian.org>
5305 * BufferView.C: add getEncoding()
5308 * kbsequence.C: do not store last keypress
5311 * lyxfunc.C: store last keypress here instead. Pass encoding
5314 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5316 * lyx_main.C (init): remove annoying error message when following
5317 symbolic links (bug #780)
5319 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5321 * text.C (insertChar):
5322 * lyxrc.C (getDescription): remove extra spaces
5324 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5326 * lyxrc.C (getDescription): remove extra spaces
5328 2002-12-20 John Levon <levon@movementarian.org>
5330 * text3.C: hack fix for page up/down across tall rows
5332 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5334 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5337 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5339 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5340 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5341 thesaurus is not compiled in
5343 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5345 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5347 2002-12-16 Angus Leeming <leeming@lyx.org>
5350 * lyx_main.C (init): remove override_x_deadkeys stuff.
5352 2002-12-12 John Levon <levon@movementarian.org>
5354 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5355 insert. Only remove shift modifier under strict
5358 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * MenuBackend.C (expandToc): fix crash.
5362 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * MenuBackend.C (expandToc): gettext on float names.
5366 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5368 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5369 implement bool empty() [bug 490]
5371 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5375 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * several files: ws changes
5379 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * text2.C (setCounter): clean up a bit, use boost.format.
5382 (updateCounters): initialize par upon declaration.
5384 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5385 if the layout exists. We do not just store the layout any more.
5386 (SwitchLayoutsBetweenClasses): use boost.format
5388 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5390 * converter.C (convert): if from and to files are the same, use a
5391 temporary files as intermediary
5393 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5396 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5398 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5400 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5402 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * tabular.C (asciiPrintCell): use string(size, char) instead of
5407 * sgml.C (openTag): fix order of arguments to string constructor
5410 * lyxfunc.C (dispatch): use boost.format
5412 * lots of files: change "c" -> 'c'
5414 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5416 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5418 2002-11-25 Angus Leeming <leeming@lyx.org>
5420 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5422 * lyx_main.C (init): compile fix.
5424 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * lyx_cb.C (start): boost.formatify
5427 do not include <iostream>
5429 * lengthcommon.C: ws only
5431 * boost-inst.C,BoostFormat.h: add more explict instantations
5433 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * lots of files: handle USE_BOOST_FORMAT
5437 2002-11-21 John Levon <levon@movementarian.org>
5439 * pspell.C: fix compile
5441 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5443 * lyxfunc.C (dispatch): use boost::format
5447 * lyxfont.C (stateText): use boost::format
5449 * lyx_main.C (LyX): use boost::format
5451 (queryUserLyXDir): ditto
5454 (typedef boost::function): use the recommened syntax.
5456 * importer.C (Import): use boost::format
5458 * debug.C (showLevel): use boost::format
5460 * converter.C (view): use boost::format
5465 * bufferview_funcs.C (currentState): use boost::format
5467 * bufferlist.C (emergencyWrite): use boost::format
5469 * buffer.C (readLyXformat2): use boost::format
5470 (parseSingleLyXformat2Token): ditto
5472 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5474 * LaTeX.C (run): use boost::format
5476 * Chktex.C (scanLogFile): use boost::format
5478 * BufferView_pimpl.C (savePosition): use boost::format
5479 (restorePosition): ditto
5480 (MenuInsertLyXFile): ditto
5482 * BoostFormat.h: help file for explicit instation.
5484 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5486 * tabular.C (latex): Support for block alignment in fixed width
5489 2002-11-17 John Levon <levon@movementarian.org>
5491 * BufferView_pimpl.C:
5493 * lyxfunc.C: split filedialog into open/save
5495 2002-11-08 Juergen Vigna <jug@sad.it>
5497 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5498 by my last patch (hopefully).
5500 2002-11-08 John Levon <levon@movementarian.org>
5509 * toc.C: ParConstIterator, and use it (from Lars)
5511 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5513 * lyxtextclass.[Ch]: revise and add doxygen comments
5515 2002-11-07 John Levon <levon@movementarian.org>
5517 * text.C: fix progress value for spellchecker
5519 * toc.C: fix navigate menu for insetwrap inside minipage
5521 * paragraph_funcs.C: added FIXME for suspect code
5523 2002-11-07 John Levon <levon@movementarian.org>
5525 * BufferView_pimpl.C: fix redrawing of insets
5528 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5530 * text2.C (updateCounters): fix bug 668
5532 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5534 * text3.C (dispatch): Do not make the buffer dirty when moving the
5537 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * vc-backend.C: STRCONV
5542 * text2.C (setCounter): STRCONV
5544 * paragraph.C (asString): STRCONV
5546 * lyxlength.C (asString): STRCONV
5547 (asLatexString): ditto
5549 * lyxgluelength.C (asString): STRCONV
5550 (asLatexString): ditto
5552 * lyxfunc.C (dispatch): STRCONV
5555 * lyxfont.C (stateText): STRCONV
5557 * importer.C (Import): STRCONV
5559 * counters.C (labelItem): STRCONV
5560 (numberLabel): ditto
5561 (numberLabel): remove unused ostringstream o
5566 * bufferview_funcs.C (currentState): STRCONV
5568 * buffer.C (readFile): STRCONV
5569 (asciiParagraph): ditto
5570 (makeLaTeXFile): ditto
5572 * Spacing.C (writeEnvirBegin): STRCONV
5574 * LaTeXFeatures.C (getLanguages): STRCONV
5575 (getPackages): ditto
5577 (getBabelOptions): ditto
5578 (getTClassPreamble): ditto
5579 (getLyXSGMLEntities): ditto
5580 (getIncludedFiles): ditto
5584 (scanAuxFile): ditto
5587 * LString.h: add the STRCONV macros
5589 * BufferView_pimpl.C (savePosition): STRCONV
5590 (restorePosition): ditto
5591 (MenuInsertLyXFile): ditto
5593 * vc-backend.C (scanMaster): change from submatch[...] to
5596 * funcrequest.C: include config.h
5598 * factory.C: include config.h
5600 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5602 * box.C: include config.h
5604 * LaTeX.C (scanAuxFile): change from submatch[...] to
5608 2002-10-25 Angus Leeming <leeming@lyx.org>
5610 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5612 * ispell.[Ch] (setError): new method.
5613 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5614 Use setError() insetead of goto END.
5616 * lyx_cb.C (AutoSave): move out child process into new class
5619 2002-10-30 John Levon <levon@movementarian.org>
5621 * text3.C: make start appendix undoable
5623 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5625 * lyxlength.C (inPixels): Fix returned value.
5627 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5630 2002-10-24 Angus Leeming <leeming@lyx.org>
5632 * lyxgluelength.h: no need to forward declare BufferParams
5633 or BufferView, so don't.
5635 2002-10-21 John Levon <levon@movementarian.org>
5637 * BufferView.C: menuUndo ->undo, redo
5639 * BufferView.h: document, remove dead, make some methods private
5641 * paragraph_funcs.h:
5642 * paragraph_funcs.C:
5643 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5648 * sgml.C: move sgml open/close tag into sgml.C
5650 * bufferview_funcs.h: unused prototype
5653 * lyxfunc.C: remove unused
5656 * text.C: remove unused
5658 2002-10-21 John Levon <levon@movementarian.org>
5662 * BufferView_pimpl.h:
5663 * BufferView_pimpl.C: fix mouse wheel handling based on
5664 patch from Darren Freeman
5666 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5668 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5670 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5672 * lyxlength.C (inPixels): Fix hanfling of negative length.
5673 Fix LyXLength::MU case.
5675 2002-10-16 John Levon <levon@movementarian.org>
5677 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5679 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5681 * converter.C (view): add support for $$i (file name) and $$p
5682 (file path) for the viewer command. If $$i is not specified, then
5683 it is appended to the command (for compatibility with old syntax)
5685 2002-10-14 Juergen Vigna <jug@sad.it>
5687 * undo_funcs.C (textHandleUndo): alter the order in which the
5688 new undopar is added to the LyXText, as we have to set first
5689 the right prev/next and then add it as otherwise the rebuild of
5690 LyXText is not correct. Also reset the cursor to the right paragraph,
5691 with this IMO we could remove the hack in "redoParagraphs()".
5693 2002-10-09 Angus Leeming <leeming@lyx.org>
5695 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5696 to turn off an optimisation if a new inset is to be inserted.
5698 2002-10-11 André Pönitz <poenitz@gmx.net>
5700 * lyxtext.h: make some functions public to allow access
5701 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5703 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5705 * text3.C (dispatch): when changing layout, avoid an infinite loop
5708 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5710 * lyxrc.C (read): treat a viewer or converter command of "none" as
5713 * MenuBackend.C (expandFormats): for an update, also allow the
5714 formats that are not viewable
5716 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5717 script if it is newer than the lyxrc.defaults in user directory
5719 2002-10-07 André Pönitz <poenitz@gmx.net>
5721 * text.C: Vitaly Lipatov's small i18n fix
5723 2002-09-25 Angus Leeming <leeming@lyx.org>
5725 * ispell.h: doxygen fix.
5727 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5729 * buffer.h (readFile): Add a new argument to the method, to allow
5730 reading of old-format templates.
5732 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5734 * toc.C (getTocList): Get TOC from InsetWrap.
5736 2002-09-16 John Levon <levon@movementarian.org>
5738 * lyxfunc.C: check tabular for cut/copy too
5740 2002-09-12 John Levon <levon@movementarian.org>
5745 * factory.C: add header
5747 * paragraph_funcs.h:
5748 * paragraph_funcs.C: cleanup
5750 2002-09-11 John Levon <levon@movementarian.org>
5752 * PrinterParams.h: odd/even default to true
5754 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5756 * PrinterParams.h: update printer parameters for new xforms dialog
5758 2002-09-11 Angus Leeming <leeming@lyx.org>
5760 * lyxserver.C (read_ready): re-write to make it more transparent
5761 and to make it work in coherent fashion under Tru64 Unix.
5763 2002-09-11 André Pönitz <poenitz@gmx.net>
5767 * text3.C: implement LFUN_WORDSEL
5769 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5771 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5772 make floatlist_ a boost::shared_ptr<FloatList>
5774 * lyxtextclass.C: include FloatList.h
5775 (LyXTextClass): initialize floatlist_
5776 (TextClassTags): add TC_NOFLOAT
5777 (Read): match "nofloat" to TC_NOFLOAT and use it.
5778 (readFloat): modify call to floatlist_
5782 * FloatList.[Ch] (FloatList): remove commented out float
5784 (erase): new function
5786 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5788 * MenuBackend.C (expandToc): fix crash when there is no document
5791 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5793 * many files: Add insetwrap.
5795 2002-09-09 John Levon <levon@movementarian.org>
5797 * text2.C: remove confusing and awkward depth wraparound
5799 2002-09-09 John Levon <levon@movementarian.org>
5801 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5804 * buffer.C: remove getIncludeonlyList()
5807 * lyxfunc.C: remove headers
5809 2002-09-09 Juergen Vigna <jug@sad.it>
5811 * text.C (getColumnNearX): fix form Michael this is most
5812 probably a cut&paste bug.
5814 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5816 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5818 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5819 references, ws changes.
5821 * text2.C (init): update counters after init
5822 (insertParagraph): no need to set counter on idividual paragraphs.
5823 (setCounter): access the counters object in the textclass object
5824 on in the buffer object.
5825 (updateCounters): ditto
5827 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5828 shared_ptr<Counters> to avoid loading counters.h in all
5830 (LyXTextClass): initialize ctrs_
5831 (TextClassTags): add TC_COUNTER, and ...
5832 (Read): use it here.
5833 (CounterTags): new tags
5834 (readCounter): new function
5835 (counters): new funtion
5836 (defaultLayoutName): return a const reference
5838 * counters.C (Counters): remove contructor
5839 (newCounter): remove a couple of unneeded statements.
5840 (newCounter): simplify a bit.
5841 (numberLabel): some small formatting changes.
5843 * buffer.[Ch]: remove all traces of counters, move the Counters
5844 object to the LyXTextClass.
5846 2002-09-06 Alain Castera <castera@in2p3.fr>
5848 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5849 package to set the horizontal alignment on fixed width columns.
5852 * lyx_sty.h: added tabularnewline macro def.
5854 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5856 2002-09-06 John Levon <levon@movementarian.org>
5858 * LyXAction.C: tooltips for sub/superscript
5860 * MenuBackend.C: a bit more verbose
5862 * lyxfunc.C: tiny clean
5864 * undo_funcs.C: document undo_frozen
5866 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * counters.C (Counters): add missing algorithm counter.
5870 * text2.C (setCounter): lookup the counter with layouts latexname
5871 instead of by section number.
5872 (setCounter): use a hackish way to lookup the correct enum
5874 a float name->type change
5875 reset enum couners with counter name directly instead of depth value.
5877 * counters.C (Counters): remove the push_backs, change to use the
5878 float type not the float name.
5879 (labelItem): remove unused string, float name->type change
5881 * counters.h: don't include vector, loose the enums and sects vectors
5883 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5885 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5886 (Read): add float->TC_FLOAT to textclassTags
5887 (Read): and handle it in the switch
5888 (readFloat): new function
5890 * FloatList.C (FloatList): comment out the hardcoded float
5893 * lyxlayout.h: ws change.
5895 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5897 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5899 2002-09-03 Angus Leeming <leeming@lyx.org>
5901 * BufferView_pimpl.h: qualified name is not allowed in member
5902 declaration: WorkArea & Pimpl::workarea() const;
5904 * factory.C: added using std::endl directive.
5906 * text3.C: added using std::find and std::vector directives.
5908 2002-08-29 André Pönitz <poenitz@gmx.net>
5911 * text2.C: remove unused member number_of_rows
5914 * BufferView2.C: remove file, move contents to...
5915 * BufferView.C: ... here
5917 * BufferView_pimpl.C:
5918 * factory.C: move more inset creation to factory
5920 * vspace.C: avoid direct usage of LyXText, ws changes
5923 don't provide direct access to WorkArea, use two simple
5924 acessors haveSelction() and workHeight() instead
5927 2002-08-29 John Levon <levon@movementarian.org>
5929 * BufferView_pimpl.C (dispatch): do not continue when
5932 2002-08-28 André Pönitz <poenitz@gmx.net>
5934 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5937 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5939 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5941 * buffer.C: increment LYX_FORMAT to 221
5943 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5944 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5946 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5948 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5950 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5952 * factory.C (createInset): use LyXTextClass::floats
5954 * MenuBackend.C (expandFloatListInsert):
5955 (expandFloatInsert):
5958 * text2.C (setCounter):
5960 * LaTeXFeatures.C (useFloat):
5961 (getFloatDefinitions):
5963 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5965 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5966 floatlist_, with accessor floats().
5968 * FloatList.h: remove global FloatList
5970 2002-08-26 André Pönitz <poenitz@gmx.net>
5972 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5976 * BufferView_pimpl.C:
5977 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5979 2002-08-25 John Levon <levon@movementarian.org>
5981 * LyXAction.C: fix margin note description
5983 2002-08-24 John Levon <levon@movementarian.org>
5987 * bufferview_funcs.C:
5989 * undo_funcs.C: cleanups
5991 * lyxfunc.C: disable CUT/COPY when no selection
5993 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5995 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5996 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5998 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5999 Add backward compatibility to "mono", "gray" and "no".
6001 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6003 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6004 (and file_format >= 200).
6006 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6008 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6010 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6012 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6014 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6016 * BufferView_pimpl.C:
6023 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6024 inset and code to make it work with the paragraph code. The inset
6025 can be anywhere in the paragraph, but will only do the expected
6026 thing in LaTeX if the layout file contains the parameter line
6028 (or more generally, a nonzero value) for that layout.
6030 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * paragraph.h: remove the declaration of undefined counters class
6035 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6037 * text2.C (setCounter): fixed enumeration mis-count as reported by
6038 Dr. Richard Hawkins.
6040 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6042 * paragraph_funcs.h: remove some unneeded includes
6044 * text.C (backspace): pasteParagraph now in global scipe
6046 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6047 (pasteSelection): ditto
6049 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6050 * paragraph_funcs.C (pasteParagraph): ... here
6052 2002-08-20 André Pönitz <poenitz@gmx.net>
6054 * commandtags.h: new LFUNs for swapping/copying table row/colums
6057 * lyxfunc.C: support for new lfuns
6059 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * buffer.[Ch]: remove NO_COMPABILITY stuff
6064 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * boost.C (throw_exception): new file, with helper function for
6067 boost compiled without exceptions.
6072 * ParameterStruct.h:
6073 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6075 * bufferlist.C (emergencyWriteAll): use boost bind
6077 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6079 * text.C: include paragraph_funcs.h
6080 (breakParagraph): breakParagraph is now in global scope
6082 * paragraph_funcs.[Ch]: new files
6084 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6087 * buffer.C: include paragraph_funcs.h
6088 (insertStringAsLines): breakParagraph is now in global scope
6090 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6093 * CutAndPaste.C: include paragraph_funcs.h
6094 (cutSelection): breakParagraphConservative is now in global scope
6095 (pasteSelection): ditto
6097 * buffer.h: declare oprator== and operator!= for
6098 Buffer::inset_iterator
6100 * bufferlist.C (emergencyWrite): don't use fmt(...)
6102 * text3.C: add using std::endl
6104 * BufferView.C (moveCursorUpdate): remove default arg
6106 2002-08-20 André Pönitz <poenitz@gmx.net>
6108 * buffer.[Ch]: move inline functions to .C
6111 * BufferView_pimpl.C:
6113 * buffer.[Ch]: use improved inset_iterator
6116 * paragraph.[Ch]: write one paragraph at a time
6118 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6120 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6121 style if style is not specified.
6123 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6125 * text2.C (setCounter): when searching for right label for a
6126 caption, make sure to recurse to parent insets (so that a caption
6127 in a minipage in a figure float works) (bug #568)
6129 2002-08-20 André Pönitz <poenitz@gmx.net>
6131 * text3.C: new file for LyXText::dispatch() and helpers
6133 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6135 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6137 2002-08-19 André Pönitz <poenitz@gmx.net>
6140 * text.C: new LyXText::dispatch()
6142 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6144 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6146 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6148 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6151 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6153 * Makefile.am: use $(variables) instead of @substitutions@
6155 2002-08-15 André Pönitz <poenitz@gmx.net>
6158 * BufferView_pimpl.C: streamlining mathed <-> outer world
6162 * LyXAction.C: remove unused LFUN_MATH
6164 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6168 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6170 * paragraph.C (Paragraph): reformat a bit
6171 (cutIntoMinibuffer): use builtin InsetList function instad of
6175 * buffer.C: include boost/bind.hpp, add using std::for_each
6176 (writeFileAscii): use ParagraphList iterators
6177 (validate): use for_each for validate traversal of paragraphs
6178 (getBibkeyList): use ParagraphList iterators
6179 (resizeInsets): use for_each to resizeInsetsLyXText for all
6181 (getParFromID): use ParagraphList iterators
6183 * BufferView2.C (lockInset): use paragraph list and iterators
6185 2002-08-14 John Levon <levon@movementarian.org>
6187 * lyxserver.C: remove spurious xforms include
6189 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6193 2002-08-13 André Pönitz <poenitz@gmx.net>
6196 * lyxfunc.C: further cleaning
6198 2002-08-13 André Pönitz <poenitz@gmx.net>
6200 * funcrequest.h: new constructor
6202 * funcrequest.C: move stuff here from .h
6205 * BufferView_pimpl.C:
6208 * lyxfunc.C: subsequent changes
6210 * lyxfunc.h: new view() member function
6212 * lyxfunc.C: subsequent changes
6214 2002-08-13 Angus Leeming <leeming@lyx.org>
6217 * BufferView_pimpl.C:
6225 changes due to the changed LyXView interface that now returns references
6226 to member variables not pointers.
6228 2002-08-13 Angus Leeming <leeming@lyx.org>
6230 * WordLangTuple (word, lang_code): return references to strings,
6235 * lyxtext.h: forward-declare WordLangTuple.
6240 * text.C: #include "WordLangTuple.h".
6243 * text.C: (selectNextWordToSpellcheck): constify return type.
6245 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6251 * paragraph_pimpl.h:
6254 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6256 Made updateCounter always count from start of buffer, and removed
6257 second argument (par).
6258 Reverted floats number display to '#'. Perhaps I'll try again when the
6259 code base is sanitized a bit.
6261 2002-08-12 Angus Leeming <leeming@lyx.org>
6263 * buffer.[Ch] (getLabelList): constify.
6265 2002-08-07 André Pönitz <poenitz@gmx.net>
6267 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6269 * funcrequest.h: extension to keep mouse (x,y) position
6271 2002-08-12 Juergen Vigna <jug@sad.it>
6273 * BufferView2.C (insertErrors): forbid undo when inserting error
6276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6278 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * ParagraphList.[Ch]: new files
6282 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6284 * BufferView2.C (lockInset): ParagraphList changes
6287 * bufferlist.C: ditto
6291 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6294 unused class variable counter_,
6296 * paragraph.[Ch] (getFirstCounter): delete unused function
6298 * counters.C: include LAssert.h
6299 (reset): add a new function with no arg, change other version to
6300 not have def. arg and to not allow empty arg.
6302 * text2.C (setCounter): remove empty arg from call to Counters::reset
6304 2002-08-11 John Levon <levon@movementarian.org>
6306 * Makefile.am: add WordLangTuple.h
6308 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6311 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6313 * insets/insettext.C: InsetList changes
6315 * graphics/GraphicsSupport.C (operator()): InsetList changes
6317 * toc.C (getTocList): InsetList changes
6319 * paragraph_pimpl.[Ch]: InsetList changes
6321 * paragraph.[Ch]: InsetList changes
6323 * buffer.C (inset_iterator): InsetList changes
6324 (setParagraph): ditto
6325 * buffer.h (inset_iterator): ditto
6326 * iterators.C (operator++): ditto
6327 * iterators.h: ditto
6329 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6331 * InsetList.[Ch]: new files, most InsetList handling moved out of
6334 * BufferView2.C (removeAutoInsets): InsetList changes
6336 (ChangeInsets): ditto
6338 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6340 * paragraph_pimpl.h (empty): new function
6342 * paragraph.[Ch] (empty): new function
6344 * other files: use the new Paragraph::empty function
6346 2002-08-09 John Levon <levon@movementarian.org>
6348 * lyxtext.h: remove unused refresh_height
6350 2002-08-09 John Levon <levon@movementarian.org>
6357 * paragraph.C: move sgml char escaping out of paragraph
6360 * paragraph.C: remove id setter
6364 * paragraph_pimpl.C: remove dead tex_code_break_column
6366 * bufferview_funcs.C: small cleanup
6368 * lyxfunc.C: remove dead proto
6370 * lyxtext.h: make some stuff private. Remove some dead stuff.
6372 * lyxgluelength.C: make as[LyX]String() readable
6374 2002-08-08 John Levon <levon@movementarian.org>
6379 * ToolbarDefaults.C:
6382 * toc.C: lyxaction cleanup
6384 2002-08-08 John Levon <levon@movementarian.org>
6386 * BufferView2.C: small cleanup
6389 * lyxfind.C: move unnecessary header into the .C
6391 2002-08-08 John Levon <levon@movementarian.org>
6393 * funcrequest.h: just tedious nonsense
6396 * lyx_main.C: cleanups
6399 * vspace.C: remove dead header lyx_main.h
6401 2002-08-07 Angus Leeming <leeming@lyx.org>
6404 * paragraph_pimpl.h:
6405 Forward declare class Counters in paragraph.h by moving the ctrs member
6406 variable into Paragraph::Pimpl.
6407 (counters): new method, returning a reference to pimpl_->ctrs.
6409 * text2.C: ensuing changes.
6411 2002-08-07 John Levon <levon@movementarian.org>
6413 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6415 * BufferView_pimpl.C: announce X selection on double/triple
6418 * lyx_main.C: use correct bool in batch dispatch
6420 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6422 2002-08-07 André Pönitz <poenitz@gmx.net>
6424 * funcrequest.h: new class to wrap a kb_action and its argument
6427 * BufferView_pimpl[Ch]:
6431 * lyxrc.C: subsequent changes
6434 2002-08-07 John Levon <levon@movementarian.org>
6436 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6437 document options change.
6439 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6444 * makefile.am: move counters functionality over from
6445 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6447 2002-08-06 John Levon <levon@movementarian.org>
6449 * WordLangTuple.h: new file for word + language code tuple
6460 * BufferView2.C: use WordLangTuple
6463 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6465 2002-08-06 John Levon <levon@movementarian.org>
6467 * lyx_main.C: fix cmdline batch handling
6469 2002-08-06 André Pönitz <poenitz@gmx.net>
6471 * lyxrc.C: set default for show_banner to true
6473 2002-08-06 John Levon <levon@movementarian.org>
6475 * pspell.C: fix a crash, and allow new aspell to work
6477 2002-08-06 John Levon <levon@movementarian.org>
6480 * kbmap.C: small cleanup
6483 * vspace.C: add const
6485 2002-08-05 John Levon <levon@movementarian.org>
6487 * LyXAction.C: back to tabular-insert
6489 2002-08-04 John Levon <levon@movementarian.org>
6492 * BufferView.C: cosmetic change
6494 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6504 * BufferView2.C: purge all "Lyx" not "LyX" strings
6507 * lyxcursor.C: attempt to add some documentation
6512 * ToolbarDefaults.C:
6513 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6514 merge with LFUN_TABULAR_INSERT
6521 * pspell.C: split up i/pspell implementations into separate
6522 files, many cleanups
6524 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6526 * text2.C: some cleanup
6528 * lyxfunc.C: don't check for isp_command == "none" any more, it
6529 didn't make any sense
6531 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6536 * makefile.am: move counters functionality over
6537 from text2.C/paragraph.[Ch] to counters.[Ch], and
6539 2002-08-02 John Levon <levon@movementarian.org>
6541 * buffer.C: s/lyxconvert/lyx2lyx/
6543 2002-08-02 Angus Leeming <leeming@lyx.org>
6545 * lyxlex.C: revert John's change as it breaks reading of the user
6548 2002-08-02 Angus Leeming <leeming@lyx.org>
6550 * importer.C (Import):
6551 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6552 changes due to LyXView::view() now returning a boost::shared_ptr.
6554 2002-08-02 John Levon <levon@movementarian.org>
6556 * lyxlex.C: small cleanup
6558 2002-08-02 John Levon <levon@movementarian.org>
6560 * text2.C (status): small cleanup, no logic change
6562 2002-08-01 John Levon <levon@movementarian.org>
6565 * buffer.C (writeFile): don't output alerts, caller
6569 * lyx_cb.C: from above
6571 * lyxfunc.C: allow to open non-existent files
6573 2002-07-31 John Levon <levon@movementarian.org>
6575 * lyxserver.C: don't let incidental errors get
6578 2002-07-30 John Levon <levon@movementarian.org>
6580 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6582 2002-07-30 John Levon <levon@movementarian.org>
6585 * lyxserver.C: remove I/O callback too
6587 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6589 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6592 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * many files: strip,frontStrip -> trim,ltrim,rtrim
6596 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * PrinterParams.h: remove extern containsOnly, and include
6599 support/lstrings.h instead.
6601 * LaTeX.C (scanAuxFile): modify because of strip changes
6603 * buffer.C (makeLaTeXFile): ditto
6604 * bufferparams.C (writeFile): ditt
6605 * lyxfont.C (stateText): ditto
6606 * lyxserver.C (read_ready): ditto
6607 * vc-backend.C (scanMaster): ditto
6609 * BufferView_pimpl.h: ws changes
6611 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6613 2002-07-26 André Pönitz <poenitz@gmx.net>
6615 * kb_sequence.C: remove unnedred usings
6617 2002-07-26 Juergen Vigna <jug@sad.it>
6619 * lyxfind.C (LyXReplace): we have to check better if the returned
6620 text is not of theLockingInset()->getLockingInset().
6622 2002-07-25 Juergen Vigna <jug@sad.it>
6624 * lyxfind.C (LyXReplace): don't replace if we don't get the
6627 * undo_funcs.C (createUndo): remove debugging code.
6629 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6631 * buffer.C (parseSingleLyXformat2Token): Use default placement
6632 when reading old floats.
6634 * FloatList.C (FloatList): Change the default placement of figure
6635 and tables to "tbp".
6637 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6639 * MenuBackend.C: using std::max
6641 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6643 * MenuBackend.C (expandToc):
6644 (expandToc2): code moved from xforms menu frontend. It is now
6645 generic and TOCs are transparent to menu frontends.
6647 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6649 * toc.C (getTocList): protect against buf=0
6651 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6652 Menu as first parameter. Now, this calls itself recursively to
6653 expand a whole tree (this will be useful for TOC handling)
6654 (expandFloatInsert): remove 'wide' version of floats
6656 * MenuBackend.h (submenuname): returns the name of the submenu.
6657 (submenu): returns the submenu itself, provided it has been
6658 created by MenuBackend::expand
6660 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6662 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6663 insets which have noFontChange == true. (bug #172)
6665 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6667 * BufferView_pimpl.C: add connection objects and use them...
6670 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6672 * MenuBackend.C (expandLastfiles):
6675 (expandFloatListInsert):
6676 (expandFloatInsert):
6677 (expand): split expand in parts
6679 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6681 * lyx_gui.C: use lyx_gui::exit()
6683 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6685 * LyXAction.C: show the failing pseudo action
6687 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6689 * buffer.C (readFile): Run the lyxconvert script in order to read
6692 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6696 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6698 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6702 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6704 2002-07-22 Herbert Voss <voss@lyx.org>
6707 * lyxlength.[Ch]: add support for the vertical lengths
6709 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6711 * toc.[Ch]: std:: fixes
6713 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6715 * lyxrc.C: do not include lyx_main.h
6717 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6723 * BufferView2.C: include "lyxlex.h"
6726 * bufferparams.h: do not #include "lyxlex.h"
6728 * lyxtextclasslist.C (Add): remove method
6729 (classlist): renamed to classlist_
6731 * paragraph_pimpl.C:
6735 * bufferview_funcs.C:
6740 * toc.C (getTocList): use BufferParams::getLyXTextClass
6742 * toc.C (getTocList): use InsetFloat::addToToc
6744 * toc.[Ch]: new files, containing helper functions to handle table
6747 * lyxfunc.C (dispatch): no need to remove spaces around command
6749 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6750 first command of the sequence; it is not very clever, but I do not
6751 have a better idea, actually
6753 * LyXAction.C (LookupFunc): make sure to remove space at the
6754 beginning and end of the command
6756 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6758 * MenuBackend.C (getMenubar): new method: return the menubar of
6760 (read): treat differently reading of menu and menubar (in
6761 particular, the menubar has no name now)
6762 (Menu::menubar): remove
6764 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6767 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6769 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6770 a bibitem inset in a RTL paragraph.
6772 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6774 * paragraph_pimpl.C: constify
6776 * BufferView_pimpl.C:
6778 * lyxfunc.C: fix dispatch in a nicer way
6780 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6782 * lyxfunc.C (dispatch):
6783 * BufferView_pimpl.C:
6784 * BufferView_pimpl.h:
6786 * BufferView.h: rename Dispatch() to dispatch()
6788 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6790 * lyxlayout.C (Read): honor DependsOn tag
6792 * lyxlayout.[Ch] (depends_on): new method
6794 * version.C.in: update lyx_docversion
6796 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6798 * paragraph.C (validate): remove from here...
6799 * paragraph_pimpl.C (validate): ... and move here
6800 (isTextAt): make it const
6802 * buffer.C (getLists): ws cleanup
6804 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6806 * language.C (read): Use iso8859-1 encoding in latex_lang
6807 (this prevents LyX from crashing when using iso10646-1 encoding).
6809 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6811 * text2.C (toggleInset): if cursor is inside an inset, close the
6812 inset and leave cursor _after_ it
6814 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6816 * lyxfunc.C: move minibuffer completion handling out of here
6818 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6820 * BufferView_pimpl.C:
6821 * LaTeX.C: fix dispatch calls
6823 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6825 * text.C (drawChars): Fix Arabic text rendering.
6827 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6831 * lyxfunc.C: remove message-push/pop
6835 * lyxfunc.C: rationalise some code by removing verboseDispatch
6836 in favour of a bool argument to dispatch()
6838 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6840 * lyx_main.C (init): make sure to read symlinks as absolute paths
6842 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6845 * lyxfunc.C: no need for commandshortcut to be a member
6847 2002-07-15 André Pönitz <poenitz@gmx.net>
6849 * converter.C: add support for $$s (scripts from lib/scripts dir)
6850 * lyx_main.C: white space
6852 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6856 * lyxrc.C: remove second exit confirmation
6858 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6863 * BufferView_pimpl.h:
6864 * BufferView_pimpl.C:
6865 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6867 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6869 * MenuBackend.C (expand): add numeric shortcuts to document menu
6871 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6873 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6875 * lyxfont.C (setLyXFamily):
6882 * buffer.C (asciiParagraph): use ascii_lowercase
6884 2002-07-15 Mike Fabian <mfabian@suse.de>
6886 * lyxlex_pimpl.C (search_kw):
6887 * lyxlex.C (getLongString):
6888 * converter.h (operator<):
6889 * converter.C (operator<):
6890 * buffer.C (parseSingleLyXformat2Token):
6892 * ToolbarDefaults.C (read):
6893 * MenuBackend.C (checkShortcuts):
6895 * LColor.C (getFromGUIName):
6896 (getFromLyXName): use the compare_ascii_no_case instead of
6897 compare_no_case, because in turkish, 'i' is not the lowercase
6898 version of 'I', and thus turkish locale breaks parsing of tags.
6900 2002-07-16 Angus Leeming <leeming@lyx.org>
6902 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6903 now takes a Buffer const & argument.
6905 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6907 * BufferView.C (resize): check there's a buffer to resize
6909 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6911 * lyxfunc.C: remove dead code
6914 * lyxserver.C: use lyx_guii::set_read_callback
6916 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6918 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6919 an inset in a RTL paragraph.
6921 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6923 * lyxfunc.C: repaint after a font size update
6925 2002-07-15 André Pönitz <poenitz@gmx.net>
6927 * lyxlength.C: inBP should be able to return negative values
6929 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6931 * lyxfunc.C: use lyx_gui::update_fonts()
6933 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6935 * lyxfunc.C: use lyx_gui::update_color()
6937 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6943 * lyxrc.C: remove file->new asks for name option, and let
6944 buffer-new take an argument
6946 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6948 * BufferView_pimpl.C: remove unneeded extra repaint()
6950 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6952 * LyXAction.C: allow command-sequence with NoBuffer
6954 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6956 2002-07-10 Angus Leeming <leeming@lyx.org>
6958 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6960 2002-07-09 Angus Leeming <leeming@lyx.org>
6962 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6964 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6966 * lengthcommon.h: whitespace
6968 * lyxfunc.C: update scrollbar after goto paragraph
6970 * lyxtext.h: factor out page break drawing, and fix it so
6971 page break/added space paints as selected nicely
6973 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6975 * BufferView_pimpl.C: add FIXMEs, clean up a little
6977 2002-07-09 André Pönitz <poenitz@gmx.net>
6979 * lyxfont.[Ch]: support for wasy symbols
6981 2002-07-08 André Pönitz <poenitz@gmx.net>
6983 * BufferView_pimpl.C: apply John's patch for #93.
6985 2002-07-05 Angus Leeming <leeming@lyx.org>
6987 * BufferView_pimpl.C (buffer): generate previews if desired.
6989 * LColor.h: add "preview" to the color enum.
6991 * LColor.C (LColor): add a corresponding entry to the items array.
6993 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6996 2002-07-05 Angus Leeming <leeming@lyx.org>
6998 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6999 The body of the code is now in the method that is passed an ostream &
7000 rather than a file name.
7001 Pass an additional only_preamble parameter, useful for the forthcoming
7004 2002-07-03 André Pönitz <poenitz@gmx.net>
7006 * lyxfunc.C: simplify getStatus() a bit for math stuff
7008 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7010 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7012 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7014 * text.C (changeRegionCase): do not change case of all the
7015 document when region ends at paragraph end (bug #461)
7017 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7019 * paragraph.C (startTeXParParams):
7020 (endTeXParParams): add \protect when necessary
7022 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7024 * BufferView_pimpl.C (workAreaExpose): remove warning
7026 2002-06-27 Angus Leeming <leeming@lyx.org>
7028 * Makefile.am: add lyxlayout_ptr_fwd.h.
7030 2002-06-26 André Pönitz <poenitz@gmx.net>
7032 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7034 2002-06-25 Angus Leeming <leeming@lyx.org>
7036 * lyxfunc.C (dispatch): Comment out the call to
7037 grfx::GCache::changeDisplay. The method no longer exists now that the
7038 pixmap generation part of the graphics loader has been moved into
7041 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7043 * text2.C: layout as layout
7045 * text.C: layout as layout
7047 * tabular.C (OldFormatRead): layout as layout
7049 * paragraph_pimpl.C (TeXDeeper): layout as layout
7050 (realizeFont): layout as layout
7052 * paragraph.C (writeFile): layout as layout
7053 (validate): layout as layout
7054 (getFont): layout as layout
7055 (getLabelFont): layout as layout
7056 (getLayoutFont): layout as layout
7057 (breakParagraph): layout as layout
7058 (stripLeadingSpaces): layout as layout
7059 (getEndLabel): layout as layout
7060 (getMaxDepthAfter): layout as layout
7061 (applyLayout): layout as layout
7062 (TeXOnePar): layout as layout
7063 (simpleTeXOnePar): layout as layout
7064 (TeXEnvironment): layout as layout
7065 (layout): layout as layout
7066 (layout): layout as layout
7068 * lyxtextclass.C (compare_name): new functor to work with
7069 shared_ptr, layout as layout
7070 (Read): layout as layout
7071 (hasLayout): layout as layout
7072 (operator): layout as layout
7073 (delete_layout): layout as layout
7074 (defaultLayout): layout as layout
7076 * lyxlayout_ptr_fwd.h: new file
7078 * lyxlayout.C (Read): layout as layout
7080 * lyx_cb.C (MenuInsertLabel): layout as layout
7082 * bufferlist.C (newFile): layout as layout
7084 * buffer.C (readLyXformat2): layout as layout
7085 (parseSingleLyXformat2Token): layout as layout
7086 (insertStringAsLines): layout as layout
7087 (asciiParagraph): layout as layout
7088 (latexParagraphs): layout as layout
7089 (makeLinuxDocFile): layout as layout
7090 (simpleLinuxDocOnePar): layout as layout
7091 (makeDocBookFile): layout as layout
7092 (simpleDocBookOnePar): layout as layout
7093 (getLists): layout as layout
7095 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7097 * CutAndPaste.C (cutSelection): layout as layout
7098 (pasteSelection): layout as layout
7099 (SwitchLayoutsBetweenClasses): layout as layout
7101 * BufferView_pimpl.C (Dispatch): layout as layout
7102 (smartQuote): layout as layout
7104 * BufferView2.C (unlockInset): layout as layout
7106 2002-06-24 André Pönitz <poenitz@gmx.net>
7108 * lyxfunc.C: fix #487
7110 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7114 * lyxfunc.C: remove display_shortcuts, show_banner
7116 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7118 * Buffer_pimpl.C: oops, update on resize
7120 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7127 * BufferView.C: use repaint()
7129 * BufferView_pimpl.h:
7130 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7131 as it's a clearer description. Remove superfluous
7134 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7136 * text.C: fix bug 488. Not ideal, but getting
7137 getWord() to work properly for the insets that
7138 matter is more difficult ...
7140 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7142 * BufferView_pimpl.C:
7145 * lyxfunc.C: remove the six million index lyxfuncs to just
7146 one, and DTRT (bug 458)
7148 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7152 * BufferView_pimpl.h:
7153 * BufferView_pimpl.C: clean up resize() stuff,
7154 and unnecessary updateScreen()s
7156 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7160 * BufferView_pimpl.h:
7161 * BufferView_pimpl.C:
7164 * minibuffer.C: remove focus management of workarea,
7165 not needed. Use screen's greyOut()
7167 2002-06-17 Herbert Voss <voss@lyx.org>
7169 * converter.C: (convert) do not post a message, when converting
7170 fails, let the calling function decide what to do in this case
7172 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7174 * lyxfunc.C: tidy up a little
7176 2002-06-16 <alstrup@diku.dk>
7178 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7179 Got rid of FORMS_H_LOCATION include. Now we are
7182 2002-06-15 LyX Development team <lyx@rilke>
7184 * buffer.[Ch] (sgmlOpenTag):
7185 (sgmlCloseTag): Added support for avoiding pernicious mixed
7186 content. Return number of lines written.
7189 (makeDocBookFile): Fixed calls to sgml*Tag.
7190 Simple white space clean.
7192 (simpleDocBookOnePar): Simple white space clean.
7194 * tabular.[Ch] (docBook): Renamed to docbook and got another
7195 argument to related with the pernicious mixed content.
7197 (docbookRow): Fixed calls for docbook inset method.
7199 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7201 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7202 so it's X11 independent.
7206 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7208 2002-06-15 Lyx Development team <lyx@electronia>
7210 * intl.h: Renamed getTrans to getTransManager.
7212 2002-06-14 Angus Leeming <leeming@lyx.org>
7214 * Makefile.am: nuke forgotten stl_string_fwd.h.
7216 2002-06-12 Angus Leeming <leeming@lyx.org>
7218 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7220 2002-06-13 Angus Leeming <leeming@lyx.org>
7223 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7225 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7227 * kbmap.C (getiso): add support for cyrillic and greek
7229 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7233 * BufferView_pimpl.h:
7234 * BufferView_pimpl.C: move bogus scrolling logic
7237 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7240 * BufferView_pimpl.C: view->resize() change
7242 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7244 * BufferView_pimpl.C: topCursorVisible
7247 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7251 * lyx_gui.C: move to frontends/
7255 * lyx_main.C: changes from above
7257 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7264 * lyx_main.C: minor tidy
7266 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7268 * BufferView_pimpl.h:
7269 * BufferView_pimpl.C:
7271 * BufferView.C: make painter() const,
7274 * BufferView2.C: use screen() accessor
7277 * lyx_main.C: some minor cleanup
7279 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7281 * BufferView_pimpl.h:
7282 * BufferView_pimpl.C: remove enter/leaveView,
7285 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7290 * BufferView_pimpl.h:
7291 * BufferView_pimpl.C: only construct screen once,
7294 * lyxrc.C: remove pointless comment
7296 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7299 * BufferView.C: remove active() and belowMouse()
7301 * BufferView_pimpl.h:
7302 * BufferView_pimpl.C: use workarea() not workarea_,
7303 and make it use a scoped_ptr instead
7305 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7307 * lyx_gui.C: add debug message on BadWindow
7309 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7311 * sp_spell.C: fdopen is not part of the C++ standard.
7313 * paragraph.C (InsetIterator): use >= instead of ==
7315 2002-06-07 Angus Leeming <leeming@lyx.org>
7317 Fixes needed to compile with Compaq cxx 6.5.
7318 * BufferView_pimpl.C:
7325 * lyxtextclasslist.C:
7330 all c-library variables have been moved into namespace std. Wrap
7331 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7336 Add a using std::abs declaration.
7338 * kbmap.h (modifier_pair):
7339 * paragraph.h (InsetTable, InsetList):
7340 * lyxfont.h (FontBits):
7341 type definition made public.
7343 * bufferlist.C (emergencyWriteAll): the compiler complains that
7344 there is more than one possible lyx::class_fun template to choose from.
7345 I re-named the void specialisation as lyx::void_class_fun.
7347 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7349 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7350 the compiler is is unable to find tostr in write_attribute.
7352 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7354 * buffer.C (sgmlError): hide #warning
7356 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7358 * xtl/*: get rid of xtl, which is not in use anyway
7360 * LyXAction.C (init):
7361 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7362 were unimplemented xtl experimentation
7364 2002-06-04 André Pönitz <poenitz@gmx.net>
7366 * lyxfunc.C: disable array operation on simple formulae
7368 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7370 * converter.C: constify a bit
7372 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7374 * lyx_gui.C: check xforms version correctly
7376 2002-04-30 Herbert Voss <voss@lyx.org>
7378 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7381 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7383 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7384 attempt to register it with a VCS)
7386 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7388 * lyx_main.C (init): honor variables LYX_DIR_13x and
7391 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7395 * lyx_main.C: fix a crash on bad command line,
7396 and give a useful exit status on error
7398 * lyxfunc.C (doImport): allow -i lyx to work
7400 2002-03-30 André Pönitz <poenitz@gmx.net>
7402 * lyxfunc.C: mathed font changes
7404 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7419 * trans_mgr.h: srcdocs, and some minor cleanups
7421 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7423 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7424 call getFont all the time)
7426 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7428 * switch from SigC signals to boost::signals
7430 2002-05-29 André Pönitz <poenitz@gmx.net>
7432 * paragraph_pimpl.C (getChar): don't call size() too often...
7434 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7436 * paragraph_pimpl.C (insertChar): do not try to update tables when
7437 appending (pos == size())
7439 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7440 in order to reduce drastically the number of comparisons needed to
7441 parse a large document
7443 2002-05-29 André Pönitz <poenitz@gmx.net>
7449 * textclasslist.[Ch]:
7450 * sp_ispell.h: whitespace change
7452 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7454 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7455 lyxaction directly now.
7457 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7461 * lyxvc.C: remove unused headers
7463 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7470 * undo_funcs.C: some cleanups. Use shared_ptr
7471 and a template for the undo stacks.
7473 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7475 * BufferView_pimpl.h:
7476 * BufferView_pimpl.C:
7483 * text2.C: use key_state/mouse_state
7485 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7487 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7490 * chset.C: change include order
7491 (loadFile): use boost regex and get rid of LRegex and LSubstring
7493 * Makefile.am (BOOST_LIBS): new variable
7496 * LaTeX.C: change include order.
7497 (scanAuxFile): use boost regex and get rid of LRegex and
7501 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7506 * FontInfo.C: moved to frontends/xforms/
7509 * FontLoader.C: moved into frontends for GUIIzation
7514 * lyxfunc.C: changes from above
7516 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7518 * LColor.C: remove spurious X include
7520 * BufferView_pimpl.C:
7525 * text2.C: move font metrics to frontends/
7527 2002-05-24 Juergen Vigna <jug@sad.it>
7529 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7530 setting the undo_cursor.
7532 * ParagraphParameters.h: include local includes first.
7534 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7536 * BufferView_pimpl.C:
7537 * BufferView_pimpl.h:
7541 * screen.C: move WorkArea into frontends/
7547 * BufferView2.C: move LyXScreen into frontends/
7551 * lyx_gui.C: move lyxlookup into frontends/xforms/
7553 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7556 * BufferView_pimpl.C:
7566 * bufferview_funcs.C:
7579 * vc-backend.C: move LyX/XFormsView into frontends/
7581 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7593 * text2.C: move Painter to frontends/
7595 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7597 * buffer.C: comment out some some code that depend upon lyx_format
7600 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7601 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7603 * buffer.h (NO_COMPABILITY): turn off compability
7605 * ColorHandler.C: include scoped_array.hpp
7607 * font.C: Use more specific smart_ptr header.
7610 * ShareContainer.h: ditto
7614 * BufferView_pimpl.h: ditto
7615 * ColorHandler.h: ditto
7617 * kbmap.C (defkey): change call to shared_ptr::reset
7619 2002-05-21 Juergen Vigna <jug@sad.it>
7621 * buffer.C (insertErtContents): fix to insert ert asis if it is
7622 non empty. Skip it completely if it contains only whitespaces.
7624 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7626 * BufferView_pimpl.C:
7627 * BufferView2.C: clear selection on paste (bug 393)
7629 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7631 * DepTable.C: include ctime
7633 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7635 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7637 2002-05-14 Juergen Vigna <jug@sad.it>
7639 * text.C (breakParagraph): fixed function to honor the keepempty
7640 layout in the right maner and also to permit the right breaking
7641 algorithm on empty or non empyt keepempty paragraphs.
7643 * paragraph.C (breakParagraph): we have to check also if the par
7644 is really empty (!size()) for isempty otherwise we do the wrong
7647 2002-05-10 Juergen Vigna <jug@sad.it>
7649 * buffer.[Ch] : The following are only changes to the ert
7650 compatibility read reading old LaTeX layout and font stuff and
7651 convert it to ERTInsets.
7653 * buffer.h: added isErtInset().
7655 * buffer.C (struct ErtComp): add a fromlayout bool to check
7656 if we're inside a LaTeX layout.
7657 (isErtInset): new helper function.
7658 (insertErtContents): look for other ert insets before this one
7659 and insert the contents there, so that we don't have subsequent
7660 ERT insets with nothing between them. This way we create only one
7661 inset with multiple paragraphs. Also check if we don't insert only
7662 spaces ' ' as they are ignored anyway afterwards in the .tex file
7663 so if we have only spaces we will ignore this latex part in the
7665 (parseSingleLyXformat2Token \\layout): better compatibility when
7666 reading layout-latex stuff.
7667 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7669 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7670 stuff after reading the inset only get the information back from
7673 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7675 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7677 * LaTeXFeatures.C (getBabelOptions): New method.
7679 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7681 * BufferView_pimpl.C (Dispatch): work around missing argument for
7684 2002-05-08 Juergen Vigna <jug@sad.it>
7686 * text.C (leftMargin): handle paragraph leftindent.
7688 * paragraph.C (writeFile): write the new \\leftindent tag.
7689 (validate): handle leftindent code.
7690 (TeXEnvironment): handle paragraphleftindent code again.
7692 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7694 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7695 for paragrap_extra indent code and new token \\leftindent.
7696 (latexParagraphs): handle the leftindent as environment.
7698 * ParameterStruct.h: added leftindent support.
7700 * ParagraphParameters.C (leftIndent): added support functions for
7701 the paragraph left indent.
7703 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7706 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7708 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7711 * text.C (computeBidiTables): No bidi in insetERT.
7713 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7716 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7718 * version.C.in: pre 5
7720 2002-05-02 José Matos <jamatos@fep.up.pt>
7721 * buffer.C (makeDocBookFile): white space changes, add newline to
7723 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7725 * tabular.C (docBook): fix typo.
7727 2002-05-03 Juergen Vigna <jug@sad.it>
7729 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7730 change in LyXText as we can not be sure it was not freed.
7731 (drawOneRow): remove unused code.
7733 * text.C (drawInset): redo the calculation of the need_break_row as
7734 it could have a row which was already freed.
7735 (draw): look at the return value of drawInset and return false if
7736 it also returned false.
7737 (paintRowText): look at the return value of draw and return false if
7738 it also returned false.
7740 * lyxtext.h: added bool return type to drawInset() and draw() so that
7741 if we have a change in the row so that the rowbreak has to be redone
7742 we abort drawing as it will be called again.
7744 2002-05-02 Juergen Vigna <jug@sad.it>
7746 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7747 a change in the maintext also if we're inside an inset.
7748 (Dispatch): set the cursor again after a break line and after the
7749 screen has been updated as it could be we're in a different row.
7751 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7752 to set the cursor behind the pargraph with > size().
7753 (setCursor): check also for the same paragraph when checking where
7754 to put the cursor if we have a NFR inset.
7756 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7757 parts of layout read further up as it still was in the wrong
7760 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7762 * screen.C (drawFromTo): change sine fullRebreak always return
7765 * buffer.C (parseSingleLyXformat2Token): reindent some
7767 * BufferView_pimpl.C (update): change since fullRebreak always
7769 (Dispatch): git rid of the last hardcoded "Standard"s.
7771 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7773 * text2.[Ch] (fullRebreak): make it return void now that we always
7776 2002-04-30 Juergen Vigna <jug@sad.it>
7778 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7779 ert compatibility check for "latex" layout.
7781 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7783 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7784 minipages: use col% instead of p%, and also use the current font.
7785 (makeLaTeXFile): Fix use babel condition.
7786 (parseSingleLyXformat2Token): Correct font when reading old floats.
7788 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7790 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7791 inserting list of floats.
7793 2002-04-25 Herbert Voss <voss@lyx.org>
7795 * MenuBackend.C (expand): don't add the graphics extensions to the
7798 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7801 non-existing layout, do not complain if it was the default layout
7802 of the original class (bug #342)
7804 2002-04-24 Juergen Vigna <jug@sad.it>
7806 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7807 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7809 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7811 * buffer.C (getBibkeyList): If using \bibliography, return the
7812 option field with the reference itself. Enables us to provide natbib
7813 support when using \bibliography.
7815 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7817 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7819 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7820 natbib is provided by the LaTeX class.
7822 2002-04-23 Juergen Vigna <jug@sad.it>
7824 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7827 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7829 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7831 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7833 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7834 ensuremath around textordmasculine, textordfeminine and
7837 2002-04-19 Juergen Vigna <jug@sad.it>
7839 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7840 reinitializing the buffer otherwise row-dimensions may be wrong.
7841 (update): reset also the selection cursors if they do exits otherwise
7842 their x/y positions may be wrong.
7844 * text2.C (cursorDown): don't enter the inset if we came from a row
7845 above and are one row over the inset.
7847 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7848 really leaving an inset.
7850 2002-04-18 Juergen Vigna <jug@sad.it>
7852 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7853 of the selected paragraph does not have the selected layout also if
7856 * text2.C (setLayout): fixed bug which did not change last selected
7859 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7860 changed the read and substituted \\end_float with \\end_inset!
7862 * BufferView_pimpl.C (cursorPrevious):
7863 (cursorNext): fixed to make it work with rows heigher than the work
7864 area without moving the cursor only the draw of the row.
7865 (workAreaMotionNotify): fix jumping over high rows.
7867 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7869 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7872 2002-04-16 Juergen Vigna <jug@sad.it>
7874 * text2.C (setCursor): set also the irow().
7875 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7877 (cursorDown): support for locking an inset if the x_fix value goes
7878 inside it. That way I can transverse insets too with cursor up/down.
7880 * lyxrow.h: added irow helper function same as other (i) functions.
7882 * BufferView_pimpl.C (cursorPrevious):
7883 (cursorNext): fixed for insets!
7885 2002-04-15 Juergen Vigna <jug@sad.it>
7887 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7888 position otherwise it is wrong in some cases.
7890 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7891 inside the inset before the call.
7893 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7895 * buffer.[Ch] (getBibkeyList): make it const.
7897 2002-04-12 Juergen Vigna <jug@sad.it>
7899 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7901 * text2.C (getCursorX): new helper function
7902 (setCursor): compute also ix_
7903 (setCursorFromCoordinates): set also ix.
7905 * lyxcursor.h: added ix_ and helper functions.
7907 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7909 * buffer.C (insertStringAsLines): dont break paragraph if the this
7910 paragraph is inside an inset which does not permit it!
7912 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7913 also with no chars on this paragraph.
7914 (paintRowText): only paint stuff if it's inside the workarea!
7916 * paragraph.C (breakParagraph): honor keepempty flag and break the
7917 paragraph always below not above.
7919 * BufferView2.C (unlockInset): update the paragraph layout on inset
7920 unlock as we changed paragraph in such a case.
7922 * lyxfind.C (LyXFind): clear the former selection if not found!
7924 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7925 again called in insertChar().
7927 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7928 an inset which uses the whole row!
7929 (rightMargin): ditto.
7930 (insertChar): force a rebreak if we inserted an inset!
7932 2002-03-28 Herbert Voss <voss@lyx.org>
7934 * lyxlength.[Ch]: add inBP() to get the right PS-point
7935 units (BigPoint). With inPixels we have rounding errors
7937 2002-04-11 Juergen Vigna <jug@sad.it>
7939 * text2.C (setCursorFromCoordinates): set iy to the right value.
7940 (setCursor): add check if row->previous exists!
7942 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7943 an old float_type as this was the case in the old code!
7945 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7947 * BufferView2.C (showLockedInsetCursor): use iy
7948 (fitLockedInsetCursor): ditto
7950 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7951 locked insets as there we have the right value now.
7953 * lyxcursor.C: added iy_ variable and iy functions to set to the
7954 baseline of cursor-y of the locked inset.
7956 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7957 (setCursor): fixed for insets which need a full row.
7959 * text.C (rowLastPrintable): don't ignore the last space when before
7960 an inset which needs a full row.
7961 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7962 as last character of a row when before a inset which needs a full row.
7964 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7966 * version.C.in: update date
7968 * text2.C (fullRebreak): try to always return true and see what
7971 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7973 * MenuBackend.C (expand): use Floating::listName
7975 * FloatList.C (FloatList): add listName argument to the built-in
7978 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7979 text associated with the float.
7981 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7983 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7985 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7987 * ShareContainer.h: add a couple of missing typenames.
7989 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7991 * lyxrc.C (getDescription): use _() correctly rather than N_().
7993 2002-03-28 Herbert Voss <voss@lyx.org>
7995 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7996 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7998 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8001 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8003 2002-03-29 Juergen Vigna <jug@sad.it>
8005 * lyxfunc.C (dispatch): add a missing fitCursor call.
8007 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8008 it was scrolled by a cursor move, so return the bool status.
8010 * BufferView.C (fitCursor): return the bool flag also to the outside
8011 world as this is needed.
8013 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8015 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8016 call the edit() as it is not needed (and wrong) IMO.
8017 (workAreaButtonPress): set the screen_first variable before evt.
8018 unlock the inset as this may change screen_first and then we have
8019 a wrong y position for the click!
8021 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8023 * MenuBackend.C (expand): another translation that I missed
8025 2002-03-28 Juergen Vigna <jug@sad.it>
8027 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8029 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8031 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8033 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8035 * MenuBackend.C (expand): fix export/view/update when there is no
8038 2002-03-27 Herbert Voss <voss@lyx.org>
8040 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8043 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8045 * bufferview_funcs.C (currentState): only show paragraph number
8046 for is DEVEL_VERSION is set.
8048 * lyxfunc.C (dispatch): put warning in INFO channel
8050 * MenuBackend.C (expand): translate the name of floats
8052 * FloatList.C (FloatList): mark the float names for translation
8054 * converter.C (convert): use LibScriptSearch
8056 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8058 * MenuBackend.C (defaults): fix default menu (we might as well get
8061 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8063 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8066 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8068 * lyxvc.C: reorder includes.
8070 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8072 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8075 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8077 * CutAndPaste.C: change layouts earlier on paste
8078 to avoid crashing when calling getFont()
8080 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8082 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8085 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8087 * WorkArea.C: remove 'Pending' debug message.
8089 * most files: ws cleanup
8091 * buffer.[Ch]: ws changes
8093 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8095 2002-03-21 Juergen Vigna <jug@sad.it>
8097 * tabular.C (SetMultiColumn): collapse also the contents of the
8098 cells and set the last border right. Added a Buffer const * param.
8100 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8102 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8105 2002-03-19 Juergen Vigna <jug@sad.it>
8107 * text2.C (clearSelection): reset also xsel_cache.
8109 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8110 where it needs to be called (John tells us to do so too :)
8111 (selectionLost): reset sel_cache.
8113 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8115 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * text2.C (setCursorIntern): put debuging code in INSETS channel
8119 2002-03-19 André Pönitz <poenitz@gmx.net>
8121 * lyxfunc.C: tiny whitespace change
8123 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8125 * ToolbarDefaults.C (init):
8126 * LyXAction.C (init):
8128 * BufferView_pimpl.C (Dispatch):
8129 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8131 2002-03-19 Allan Rae <rae@lyx.org>
8133 * exporter.C (Export): removeAutoInsets before doing anything else.
8134 While I've just introduced a dependency on BufferView this really is
8135 the best place to clean the buffer otherwise you need to cleanup in
8136 a dozen places before calling export or cleanup in a dozen functions
8139 * converter.C (runLaTeX):
8140 (scanLog): Better handling of removeAutoInsets and screen updates.
8142 * lyxfunc.C (dispatch): small whitespace changes
8144 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8146 * WorkArea.C (C_WorkAreaEvent): return a value.
8147 (event_cb): return 1 if we handled the event, 0 otherwise.
8149 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8151 2002-03-18 Juergen Vigna <jug@sad.it>
8153 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8154 (GetAdditionalWidth): ditto.
8158 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8159 inset if we're there actually (probably not used right now but this
8160 is the direction to go for unifying code).
8161 (paste): disable code to clear the selection.
8163 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8164 inside an InsetText and move the check further up as it is in the
8167 * text2.C (pasteSelection): set a selection over the pasted text.
8169 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8171 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8172 and libgraphics to build on Cygwin.
8174 2002-03-15 Juergen Vigna <jug@sad.it>
8176 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8177 inserting an Inset into the paragraph. I know this is not the best
8178 fix but we already use current_view in CutAndPaste so we will remove
8179 all of it's using at the same time.
8181 * buffer.C (sgmlError): deactivated function till it is rewritten in
8182 the right mode, now it can create problems.
8184 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8185 before accessing it.
8187 2002-03-14 Juergen Vigna <jug@sad.it>
8189 * undo_funcs.C (textHandleUndo): do the right thing when updating
8190 the inset after the undo/redo.
8192 * text2.C (setCursor): just some testcode for #44 not ready yet.
8194 * undo_funcs.C (textHandleUndo): set the next() and previous()
8195 pointers of the paragraph to 0 before deleting otherwise we have
8196 problems with the Paragraph::[destructor].
8198 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8199 on a paragraph insertion.
8201 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8203 * buffer.C (asciiParagraph): use += operator for char append to
8206 * paragraph.C (getFontSettings): compare >= not just >
8207 (highestFontInRange): ditto
8210 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8212 * paragraph.C: change several algorithm to be more appripriate for
8213 the problem domain. This is lookip in FontList and in the InsetList.
8215 2002-03-13 André Pönitz <poenitz@gmx.net>
8218 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8220 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8225 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8227 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8229 * Painter.C (display): anon helper function, adjust code for this
8231 (pixmap): remove function.
8233 * Painter.h: remove private display variable.
8235 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8237 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8239 * WorkArea.[Ch]: remove figinset_canvas cruft.
8241 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8243 * lyxtextclass.C (operator): add one item cache optimization.
8245 * bufferlist.h: doxy changes
8247 * bufferlist.C: ws changes
8249 * DepTable.[Ch] (ext_exist): place const in the right spot.
8251 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8253 (workAreaExpose): call resizeInsets when the with BufferView changes.
8254 (Dispatch): adjust for protectedBlank removal
8255 (specialChar): call updateInset if the insert went ok.
8257 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8258 specialChar instead.
8260 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8262 * BufferView.h: doxy change
8264 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8266 * lyxtextclass.C (operator[]): remove non-const version
8267 (defaultLayout): remove non-const version
8269 2002-03-12 Juergen Vigna <jug@sad.it>
8271 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8272 did resize the LyXText too.
8274 * buffer.C (readLyXformat2): set layout information on newly allocated
8277 * tabular.C (OldFormatRead): set layout information on the paragraph.
8279 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8281 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8283 2002-03-11 Juergen Vigna <jug@sad.it>
8285 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8287 (resizeCurrentBuffer): force also the insets to resize themselfes.
8288 (moveCursorUpdate): fixed up for InsetText.
8290 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8293 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8294 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8295 value of Dialogs::tooltipsEnabled().
8296 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8298 2002-03-08 Juergen Vigna <jug@sad.it>
8300 * BufferView_pimpl.C (updateInset): update inset inside inset also
8301 if it isn't inside theLockingInset().
8303 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8305 * buffer.C (asciiParagraph): redo some of the word and line length
8307 (getLists): look for Caption instead of caption.
8309 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8311 * buffer.C (Buffer): initialize niceFile to true
8314 (makeDocBookFile): make sure niceFile is true on exit
8316 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8318 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8320 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8322 * LyXSendto.C: remove.
8323 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8324 * lyx_gui.C: remove now-redundant comment.
8325 * ColorHandler.h: remove forward declaration of class WorkArea.
8326 * lyxfunc.C: remove #include "WorkArea.h".
8328 2002-03-07 Juergen Vigna <jug@sad.it>
8330 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8331 got moved away with the DEPM and also set the inset_owner always
8332 right which before could have been omitted.
8334 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8337 wanted layout is not found.
8339 2002-03-07 Juergen Vigna <jug@sad.it>
8341 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8343 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8345 * paragraph.C (breakParagraph): use default layout not layout of
8347 (Paragraph): clear ParagraphParameters.
8349 2002-03-06 Juergen Vigna <jug@sad.it>
8351 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8352 otherwise it would not be a valid lenght. Fixed a special case in
8353 the minipage compatibility read where we end the document with a
8356 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8357 was set as it could be 0 for InsetTexts first entry.
8359 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8361 * paragraph.C (writeFile): if layout is empty write out
8362 defaultLayoutName().
8364 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8365 file without named layout we set layout to defaultLayoutName().
8367 2002-03-06 Juergen Vigna <jug@sad.it>
8369 * CutAndPaste.C (copySelection): set layout for new paragraph.
8371 * text.C (prepareToPrint): leave ERT inset left aligned
8372 (leftMargin): don't indent paragraphs inside ERT insets
8374 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8376 * paragraph.C (breakParagraph): dont call clear do the work manually
8378 * paragraph.[Ch] (clear): remove function
8380 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8382 * paragraph.C (Paragraph): dont call clear, the work has already
8385 * lyxtextclass.C (operator): assert if n is empty
8387 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8388 work manually instead.
8390 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8392 * BufferView_pimpl.C: protect selectionLost against text == 0
8394 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8396 * text.C (breakParagraph): fix a setting layout to '0' problem.
8398 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8400 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8401 final location of file, for the included files, and graphics.
8403 2002-03-05 Juergen Vigna <jug@sad.it>
8405 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8407 2002-03-04 Juergen Vigna <jug@sad.it>
8409 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8411 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8412 last column of multicolumn cells.
8413 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8415 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8417 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8418 file if it doesn't go to a temporary file.
8420 * buffer.C (sgmlOpenTag):
8421 (sgmlCloseTag): remove extra newline insertion.
8423 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8425 * text.C (getRowNearY): comment out debug msg
8427 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8429 * text2.C: first -> first_y
8431 * text.C (getRowNearY): add some attemts at a possible
8432 optimization, not working.
8434 * tabular.[Ch]: add BufferParams to several function so that newly
8435 created paragraph can be initialized to he default layotu for the
8438 * tabular-old.C (ReadOld): add buf->params to call of Init
8440 * screen.C: rename text->first to text->first_y
8442 * paragraph.C (breakParagraph): always set layout in the broken
8445 * lyxtextclass.C (Read): remove lowercase
8448 (delete_layout): ditto
8450 * lyxtext.h: rename first -> first_y
8452 * lyxlayout.C (Read): remove lowercase
8455 (obsoleted_by): ditto
8457 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8459 * buffer.C (insertErtContents): add params are to InsetERT
8460 (parseSingleLyXformat2Token): add code to check if a paragraphs
8461 layout really exist.
8462 (parseSingleLyXformat2Token): add params to several inset
8464 (asciiParagraph): remove lowercase, do the layout comparisons with
8467 * BufferView_pimpl.C (cursorNext): first -> first_y
8468 (resizeCurrentBuffer): first -> first_y
8469 (updateScrollbar): first -> first_y
8470 (scrollCB): first -> first_y
8471 (workAreaMotionNotify): first -> first_y
8472 (workAreaButtonPress): first -> first_y
8473 (checkInsetHit): first -> first_y
8474 (cursorPrevious): first -> first_y
8475 (cursorNext): first -> first_y
8476 (Dispatch): add buffer_->params to severl inset contructors
8478 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8480 * lyxlayout.C (Read): remove some debug info that I forgot.
8482 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8483 clean up the code slightly.
8484 (makeLinuxDocFile): ditto
8485 (makeDocBookFile): ditto
8487 * text2.C: layout as string
8489 * text.C: layout as string
8491 * paragraph_pimpl.C: layout as string
8493 * paragraph.[Ch]: layout as string
8495 * lyxtextclasslist.[Ch]: layout as string
8497 * lyxtextclass.[Ch]: layout as string
8499 * lyxtext.h: layout as string
8501 * lyxlayout.[Ch]: layout as string
8503 * lyx_cb.C: layout as string
8505 * bufferview_funcs.C: layout as string
8507 * bufferparams.C: layout as string
8509 * buffer.C: layout as string
8511 * LyXView.[Ch]: layout as string
8513 * LaTeXFeatures.[Ch]: layout as string
8515 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8517 * BufferView_pimpl.C: change current_layout to string, remove
8522 (workAreaButtonRelease): layout as string
8524 * BufferView2.C (unlockInset): adjust
8526 * vspace.C (asLatexCommand): use an explict temp variable.
8528 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8530 * Makefile.am: use FRONTEND_*
8532 2002-03-01 Juergen Vigna <jug@sad.it>
8534 * tabular.C (SetWidthOfMulticolCell): changed to something better
8535 I hope but still work in progress.
8536 (recalculateMulticolumnsOfColumn): renamed function from
8537 recalculateMulticolCells as it is more appropriate now.
8538 (SetWidthOfCell): calculate multicols better.
8540 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8542 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8544 * lyxfunc.C (processKeySym): print sequence also if it is
8545 `deleted' (complete)
8547 * kbsequence.C (print): print sequence even if it is deleted
8548 (complete would be a better word, actually).
8550 * lyxfunc.C (dispatch): print complete options after a prefix key
8552 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8554 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8556 * text2.C (setCharFont): eliminate setCharFont code duplication.
8558 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8560 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8561 LFUN_TABULAR_FEATURE (bug #177)
8563 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8565 * Makefile.am: remove figure.h
8567 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8569 * Bufferview_pimpl.C:
8581 * text2.C: remove #include "lyx_gui_misc.h".
8583 * LaTeX.C: added #include <cstdio>
8585 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8587 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8588 that the paragraph following this one can have.
8590 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8592 * vspace.C (asLatexCommand): fix bogus gcc warning
8594 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8596 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8598 * text2.C (setLayout): get rid of redundant code
8600 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8602 * text2.C (incDepth): make sure depth cannot be increased beyond
8605 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8607 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8608 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8610 * PainterBase.h (image):
8611 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8614 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8618 * BufferView_pimpl.C:
8619 * BufferView_pimpl.h:
8639 * sp_spell.C: remove fig inset, and the crap house of
8640 cards that follows it
8642 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8648 * nt_defines.h: move .h into support/
8650 * vms_defines.h: remove
8652 * WorkArea.C: add space in debug output
8656 * buffer.C: add WITH_WARNINGS
8660 * bufferlist.C: s/retrive/retrieve/, add docs
8671 * lyxgui.C: add ID to X error handler
8673 * lyxtestclass.c: fix typo
8675 2002-02-26 Juergen Vigna <jug@sad.it>
8677 * tabular_funcs.C (write_attribute): changed so that some default
8678 attributes are not written at all.
8679 (getTokenValue): set default values before trying to read the
8680 value so we have the return value always set as default if we don't
8681 find the token we search for.
8683 * tabular.C (Write): write bools as bools not as strings!
8685 2002-02-22 Juergen Vigna <jug@sad.it>
8687 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8688 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8690 * text.C (leftMargin): don't add an indent for paragraphs inside
8691 tabular cells (fix #208).
8693 2002-02-21 José Matos <jamatos@fep.up.pt>
8695 * tabular.C (docBook): fixed support for long tables.
8697 2002-02-20 Juergen Vigna <jug@sad.it>
8699 * text2.C (getFont): get the drawing font of the Inset if this
8700 paragraph is inside an inset (only important for InsetERT for now).
8702 * buffer.C (insertErtContents): use new lanugage params in ERT
8705 * CutAndPaste.C: commenting out seemingly uneeded code.
8707 2002-02-19 Allan Rae <rae@lyx.org>
8709 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8710 Iterators might be simple to use but they also get invalidated.
8711 (removeAutoInsets): renamed saved cursor tracking variables and added
8712 some comments to clarify what everything does.
8714 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8721 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8722 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8725 * vc-backend.h: remove #include "support/syscall.h"
8729 * converter.C: rearrange #includes in Lars' approved fashion.
8731 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8732 forward declare class Timeout in the header file.
8734 * XFormsView.C: changes due to the above.
8736 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8739 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8740 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8742 2002-02-18 José Matos <jamatos@fep.up.pt>
8744 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8747 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8749 * a lot of small ws changes
8750 * add a lot of using std::XXX
8751 * use std construcs some places where approp.
8752 * use some exisint stuff from lyxfunctional where approp.
8753 * Make file changes to use partial linking (lets test this now...)
8755 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8759 remove #include "support/syscontr.h" as it's redundant. Always has been.
8767 change Systemcalls::System to Systemcalls::Wait and
8768 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8769 No change of functionality, just reflects the stripped down Systemcalls
8772 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8774 * debug.[Ch]: add a GRAPHICS type to the enum.
8776 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8778 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8780 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8783 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8785 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8786 match the changes below.
8788 * text2.C (toggleInset): if there is not editable inset at cursor
8789 position, try to see if cursor is _inside_ a collapsable inset
8792 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8794 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8795 document menu has a nice checkbox
8797 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8799 * lyxlength.C (asLatexString): change PW to output as percent of
8802 * lengthcommon.C: change '%' to 't%'
8804 * lyxfunc.C (dispatch): a few comments from Martin
8806 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8810 * BufferView_pimpl.h:
8811 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8814 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * vspace.C (inPixels): fix compiler warning
8818 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8820 * lyxfunc.C (getStatus): fix status message for disabled commands.
8822 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8824 * BufferView_pimpl.C: fix crash on close buffer
8825 during selection (#227)
8827 2002-01-27 Herbert Voss <voss@lyx.org>
8829 * buffer.C: link old Figure to new graphic inset
8831 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8833 * FontLoader.C (getFontinfo): Change the latex font names in order
8834 to match the names of type1inst.
8836 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8838 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8840 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8843 (remove_files_with_extension): ditto
8844 (remove_file): ditto
8847 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8848 document is smaller than the work area height. Do not initialize
8849 static variables to 0.
8851 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8853 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8855 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8856 LFUN_LAYOUT_PARAGRAPHS.
8858 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8859 tabular. It is possible to provide a possible cell, which will
8860 typically be the actcell from the corresponding insettabular
8862 * lyxfunc.C (getStatus): small cleanup; disable
8863 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8866 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8868 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8870 * paragraph.C (startTeXParParams):
8871 (endTeXParParams): new methods. The LaTeX code to
8872 start/end paragraph formatting
8873 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8874 empty (fixes bug #200)
8876 * vspace.C (inPixels): adapt to the change below
8877 (inPixels): [later] more cleanups (remove unused variables)
8879 * lyxlength.C (inPixels): change to use a width and a height as
8882 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8885 Replaced with \paperwidth
8887 * DepTable.C (insert): add std:: qualifier
8889 2002-01-18 Allan Rae <rae@lyx.org>
8891 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8894 * text.C (drawInset): Turned out I didn't know enough about how
8895 rebreaking worked. This fixes most of the redraw problems. I see
8896 an occasional cursor trail when a line is broken now and the cursor
8897 placement can seem out by a few pixels also after a rebreak.
8899 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8901 * buffer.C (parseSingleLyXformat2Token): update because minipage
8902 width is now a LyXLength
8904 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8906 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8909 2002-01-17 Juergen Vigna <jug@sad.it>
8911 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8913 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8914 is set correctly and the inset is updated correctly.
8916 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8918 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8919 the beginning of the loop.
8921 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8923 * lyxrc.C: improve help for use_scalable_fonts
8925 2002-01-17 Allan Rae <rae@lyx.org>
8927 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8929 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8932 make sure to set their inset_owner to the right value (bug #171)
8934 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8937 * DepTable.C: Implement mtime checking to reduce time spent doing
8940 2002-01-16 Juergen Vigna <jug@sad.it>
8942 * tabular.C (GetAdditionalHeight): one of error fixed.
8944 * lyxrc.C (output): small fix in writing use_pspell.
8946 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8948 * sp_base.h: #include LString.h
8950 2002-01-16 Allan Rae <rae@lyx.org>
8952 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8953 Can someone check this please?
8955 * text.C (drawInset): It was possible that p.row would be removed by
8956 breakAgainOneRow upsetting a few other settings. There may be another
8957 small tweak possible by setting need_break_row = 0 when p.row has been
8958 removed but I don't know enough about the logic here.
8960 2002-01-15 Allan Rae <rae@lyx.org>
8962 * text.C (insertChar): removed conditional truism.
8964 * BufferView2.C (removeAutoInsets): More tweaks.
8965 cur_par_prev could be a stray pointer. Check for trailing empty line
8966 in case last line was cur_par and only had an error inset on it.
8968 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8973 * vc-backend.C (most methods):
8974 * exporter.C (Export):
8975 * converter.C (convert):
8977 * LyXSendto.C (SendtoApplyCB):
8978 * lyxfunc.C (dispatch):
8982 * lyx_cb.C (AutoSave):
8984 * BufferView_pimpl.C (MenuInsertLyXFile):
8985 * buffer.C (runChktex): use Buffer::filePath().
8987 * buffer.h: rename filename to filename_; rename filepath to
8988 filepath_ and make it private
8989 (filePath): new method
8991 * buffer.C (writeFile): use fileName()
8994 * lyx_main.C (init): fix starting of LyX when the binary is a
8995 link from so,ewhere else.
8997 * minibuffer.C: include <cctype> for isprint
8999 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9001 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9002 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9003 name clash with InsetCollapsable's width function.
9005 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * lastfiles.C: include <iterator>
9009 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9011 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9014 * buffer.C (makeLaTeXFile): ditto.
9015 Also make loop operation more transparent.
9017 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9019 * ToolbarDefaults.C: remove trailing comma closing namespace.
9021 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9023 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9026 * trans.C (Load): comment out unused variable, allowed.
9028 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9030 * minibuffer.[Ch] (append_char): new method to recieve input from the
9031 drop-down completion browser. If a key was pressed, then recieve this
9032 char and append it to the existing string.
9033 (peek_event): modify the positioning data passed to the completion
9034 browser so that it can be placed above the minibuffer rather than below.
9035 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9037 * LyXAction.C (init): alloe error-next for readonly documents.
9039 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9042 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9044 * bufferlist.C (readFile): create the buffer _after_ checking that
9047 * lyxfunc.C (verboseDispatch): fix handling of arguments
9049 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9051 * lyxrc.C: use string::erase() instead of initializing to "".
9054 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9056 * BufferView_pimpl.h:
9057 * BufferView_pimpl.C:
9060 * text2.C: tell X when we have made a selection for copying
9062 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9064 * BufferView_pimpl.C (MenuInsertLyXFile):
9065 * lyxfunc.C (menuNew):
9067 (doImport): add shortcuts to directory buttons
9069 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9072 * lyxfunc.C (setStatusMessage):
9073 (getStatusMessage): new methods
9074 (getStatus):use setStatusMessage instead of setErrorMessage
9075 (dispatch): when function is disabled, set error message here
9076 [instead of in getStatus previously]
9078 * BufferView_pimpl.C (workAreaButtonRelease): update
9079 toolbar/menubar here too.
9081 2002-01-13 Allan Rae <rae@lyx.org>
9083 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9084 Now seems indestructible. Remaining task is to audit all other
9085 code affected by deleteEmptyParagraphMechanism. One small quirk
9086 left is that an empty document with an error in the preamble can
9087 be made to report an error but no error box appears. I don't know
9089 (removeAutoInsets): Improved comments.
9091 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9094 * Thesaurus.C: update for Aiksaurus 0.14
9096 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9098 * text2.C (firstParagraph): removed member function, all uses
9099 replaces with ownerParagraph
9100 (redoParagraphs): here
9102 (toggleAppendix): here
9103 * BufferView2.C (insertErrors): here
9104 (setCursorFromRow): here
9106 2002-01-13 Allan Rae <rae@lyx.org>
9108 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9109 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9110 There is still a way to segfault this although you may have to do this
9111 multiple times: Have an InsetERT with an unknown command in it.
9112 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9113 <down-arrow>, <Enter> again, View->DVI, BANG!
9115 * text2.C (setCursor):
9116 (deleteEmptyParagraphMechanism):
9117 * lyxtext.h (setCursor):
9118 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9119 Making use of the return value may help fix other bugs.
9121 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9123 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9125 * LyXView.C (updateMenubar): call MenuBar::update here
9126 (updateToolbar): but not here
9127 (showState): do not update toolbar/menubar
9129 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9130 should need to care about that.
9132 * lyxfunc.C (verboseDispatch): simplify a bit
9133 (getStatus): have a version which takes a pseudoaction, and
9134 another which requires a (kb_action,string).
9136 * LyXAction.C (retrieveActionArg): make it work also when action
9137 is not a pseudo-action.
9138 (getActionName): simplify a bit
9141 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * lyxfunc.C (verboseDispatch): new families of methods with
9144 several ways to specify a command and a bool to indicate whether
9145 the command name and shortcut should be displayed in minibuffer
9146 (eventually, we could extend that to a finer bitmask like
9147 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9148 (dispatch): the pristine dispatch command which just, well,
9149 dispatchs! Note it still sets its result to minibuffer; I'm not
9152 * lyxfunc.h: remove setHintMessage
9154 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9156 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9158 * BufferView_pimpl.C (specialChar): delete new inset if we have
9159 not been able to insert it.
9161 * kbmap.C: revert to using int instead of kb_action, since all we
9162 are dealing with is pseudo-actions.
9164 * LyXAction.C (searchActionArg): change to return int instead of
9165 kb_action, since the result is a pseudoaction.
9167 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9169 * buffer.C (insertErtContents): Fix (partially) the font bug.
9171 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9173 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9174 as the other one is broken on my machine!
9176 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9179 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9181 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9183 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9184 reflect their actual use. Provide compatibility code for older lyxrc
9187 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9189 change names of popup font variables in line with the changes to lyxrc.C
9191 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9193 * buffer.C (asciiParagraph): avoid outputing a word twice after
9196 * lyxrc.C (getDescription): document that document_path and
9197 template_path can be empty.
9199 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * LaTeXFeatures.C (getMacros):
9202 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9204 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9206 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9208 (getPackages): rename feature "floats" to "float". Use an array to
9209 iterate over 'simple' features (i.e. just a \usepackage). Add
9210 handling of "amsmath" (renamed from "amsstyle").
9212 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9214 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9217 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9219 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9220 FuncStaus::FuncStatus & FuncStaus::some_method().
9222 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9224 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9225 of the func_satus stuff. Edited and massaged in various ways by
9228 * lyxfunc.C (getStatus): use FuncStatus
9230 2002-01-08 Juergen Vigna <jug@sad.it>
9232 * text.C (nextBreakPoint): use function Inset::isChar().
9234 * paragraph.C (TeXOnePar): use function
9235 Inset::forceDefaultParagraphs.
9237 * buffer.C (latexParagraphs): use function
9238 Inset::forceDefaultParagraphs.
9240 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9242 * lyx_gui.C (init): set the style of the menu popups to
9243 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9245 2002-01-07 Juergen Vigna <jug@sad.it>
9247 * text.C (setHeightOfRow): small fix
9248 (prepareToPrint): don't look at alignment if we don't have the place
9251 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9253 * box.C: New file. Move the Box methods and functions out of box.h,
9254 following Lars' suggestion.
9256 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9258 * box.h: #include "support/LOstream.h", needed for inlined function.
9261 * lyxtextclasslist.C: added some using std declarations.
9263 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9265 * box.h: make signed dimensions to allow insets wider than
9266 the screen (bug #162)
9268 * BufferView_pimpl.C: add some insetHit debug
9270 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9272 * vc-backend.C: add FIXME
9274 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9276 * lyxfunc.C (getStatus): enable code for showing math font status
9279 2002-01-07 Juergen Vigna <jug@sad.it>
9281 * text.C (nextBreakPoint): removed debug output not needed anymore.
9283 2002-01-06 Juergen Vigna <jug@sad.it>
9285 * text.C (nextBreakPoint): fixed up this function we had this bug
9286 since ever but now hopefully we break row better.
9287 (insertChar): we have to check if an inset is the next char as it
9288 could now happen that a large inset is causing a break.
9290 2002-01-05 Juergen Vigna <jug@sad.it>
9292 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9293 if it doesn't like to be drawed.
9295 2002-01-04 Juergen Vigna <jug@sad.it>
9297 * BufferView2.C (lockInset): forgot to set a cursor.
9299 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9301 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9306 * form_maths_panel.C:
9307 * form_maths_panel.h:
9308 * form_maths_panel.fd: implemented sub- and super- buttons in math
9311 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9312 (or ^ space) to be used as in TeX (req'd by André).
9314 * lyxfunc.C: Allow ^ and _ again to be used both as
9315 super/subscript (mathed) and as themselves (in text).
9317 2002-01-03 Allan Rae <rae@lyx.org>
9319 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9320 "LyX" or the filename of the current buffer if it has one. This is a
9321 modified form of John Levon's patch.
9323 * XFormsView.C (setWindowTitle): also set icon title.
9325 * LyXView.h (setWindowTitle): signature changed.
9326 * XFormsView.h (setWindowTitle): ditto.
9328 2002-01-02 Juergen Vigna <jug@sad.it>
9330 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9332 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9334 * screen.C (topCursorVisible): introduce a temp var for
9335 text->cursor.row(), handle the case where this row is null. (kindo
9338 * text2.C (setCursor): add a couple of asserts.
9340 * paragraph.h (inset_iterator): add -> operator
9342 * paragraph.[Ch] (autoDeleteInsets): remove member function
9344 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9345 cursor pos correctly and handle inset deletion by itself.
9346 (insertErrors): move iterator declaration out of for expression
9348 * lyxtextclass.C: add <algorithm>
9350 * Makefile.am: added the new files to sources, removed layout.C
9352 * layout.C: removed file
9354 * layout.h: remove LYX_DUMMY_LAYOUT
9356 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9360 * lyxtextclass.[Ch]:
9361 * lyxtextclasslist.[Ch]: new files
9363 * include order changes to a lot of files, also changes because of
9366 2001-12-27 Juergen Vigna <jug@sad.it>
9368 * buffer.C (asciiParagraph): more fixes.
9370 * tabular.C (ascii): make ascii export support export of only the
9371 data separated by a column-delimiter.
9372 (ascii): better support for ascii export.
9374 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9376 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9378 * tabular_funcs.C: use a "using std::getline" instead of the
9379 previous fix from Angus (necessary for cxx + lyxstring)
9381 2001-12-24 Juergen Vigna <jug@sad.it>
9383 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9385 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9386 problems. First check a minipage also if we have some ert-contents
9387 (not only on par->size(), second set the right depth of the paragraph
9388 on the relink to the root-paragraph-list!
9390 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9391 which then did not anymore update the main paragraphs on undo/redo!
9393 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9395 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9396 code. Support all font-changing funcs (even those which are not in
9397 menu currently). Support for reporting font settings in
9398 mathed (disabled until Andre provides a function on mathed's side).
9400 * func_status.h (toggle): small helper function to set toggle
9403 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9405 * tabular_funcs.C: getline -> std::getline
9407 2001-12-21 Juergen Vigna <jug@sad.it>
9409 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9410 accessed and could be 0 (I couldn't generate this but it seems
9413 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9416 * tabular_funcs.h: here and include iosfwd
9418 2001-12-20 Juergen Vigna <jug@sad.it>
9420 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9421 inside inset but undo_par was.
9423 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9425 * Thesaurus.C: always include <config.h> in sources.
9429 * box.h: do not include <config.h> in header files
9431 * text.C (paintLastRow): remove unused variable
9433 * text.C (transformChar):
9435 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9438 * font.C (width): rewrite to use uppercase() instead of
9441 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9443 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9445 * lyxfind.C: clean up of find failure position change
9447 2001-12-20 Juergen Vigna <jug@sad.it>
9449 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9451 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9452 (TeXRow): added to LaTeX a single tabular row.
9453 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9454 (Latex): simplified and finally good LT-h/f support.
9455 (various_functions): just small adaptions for LT-h/f support.
9457 * tabular_funcs.[hC]: added and moved here all not classfunctions
9460 2001-12-19 Juergen Vigna <jug@sad.it>
9462 * tabular.[Ch]: better support for longtabular options (not finished
9465 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * text.C (paintLastRow): use the label font instead of the font of
9468 the last character to compute the size of *_BOX. This makes more
9469 sense and avoids a crash with empty paragraphs.
9470 Use Painter::rectangle to draw EMPTY_BOX.
9472 2001-12-19 Juergen Vigna <jug@sad.it>
9474 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9475 the paragraphs if the replaced paragraph is not the first one!
9476 Tried to delete not used paragraphs but does not work yet so for
9477 now it's inside #ifdef's and by default off!
9479 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * MenuBackend.C: include "lyx_main.h" instead of declaring
9482 lastfiles (actually was declared as LastFiles* instead of a
9485 2001-12-17 Juergen Vigna <jug@sad.it>
9487 * tabular.C (AppendColumn): applied John's fix
9489 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9493 * BufferView_pimpl.h:
9494 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9497 * box.h: new start of class for above
9499 * lyxfunc.C: ignore space-only minibuffer dispatches.
9500 Show the command name when it doesn't exist
9502 * minibuffer.C: don't add empty lines to the history
9504 * minibuffer.C: add a space on dropdown completion
9506 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9508 * text.C: fix line above/below drawing in insets
9510 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9512 * lyxlength.C (LyXLength): Initialize private variables.
9514 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9517 when inserting error insets.
9519 2001-12-13 Juergen Vigna <jug@sad.it>
9521 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9522 actually sometimes the before-paragraph.
9523 (setUndo): don't clear the redostack if we're not actually undoing!
9525 2001-12-06 Juergen Vigna <jug@sad.it>
9527 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9528 and fixed redoing of main paragraph, so we can use it now ;)
9530 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9532 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9534 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9537 2001-12-13 André Pönitz <poenitz@gmx.net>
9540 * undo_func.C: minor cleanup
9542 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9544 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9545 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9546 font in urw-fonts package which is marked as -urw-fontspecific and
9547 does not work (incidentally, changing the encoding in the
9548 fonts.dir of this package to -adobe-fontspecific fixes the
9551 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9552 is a crash when undoing first paragraph (Juergen, please take a
9553 look). THis does not mean the undo fix is wrong, just that it
9556 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9557 the (Paragraph*) version when needed instead of duplicating the
9560 * text.C (workWidth): use Inset::parOwner to find out where the
9561 inset has been inserted. This is a huge performance gain for large
9562 documents with lots of insets. If Inset::parOwner is not set, fall
9563 back on the brute force method
9565 * paragraph_pimpl.C (insertInset):
9566 * paragraph.C (Paragraph):
9567 (cutIntoMinibuffer): set parOwner of insets when
9568 inserting/removing them
9570 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9572 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9578 * mathed/formulabase.C:
9579 * mathed/math_cursor.[Ch]:
9580 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9583 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9585 * lyxlength.[Ch] (operator!=): new function
9587 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9589 * text.C (workWidth): use Inset::parOwner to find out where the
9590 inset has been inserted. This is a huge performance gain for large
9591 documents with lots of insets. If Inset::parOwner is not set, fall
9592 back on the brute force method
9594 * paragraph_pimpl.C (insertInset):
9595 * paragraph.C (Paragraph):
9596 (cutIntoMinibuffer): set parOwner of insets when
9597 inserting/removing them
9599 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9601 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9603 * tabular-old.C (getTokenValue):
9604 * tabular.C (getTokenValue):
9605 (write_attribute): new versions for LyXLength
9606 (everywhere): adjust the use of widths
9608 * tabular.h: change the type of widths from string to LyXLength
9610 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9612 * paragraph.C: fixed missing line number count when exporting
9613 Environments to LaTeX file
9615 * buffer.C: added informational message for checking line numbers.
9617 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9619 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9620 paragraph, do the 'double space' part, but not the 'empty
9623 * text.C (workWidth): small optimization
9624 (getLengthMarkerHeight): use minimal size for negative lengths.
9626 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9628 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9630 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9632 2001-12-11 André Pönitz <poenitz@gmx.net>
9635 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9637 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9639 * text2.C: keep selection on a setFont()
9641 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9643 * lyx_cb.C: another bv->text misuse, from insert label
9645 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9648 * kbsequence.C: re-instate nmodifier mask
9650 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9652 * lyx_main.h: make lyxGUI private.
9654 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9656 * lyxfind.C: place the cursor correctly on failed search
9658 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9660 * text.C (getLengthMarkerHeight): for small heights, the arrows
9661 are not always on top/bottom of the text
9662 (drawLengthMarker): smaller arrows; take the left margin in
9663 account; draw also vfills.
9665 (paintLastRow): remove special code for vfill and standard spaces,
9666 since everything is handled in drawLengthMarker now.
9668 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * buffer.C (insertErtContents): try to handle font and language
9671 interaction a bit better.g
9673 * ColorHandler.C (updateColor): change the hash to cover the whole
9674 LColor enum, ws cleanup
9675 (getGCLinepars): ditto
9676 (getGCLinepars): only lookup in the linecache once.
9678 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9680 * iterators.C (operator++): Make the iterator more robust
9682 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9686 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9689 * text.C: better added space drawing
9691 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9694 * BufferView2.C: fix layout combo update on inset unlock
9696 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9698 * Makefile.am: don't compile unused files
9700 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9704 * LyXAction.C: remove old LFUN_LAYOUTNO
9706 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9708 * paragraph_pimpl.h:
9709 * paragraph_pimpl.C: isTextAt() doesn't need font param
9711 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9714 * lyxlex.C: little cleanup
9716 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9718 * BufferView_pimpl.C: fix insertAscii for insets
9720 2001-12-05 Juergen Vigna <jug@sad.it>
9722 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9723 set the right font on the "multi" paragraph paste!
9725 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9731 * lyxlength.C: remove out-commented code.
9747 * vc-backend.C: change "while(" to "while ("
9749 * lyxlength.[Ch]: add zero function to check if length is zero or
9751 * lyxgluelength.C: use it
9753 2001-12-05 Allan Rae <rae@lyx.org>
9755 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9756 Works for 2.95.3, from what I understand of Garst's reports this should
9757 work for other g++ versions. We're screwed if the abs(int) definition
9758 changed between bugfix releases of gcc.
9760 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9762 * text.C: fix chapter label offset !
9764 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9767 * text.C: fix hfill at end of line, clean up
9769 2001-12-04 Juergen Vigna <jug@sad.it>
9771 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9772 that we force an update of the inset and it's owners if neccessary.
9774 2001-12-03 Juergen Vigna <jug@sad.it>
9776 * text.C (rowLast): simplified code
9778 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9780 * lyxfunc.C: fix show options on timeout
9782 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * screen.C (topCursorVisible): scroll half a page when the cursor
9785 reached top of bottom of screen
9787 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9789 * minibuffer.C: deactivate on loss of focus
9791 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * vspace.[Ch] (operator!=): add operator.
9795 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9797 * BufferView_pimpl.C: refuse to open an inset when
9798 there's a selection.
9800 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9802 * BufferView_pimpl.C: allow to click on RHS of full row insets
9804 2001-11-30 Juergen Vigna <jug@sad.it>
9806 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9807 insets for undo reasons.
9809 2001-11-28 André Pönitz <poenitz@gmx.net>
9811 * vspace.[Ch]: cosmetical changes
9813 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9823 * kbsequence.C: part re-write of old kb code
9826 * WorkArea.C: remove Lgb_bug_find_hack
9828 2001-11-30 José Matos <jamatos@fep.up.pt>
9830 * buffer.C (makeDocBookFile): add a comment to point a hack.
9831 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9832 Fixed a double write of labels.
9834 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9837 * LaTeX.h Fixed bug in LaTeX class where it would not
9838 re-run latex if no depfiles were changed, but the .dvi was removed.
9840 2001-11-28 André Pönitz <poenitz@gmx.net>
9842 * all the files from the change on 2001/11/26:
9843 use lyx::layout_type instead of LyXTextClass::size_type
9844 use lyx::textclass_type instead of LyXTextClassList::size_type
9846 2001-11-29 Juergen Vigna <jug@sad.it>
9848 * text.C: added support for paragraph::isFreeSpacing()
9850 * buffer.C: same as above
9852 * paragraph.h: inserted isFreeSpacing() function to enable
9853 FreeSpacing inside InsetERT.
9855 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9856 of the paragraph's in the cut/copy buffer to 0!
9858 * text2.C (removeRow): remove the assert as it can!
9860 * lyxtext.h: added helper function firstRow returning firstrow and
9861 made firstrow private again.
9863 * BufferView2.C (lockInset): don't relock if we're already locked!
9865 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9867 (removeRow): added Assert::(firstrow)
9869 * debug.C: forgot to add INSETTEXT here.
9871 2001-11-28 Juergen Vigna <jug@sad.it>
9873 * sp_spell.C (initialize): changed error text to more general
9874 spellchecker command use (not only ispell!)
9876 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9878 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9880 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9882 * vspace.C: initialise lyxgluelength on failure
9884 2001-11-28 Allan Rae <rae@lyx.org>
9886 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9887 declaration & definition that looks like a function declaration.
9889 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9891 * BufferView2.C (copy):
9892 (copyEnvironment): do not clear the selection when doing a copy.
9894 * text.C (paintFirstRow): compilation fix
9896 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9898 * tabular.C (Latex): correct line count when writing latex.
9900 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9902 * paragraph_pimpl.h:
9903 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9906 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9910 * LColor.C: change vfillline->added_space
9912 * text.C: add markers and text for added space
9914 * vspace.C: fix comment
9916 2001-11-28 André Pönitz <poenitz@gmx.net>
9918 * paragraph.C: whitespace changes
9919 * all the other files from the change on 2001/11/26:
9920 change *::pos_type into lyx::pos_type
9922 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9924 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9925 language of the document when inserting error insets.
9927 2001-11-26 André Pönitz <poenitz@gmx.net>
9929 * BufferView_pimpl.[Ch]:
9937 * paragraph_pimpl.[Ch]:
9940 * text2.C: reduce header dependencies, introduce type for positions
9942 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9944 * <various>: change to use Alert.h
9946 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9948 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9949 when encountering an unknown token.
9950 (readLyXformat2): Show an error message if there were unknown tokens.
9952 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9955 * BufferView_pimpl.C:
9959 * text2.C: use par->isInset()
9961 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9963 * paragraph_pimpl.h:
9964 * paragraph_pimpl.C: cleanup
9966 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9968 * text2.C (removeRow):
9969 * text.C (setHeightOfRow): remove useless (and costly) call to
9972 2001-11-20 Allan Rae <rae@lyx.org>
9974 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9975 Now need Inset*::checkInsertChar() to return true for appropriate
9976 cases so that the characters in the minibuffer will actually be
9979 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9981 * text.C: change the order of the includes.
9982 (workWidth): initialize it at once.
9983 (workWidth): make maxw unsigned
9984 (setHeightOfRow): remove unused variable (inset)
9985 (selectSelectedWord): remove unused variable (inset)
9986 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9988 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9990 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9991 server is not running.
9993 (closeConnection): add debug info when server is disabled.
9995 * ColorHandler.C (getGCForeground): send debug message to GUI
9998 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10000 * kbmap.C (bind): modify because return conventions of
10001 kb_sequence::parse have changed.
10003 * kbsequence.C (parse): only ignore spaces and not any stupid
10004 control character. This avoids tests like s[i] <= ' ', which are
10005 guaranteed to fail with 8bit characters and signed chars.
10006 Change return code to string::npos when there have been no error
10007 (0 was a bad idea when error is at first character)
10009 2001-11-14 José Matos <jamatos@fep.up.pt>
10012 * buffer.C (simpleDocBookOnePar): removed unused argument.
10014 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10017 insets which are part of a word. Paragraph::isLetter takes care of
10018 that now. Use Paragraph::isInset to identify insets.
10019 (selectSelectedWord): do not test for hyphenation break.
10021 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10022 that protected spaces are considered as spaces.
10024 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10027 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10030 * lyxserver.C: fix it. and small cleanup.
10032 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10034 * BufferView_pimpl.C: use inline helpers
10037 * LaTeXFeatures.C: fix typos
10040 * Spacing.C: move spacing_string into class
10042 * ToolbarDefaults.C: move stuff into namespace anon
10044 * layout.h: update enum
10046 * lyxfunc.C: use better debug
10048 * minibuffer.h: fix typo
10052 * WorkArea.C: add and use Debug::WORKAREA
10056 * text2.C: code re-organisation, inline helpers
10058 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10060 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10061 std::vector.empty().
10063 2001-11-09 Allan Rae <rae@lyx.org>
10065 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10066 '\n's after tables. Tabular and ERT inset work now makes this no
10069 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10072 * minibuffer.C: fix crash, improve drop-down completion
10074 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10077 * lyxserver.C: invalidate fd's when doing endPipe()
10079 2001-11-08 José Matos <jamatos@fep.up.pt>
10081 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10082 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10085 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10087 2001-11-07 José Matos <jamatos@fep.up.pt>
10090 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10093 * buffer.C (sgmlOpenTag):
10094 * buffer.C (sgmlCloseTag): removed debug info.
10096 * buffer.h (sgmlOpenTag):
10097 * buffer.h (sgmlCloseTag): made public.
10099 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10101 * buffer.C (saveParamsAsDefaults):
10102 * lyx_cb.C (MenuLayoutSave): remove
10104 * LyXAction.C (init):
10106 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10108 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10110 * buffer.C (setPaperStuff): removed from here...
10112 * bufferparams.C (setPaperStuff): ... and moved there.
10114 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10118 * XFormsView.C: add support for drop-down completion
10120 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10122 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10125 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10127 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10130 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10132 * lyx_main.C: change ref to known bugs
10134 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10136 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10137 to work around older babel problems.
10139 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10141 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10143 2001-10-24 Juergen Vigna <jug@sad.it>
10145 * tabular-old.C (ReadOld): below variable changes reflected.
10147 * tabular.[Ch]: added ltType struct for longtable header/footer
10148 defines and changed all instances where they are used. Added
10149 future support for double top/bottom rows.
10151 2001-10-24 José Matos <jamatos@fep.up.pt>
10153 * buffer.h (docbookHandleCaption):
10154 * buffer.C (docbookHandleCaption): removed unused function.
10155 (makeDocBookFile): moved docbook supported version to v4.1.
10157 2001-10-24 José Matos <jamatos@fep.up.pt>
10160 * tabular.C (docbookRow): new function to export docbook code of a row.
10161 (DocBook): now honors the longtable flags.
10163 2001-10-23 José Matos <jamatos@fep.up.pt>
10166 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10167 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10169 * buffer.C (makeLinuxDocFile):
10170 (makeDocBookFile): reworked the preamble, more clean, and with
10171 support for lyx defined entities. Changed the document declaration
10172 to be more XML friendly.
10174 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10175 if we need to output XML that should be done with a filter.
10177 2001-10-22 Juergen Vigna <jug@sad.it>
10179 * sp_pspell.h (class PSpell): add alive function needed in the
10180 controller to see if the spellchecker could be started.
10182 2001-10-22 Juergen Vigna <jug@sad.it>
10184 * buffer.C (insertStringAsLines): modify the font for inserting
10185 chars in certain conditions by calling checkInsertChar(font).
10187 2001-10-19 Juergen Vigna <jug@sad.it>
10189 * text.C (workWidth): use getRow instead of wrong algorithm.
10190 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10192 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10197 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10199 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10201 * text.C (workWidth): do not search for the exact row when
10202 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10203 optimization for big documents.
10205 2001-10-18 Juergen Vigna <jug@sad.it>
10207 * text.C (workWidth): new function with added Inset * parameter.
10209 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10211 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10213 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10214 change return type of getColumnNearX.
10217 * text.C (changeRegionCase): use uppercase/lowercase instead of
10220 (rightMargin): simplify code by factoring out the uses of
10225 (appendParagraph): use Paragraph::size_type
10227 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * vspace.C (asLatexString): add a missing break
10231 2001-10-15 Herbert Voss <voss@perce.de>
10233 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10235 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10237 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10240 2001-10-10 André Pönitz <poenitz@gmx.net>
10242 * lyxfunc.C: removed greek_kb_flag.
10244 2001-10-10 Herbert Voss <voss@perce.de>
10246 * lyx_main.C: delete global string help_lyxdir.
10248 2001-10-09 Herbert Voss <voss@perce.de>
10250 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10252 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10254 * lyx_main.C: added global string help_lyxdir.
10256 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10258 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10260 * lyxrc.C (set_font_norm_type): support iso8859-4
10262 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10264 * LaTeX.C (deplog): add another regex for MikTeX
10266 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10268 * lyxrc.C (set_font_norm_type): support iso8859-3
10270 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10272 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10274 * LaTeXFeatures.C: remove special case of french and index
10276 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10277 before \begin{document}). This solves several incompatibilities.
10279 2001-10-03 Garst Reese <reese@isn.net>
10281 * lyx_cb.C: change CheckTex error msg.
10283 2001-10-03 José Matos <jamatos@fep.up.pt>
10285 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10287 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10289 * .cvsignore: update
10291 * lyx_main.C (commandLineVersionInfo): use new style version info.
10293 * buffer.C (writeFile):
10295 (makeLinuxDocFile):
10296 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10298 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10300 * version.h: update to use stuff in version.C
10302 * version.C.in: new file. Contains version information determined
10303 at compile time. This is a merging of version.h and
10306 2001-10-03 Juergen Vigna <jug@sad.it>
10308 * BufferView_pimpl.C (update): don't change "dirty" status in
10311 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10313 * WorkArea.C (c-tor): re-position version string slightly.
10315 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10317 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10318 revert to previous code.
10320 WorkArea.[Ch]: (show, destroySplash): methods removed.
10322 WorkArea.C: rework code so that it's an amalgam of the codes before and
10323 after the splash screen was moved to WorkArea.
10325 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * vspace.C (inPixels):
10331 * buffer.C (insertStringAsLines):
10332 (asciiParagraph): fix types to be large enough
10334 * lyxlex_pimpl.h: change member status from short to int
10336 * layout.h: fix type of endlabeltype
10339 * kbsequence.C (parse): change return type to string::size_type
10341 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10344 * Bullet.C (bulletSize):
10345 (bulletEntry): do not use short ints as parameters
10347 * BufferView2.C (insertLyXFile): change a char to an int.
10349 * WorkArea.C (WorkArea): remove unneeded floats in computation
10351 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10353 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10355 * paragraph.C (asString): Do not ignore newline/hfill chars when
10356 copying to the clipboard.
10358 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10360 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10361 after a multi-line inset.
10363 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10365 * paragraph.C (validate): Set NeedLyXFootnoteCode
10367 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10369 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10370 and decrease-error to decrease.
10372 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10374 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10375 it more readable (should be equivalent)
10377 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10379 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10381 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10383 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10384 of a cursor (row, etc.) after a character has been deleted
10385 (deleteEmptyParagraphMechanism): call the method above on _all_
10386 cursors held by the LyXText when a double space has been
10389 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10391 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10393 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10395 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10396 background. Use greyOut() and the new show() methods to toggle between
10397 the foreground and background. Add code to remove the splash after
10398 its initial showing.
10400 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10401 (create_forms): no longer call Dialogs::showSplash.
10403 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10405 * .cvsignore: add version_info.h
10407 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10409 * version_info.h.in: new file
10411 * Makefile.am: add version_info.h.in
10413 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10414 version_info.h instead of VERSION_INFO
10416 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10418 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10419 The ERT inset now returns string().
10421 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10423 * lyxtext.h, text.C (selectNextWord): renamed as
10424 selectNextWordToSpellcheck.
10426 * text.C (selectNextWordToSpellcheck): Modified to not select
10427 words inside an ERT inset.
10429 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10431 * lyx_cb.C (MenuLayoutSave): change a bit the question
10433 * sp_base.h: include <sys/types.h>
10435 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10437 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10439 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10441 * several files: fix typos in user-visible strings
10443 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10445 * text2.C (pasteSelection): do not set the selection, since it
10446 will be cleared later. Actually, the intent was to fix the way the
10447 selection was set, but I figured rmoving the code was just as good.
10449 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10451 * FontLoader.C (available): Check if font is available without
10454 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10456 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10458 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10460 * lyxrc.[Ch]: added display_graphics variable and associated code.
10462 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10464 * bufferparams.C (hasClassDefaults): new method. Returns true if
10465 the buffer parameters correspond to known class defaults
10467 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10469 * XFormsView.C (show): set minimum size to the main window.
10471 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10473 * text2.C (copySelection):
10475 * lyxfind.C (LyXReplace):
10476 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10477 LyXText::selectionAsString.
10479 * paragraph.C (asString): add "label" argument to the second form
10481 * text2.C (selectionAsString): add "label" argument and pass it to
10482 Paragraph::asString.
10484 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * lyx_main.C (commandLineHelp): remove version information
10488 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10490 * lyx_main.C: add -version commandline option
10492 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10494 * paragraph.h: make the optional constructor arg required instead.
10495 some modifications to other files because of this.
10497 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10499 * lyxserver.C (C_LyXComm_callback): make it static
10501 * lyx_main.C (error_handler): make it static
10503 * lyx_gui.C (LyX_XErrHandler): make it static
10505 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10507 * WorkArea.C: make the extern "C" methods static.
10509 * Makefile.am (lyx_LDADD): simplify
10511 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10513 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10514 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10516 * LyXAction.C (init):
10517 * lyxfunc.C (dispatch): associated code removal.
10519 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10521 * lyxfont.h (isSymbolFont): shut off warning
10523 * text.C (setHeightOfRow):
10524 (getVisibleRow): fix crash with empty paragraphs which have a
10527 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10529 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10532 2001-09-04 José Matos <jamatos@fep.up.pt>
10535 * tabular.C (docbook): rename docBook method to docbook.
10537 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10539 * Makefile.am: add dependencies to main.o.
10541 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10543 * FontLoader.C (available): Return false if !lyxrc.use_gui
10545 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10547 * FontInfo.C (query):
10548 * converter.C (view):
10549 * importer.C (Import):
10550 * exporter.C (Export): Can not -> cannot.
10552 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10554 * BufferView_pimpl.C: allow to create index inset even if
10557 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10559 * buffer.C (getLists): replace boost::tie code with an explicit pair
10560 as boost::tie can break some compilers.
10562 * iterators.h: Added a std:: declaration to the return type of
10565 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10567 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10570 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10572 * iterators.[Ch]: New files. Provide paragraph iterators.
10574 * buffer.C (changeLanguage): Use paragraph iterators.
10575 (isMultiLingual): ditto
10577 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10579 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10581 * FontLoader.C: Support for cmr font.
10583 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10585 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10586 (available): New method.
10588 * FontInfo.C (getFontname): Use scalable fonts even when
10589 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10592 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10594 * converter.C (Formats::view): reverted! Incorrect fix.
10596 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10598 * converter.C (Formats::view): only output the -paper option
10599 if the dvi viewer is xdvi, thereby fixing bug #233429.
10601 2001-08-23 Herbert Voss <voss@perce>
10603 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10605 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10607 * Spacing.h (Spacing): Set space to Default on in the default
10610 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * vc-backend.h (RCS::versionString): add RCS to version
10613 (CVS::versionString): add CVS to version
10615 * vc-backend.C (scanMaster): do not add CVS to version.
10616 (scanMaster): do not add RCS to version
10618 * lyxvc.C (versionString): new method
10620 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10622 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * Spacing.C (set): initialize fval
10626 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10628 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10631 2001-08-16 Juergen Vigna <jug@sad.it>
10633 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10635 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10637 * BufferView_pimpl.C:
10640 * text2.C: setParagraph takes linespacing now
10642 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10644 * LyxAction.C: add internal LFUN_CITATION_INSERT
10646 * LyXView.C: actually apply fix
10648 * bufferlist.C: fix open non-existent file
10650 * lyxfind.C: fix indentation
10652 * lyxfunc.C: remove unneeded assert, fix typo
10654 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10656 * MenuBackend.C: use "Floatname List"
10658 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10660 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10661 when converting LaTeX layout to insetERT.
10662 Generate a non-collapsed float when reading old float
10664 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10666 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10669 2001-08-13 Juergen Vigna <jug@sad.it>
10671 * text.C (fill): return 0 instead of 20 as this seems to be the more
10674 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10676 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10679 2001-08-13 Juergen Vigna <jug@sad.it>
10681 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10683 (SearchBackward): comment out the unlocking of the inset_owner this
10684 should not be needed!
10686 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10688 * Many files: Remove inherit_language, and add latex_language
10690 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10691 collapsible insets.
10693 2001-08-10 Juergen Vigna <jug@sad.it>
10695 * text.C (prepareToPrint): fixed hfill-width in draw!
10697 * BufferView2.C (selectLastWord): save the selection cursor as this
10698 now is cleared in the function LyXText::clearSelection!
10700 2001-08-08 Juergen Vigna <jug@sad.it>
10702 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10703 BACKSPACE type functions.
10705 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10706 is only cutted from the document but not put in the cut-buffer, where
10707 still the old stuff should be.
10709 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10711 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10713 * tabular.C (SetWidthOfCell): fixed special case where the width
10715 (LeftLine): handle '|' in align_special.
10717 (LeftAlreadyDrawed): ditto
10718 (SetWidthOfCell): ditto
10720 2001-08-07 Juergen Vigna <jug@sad.it>
10722 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10724 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10726 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10727 * lyxlex.[hC]: ditto
10729 2001-08-06 Juergen Vigna <jug@sad.it>
10731 * text.C (getVisibleRow): fix up row clearing a bit.
10733 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10735 * minibuffer.C: make sure the X server sees the changes in the input.
10737 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10739 * paragraph.C (getFont): split into...
10740 (getLabelFont): this
10741 (getLayoutFont): and this
10742 * paragraph_pimpl.C (realizeFont): calling this
10744 * text2.C (getFont): split into...
10745 (getLayoutFont): this
10746 (getLabelFont): and this
10747 (realizeFont): all three calling this
10749 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10752 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10754 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10756 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10758 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10759 layouts from the Quote inset insertion.
10761 2001-08-03 Juergen Vigna <jug@sad.it>
10763 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10765 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10766 only if status not is already CHANGED_IN_DRAW (second level).
10768 * text.C (draw): don't set the need_break_row when inside an
10771 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10773 * buffer.C (parseSingleLyXformat2Token): handle more latex
10776 * bufferview_funcs.[hC]: change function names to
10777 begin with small char, adjust other files.
10779 2001-08-02 André Pönitz <poenitz@gmx.net>
10782 BufferView_pimpl.C: remove broken special code for math-greek
10784 2001-08-02 Juergen Vigna <jug@sad.it>
10786 * BufferView_pimpl.C (update): redone this function so that we
10787 update the text again if there was a CHANGE_IN_DRAW.
10789 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10790 (drawFromTo): added a new internal bool which is used by draw() and
10792 (general): some cursor drawing problems fixed.
10794 2001-08-01 Juergen Vigna <jug@sad.it>
10796 * lyxfind.C (LyXFind): fixed
10797 (SearchForward): ditto
10798 (SearchBackward): ditto
10800 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10801 spurius drawing of the cursor in the main area.
10803 * text2.C (status): small fix which could lead to a segfault!
10804 (clearSelection): remove unneeded BufferView param.
10806 2001-08-01 André Pönitz <poenitz@gmx.net>
10808 * lyxfunc.C: small change due to changed mathed interface
10810 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10812 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10814 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10816 * lyxfunc.c: fail gracefully if file doesn't exist
10821 * BufferView_pimpl.C: IsDirWriteable() proto changed
10823 * LyXView.C: fix updateWindowTitle() to store the last title
10825 2001-07-31 Juergen Vigna <jug@sad.it>
10827 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10828 the font (wrong since using of Paragraph::highestFontInRange).
10830 * paragraph.C (highestFontInRange): added a default_size parameter.
10832 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10833 (setHeightOfRow): reformat
10835 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10837 * converter.[hC] + affected files: move to (inital-char)lowercase
10840 * ParagraphParameters.C (ParagraphParameters): remove commented code
10842 * PainterBase.[Ch]: remove commented code
10844 * LaTeXFeatures.h: add "bool floats" for float.sty
10846 * LaTeXFeatures.C (LaTeXFeatures): init floats
10847 (require): handle float
10848 (getPackages): do it with floats
10850 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10852 * BufferView_pimpl.C (Dispatch): improve handling of
10853 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10855 * commandtags.h: #include lyxfont.h here temporarily to avoid
10858 * bufferlist.h: include LString.h here.
10860 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10862 * text2.C (getStringToIndex): new method.
10864 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10866 * *: Reduced header file dependencies all over.
10868 2001-07-30 Baruch Even <baruch@lyx.org>
10870 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10872 2001-07-29 Baruch Even <baruch@lyx.org>
10874 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10876 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10878 * ParameterStruct.h (endif): add a default constructor to make
10879 sure that all variables is initialized.
10881 * ParagraphParameters.C (ParagraphParameters): adjust
10883 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10885 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10886 index; also, check that there is something to index, and that it
10887 does not span over several paragraphs.
10888 (doubleClick): use WHOLE_WORD_STRICT for double click.
10890 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10892 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10895 2001-07-26 Baruch Even <baruch@lyx.org>
10897 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10898 an InsetFig figure, backwards compatible reading of old figure code.
10900 2001-07-27 Juergen Vigna <jug@sad.it>
10902 * text2.C: font.realize function adaption.
10904 * text.C (draw): add a warnings lyxerr text if needed.
10906 * layout.C: font.realize function adaption.
10908 * language.C: add inherit_language and implement it's handlings
10910 * bufferview_funcs.C (StyleReset): remove language parameter from
10911 font creation (should be language_inherit now).
10913 * bufferparams.C (writeFile): handle ignore_language.
10915 * paragraph.C (getFontSettings): the language has to be resolved
10916 otherwise we have problems in LyXFont!
10918 * lyxfont.C (lyxWriteChanges): added document_language parameter
10919 (update): removed unneeded language parameter
10921 * paragraph.C (validate): fixed wrong output of color-package when
10922 using interface colors for certain fonts in certain environments,
10923 which should not seen as that on the final output.
10925 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10927 * BufferView_pimpl.C:
10932 * LyXAction.C: add thesaurus support
10935 * lyxfind.C: add "once" parameter, for thesaurus, to not
10936 move to the next match
10938 2001-07-26 Juergen Vigna <jug@sad.it>
10940 * lyxfont.C (realize): honor ignore_language too!
10943 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10945 * text.C (draw): one place more for ignore_language to not draw
10948 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10950 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10952 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10955 the minipage conversion problem.
10957 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10959 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10962 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10964 * BufferView.h: don't forward declare WorkArea
10966 * BufferView.C: don't include WorkArea.h
10968 2001-07-25 André Pönitz <poenitz@gmx.net>
10972 * lyxfunc.C: new LFUN 'math-space'
10974 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10976 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * text2.C (toggleInset): call open/close
10980 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * lyxfunc.C (dispatch): add debug for the disabled case
10984 * font.C (buttonText): make similar to rectText
10986 * buffer.C (readInset): comment out parsing of insetlist and
10989 * PainterBase.C (rectText): small correction
10991 * BufferView_pimpl.C: comment out insettheorem and insetlist
10992 * LyXAction.C: ditto
10993 * commandtags.h: ditto
10995 2001-07-24 Juergen Vigna <jug@sad.it>
10997 * text.C (draw): honor the ignore_language.
10999 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11001 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11003 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11006 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11008 * lyxtext.h: remove unused (and unimplemented) methods
11010 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11012 * text.C (getVisibleRow): honor background color
11015 * Painter.h: remove default color argument for fillRectangle
11017 * text.C (backgroundColor): new method
11019 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * text.C (getVisibleRow): adjust
11023 * font.[Ch] (rectText): new method, metrics
11024 (buttonText): new method, metrics
11026 * PainterBase.[hC]: make rectText and buttonText always draw and take
11029 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11031 * ToolbarDefaults.C (read):
11032 * MenuBackend.C (read): allow escaping in all strings
11034 * BufferView_pimpl.C (insertAndEditInset): new method.
11035 (Dispatch): use insertAndEditInset whenever appropriate.
11037 * BufferView_pimpl.C (insertNote): removed
11039 * BufferView_pimpl.C (smartQuote): new method, moved from
11040 BufferView; if an insetquote cannot be inserted, insert a '"'
11043 * BufferView2.C: remove insertCorrectQuote();
11045 * lyxfunc.C (getStatus): Add support for all remaingin
11046 inset-insert lfuns.
11048 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11050 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11051 command (necessary to pass " as parameter of self-insert.
11053 * text.C (selectWordWhenUnderCursor):
11054 (selectWord): add word_location parameter
11055 (selectWordWhenUnderCursor): same + remove special code for word
11057 (selectNextWord): use kind() to guess type of insetspecialchar,
11060 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11061 (insertErtContents): create ert insets as collapsed.
11062 (readInset): better compatibility code for Info inset.
11064 2001-07-20 Juergen Vigna <jug@sad.it>
11066 * lyxfunc.C (dispatch): use always LyXFind now!
11068 * text2.C (init): add a reinit flag so that the LyXText can be
11069 reinited instead of deleted and reallocated (used in InsetText).
11071 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11077 2001-07-18 Juergen Vigna <jug@sad.it>
11079 * text.C (selectNextWord): handle insets inside inset by calling
11080 always the bv->text functions so that we can go up the_locking_inset!
11082 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11083 in strange locations when inside an inset!
11085 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11086 handling to include insets.
11088 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11090 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11092 * LyXAction.C (init):
11094 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11095 LIGATURE_BREAK, since the name is so stupid.
11097 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11099 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11102 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11104 * sp_form.[Ch]: remove.
11106 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11108 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11111 * src/buffer.C (readInset): ditto.
11113 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11115 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11116 menuSeparator(), endOfSentenceDot(), ldots() and
11117 hyphenationPoint(), which are therefore removed.
11118 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11120 * LyXAction.C (init):
11121 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11123 * paragraph.C (getWord): removed.
11125 * BufferView_pimpl.C (Dispatch): use last word or selection for
11126 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11128 * lyx_main.C (queryUserLyXDir): do not ask before creating
11129 user_dir, except if it has been named explicitely.
11131 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11133 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11134 a document of zero size.
11136 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11138 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11139 approriately in the c-tor and in require().
11140 (getPackages): output the appropriate LaTeX for natbib support.
11142 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11143 variables "use_natbib" and "use_numerical_citations" when reading the
11145 (readInset): read the various natbib cite commands.
11146 (validate): white-space change.
11148 * bufferparams.[Ch]: new variables "bool use_natbib" and
11149 "bool use_numerical_citations".
11150 (writeFile): output them in the LyX file.
11152 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11154 * lyxfunc.C (getStatus): add support for all the inset insertion
11157 * text2.C (insertInset):
11158 * paragraph.C (insetAllowed):
11159 * BufferView_pimpl.C (insertInset): update to take in account the
11160 renaming of insertInsetAllowed
11162 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11164 * text2.C (getInset): new method. returns inset at cursor position.
11166 * BufferView_pimpl.C (Dispatch): changes because of this.
11168 * LyXAction.C (init): rename open-stuff to inset-toggle.
11170 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11172 * text2.C (toggleInset): renamed from openStuff; use
11175 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11177 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11179 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11181 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11183 * buffer.C (readLyXformat2): Add filename to the error dialog
11185 2001-07-18 Juergen Vigna <jug@sad.it>
11187 * tabular.C (GetCellNumber): put an assert here instead of the check!
11189 2001-07-17 Juergen Vigna <jug@sad.it>
11191 * BufferView_pimpl.C (toggleSelection): adapted too.
11193 * text.C (selectNextWord): adapted for use with insets.
11194 (selectSelectedWord): ditto
11196 2001-07-17 Juergen Vigna <jug@sad.it>
11198 * sp_spell.C (PSpell): fix initialitation order.
11200 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * paragraph.C: spacing
11204 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11206 * sp_spell.C: repair language selection for pspell
11208 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * lyxfunc.h: change more methods to begin with lower char.
11212 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11214 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11215 for unknown layouts.
11217 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11219 * buffer.C (readLyXformat2): Generate an error dialog if there are
11222 2001-07-16 Juergen Vigna <jug@sad.it>
11224 * sp_spell.C: always compile ISpell part.
11226 * lyxrc.C: added use_pspell entry and it's handling.
11228 2001-07-13 Juergen Vigna <jug@sad.it>
11230 * sp_spell.C: removed double includes.
11232 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11234 Consistent use of Lsstream.h:
11235 * Lsstream.h: added using std::stringstream for consistencies sake.
11237 * buffer.C: removed using std::stringstream
11239 * lyxfont.C (stateText):
11240 * paragraph.C (asString):
11241 * text.C (selectNextWord, selectSelectedWord):
11242 * text2.C (setCounter):
11243 * vspace.C (asString, asLatexString):
11244 std::ostringstream -> ostringstream.
11246 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11248 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11249 * commandtags.h: add LFUN_HELP_ABOUTLYX
11250 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11252 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11254 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11256 * lyx_gui_misc.C: remove spellchecker
11257 * lyxfunc.C: showSpellchecker
11259 * sp_ispell.h: added
11260 * sp_pspell.h: added
11261 * sp_spell.C: added
11262 * sp_form.[Ch]: removed
11263 * spellchecker.[Ch]: removed
11265 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11267 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11269 (simpleTeXSpecialChars): Simply print the input character without
11270 any special translation if pass_thru is set.
11272 * layout.h: Added bool pass_thru to layout class for being able to
11273 implement pass through of a paragraph for Literate Programming.
11275 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11276 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11277 * layout.C (Read): add "passthru" to list of layout tags and add
11278 code to set the pass_thru boolean when it is read.
11280 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11282 * trans_decl.h: remove allowed from KmodInfo
11284 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11285 remove allowed code
11288 * paragraph_pimpl.C (erase): use boost::prior
11290 * Painter.C (text): use data() instead of c_str() when length is
11292 * WorkArea.C (putClipboard): ditto
11293 * font.h (width): ditto
11295 * BufferView2.C: use it-> instead of (*it). for iterators
11297 * paragraph_pimpl.C: ditto
11298 * paragraph.C: ditto
11299 * minibuffer.C: ditto
11300 * language.C: ditto
11302 * encoding.C: ditto
11303 * counters.C: ditto
11304 * converter.C: ditto
11306 * Variables.C: ditto
11307 * TextCache.C: ditto
11308 * MenuBackend.C: ditto
11309 * LyXAction.C: ditto
11311 * FloatList.C: ditto
11312 * DepTable.C: ditto
11313 * ColorHandler.C (LyXColorHandler): ditto
11315 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11317 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11319 * text2.C (openStuff): reintroduce this method (which had been
11320 nuked in NEW_INSETS frenzy).
11322 * lyxfunc.C (Dispatch): when an action has not been handled, use
11323 its name in the error message, not its number.
11325 * paragraph.C (inInset): change method name to begin with lowercase.
11328 * text2.C: updates because of this.
11330 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11332 * ToolbarDefaults.C (add): add spaces in error message
11334 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11336 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11337 (readLyXformat2): rename return_par to first_par, use lyxlex's
11338 pushToken and remove the manual push handling.
11339 (parseSingleLyXformat2Token): add another ert comp. variable:
11340 in_tabular, rename return_par to first_par. handle newlines better
11342 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11344 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11346 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11348 * text2.C (getParFromID): removed
11350 * buffer.C (getParFromID): new method moved form lyxtext.
11351 * BufferView2.C (insertErrors): adjust
11352 (setCursorFromRow): adjust
11353 * BufferView_pimpl.C (restorePosition): adjust
11354 * lyxfunc.C (Dispatch): adjust
11355 * undo_funcs.C (textUndo): adjust
11357 (textHandleUndo): adjust
11358 (textHandleUndo): adjust
11360 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * buffer.C: up' the LYX_FORMAT
11364 * lyxfont.h: turn NO_LATEX on as default
11366 * buffer.C (insertErtContents): new methods of tex style compability.
11367 (parseSingleLyXformat2Token): use it several places.
11368 * tabular.C (OldFormatRead): and here
11370 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * text2.C: remove some commented code.
11375 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11376 * trans.C: changes because of the above.
11378 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11380 * text2.C (setCounter): Fix counters bug with bibliography layout.
11382 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11384 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11385 own member functions
11386 (simpleTeXSpecialChars): ditto
11388 2001-07-06 Juergen Vigna <jug@sad.it>
11390 * a lot of files: changed the access to LyXText::status and the
11391 call of undo-functions.
11393 * undo.[Ch]: added a inset_id to the undo informations.
11395 * undo_funcs.[Ch]: added and moved here all undo functions.
11397 * lyxtext.h: give the status enum a weight, made status_ a private
11398 variable and made accessor functions for it, removed the whole bunch
11399 of undo-functions as they are now in their own file, make some
11400 functions publically available. Added function ownerParagraph with
11403 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11404 made InInset() a const function, added getParFromID() function.
11406 * buffer.[Ch]: added const version for inset_iterator functions,
11407 added getInsetFromID() function.
11409 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11410 changed undo functions for new version.
11412 2001-07-05 Juergen Vigna <jug@sad.it>
11414 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11415 unknow mechanism does not call the proper constructor but only this
11416 one also if I request the other!?
11418 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11420 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11422 * text2.C (LyXText): use initialization lists.
11424 * lyxtext.h (Selection): initialize set_ and mark_
11425 (init): remove method
11427 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11429 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11431 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11433 * screen.[Ch]: change method names to begin with lowercase
11435 * BufferView_pimpl.C (updateScrollbar): simplify further and
11436 hopefully make it a bit faster.
11438 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11440 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11441 calling directly xforms functions.
11443 * Painter.C (Painter):
11444 * lyx_cb.C (MenuWrite):
11445 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11448 * lyx_gui.C: remove bogus guiruntime extern declaration.
11450 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11454 (redoDrawingOfParagraph): ditto
11455 (redoParagraphs): ditto
11456 (cutSelection): don't create a object for CutAndPaste use the
11457 static method directly
11458 (pasteSelection): ditto
11460 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11463 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11465 * modifications to some other files because of this.
11467 * Makefile.am (lyx_SOURCES): add XFormsView
11469 * XFormsView.[Ch]: new files
11471 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11472 the main window. Move the gui dependent stuff to XFormsView
11474 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11476 * tabular.C (GetCellInset): update cur_cell also in the row/col
11477 version of this function.
11479 * lyxfunc.C: no need to include figure_form.h here.
11485 * lyxvc.C: no need to include forms.h here.
11487 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11491 * lyxfunc.C (Dispatch):
11493 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11494 constructor argument.
11496 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * paragraph.C (Paragraph): dont't clear, and just set layout.
11499 (makeSameLayout): use params's copy contructor.
11501 * ParagraphParameters.[Ch] (makeSame): delete method
11503 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11505 * Variables.[Ch]: fix indentation, rename set to isSet
11507 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11509 * lyxfunc.C (Dispatch): fix typo
11511 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11513 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11516 * bufferlist.C: include assert.h for emergencyWrite().
11518 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11520 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11521 give up at last (bug #425202) !
11523 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11529 * spellchecker.C: strip spellchecker options and bring up
11530 preferences tab instead
11532 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11534 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11535 the istringstream constructor
11537 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11539 * paragraph.C (getLayout): fix return value
11541 * paragraph.h: do not declare getLayout as inline.
11543 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11545 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11547 * lyxcursor.h (operator<): new func
11548 (operator>): new func
11549 (operator>=): new func
11550 (operator<=): new func
11552 * text.C (changeCase): use selection.start and selection.end
11553 (changeRegionCase): require from to be <= to. Require par to be a
11556 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11558 2001-06-27 Juergen Vigna <jug@sad.it>
11560 * text.C (cursorLeftOneWord): changed to return the cursor and added
11561 overlay with BufferView * parameter which calls this one.
11563 (selectWord): use new getWord function.
11564 (changeCase): renamed from changeWordCase as and extended to work
11565 also on selections.
11567 * lyxtext.h: added enum word_location
11569 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11570 changeCase as this operates now also on selections.
11572 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11574 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11576 * many files: send debug output to Debug::INFO instead of
11579 * converter.C (View):
11581 (Move): send debug output to Debug::FILES instead of console.
11583 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11585 * lyxfunc.C (getStatus): use func_status
11587 * func_status.h: new header, describing the results of
11588 LyXFunc::getStatus;
11590 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11593 2001-06-25 The LyX Project <jug@sad.it>
11595 * buffer.C (sgmlOpenTag):
11597 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11599 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11601 * text2.C: remove some dead code
11603 * tabular.C (GetCellInset): store the last cell checked (gotten)
11605 * tabular.h: add the helper for the speedup
11607 * lyxtext.h: remove some dead code
11609 2001-06-26 The LyX Project <Asger>
11611 * paragraph.C: Change export to LaTeX of alignment to
11612 \begin{center} and family for better roundtrip work with reLyX.
11614 * Tune the math drawing a bit.
11616 2001-06-25 The LyX Project <Asger>
11618 * LColor.C (LColor): New color for math background. New color
11621 2001-06-25 The LyX Project <jug@sad.it>
11623 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11625 * lyxfunc.C (Open):
11626 * bufferlist.C (newFile): do not restrict to files ending with
11629 * BufferView_pimpl.C (MenuInsertLyXFile):
11631 2001-06-24 The LyX Project <jug@sad.it>
11633 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11636 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * lyxtext.h: rename most methods to begin with a small char.
11639 Lots of changes because of this.
11641 * paragraph.C (Paragraph): do not call fitToSize
11642 (erase): call Pimpl::erase
11643 (insertChar): call Pimpl::insertChar
11644 (insertInset): call Pipl::insertInset
11645 (breakParagraph): do not call fitToSize
11646 (breakParagraphConservative): do not call fitToSize
11647 (fitToSize): remove method
11649 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11651 2001-06-24 The LyX Project <Asger>
11653 * Fix Qt compilation^2
11655 2001-06-24 The LyX Project <jug@sad.it>
11657 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11658 depthHook(getDepth()-1).
11661 * ParagraphParameters.h:
11662 * ParameterStruct.h: change type of depth to unsigned int ==
11663 depth_type. Many adaptations to other files before of that.
11665 2001-06-24 The LyX Project <Asger>
11667 * Fix Qt compilation.
11669 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11671 * paragraph.h: renamed several methods to begin with small letter.
11672 several changes to many parts of the code because of this.
11674 2001-06-23 The LyX Project <jug@sad.it>
11676 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11677 rewritten to discard all double spaces when KeepEmpty is off
11678 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11679 to only handle newlines but not fiddle with spaces and friends.
11681 * lyxfunc.C (MenuNew): when doing 'new from template', use
11682 template_path as default directory
11684 2001-06-23 The LyX Project <Asger>
11686 * Clean-up of header file includes all over
11687 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11689 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * paragraph.h: renamed from lyxparagraph.h
11693 2001-06-23 Asger <lyx@violet.home.sad.it>
11695 * Buffer.h: Removed Buffer::resize
11696 * BufferList.h: Removed BufferList::resize
11697 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11698 the document lazily when we change the width, or the font settings.
11700 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11702 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11704 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11706 * buffer.h: remove out of date comment
11708 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11711 * screen.C: fix "theoretical" GC leak
11713 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * LaTeX.C (scanAuxFile):
11716 (deplog): remove trailing \r when reading stream (useful under
11719 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11721 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11722 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11723 and BufferView::theLockingInset(Inset*), so should use them and not
11724 access bv_->text->the_locking_inset directly.
11726 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11728 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11731 * tex-defs.h: remove old unused file
11733 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11735 * BufferView_pimpl.C: fix typo, remove minibuffer message
11736 when buffer has loaded
11738 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11740 * lyxfunc.C (Dispatch): use stringstream
11741 (MenuNew): use stringstream
11742 (Open): use stringstream
11744 * importer.C (Import): use stringstream
11746 * bufferview_funcs.C (CurrentState): use stringstream
11748 * LaTeX.C (run): use stringstream
11750 * BufferView_pimpl.C (savePosition): use stringstream
11751 (restorePosition): use stringstream
11752 (MenuInsertLyXFile): use stringstream
11754 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11767 * vspace.C: removed // -*- C++ -*- as first line.
11770 * version.h: added // -*- C++ -*- as first line.
11772 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11774 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11776 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11779 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11781 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11784 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11786 * gettext.C: include LString.h even when --disable-nls is on.
11788 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11790 * converter.h (Get): changed argument type from int to
11791 FormatList::size_type to avoid unnecessary conversion.
11793 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11796 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11798 * gettext.h: include LString.h even when --disable-nls is on.
11800 2001-06-07 Juergen Vigna <jug@sad.it>
11802 * text.C (BreakAgain): subst spaces with tabs.
11804 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11805 (resizeInsetsLyXText): set force on resizeLyXText.
11807 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11809 * gettext.h (gettext_init):
11810 (locale_init): use a real definition instead of a macro
11812 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11814 * Bufferview_pimpl.C:
11816 * LColor.C: further lcolor tidies
11818 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11820 * BufferView_pimpl.C (updateScrollbar): simplify.
11822 * BufferView2.C: don't include insets/insetinfo.h, change
11823 prototype for insertInset and call the Pimpl version. let
11824 updateInset call Pimpl version.
11826 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11827 gotoInset to BufferView::Pimpl
11829 2001-06-01 Juergen Vigna <jug@sad.it>
11831 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11832 inside a LockingInset (is the update needed at all?).
11834 2001-05-31 Juergen Vigna <jug@sad.it>
11836 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11837 here not the old one otherwise how should we compare it afterwards
11840 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11845 * FontInfo.C: bring C functions into global namespace when
11848 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11850 * LString.h: make sure config.h has been loaded before LString.h.
11852 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11853 (one for each char read by EatLine!).
11855 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11858 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11860 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11861 to the same as the par we break from
11863 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11865 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11867 * MenuBackend.C (expand): also create menu entries for wide
11868 versions of the floats.
11870 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11872 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11874 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11875 frontends/Makefile.am
11881 * tabular.C (getTokenValue): add std::
11883 * tabular-old.C (getTokenValue): add std::
11884 (getTokenValue): ditto
11885 (getTokenValue): ditto
11887 * screen.C (ToggleSelection): adjust
11889 * lyxtext.h: put selection cursors inside a Selection struct.
11891 * lyxfunc.C (moveCursorUpdate): adjust
11893 * lyxfont.C (latexWriteStartChanges): add std::
11895 * lyxfind.C: adjust
11897 * font.h: delete with(char const *, LyXFont const &)
11899 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11901 * FontInfo.C (getFontname): add std::
11903 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11904 (workAreaButtonPress): adjust
11905 (tripleClick): adjust
11907 (moveCursorUpdate): adjust
11910 * BufferView2.C (gotoInset): adjust
11912 2001-05-30 Juergen Vigna <jug@sad.it>
11914 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11915 to check pspell I add this as default as I now have new pspell
11916 libraries and they seem to use this.
11918 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * text2.C (CutSelection): make the cursor valid before the call to
11923 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11925 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11926 relied on 0 terminated strings and other horrors. Bug found due to
11927 the new assert in lyxstring!
11929 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11932 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11937 * lyxfunc.C (processKeySym): change method of getting to the
11940 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11941 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11942 * BufferView_pimpl.[Ch]: here as private methods.
11944 2001-05-28 Juergen Vigna <jug@sad.it>
11946 * text.C (SetHeightOfRow): added the update() call again as it is
11947 needed to initialize inset dimensions!
11949 2001-05-16 Juergen Vigna <jug@sad.it>
11951 * text2.C (SetCharFont): Add new function with BufferView * and
11952 bool toggleall parameters for setting insets internal fonts.
11953 (SetFont): Freeze the undo as we may change fonts in Insets and
11954 all this change should be inside only one Undo!
11956 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11957 setting font's in insets as for them we have the SetFont function!
11959 2001-05-15 Juergen Vigna <jug@sad.it>
11961 * text2.C (ClearSelection): to be sure we REALLY don't have any
11964 * tabular.C (TeXCellPreamble): fixed the left border problem for
11967 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11969 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11972 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11974 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11975 LFUN_BREAKPARAGRAPH.
11977 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11978 help test to "internal only", similar for LFUN_INSERT_URL
11980 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11981 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11982 auto_region_delete and deadkeys.
11984 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11987 * LColor.C: remove some dead entries, tidy a little
11989 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11991 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11993 (Dispatch): implement LFUN_ESCAPE
11995 * commandtags.h: add LFUN_ESCAPE
11997 * LyXAction.C (init): add entry for LFUN_ESCAPE
11999 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12000 Remove commented code.
12001 (insertNote): moved here
12002 (open_new_inset): moved here
12004 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12007 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12009 * kbmap.C (findbinding): clean it up and make it work correctly.
12011 * lyx_main.C (init): do not pass argc and argv as parameters
12013 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12015 * buffer.C: fix path for OS/2 & Win32
12019 * lyx_main.C: Added os:: class.
12021 * os2_defines.h: update
12023 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12025 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12026 better by trying again with reduced state.
12028 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12030 * lyxrc.C (read): print error about invalid key sequence only when
12031 debugging (because not all latinX keysyms are known to some X
12034 * kbsequence.C (getiso): add a few std:: qualifiers
12035 (getiso): comment out extra return statement.
12037 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12041 (Dispatch): enhance the accent inset a bit. (not perfect)
12043 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12047 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12049 * bufferlist.C (emergencyWrite): fix assert() call
12051 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12053 * text.C (InsertChar): Added trivial patch to only send the "you
12054 can not do multiple spaces this way" message once during a
12057 2001-05-08 Baruch Even <baruch@lyx.org>
12059 * Makefile.am: Changed order of libraries to get LyX to link properly
12060 with the gnome frontend.
12062 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12064 * LaTeXFeatures.h: add a std:: qualifier
12066 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12068 * paragraph.C (String): use stringstream
12070 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12072 * paragraph.C (writeFile): remove footflag arg
12074 * buffer.C (makeLaTeXFile): use stringstream
12075 (latexParagraphs): remove footnot gurba
12077 * LaTeXFeatures.C (getPackages): use stringstream
12078 (getMacros): likewise
12079 (getTClassPreamble): likewise
12080 (getFloatDefinitions): new method
12082 * paragraph.C (writeFile): reindent
12085 * WorkArea.h: revert the xpos + etc changes.
12087 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12089 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12091 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12092 (pasteSelection): likewise
12093 * text2.C (CreateUndo): likewise
12095 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12097 * minibuffer.C (peek_event): temporarily reduce the functionality
12098 of the minibuffer (to allow args on lfuns)
12100 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12101 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12103 * buffer.C (readInset): add compability reading of old float
12104 lists, add reading of new style float list.
12105 (readInset): avoid reevaluation of inscmd.getCmdName()
12106 (getLists): reindent
12108 * MenuBackend.C (MenuItem): implement parsing of
12109 md_floatlistinsert and md_floatinsert.
12110 (expand::LastFiles): move initalizaton of iterators out of loop,
12111 avoid reevaluation.
12112 (expand::Documents): introduce typdedef vector<string> Strings,
12114 (expand::ExportFormats): introduce typedef vector<Format const *>
12115 Formats, and use it.
12116 (expand): implement FloatListInsert and FloatInsert.
12118 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12119 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12120 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12122 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12124 (Dispatch::LFUN_FLOAT_LIST): implement
12126 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12128 * LaTeX.C (run): Fix problem with --export code.
12130 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12132 * BufferView.[Ch] (workarea): removed.
12133 (getClipboard) new method; wrapper for workarea()->getClipboard()
12135 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12138 * WorkArea.h (width, height, xpos, ypos): These methods all
12139 returned the dimensions of the work_area sub-area of WorkArea,
12140 resulting in a position error if the WorkArea were resized. Now
12141 return the dimensions of the entire WorkArea.
12143 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12145 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12147 * LaTeX.C (deplog): correct the syntax of regex reg1
12149 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12151 * undo.C: remove !NEW_INSETS cruft
12153 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * text2.C: remove !NEW_INSETS cruft
12157 * text.C: remove !NEW_INSETS cruft
12159 * tabular.C: remove !NEW_INSETS cruft
12161 * spellchecker.C: remove !NEW_INSETS cruft
12163 * lyxtext.h: remove !NEW_INSETS cruft
12165 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12167 * lyxfunc.C: remove !NEW_INSETS cruft
12169 * lyxfind.C: remove !NEW_INSETS cruft
12171 * lyx_cb.C: remove !NEW_INSETS cruft
12173 * figureForm.C: remove !NEW_INSETS cruft
12175 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12177 * buffer.[Ch]: remove !NEW_INSETS cruft
12179 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12181 * CutAndPaste.C: remove !NEW_INSETS cruft
12183 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12185 * BufferView2.C: remove !NEW_INSETS cruft
12187 * BufferView.h: remove !NEW_INSETS cruft
12189 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12191 * Lsstream.h: include LString.h before the sstream headers to
12192 fix problem with gcc 2.95.3 and lyxstring
12194 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12196 * lyx_main.C: add using directives when needed for C functions
12197 declared in std:: namespace.
12199 2001-04-27 Juergen Vigna <jug@sad.it>
12201 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12202 (SetHeightOfRow): comment out the update call should not be needed!
12204 2001-04-13 Juergen Vigna <jug@sad.it>
12206 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12207 (LyXTabular): tried to minimize operator= operations (and realized
12208 hopfully Lars wish).
12210 2001-04-27 Juergen Vigna <jug@sad.it>
12212 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12214 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12218 * buffer.C (readInset): hack to make listof algorithm work
12220 * BufferView_pimpl.C: hack to make listof algorithm work
12222 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * LyXAction.C: removed all !NEW_INSETS cruft
12225 (init): moved lfun_item in method
12227 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12229 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12231 * BufferView2.C (theLockingInset): white space.
12233 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * minibuffer.C: include <iostream>
12237 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12239 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12241 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12243 * text.[Ch] (TransposeChars): new method
12245 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * call message directly through LyXView instead of through LyXFunc
12248 * BufferView2.C: adjust
12249 * BufferView_pimpl.C: adjust
12250 * FontLoader.C: adjust
12252 * bufferview_funcs.C: adjust
12253 * converter.C: adjust
12254 * figureForm.C: adjust
12255 * importer.C: adjust
12257 * lyx_gui_misc.C: adjust
12258 * lyxfunc.C: adjust
12261 + more files in subdirs
12263 * lyxparagraph.h (size): move up int file
12266 * adjust all uses of Assert to lyx::Assert.
12268 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12269 lyxfunctional in namespace lyx
12270 * layout.C (hasLayout): ditto
12273 (delete_layout): ditto
12274 (NumberOfClass): ditto
12275 * converter.C (GetFormat): ditto
12280 * bufferlist.C (getFileNames): ditto
12281 (emergencyWriteAll): ditto
12284 * MenuBackend.C (hasSubmenu): ditto
12287 * BufferView_pimpl.C (getInsetByCode): ditto
12289 2001-04-18 Juergen Vigna <jug@sad.it>
12291 * vspace.C (asLatexString): fixed the 100% problem.
12293 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12295 * lyxfunc.C (Dispatch):
12297 * minibuffer.h: add a few std:: qualifiers
12299 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * minibuffer.[Ch]: reimplement so that commands is initiated and
12302 run from lyxfunc, simplified som handling, and made the completion
12303 and history code for complete. wip.
12305 * lyxfunc.C (processKeySym): call message
12306 (miniDispatch): new temporary method
12307 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12308 (LFUN_MESSAGE): implement
12309 (LFUN_MESSAGE_PUSH): implement
12310 (LFUN_MESSAGE_POP): implement
12311 (initMiniBuffer): the initial/defualt minibuffer message.
12313 * lyxfont.[Ch]: inline some more getters
12315 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12317 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12319 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12320 (AutoSave): use LFUN_MESSAGE
12321 (Reconfigure): ditto
12323 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12325 * figureForm.C: use LFUN_MESSAGE
12327 * converter.C (runLaTeX): use LFUN_MESSAGE
12329 * bufferview_funcs.C: use LFUN_MESSAGE
12331 (changeDepth): ditto
12333 * bufferparams.h: use boost::
12335 * bufferlist.h: inherit privately from noncopyable
12337 * bufferlist.C (loadLyXFile): remove some commented code.
12339 * buffer.C (runChktex): use LFUN_MESSAGE
12341 * ShareContainer.h: inherit privately from noncopyable
12343 * ParagraphParameters.[hC] (depth): inline it.
12345 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12347 (message): new method
12348 (messagePush): ditto
12349 (messagePop): ditto
12350 (show): init minibuffer
12351 (showState): direct call
12353 * LaTeX.[Ch]: inherit privately from noncopyable
12354 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12355 instead of WriteStatus.
12357 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12359 * BufferView_pimpl.C (buffer): don't init minibuffer
12360 (workAreaButtonPress): use LFUN_MESSAGE
12361 (workAreaButtonRelease): ditto
12362 (savePosition): ditto
12363 (restorePosition): ditto
12364 (MenuInsertLyXFile): ditto
12365 (workAreaExpose): don't init minibuffer
12366 (update): remove commented code, simplify
12368 * BufferView2.C (openStuff): use LFUN_MESSAGE
12369 (toggleFloat): ditto
12372 (copyEnvironment): ditto
12373 (pasteEnvironment): ditto
12378 (updateInset): remove some commented code
12380 * lastfiles.h: inherit privately from noncopyable
12383 * lyx_main.h: ditto
12385 * lyxlex_pimpl.h: ditto
12387 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12388 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12389 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12391 * LyXAction.h: inherit privately from noncopyable, add methods
12392 func_begin, func_end, returning iterators to the func map.
12394 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12395 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12396 (func_begin): new method
12397 (func_end): new method
12399 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12401 (copySelection): ditto
12402 (pasteSelection): ditto
12404 * BufferView.C: whitespace change
12405 * BufferView.h: inherit privately from noncopyable
12407 2001-04-16 Allan Rae <rae@lyx.org>
12409 * tabular-old.C (l_getline):
12410 * spellchecker.C (sc_check_word):
12411 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12412 an unrecognised preprocessor directive. So ensure they're wrapped.
12414 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12416 * src/exporter.C (Export): Give an error message when path to file
12419 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12421 * LaTeX.C (deplog): Always check that foundfile exists.
12423 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12426 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12428 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12430 * tabular.[Ch] (getLabelList): implement new method
12432 * minibuffer.h: comment ouf setTiimer
12434 * minibuffer.C (ExecutingCB): constify res
12435 (peek_event): constify s
12436 (Set): constify ntext
12437 (Init): constify nicename
12439 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12441 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12442 (savePosition): use two params to Minibuffer::Set
12443 (restorePosition): ditto
12445 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12447 * lyx_main.C: include language.h
12449 * Makefile.am (lyx_main.o): add language.h
12451 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12457 * CutAndPaste.C: include gettext.h
12459 * lyxfont.h: remove old hack with ON and OFF.
12462 * lyxfont.h: do not include language.h...
12467 * bufferview_funcs.C:
12473 * paragraph.C: ... but do it here instead
12475 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12479 * tabular.C: small reformat
12481 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12484 (BreakParagraph): ditto
12485 (SetOnlyLayout): ditto
12488 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12491 * lastfiles.C: removed most using decl, add std:: where needed
12493 * buffer.C: ws changes
12495 * MenuBackend.C (class compare_format): put into anon namespace
12496 (expand): constify label, names, action, action2
12499 * text.C (SingleWidth): constify font
12500 (IsBoundary): constify rtl2
12501 (GetVisibleRow): constify ww
12503 * LaTeX.C (deplog): constify logfile
12505 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12507 (workAreaExpose): constify widthChange, heightChange
12509 * lyxrow.C (par): moved
12512 * lyxrow.h: as inlines here
12514 * lyxfont.h (shape): moved from lyxfont.C
12515 (emph): moved from lyxfont.C
12517 * lyxfont.C (LyXFont): use initialization list for all
12519 (shape): move to lyxfont.h as inline
12520 (emph): move to lyxfont.h as inline
12523 2001-04-04 Juergen Vigna <jug@sad.it>
12525 * vspace.C: had to include stdio.h for use of sscanf
12527 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12530 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12531 independent of xforms.
12533 2001-04-02 Juergen Vigna <jug@sad.it>
12535 * spellchecker.C: fixed namespace placing!
12537 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12539 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12540 the LyXParagraph * is 0.
12542 2001-03-29 Juergen Vigna <jug@sad.it>
12544 * vspace.C: added support for %, c%, p%, l%.
12545 (stringFromUnit): added helper function.
12546 (asLatexString): changed to give right results for the %-values.
12548 * buffer.C: convert the widthp in a width%.
12550 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12552 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12555 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12556 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12558 * lyx_cb.[Ch]: see above.
12560 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12564 * lyx.[Ch]: replaced by figure_form.[Ch].
12568 * lyxfunc.C: changed headers associated with above changes.
12570 2001-03-27 Juergen Vigna <jug@sad.it>
12572 * BufferView_pimpl.C: set the temporary cursor right!
12574 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12576 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12578 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12580 * LString.h: removed "using std::getline"!
12582 * BufferView_pimpl.C (Dispatch): changes due to changes in
12583 InsetInclude::Params.
12585 * buffer.C (tag_name): removed redundant break statements as they were
12586 producing lots of warnings with my compiler.
12588 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12590 * LString.h: add "using std::getline" when using the real <string>.
12592 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12594 * buffer.C: removed bitset usage.
12595 PAR_TAG moved to an anonymous name space.
12596 (tag_name): new funtion, also in the anonymous namespace.
12597 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12598 (makeDocBookFile): clean code. Completed transition from string arrays
12600 (SimpleDocBookOnePar): code clean.
12602 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12604 * tabular.C: add some comments.
12606 2001-03-22 Juergen Vigna <jug@sad.it>
12608 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12609 compatibility read a bit and fixed bug with minipage in different
12612 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12614 * buffer.C (pop_tag): removed.
12615 (push_tag): removed.
12616 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12617 array replaced with vector. Added support for CDATA sections.
12618 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12620 (makeDocBookFile): XML conformant declaration of CDATA section,
12621 fixed bug related to <emphasis> in the first paragraph char.
12622 (sgmlOpenTag): exclude empty tags.
12623 (sgmlCloseTag): ditto.
12625 * buffer.h (pop_tag): removed.
12626 (push_tag): removed.
12628 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12630 * language.h (Languages): added size_type and size().
12632 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12634 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12635 response on compability reading of minipages. One probliem is that
12636 the old usage of minipages was «flertydig»
12638 * several files here and in subdirs: don't use static at file
12639 scope use anon namespaces instead.
12641 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12643 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12644 LaTeX output. This is necessary for Literate document
12647 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12649 * buffer.C: insert hfill when needed.
12651 * tabular.C (l_getline): use string::erase, small whitespace change.
12653 * BufferView_pimpl.C: try the anon namespace.
12654 * WorkArea.C: ditto
12656 2001-03-16 Juergen Vigna <jug@sad.it>
12658 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12659 otherwise it won't open options-dialogs.
12661 * buffer.C: honor pextraWidth(p) on converting minipages.
12663 * tabular.C (l_getline): changed the functions to strip trailing \r.
12665 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12667 * BufferView_pimpl.C:
12668 * minibuffer..C: added "using SigC::slot" declaration.
12670 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12672 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12678 * paragraph.C: ditto
12680 * lyxtext.h: NO_PEXTRA
12682 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12684 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12685 * ParameterStruct.h: ditto
12686 * ParagraphParameters.h: ditto
12687 * lyxparagraph.h: ditto
12689 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12691 * buffer.C: add compability for minipage alignment.
12692 (latexParagraphs): remove unwanted pextra check.
12694 * several files: remove CXX_WORKING_NAMESPACES
12696 * buffer.C (pop_tag): tie is in namespace boost
12698 * BufferView.h: noncopyable is in namespace boost
12700 * lyx_main.h: ditto
12703 * lastfiles.h: ditto
12704 * bufferlist.h: ditto
12705 * ShareContainer.h: ditto
12707 * LyXAction.h: ditto
12710 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12712 * Merging changes from BRANCH_MVC back into HEAD.
12714 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12716 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12718 * BufferView_pimpl.C: change from intl.C
12722 * Makefile.am: move combox.*
12728 * intl.C: remove dialog (covered by prefs)
12730 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12732 * lyxfunc.C (Dispatch): removed redundant break statement.
12734 2001-03-14 Juergen Vigna <jug@sad.it>
12736 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12738 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12740 * buffer.C: add hack to fix compability reading of minipages.
12742 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12744 * buffer.C (getLists): Cleanup.
12746 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12748 * lyxfont.C (update): don't honor toggleall on font size.
12750 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12754 * Makefile.am: moved to frontends/xforms/
12758 * BufferView_pimpl.C: changes for moved mathpanel
12760 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12762 * gettext.h: fix gettext_init() in --disable-nls
12764 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12766 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12768 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12771 * lyx.h: strip external form
12773 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12775 * BufferView_pimpl.C: add comment, destroySplash()
12777 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12779 * BufferView_pimpl.C:
12783 * lyxfunc.C: use re-worked insetinclude
12785 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12787 * buffer.C: add using std::stringstream.
12789 * lyx_cb.C: readd using std::ios.
12791 * buffer.C: add using std::map.
12793 * BufferView_pimpl.C: add using std::vector.
12795 * ShareContainer.h: add std:: to swap.
12797 * buffer.h: add some typedefs
12798 * buffer.C (getLists): use them
12799 (getLists): renamed from getTocList.
12800 add a counter for the different float types and use it in the
12802 (getLists): use the same counter for the NEW_INSETS and the "non"
12805 * lyx_cb.h: remove unused items, includes, using etc.
12807 * ShareContainer.h: remove some commented code, add more comments
12808 and "documentation".
12810 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12812 * buffer.C (getTocList): make the list also when NEW_INSETS is
12815 * buffer.h: remove TocType
12817 * buffer.C (getTocList): change to return a map<string,
12818 vector<TocItem> >, implement for dynamic number of list.
12820 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12821 * text2.C (PasteSelection): adjust
12822 * CutAndPaste.C (pasteSelection): adjust
12824 * FloatList.C (FloatList): update from the new_insets branch.
12825 * Floating.[Ch]: ditto
12826 * LaTeXFeatures.C: ditto
12828 * lyxlex_pimpl.C: ditto
12830 * paragraph.C (Last): remove when NEW_INSETS is defined.
12832 * other file: changes because of the above.
12834 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12836 * lyxparagraph.h: rename next to next_, previous to previous_,
12837 make them private for NEW_INSETS. Rename Next() to next(),
12838 Previous() to previous().
12840 * other files: changes because of the above.
12842 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12845 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12848 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * main.C (main): pass lyx_localedir to gettext_init().
12852 * gettext.h: remove locale_init and gettext_init macros
12854 * gettext.C (locale_init): new function
12855 (gettext_init): new function
12857 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12860 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12862 * Moved credits to frontends:
12863 * credits.[Ch]: removed
12864 * credits_form.[Ch]: removed
12865 * lyx_gui_misc.C: remove credits stuff
12868 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12870 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12872 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12873 unneeded destructor.
12875 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12876 a standalone pointer again.
12878 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12880 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12886 * ToolbarDefaults.C:
12895 * BufferView_pimpl.C: use new file dialog in GUII
12898 * lyx_cb.C: remove LayoutsCB to Toolbar
12900 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12902 * ShareContainer.h (get): add std:: qualifier
12904 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12906 * ShareContainer.h: define a proper ShareContainer::value_type
12907 type (and use typename to please compaq cxx)
12909 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12911 * lyxparagraph.h: move serveral local vars to
12912 ParameterStruct/ParagraphParameters., use ShareContainer in
12913 FontTable., make vars in FontTable private and add getter and
12916 * paragraph.C: changes because of the above.
12918 * lyxfont.h: remove copy constructor and copy assignment. (the
12919 default ones is ok), move number inside FontBits. move inlines to
12922 * lyxfont.C: add number to initializaton of statics, move several
12923 inlines here. constify several local vars. some whitespace
12924 cleanup. Dont hide outerscope variables.
12926 * Spacing.h: add two new constructors to match the set methods.
12928 * ShareContainer.h: new file, will perhaps be moved to support
12930 * ParameterStruct.h: new file
12932 * ParagraphParameters.h: new file
12934 * ParagraphParameters.C: new file
12936 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12937 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12939 * BufferView_pimpl.C: ParagraphParameter changes.
12940 * buffer.C: Likewise.
12941 * bufferview_funcs.C: Likewise.
12942 * text.C: Likewise.
12943 * text2.C: Likewise.
12945 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12947 * lyxfind.C (LyXReplace): do not redefine default argument in
12949 (IsStringInText): ditto
12950 (SearchForward): ditto
12951 (SearchBackward): ditto
12953 2001-03-06 Juergen Vigna <jug@sad.it>
12955 * lyxfind.C (IsStringInText): put parentes around expressions.
12957 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12959 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12961 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12963 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12965 * stl_string_fwd.h: add comment
12967 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12970 * tabular.C: remove unused DocBook methods
12976 killed DO_USE_DEFAULT_LANGUAGE
12978 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12980 * lyx_gui.C: do not include language.h.
12982 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12983 arguments in function implementation.
12985 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12987 * BufferView_pimpl.C: add <ctime>
12989 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12991 * BufferView_pimpl.C: add using std::find_if
12993 2001-02-27 José Matos <jamatos@fep.up.pt>
12995 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12998 2001-02-11 José Matos <jamatos@fep.up.pt>
13000 * buffer.C (makeDocBookFile): command styles now have a parameter as
13001 "title" by default.
13003 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13005 * layout_forms.[Ch]: removed
13006 * lyx_cb.[Ch]: out character
13007 * lyx_gui.C: out character
13008 * lyx_gui_misc.C: out character
13009 * bufferview_funcs.C: : out character,
13010 added toggleall as parameter in ToggleAndShow
13012 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13014 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13016 * text2.C (SetCurrentFont): Disable number property at boundary.
13018 2001-02-26 Juergen Vigna <jug@sad.it>
13020 * lyxfunc.C (getStatus): added a string argument override function so
13021 that this is correctly called from LyXFunc::Dispatch if it contains a
13022 do_not_use_argument which is used!
13023 (Dispatch): added check for "custom" export and call appropriate func.
13025 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13027 * lyxrc.C: Add language_command_local, language_use_babel and
13028 language_global_options.
13030 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13032 * buffer.C (makeLaTeXFile): Use language_use_babel and
13033 language_global_options.
13035 2001-02-23 Juergen Vigna <jug@sad.it>
13037 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13038 which works with LyXText and putted it inside BufferView. Here now we
13039 only call for that part the BufferView::Dispatch() function.
13041 * BufferView.C (Dispatch): added.
13043 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13044 functions which needs to use a LyXText over from LyXFunc.
13045 (MenuInsertLyXFile): added
13046 (getInsetByCode): added
13047 (moveCursorUpdate): added
13048 (static TEXT): added
13050 2001-02-22 Juergen Vigna <jug@sad.it>
13052 * BufferView_pimpl.C (update): call a status update to see if LyXText
13055 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13057 * vc-backend.C (revert): implement for CVS
13058 (getLog): implement for CVS
13060 2001-02-20 Juergen Vigna <jug@sad.it>
13062 * text2.C (ClearSelection): added BufferView param for inset_owner call
13064 * lyxfunc.C (TEXT): added this function and use it instead of
13065 directly owner->view()-text of getLyXText().
13067 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13069 * src/layout_forms.C: out preamble
13070 * src/layout_forms.h: out preamble
13071 * src/lyx_cb.C: out preamble
13072 * src/lyx_cb.h: out preamble
13073 * src/lyx_gui.C: out preamble
13074 * src/lyx_gui_misc.C: out preamble
13075 * src/lyxfunc.C: connect with guii preamble
13077 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13079 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13081 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13083 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13084 whether to run bibtex.
13086 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13088 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13090 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13092 * Makefile.am (lyx_SOURCES): removed bibforms.h
13094 * vspace.h: doxygen
13096 * text.C (GetVisibleRow): make several local vars const
13098 * tabular.C: small cleanup.
13100 * lyxserver.C (callback): use compare instead of strncmp
13102 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13103 inlines to after class or to paragraph.C
13105 * lyxfont.h: remove friend operator!=
13107 * converter.h: move friend bool operator< to non friend and after
13110 * combox.h: small cleanup
13112 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13113 to inlines after class def.
13115 * buffer.C (pop_tag): use string operations instead of strcmp
13117 * bmtable.c: doxygen, small cleanup
13119 * LaTeX.h: remove friend operator==
13121 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13133 * BufferView_pimpl.C:
13134 * BufferView.[Ch]: remove cruft
13136 2001-02-14 Juergen Vigna <jug@sad.it>
13138 * lyxfunc.C: removed #if 0 unused code
13140 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13142 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13144 * text2.C (SetSelection): added a BufferView * parameter
13146 2001-02-13 Juergen Vigna <jug@sad.it>
13148 * lyxfunc.C (Dispatch): fixed protected blank problem.
13149 * BufferView2.C (protectedBlank): added LyxText * parameter.
13151 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13152 (AppendColumn): same as above for column_info.
13154 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13155 (moveCursorUpdate): use a LyXText param for support of InsetText.
13157 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13158 (tripleClick): ditto
13160 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13162 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13164 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13166 * text2.C (SetSelection): set correct update status if inset_owner
13167 (ToggleFree): ditto
13169 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13171 * tabular.C: remove some commented code.
13173 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13175 * BufferView_pimpl.C: call hideSplash()
13177 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13180 * bibforms.h: remove
13183 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13184 add LFUN_CHILD_CREATE
13186 * counters.h: fix tiny typo
13191 * lyx.C: move splash to frontends/xforms/
13193 * lyx_gui_misc.C: move Include and Bibform to frontends
13195 * lyxvc.h: clarify comment
13197 * vspace.C: tiny housekeeping
13199 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13201 * text.C (PrepareToPrint): RTL Fix.
13203 * paragraph.C (GetUChar): New method.
13204 (String): Use GetUChar.
13206 * buffer.C (asciiParagraph): Use GetUChar.
13208 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13210 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13212 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13215 * buffer.C: rename to getLogName(), handle
13216 build log / latex log nicely
13218 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * MenuBackend.h: remove support for reference menuitem type.
13223 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13225 * BufferView_pimpl.C: housekeeping
13226 * BufferView_pimpl.h:
13231 * minibuffer.h: move Timeout GUI-I
13233 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13235 * lyxrc.C (read): Update converters data-structures.
13237 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13239 * LaTeX.h (operator!=): add operator != for Aux_Info
13241 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13243 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13245 * LaTeXLog.C: deleted, useful code moved to Buffer
13248 * buffer.C: new function getLatexLogName()
13254 * lyxfunc.C: use frontends for LaTeX and VC logs
13256 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13258 * LaTeX.h: yet another std:: that Allan forgot.
13260 * Variables.C (set): renamed from isset(), because this clashes
13261 with some HP-UX macros (grr).
13263 2001-02-06 Allan Rae <rae@lyx.org>
13265 * LaTeX.h: Another bug fix. Missing std:: this time.
13267 2001-02-04 Allan Rae <rae@lyx.org>
13269 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13270 floats problem. I've left it commented out because it's not quite
13271 correct. It should also test that the current object is a table or
13272 figure inset. But I haven't gotten around to figuring out how to do
13273 that. I *think* it'll be something like: "table" == inset.type()
13275 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13278 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13280 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13281 all the citation/databases/styles in the auxilary file.
13282 (run): Rerun latex if there was a babel language error.
13284 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13286 * text.C (Backspace): Preserve the font when changing newline char
13288 (BreakParagraph): If the cursor is before a space, delete the space.
13290 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13292 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13294 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13295 new argument (code).
13296 (ChangeCitationsIfUnique): New method.
13298 * paragraph.C (GetPositionOfInset): Handle bibkey.
13300 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13302 * BufferView_pimpl.h: change type of Position::par_pos to
13303 LyXParagraph::size_type.
13305 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13307 * BufferView_pimpl.C (savePosition, restorePosition): Write
13308 messages to minibuffer.
13310 2001-01-28 José Matos <jamatos@fep.up.pt>
13312 * buffer.C (makeDocBookFile): adds support for document language.
13313 A silly restriction on the name of LatexCommand types where removed.
13314 Added support for CDATA sections, allows to chars unescaped, used
13315 among others in code, to avoid escape < and >.
13317 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13319 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13320 saved positions instrad of a stack. Furthermore, a position is
13321 stored using paragraph id/paragraph position.
13323 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13324 Remove LFUN_REF_BACK.
13326 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13328 * converter.C (dvipdfm_options): New method.
13330 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13332 * vspace.C (isValidLength): Fix for empty input string.
13334 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * LyXAction.C (init): change description of LFUN_FIGURE to
13339 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * LaTeX.C: add using directive
13343 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13345 * MenuBackend.C (expand): Fix the sorting of the formats.
13347 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13349 * lyx_main.C: tiny error message fix
13351 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13353 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13354 calling fl_initialize(). This fixes the problem with ',' as
13355 decimal separator in text files.
13357 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13359 * trans.C (process): Fix the keymap bug.
13361 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13363 * LaTeX.C (scanAuxFiles): New method. Provides support for
13364 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13365 (scanLogFile) Scan for "run BibTeX" messages.
13367 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13368 OT1 font encoding. Also, load the aecompl package if the ae
13371 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13373 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13375 * texrow.C (increasePos): turn two error messages into debug
13378 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13380 * LaTeX.C (scanAux): Handle the \@input macro.
13381 (runBibTeX): Use scanAux().
13383 * language.C (latex_options_): New field.
13385 * LaTeXFeatures.C (getMacros): Add language macros.
13387 * buffer.C (makeLaTeXFile): Small fix.
13389 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13393 * text2.C: add a using directive.
13395 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13400 * lyxfunc.C: kill LyXBell.
13402 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13404 * text.C (IsBoundary): Remove the error message
13406 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13408 * lyxrc.C (setDefaults): Correct initialization value for
13411 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13413 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13416 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13417 and GotoNextNote().
13419 * src/LyXAction.C: Added reference-next.
13421 * text.C (InsertChar): Use contains instead of strchr.
13423 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13425 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13427 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13428 alignment commands (when needed).
13430 * text.C (InsertChar): Add ':' to number separator chars.