1 2003-10-22 Angus Leeming <leeming@lyx.org>
3 * buffer.[Ch] (fully_loaded): new member function, returning true
4 only when the file has been loaded fully.
5 Used to prevent the premature generation of previews and by the
6 citation inset to prevent computation of the natbib-style label.
8 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
10 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
12 * text.C: fixed an "oops" in the "is a bit silly"
15 2003-10-21 André Pönitz <poenitz@gmx.net>
17 * FuncStatus.[Ch]: small stuff, whitespace
19 * lyxfont.[Ch]: operator<<() for debug reasons
23 * lyxtext.h: whitespace, spelling
25 * paragraph.C: naming of variables
28 * text2.C: small stuff
31 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
33 * text.C: (1) finish off the inset display() work;
34 (2) fix the "is a bit silly" bug (accessing char
37 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
39 * text.C: re-introduce display() for insets, fixing the
40 various bugs (stretch of line above, math inset
43 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * text.C (rightMargin): remove spurious semicolon
47 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
50 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
52 * text3.C: fix one crash due to wrong cursor def
54 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
56 * vc-backend.C (scanMaster): make the regex static
58 * LaTeX.C (scanAuxFile): make the regexs static
60 * text3.C (doInsertInset, dispatch, dispatch):
61 * text2.C (cursorUp, cursorDown):
62 * text.C (selectNextWordToSpellcheck):
63 * BufferView_pimpl.C (dispatch):
64 * lyxfunc.C (dispatch): localDispatch -> dispatch
66 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * lyxsocket.C: include <cerrno>
70 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * lyxfunc.C (dispatch): remove textcache stuff
74 * bufferlist.C (release): remove textcache stuff
77 * TextCache.C: delete file
78 * TextCache.h: delete file
80 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
82 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
83 delete of the bv_->text.
84 (resizeCurrentBuffer): remove texcache stuff
85 (workAreaResize): ditto
87 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
92 2003-10-16 André Pönitz <poenitz@gmx.net>
99 * text3.C: speed up by storing y positions per paragraph plus per-row
100 offset instead of having a 'full' y position in the row.
102 2003-10-15 André Pönitz <poenitz@gmx.net>
106 * undo.[Ch]: make undo aware of inner insets
108 2003-10-14 Angus Leeming <leeming@lyx.org>
110 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
111 static member functions LyX::ref() and LyX::cref.
112 (lastfiles): new accessor functions for the new lastfiles_ member var.
113 (addLyXView, views_): add a new LyXView to the list of views_.
114 (updateInset): loop over all LyXViews to call their own updateInset
115 member function, returning a pointer to the Buffer owning the inset.
117 * BufferView_pimpl.C (loadLyXFile):
118 * MenuBackend.C (expandLastfiles):
119 * bufferlist.C (MenuWrite, QuitLyX):
120 lastfiles is no longer a global variable.
121 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
123 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
124 static function. Access through LyX::cref().emergencyCleanup().
126 2003-10-14 André Pönitz <poenitz@gmx.net>
128 * iterators.[Ch]: new direct access to innermost LyXText and Inset
130 * undo.[Ch]: restoring part of 'undo in insets'
133 * undo_funcs.[Ch]: merge with undo.[Ch]
135 * tabular.C: small cleansing stuff
137 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
139 * paragraph_funcs.C (readParToken): report unknown insets as error
140 boxes. Use the outer paragraph as location (also for unknown
143 * factory.C (readInset): do not abort on reading an unknown inset.
146 2003-10-13 Angus Leeming <leeming@lyx.org>
148 * lyx_main.C (LyX): remove call to setDisplayTranslator().
150 * lyxrc.C: displayTranslator is now a function,
151 declared in GraphicsTypes.h.
153 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
155 * format.C: new placeholder $$a to pass the socket address.
157 * bufferlist.[Ch]: new function getBufferFromTmp.
159 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
160 files in the temporary dir.
162 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
164 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
166 * Makefile.am: add lyxsocket.[Ch].
168 * lyx_main.C (error_handler): handle SIGPIPE.
170 2003-10-13 André Pönitz <poenitz@gmx.net>
172 * BufferView_pimpl.C:
177 * undo_funcs.[Ch]: use paroffset_type instead of
178 ParagraphList::iterators to prevent multiple conversion
179 (and get a more robust interface)
181 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
183 * lyxfunc.C (dispatch): RESULT -> dispatch_result
185 * text3.C (dispatch): ditto
187 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * LaTeX.C (handleFoundFile): move the static to smaller scope,
190 move the onlyfile, use onlyfile instead of foundfile in a couple
193 * DepTable.C (update): flush the error stream a bit more
195 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
197 * lyxserver.C (callback): adjust
199 * lyxfunc.C (getStatus): add a missing brace in commented code
200 (ensureBufferClean): reindent
201 (dispatch): delete version taking a string
203 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
205 * LaTeX.C (deplog): move found file handlig from here...
206 (handleFoundFile): .. to new function here.
207 (deplog): make sure to discover several files mentioned on the
210 2003-10-10 André Pönitz <poenitz@gmx.net>
217 * text3.C: fix some of the tabular crashes
219 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
221 * MenuBackend.C (binding): put debug message into Debug::KBMAP
223 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
225 2003-10-09 André Pönitz <poenitz@gmx.net>
227 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
230 * BufferView_pimpl.C:
231 * bufferview_funcs.C:
242 * undo_funcs.C: adjust
244 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
246 * text2.C (incrementItemDepth): new function, use a backtracking
247 algorithm to discover the correct item depth.
248 (resetEnumCounterIfNeeded): new function, use a backtracking
249 algorithm to discover if counter reset is needed.
250 (setCounter): use them. Simplify a bit. Add different labels for
251 different item depths for itemize.
253 * paragraph.C (Paragraph): remove initialization of enumdepth
256 * paragraph.h: get rid of enumdepth, and use itemdepth both for
257 enumerate and itemize. Change the type of itemdepth to signed char.
259 2003-10-08 André Pönitz <poenitz@gmx.net>
261 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
266 * tabular.[Ch]: fix crash after 'row-insert'
268 2003-10-08 Angus Leeming <leeming@lyx.org>
270 Fix doxygen warnings.
272 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
273 Remove CutAndPaste:: prefix from header file declaration.
275 * LColor.h (fill): remove LColor:: prefix from declaration.
277 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
278 use lyx::depth_type rather than Paragraph::depth_type so that
279 header file and .C file match.
281 * converter.h (intToFormat): remove Converters:: prefix from declaration.
283 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
284 * aspell.C: \file aspell_local.C -> \file aspell.C
285 * gettext.C: \file gettext.C -> \file src/gettext.C
286 * gettext.h: \file gettext.h -> \file src/gettext.h
287 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
288 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
289 * text.C: \file text.C -> \file src/text.C
291 * toc.C: move comment so that doxygen is not confused.
293 2003-10-07 Angus Leeming <leeming@lyx.org>
295 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
297 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
300 * aspell_local.h: add forgotten std::string's.
302 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
309 * text3.C: The Box patch. Fancybox support, minipage, parbox
311 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
317 * ParagraphParameters.h:
327 * lyxtextclasslist.h:
331 * textcursor.h: add <string> and other small fixes to make Lars'
332 std::string patch compile with STLport.
334 2003-10-06 Angus Leeming <leeming@lyx.org>
336 * LColor.h: Add missing #include <string>.
338 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
340 * All most all file in all subdirs: Make <string> be the prefered
341 way of getting to std::string, add using declarations.
343 2003-10-06 André Pönitz <poenitz@gmx.net>
345 * metricsinfo.C: initialize LyXFont before changing attribute.
346 (fixes the 'math in \emph is upright' bug)
348 2003-10-06 André Pönitz <poenitz@gmx.net>
350 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
352 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
355 * paragraph_pimpl.C: Small fixes to build using STLport
357 2003-10-02 André Pönitz <poenitz@gmx.net>
360 * text3.C: move handling of LFUN_DEPTH *; fix #1360
362 2003-10-01 André Pönitz <poenitz@gmx.net>
364 * factory.C: assert early
366 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
368 * lyx_main.C: remove the global debug object
370 * debug.h: adjust for new debugstream
372 * debug.C: adjust for new debugstream and keep the global debug
375 2003-09-22 Angus Leeming <leeming@lyx.org>
377 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
378 of g++ which otherwise complain that the scoped_ptr destructor can't delete
379 an incomplete class LyXFont.
381 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
383 * factory.C: bug fix in branches
385 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
387 * lyxfunc.C (processKeySym): adjust
389 (dispatch): change arg name from ev to func, adjust
390 (sendDispatchMessage): ditto
392 * lyx_main.C (defaultKeyBindings): adjust keybindings
393 (deadKeyBindings): ditto
395 * kbsequence.C (addkey): return a FuncRequest
397 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
399 * kbmap.C (bind): take a FuncRequest as arg, adjust
402 (defkey): change to take a FuncRequest as arg, adjust
403 (findbinding): take a FuncRequest as arg, adjust.
405 * funcrequest.h (operator=): added
407 * funcrequest.C (FuncRequest): default kb_action changed from
408 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
410 * buffer.C (dispatch): simplify
411 (dispatch): adjust to take a FuncRequest as arg, adjust
413 * boost.C (assertion_failed): change assertion message slightly
415 * ToolbarBackend.C (read): simplify
417 * MenuBackend.C (binding): adjust call to findbinding, add a
418 message if no binding is found.
420 (expandToc): correct by adding a empty FuncRequest
422 * LyXAction.C: include <boost/assert.hpp>
423 (isPseudoAction): delete function
424 (LookupFunc): change name to...
425 (lookupFunc): this. change return type to FuncRequest.
426 (getActionName): take kb_action as arg, simplify
427 (funcHasFlag): add an assert, simplify.
429 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
431 * toc.C (action): return a FuncRequest, simplify
433 * lyxfunc.C (processKeySym): adjust
434 (getStatus): delete version that takes an int.
436 (dispatch): delete version that takes action as int
438 (sendDispatchMessage): simplify and adjust
440 * funcrequest.C (getArg): take unsigned int as arg
442 * ToolbarBackend.C (read): adjust
443 (add): delete version that takes func as a string.
444 (getIton): take a FuncRequest as arg
446 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
449 * MenuBackend.C (MenuItem): add a new construct that only takes a
450 Kind, simplify the constructor use for submenus.
452 (expandLastfiles): adjust
453 (expandDocuments): adjust
454 (expandFormats): adjust
455 (expandFloatListInsert): adjust
456 (expandFloatInsert): adjust
457 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
459 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
460 Remove class variables lyx_pseudo_map and lyx_arg_map
462 * LyXAction.C (searchActionArg): delete function
463 (getPseudoAction): delete function
464 (retrieveActionArg): delete function
465 (LookupFunc): make it return kb_action, simplify.
466 (getActionName): simplify
468 * factory.C (createInset): fix new bug
470 2003-09-19 Angus Leeming <leeming@lyx.org>
472 * CutAndPaste.C (pasteSelection): remove fudge used to set the
473 masterFilename_ parameter in the include inset.
475 * factory.C (createInset): changes due to the changes to InsetInclude.
477 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
479 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
481 2003-09-18 Angus Leeming <leeming@lyx.org>
484 * BufferView.C: pass the buffer when calling Inset::getLabelList,
485 Inset::fillWithBibKeys.
486 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
488 2003-09-18 Angus Leeming <leeming@lyx.org>
490 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
492 (ctor): pass and store a 'Buffer const &'
493 (buffer): new member function.
495 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
496 '*this' to the LaTeXFeatures ctor.
498 2003-09-18 Angus Leeming <leeming@lyx.org>
504 * text.C: rename EnumLColor as LColor_color.
506 2003-09-18 Angus Leeming <leeming@lyx.org>
508 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
509 remove #include "insets/insetbase.h" from cursor.h.
511 2003-09-18 Angus Leeming <leeming@lyx.org>
513 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
514 InsetOld_code to remove #include "inset.h".
516 * iterators.C: add #include "insets/inset.h"
518 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
520 * BufferView.C: remove more locking stuff that apparently doesn't
521 do anything sensible.
523 2003-09-16 André Pönitz <poenitz@gmx.net>
526 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
529 2003-09-16 Angus Leeming <leeming@lyx.org>
531 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
533 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
536 * paragraph.h: remove #include "lyxfont.h". Forward declare
539 2003-09-16 Angus Leeming <leeming@lyx.org>
541 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
542 of support/textutils.h.
543 (isWord): move the contents of support/textutils.h's IsWordChar here.
549 * text2.C: add #include "paragraph.h".
552 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
554 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * LaTeX.C: use namespace alias for lyx::support::os
562 2003-09-16 Angus Leeming <leeming@lyx.org>
565 * bufferview_funcs.C:
570 * text.C: add #include "LColor.h".
572 2003-09-16 Angus Leeming <leeming@lyx.org>
574 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
575 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
577 Store the FontBits::color variable as an int rather than as an
578 LColor::colorso that we can move LColor.h out of the lyxfont.h header
581 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
582 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
583 string calls together.
585 * lyxrc.C: add #include "LColor.h".
587 2003-09-15 Angus Leeming <leeming@lyx.org>
589 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
592 2003-09-15 Angus Leeming <leeming@lyx.org>
594 * LColor.h: add an EnumLColor wrapper for LColor::color.
596 * lyxfont.[Ch] (color, setColor, realColor):
597 * lyxtext.h, text.C (backgroundColor):
598 pass EnumLColor args to/from the functions, rather than LColor::color
602 * lyxtext.h: forward declare EnumLColor.
604 * lyx_main.C: add #include "LColor.h".
606 2003-09-15 Angus Leeming <leeming@lyx.org>
608 * .cvsignore: add lyx-gtk.
610 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
615 * ParagraphParameters.C
629 * vc-backend.C: remove usage of STRCONV
631 2003-09-15 Angus Leeming <leeming@lyx.org>
633 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
634 explicitly define the color passed to the painter.
636 2003-09-15 Angus Leeming <leeming@lyx.org>
638 * bufferparams.C (BufferParams): reorder member initializers to avoid
641 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
643 * CutAndPaste.C (pasteSelection): remove an outdated #warning
644 * text.C (updateRowPositions): remove an unusual nop
646 2003-09-12 André Pönitz <poenitz@gmx.net>
648 * BufferView_pimpl.C:
657 * Counters.[Ch]: finish the 'automatic counters' job
659 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
661 * aspell.C: include <boost/assert.cpp> (compile fix)
663 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
665 * boost.C (assertion_failed): use lyx::support::abort instead of
668 2003-09-10 Angus Leeming <leeming@lyx.org>
670 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
671 with their _fwd progeny.
673 2003-09-09 Angus Leeming <leeming@lyx.org>
675 134 files throughtout the source tree: replace 'using namespace abc;'
676 directives with the appropriate 'using abc::xyz;' declarations.
678 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
680 * boost.C (emergencyCleanup): moved here from LAssert.c
681 (assertion_failed): new function, called by BOOST_ASSERT
683 * several files: change Assert to BOOST_ASSERT
685 2003-09-09 Angus Leeming <leeming@lyx.org>
687 * buffer.[Ch]: Add an Impl class and move Buffer's member
688 variables into it. As a result move several header files out of
691 Add header files to lots of .C files all over the tree as a result.
693 2003-09-09 Angus Leeming <leeming@lyx.org>
695 * buffer.[Ch]: make Buffer's member variables private. Add
698 Lots of changes all over the tree as a result.
700 2003-09-08 Angus Leeming <leeming@lyx.org>
702 * graph.C: #include <config.h>.
704 2003-09-08 Angus Leeming <leeming@lyx.org>
708 * BufferView_pimpl.C:
737 * toc.C: remove redundant using directives.
739 2003-09-07 Angus Leeming <leeming@lyx.org>
741 * LaTeXFeatures.h: remove #include "support/types.h".
742 * ToolbarBackend.h: remove #include <algorithm>.
743 * changes.h: remove #include <ctime>.
744 * debug.h: remove #include <iosfwd>.
745 * graph.h: remove #include "support/std_string.h".
746 * lyx_main.h: remove #include <csignal>.
747 * lyxlex_pimpl.h: remove #include <fstream>.
748 * sgml.h: remove #include <algorithm>, <utility>.
749 * toc.h: remove #include "support/std_ostream.h".
750 Add #include <iosfwd>.
752 2003-09-07 Angus Leeming <leeming@lyx.org>
754 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
756 * converter.h: forward declare LatexRunParams.
757 * encoding.h: remove #include "lyxrc.h".
758 * lyxtext.h: remove #include "LColor.h".
759 * lyxtextclass.h: remove #include "support/types.h".
760 * trans.h: remove #include "tex-accent.h".
761 * trans_mgr.h: remove #include "tex-accent.h".
762 * insets/inset.h: remove #include "support/types.h", <vector>.
763 * insets/insetcollapsable.h: remove #include "LColor.h".
764 * insets/insetinclude.h: remove #include "dimension.h".
765 * insets/insetlatexaccent.h: remove #include "dimension.h".
766 * insets/insetoptarg.h:: remove #include "insettext.h".
767 * insets/insettext.h: remove #include "dimension.h",
768 <boost/shared_ptr.hpp>
770 * insets/renderers.h: add #include "dimension.h".
771 * insets/updatableinset.h: add #include "support/types.h".
773 * many .C files: Associated changes.
775 2003-09-06 Angus Leeming <leeming@lyx.org>
777 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
778 one, inside testInvariant.
780 * PrinterParams.C: new file.
781 * PrinterParams.[Ch]: move the function bodies out of line.
783 2003-09-06 Angus Leeming <leeming@lyx.org>
785 * ParagraphParameters.h: forward declare ParameterStruct rather than
786 including its header file.
787 (depth): moved out-of-line.
789 2003-09-06 Angus Leeming <leeming@lyx.org>
791 * BufferView_pimpl.h:
794 * lyxfunc.h: forward declare LyXKeySym rather than
795 #include "frontends/LyXKeySym.h".
797 * BufferView_pimpl.C:
800 * lyxfunc.C: associated changes.
802 2003-09-06 Angus Leeming <leeming@lyx.org>
804 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
805 As a result, can remove the #include "insets/inset.h" from BufferView.h
807 2003-09-06 Angus Leeming <leeming@lyx.org>
809 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
810 As a result, can remove the #include "insets/inset.h" from BufferView.h
812 2003-09-06 Angus Leeming <leeming@lyx.org>
818 * bufferview_funcs.C:
819 * BufferView_pimpl.C:
824 * ParagraphParameters.C:
829 * frontends/controllers/ControlDocument.C:
830 * insets/insetcaption.C: rearrange the #includes into some sort of
833 * buffer.h: remove #includes ErrorList.h, undo.h
835 2003-09-06 Angus Leeming <leeming@lyx.org>
837 * support/types.h: add a 'depth_type' typedef, used to store the
838 nesting depth of a paragraph.
841 * ParameterStruct.h: use this lyx::depth_type typedef rather than
846 * ParagraphParameters.h:
847 * sgml.h: use lyx::depth_type rather than Paragraph or
848 ParameterStruct's depth_type.
851 * paragraph_funcs.h: no need to #include paragraph.h anymore.
854 * BufferView_pimpl.C:
856 * ParagraphParameters.C:
859 * bufferview_funcs.C:
866 * frontends/LyXView.C:
867 * frontends/controllers/ControlDocument.C:
868 * frontends/controllers/ControlErrorList.C:
869 * insets/insetbibitem.C:
870 * insets/insetbranch.C:
871 * insets/insetcaption.C:
872 * insets/insetcollapsable.C:
875 * insets/insetfloat.C:
876 * insets/insetfoot.C:
877 * insets/insetfootlike.C:
878 * insets/insetnewline.C:
879 * insets/insetquotes.C:
880 * insets/insettabular.C:
881 * insets/insettext.C:
882 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
884 * frontends/controllers/ControlChanges.C: #include "changes.h".
886 2003-09-06 Angus Leeming <leeming@lyx.org>
888 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
889 than #including paragraph.h.
892 * RowList.h: deleted. Superfluous.
902 * insets/insettext.h: use ParagraphList_fwd.h rather than
905 * paragraph.h: don't forward declare ParagraphList.
908 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
909 rather than ParagraphList.h. paragraph.h is still needed for the
910 Paragraph::depth_type parameters.
912 * textcursor.h: enable it to compile stand-alone in light of the
915 * bufferview_funcs.C:
927 * frontends/controllers/ControlParagraph.C:
928 * frontends/controllers/ControlTabular.C:
929 * insets/insetmarginal.C:
930 * insets/insetminipage.C:
931 * insets/insetnote.C:
932 * insets/insetoptarg.C: add header files needed to compile again.
934 2003-09-06 Angus Leeming <leeming@lyx.org>
936 * RowList_fwd.h: new file, forward-declaring Row rather than
942 * insets/insettext.h: use it instead of RowList.h
944 * bufferview_funcs.C:
951 * text3.C: #include "RowList.h".
953 2003-09-05 Angus Leeming <leeming@lyx.org>
955 * factory.C (createInset):
956 * vspace.C (c-tor): replace sscanf call with an istringstream.
957 * ispell.C: re-add missing HP/UX headers.
958 * lyxserver.C: re-add missing os2 headers.
960 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
969 * text3.C: re-add missing system headers, needed for 2.95.2.
971 2003-09-05 Angus Leeming <leeming@lyx.org>
973 Changes most place everywhere due to the removal of using directives
974 from support/std_sstream.h.
976 2003-09-05 Angus Leeming <leeming@lyx.org>
978 Replace LString.h with support/std_string.h,
979 Lsstream.h with support/std_sstream.h,
980 support/LIstream.h with support/std_istream.h,
981 support/LOstream.h with support/std_ostream.h.
983 Changes resulting throughout the tree.
985 2003-09-05 Angus Leeming <leeming@lyx.org>
987 * sgml.h: ensure that the header file can be compiled stand-alone.
988 * *.C: strip out redundant #includes. (320 in total.)
990 2003-09-04 Angus Leeming <leeming@lyx.org>
992 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
993 here (from getPackages).
995 * debug.[Ch]: add a new EXTERNAL tag.
997 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
999 * text2.C (cursorEnd): simplify
1001 (getColumnNearX): adjust
1003 * text.C (computeBidiTables): adjust
1006 * rowpainter.C (paintChars): adjust
1007 (paintSelection): adjust
1008 (paintChangeBar): adjust
1011 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1013 (numberOfSeparators): adjust
1015 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1021 * text3.C: Restricts the mouse click functionality
1022 of insets like bibtex, include, toc and floatlist to the visible
1023 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1024 up the dialogs. Cursor has to be in front of the inset (i.e.
1025 start of row) for this to function.
1027 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1029 * bufferview_funcs.C (currentState): output row information
1031 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1033 * bufferview_funcs.C (currentState): output paragraph position
1035 2003-09-04 Angus Leeming <leeming@lyx.org>
1037 * FloatList.h: move out #include "Floating.h".
1038 * LaTeX.h: move out #include "DepTable.h".
1039 * LyXAction.h: move out #include "funcrequest.h".
1040 * buffer.h: move out #include "author.h", "iterators.h".
1041 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1042 * lyx_main.h: move out #include "errorlist.h".
1043 * lyxfunc.h: move out #include "FuncStatus.h".
1044 * lyxtext: move out #include "lyxcursor.h".
1045 * paragraph_pimpl.h: move out #include "counters.h".
1047 2003-09-03 Angus Leeming <leeming@lyx.org>
1049 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1050 preamble_snippets list, enabling us to add snippets to the preamble
1051 only if the snippet was not there already.
1053 2003-09-04 Angus Leeming <leeming@lyx.org>
1055 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1057 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1062 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1064 * BranchList.C: point fix, earlier forgotten
1066 2003-09-02 Angus Leeming <leeming@lyx.org>
1068 * box.C (contains): renamed from 'contained' after a fantastic
1071 2003-09-02 John Levon <levon@movementarian.org>
1077 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1079 2003-09-02 John Levon <levon@movementarian.org>
1081 * text2.C: simplification of cursorEnd(), including partial
1084 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1086 * buffer.C (readFile): add a space
1088 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1090 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1092 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1094 * buffer.C (readFile): new function, take a filename and a
1095 ParagraphList::iterator
1097 (readFile): adjust, make it private. don't use setStream, make
1098 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1099 always contain the filename.
1101 * BufferView.C (insertLyXFile): simplify and make it work for
1104 2003-08-30 John Levon <levon@movementarian.org>
1106 * Makefile.am: fix dist (from Kayvan)
1108 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * most files: change to use const Buffer refs
1112 2003-08-27 André Pönitz <poenitz@gmx.net>
1114 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1115 on top of ownerPar().
1117 2003-08-27 John Levon <levon@movementarian.org>
1119 * funcrequest.C: properly initialise POD members
1121 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1123 * lyxtext.h (top_y): move top_y from here
1128 * BufferView_pimpl.[Ch]: to here
1129 * frontends/screen.C:
1130 * insets/insettabular.C:
1131 * insets/insettext.C: adjust
1132 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1134 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1137 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1139 2003-08-26 André Pönitz <poenitz@gmx.net>
1141 * paragraph_func.[Ch] (outerPar): new function
1144 * paragraph_funcs.C:
1145 * paragraph_funcs.h:
1146 * paragraph_pimpl.C:
1147 * text2.C: remove Inset::par_owner
1149 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1154 * text2.C: eliminates the needFullRow/display() stuff
1155 altogether, putting the logic in metrics/draw in the insets.
1157 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1159 * text2.C (redoParagraphInternal, redoParagraphs):
1160 * text.C (redoParagraph): add a call to updateRowPositions at the
1161 end of each 'metrics-like' call. Remove all others.
1162 (getRow): remove the 'y-computing' version.
1163 (getRowNearY): do not compute nor return the real y. Solve the
1164 'y < 0' problem and simplify.
1166 2003-08-22 Angus Leeming <leeming@lyx.org>
1168 * *.[Ch]: clean-up of licence and author blurbs.
1169 Also move config.h out of a few .h files and into a few .C files.
1171 2003-08-22 André Pönitz <poenitz@gmx.net>
1173 * lyxrow.[Ch]: add x_ and *fill_ members
1178 * text2.C: adjust/remove prepareToPrint() calls
1180 2003-08-22 André Pönitz <poenitz@gmx.net>
1182 * lyxrow.[Ch]: add end_ member
1184 * lyxrow_funcs.C: use LyXRow::end_
1186 * lyxtext.h (singleWidth): add LyXFont parameter
1189 * text2.C: adjust LyXText::singleWidth() calls
1191 * text.C (redoParagraph): simplify row breaking logic
1194 2003-08-19 André Pönitz <poenitz@gmx.net>
1196 * funcrequest.C: initialize button_ member
1199 * rowpainter.[Ch]: interface consolidation
1201 2003-08-18 André Pönitz <poenitz@gmx.net>
1204 * BufferView_pimpl.C:
1206 * paragraph_funcs.C:
1208 * text3.C: remove LyXScreen::draw() and fitCursor calls
1210 * BranchList.h: remove spurious semicolons
1212 * MenuBackend.C: fix branchlist related crash
1214 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1222 * bufferparams.[Ch]:
1226 * text3.C: implements the 'branch inset'
1227 idea. This allows the output of various versions of a document
1228 from a single source version, selectively outputing or suppressing
1229 output of parts of the text.
1230 This implementation contains a 'branch list editor' in a separate
1231 tab of the document settings dialog. Branches are user definable
1232 and have a "display colour" to distinguish them on-screen.
1234 ColorHandler was somewhat cleaned up.
1235 (1) make possible a dynamically growing LColor list by allowing
1236 the graphic context cache to grow along (vector);
1237 (2) eliminate an IMHO unnecessary step in colour allocation.
1239 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1241 * BufferView_pimpl.C: compile fix
1243 2003-08-15 André Pönitz <poenitz@gmx.net>
1245 * rowpainter.C: remove extra metrics calls
1247 * lyxtext.h: merge the two constructors into a single one,
1248 pass reference to owner's par list
1250 * BufferView_pimpl.C:
1254 2003-08-15 André Pönitz <poenitz@gmx.net>
1256 * lyxrow_funcs.[Ch]:
1259 * paragraph_funcs.C:
1264 * text_funcs.C: split LyXText::rowlist_ into individual
1265 Paragraph::rows_ chunks
1268 * BufferView_pimpl.[Ch]:
1271 * text3.C: remove toggleSelection()
1273 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1275 * bufferlist.C: beautify two alerts (shorter text of buttons)
1276 * buffer.C: Remove redundant ' ' from message
1278 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1279 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1280 rename VALIGN_CENTER to VALIGN_MIDDLE
1282 2003-08-11 André Pönitz <poenitz@gmx.net>
1284 * lyxtext.h (getPar):
1285 * text.C: new function
1287 2003-08-11 André Pönitz <poenitz@gmx.net>
1290 * tracer.[Ch]: remove unneeded files
1292 * InsetList.[Ch]: remove resizeInsetsLyXText()
1297 * text3.C: merge insertParagraphs() and appendParagraph()
1298 remove breakAgain(), update()
1300 * BufferView_pimpl.[Ch]:
1301 * bufferview_funcs.[Ch]:
1305 * tabular.C: adjust after text & InsetList changes.
1307 2003-08-08 André Pönitz <poenitz@gmx.net>
1309 * text.C (insertChar, backspace): replace rowlist fiddling
1310 with rebreak of full par
1313 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1314 checkParagraph, updateInset): removed
1316 2003-08-07 André Pönitz <poenitz@gmx.net>
1319 * text3.C: merge some LFUN handlers, remove dead code
1321 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1323 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1325 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1327 * text2.C (DEPM): fix part of bug 1255 and 1256
1329 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * BufferView_pimpl.C (workAreaDispatch): change to use
1332 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1333 that are no mouse related.
1335 2003-08-05 André Pönitz <poenitz@gmx.net>
1338 * BufferView_pimpl.[Ch]:
1339 * bufferview_funcs.C:
1341 * text3.C: rip out "deep update"
1343 * textcursor.[Ch] (last_sel_cursor): remove unused member
1345 2003-08-04 André Pönitz <poenitz@gmx.net>
1348 * BufferView_pimpl.[Ch]:
1349 * ParagraphParameters.C:
1350 * bufferview_funcs.C:
1356 * text3.C: replace "complicated" BufferView::update(...) calls with
1359 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1361 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1363 * Makefile.am (lyx_SOURCES): add paper.h
1365 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1367 * Makefile.am: move things around so that both lyx-qt and
1368 lyx-xforms can be built (according to --with-frontend). Then lyx
1369 is a symbolic link to lyx-[firstfrontend]
1371 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1373 * Always use std::endl with lyxerr
1375 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1377 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1379 2003-08-01 André Pönitz <poenitz@gmx.net>
1382 * BufferView_pimpl.[Ch]:
1384 * text3.C: merge BufferView::repaint() and BufferView::update()
1386 2003-08-01 José Matos <jamatos@lyx.org>
1388 * buffer.[Ch]: file_format is no longer a buffer data element.
1390 2003-08-01 André Pönitz <poenitz@gmx.net>
1395 * text2.C: make redoParagraph more independent of current cursor
1397 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1399 * text2.C: remove unneeded members
1401 2003-07-30 André Pönitz <poenitz@gmx.net>
1403 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1405 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1406 create a single function...
1408 * paragraph_funcs.C (moveItem): ... here.
1411 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1413 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1415 * LColor.[Ch]: Add comment and greyedout logical colors.
1417 2003-07-30 André Pönitz <poenitz@gmx.net>
1419 * tabular.C: don't use Assert too heavily. This crashes where it
1422 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1424 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1425 is disabled (bug 1232)
1427 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1429 * factory.C: limited 'arg' scope
1431 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1433 * factory.C: fixed Note submenu issues
1435 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1437 * factory.C: submenu for Note/Comment/Greyedout
1439 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1442 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1444 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1447 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1448 greyedout. Patch provided by Jürgen Spitzmüller.
1450 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1452 * kbmap.C (read): fix error message when reading bind files
1454 2003-07-29 Angus Leeming <leeming@lyx.org>
1456 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1457 certainly does not do what it purports to do. I am doing it, and
1458 us, a favour by killing it.
1460 2003-07-28 José Matos <jamatos@lyx.org>
1462 * buffer.C (readBody, do_writeFile):
1463 * paragraph.C(readParagraph): \end_document replaces \the_end.
1465 2003-07-29 André Pönitz <poenitz@gmx.net>
1468 * BufferView_pimpl.[Ch]:
1472 * textcursor.[Ch]: remove toggleToggle & Co
1474 2003-07-28 José Matos <jamatos@fep.up.pt>
1476 * buffer.C (readParagraph):
1477 * params_func (readParToken, readParagraph):
1478 * paragraph.C (write): \layout -> \begin_layout.
1480 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1482 * lyxlex_pimpl.C (setFile): clean up slightly.
1484 * bufferparams.h: add compressed var
1486 * buffer_funcs.C (readFile): adjust for LyXLex change
1487 (newFile): ditto + simplify
1489 * buffer.C (writeFile): handle writing of compressed files
1491 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1492 Check if the file is compressed and set a bufferparm if so.
1494 * Makefile.am (lyx_LDADD): remove explicit -lz
1496 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1499 makeDocBookFile): put the real LyX version in the first line of
1503 * version.C.in: remove lyx_docversion
1505 * tabular.C (write_attribute): add a template-based version to
1506 write enums properly
1508 2003-07-28 André Pönitz <poenitz@gmx.net>
1513 * text3.C: use doubles again for x-coordinates. They are needed.
1515 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * messages.C (getLocaleDir): use lyx_localedir()
1519 * lyxlex_pimpl.C (setFile): compress stuff
1521 * buffer.C (writeFile): add some compression stuff
1522 (do_writeFile): new func, dont call expliti close... will this
1525 * Makefile.am (lyx_LDADD): add -lz
1527 2003-07-28 José Matos <jamatos@fep.up.pt>
1529 * buffer.C: increment file format.
1530 * paragraph_funcs (readParagraph, readParToken):
1531 * paragraph.C (readParagraph): add \end_layout.
1533 2003-07-27 Angus Leeming <leeming@lyx.org>
1535 * Makefile.am: remove special casing for configure-time setting of
1536 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1538 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1539 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1541 2003-07-26 André Pönitz <poenitz@gmx.net>
1543 * paragraph_func.[Ch]:
1544 * paragraph.C (realizeFont): inline it whereever it is used
1549 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1552 2003-07-26 André Pönitz <poenitz@gmx.net>
1556 * text2.C: get rid of LyXText::need_break_row
1558 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * toc.[Ch]: put namespace toc inside namespace lyx
1562 * MenuBackend.C (expandToc2): adjust for lyx::toc
1565 * lyxfunc.C (dispatch): adjust for lyx::find
1567 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1568 lyx::find instead. Reorganize a bit.
1569 (LyXReplace): rename to replace
1570 (LyXFind): rename to find
1572 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1575 2003-07-26 André Pönitz <poenitz@gmx.net>
1577 * text.C (setHeightOfRow): restrict scope of temporary variable
1579 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1580 code (never has been used?)
1582 2003-07-27 Asger Alstrup <alstrup@local>
1584 * text.C (fill): Optimise algorithm to exploit that we can reuse
1585 the LyXFont for many characters.
1586 (setHeightOfRow): Same thing.
1587 (rowBreakPoint): Same thing.
1589 2003-07-26 Asger Alstrup <alstrup@local>
1591 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1593 * text.C (singleWidth): Spurious font copying in hot-spot
1594 singleWidth avoided. Reorder tests for arabic for efficiency.
1596 * text.C (fill): handle empty paragraphs better.
1598 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * encoding.h: add includes
1603 * lyxrc.C: remove reading of bind files
1605 * lyx_main.C (init): setup bindings and menus only if we have a
1608 * kbmap.C (read): new method. Do the actual reading of bind
1611 * converter.C (dvipdfm_options):
1614 (output): adapt PAPER_* enums.
1616 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1618 * bufferparams.h: remove paper-related enums from there
1620 * paper.h: New file. A trivial header file to hold paper-related
1621 enums. It should later expand to contain many paper-related
1624 * lyxrc.C: declare extern displayTranslator
1626 2003-07-27 José Matos <jamatos@fep.up.pt>
1628 * tabular.[Ch] (linuxdoc): add support for tables and figures
1631 2003-07-27 José Matos <jamatos@fep.up.pt>
1633 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1634 consistency in both functions.
1635 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1637 2003-07-26 Asger Alstrup <alstrup@local>
1639 * rowpainter.C (paintRows): Change algorithm to work directly on
1640 the insets rather than asking every character in the document
1641 whether its an inset.
1643 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1645 * buffer.C (openFileWrite): factorize some code
1647 2003-07-26 Angus Leeming <leeming@lyx.org>
1650 * lyx_main.[Ch]: replace occurances of system_tempdir with
1653 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * rename Inset to InsetOld
1657 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1659 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1660 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1661 which I think is a bit clearer. EDIT is gone, since it was
1662 premature optimisation, and broken for mathed anyway.
1663 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1664 with cursor positioning in insets as well (math insets still do not
1665 work, but that's a different story anyway.) It mysteriously
1666 crashes sometimes with undo in the first paragraph, but I'm fairly
1667 confident that this is a compiler bug.
1669 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1671 * paragraph.C (Paragraph): adjust for new clone return type
1673 (copyIntoMinibuffer): ditto
1675 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1677 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1678 by not having a special case, and always doing a full rebreak of
1679 the document after undo.
1681 2003-07-23 Angus Leeming <leeming@lyx.org>
1683 * factory.C (createInset): InsetExternal::setParams now takes a
1686 2003-07-23 Angus Leeming <leeming@lyx.org>
1688 * factory.C (createInset): changed interface to the external and
1689 graphics mailers' string2params functions.
1691 2003-07-23 Angus Leeming <leeming@lyx.org>
1693 * factory.C (createInset): pass a
1694 Buffer const * parameter to InsetExternalMailer's string2params.
1696 2003-07-22 John Levon <levon@movementarian.org>
1698 * Thesaurus.h: include the right aiksaurus header
1700 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1702 * MenuBackend.C (expand): check menu shortcuts unconditionally
1704 2003-07-21 Angus Leeming <leeming@lyx.org>
1706 * factory.C (createInset): pass a
1707 buffer_path parameter to InsetGraphicsMailer's string2params.
1709 2003-07-21 Angus Leeming <leeming@lyx.org>
1711 * BufferView_pimpl.C (buffer):
1714 * lyxfunc.C (dispatch):
1715 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1716 rather than the grfx shortcut.
1718 2003-07-21 André Pönitz <poenitz@gmx.net>
1720 * rowpainter.C: remove unused variables
1723 * tabular_funcs.h: move to tabular.C
1724 * Makefile.am: adjust
1726 * tabular.[Ch]: basic optical cleaning
1728 * author.h: pass references, not values
1730 2003-07-18 André Pönitz <poenitz@gmx.net>
1738 * text3.C: two-phase drawing for InsetText and InsetTabular
1739 some float -> int changes.
1741 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1743 * lyx_main.C: fix the fix
1745 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1747 * lyx_main.C: fix a crash in batch mode if no files specified
1750 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1752 * format.[Ch] (papersize): moved to BufferParams
1753 * converter.[Ch] (dvips_options): moved to BufferParams
1754 (dvipdfm_options): moved to anon namespace
1755 * bufferparams.[Ch]: added above functions.
1757 2003-07-17 André Pönitz <poenitz@gmx.net>
1761 * text2.C: don't call inset->update() anymore
1763 * metricsinfo.[Ch]: add convenience constructor
1765 2003-07-16 André Pönitz <poenitz@gmx.net>
1770 * text2.C: replace the LyXCursor::irow_ member with
1771 on-demand computation of the value
1773 2003-07-16 John Levon <levon@movementarian.org>
1775 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1777 2003-07-15 André Pönitz <poenitz@gmx.net>
1780 * text2.C: remove no more needed refresh_row
1782 2003-07-15 André Pönitz <poenitz@gmx.net>
1787 * text3.C: refresh_status tristate -> need_update bool
1789 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1791 * lyxtext.h (init): remove reinit argument (act as if always true)
1792 * text2.C: adjust to that
1794 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1796 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1797 * text3.C: use it to delete selections in some cases
1798 (bugs 441, 673, 702, 954).
1800 2003-07-14 André Pönitz <poenitz@gmx.net>
1802 * rowpainter.[Ch]: reduce interface
1804 2003-07-14 André Pönitz <poenitz@gmx.net>
1806 * BufferView_pimpl.C:
1807 * text2.C: adjust after removing unused BufferView * argument
1809 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1811 * text2.C (init): fix a crash fired on resize
1813 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1815 * buffer.[Ch]: added new closing signal
1816 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1817 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1818 BufferView::Pimpl via the closing the signal
1820 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1822 * buffer.[Ch]: take out all bv-related from buffer
1824 * BufferView_pimpl.[Ch]: connect to new signals
1825 * CutAndPaste.C: removed useless asserts
1826 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1829 * lyxfunc.C: moved view-related funciontality from vc here
1830 * paragraph.C: removed outdated comments
1833 2003-07-10 André Pönitz <poenitz@gmx.net>
1835 * BufferView_pimpl.C:
1839 * text2.C: remove InsetText::InnerCache, clean up consequences
1841 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1843 * ispell.C: fix two typos in error messages
1845 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1847 * Extend Note inset to other forms of annotation like Comment
1848 and Greyedout. Right button click gives dialog.
1850 Files modified or added (+):
1854 * ControlNote.[Ch] +
1856 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1857 frontends/controllers
1861 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1863 * aspell.C: add missing namespace lyx::support
1865 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1867 * BufferView.[Ch] (newFile): Add
1868 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1869 * LaTeX.[Ch] (message): added this signal and use it
1870 * buffer.[Ch] (busy, message): added these signals and use them
1871 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1875 * importer.C: use buffer signals instead of direct bv calling
1876 * lyx_cb.[Ch] (ShowMessage): removed
1879 * paragraph_funcs.C:
1880 * text2.C: use buffer signals
1882 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * introduce namespace lyx::graphics
1886 2003-07-02 André Pönitz <poenitz@gmx.net>
1888 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1890 2003-07-01 André Pönitz <poenitz@gmx.net>
1897 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1898 text*.C to text_func.C
1900 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * introduce namespace lyx::support
1904 2003-06-30 André Pönitz <poenitz@gmx.net>
1909 * text.C: re-enable --with-included-string
1911 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * textcursor.C: add <config.h>
1915 * text.C (getWord): remove const from word_location arg
1917 * lyxvc.C (getLogFile): fix const type order
1919 * lyxtext.h: remove const from word_location arg, add arg name
1921 * lyxlayout.h: currect type on labeltype.
1923 * importer.C: correct \file
1925 * converter.C (intToFormat): use std:: on ret val, ws changes
1927 * bufferlist.h: correct \file
1929 * buffer.C (makeLinuxDocFile): fix const type order
1930 (makeDocBookFile): ditto
1931 (fillWithBibKeys): use std:: on stdlib args.
1933 * CutAndPaste.C: fix authors.
1934 (availableSelections): use std:: on return vector
1936 2003-06-27 André Pönitz <poenitz@gmx.net>
1938 * BufferView_pimpl.C:
1939 * bufferview_funcs.C:
1947 * text3.C: remove LyXCursor::row_ member
1950 * text.C: rename fullRebreak() to partialRebreak() and implement
1951 a fullRebreak() that really bereks fully
1953 * textcursor.h: new struct for cursor-related data
1955 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1957 * lyx_main.C (LyX): get full path of document loaded on the
1960 2003-06-26 André Pönitz <poenitz@gmx.net>
1962 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1963 remove unused/broken operator>,<,>=.
1965 * text.C: remove only use of broken operator<= in an Assert().
1967 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1969 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1970 moved errorlist_.clear to showErrorList
1972 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1974 * converter.C (scanLog, runLaTeX):
1975 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1976 move the bv->showErrorList call to the callers
1977 * lyxfunc.C: i.e. here...
1979 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1980 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1981 namespace, the second to...
1982 * buffer_funcs (BufferFormat, parseErrors): added
1983 * errorlist.C (ErrorList(TeXErrors const &)): removed
1985 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1989 2003-06-24 "Garst R. Reese" <reese@isn.net>
1993 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1995 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1997 * version.C.in: change docversion to 1.4
1999 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2001 * buffer.C: fix a bug just introduced
2003 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2005 * buffer.[Ch]: added the parseError signal and use it, removed
2007 * BufferView.[Ch] (addError): moved to ...
2008 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2009 to the Buffer::parseError signal to catch (guess what) parse errors
2010 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2012 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2014 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2015 ability to create a buffer and to return an existing one from
2016 the list. Moved these functions to...
2017 * buffer_funcs.[Ch]: added
2018 * BufferView.[Ch] (loadLyXFile): added
2019 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2020 job removed from bufferlist::loadLyXFile.
2021 * buffer.C (setReadOnly): make it work without view
2022 (i.e added an if (users))
2024 2003-06-19 Angus Leeming <leeming@lyx.org>
2027 * LyXAction.C (init):
2028 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2029 with LFUN_DIALOG_SHOW <name> <data>.
2031 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2033 * CutAndPaste.C (availableSelections): small compilation fix for
2034 ancient (gcc 2.9x) compilers
2036 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * text3.C (cursorNext): add tmp var
2040 * text2.C (updateCounters): for function calling out of for clause
2041 (replaceSelectionWithString): ditto
2042 (insertStringAsParagraphs): ditto
2043 (getColumnNearX): add tmp var
2044 (setCursorFromCoordinates): add tmp var
2045 (cursorDownParagraph): add tmp var
2046 (deleteEmptyParagraphMechanism): add tmp var
2048 * text.C (insertChar): add tmp var
2050 * rowpainter.C (paintDepthBar): add tmp var
2052 * CutAndPaste.C (availableSelections): potentially check all
2053 paragraphs in a cut to fill the shown strings.
2055 2003-06-18 André Pönitz <poenitz@gmx.net>
2057 * kbmap.[Ch]: use vector<> instead of list<>
2059 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2061 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2062 pasteSelection with index
2064 * text2.C (pasteSelection): modify, call pasteSelection with index
2066 * paragraph.C (asString): reimplement version with no interval to
2067 call the one with interval.
2069 * lyxtext.h: add index arg to pasteSelection
2071 * MenuBackend.C (MenuItem): handle PasteRecent
2072 (Menu::read::Menutags): add md_pasterecent
2074 (expandPasteRecent): new function
2077 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2079 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2081 (availableSelections): new function
2083 2003-06-17 Angus Leeming <leeming@lyx.org>
2085 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2087 2003-06-17 Angus Leeming <leeming@lyx.org>
2090 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2092 * lyxfunc.C (dispatch): invoke it.
2094 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2096 * iterators.C (operator++, ParPosition): reintroduce some
2097 const_cast for the benefit of older compilers.
2099 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * text3.C (dispatch): do not modify clipboard when doing
2102 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2103 LFUN_DELETE_SKIP on a selection selection
2105 2003-06-16 André Pönitz <poenitz@gmx.net>
2111 * tabular.[Ch]: IU of clone() and getLabelList();
2113 2003-06-13 André Pönitz <poenitz@gmx.net>
2115 * tabular.h: compactification
2117 2003-06-12 André Pönitz <poenitz@gmx.net>
2121 * tabular_funcs.h: some renaming plus whitespace
2123 2003-06-12 André Pönitz <poenitz@gmx.net>
2126 * BufferView_pimpl.C:
2132 * toc.C: Return a Paragraph & for ParIterator::operator*()
2134 2003-06-11 John Levon <levon@movementarian.org>
2138 * ToolbarBackend.C: add "Toolbars" section and
2141 2003-06-10 Angus Leeming <leeming@lyx.org>
2144 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2146 * lyxfunc.C (dispatch): invoke it.
2148 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2150 * main.C: protect <ios> with HAVE_IOS
2151 (main): protect sync_with_stdio with HAVE_IOS
2153 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2155 * text2.C (cutSelection): adjust
2156 (pasteSelection): adjust
2158 * messages.C: handle get of empty string
2160 * main.C (main): use sync_with_stdio(false)
2162 * lyxfunc.C (dispatch): adjust
2164 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2165 (WriteAs): remove unneeded BufferView arg.
2167 * bufferparams.h: use correct types on papersize, papersize2 and
2170 * bufferparams.C (readToken): adjust for type
2171 (writeLaTeX): add missing cases to switch.
2173 * bufferlist.C (quitWriteBuffer): adjust
2176 * buffer.C (asciiParagraph): remove some commented code.
2178 * CutAndPaste.C: remove current_view extern variable.
2179 (cutSelection): add BufferParams arg.
2180 (eraseSelection): add BufferParams arg.
2181 (pasteSelection): add Buffer const & arg
2183 2003-06-07 John Levon <levon@movementarian.org>
2186 * paragraph_funcs.C:
2187 * paragraph_pimpl.C:
2191 * paragraph.C: allow InsetERT to freely space lines,
2192 and some consolidation of code
2194 2003-06-06 José Matos <jamatos@fep.up.pt>
2196 * buffer.C (makeDocBookFile): fix bug #821
2198 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2200 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2202 2003-06-04 Angus Leeming <leeming@lyx.org>
2204 * buffer.C: bump format to 224.
2206 2003-06-05 André Pönitz <poenitz@gmx.net>
2208 * text2.C (redoParagraphs): remove two const_cast<>
2210 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2212 * ParagraphList.h: remove last remnants of NO_STD_LIST
2214 2003-06-03 Angus Leeming <leeming@lyx.org>
2216 * factory.C (createInset): small change to the way InsetExternal's params
2219 2003-06-04 André Pönitz <poenitz@gmx.net>
2221 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2223 * paragraph_pimpl.h:
2224 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2226 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2228 * undo_funcs.C: make some simple cases of undo work again
2230 2003-06-03 John Levon <levon@movementarian.org>
2232 * ispell.C: HPUX doesn't have sys/select.h
2235 2003-06-03 John Levon <levon@movementarian.org>
2237 * CutAndPaste.C: update tabular and include inset
2242 * paragraph.C: remove owningBuffer(), don't pass Buffer
2245 * factory.C: insetGraphicsParams changed
2247 2003-06-02 John Levon <levon@movementarian.org>
2253 * text3.C: remove insetparent
2255 2003-06-02 John Levon <levon@movementarian.org>
2258 * buffer.C: fix inset_iterator.end(), move out of line
2261 2003-06-01 John Levon <levon@movementarian.org>
2263 * text3.C: use a proper cut/paste when doing inset
2264 insert (from Jürgen Spitzmüller)
2266 2003-06-01 John Levon <levon@movementarian.org>
2268 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2270 2003-05-30 André Pönitz <poenitz@gmx.net>
2272 * rowpainter.C: unify second drawing phase
2274 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2276 * trans_mgr.C: remove one case of current_view
2278 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2280 * paragraph_funcs.h: remove paragraph.h include
2282 * paragraph.h: delete NO_STD_LIST stuff
2284 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2286 * buffer.h: remove paragraph.h include
2288 * ParagraphList.C: delete file
2290 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2292 * toc.C (getTocList): adjust
2294 * paragraph_pimpl.C (validate): adjust
2296 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2298 * paragraph.C (Paragraph): adjust
2299 (getPositionOfInset): use const_iterator, adjust
2300 (bibitem): use const_iterator, adjust
2301 (setInsetOwner): adjust
2303 * iterators.C (operator++): adjust
2305 * InsetList.[Ch]: Replace selfmade iterator with standard
2306 vector::iterator also introduce const_iterator. Remove getPos,
2307 getInset and setInset from InsetTable. Adjust accordingly.
2309 * BufferView.C (lockInset): adjust
2310 (ChangeInsets): adjust
2312 * tabular.[Ch]: delete commented same_id functions
2314 2003-05-28 John Levon <levon@movementarian.org>
2316 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2318 2003-05-28 André Pönitz <poenitz@gmx.net>
2320 * metricsinfo.[Ch]: remove 'fullredraw' member
2322 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2324 * lyxtextclass.C (operator): remove caching.
2326 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2330 * text2.C (cursorBottom): adjust
2331 (setCounter): use ParagraphList::find, adjust
2333 * text.C (workWidth): use ParagraphList::find, adjust
2335 * lyxcursor.C (LyXCursor): adjust
2337 * buffer.C (inset_iterator): adjust
2339 * ParagraphList.h: make iterator(value_type) private, make
2340 ParagraphList a friend of iterator.
2342 * ParagraphList.C (find): new function
2344 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2346 2003-05-27 André Pönitz <poenitz@gmx.net>
2348 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2350 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2352 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2354 2003-05-26 John Levon <levon@movementarian.org>
2356 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2358 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * remove same_id from function signatures, adjust.
2362 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2366 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2368 * paragraph.C (Paragraph): get rid of same_ids parameter
2370 * ParagraphList.C (insert): adjust
2373 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2375 * paragraph_funcs.C (breakParagraph): adjust
2376 (breakParagraphConservative): adjust
2378 * buffer.C (readParagraph): adjust
2380 * ParagraphList.C (insert): take a reference instead of a pointer
2383 * paragraph.[Ch] (id): new function
2385 * bufferlist.C (newFile): adjust
2387 * ParagraphList.C (ParagraphList): adjust
2389 (push_back): take a reference instead of a pointer.
2391 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2393 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2396 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2397 set else use old code.
2399 * ParagraphList.C: remove all NO_NEXT code and only compile this
2400 code of NO_STD_LIST is set.
2402 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2404 * BufferView_pimpl.C:
2414 * graphics/GraphicsConverter.C:
2415 * graphics/PreviewLoader.C: header adjustment
2417 2003-05-23 Angus Leeming <leeming@lyx.org>
2419 * LaTeXFeatures.[Ch] (useBabel): new method.
2420 * bufferparams.C (writeLaTeX): use it.
2422 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * ParagraphList.h (set): remove unused function.
2426 2003-05-23 André Pönitz <poenitz@gmx.net>
2429 * BufferView_pimpl.C:
2433 * undo_funcs.C: setUndo reworked
2435 * iterators.[Ch]: add access to topmost ParagraphList
2437 * lyxtext.[Ch] (workWidth): add a const
2439 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2441 * texrow.[Ch] (increasePos): remove function
2442 * exporter.C (export): removed unused var and outdated comment
2444 2003-05-23 Angus Leeming <leeming@lyx.org>
2446 * latexrunparams.h: rename fragile as moving_arg.
2447 * paragraph.C (simpleTeXOnePar): ditto.
2448 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2450 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2454 (textUndoOrRedo): comment out a currently unused var.
2456 * paragraph.h (NO_NEXT): enable NO_NEXT
2458 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2460 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2462 * exporter.C (Export): adjust for removeAutoInsets removal.
2464 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2466 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2468 * BufferView.[Ch] (removeAutoInsets): delete function
2470 2003-05-22 Angus Leeming <leeming@lyx.org>
2472 * latexrunparams.h: add a free_spacing variable.
2474 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2475 to pass moving_arg, as the data is stored in runparams.fragile.
2477 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2478 to Inset::latexOptional or to simpleTeXOnePar.
2480 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2481 free_spacing arg to Inset::latexOptional.
2483 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2486 2003-05-22 Angus Leeming <leeming@lyx.org>
2488 * latexrunparams.h: add fragile and use_babel variables.
2490 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2491 * buffer.C (makeLaTeXFile): store this returned value in
2492 runparams.use_babel, thus passing it to the inset::latex methods.
2494 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2495 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2497 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2498 longer has a fragile arg, as it is stored in runparams.fragile.
2500 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2501 moving_arg parameter as the data is stored in runparams.fragile.
2503 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2504 a fragile parameter as the data is stored in runparams.fragile.
2506 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2510 2003-05-22 Angus Leeming <leeming@lyx.org>
2512 * latexrunparams.h: add a 'bool nice' which defaults to false.
2514 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2515 now encapsulated within runparams.
2517 * bufferlist.C (updateIncludedTeXfiles):
2518 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2520 2003-05-22 Angus Leeming <leeming@lyx.org>
2522 * latexrunparams.h: new file containing struct LatexRunParams.
2523 * Makefile.am: add new file.
2525 * LaTeX.[Ch] (c-tor, run):
2526 * buffer.[Ch] (makeLaTeXFile):
2527 * bufferlist.[Ch] (updateIncludedTeXfiles):
2528 * converter.C (convert, scanLog):
2529 * converter.[Ch] (runLaTeX):
2530 * exporter.C (Export):
2531 * paragraph.[Ch] (simpleTeXOnePar):
2532 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2533 * paragraph_funcs.[Ch] (latexParagraphs):
2534 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2535 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2536 pass around a LatexRunParams parameter.
2538 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2540 * paragraph.[Ch]: remove unused constructor
2542 * ParagraphList.C (erase): new function, taking two iterators
2544 2003-05-22 André Pönitz <poenitz@gmx.net>
2546 * undo_funcs.C: remove duplicated code
2548 * iterator.[Ch]: operator=
2550 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2552 * tabular.C (SetMultiColumn): ws changes
2554 * rowpainter.C (paintFirst): get rid of a ->previous
2556 * lyx_cb.C (getPossibleLabel): parlist simplification
2558 * BufferView.C (ChangeInsets): simplify slightly.
2560 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2562 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2563 * lfuns.h: new LFUN_SPACE
2564 * lyxfunc.C: protected space has a new lfun
2565 * paragraph_funcs.C: read new space insets
2567 * factory.C: handle new space insets
2569 2003-05-22 André Pönitz <poenitz@gmx.net>
2572 * BufferView_pimpl.C:
2575 * undo_funcs.C: return a ParIterator from getParFromID.
2577 * iterators.[Ch]: add two const's
2579 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * toc.C (getTocList): adjust
2583 * iterators.[Ch]: rework for parlist
2585 * buffer.C (par_iterator_begin): adjust
2586 (par_iterator_end): adjust
2588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2590 * BufferView.C (removeAutoInsets): adjust
2591 (ChangeInsets): adjust
2593 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2595 * text.C (top_y): fix bug 1110
2597 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2599 * errorlist.[Ch]: added
2602 * BufferView_pimpl.C:
2603 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2606 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * Makefile.am: ensure that lyx is relinked upon changes to the
2609 various "convenience" libs.
2611 2003-05-20 Angus Leeming <leeming@lyx.org>
2613 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2614 files are compiled in alphabetical order again.
2616 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2618 2003-05-19 Angus Leeming <leeming@lyx.org>
2620 * gettext.[Ch]: remove "char const * _(char const *)".
2622 2003-05-19 André Pönitz <poenitz@gmx.net>
2624 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2633 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2635 2003-05-19 André Pönitz <poenitz@gmx.net>
2639 * lyxtextclass.[Ch]:
2641 * paragraph_funcs.[Ch]:
2643 * text3.C: more insetenv work
2645 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2647 * ParagraphParameters.C (params2string): small bug fixed
2649 2003-05-16 André Pönitz <poenitz@gmx.net>
2652 * bufferview_funcs.C: patch from Kornel Benko to prevent
2653 crash when _(...) is called twice in a statement
2655 2003-05-16 André Pönitz <poenitz@gmx.net>
2662 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2664 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2666 * lyx_main.C (init): remove spurious static_cast
2668 2003-05-14 André Pönitz <poenitz@gmx.net>
2670 * BufferView.C: fix format string
2672 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2674 * BufferView.[Ch] (insertErrors): removed
2675 * BufferView.[Ch] (showErrorList): added
2676 * buffer.C (runChkTeX):
2677 * converter.C (scanLog): call showErrorList instead of inserterrors
2679 2003-05-13 André Pönitz <poenitz@gmx.net>
2681 * BufferView_pimpl.C:
2683 * bufferview_func.C:
2690 * tabular_funcs.h: tostr() from its own header
2692 * ParagraphParameters.C:
2697 * text3.C: STRCONV()
2699 2003-05-12 André Pönitz <poenitz@gmx.net>
2702 * BufferView_pimpl.C:
2706 * ParagraphParameters.C:
2710 * bufferview_funcs.C:
2723 * paragraph_funcs.C:
2727 * text3.C: boost::format -> bformat all over the place
2730 2003-05-09 André Pönitz <poenitz@gmx.net>
2732 * LColor.[Ch]: Pimpl the #include <map> away
2734 2003-05-09 John Levon <levon@movementarian.org>
2736 * bufferlist.C: never remove emergency saves
2738 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2740 * Makefile.am: better lib building
2742 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2744 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2746 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2747 (simpleTeXSpecialChars): adjust
2748 (simpleTeXSpecialChars): adjust
2749 * paragraph.C (simpleTeXOnePar): adjust
2750 * buffer.C (makeLaTeXFile): adjust
2752 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2754 * text2.C (changeDepth): parlist cleanup
2755 (getColumnNearX): ditto
2757 * rowpainter.C (getLabelFont): parlist cleanup
2759 * bufferlist.C (newFile): parlist cleanup
2761 * CutAndPaste.C (eraseSelection): parlist cleanup
2763 * BufferView_pimpl.C (trackChanges): parlist cleanup
2766 * BufferView.C (lockInset): parlist cleanup.
2767 (ChangeInsets): ditto
2769 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2771 * CutAndPaste.h: Update file header.
2773 * CutAndPaste.C: Update file header.
2774 Store the parts cut out of the Document in a limited_stack.
2775 (copySelection): adjust
2776 (pasteSelection): new function, takes the index in the limited stack.
2777 (nrOfParagraphs): adjust
2778 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2779 simplify error inset insertion.
2780 (checkPastePossible): adjust
2782 2003-05-06 John Levon <levon@movementarian.org>
2784 * text2.C: don't cast wrap inset to float
2786 2003-05-05 André Pönitz <poenitz@gmx.net>
2789 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2791 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2792 few naked Paragraph *.
2794 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2796 * bufferparams.C: Output warning if a document with missing
2797 TeX document class is loaded
2798 * exporter.C: Disable TeX exports if the document class is missing
2801 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2802 isTeXClassAvailable()
2804 2003-05-03 John Levon <levon@movementarian.org>
2807 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2808 explicit cursor show/hide
2810 * BufferView_pimpl.h:
2811 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2812 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2814 * lyxfunc.C: hide cursor before dispatching.
2819 * text3.C: remove explicit cursor hides
2821 2003-05-02 André Pönitz <poenitz@gmx.net>
2823 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2826 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2829 * text2.C: tiny whitespace
2831 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * undo_funcs.C: almost only ws changes.
2835 * ParagraphList.C (splice): just return if pl is empty.
2837 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * ParagraphList.C (splice): new function.
2841 * CutAndPaste.C (pasteSelection): use it
2843 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * CutAndPaste.C (pasteSelection): remove the last next and
2846 previous from this file.
2848 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * CutAndPaste.C (pasteSelection): more clean up, user proper
2851 ParagraphList functions for pasteing.
2853 * ParagraphList.C (insert): new function, three arg insert
2855 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * ParagraphList.C (insert): new function, three arg insert
2859 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2862 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2870 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2873 (copySelection): clean up a bit.
2874 (pasteSelection): use make_pair
2876 * ParagraphList.C (ParagraphList): implement copy constructor
2877 (operator=): implement, base on copy constructor.
2880 * paragraph.C (erase): return a bool
2882 * paragraph_pimpl.C (erasePos): remove function, move contents...
2883 (erase): ... here. Return a bool.
2884 (erase): call erase instead of erasePos.
2886 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2888 * ParagraphList.h: define PitPosPair
2889 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2890 ParagraphList, fix a bug on pasting multiple pars
2891 * text2.C: change interface to C&P
2893 2003-04-30 André Pönitz <poenitz@gmx.net>
2895 * undo_func.C: revert part of yesterday's patch 2
2897 2003-04-30 John Levon <levon@movementarian.org>
2899 * LColor.C: s/tabular/table/
2901 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2903 * text3.C (dispatch): do not convert iterator -> pointer
2904 * undo_funcs.C (setCursorParUndo): ditto
2905 * text_funcs.C (transposeChars): ditto
2907 * text2.C (setLayout): ws changes only
2909 * text.C (breakParagraph): do not convert iterator -> pointer
2911 (acceptChange): ditto
2912 (rejectChange): ditto
2917 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2920 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2922 * text3.C (gotoInset): YABG (yet another bad getChar)
2924 2003-04-29 André Pönitz <poenitz@gmx.net>
2926 * paragraph.h: make operator= private unimplemented as long as
2929 * ParagraphList.C: whitespace
2932 * paragraph_pimpl.[Ch]:
2933 * paragraph_funcs.C:
2935 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2938 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2940 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2942 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2943 * paragraph.[Ch] (erase):
2944 * paragraph_pimpl.[Ch] (erase): change return type and value
2945 * text2.C (cutSelection): some rework
2947 2003-04-28 John Levon <levon@movementarian.org>
2949 * bufferlist.C: changes for unsaved changes dialog
2951 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * bufferlist.C (newFile): set language (messages_) for new
2956 * buffer.C (readFile): ws changes only.
2958 2003-04-28 André Pönitz <poenitz@gmx.net>
2963 * BufferView_pimpl.C:
2964 * BufferView.C: getParFromID related ParagraphList::iterator changes
2966 2003-04-28 André Pönitz <poenitz@gmx.net>
2968 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2971 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * messages.C: remove one more localedir class variable.
2975 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * messages.C (getLocaleDir): singleton generation function
2979 (Messages): add a default constructor.
2981 * main.C (main): do not setup localedir here, do not call
2984 * gettext.C (_): use it.
2985 (gettext_init): delete funciton
2987 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * gettext.C (getLyXMessages): new singleton generating function.
2991 * buffer.C (updateDocLang): adjust
2993 * Makefile.am (messages.o): add target
2994 (main.o): remove target
2996 2003-04-27 John Levon <levon@movementarian.org>
3001 * lyxvc.C: specify cancel button in Alert::prompt
3003 2003-04-26 John Levon <levon@movementarian.org>
3008 * LyXAction.C: add LFUN_INSET_SETTINGS
3010 * lyxfunc.C: don't enable tabular-feature when there's
3011 just any locking inset
3013 2003-04-26 John Levon <levon@movementarian.org>
3015 * bufferlist.C: re-add Cancel to buffer close question
3017 * lyxfunc.C: fix import UI a bit
3019 2003-04-25 John Levon <levon@movementarian.org>
3021 * gettext.C: remove the broken asserts for now
3023 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * messages.C: make case where setlocale cannot comply work better.
3027 * buffer.C (updateDocLang): new function
3028 (changeLanguage): use it
3031 * text2.C (setCounter): use B_ a bit.
3033 * lyxlayout.C (Read): be sure to trim the label strings.
3035 * messages.C (Messages): fix typo in comment
3037 * buffer.C (readFile): set message_ after file is loaded.
3038 (makeDocBookFile): remove double return
3039 (changeLanguage): reset message_ upon language change.
3040 (B_): new func, use this to get translated buffer strings.
3042 * main.C: add myself and Jean Marc as authors.
3044 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * messages.[hC]: pimplify Messages, and three different pimpls to be
3047 used in different circumstances.
3049 * gettext.[Ch]: change for use with new message code.
3051 2003-04-24 André Pönitz <poenitz@gmx.net>
3053 * factory.C: support for eqref
3055 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * messages.[Ch]: add missing char
3059 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3061 * messages.[Ch]: New files
3063 2003-04-18 John Levon <levon@movementarian.org>
3067 * BufferView_pimpl.C:
3071 * text2.C: remove layout-copy/paste (bug 778)
3073 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3075 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3077 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3079 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3080 if they succeed. Act accordingly.
3082 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3084 * text2.C (setCharFont): adjust
3085 (setCounter): adjust
3086 (insertStringAsLines): adjust
3088 * text.C (leftMargin): adjust
3089 (setHeightOfRow): adjust
3091 * rowpainter.C (paintFirst): adjust
3094 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3096 (isFirstInSequence): ditto
3097 (getEndLabel): ditto
3100 * paragraph.C (getParLanguage): comment out some hard stuff.
3102 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3104 (simpleDocBookOnePar): ditto
3105 (makeDocBookFile): use ParagraphList::iterator
3107 * CutAndPaste.C (pasteSelection): adjust
3109 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * text2.C (getFont): adjust
3112 (getLayoutFont): adjust
3113 (getLabelFont): adjust
3115 * paragraph_funcs.C (TeXOnePar): adjust
3117 * buffer.C (simpleLinuxDocOnePar): adjust
3118 (simpleDocBookOnePar): adjust
3120 * CutAndPaste.C (pasteSelection): adjust
3122 * BufferView.C (getEncoding): adjust
3124 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3126 2003-04-16 John Levon <levon@movementarian.org>
3128 * lyxfind.C: use parlist stuff for search/changes
3130 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3132 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3134 * text2.C (deleteEmptyParagraphMechanism): adjust
3136 * text2.[Ch] (ownerParagraph): delete func (both of them
3138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3140 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3142 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * ParagraphList.C: prepare for NO_NEXT
3146 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * text2.C (getFont): adjust
3149 (getLayoutFont): adjust
3150 (getLabelFont): adjust
3152 * paragraph.C (getFont): adjust
3153 (getLabelFont): adjust
3154 (getLayoutFont): adjust
3156 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3158 2003-04-15 John Levon <levon@movementarian.org>
3162 * lyx_main.C: handle Include in .ui files
3164 2003-04-15 John Levon <levon@movementarian.org>
3166 * MenuBackend.C: make the doc files length shorter
3169 * ToolbarBackend.C: handle toolbar placement flags,
3172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3177 * paragraph_funcs.C (TeXOnePar): adjust
3179 * paragraph.C (getLabelFont): add outerfont arg, adjust
3180 (getLayoutFont): ditto
3181 (simpleTeXOnePar): adjust
3183 * paragraph_pimpl.C (realizeFont): delete func
3185 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3187 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3188 row argument, constify cur argument.
3190 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * text2.C (getFont): adjust
3193 (getLayoutFont): adjust
3194 (getLabelFont): adjust
3196 * paragraph_funcs.C (TeXOnePar): adjust
3197 (outerFont): new func...
3198 (realizeFont): ...moved out from here, changed this to facilitate
3201 * paragraph.C (getFont): take outerfont as arg, adjust
3202 (simpleTeXOnePar): add outerfont arg, adjust
3204 * buffer.C (simpleLinuxDocOnePar): adjust
3205 (simpleDocBookOnePar): adjust
3207 * CutAndPaste.C (pasteSelection): adjust
3209 * BufferView.C (getEncoding): adjust
3211 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * text2.C (setCharFont): adjust
3214 (setCounter): adjust
3216 * text.C (leftMargin): adjust
3217 (setHeightOfRow): adjust
3219 * rowpainter.C (paintFirst): adjust
3222 * paragraph_pimpl.C (realizeFont): adjust
3224 * paragraph.C (isFirstInSequence): move from here...
3225 * paragraph_funcs.C (isFirstInSequence): ...to here
3227 * paragraph.C (outerHook): move from here...
3228 * paragraph_funcs.C (outerHook): ...to here
3230 * paragraph.C (depthHook): move from here...
3231 * paragraph_funcs.C (depthHook): ...to here
3233 * paragraph.C (getEndLabel): move from here...
3234 * paragraph_funcs.C (getEndLabel): ...to here
3236 * text2.C (realizeFont): move from here...
3237 * paragraph_funcs.C (realizeFont): ...to here
3239 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3241 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3243 2003-04-14 Angus Leeming <leeming@lyx.org>
3245 * LColor.[Ch]: scrap LColor mathcursor.
3247 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * lyxlex.[Ch] (text): delete function
3250 * trans.C (Load): adjust
3251 * paragraph_funcs.C (readParToken): adjust
3253 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3256 vector<char> instead of a char[].
3258 * lyxlex_pimpl.C (getString): adjust
3260 (lex): use getString
3264 * lyxlex.C (text): use pimpl_->getString()
3268 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3271 (makeFontEntriesLayoutSpecific): temp var for par.size()
3272 (setLayout): temp var for ownerParagraphs().end()
3273 (fullRebreak): temp var for rows().end()
3274 (selectionAsString): temp var for boost::next(startpit), realize
3275 that the while really is a regular for loop.
3276 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3277 setCursor in one place.
3278 (setParagraph): temp vr for ownerParagraphs().end()
3279 (updateCounters): make the while loop a for loop
3280 (cutSelection): temp var for ownerParagraphs().end()
3281 (updateInset): make the do {} while() a regular for loop
3282 (getCursorX): use temp vars
3283 (setCurrentFont): use temp vars
3284 (getColumnNearX): use temp vars
3286 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * text.C (transformChar): use temp var for getChar
3289 (computeBidiTables): use temp var for row->par()
3290 (fill): move temp vars for row->par() and pit->layout() earlier in
3292 (labelFill): use temp var for row->par()
3293 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3294 asc and desc, realize that pit never changes and that firstpit is
3295 just a duplicate and not needed. Exchange rit->par() with pit in a
3297 (breakAgain): use a temp var for boost::next(rit)
3298 (breakAgainOneRow): ditto
3299 (breakParagraph): use a temp var for rows().begin()
3300 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3301 (cursorRightOneWord): use temp var for cursor.par() and
3302 cursor.pos(), remove usage of tmpcursor.
3303 (cursorLeftOneWord): use temp var for cursor.par() and
3304 cursor.pos() only set cur at end of function.
3306 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * text.C, text2.C: exchange all usage of Paragraph::next with
3309 boost::next(ParagraphList::iterator)
3311 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3313 * text2.C (cursorTop): simplify implementation
3314 (cursorBottom): ditto
3315 (setParagraph): use ParagraphList::iterator
3316 (setCurrentFont): adjust
3317 (getColumnNearX): adjust
3318 (cursorRight): adjust
3319 (cursorLeft): remove usage of Paragraph::previous
3320 (cursorUpParagraph): ditto
3321 (deleteEmptyParagraphMechanism): slight cleanup
3323 * text.C (isBoundary): take a Paragraph const & instead of a
3325 (addressBreakPoint): ditto
3326 (leftMargin): remove usage of Paragraph::previous.
3327 (setHeightOfRow): ditto
3328 (cursorLeftOneWord): ditto
3329 (selectNextWordToSpellcheck): ditto
3332 (breakParagraph): remove one usage of Paragraph::next
3333 (redoParagraph): ditto
3334 (acceptChange): ditto
3335 (insertChar): adjust
3336 (rowBreakPoint): adjust
3338 * bufferview_funcs.C (toggleAndShow): adjust
3340 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3342 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3343 methods to access it.
3345 * text.C: Added updateRowPositions to compute all row positions.
3346 Make top_y and getRowNearY() to use the cached y position
3348 2003-04-11 John Levon <levon@movementarian.org>
3350 * text.C (rowBreakPoint): reintroduce the labelEnd
3351 checks, code copied from the row fill stuff. Deep voodoo.
3353 * text.C (fill): add a comment and debugging for the
3356 2003-04-11 John Levon <levon@movementarian.org>
3358 * text.C: make sure fullrow insets get wrapped to the next line,
3359 even when they're in a manual label
3361 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * text2.C (insertParagraph): make it take ParagraphList::iterator
3365 (setLayout): make it return ParagraphList::iterator
3366 (redoParagraphs): ditto
3368 (checkParagraph): ditto
3370 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3372 * text2.C: adjust several funcs.
3373 (realizeFont): take a ParagraphList::iterator as arg.
3374 (getLayoutFont): ditto
3375 (getLabelFont): ditto
3376 (setCharFont): ditto
3378 * text.C: adjust several funcs.
3380 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3382 * text.C (selectNextWordToSpellcheck): don't accidentally
3385 2003-04-10 John Levon <levon@movementarian.org>
3387 * ToolbarBackend.C (getIcon): special handling for
3390 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3392 * text2.C (cursorRight): a getChar assert fixed
3394 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * text2.C (getFont): change to take a ParagraphList::iterator
3397 instead of Paragraph*
3398 Adjust several functions.
3400 * text.C (transformChar): change to take a ParagraphList::iterator
3401 instead of Paragraph*
3402 (singleWidth): ditto
3403 Adjust several functions.
3405 * rowpainter.C: adjust several functions
3406 * rowpainter.h:store a ParagraphList::iterator and not a
3410 2003-04-09 John Levon <levon@movementarian.org>
3415 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3416 and the "help" bits as well
3418 2003-04-09 John Levon <levon@movementarian.org>
3421 * ToolbarBackend.C: allow multiple toolbars
3423 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3425 * undo_funcs.C (setCursorParUndo): adjust
3427 * text_funcs.C (transposeChars): adjust
3429 * text3.C (gotoNextInset): adjust
3432 * text2.C (setLayout): adjust
3433 (changeDepth): adjust
3435 (redoParagraphs): adjust
3436 (selectionAsString): adjust
3437 (setParagraph): adjust
3438 (insertInset): adjust
3439 (cutSelection): adjust
3440 (copySelection): adjust
3441 (pasteSelection): adjust
3442 (insertStringAsLines): adjust
3443 (updateInset): adjust
3444 (setCursor): change to take a ParagraphList::iterator parameter
3445 (setCursorIntern): change to take a ParagraphList::iterator parameter
3446 (setCurrentFont): adjust
3447 (cursorLeft): adjust
3448 (cursorRight): adjust
3449 (deleteEmptyParagraphMechanism): adjust
3451 * text.C (breakParagraph): adjust
3452 (insertChar): adjust
3453 (acceptChange): adjust
3454 (rejectChange): adjust
3455 (selectNextWordToSpellcheck): adjust
3456 (changeCase): adjust
3460 * lyxfind.C (SearchForward): adjust
3461 (SearchBackward): adjust
3462 (nextChange): adjust
3464 * lyxcursor.C (par): adjust
3466 * lyxcursor.h: store a ParagraphList::iterator instead of a
3469 * lyx_cb.C (getPossibleLabel): adjust
3471 * bufferview_funcs.C (toggleAndShow): adjust
3473 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3476 * BufferView.C (removeAutoInsets): adjust
3477 (lockedInsetStoreUndo): adjust
3479 2003-04-09 John Levon <levon@movementarian.org>
3481 * ToolbarBackend.C: try icon without argument
3482 if with argument fails
3484 2003-04-08 John Levon <levon@movementarian.org>
3487 * ToolbarBackend.C: add getIcon(), handle tooltip,
3488 and change from "Icon" to "Item".
3490 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3492 * BufferView.C (lockInset): another bad getchar crunched
3494 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3496 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3499 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3501 * lyxfind.C (searchForward, searchBackwards): bug 782
3503 2003-04-07 John Levon <levon@movementarian.org>
3505 * paragraph.C: remove dead comment
3507 * text.C: remove troublesome depth-fiddling code
3508 in leftMargin() and rightMargin() (bug 1017)
3510 * text.C: fix breaking of rows in nested lists
3513 * text2.C (updateCounters): fix up depth values
3516 2003-04-07 John Levon <levon@movementarian.org>
3518 * BufferView_pimpl.C: clear message when doc finishes resizing,
3519 and after a mouse event
3521 * lyxfunc.C: clear message after exiting inset
3523 2003-04-07 John Levon <levon@movementarian.org>
3525 * bufferview_funcs.C: show math status not outside
3526 status in the statusbar
3528 2003-04-07 John Levon <levon@movementarian.org>
3530 * lyxfunc.C: note status changed after a depth change
3532 2003-04-04 Angus Leeming <leeming@lyx.org>
3534 * LaTeX.h: move AuxInfo operator==, != out of line.
3535 Remove LaTeX virtual destructor; nothing derives from it.
3536 Move operator()() out of public area and rename it startscript().
3537 Change protected for private.
3539 2003-04-04 Angus Leeming <leeming@lyx.org>
3542 * text2.C: remove unneeded #includes.
3544 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3546 * text2.C (dEPM): fix the heigth of the next row
3548 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3550 * text.C: squashed an invalid getChar requester + some ws changes
3552 2003-04-03 John Levon <levon@movementarian.org>
3554 * bufferview_funcs.h:
3555 * bufferview_funcs.C:
3558 * text2.C: make getStatus work for the env depth lfuns
3560 2003-04-03 John Levon <levon@movementarian.org>
3562 * bufferview_funcs.h:
3563 * bufferview_funcs.C:
3566 * text2.C: parlistize decDepth(), by merging it with incDepth()
3568 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * lyxrow.h: store a ParagraphList::iterator instead of a
3571 Paragraph* and adjust other class functions to suit.
3573 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3576 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3578 * text2.C (setCursor): do not anchor to cursor row for the time being
3580 2003-04-02 John Levon <levon@movementarian.org>
3587 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3589 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * paragraph.h: make ParagraphList and ParagraphList::iterator
3592 friends of Paragraph.
3594 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3596 * ParagraphList.C: Use the private next_ and previous_ from
3599 2003-04-01 John Levon <levon@movementarian.org>
3603 * Makefile.am: rename, remove defaults gunk
3606 * MenuBackend.C: remove defaults gunk
3609 * Languages.C: remove defaults gunk
3612 * lyx_main.C: error out if files couldn't be found.
3614 2003-04-02 John Levon <levon@movementarian.org>
3616 * text2.C: make incDepth() use parlist
3618 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * undo_funcs.C (firstUndoParagraph): adjust
3622 * text3.C (gotoInset): adjust
3623 (dispatch): adjust, and rewrite loop.
3625 * text2.C (init): adjust, and rewrite loop.
3626 (redoParagraphs): adjust
3627 (updateInset): adjust, and rewrite loop.
3628 (deleteEmptyParagraphMechanism): adjust
3630 * tabular.C (LyXTabular): adjust
3631 (SetMultiColumn): adjust
3634 * lyxtext.[Ch] (ownerParagraph): delete function
3635 (ownerParagraphs): new function returns a ParagraphList.
3637 * BufferView.C (removeAutoInsets): adjust
3638 (insertErrors): adjust
3639 (setCursorFromRow): adjust
3641 2003-04-01 Angus Leeming <leeming@lyx.org>
3643 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3646 2003-04-02 John Levon <levon@movementarian.org>
3652 * text_funcs.C: make transposeChars a free function
3654 * lyxrow_funcs.C: remove wrong comment
3656 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * rowpainter.C: adjust
3664 * lyxrow_funcs. [Ch]: new files
3666 * lyxrow.[Ch]: remove next and previous pointers
3667 (next,previous): remove accessor functions
3668 (isParEnd): move to lyxrow_funcs
3669 (lastPos): move to lyxrow_funcs
3670 (nextRowIsAllInset): move to lyxrow_funcs
3671 (lastPrintablePos): move to lyxrow_funcs
3672 (numberOfSeparators): move to lyxrow_funcs
3673 (numberOfHfills): move to lyxrow_funcs
3674 (numberOfLabelHfills): move to lyxrow_funcs
3675 (hfillExpansion): move to lyxrow_funcs
3679 * bufferview_funcs.C (toggleAndShow): adjust
3681 * RowList.h: Remove class RowList from file leave just a
3684 * RowList.C: delete file
3686 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3689 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * text3.C (cursorPrevious): adjust
3692 (cursorNext): adjust
3695 * text2.C (redoHeightOfParagraph): adjust
3696 (redoDrawingOfParagraph): adjust
3699 * text.C (breakParagraph): adjust
3700 (insertChar): adjust
3703 * rowpainter.C (RowPainter): adjust
3704 (leftMargin): simplify and adjust
3705 (most rowpainter functions): adjust.
3707 * rowpainter.h: store the row as RowList::iterator not as Row*
3709 * lyxcursor.C (row): taka RowList::iterator as arg
3712 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3715 2003-04-01 Angus Leeming <leeming@lyx.org>
3717 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3718 stuff like bool Bool.
3720 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3722 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3725 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3730 * lyxtext.h (rows): drop one version and leve a const variant that
3731 returns a RowList::iterator.
3733 2003-03-31 Angus Leeming <leeming@lyx.org>
3735 * text.C (fill): ensure that the signature is the same as that in the
3738 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * text2.C (redoParagraphs): adjust
3741 (updateCounters): adjust
3742 (checkParagraph): adjust
3743 (getColumnNearX): adjust and reformat a bit.
3745 * text.C (top_y): adjust
3747 (leftMargin): adjust
3748 (prepareToPrint): adjust
3750 (getRowNearY): adjust
3752 * lyxtext.h: make rowlist_ mutable.
3754 * RowList.h: add const_iterator
3755 * RowList.C: adjust for RowList::const_iterator.
3757 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3760 2003-03-31 John Levon <levon@movementarian.org>
3763 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3765 * lyx_main.C: set default fonts from using lyx_gui funcs
3767 * exporter.C: pdf_mode moved from lyxrc
3770 * lyxfunc.C: changes from above
3772 2003-03-31 John Levon <levon@movementarian.org>
3774 * lyx_main.C: fix to the last fix
3776 2003-03-31 John Levon <levon@movementarian.org>
3778 * bufferlist.C: "Load original" -> "Load Original"
3784 * format.C: more Alert cleanups
3786 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * text2.C (removeParagraph): make it take a RowList::iterator as
3790 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3791 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3793 * text.C (anchor_row): make it take a RowList::iterator as arg,
3795 (computeBidiTables): make it take a const reference to Row instead
3796 of Row pointer, adjust.
3797 (leftMargin): make it take a RowList::iterator as arg, adjust.
3798 (rowBreakPoint): adjust
3799 (breakAgainOneRow): make it take a RowList::iterator as arg,
3801 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3803 * bufferview_funcs.C (toggleAndShow): adjust
3805 2003-03-30 John Levon <levon@movementarian.org>
3809 * boost-inst.C: moved to support
3811 * several files: changes as a result
3813 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3815 * text2.C (LyXText): adjust.
3817 (removeRow): make it take a RowList::iterator as arg, adjust.
3818 (fullRebreak): adjust
3819 (deleteEmptyParagraphMechanism): adjust
3820 (clearPaint): adjust
3823 * text.C (top_y): adjust
3824 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3825 (breakAgain): make it take a RowList::iterator as arg, adjust.
3826 (breakParagraph): adjust
3827 (insertChar): adjust
3830 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3831 need_break_row, and refresh_row.
3833 * text3.C (dispatch): adjust
3835 * text2.C (checkParagraph): adjust
3837 (setCursorFromCoordinates): adjust
3839 * text.C (top_y): adjust
3841 (getRow): make it return a RowList::iterator, adjust
3842 (getRowNearY): make it return a RowList::iterator, adjust
3844 * text2.C (init): adjust
3845 (insertRow): remove function
3846 (insertParagraph): adjust
3847 (redoParagraphs): adjust
3848 (fullRebreak): adjust
3849 (updateCounters): adjust
3851 * text.C (top_y): rewrite to use RowList iterators.
3853 (setHeightOfRow): rewrite to sue RowList iterators.
3854 (appendParagraph): adjust
3855 (breakAgain): adjust
3856 (breakAgainOneRow): adjust
3857 (breakParagraph): adjust
3859 (getRowNearY): adjust, and remove commented code.
3861 * lyxtext.h (firstRow): delete function
3862 (lastRow): delete function
3863 (rows): new function (const and non-const versions.)
3864 (insertRow): delete function
3866 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3868 2003-03-29 John Levon <levon@movementarian.org>
3870 * BufferView_pimpl.C: always update scrollbar top
3871 because pasting text when we're anchored could mean we
3872 miss an update altogether
3874 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3876 * text2.C (init): use rowlist_.end() and not 0.
3877 (insertRow): change to take a RowList::iterator as arg, adjust
3879 (insertParagraph): change to take a RowList::iterator as arg,
3881 (redoParagraphs): remove some debug msgs.
3883 * text.C (appendParagraph): change to take a RowList::iterator
3884 arg, adjust for this.
3885 (breakAgain): add an assert
3886 (breakAgainOneRow): ditto
3888 2003-03-29 John Levon <levon@movementarian.org>
3890 * text2.C: do not clear selection after inc/decDepth
3893 2003-03-29 John Levon <levon@movementarian.org>
3896 * buffer.C: fix broken strerrors according to Lars
3898 2003-03-29 John Levon <levon@movementarian.org>
3900 * converters.C: more Alert cleanups
3902 2003-03-29 John Levon <levon@movementarian.org>
3904 * bufferview_funcs.C: remove pointless Alert
3906 * buffer.C: fix confusing error message when
3907 a template is chmoded 000
3909 2003-03-29 John Levon <levon@movementarian.org>
3913 * BufferView_pimpl.C: Alert fixes
3917 * tabular-old.C: remove unused table compat reading
3919 2003-03-29 John Levon <levon@movementarian.org>
3924 * lyx_cb.C: more Alert cleanups
3926 * lyxfunc.C: don't allow chktex if not latex document
3928 2003-03-29 John Levon <levon@movementarian.org>
3932 * buffer.C: warnings pushed down from support/,
3935 2003-03-29 John Levon <levon@movementarian.org>
3937 * lyxfunc.C: safety check for C-r (revert)
3939 2003-03-29 John Levon <levon@movementarian.org>
3942 * bufferlist.C: several UI fixes using Alert::prompt.
3943 Fix the pointless looping quit code. Fix stupid revert
3948 * lyx_cb.C: use Alert::prompt
3950 * lyx_main.C: remove a silly question
3952 * lyxfunc.C: remove a couple of silly questions,
3955 2003-03-28 John Levon <levon@movementarian.org>
3957 * text2.C: fix bug 974 (End on empty par)
3959 2003-03-28 John Levon <levon@movementarian.org>
3961 * BufferView_pimpl.C:
3963 * lfuns.h: remove do-nothing math greek lfuns
3965 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * lyxgluelength.h (isValidGlueLength): add default arg on
3968 parameter 2. Remove default arg from friend in class.
3970 * lyxlength.h (isValidLength): add default arg on parameter 2.
3971 Remove default arg from friend in class.
3973 * text2.C (LyXText): adjust, initialize refresh_row.
3977 (insertParagraph): adjst
3978 (redoParagraphs): adjust
3979 (fullRebreak): adjust
3980 (updateCounters): adjust
3981 (deleteEmptyParagraphMechanism): first attempt at fixing a
3984 * text.C (top_y): adjust
3985 (setHeightOfRow): adjust
3987 (getRowNearY): adjust
3989 * lyxtext.h: include RowList.h
3990 (~LyXText): not needed anymore, deleted.
3991 (firstRow): modify for RowList
3992 (lastRow): new function
3993 Delete firstrow and lastrow class variables, add a Rowlist
3994 rowlist_ class variable.
3996 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3999 * RowList.C (insert): fix case where it == begin().
4001 2003-03-26 Angus Leeming <leeming@lyx.org>
4003 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4004 the thesaurus dialog.
4006 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4010 * RowList.[Ch]: new files
4012 * ParagraphList.C (erase): handle the case where it == begin
4015 2003-03-25 John Levon <levon@movementarian.org>
4019 * aspell.C: add new aspell support
4022 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4025 2003-03-25 Angus Leeming <leeming@lyx.org>
4028 * LyXAction.C (init): new LFUN_INSET_INSERT.
4030 * BufferView_pimpl.C (dispatch): split out part of the
4031 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4033 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4036 2003-03-25 Angus Leeming <leeming@lyx.org>
4038 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4040 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4043 * text3.C: remove useless row->height(0)
4045 2003-03-25 John Levon <levon@movementarian.org>
4049 * text3.C: rename the refreshing stuff to better names
4051 2003-03-24 John Levon <levon@movementarian.org>
4053 * BufferView_pimpl.h:
4054 * BufferView_pimpl.C: update layout choice on a mouse
4057 2003-03-23 John Levon <levon@movementarian.org>
4059 * Makefile.am: fix commandtags.h reference
4061 2003-03-22 John Levon <levon@movementarian.org>
4063 * BufferView_pimpl.C:
4068 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4070 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4073 * text.C: take the rtl methods out of line
4075 2003-03-21 André Pönitz <poenitz@gmx.net>
4077 * metricsinfo.[Ch]: new files containing structures to be passed around
4078 during the two-phase-drawing...
4080 2003-03-21 André Pönitz <poenitz@gmx.net>
4082 * lyxtextclass.C: read 'environment' tag.
4084 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4086 * text2.C (removeRow): fix bug 964
4088 2003-03-20 John Levon <levon@movementarian.org>
4092 * text2.C: paint cleanups. Inset::update() dropped font
4095 2003-03-19 John Levon <levon@movementarian.org>
4097 * lyxfunc.C: only fitcursor/markDirty if available()
4099 2003-03-19 John Levon <levon@movementarian.org>
4101 * commandtags.h: rename to ...
4103 * lfuns.h: ... this, and renumber / cleanup
4105 2003-03-19 John Levon <levon@movementarian.org>
4107 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4108 fit the cursor after an lfun
4112 * BufferView_pimpl.h:
4113 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4115 * LyXAction.C: layout-character should have ReadOnly
4117 * ParagraphParameters.C:
4119 * bufferview_funcs.C:
4126 * undo_funcs.C: changes from above
4128 2003-03-18 John Levon <levon@movementarian.org>
4130 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4131 remove it from update()
4133 * lyxfunc.C: update layout choice after an lfun
4135 * text3.C: remove extra updateLayoutChoice()s
4137 2003-03-18 John Levon <levon@movementarian.org>
4139 * text.C: top_y change means full repaint, fix
4140 a drawing bug with cursor movement
4142 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4146 * text2.C: anchor row on setCursor
4148 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4150 * lyxtext.h: remove almost all mutable keywords
4153 * text3.C: remove const keywords accordingly
4155 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4159 (TeXEnvironment): ditto
4162 2003-03-17 John Levon <levon@movementarian.org>
4164 * text.C (rowBreakPoint): remove attempt to fix displayed
4165 math insets inside a manual label
4167 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * lyxtext.h: remove BufferView* as first arg from almost all class
4171 * other files: adjust.
4173 2003-03-17 John Levon <levon@movementarian.org>
4177 * text2.C: more paint cleanups
4179 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4182 * rowpainter.C: remove "smart" background painting code
4184 2003-03-16 John Levon <levon@movementarian.org>
4189 * text3.C: add helper functions for setting refresh_row/y
4191 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4193 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4194 newline inset which *can* get inserted in the pass_thru layouts.
4195 This is primarily for literate documents.
4197 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4199 * buffer.C: increment LYX_FORMAT to 223
4201 2003-03-14 André Pönitz <poenitz@gmx.net>
4203 * textclass.h: prepare for environment handling, ws changes
4204 * lyxlayout.C: read latexheader and latexfooter tags
4206 2003-03-14 John Levon <levon@movementarian.org>
4208 * text2.C: rewrite ::status() a bit
4210 2003-03-13 John Levon <levon@movementarian.org>
4212 * lyxtext.h: add some docs
4214 2003-03-13 John Levon <levon@movementarian.org>
4219 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4221 2003-03-13 John Levon <levon@movementarian.org>
4223 * text3.C: fix appendix redrawing
4225 2003-03-13 John Levon <levon@movementarian.org>
4227 * text.C (setHeightOfRow):
4229 * rowpainter.C: make appendix mark have the text
4230 "Appendix" so the user knows what it is
4233 * LColor.C: s/appendixline/appendix/ from above
4235 2003-03-13 John Levon <levon@movementarian.org>
4237 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4239 * text.C: fix a getChar(pos) bug properly
4241 2003-03-13 Angus Leeming <leeming@lyx.org>
4244 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4245 Probably only temporary. Let's see how things pan out.
4247 * BufferView.C (unlockInset):
4248 * BufferView_pimpl.C (fitCursor):
4249 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4251 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4252 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4254 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4255 new functions that convert ParagraphParameters to and from a string.
4257 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4258 BufferView::Pimpl's dispatch.
4259 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4261 2003-03-13 André Pönitz <poenitz@gmx.net>
4265 * factory.C: make it aware of InsetEnv
4267 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * text2.C (setCursor): never ask for one past last
4270 (setCursor): add some debugging messages.
4272 * text.C (singleWidth): never ask for one past last
4273 (singleWidth): ditto
4275 (rightMargin): ditto
4276 (rowBreakPoint): ditto
4277 (setHeightOfRow): ditto
4278 (prepareToPrint): ditto
4280 * rowpainter.C (paintBackground): never ask for one past last
4281 (paintText): never ask for one past last
4283 * paragraph_pimpl.C (getChar): make the assert stricter, never
4284 allow the one past last pos to be taken
4286 * paragraph.C (getChar): ws changes only
4288 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4289 (numberOfSeparators): ditto
4290 (numberOfHfills): ditto
4292 2003-03-12 John Levon <levon@movementarian.org>
4298 * paragraph_funcs.C: fix per-buffer authorlists
4300 2003-03-12 John Levon <levon@movementarian.org>
4302 * text.C: fix newline in right address
4304 2003-03-12 Angus Leeming <leeming@lyx.org>
4306 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4307 duplicate those in LyXFunc::dispatch.
4311 * ToolbarDefaults.C:
4312 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4313 Add LFUN_FONTFREE_UPDATE.
4315 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4316 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4318 * bufferview_func.[Ch]: several new functions to facilliate
4319 transfer of data to and from the character dialog.
4321 2003-03-12 John Levon <levon@movementarian.org>
4326 * paragraph_funcs.C:
4327 * paragraph_pimpl.C:
4331 * text3.C: remove META_NEWLINE in favour of an inset
4334 * rowpainter.C: remove paintNewline (done by inset)
4336 2003-03-12 John Levon <levon@movementarian.org>
4338 * paragraph_pimpl.C: complain about bad getChar()s
4339 for a while at least
4341 2003-03-12 John Levon <levon@movementarian.org>
4344 * buffer.C: move paragraph read into a separate function,
4345 a little renaming to reflect that.
4348 * bufferparams.C: remove the author_ids map, not necessary now
4351 * factory.C: moved Buffer::readInset to here
4353 * paragraph_funcs.h:
4354 * paragraph_funcs.C: readParagraph free function moved from
4357 * tabular.C: name change
4359 2003-03-12 John Levon <levon@movementarian.org>
4362 * ParagraphParameters.C: move par params input to
4365 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4366 behave like a normal read from the stream wrt reading
4367 a line vs. a \\token
4369 2003-03-12 John Levon <levon@movementarian.org>
4372 * ParagraphParameters.h:
4373 * ParagraphParameters.C: move output code to a
4376 2003-03-12 John Levon <levon@movementarian.org>
4378 * BufferView.C (insertLyXFile):
4381 * tabular.C: use a parlist iterator for creating the
4384 2003-03-12 John Levon <levon@movementarian.org>
4386 * buffer.C: make current_change static local not
4389 2003-03-12 John Levon <levon@movementarian.org>
4391 * buffer.C: fix insertStringAsLines for change tracking
4393 2003-03-12 John Levon <levon@movementarian.org>
4400 * bufferparams.C: move author list into params. Rename some
4401 functions. Move the header reading into a separate token
4402 loop. Move the header token reading into BufferParams.
4404 2003-03-12 John Levon <levon@movementarian.org>
4406 * changes.C: put debug inside lyxerr.debugging() checks
4408 2003-03-11 André Pönitz <poenitz@gmx.net>
4410 * factory.C: make it aware of InsetHFill
4412 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4414 * buffer.C (latexParagraphs): move function from here...
4415 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4418 2003-03-10 Angus Leeming <leeming@lyx.org>
4420 * LyXAction.C (init): fix bug in poplating array with multiple entries
4421 with the same LFUN (spotted by JMarc).
4423 2003-03-10 John Levon <levon@movementarian.org>
4426 * text2.C: move getColumnNearX() near its
4429 2003-03-10 John Levon <levon@movementarian.org>
4431 * text.C: fix break before a minipage
4433 2003-03-10 John Levon <levon@movementarian.org>
4435 * text.C: fix the last commit
4437 2003-03-09 John Levon <levon@movementarian.org>
4441 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4442 bug 365 (don't break before insets unless needed). Don't
4443 return a value > last under any circumstances.
4445 2003-03-09 Angus Leeming <leeming@lyx.org>
4447 * BufferView_pimpl.C (trackChanges, dispatch): call
4448 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4450 2003-03-09 Angus Leeming <leeming@lyx.org>
4452 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4453 than Dialogs::showAboutlyx().
4455 2003-03-09 Angus Leeming <leeming@lyx.org>
4457 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4458 than Dialogs::showTabularCreate().
4460 2003-03-09 John Levon <levon@movementarian.org>
4464 * text2.C: 3rd arg to nextBreakPoint was always the same.
4467 2003-03-08 John Levon <levon@movementarian.org>
4474 * text2.C: Remove the "main" bit from the "main body"
4477 2003-03-08 John Levon <levon@movementarian.org>
4479 * text.C (leftMargin): The left margin of an empty
4480 manual label paragraph should not include the label width
4483 * text.C (prepareToPrint): don't attempt to measure hfills
4484 for empty manual label paragraphs - the answer should be 0
4486 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * CutAndPaste.C: remove commented code and reindent.
4490 2003-03-08 John Levon <levon@movementarian.org>
4493 * lyxfunc.C: move reloadBuffer()
4496 * BufferView.C: to here
4498 * lyxvc.C: add comment
4501 * vc-backend.C: call bv->reload() to avoid
4502 getStatus() check on MENURELOAD
4504 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4506 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4507 to an old format .dep file.
4509 2003-03-07 Angus Leeming <leeming@lyx.org>
4511 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4512 when the LFUN_MOUSE_RELEASE should have been handled by
4513 inset->localDispatch.
4515 2003-03-07 Angus Leeming <leeming@lyx.org>
4517 * BufferView_pimpl.C (dispatch):
4518 * LyXAction.C (init):
4519 * ToolbarDefaults.C (init):
4521 * lyxfunc.C (getStatus):
4522 remove LFUN_INSET_GRAPHICS.
4524 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4526 2003-03-07 Angus Leeming <leeming@lyx.org>
4529 * LyXAction.C (init):
4530 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4532 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4535 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4537 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4538 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4540 2003-03-07 Angus Leeming <leeming@lyx.org>
4542 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4545 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * ParagraphList.C (front): new function
4550 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4552 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4553 and top_row_offset_. removed var first_y.
4555 * text2.C (LyXText, removeRow):
4557 * BufferView_pimpl.C:
4558 use these methods instead of using first_y
4560 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * text2.C (pasteSelection): adjust for checkPastePossible
4564 * CutAndPaste.C: remove Paragraph * buf and replace with
4565 ParagraphList paragraphs.
4566 (DeleteBuffer): delete
4567 (cutSelection): change the tc type to textclass_type
4568 (copySelection): change the tc type to textclass_type
4569 (copySelection): adjust for ParagraphList
4570 (pasteSelection): change the tc type to textclass_type
4571 (pasteSelection): adjust for Paragraphlist
4572 (nrOfParagraphs): simplify for ParagraphList
4573 (checkPastePossible): simplify for ParagraphList
4574 (checkPastePossible): remove unused arg
4576 * ParagraphList.C (insert): handle the case where there are no
4579 * CutAndPaste.h: make CutAndPaste a namespace.
4581 * text3.C (dispatch): adjust
4583 * text.C (breakParagraph): add a ParagraphList as arg
4585 * paragraph_funcs.C (breakParagraph): change to take a
4586 BufferParams and a ParagraphList as args.
4587 (breakParagraphConservative): ditto
4588 (mergeParagraph): ditto
4589 (TeXDeeper): add a ParagraphList arg
4590 (TeXEnvironment): ditto
4593 * buffer.C (readLyXformat2): adjust
4594 (insertStringAsLines): adjust
4595 (latexParagraphs): adjust
4597 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4598 (cutSelection): adjust
4599 (pasteSelection): adjust
4601 * BufferView_pimpl.C (insertInset): adjust
4603 2003-03-05 Angus Leeming <leeming@lyx.org>
4606 * LyXAction.C (init):
4607 * BufferView_pimpl.C (dispatch):
4608 * lyxfunc.C (getStatus):
4609 remove LFUN_CHILD_INSERT.
4611 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4613 2003-03-05 Angus Leeming <leeming@lyx.org>
4616 * LyXAction.C (init):
4617 * src/factory.C (createInset):
4618 * lyxfunc.C (getStatus):
4619 * text3.C (dispatch):
4620 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4622 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4624 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * ParagraphList.C (insert): handle insert right before end()
4627 (erase): fix cases where it can be first or last paragraph.
4629 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4632 Paragraph::next and Paragraph::previous
4635 * text.C (breakParagraph): adjust
4637 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4638 BufferParams& as arg.
4639 (breakParagraph): use ParagraphList::insert
4640 (breakParagraphConservative): take a Buffer* instead of a
4641 BufferParams& as arg.
4642 (breakParagraphConservative): use ParagraphList::insert.
4644 * buffer.C (insertStringAsLines): un-const it
4645 (insertStringAsLines): adjust
4647 * ParagraphList.C (insert): new function
4649 * CutAndPaste.C (pasteSelection): adjust
4651 * text.C (backspace): adjust
4653 * tabular.C (SetMultiColumn): adjust
4655 * CutAndPaste.C (cutSelection): adjust
4656 (pasteSelection): adjust
4658 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4659 Buffer const * as arg
4661 * ParagraphList.C (erase): new function
4662 * paragraph_funcs.C (mergeParagraph): use it
4663 (mergeParagraph): make it take a Buffer* instead of a
4664 BufferParams* as arg
4666 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4668 (breakParagraphConservative): ditto
4670 * paragraph.h: remove the breakParagraph friend
4672 * paragraph.C (eraseIntern): new function
4673 (setChange): new function
4675 * paragraph_funcs.C (mergeParagraph): make it take a
4676 ParagraphList::iterator instead of a Paragraph *, adjust
4679 * paragraph.h: move an #endif so that the change tracking stuff
4680 also works in the NO_NEXT case.
4682 2003-03-04 Angus Leeming <leeming@lyx.org>
4685 * LyXAction.C: new LFUN_INSET_MODIFY.
4687 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4688 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4690 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4692 * several files: ws changes only
4694 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4695 (TeXEnvironment): ditto
4698 * buffer.C (makeLaTeXFile): adjust
4699 (latexParagraphs): make it take ParagraphList::iterator as args
4701 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * buffer.C (latexParagraphs): adjust
4705 * paragraph.C (TeXOnePar): move function...
4706 (optArgInset): move function...
4707 (TeXEnvironment): move function...
4708 * paragraph_pimpl.C (TeXDeeper): move function...
4709 * paragraph_funcs.C: ...here
4711 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4713 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * buffer.C (readInset): remove compability code for old Figure and
4718 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * buffer.C: ws changes
4723 * BufferView_pimpl.C: ditto
4726 * bufferlist.h: ditto
4730 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4732 * converter.[Ch]: split into itself +
4735 * Makefile.am: += graph.[Ch] + format.[Ch]
4742 * lyxrc.C: added #include "format.h"
4744 2003-02-27 Angus Leeming <leeming@lyx.org>
4746 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4749 * factory.C (createInset): add "label" to the factory.
4751 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4752 string and do no more.
4754 2003-02-27 Angus Leeming <leeming@lyx.org>
4757 * LyXAction.C (init):
4758 * factory.C (createInset):
4759 * BufferView_pimpl.C (dispatch):
4760 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4762 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4764 * lyxfunc.C (dispatch):
4765 * text3.C (dispatch): pass name to params2string.
4767 2003-02-26 Angus Leeming <leeming@lyx.org>
4769 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4771 Rearrange the ~includes. Strip out the unnecessary ones.
4773 * factory.C (createInset): reformat.
4774 create new insets for the various LFUN_XYZ_APPLY lfuns.
4776 2003-02-26 John Levon <levon@movementarian.org>
4779 * lyxrow.C: add isParStart,isParEnd helpers
4781 * paragraph.h: make isInserted/DeletedText take refs
4783 * paragraph_funcs.h:
4784 * paragraph_funcs.C: remove #if 0'd code
4789 * text.C: use lyxrow helpers above.
4790 Move draw and paint routines to RowPainter.
4791 Make several methods use refs not pointers.
4792 Make backgroundColor() const.
4793 Add markChangeInDraw(), isInInset().
4794 Merge changeRegionCase into changeCase.
4795 Make workWidth() shouldn't-happen code into an Assert.
4798 * rowpainter.C: new class for painting a row.
4801 * vspace.C: make inPixels take a ref
4803 2003-02-26 Angus Leeming <leeming@lyx.org>
4805 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4808 2003-02-25 John Levon <levon@movementarian.org>
4810 * ispell.C: give the forked command a more accurate name
4812 2003-02-22 John Levon <levon@movementarian.org>
4815 * toc.C: make TocItem store an id not a Paragraph *
4818 2003-02-21 Angus Leeming <leeming@lyx.org>
4820 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4821 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4822 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4823 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4824 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4825 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4827 * BufferView_pimpl.C (dispatch):
4828 * LyXAction.C (init):
4829 * factory.C (createInset):
4830 * lyxfunc.C (getStatus, dispatch):
4831 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4833 2003-02-21 Angus Leeming <leeming@lyx.org>
4835 * BufferView_pimpl.C (MenuInsertLyXFile):
4836 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4837 * lyxfunc.C (menuNew, open, doImport):
4838 no longer pass a LyXView & to fileDlg.
4840 2003-02-21 Angus Leeming <leeming@lyx.org>
4842 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4843 * LyXAction.C: change, BIBKEY to BIBITEM.
4844 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4845 Change InsetBibKey to InsetBibitem.
4846 Change BIBKEY_CODE to BIBITEM_CODE.
4847 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4848 * factory.C: replace insetbib.h with insetbibitem.h.
4849 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4850 * paragraph.C: replace insetbib.h with insetbibitem.h.
4851 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4852 Change bibkey() to bibitem().
4853 * text.C: remove insetbib.h.
4854 * text2.C: replace insetbib.h with insetbibitem.h.
4855 change bibkey() to bibitem().
4856 * text3.C: remove insetbib.h.
4857 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4859 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4861 * lyxrc.C (output): enclose user email in quotes (in case there are
4864 2003-02-18 John Levon <levon@movementarian.org>
4866 * buffer.h: add std::
4868 2003-02-17 John Levon <levon@movementarian.org>
4874 * pspell.C: reworking. Especially in ispell, a large
4875 number of clean ups and bug fixes.
4877 * lyxfunc.C: fix revert to behave sensibly
4879 2003-02-17 André Pönitz <poenitz@gmx.net>
4882 * commandtags.h: new LFUN_INSERT_BIBKEY
4892 * paragraph_func.C: remove special bibkey handling
4894 2003-02-17 John Levon <levon@movementarian.org>
4896 * text.C (Delete): fix case where delete at the end of
4897 the very first paragraph would not merge the pars
4899 2003-02-17 John Levon <levon@movementarian.org>
4901 * lyxrow.C: fix lastPrintablePos()
4903 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4905 * bufferparams.C (writeLaTeX): add a std:here
4907 * buffer.C: and remove a using directive there
4909 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4911 * buffer.C (makeLaTeXFile): move the code that generates the
4914 * bufferparams.C (writeLaTeX): ... in this new method
4916 * LaTeXFeatures.C (getEncodingSet): make const
4917 (getLanguages): make const
4919 * MenuBackend.C (binding): returns the binding associated to this
4921 (add): sets the status of each item by calling getStatus. Adds
4923 (read): add support for OptSubMenu
4924 (expand): remove extra separator at the end of expanded menu
4926 2003-02-15 John Levon <levon@movementarian.org>
4929 * BufferView_pimpl.C:
4931 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4932 inset code that had no actual effect. Remove unneeded status
4935 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4937 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4940 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4942 * text.C (drawLengthMarker): also draw an arrow marker for
4943 symbolic lengths (medskip...)
4945 2003-02-14 John Levon <levon@movementarian.org>
4948 * tabular.C: better method names
4950 2003-02-14 John Levon <levon@movementarian.org>
4952 * BufferView_pimpl.C:
4957 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4958 it's a more accurate name. Remove some pointless uses.
4960 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4962 * text2.C (LyXText): change order of initilizers to shut off
4965 2003-02-14 John Levon <levon@movementarian.org>
4967 * buffer.C: use ParIterator for getParFromID()
4971 * paragraph_pimpl.h:
4972 * paragraph_pimpl.C: remove unused getParFromID()
4974 2003-02-14 John Levon <levon@movementarian.org>
4976 * buffer.C: remove some very old #if 0'd parse code
4978 2003-02-13 John Levon <levon@movementarian.org>
4982 * text2.C: move hfillExpansion(), numberOfSeparators(),
4983 rowLast(), rowLastPrintable(), numberofHfills(),
4984 numberOfLabelHfills() ...
4987 * lyxrow.C: ... to member functions here.
4992 * text.C: remove LyXText::beginningOfMainBody(), and call
4993 p->beginningOfMainBody() directly. Move the check for
4994 LABEL_MANUAL into the latter.
5001 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5007 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5008 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5010 2003-02-13 John Levon <levon@movementarian.org>
5012 * CutAndPaste.C: remove debug
5014 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5016 * paragraph.C (asString): remove two unused variables
5018 * lyxtextclass.C (readTitleType):
5020 (LyXTextClass): handle new members titletype_ and titlename_
5022 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5024 2003-02-09 John Levon <levon@movementarian.org>
5027 * buffer.C: replace hand-coded list with a map for the dep clean
5029 2003-02-08 John Levon <levon@movementarian.org>
5031 * LaTeX.C: consolidate code into showRunMessage() helper
5033 2003-02-08 John Levon <levon@movementarian.org>
5038 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5039 and pass the size in explicitly
5041 * BufferView_pimpl.h:
5042 * BufferView_pimpl.C:
5044 * BufferView.C: add getCurrentChange()
5046 * BufferView_pimpl.h:
5047 * BufferView_pimpl.C: handle change lfuns
5049 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5050 for changes. Mark pasted paragraphs as new.
5052 * support/lyxtime.h:
5053 * support/lyxtime.C:
5054 * DepTable.C: abstract time_t as lyx::time_type
5057 * LColor.C: add colours for new text, deleted text, changebars
5059 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5060 package use "usenames" option.
5064 * LyXAction.C: add change lfuns
5068 * author.C: author handling
5071 * buffer.C: add a per-buffer author list, with first entry as
5072 current author. Handle new .lyx tokens for change tracking. Output
5073 author list to .lyx file. Output dvipost stuff to .tex preamble.
5074 Bump lyx format to 222.
5077 * bufferlist.C: add setCurrentAuthor() to reset current author details
5081 * bufferparams.C: add param for tracking
5083 * bufferview_funcs.C: output change info in minibuffer
5087 * changes.C: add change-tracking structure
5090 * debug.C: add CHANGES debug flag
5093 * lyxfind.C: add code for finding the next change piece
5096 * lyxrc.C: add user_name and user_email
5099 * lyxrow.C: add a metric for the top of the text line
5102 * text.C: implement accept/rejectChange()
5105 * text.C: paint changebars. Paint new/deleted text in the chosen
5106 colours. Strike through deleted text.
5110 * paragraph_pimpl.h:
5111 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5112 in the current change to the insert functions. Rework erase to
5113 mark text as deleted, adding an eraseIntern() and a range-based
5114 erase(). Implement per-paragraph change lookup and
5117 * paragraph_funcs.C: Fixup paste for change tracking.
5119 * tabular.C: mark added row/columns as new.
5121 * text.C: fix rowLast() to never return -1. Don't allow
5122 spellchecking of deleted text. Track transpose changes. Don't
5123 allow paragraph break or merge where appropriate.
5125 * text2.C: leave cursor at end of selection after a cut.
5127 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5129 * text.C (getLengthMarkerHeight):
5130 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5131 visible on screen too.
5133 2003-02-07 John Levon <levon@movementarian.org>
5135 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5137 2003-02-05 Angus Leeming <leeming@lyx.org>
5139 * lyxserver.C (read_ready): revert my patch of 11 September last year
5140 as it sends PC cpu through the roof. Presumably this means that
5141 the lyxserver will no longer run on an Alpha...
5143 2003-01-30 Angus Leeming <leeming@lyx.org>
5145 * factory.C (createInset): create an InsetCommandParam of type "index"
5146 and use it to 'do the right thing'.
5148 * text2.C (getStringToIndex): ensure that cursor position is always
5149 reset to the reset_cursor position.
5151 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5153 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5156 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5160 * lyxfunc.C: Output messages with identical spelling, punctuation,
5163 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5165 * MenuBackend.C (expandFormats): List only viewable export formats
5168 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5171 * lyxfunc.C (getStatus): Make sure that formats other than
5172 "fax" can also be disabled
5174 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5176 * text3.C (dispatch): put the lfuns that insert insets in 3
5177 groups, and call doInsertInset with appropriate arguments.
5178 (doInsertInset): new function, that creates an inset and inserts
5179 it according to some boolean parameters.
5181 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * buffer.C (readFile): remember to pass on 'par' when calling
5184 readFile recursively.
5186 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5188 * MenuBackend.C (expandFormats): add "..." to import formats.
5190 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5192 * paragraph.C (asString): Remove XForms RTL hacks.
5194 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5195 * buffer.C: fix typo
5197 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5199 * Makefile.am (LIBS): delete var
5200 (lyx_LDADD): add @LIBS@ here instead.
5202 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5204 * Clarify the meaning of "wheel mouse jump"
5206 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5208 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5211 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5213 * importer.C (Loaders): do not preallocate 3 elements in the
5214 vector, since one ends up with 6 elements otherwise
5216 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5218 * DepTable.C (write): write the file name as last element of the
5219 .dep file (because it may contain spaces)
5220 (read): read info in the right order
5222 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5224 * paragraph_pimpl.C (simpleTeXBlanks):
5225 (simpleTeXSpecialChars):
5226 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5228 * tabular.C (latex): add some missing case statements. Reindent.
5230 * MenuBackend.C (expandToc): remove unused variable.
5232 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5241 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5244 2003-01-05 John Levon <levon@movementarian.org>
5247 * BufferView.C: add getEncoding()
5250 * kbsequence.C: do not store last keypress
5253 * lyxfunc.C: store last keypress here instead. Pass encoding
5256 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5258 * lyx_main.C (init): remove annoying error message when following
5259 symbolic links (bug #780)
5261 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5263 * text.C (insertChar):
5264 * lyxrc.C (getDescription): remove extra spaces
5266 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5268 * lyxrc.C (getDescription): remove extra spaces
5270 2002-12-20 John Levon <levon@movementarian.org>
5272 * text3.C: hack fix for page up/down across tall rows
5274 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5276 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5279 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5281 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5282 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5283 thesaurus is not compiled in
5285 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5287 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5289 2002-12-16 Angus Leeming <leeming@lyx.org>
5292 * lyx_main.C (init): remove override_x_deadkeys stuff.
5294 2002-12-12 John Levon <levon@movementarian.org>
5296 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5297 insert. Only remove shift modifier under strict
5300 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * MenuBackend.C (expandToc): fix crash.
5304 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * MenuBackend.C (expandToc): gettext on float names.
5308 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5310 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5311 implement bool empty() [bug 490]
5313 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5317 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * several files: ws changes
5321 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * text2.C (setCounter): clean up a bit, use boost.format.
5324 (updateCounters): initialize par upon declaration.
5326 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5327 if the layout exists. We do not just store the layout any more.
5328 (SwitchLayoutsBetweenClasses): use boost.format
5330 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5332 * converter.C (convert): if from and to files are the same, use a
5333 temporary files as intermediary
5335 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5338 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5340 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5342 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5344 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5346 * tabular.C (asciiPrintCell): use string(size, char) instead of
5349 * sgml.C (openTag): fix order of arguments to string constructor
5352 * lyxfunc.C (dispatch): use boost.format
5354 * lots of files: change "c" -> 'c'
5356 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5358 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5360 2002-11-25 Angus Leeming <leeming@lyx.org>
5362 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5364 * lyx_main.C (init): compile fix.
5366 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * lyx_cb.C (start): boost.formatify
5369 do not include <iostream>
5371 * lengthcommon.C: ws only
5373 * boost-inst.C,BoostFormat.h: add more explict instantations
5375 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * lots of files: handle USE_BOOST_FORMAT
5379 2002-11-21 John Levon <levon@movementarian.org>
5381 * pspell.C: fix compile
5383 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5385 * lyxfunc.C (dispatch): use boost::format
5389 * lyxfont.C (stateText): use boost::format
5391 * lyx_main.C (LyX): use boost::format
5393 (queryUserLyXDir): ditto
5396 (typedef boost::function): use the recommened syntax.
5398 * importer.C (Import): use boost::format
5400 * debug.C (showLevel): use boost::format
5402 * converter.C (view): use boost::format
5407 * bufferview_funcs.C (currentState): use boost::format
5409 * bufferlist.C (emergencyWrite): use boost::format
5411 * buffer.C (readLyXformat2): use boost::format
5412 (parseSingleLyXformat2Token): ditto
5414 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5416 * LaTeX.C (run): use boost::format
5418 * Chktex.C (scanLogFile): use boost::format
5420 * BufferView_pimpl.C (savePosition): use boost::format
5421 (restorePosition): ditto
5422 (MenuInsertLyXFile): ditto
5424 * BoostFormat.h: help file for explicit instation.
5426 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5428 * tabular.C (latex): Support for block alignment in fixed width
5431 2002-11-17 John Levon <levon@movementarian.org>
5433 * BufferView_pimpl.C:
5435 * lyxfunc.C: split filedialog into open/save
5437 2002-11-08 Juergen Vigna <jug@sad.it>
5439 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5440 by my last patch (hopefully).
5442 2002-11-08 John Levon <levon@movementarian.org>
5451 * toc.C: ParConstIterator, and use it (from Lars)
5453 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5455 * lyxtextclass.[Ch]: revise and add doxygen comments
5457 2002-11-07 John Levon <levon@movementarian.org>
5459 * text.C: fix progress value for spellchecker
5461 * toc.C: fix navigate menu for insetwrap inside minipage
5463 * paragraph_funcs.C: added FIXME for suspect code
5465 2002-11-07 John Levon <levon@movementarian.org>
5467 * BufferView_pimpl.C: fix redrawing of insets
5470 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5472 * text2.C (updateCounters): fix bug 668
5474 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5476 * text3.C (dispatch): Do not make the buffer dirty when moving the
5479 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5481 * vc-backend.C: STRCONV
5484 * text2.C (setCounter): STRCONV
5486 * paragraph.C (asString): STRCONV
5488 * lyxlength.C (asString): STRCONV
5489 (asLatexString): ditto
5491 * lyxgluelength.C (asString): STRCONV
5492 (asLatexString): ditto
5494 * lyxfunc.C (dispatch): STRCONV
5497 * lyxfont.C (stateText): STRCONV
5499 * importer.C (Import): STRCONV
5501 * counters.C (labelItem): STRCONV
5502 (numberLabel): ditto
5503 (numberLabel): remove unused ostringstream o
5508 * bufferview_funcs.C (currentState): STRCONV
5510 * buffer.C (readFile): STRCONV
5511 (asciiParagraph): ditto
5512 (makeLaTeXFile): ditto
5514 * Spacing.C (writeEnvirBegin): STRCONV
5516 * LaTeXFeatures.C (getLanguages): STRCONV
5517 (getPackages): ditto
5519 (getBabelOptions): ditto
5520 (getTClassPreamble): ditto
5521 (getLyXSGMLEntities): ditto
5522 (getIncludedFiles): ditto
5526 (scanAuxFile): ditto
5529 * LString.h: add the STRCONV macros
5531 * BufferView_pimpl.C (savePosition): STRCONV
5532 (restorePosition): ditto
5533 (MenuInsertLyXFile): ditto
5535 * vc-backend.C (scanMaster): change from submatch[...] to
5538 * funcrequest.C: include config.h
5540 * factory.C: include config.h
5542 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5544 * box.C: include config.h
5546 * LaTeX.C (scanAuxFile): change from submatch[...] to
5550 2002-10-25 Angus Leeming <leeming@lyx.org>
5552 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5554 * ispell.[Ch] (setError): new method.
5555 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5556 Use setError() insetead of goto END.
5558 * lyx_cb.C (AutoSave): move out child process into new class
5561 2002-10-30 John Levon <levon@movementarian.org>
5563 * text3.C: make start appendix undoable
5565 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5567 * lyxlength.C (inPixels): Fix returned value.
5569 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5572 2002-10-24 Angus Leeming <leeming@lyx.org>
5574 * lyxgluelength.h: no need to forward declare BufferParams
5575 or BufferView, so don't.
5577 2002-10-21 John Levon <levon@movementarian.org>
5579 * BufferView.C: menuUndo ->undo, redo
5581 * BufferView.h: document, remove dead, make some methods private
5583 * paragraph_funcs.h:
5584 * paragraph_funcs.C:
5585 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5590 * sgml.C: move sgml open/close tag into sgml.C
5592 * bufferview_funcs.h: unused prototype
5595 * lyxfunc.C: remove unused
5598 * text.C: remove unused
5600 2002-10-21 John Levon <levon@movementarian.org>
5604 * BufferView_pimpl.h:
5605 * BufferView_pimpl.C: fix mouse wheel handling based on
5606 patch from Darren Freeman
5608 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5610 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5612 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5614 * lyxlength.C (inPixels): Fix hanfling of negative length.
5615 Fix LyXLength::MU case.
5617 2002-10-16 John Levon <levon@movementarian.org>
5619 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5621 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5623 * converter.C (view): add support for $$i (file name) and $$p
5624 (file path) for the viewer command. If $$i is not specified, then
5625 it is appended to the command (for compatibility with old syntax)
5627 2002-10-14 Juergen Vigna <jug@sad.it>
5629 * undo_funcs.C (textHandleUndo): alter the order in which the
5630 new undopar is added to the LyXText, as we have to set first
5631 the right prev/next and then add it as otherwise the rebuild of
5632 LyXText is not correct. Also reset the cursor to the right paragraph,
5633 with this IMO we could remove the hack in "redoParagraphs()".
5635 2002-10-09 Angus Leeming <leeming@lyx.org>
5637 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5638 to turn off an optimisation if a new inset is to be inserted.
5640 2002-10-11 André Pönitz <poenitz@gmx.net>
5642 * lyxtext.h: make some functions public to allow access
5643 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5645 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5647 * text3.C (dispatch): when changing layout, avoid an infinite loop
5650 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5652 * lyxrc.C (read): treat a viewer or converter command of "none" as
5655 * MenuBackend.C (expandFormats): for an update, also allow the
5656 formats that are not viewable
5658 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5659 script if it is newer than the lyxrc.defaults in user directory
5661 2002-10-07 André Pönitz <poenitz@gmx.net>
5663 * text.C: Vitaly Lipatov's small i18n fix
5665 2002-09-25 Angus Leeming <leeming@lyx.org>
5667 * ispell.h: doxygen fix.
5669 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5671 * buffer.h (readFile): Add a new argument to the method, to allow
5672 reading of old-format templates.
5674 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5676 * toc.C (getTocList): Get TOC from InsetWrap.
5678 2002-09-16 John Levon <levon@movementarian.org>
5680 * lyxfunc.C: check tabular for cut/copy too
5682 2002-09-12 John Levon <levon@movementarian.org>
5687 * factory.C: add header
5689 * paragraph_funcs.h:
5690 * paragraph_funcs.C: cleanup
5692 2002-09-11 John Levon <levon@movementarian.org>
5694 * PrinterParams.h: odd/even default to true
5696 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5698 * PrinterParams.h: update printer parameters for new xforms dialog
5700 2002-09-11 Angus Leeming <leeming@lyx.org>
5702 * lyxserver.C (read_ready): re-write to make it more transparent
5703 and to make it work in coherent fashion under Tru64 Unix.
5705 2002-09-11 André Pönitz <poenitz@gmx.net>
5709 * text3.C: implement LFUN_WORDSEL
5711 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5713 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5714 make floatlist_ a boost::shared_ptr<FloatList>
5716 * lyxtextclass.C: include FloatList.h
5717 (LyXTextClass): initialize floatlist_
5718 (TextClassTags): add TC_NOFLOAT
5719 (Read): match "nofloat" to TC_NOFLOAT and use it.
5720 (readFloat): modify call to floatlist_
5724 * FloatList.[Ch] (FloatList): remove commented out float
5726 (erase): new function
5728 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5730 * MenuBackend.C (expandToc): fix crash when there is no document
5733 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5735 * many files: Add insetwrap.
5737 2002-09-09 John Levon <levon@movementarian.org>
5739 * text2.C: remove confusing and awkward depth wraparound
5741 2002-09-09 John Levon <levon@movementarian.org>
5743 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5746 * buffer.C: remove getIncludeonlyList()
5749 * lyxfunc.C: remove headers
5751 2002-09-09 Juergen Vigna <jug@sad.it>
5753 * text.C (getColumnNearX): fix form Michael this is most
5754 probably a cut&paste bug.
5756 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5760 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5761 references, ws changes.
5763 * text2.C (init): update counters after init
5764 (insertParagraph): no need to set counter on idividual paragraphs.
5765 (setCounter): access the counters object in the textclass object
5766 on in the buffer object.
5767 (updateCounters): ditto
5769 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5770 shared_ptr<Counters> to avoid loading counters.h in all
5772 (LyXTextClass): initialize ctrs_
5773 (TextClassTags): add TC_COUNTER, and ...
5774 (Read): use it here.
5775 (CounterTags): new tags
5776 (readCounter): new function
5777 (counters): new funtion
5778 (defaultLayoutName): return a const reference
5780 * counters.C (Counters): remove contructor
5781 (newCounter): remove a couple of unneeded statements.
5782 (newCounter): simplify a bit.
5783 (numberLabel): some small formatting changes.
5785 * buffer.[Ch]: remove all traces of counters, move the Counters
5786 object to the LyXTextClass.
5788 2002-09-06 Alain Castera <castera@in2p3.fr>
5790 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5791 package to set the horizontal alignment on fixed width columns.
5794 * lyx_sty.h: added tabularnewline macro def.
5796 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5798 2002-09-06 John Levon <levon@movementarian.org>
5800 * LyXAction.C: tooltips for sub/superscript
5802 * MenuBackend.C: a bit more verbose
5804 * lyxfunc.C: tiny clean
5806 * undo_funcs.C: document undo_frozen
5808 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * counters.C (Counters): add missing algorithm counter.
5812 * text2.C (setCounter): lookup the counter with layouts latexname
5813 instead of by section number.
5814 (setCounter): use a hackish way to lookup the correct enum
5816 a float name->type change
5817 reset enum couners with counter name directly instead of depth value.
5819 * counters.C (Counters): remove the push_backs, change to use the
5820 float type not the float name.
5821 (labelItem): remove unused string, float name->type change
5823 * counters.h: don't include vector, loose the enums and sects vectors
5825 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5828 (Read): add float->TC_FLOAT to textclassTags
5829 (Read): and handle it in the switch
5830 (readFloat): new function
5832 * FloatList.C (FloatList): comment out the hardcoded float
5835 * lyxlayout.h: ws change.
5837 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5839 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5841 2002-09-03 Angus Leeming <leeming@lyx.org>
5843 * BufferView_pimpl.h: qualified name is not allowed in member
5844 declaration: WorkArea & Pimpl::workarea() const;
5846 * factory.C: added using std::endl directive.
5848 * text3.C: added using std::find and std::vector directives.
5850 2002-08-29 André Pönitz <poenitz@gmx.net>
5853 * text2.C: remove unused member number_of_rows
5856 * BufferView2.C: remove file, move contents to...
5857 * BufferView.C: ... here
5859 * BufferView_pimpl.C:
5860 * factory.C: move more inset creation to factory
5862 * vspace.C: avoid direct usage of LyXText, ws changes
5865 don't provide direct access to WorkArea, use two simple
5866 acessors haveSelction() and workHeight() instead
5869 2002-08-29 John Levon <levon@movementarian.org>
5871 * BufferView_pimpl.C (dispatch): do not continue when
5874 2002-08-28 André Pönitz <poenitz@gmx.net>
5876 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5879 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5881 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5883 * buffer.C: increment LYX_FORMAT to 221
5885 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5886 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5888 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5890 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5892 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5894 * factory.C (createInset): use LyXTextClass::floats
5896 * MenuBackend.C (expandFloatListInsert):
5897 (expandFloatInsert):
5900 * text2.C (setCounter):
5902 * LaTeXFeatures.C (useFloat):
5903 (getFloatDefinitions):
5905 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5907 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5908 floatlist_, with accessor floats().
5910 * FloatList.h: remove global FloatList
5912 2002-08-26 André Pönitz <poenitz@gmx.net>
5914 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5918 * BufferView_pimpl.C:
5919 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5921 2002-08-25 John Levon <levon@movementarian.org>
5923 * LyXAction.C: fix margin note description
5925 2002-08-24 John Levon <levon@movementarian.org>
5929 * bufferview_funcs.C:
5931 * undo_funcs.C: cleanups
5933 * lyxfunc.C: disable CUT/COPY when no selection
5935 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5937 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5938 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5940 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5941 Add backward compatibility to "mono", "gray" and "no".
5943 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5945 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5946 (and file_format >= 200).
5948 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5950 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5952 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5954 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5956 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5958 * BufferView_pimpl.C:
5965 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5966 inset and code to make it work with the paragraph code. The inset
5967 can be anywhere in the paragraph, but will only do the expected
5968 thing in LaTeX if the layout file contains the parameter line
5970 (or more generally, a nonzero value) for that layout.
5972 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * paragraph.h: remove the declaration of undefined counters class
5977 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5979 * text2.C (setCounter): fixed enumeration mis-count as reported by
5980 Dr. Richard Hawkins.
5982 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5984 * paragraph_funcs.h: remove some unneeded includes
5986 * text.C (backspace): pasteParagraph now in global scipe
5988 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5989 (pasteSelection): ditto
5991 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5992 * paragraph_funcs.C (pasteParagraph): ... here
5994 2002-08-20 André Pönitz <poenitz@gmx.net>
5996 * commandtags.h: new LFUNs for swapping/copying table row/colums
5999 * lyxfunc.C: support for new lfuns
6001 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * buffer.[Ch]: remove NO_COMPABILITY stuff
6006 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * boost.C (throw_exception): new file, with helper function for
6009 boost compiled without exceptions.
6014 * ParameterStruct.h:
6015 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6017 * bufferlist.C (emergencyWriteAll): use boost bind
6019 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6021 * text.C: include paragraph_funcs.h
6022 (breakParagraph): breakParagraph is now in global scope
6024 * paragraph_funcs.[Ch]: new files
6026 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6029 * buffer.C: include paragraph_funcs.h
6030 (insertStringAsLines): breakParagraph is now in global scope
6032 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6035 * CutAndPaste.C: include paragraph_funcs.h
6036 (cutSelection): breakParagraphConservative is now in global scope
6037 (pasteSelection): ditto
6039 * buffer.h: declare oprator== and operator!= for
6040 Buffer::inset_iterator
6042 * bufferlist.C (emergencyWrite): don't use fmt(...)
6044 * text3.C: add using std::endl
6046 * BufferView.C (moveCursorUpdate): remove default arg
6048 2002-08-20 André Pönitz <poenitz@gmx.net>
6050 * buffer.[Ch]: move inline functions to .C
6053 * BufferView_pimpl.C:
6055 * buffer.[Ch]: use improved inset_iterator
6058 * paragraph.[Ch]: write one paragraph at a time
6060 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6062 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6063 style if style is not specified.
6065 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6067 * text2.C (setCounter): when searching for right label for a
6068 caption, make sure to recurse to parent insets (so that a caption
6069 in a minipage in a figure float works) (bug #568)
6071 2002-08-20 André Pönitz <poenitz@gmx.net>
6073 * text3.C: new file for LyXText::dispatch() and helpers
6075 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6077 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6079 2002-08-19 André Pönitz <poenitz@gmx.net>
6082 * text.C: new LyXText::dispatch()
6084 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6086 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6088 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6090 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6093 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6095 * Makefile.am: use $(variables) instead of @substitutions@
6097 2002-08-15 André Pönitz <poenitz@gmx.net>
6100 * BufferView_pimpl.C: streamlining mathed <-> outer world
6104 * LyXAction.C: remove unused LFUN_MATH
6106 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6108 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6110 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * paragraph.C (Paragraph): reformat a bit
6113 (cutIntoMinibuffer): use builtin InsetList function instad of
6117 * buffer.C: include boost/bind.hpp, add using std::for_each
6118 (writeFileAscii): use ParagraphList iterators
6119 (validate): use for_each for validate traversal of paragraphs
6120 (getBibkeyList): use ParagraphList iterators
6121 (resizeInsets): use for_each to resizeInsetsLyXText for all
6123 (getParFromID): use ParagraphList iterators
6125 * BufferView2.C (lockInset): use paragraph list and iterators
6127 2002-08-14 John Levon <levon@movementarian.org>
6129 * lyxserver.C: remove spurious xforms include
6131 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6133 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6135 2002-08-13 André Pönitz <poenitz@gmx.net>
6138 * lyxfunc.C: further cleaning
6140 2002-08-13 André Pönitz <poenitz@gmx.net>
6142 * funcrequest.h: new constructor
6144 * funcrequest.C: move stuff here from .h
6147 * BufferView_pimpl.C:
6150 * lyxfunc.C: subsequent changes
6152 * lyxfunc.h: new view() member function
6154 * lyxfunc.C: subsequent changes
6156 2002-08-13 Angus Leeming <leeming@lyx.org>
6159 * BufferView_pimpl.C:
6167 changes due to the changed LyXView interface that now returns references
6168 to member variables not pointers.
6170 2002-08-13 Angus Leeming <leeming@lyx.org>
6172 * WordLangTuple (word, lang_code): return references to strings,
6177 * lyxtext.h: forward-declare WordLangTuple.
6182 * text.C: #include "WordLangTuple.h".
6185 * text.C: (selectNextWordToSpellcheck): constify return type.
6187 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6193 * paragraph_pimpl.h:
6196 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6198 Made updateCounter always count from start of buffer, and removed
6199 second argument (par).
6200 Reverted floats number display to '#'. Perhaps I'll try again when the
6201 code base is sanitized a bit.
6203 2002-08-12 Angus Leeming <leeming@lyx.org>
6205 * buffer.[Ch] (getLabelList): constify.
6207 2002-08-07 André Pönitz <poenitz@gmx.net>
6209 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6211 * funcrequest.h: extension to keep mouse (x,y) position
6213 2002-08-12 Juergen Vigna <jug@sad.it>
6215 * BufferView2.C (insertErrors): forbid undo when inserting error
6218 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6220 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * ParagraphList.[Ch]: new files
6224 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6226 * BufferView2.C (lockInset): ParagraphList changes
6229 * bufferlist.C: ditto
6233 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6235 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6236 unused class variable counter_,
6238 * paragraph.[Ch] (getFirstCounter): delete unused function
6240 * counters.C: include LAssert.h
6241 (reset): add a new function with no arg, change other version to
6242 not have def. arg and to not allow empty arg.
6244 * text2.C (setCounter): remove empty arg from call to Counters::reset
6246 2002-08-11 John Levon <levon@movementarian.org>
6248 * Makefile.am: add WordLangTuple.h
6250 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6253 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6255 * insets/insettext.C: InsetList changes
6257 * graphics/GraphicsSupport.C (operator()): InsetList changes
6259 * toc.C (getTocList): InsetList changes
6261 * paragraph_pimpl.[Ch]: InsetList changes
6263 * paragraph.[Ch]: InsetList changes
6265 * buffer.C (inset_iterator): InsetList changes
6266 (setParagraph): ditto
6267 * buffer.h (inset_iterator): ditto
6268 * iterators.C (operator++): ditto
6269 * iterators.h: ditto
6271 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6273 * InsetList.[Ch]: new files, most InsetList handling moved out of
6276 * BufferView2.C (removeAutoInsets): InsetList changes
6278 (ChangeInsets): ditto
6280 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * paragraph_pimpl.h (empty): new function
6284 * paragraph.[Ch] (empty): new function
6286 * other files: use the new Paragraph::empty function
6288 2002-08-09 John Levon <levon@movementarian.org>
6290 * lyxtext.h: remove unused refresh_height
6292 2002-08-09 John Levon <levon@movementarian.org>
6299 * paragraph.C: move sgml char escaping out of paragraph
6302 * paragraph.C: remove id setter
6306 * paragraph_pimpl.C: remove dead tex_code_break_column
6308 * bufferview_funcs.C: small cleanup
6310 * lyxfunc.C: remove dead proto
6312 * lyxtext.h: make some stuff private. Remove some dead stuff.
6314 * lyxgluelength.C: make as[LyX]String() readable
6316 2002-08-08 John Levon <levon@movementarian.org>
6321 * ToolbarDefaults.C:
6324 * toc.C: lyxaction cleanup
6326 2002-08-08 John Levon <levon@movementarian.org>
6328 * BufferView2.C: small cleanup
6331 * lyxfind.C: move unnecessary header into the .C
6333 2002-08-08 John Levon <levon@movementarian.org>
6335 * funcrequest.h: just tedious nonsense
6338 * lyx_main.C: cleanups
6341 * vspace.C: remove dead header lyx_main.h
6343 2002-08-07 Angus Leeming <leeming@lyx.org>
6346 * paragraph_pimpl.h:
6347 Forward declare class Counters in paragraph.h by moving the ctrs member
6348 variable into Paragraph::Pimpl.
6349 (counters): new method, returning a reference to pimpl_->ctrs.
6351 * text2.C: ensuing changes.
6353 2002-08-07 John Levon <levon@movementarian.org>
6355 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6357 * BufferView_pimpl.C: announce X selection on double/triple
6360 * lyx_main.C: use correct bool in batch dispatch
6362 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6364 2002-08-07 André Pönitz <poenitz@gmx.net>
6366 * funcrequest.h: new class to wrap a kb_action and its argument
6369 * BufferView_pimpl[Ch]:
6373 * lyxrc.C: subsequent changes
6376 2002-08-07 John Levon <levon@movementarian.org>
6378 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6379 document options change.
6381 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6386 * makefile.am: move counters functionality over from
6387 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6389 2002-08-06 John Levon <levon@movementarian.org>
6391 * WordLangTuple.h: new file for word + language code tuple
6402 * BufferView2.C: use WordLangTuple
6405 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6407 2002-08-06 John Levon <levon@movementarian.org>
6409 * lyx_main.C: fix cmdline batch handling
6411 2002-08-06 André Pönitz <poenitz@gmx.net>
6413 * lyxrc.C: set default for show_banner to true
6415 2002-08-06 John Levon <levon@movementarian.org>
6417 * pspell.C: fix a crash, and allow new aspell to work
6419 2002-08-06 John Levon <levon@movementarian.org>
6422 * kbmap.C: small cleanup
6425 * vspace.C: add const
6427 2002-08-05 John Levon <levon@movementarian.org>
6429 * LyXAction.C: back to tabular-insert
6431 2002-08-04 John Levon <levon@movementarian.org>
6434 * BufferView.C: cosmetic change
6436 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6446 * BufferView2.C: purge all "Lyx" not "LyX" strings
6449 * lyxcursor.C: attempt to add some documentation
6454 * ToolbarDefaults.C:
6455 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6456 merge with LFUN_TABULAR_INSERT
6463 * pspell.C: split up i/pspell implementations into separate
6464 files, many cleanups
6466 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6468 * text2.C: some cleanup
6470 * lyxfunc.C: don't check for isp_command == "none" any more, it
6471 didn't make any sense
6473 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6478 * makefile.am: move counters functionality over
6479 from text2.C/paragraph.[Ch] to counters.[Ch], and
6481 2002-08-02 John Levon <levon@movementarian.org>
6483 * buffer.C: s/lyxconvert/lyx2lyx/
6485 2002-08-02 Angus Leeming <leeming@lyx.org>
6487 * lyxlex.C: revert John's change as it breaks reading of the user
6490 2002-08-02 Angus Leeming <leeming@lyx.org>
6492 * importer.C (Import):
6493 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6494 changes due to LyXView::view() now returning a boost::shared_ptr.
6496 2002-08-02 John Levon <levon@movementarian.org>
6498 * lyxlex.C: small cleanup
6500 2002-08-02 John Levon <levon@movementarian.org>
6502 * text2.C (status): small cleanup, no logic change
6504 2002-08-01 John Levon <levon@movementarian.org>
6507 * buffer.C (writeFile): don't output alerts, caller
6511 * lyx_cb.C: from above
6513 * lyxfunc.C: allow to open non-existent files
6515 2002-07-31 John Levon <levon@movementarian.org>
6517 * lyxserver.C: don't let incidental errors get
6520 2002-07-30 John Levon <levon@movementarian.org>
6522 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6524 2002-07-30 John Levon <levon@movementarian.org>
6527 * lyxserver.C: remove I/O callback too
6529 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6531 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6534 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * many files: strip,frontStrip -> trim,ltrim,rtrim
6538 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6540 * PrinterParams.h: remove extern containsOnly, and include
6541 support/lstrings.h instead.
6543 * LaTeX.C (scanAuxFile): modify because of strip changes
6545 * buffer.C (makeLaTeXFile): ditto
6546 * bufferparams.C (writeFile): ditt
6547 * lyxfont.C (stateText): ditto
6548 * lyxserver.C (read_ready): ditto
6549 * vc-backend.C (scanMaster): ditto
6551 * BufferView_pimpl.h: ws changes
6553 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6555 2002-07-26 André Pönitz <poenitz@gmx.net>
6557 * kb_sequence.C: remove unnedred usings
6559 2002-07-26 Juergen Vigna <jug@sad.it>
6561 * lyxfind.C (LyXReplace): we have to check better if the returned
6562 text is not of theLockingInset()->getLockingInset().
6564 2002-07-25 Juergen Vigna <jug@sad.it>
6566 * lyxfind.C (LyXReplace): don't replace if we don't get the
6569 * undo_funcs.C (createUndo): remove debugging code.
6571 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6573 * buffer.C (parseSingleLyXformat2Token): Use default placement
6574 when reading old floats.
6576 * FloatList.C (FloatList): Change the default placement of figure
6577 and tables to "tbp".
6579 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6581 * MenuBackend.C: using std::max
6583 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6585 * MenuBackend.C (expandToc):
6586 (expandToc2): code moved from xforms menu frontend. It is now
6587 generic and TOCs are transparent to menu frontends.
6589 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6591 * toc.C (getTocList): protect against buf=0
6593 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6594 Menu as first parameter. Now, this calls itself recursively to
6595 expand a whole tree (this will be useful for TOC handling)
6596 (expandFloatInsert): remove 'wide' version of floats
6598 * MenuBackend.h (submenuname): returns the name of the submenu.
6599 (submenu): returns the submenu itself, provided it has been
6600 created by MenuBackend::expand
6602 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6604 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6605 insets which have noFontChange == true. (bug #172)
6607 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6609 * BufferView_pimpl.C: add connection objects and use them...
6612 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6614 * MenuBackend.C (expandLastfiles):
6617 (expandFloatListInsert):
6618 (expandFloatInsert):
6619 (expand): split expand in parts
6621 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6623 * lyx_gui.C: use lyx_gui::exit()
6625 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6627 * LyXAction.C: show the failing pseudo action
6629 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6631 * buffer.C (readFile): Run the lyxconvert script in order to read
6634 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6638 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6640 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6644 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6646 2002-07-22 Herbert Voss <voss@lyx.org>
6649 * lyxlength.[Ch]: add support for the vertical lengths
6651 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6653 * toc.[Ch]: std:: fixes
6655 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6657 * lyxrc.C: do not include lyx_main.h
6659 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6665 * BufferView2.C: include "lyxlex.h"
6668 * bufferparams.h: do not #include "lyxlex.h"
6670 * lyxtextclasslist.C (Add): remove method
6671 (classlist): renamed to classlist_
6673 * paragraph_pimpl.C:
6677 * bufferview_funcs.C:
6682 * toc.C (getTocList): use BufferParams::getLyXTextClass
6684 * toc.C (getTocList): use InsetFloat::addToToc
6686 * toc.[Ch]: new files, containing helper functions to handle table
6689 * lyxfunc.C (dispatch): no need to remove spaces around command
6691 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6692 first command of the sequence; it is not very clever, but I do not
6693 have a better idea, actually
6695 * LyXAction.C (LookupFunc): make sure to remove space at the
6696 beginning and end of the command
6698 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6700 * MenuBackend.C (getMenubar): new method: return the menubar of
6702 (read): treat differently reading of menu and menubar (in
6703 particular, the menubar has no name now)
6704 (Menu::menubar): remove
6706 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6709 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6711 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6712 a bibitem inset in a RTL paragraph.
6714 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6716 * paragraph_pimpl.C: constify
6718 * BufferView_pimpl.C:
6720 * lyxfunc.C: fix dispatch in a nicer way
6722 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * lyxfunc.C (dispatch):
6725 * BufferView_pimpl.C:
6726 * BufferView_pimpl.h:
6728 * BufferView.h: rename Dispatch() to dispatch()
6730 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6732 * lyxlayout.C (Read): honor DependsOn tag
6734 * lyxlayout.[Ch] (depends_on): new method
6736 * version.C.in: update lyx_docversion
6738 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6740 * paragraph.C (validate): remove from here...
6741 * paragraph_pimpl.C (validate): ... and move here
6742 (isTextAt): make it const
6744 * buffer.C (getLists): ws cleanup
6746 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6748 * language.C (read): Use iso8859-1 encoding in latex_lang
6749 (this prevents LyX from crashing when using iso10646-1 encoding).
6751 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6753 * text2.C (toggleInset): if cursor is inside an inset, close the
6754 inset and leave cursor _after_ it
6756 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6758 * lyxfunc.C: move minibuffer completion handling out of here
6760 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6762 * BufferView_pimpl.C:
6763 * LaTeX.C: fix dispatch calls
6765 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6767 * text.C (drawChars): Fix Arabic text rendering.
6769 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6773 * lyxfunc.C: remove message-push/pop
6777 * lyxfunc.C: rationalise some code by removing verboseDispatch
6778 in favour of a bool argument to dispatch()
6780 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6782 * lyx_main.C (init): make sure to read symlinks as absolute paths
6784 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6787 * lyxfunc.C: no need for commandshortcut to be a member
6789 2002-07-15 André Pönitz <poenitz@gmx.net>
6791 * converter.C: add support for $$s (scripts from lib/scripts dir)
6792 * lyx_main.C: white space
6794 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6798 * lyxrc.C: remove second exit confirmation
6800 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6805 * BufferView_pimpl.h:
6806 * BufferView_pimpl.C:
6807 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6809 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6811 * MenuBackend.C (expand): add numeric shortcuts to document menu
6813 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6815 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6817 * lyxfont.C (setLyXFamily):
6824 * buffer.C (asciiParagraph): use ascii_lowercase
6826 2002-07-15 Mike Fabian <mfabian@suse.de>
6828 * lyxlex_pimpl.C (search_kw):
6829 * lyxlex.C (getLongString):
6830 * converter.h (operator<):
6831 * converter.C (operator<):
6832 * buffer.C (parseSingleLyXformat2Token):
6834 * ToolbarDefaults.C (read):
6835 * MenuBackend.C (checkShortcuts):
6837 * LColor.C (getFromGUIName):
6838 (getFromLyXName): use the compare_ascii_no_case instead of
6839 compare_no_case, because in turkish, 'i' is not the lowercase
6840 version of 'I', and thus turkish locale breaks parsing of tags.
6842 2002-07-16 Angus Leeming <leeming@lyx.org>
6844 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6845 now takes a Buffer const & argument.
6847 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6849 * BufferView.C (resize): check there's a buffer to resize
6851 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6853 * lyxfunc.C: remove dead code
6856 * lyxserver.C: use lyx_guii::set_read_callback
6858 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6860 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6861 an inset in a RTL paragraph.
6863 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6865 * lyxfunc.C: repaint after a font size update
6867 2002-07-15 André Pönitz <poenitz@gmx.net>
6869 * lyxlength.C: inBP should be able to return negative values
6871 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6873 * lyxfunc.C: use lyx_gui::update_fonts()
6875 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6877 * lyxfunc.C: use lyx_gui::update_color()
6879 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6885 * lyxrc.C: remove file->new asks for name option, and let
6886 buffer-new take an argument
6888 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6890 * BufferView_pimpl.C: remove unneeded extra repaint()
6892 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6894 * LyXAction.C: allow command-sequence with NoBuffer
6896 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6898 2002-07-10 Angus Leeming <leeming@lyx.org>
6900 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6902 2002-07-09 Angus Leeming <leeming@lyx.org>
6904 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6906 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6908 * lengthcommon.h: whitespace
6910 * lyxfunc.C: update scrollbar after goto paragraph
6912 * lyxtext.h: factor out page break drawing, and fix it so
6913 page break/added space paints as selected nicely
6915 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6917 * BufferView_pimpl.C: add FIXMEs, clean up a little
6919 2002-07-09 André Pönitz <poenitz@gmx.net>
6921 * lyxfont.[Ch]: support for wasy symbols
6923 2002-07-08 André Pönitz <poenitz@gmx.net>
6925 * BufferView_pimpl.C: apply John's patch for #93.
6927 2002-07-05 Angus Leeming <leeming@lyx.org>
6929 * BufferView_pimpl.C (buffer): generate previews if desired.
6931 * LColor.h: add "preview" to the color enum.
6933 * LColor.C (LColor): add a corresponding entry to the items array.
6935 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6938 2002-07-05 Angus Leeming <leeming@lyx.org>
6940 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6941 The body of the code is now in the method that is passed an ostream &
6942 rather than a file name.
6943 Pass an additional only_preamble parameter, useful for the forthcoming
6946 2002-07-03 André Pönitz <poenitz@gmx.net>
6948 * lyxfunc.C: simplify getStatus() a bit for math stuff
6950 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6952 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6954 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * text.C (changeRegionCase): do not change case of all the
6957 document when region ends at paragraph end (bug #461)
6959 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6961 * paragraph.C (startTeXParParams):
6962 (endTeXParParams): add \protect when necessary
6964 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6966 * BufferView_pimpl.C (workAreaExpose): remove warning
6968 2002-06-27 Angus Leeming <leeming@lyx.org>
6970 * Makefile.am: add lyxlayout_ptr_fwd.h.
6972 2002-06-26 André Pönitz <poenitz@gmx.net>
6974 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6976 2002-06-25 Angus Leeming <leeming@lyx.org>
6978 * lyxfunc.C (dispatch): Comment out the call to
6979 grfx::GCache::changeDisplay. The method no longer exists now that the
6980 pixmap generation part of the graphics loader has been moved into
6983 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6985 * text2.C: layout as layout
6987 * text.C: layout as layout
6989 * tabular.C (OldFormatRead): layout as layout
6991 * paragraph_pimpl.C (TeXDeeper): layout as layout
6992 (realizeFont): layout as layout
6994 * paragraph.C (writeFile): layout as layout
6995 (validate): layout as layout
6996 (getFont): layout as layout
6997 (getLabelFont): layout as layout
6998 (getLayoutFont): layout as layout
6999 (breakParagraph): layout as layout
7000 (stripLeadingSpaces): layout as layout
7001 (getEndLabel): layout as layout
7002 (getMaxDepthAfter): layout as layout
7003 (applyLayout): layout as layout
7004 (TeXOnePar): layout as layout
7005 (simpleTeXOnePar): layout as layout
7006 (TeXEnvironment): layout as layout
7007 (layout): layout as layout
7008 (layout): layout as layout
7010 * lyxtextclass.C (compare_name): new functor to work with
7011 shared_ptr, layout as layout
7012 (Read): layout as layout
7013 (hasLayout): layout as layout
7014 (operator): layout as layout
7015 (delete_layout): layout as layout
7016 (defaultLayout): layout as layout
7018 * lyxlayout_ptr_fwd.h: new file
7020 * lyxlayout.C (Read): layout as layout
7022 * lyx_cb.C (MenuInsertLabel): layout as layout
7024 * bufferlist.C (newFile): layout as layout
7026 * buffer.C (readLyXformat2): layout as layout
7027 (parseSingleLyXformat2Token): layout as layout
7028 (insertStringAsLines): layout as layout
7029 (asciiParagraph): layout as layout
7030 (latexParagraphs): layout as layout
7031 (makeLinuxDocFile): layout as layout
7032 (simpleLinuxDocOnePar): layout as layout
7033 (makeDocBookFile): layout as layout
7034 (simpleDocBookOnePar): layout as layout
7035 (getLists): layout as layout
7037 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7039 * CutAndPaste.C (cutSelection): layout as layout
7040 (pasteSelection): layout as layout
7041 (SwitchLayoutsBetweenClasses): layout as layout
7043 * BufferView_pimpl.C (Dispatch): layout as layout
7044 (smartQuote): layout as layout
7046 * BufferView2.C (unlockInset): layout as layout
7048 2002-06-24 André Pönitz <poenitz@gmx.net>
7050 * lyxfunc.C: fix #487
7052 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7056 * lyxfunc.C: remove display_shortcuts, show_banner
7058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7060 * Buffer_pimpl.C: oops, update on resize
7062 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7069 * BufferView.C: use repaint()
7071 * BufferView_pimpl.h:
7072 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7073 as it's a clearer description. Remove superfluous
7076 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7078 * text.C: fix bug 488. Not ideal, but getting
7079 getWord() to work properly for the insets that
7080 matter is more difficult ...
7082 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7084 * BufferView_pimpl.C:
7087 * lyxfunc.C: remove the six million index lyxfuncs to just
7088 one, and DTRT (bug 458)
7090 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7094 * BufferView_pimpl.h:
7095 * BufferView_pimpl.C: clean up resize() stuff,
7096 and unnecessary updateScreen()s
7098 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7102 * BufferView_pimpl.h:
7103 * BufferView_pimpl.C:
7106 * minibuffer.C: remove focus management of workarea,
7107 not needed. Use screen's greyOut()
7109 2002-06-17 Herbert Voss <voss@lyx.org>
7111 * converter.C: (convert) do not post a message, when converting
7112 fails, let the calling function decide what to do in this case
7114 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7116 * lyxfunc.C: tidy up a little
7118 2002-06-16 <alstrup@diku.dk>
7120 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7121 Got rid of FORMS_H_LOCATION include. Now we are
7124 2002-06-15 LyX Development team <lyx@rilke>
7126 * buffer.[Ch] (sgmlOpenTag):
7127 (sgmlCloseTag): Added support for avoiding pernicious mixed
7128 content. Return number of lines written.
7131 (makeDocBookFile): Fixed calls to sgml*Tag.
7132 Simple white space clean.
7134 (simpleDocBookOnePar): Simple white space clean.
7136 * tabular.[Ch] (docBook): Renamed to docbook and got another
7137 argument to related with the pernicious mixed content.
7139 (docbookRow): Fixed calls for docbook inset method.
7141 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7143 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7144 so it's X11 independent.
7148 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7150 2002-06-15 Lyx Development team <lyx@electronia>
7152 * intl.h: Renamed getTrans to getTransManager.
7154 2002-06-14 Angus Leeming <leeming@lyx.org>
7156 * Makefile.am: nuke forgotten stl_string_fwd.h.
7158 2002-06-12 Angus Leeming <leeming@lyx.org>
7160 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7162 2002-06-13 Angus Leeming <leeming@lyx.org>
7165 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7167 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7169 * kbmap.C (getiso): add support for cyrillic and greek
7171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7175 * BufferView_pimpl.h:
7176 * BufferView_pimpl.C: move bogus scrolling logic
7179 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7182 * BufferView_pimpl.C: view->resize() change
7184 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7186 * BufferView_pimpl.C: topCursorVisible
7189 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7193 * lyx_gui.C: move to frontends/
7197 * lyx_main.C: changes from above
7199 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7206 * lyx_main.C: minor tidy
7208 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7210 * BufferView_pimpl.h:
7211 * BufferView_pimpl.C:
7213 * BufferView.C: make painter() const,
7216 * BufferView2.C: use screen() accessor
7219 * lyx_main.C: some minor cleanup
7221 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7223 * BufferView_pimpl.h:
7224 * BufferView_pimpl.C: remove enter/leaveView,
7227 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7232 * BufferView_pimpl.h:
7233 * BufferView_pimpl.C: only construct screen once,
7236 * lyxrc.C: remove pointless comment
7238 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7241 * BufferView.C: remove active() and belowMouse()
7243 * BufferView_pimpl.h:
7244 * BufferView_pimpl.C: use workarea() not workarea_,
7245 and make it use a scoped_ptr instead
7247 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7249 * lyx_gui.C: add debug message on BadWindow
7251 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7253 * sp_spell.C: fdopen is not part of the C++ standard.
7255 * paragraph.C (InsetIterator): use >= instead of ==
7257 2002-06-07 Angus Leeming <leeming@lyx.org>
7259 Fixes needed to compile with Compaq cxx 6.5.
7260 * BufferView_pimpl.C:
7267 * lyxtextclasslist.C:
7272 all c-library variables have been moved into namespace std. Wrap
7273 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7278 Add a using std::abs declaration.
7280 * kbmap.h (modifier_pair):
7281 * paragraph.h (InsetTable, InsetList):
7282 * lyxfont.h (FontBits):
7283 type definition made public.
7285 * bufferlist.C (emergencyWriteAll): the compiler complains that
7286 there is more than one possible lyx::class_fun template to choose from.
7287 I re-named the void specialisation as lyx::void_class_fun.
7289 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7291 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7292 the compiler is is unable to find tostr in write_attribute.
7294 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7296 * buffer.C (sgmlError): hide #warning
7298 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7300 * xtl/*: get rid of xtl, which is not in use anyway
7302 * LyXAction.C (init):
7303 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7304 were unimplemented xtl experimentation
7306 2002-06-04 André Pönitz <poenitz@gmx.net>
7308 * lyxfunc.C: disable array operation on simple formulae
7310 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7312 * converter.C: constify a bit
7314 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7316 * lyx_gui.C: check xforms version correctly
7318 2002-04-30 Herbert Voss <voss@lyx.org>
7320 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7323 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7325 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7326 attempt to register it with a VCS)
7328 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * lyx_main.C (init): honor variables LYX_DIR_13x and
7333 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7337 * lyx_main.C: fix a crash on bad command line,
7338 and give a useful exit status on error
7340 * lyxfunc.C (doImport): allow -i lyx to work
7342 2002-03-30 André Pönitz <poenitz@gmx.net>
7344 * lyxfunc.C: mathed font changes
7346 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7361 * trans_mgr.h: srcdocs, and some minor cleanups
7363 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7365 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7366 call getFont all the time)
7368 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7370 * switch from SigC signals to boost::signals
7372 2002-05-29 André Pönitz <poenitz@gmx.net>
7374 * paragraph_pimpl.C (getChar): don't call size() too often...
7376 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7378 * paragraph_pimpl.C (insertChar): do not try to update tables when
7379 appending (pos == size())
7381 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7382 in order to reduce drastically the number of comparisons needed to
7383 parse a large document
7385 2002-05-29 André Pönitz <poenitz@gmx.net>
7391 * textclasslist.[Ch]:
7392 * sp_ispell.h: whitespace change
7394 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7396 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7397 lyxaction directly now.
7399 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7403 * lyxvc.C: remove unused headers
7405 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7412 * undo_funcs.C: some cleanups. Use shared_ptr
7413 and a template for the undo stacks.
7415 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7417 * BufferView_pimpl.h:
7418 * BufferView_pimpl.C:
7425 * text2.C: use key_state/mouse_state
7427 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7429 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7432 * chset.C: change include order
7433 (loadFile): use boost regex and get rid of LRegex and LSubstring
7435 * Makefile.am (BOOST_LIBS): new variable
7438 * LaTeX.C: change include order.
7439 (scanAuxFile): use boost regex and get rid of LRegex and
7443 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7448 * FontInfo.C: moved to frontends/xforms/
7451 * FontLoader.C: moved into frontends for GUIIzation
7456 * lyxfunc.C: changes from above
7458 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7460 * LColor.C: remove spurious X include
7462 * BufferView_pimpl.C:
7467 * text2.C: move font metrics to frontends/
7469 2002-05-24 Juergen Vigna <jug@sad.it>
7471 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7472 setting the undo_cursor.
7474 * ParagraphParameters.h: include local includes first.
7476 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7478 * BufferView_pimpl.C:
7479 * BufferView_pimpl.h:
7483 * screen.C: move WorkArea into frontends/
7489 * BufferView2.C: move LyXScreen into frontends/
7493 * lyx_gui.C: move lyxlookup into frontends/xforms/
7495 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7498 * BufferView_pimpl.C:
7508 * bufferview_funcs.C:
7521 * vc-backend.C: move LyX/XFormsView into frontends/
7523 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7535 * text2.C: move Painter to frontends/
7537 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7539 * buffer.C: comment out some some code that depend upon lyx_format
7542 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7543 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7545 * buffer.h (NO_COMPABILITY): turn off compability
7547 * ColorHandler.C: include scoped_array.hpp
7549 * font.C: Use more specific smart_ptr header.
7552 * ShareContainer.h: ditto
7556 * BufferView_pimpl.h: ditto
7557 * ColorHandler.h: ditto
7559 * kbmap.C (defkey): change call to shared_ptr::reset
7561 2002-05-21 Juergen Vigna <jug@sad.it>
7563 * buffer.C (insertErtContents): fix to insert ert asis if it is
7564 non empty. Skip it completely if it contains only whitespaces.
7566 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7568 * BufferView_pimpl.C:
7569 * BufferView2.C: clear selection on paste (bug 393)
7571 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7573 * DepTable.C: include ctime
7575 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7577 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7579 2002-05-14 Juergen Vigna <jug@sad.it>
7581 * text.C (breakParagraph): fixed function to honor the keepempty
7582 layout in the right maner and also to permit the right breaking
7583 algorithm on empty or non empyt keepempty paragraphs.
7585 * paragraph.C (breakParagraph): we have to check also if the par
7586 is really empty (!size()) for isempty otherwise we do the wrong
7589 2002-05-10 Juergen Vigna <jug@sad.it>
7591 * buffer.[Ch] : The following are only changes to the ert
7592 compatibility read reading old LaTeX layout and font stuff and
7593 convert it to ERTInsets.
7595 * buffer.h: added isErtInset().
7597 * buffer.C (struct ErtComp): add a fromlayout bool to check
7598 if we're inside a LaTeX layout.
7599 (isErtInset): new helper function.
7600 (insertErtContents): look for other ert insets before this one
7601 and insert the contents there, so that we don't have subsequent
7602 ERT insets with nothing between them. This way we create only one
7603 inset with multiple paragraphs. Also check if we don't insert only
7604 spaces ' ' as they are ignored anyway afterwards in the .tex file
7605 so if we have only spaces we will ignore this latex part in the
7607 (parseSingleLyXformat2Token \\layout): better compatibility when
7608 reading layout-latex stuff.
7609 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7611 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7612 stuff after reading the inset only get the information back from
7615 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7617 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7619 * LaTeXFeatures.C (getBabelOptions): New method.
7621 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7623 * BufferView_pimpl.C (Dispatch): work around missing argument for
7626 2002-05-08 Juergen Vigna <jug@sad.it>
7628 * text.C (leftMargin): handle paragraph leftindent.
7630 * paragraph.C (writeFile): write the new \\leftindent tag.
7631 (validate): handle leftindent code.
7632 (TeXEnvironment): handle paragraphleftindent code again.
7634 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7636 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7637 for paragrap_extra indent code and new token \\leftindent.
7638 (latexParagraphs): handle the leftindent as environment.
7640 * ParameterStruct.h: added leftindent support.
7642 * ParagraphParameters.C (leftIndent): added support functions for
7643 the paragraph left indent.
7645 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7648 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7650 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7653 * text.C (computeBidiTables): No bidi in insetERT.
7655 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7658 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7660 * version.C.in: pre 5
7662 2002-05-02 José Matos <jamatos@fep.up.pt>
7663 * buffer.C (makeDocBookFile): white space changes, add newline to
7665 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7667 * tabular.C (docBook): fix typo.
7669 2002-05-03 Juergen Vigna <jug@sad.it>
7671 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7672 change in LyXText as we can not be sure it was not freed.
7673 (drawOneRow): remove unused code.
7675 * text.C (drawInset): redo the calculation of the need_break_row as
7676 it could have a row which was already freed.
7677 (draw): look at the return value of drawInset and return false if
7678 it also returned false.
7679 (paintRowText): look at the return value of draw and return false if
7680 it also returned false.
7682 * lyxtext.h: added bool return type to drawInset() and draw() so that
7683 if we have a change in the row so that the rowbreak has to be redone
7684 we abort drawing as it will be called again.
7686 2002-05-02 Juergen Vigna <jug@sad.it>
7688 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7689 a change in the maintext also if we're inside an inset.
7690 (Dispatch): set the cursor again after a break line and after the
7691 screen has been updated as it could be we're in a different row.
7693 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7694 to set the cursor behind the pargraph with > size().
7695 (setCursor): check also for the same paragraph when checking where
7696 to put the cursor if we have a NFR inset.
7698 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7699 parts of layout read further up as it still was in the wrong
7702 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7704 * screen.C (drawFromTo): change sine fullRebreak always return
7707 * buffer.C (parseSingleLyXformat2Token): reindent some
7709 * BufferView_pimpl.C (update): change since fullRebreak always
7711 (Dispatch): git rid of the last hardcoded "Standard"s.
7713 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7715 * text2.[Ch] (fullRebreak): make it return void now that we always
7718 2002-04-30 Juergen Vigna <jug@sad.it>
7720 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7721 ert compatibility check for "latex" layout.
7723 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7725 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7726 minipages: use col% instead of p%, and also use the current font.
7727 (makeLaTeXFile): Fix use babel condition.
7728 (parseSingleLyXformat2Token): Correct font when reading old floats.
7730 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7732 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7733 inserting list of floats.
7735 2002-04-25 Herbert Voss <voss@lyx.org>
7737 * MenuBackend.C (expand): don't add the graphics extensions to the
7740 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7743 non-existing layout, do not complain if it was the default layout
7744 of the original class (bug #342)
7746 2002-04-24 Juergen Vigna <jug@sad.it>
7748 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7749 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7751 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7753 * buffer.C (getBibkeyList): If using \bibliography, return the
7754 option field with the reference itself. Enables us to provide natbib
7755 support when using \bibliography.
7757 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7759 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7761 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7762 natbib is provided by the LaTeX class.
7764 2002-04-23 Juergen Vigna <jug@sad.it>
7766 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7769 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7771 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7773 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7775 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7776 ensuremath around textordmasculine, textordfeminine and
7779 2002-04-19 Juergen Vigna <jug@sad.it>
7781 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7782 reinitializing the buffer otherwise row-dimensions may be wrong.
7783 (update): reset also the selection cursors if they do exits otherwise
7784 their x/y positions may be wrong.
7786 * text2.C (cursorDown): don't enter the inset if we came from a row
7787 above and are one row over the inset.
7789 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7790 really leaving an inset.
7792 2002-04-18 Juergen Vigna <jug@sad.it>
7794 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7795 of the selected paragraph does not have the selected layout also if
7798 * text2.C (setLayout): fixed bug which did not change last selected
7801 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7802 changed the read and substituted \\end_float with \\end_inset!
7804 * BufferView_pimpl.C (cursorPrevious):
7805 (cursorNext): fixed to make it work with rows heigher than the work
7806 area without moving the cursor only the draw of the row.
7807 (workAreaMotionNotify): fix jumping over high rows.
7809 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7811 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7814 2002-04-16 Juergen Vigna <jug@sad.it>
7816 * text2.C (setCursor): set also the irow().
7817 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7819 (cursorDown): support for locking an inset if the x_fix value goes
7820 inside it. That way I can transverse insets too with cursor up/down.
7822 * lyxrow.h: added irow helper function same as other (i) functions.
7824 * BufferView_pimpl.C (cursorPrevious):
7825 (cursorNext): fixed for insets!
7827 2002-04-15 Juergen Vigna <jug@sad.it>
7829 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7830 position otherwise it is wrong in some cases.
7832 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7833 inside the inset before the call.
7835 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7837 * buffer.[Ch] (getBibkeyList): make it const.
7839 2002-04-12 Juergen Vigna <jug@sad.it>
7841 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7843 * text2.C (getCursorX): new helper function
7844 (setCursor): compute also ix_
7845 (setCursorFromCoordinates): set also ix.
7847 * lyxcursor.h: added ix_ and helper functions.
7849 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7851 * buffer.C (insertStringAsLines): dont break paragraph if the this
7852 paragraph is inside an inset which does not permit it!
7854 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7855 also with no chars on this paragraph.
7856 (paintRowText): only paint stuff if it's inside the workarea!
7858 * paragraph.C (breakParagraph): honor keepempty flag and break the
7859 paragraph always below not above.
7861 * BufferView2.C (unlockInset): update the paragraph layout on inset
7862 unlock as we changed paragraph in such a case.
7864 * lyxfind.C (LyXFind): clear the former selection if not found!
7866 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7867 again called in insertChar().
7869 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7870 an inset which uses the whole row!
7871 (rightMargin): ditto.
7872 (insertChar): force a rebreak if we inserted an inset!
7874 2002-03-28 Herbert Voss <voss@lyx.org>
7876 * lyxlength.[Ch]: add inBP() to get the right PS-point
7877 units (BigPoint). With inPixels we have rounding errors
7879 2002-04-11 Juergen Vigna <jug@sad.it>
7881 * text2.C (setCursorFromCoordinates): set iy to the right value.
7882 (setCursor): add check if row->previous exists!
7884 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7885 an old float_type as this was the case in the old code!
7887 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7889 * BufferView2.C (showLockedInsetCursor): use iy
7890 (fitLockedInsetCursor): ditto
7892 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7893 locked insets as there we have the right value now.
7895 * lyxcursor.C: added iy_ variable and iy functions to set to the
7896 baseline of cursor-y of the locked inset.
7898 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7899 (setCursor): fixed for insets which need a full row.
7901 * text.C (rowLastPrintable): don't ignore the last space when before
7902 an inset which needs a full row.
7903 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7904 as last character of a row when before a inset which needs a full row.
7906 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7908 * version.C.in: update date
7910 * text2.C (fullRebreak): try to always return true and see what
7913 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7915 * MenuBackend.C (expand): use Floating::listName
7917 * FloatList.C (FloatList): add listName argument to the built-in
7920 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7921 text associated with the float.
7923 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7925 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7927 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7929 * ShareContainer.h: add a couple of missing typenames.
7931 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7933 * lyxrc.C (getDescription): use _() correctly rather than N_().
7935 2002-03-28 Herbert Voss <voss@lyx.org>
7937 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7938 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7940 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7942 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7943 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7945 2002-03-29 Juergen Vigna <jug@sad.it>
7947 * lyxfunc.C (dispatch): add a missing fitCursor call.
7949 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7950 it was scrolled by a cursor move, so return the bool status.
7952 * BufferView.C (fitCursor): return the bool flag also to the outside
7953 world as this is needed.
7955 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7957 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7958 call the edit() as it is not needed (and wrong) IMO.
7959 (workAreaButtonPress): set the screen_first variable before evt.
7960 unlock the inset as this may change screen_first and then we have
7961 a wrong y position for the click!
7963 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7965 * MenuBackend.C (expand): another translation that I missed
7967 2002-03-28 Juergen Vigna <jug@sad.it>
7969 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7971 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7973 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7975 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7977 * MenuBackend.C (expand): fix export/view/update when there is no
7980 2002-03-27 Herbert Voss <voss@lyx.org>
7982 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7985 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7987 * bufferview_funcs.C (currentState): only show paragraph number
7988 for is DEVEL_VERSION is set.
7990 * lyxfunc.C (dispatch): put warning in INFO channel
7992 * MenuBackend.C (expand): translate the name of floats
7994 * FloatList.C (FloatList): mark the float names for translation
7996 * converter.C (convert): use LibScriptSearch
7998 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * MenuBackend.C (defaults): fix default menu (we might as well get
8003 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8005 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8008 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8010 * lyxvc.C: reorder includes.
8012 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8014 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8017 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8019 * CutAndPaste.C: change layouts earlier on paste
8020 to avoid crashing when calling getFont()
8022 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8024 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8027 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8029 * WorkArea.C: remove 'Pending' debug message.
8031 * most files: ws cleanup
8033 * buffer.[Ch]: ws changes
8035 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8037 2002-03-21 Juergen Vigna <jug@sad.it>
8039 * tabular.C (SetMultiColumn): collapse also the contents of the
8040 cells and set the last border right. Added a Buffer const * param.
8042 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8044 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8047 2002-03-19 Juergen Vigna <jug@sad.it>
8049 * text2.C (clearSelection): reset also xsel_cache.
8051 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8052 where it needs to be called (John tells us to do so too :)
8053 (selectionLost): reset sel_cache.
8055 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8057 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8059 * text2.C (setCursorIntern): put debuging code in INSETS channel
8061 2002-03-19 André Pönitz <poenitz@gmx.net>
8063 * lyxfunc.C: tiny whitespace change
8065 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8067 * ToolbarDefaults.C (init):
8068 * LyXAction.C (init):
8070 * BufferView_pimpl.C (Dispatch):
8071 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8073 2002-03-19 Allan Rae <rae@lyx.org>
8075 * exporter.C (Export): removeAutoInsets before doing anything else.
8076 While I've just introduced a dependency on BufferView this really is
8077 the best place to clean the buffer otherwise you need to cleanup in
8078 a dozen places before calling export or cleanup in a dozen functions
8081 * converter.C (runLaTeX):
8082 (scanLog): Better handling of removeAutoInsets and screen updates.
8084 * lyxfunc.C (dispatch): small whitespace changes
8086 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8088 * WorkArea.C (C_WorkAreaEvent): return a value.
8089 (event_cb): return 1 if we handled the event, 0 otherwise.
8091 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8093 2002-03-18 Juergen Vigna <jug@sad.it>
8095 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8096 (GetAdditionalWidth): ditto.
8100 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8101 inset if we're there actually (probably not used right now but this
8102 is the direction to go for unifying code).
8103 (paste): disable code to clear the selection.
8105 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8106 inside an InsetText and move the check further up as it is in the
8109 * text2.C (pasteSelection): set a selection over the pasted text.
8111 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8113 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8114 and libgraphics to build on Cygwin.
8116 2002-03-15 Juergen Vigna <jug@sad.it>
8118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8119 inserting an Inset into the paragraph. I know this is not the best
8120 fix but we already use current_view in CutAndPaste so we will remove
8121 all of it's using at the same time.
8123 * buffer.C (sgmlError): deactivated function till it is rewritten in
8124 the right mode, now it can create problems.
8126 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8127 before accessing it.
8129 2002-03-14 Juergen Vigna <jug@sad.it>
8131 * undo_funcs.C (textHandleUndo): do the right thing when updating
8132 the inset after the undo/redo.
8134 * text2.C (setCursor): just some testcode for #44 not ready yet.
8136 * undo_funcs.C (textHandleUndo): set the next() and previous()
8137 pointers of the paragraph to 0 before deleting otherwise we have
8138 problems with the Paragraph::[destructor].
8140 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8141 on a paragraph insertion.
8143 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8145 * buffer.C (asciiParagraph): use += operator for char append to
8148 * paragraph.C (getFontSettings): compare >= not just >
8149 (highestFontInRange): ditto
8152 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8154 * paragraph.C: change several algorithm to be more appripriate for
8155 the problem domain. This is lookip in FontList and in the InsetList.
8157 2002-03-13 André Pönitz <poenitz@gmx.net>
8160 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8162 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8167 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8169 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8171 * Painter.C (display): anon helper function, adjust code for this
8173 (pixmap): remove function.
8175 * Painter.h: remove private display variable.
8177 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8179 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8181 * WorkArea.[Ch]: remove figinset_canvas cruft.
8183 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8185 * lyxtextclass.C (operator): add one item cache optimization.
8187 * bufferlist.h: doxy changes
8189 * bufferlist.C: ws changes
8191 * DepTable.[Ch] (ext_exist): place const in the right spot.
8193 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8195 (workAreaExpose): call resizeInsets when the with BufferView changes.
8196 (Dispatch): adjust for protectedBlank removal
8197 (specialChar): call updateInset if the insert went ok.
8199 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8200 specialChar instead.
8202 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8204 * BufferView.h: doxy change
8206 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8208 * lyxtextclass.C (operator[]): remove non-const version
8209 (defaultLayout): remove non-const version
8211 2002-03-12 Juergen Vigna <jug@sad.it>
8213 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8214 did resize the LyXText too.
8216 * buffer.C (readLyXformat2): set layout information on newly allocated
8219 * tabular.C (OldFormatRead): set layout information on the paragraph.
8221 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8223 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8225 2002-03-11 Juergen Vigna <jug@sad.it>
8227 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8229 (resizeCurrentBuffer): force also the insets to resize themselfes.
8230 (moveCursorUpdate): fixed up for InsetText.
8232 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8235 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8236 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8237 value of Dialogs::tooltipsEnabled().
8238 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8240 2002-03-08 Juergen Vigna <jug@sad.it>
8242 * BufferView_pimpl.C (updateInset): update inset inside inset also
8243 if it isn't inside theLockingInset().
8245 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8247 * buffer.C (asciiParagraph): redo some of the word and line length
8249 (getLists): look for Caption instead of caption.
8251 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8253 * buffer.C (Buffer): initialize niceFile to true
8256 (makeDocBookFile): make sure niceFile is true on exit
8258 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8260 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8262 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8264 * LyXSendto.C: remove.
8265 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8266 * lyx_gui.C: remove now-redundant comment.
8267 * ColorHandler.h: remove forward declaration of class WorkArea.
8268 * lyxfunc.C: remove #include "WorkArea.h".
8270 2002-03-07 Juergen Vigna <jug@sad.it>
8272 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8273 got moved away with the DEPM and also set the inset_owner always
8274 right which before could have been omitted.
8276 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8278 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8279 wanted layout is not found.
8281 2002-03-07 Juergen Vigna <jug@sad.it>
8283 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8285 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8287 * paragraph.C (breakParagraph): use default layout not layout of
8289 (Paragraph): clear ParagraphParameters.
8291 2002-03-06 Juergen Vigna <jug@sad.it>
8293 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8294 otherwise it would not be a valid lenght. Fixed a special case in
8295 the minipage compatibility read where we end the document with a
8298 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8299 was set as it could be 0 for InsetTexts first entry.
8301 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8303 * paragraph.C (writeFile): if layout is empty write out
8304 defaultLayoutName().
8306 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8307 file without named layout we set layout to defaultLayoutName().
8309 2002-03-06 Juergen Vigna <jug@sad.it>
8311 * CutAndPaste.C (copySelection): set layout for new paragraph.
8313 * text.C (prepareToPrint): leave ERT inset left aligned
8314 (leftMargin): don't indent paragraphs inside ERT insets
8316 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8318 * paragraph.C (breakParagraph): dont call clear do the work manually
8320 * paragraph.[Ch] (clear): remove function
8322 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8324 * paragraph.C (Paragraph): dont call clear, the work has already
8327 * lyxtextclass.C (operator): assert if n is empty
8329 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8330 work manually instead.
8332 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8334 * BufferView_pimpl.C: protect selectionLost against text == 0
8336 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * text.C (breakParagraph): fix a setting layout to '0' problem.
8340 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8342 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8343 final location of file, for the included files, and graphics.
8345 2002-03-05 Juergen Vigna <jug@sad.it>
8347 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8349 2002-03-04 Juergen Vigna <jug@sad.it>
8351 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8353 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8354 last column of multicolumn cells.
8355 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8357 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8359 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8360 file if it doesn't go to a temporary file.
8362 * buffer.C (sgmlOpenTag):
8363 (sgmlCloseTag): remove extra newline insertion.
8365 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8367 * text.C (getRowNearY): comment out debug msg
8369 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8371 * text2.C: first -> first_y
8373 * text.C (getRowNearY): add some attemts at a possible
8374 optimization, not working.
8376 * tabular.[Ch]: add BufferParams to several function so that newly
8377 created paragraph can be initialized to he default layotu for the
8380 * tabular-old.C (ReadOld): add buf->params to call of Init
8382 * screen.C: rename text->first to text->first_y
8384 * paragraph.C (breakParagraph): always set layout in the broken
8387 * lyxtextclass.C (Read): remove lowercase
8390 (delete_layout): ditto
8392 * lyxtext.h: rename first -> first_y
8394 * lyxlayout.C (Read): remove lowercase
8397 (obsoleted_by): ditto
8399 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8401 * buffer.C (insertErtContents): add params are to InsetERT
8402 (parseSingleLyXformat2Token): add code to check if a paragraphs
8403 layout really exist.
8404 (parseSingleLyXformat2Token): add params to several inset
8406 (asciiParagraph): remove lowercase, do the layout comparisons with
8409 * BufferView_pimpl.C (cursorNext): first -> first_y
8410 (resizeCurrentBuffer): first -> first_y
8411 (updateScrollbar): first -> first_y
8412 (scrollCB): first -> first_y
8413 (workAreaMotionNotify): first -> first_y
8414 (workAreaButtonPress): first -> first_y
8415 (checkInsetHit): first -> first_y
8416 (cursorPrevious): first -> first_y
8417 (cursorNext): first -> first_y
8418 (Dispatch): add buffer_->params to severl inset contructors
8420 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8422 * lyxlayout.C (Read): remove some debug info that I forgot.
8424 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8425 clean up the code slightly.
8426 (makeLinuxDocFile): ditto
8427 (makeDocBookFile): ditto
8429 * text2.C: layout as string
8431 * text.C: layout as string
8433 * paragraph_pimpl.C: layout as string
8435 * paragraph.[Ch]: layout as string
8437 * lyxtextclasslist.[Ch]: layout as string
8439 * lyxtextclass.[Ch]: layout as string
8441 * lyxtext.h: layout as string
8443 * lyxlayout.[Ch]: layout as string
8445 * lyx_cb.C: layout as string
8447 * bufferview_funcs.C: layout as string
8449 * bufferparams.C: layout as string
8451 * buffer.C: layout as string
8453 * LyXView.[Ch]: layout as string
8455 * LaTeXFeatures.[Ch]: layout as string
8457 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8459 * BufferView_pimpl.C: change current_layout to string, remove
8464 (workAreaButtonRelease): layout as string
8466 * BufferView2.C (unlockInset): adjust
8468 * vspace.C (asLatexCommand): use an explict temp variable.
8470 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8472 * Makefile.am: use FRONTEND_*
8474 2002-03-01 Juergen Vigna <jug@sad.it>
8476 * tabular.C (SetWidthOfMulticolCell): changed to something better
8477 I hope but still work in progress.
8478 (recalculateMulticolumnsOfColumn): renamed function from
8479 recalculateMulticolCells as it is more appropriate now.
8480 (SetWidthOfCell): calculate multicols better.
8482 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8484 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8486 * lyxfunc.C (processKeySym): print sequence also if it is
8487 `deleted' (complete)
8489 * kbsequence.C (print): print sequence even if it is deleted
8490 (complete would be a better word, actually).
8492 * lyxfunc.C (dispatch): print complete options after a prefix key
8494 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8496 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8498 * text2.C (setCharFont): eliminate setCharFont code duplication.
8500 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8502 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8503 LFUN_TABULAR_FEATURE (bug #177)
8505 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8507 * Makefile.am: remove figure.h
8509 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8511 * Bufferview_pimpl.C:
8523 * text2.C: remove #include "lyx_gui_misc.h".
8525 * LaTeX.C: added #include <cstdio>
8527 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8529 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8530 that the paragraph following this one can have.
8532 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8534 * vspace.C (asLatexCommand): fix bogus gcc warning
8536 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8538 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8540 * text2.C (setLayout): get rid of redundant code
8542 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8544 * text2.C (incDepth): make sure depth cannot be increased beyond
8547 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8549 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8550 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8552 * PainterBase.h (image):
8553 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8556 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8560 * BufferView_pimpl.C:
8561 * BufferView_pimpl.h:
8581 * sp_spell.C: remove fig inset, and the crap house of
8582 cards that follows it
8584 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8590 * nt_defines.h: move .h into support/
8592 * vms_defines.h: remove
8594 * WorkArea.C: add space in debug output
8598 * buffer.C: add WITH_WARNINGS
8602 * bufferlist.C: s/retrive/retrieve/, add docs
8613 * lyxgui.C: add ID to X error handler
8615 * lyxtestclass.c: fix typo
8617 2002-02-26 Juergen Vigna <jug@sad.it>
8619 * tabular_funcs.C (write_attribute): changed so that some default
8620 attributes are not written at all.
8621 (getTokenValue): set default values before trying to read the
8622 value so we have the return value always set as default if we don't
8623 find the token we search for.
8625 * tabular.C (Write): write bools as bools not as strings!
8627 2002-02-22 Juergen Vigna <jug@sad.it>
8629 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8630 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8632 * text.C (leftMargin): don't add an indent for paragraphs inside
8633 tabular cells (fix #208).
8635 2002-02-21 José Matos <jamatos@fep.up.pt>
8637 * tabular.C (docBook): fixed support for long tables.
8639 2002-02-20 Juergen Vigna <jug@sad.it>
8641 * text2.C (getFont): get the drawing font of the Inset if this
8642 paragraph is inside an inset (only important for InsetERT for now).
8644 * buffer.C (insertErtContents): use new lanugage params in ERT
8647 * CutAndPaste.C: commenting out seemingly uneeded code.
8649 2002-02-19 Allan Rae <rae@lyx.org>
8651 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8652 Iterators might be simple to use but they also get invalidated.
8653 (removeAutoInsets): renamed saved cursor tracking variables and added
8654 some comments to clarify what everything does.
8656 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8663 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8664 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8667 * vc-backend.h: remove #include "support/syscall.h"
8671 * converter.C: rearrange #includes in Lars' approved fashion.
8673 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8674 forward declare class Timeout in the header file.
8676 * XFormsView.C: changes due to the above.
8678 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8681 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8682 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8684 2002-02-18 José Matos <jamatos@fep.up.pt>
8686 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8689 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8691 * a lot of small ws changes
8692 * add a lot of using std::XXX
8693 * use std construcs some places where approp.
8694 * use some exisint stuff from lyxfunctional where approp.
8695 * Make file changes to use partial linking (lets test this now...)
8697 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8701 remove #include "support/syscontr.h" as it's redundant. Always has been.
8709 change Systemcalls::System to Systemcalls::Wait and
8710 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8711 No change of functionality, just reflects the stripped down Systemcalls
8714 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8716 * debug.[Ch]: add a GRAPHICS type to the enum.
8718 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8722 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8725 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8727 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8728 match the changes below.
8730 * text2.C (toggleInset): if there is not editable inset at cursor
8731 position, try to see if cursor is _inside_ a collapsable inset
8734 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8736 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8737 document menu has a nice checkbox
8739 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8741 * lyxlength.C (asLatexString): change PW to output as percent of
8744 * lengthcommon.C: change '%' to 't%'
8746 * lyxfunc.C (dispatch): a few comments from Martin
8748 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8752 * BufferView_pimpl.h:
8753 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8756 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8758 * vspace.C (inPixels): fix compiler warning
8760 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8762 * lyxfunc.C (getStatus): fix status message for disabled commands.
8764 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8766 * BufferView_pimpl.C: fix crash on close buffer
8767 during selection (#227)
8769 2002-01-27 Herbert Voss <voss@lyx.org>
8771 * buffer.C: link old Figure to new graphic inset
8773 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8775 * FontLoader.C (getFontinfo): Change the latex font names in order
8776 to match the names of type1inst.
8778 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8780 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8782 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8785 (remove_files_with_extension): ditto
8786 (remove_file): ditto
8789 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8790 document is smaller than the work area height. Do not initialize
8791 static variables to 0.
8793 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8795 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8797 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8798 LFUN_LAYOUT_PARAGRAPHS.
8800 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8801 tabular. It is possible to provide a possible cell, which will
8802 typically be the actcell from the corresponding insettabular
8804 * lyxfunc.C (getStatus): small cleanup; disable
8805 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8808 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8810 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8812 * paragraph.C (startTeXParParams):
8813 (endTeXParParams): new methods. The LaTeX code to
8814 start/end paragraph formatting
8815 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8816 empty (fixes bug #200)
8818 * vspace.C (inPixels): adapt to the change below
8819 (inPixels): [later] more cleanups (remove unused variables)
8821 * lyxlength.C (inPixels): change to use a width and a height as
8824 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8826 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8827 Replaced with \paperwidth
8829 * DepTable.C (insert): add std:: qualifier
8831 2002-01-18 Allan Rae <rae@lyx.org>
8833 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8836 * text.C (drawInset): Turned out I didn't know enough about how
8837 rebreaking worked. This fixes most of the redraw problems. I see
8838 an occasional cursor trail when a line is broken now and the cursor
8839 placement can seem out by a few pixels also after a rebreak.
8841 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8843 * buffer.C (parseSingleLyXformat2Token): update because minipage
8844 width is now a LyXLength
8846 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8848 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8851 2002-01-17 Juergen Vigna <jug@sad.it>
8853 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8855 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8856 is set correctly and the inset is updated correctly.
8858 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8860 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8861 the beginning of the loop.
8863 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8865 * lyxrc.C: improve help for use_scalable_fonts
8867 2002-01-17 Allan Rae <rae@lyx.org>
8869 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8871 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8873 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8874 make sure to set their inset_owner to the right value (bug #171)
8876 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8879 * DepTable.C: Implement mtime checking to reduce time spent doing
8882 2002-01-16 Juergen Vigna <jug@sad.it>
8884 * tabular.C (GetAdditionalHeight): one of error fixed.
8886 * lyxrc.C (output): small fix in writing use_pspell.
8888 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8890 * sp_base.h: #include LString.h
8892 2002-01-16 Allan Rae <rae@lyx.org>
8894 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8895 Can someone check this please?
8897 * text.C (drawInset): It was possible that p.row would be removed by
8898 breakAgainOneRow upsetting a few other settings. There may be another
8899 small tweak possible by setting need_break_row = 0 when p.row has been
8900 removed but I don't know enough about the logic here.
8902 2002-01-15 Allan Rae <rae@lyx.org>
8904 * text.C (insertChar): removed conditional truism.
8906 * BufferView2.C (removeAutoInsets): More tweaks.
8907 cur_par_prev could be a stray pointer. Check for trailing empty line
8908 in case last line was cur_par and only had an error inset on it.
8910 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8912 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8915 * vc-backend.C (most methods):
8916 * exporter.C (Export):
8917 * converter.C (convert):
8919 * LyXSendto.C (SendtoApplyCB):
8920 * lyxfunc.C (dispatch):
8924 * lyx_cb.C (AutoSave):
8926 * BufferView_pimpl.C (MenuInsertLyXFile):
8927 * buffer.C (runChktex): use Buffer::filePath().
8929 * buffer.h: rename filename to filename_; rename filepath to
8930 filepath_ and make it private
8931 (filePath): new method
8933 * buffer.C (writeFile): use fileName()
8936 * lyx_main.C (init): fix starting of LyX when the binary is a
8937 link from so,ewhere else.
8939 * minibuffer.C: include <cctype> for isprint
8941 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8943 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8944 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8945 name clash with InsetCollapsable's width function.
8947 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * lastfiles.C: include <iterator>
8951 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8953 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8956 * buffer.C (makeLaTeXFile): ditto.
8957 Also make loop operation more transparent.
8959 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8961 * ToolbarDefaults.C: remove trailing comma closing namespace.
8963 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8965 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8968 * trans.C (Load): comment out unused variable, allowed.
8970 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8972 * minibuffer.[Ch] (append_char): new method to recieve input from the
8973 drop-down completion browser. If a key was pressed, then recieve this
8974 char and append it to the existing string.
8975 (peek_event): modify the positioning data passed to the completion
8976 browser so that it can be placed above the minibuffer rather than below.
8977 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8979 * LyXAction.C (init): alloe error-next for readonly documents.
8981 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8984 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8986 * bufferlist.C (readFile): create the buffer _after_ checking that
8989 * lyxfunc.C (verboseDispatch): fix handling of arguments
8991 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8993 * lyxrc.C: use string::erase() instead of initializing to "".
8996 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8998 * BufferView_pimpl.h:
8999 * BufferView_pimpl.C:
9002 * text2.C: tell X when we have made a selection for copying
9004 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9006 * BufferView_pimpl.C (MenuInsertLyXFile):
9007 * lyxfunc.C (menuNew):
9009 (doImport): add shortcuts to directory buttons
9011 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9014 * lyxfunc.C (setStatusMessage):
9015 (getStatusMessage): new methods
9016 (getStatus):use setStatusMessage instead of setErrorMessage
9017 (dispatch): when function is disabled, set error message here
9018 [instead of in getStatus previously]
9020 * BufferView_pimpl.C (workAreaButtonRelease): update
9021 toolbar/menubar here too.
9023 2002-01-13 Allan Rae <rae@lyx.org>
9025 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9026 Now seems indestructible. Remaining task is to audit all other
9027 code affected by deleteEmptyParagraphMechanism. One small quirk
9028 left is that an empty document with an error in the preamble can
9029 be made to report an error but no error box appears. I don't know
9031 (removeAutoInsets): Improved comments.
9033 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9036 * Thesaurus.C: update for Aiksaurus 0.14
9038 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * text2.C (firstParagraph): removed member function, all uses
9041 replaces with ownerParagraph
9042 (redoParagraphs): here
9044 (toggleAppendix): here
9045 * BufferView2.C (insertErrors): here
9046 (setCursorFromRow): here
9048 2002-01-13 Allan Rae <rae@lyx.org>
9050 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9051 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9052 There is still a way to segfault this although you may have to do this
9053 multiple times: Have an InsetERT with an unknown command in it.
9054 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9055 <down-arrow>, <Enter> again, View->DVI, BANG!
9057 * text2.C (setCursor):
9058 (deleteEmptyParagraphMechanism):
9059 * lyxtext.h (setCursor):
9060 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9061 Making use of the return value may help fix other bugs.
9063 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9067 * LyXView.C (updateMenubar): call MenuBar::update here
9068 (updateToolbar): but not here
9069 (showState): do not update toolbar/menubar
9071 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9072 should need to care about that.
9074 * lyxfunc.C (verboseDispatch): simplify a bit
9075 (getStatus): have a version which takes a pseudoaction, and
9076 another which requires a (kb_action,string).
9078 * LyXAction.C (retrieveActionArg): make it work also when action
9079 is not a pseudo-action.
9080 (getActionName): simplify a bit
9083 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9085 * lyxfunc.C (verboseDispatch): new families of methods with
9086 several ways to specify a command and a bool to indicate whether
9087 the command name and shortcut should be displayed in minibuffer
9088 (eventually, we could extend that to a finer bitmask like
9089 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9090 (dispatch): the pristine dispatch command which just, well,
9091 dispatchs! Note it still sets its result to minibuffer; I'm not
9094 * lyxfunc.h: remove setHintMessage
9096 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9098 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9100 * BufferView_pimpl.C (specialChar): delete new inset if we have
9101 not been able to insert it.
9103 * kbmap.C: revert to using int instead of kb_action, since all we
9104 are dealing with is pseudo-actions.
9106 * LyXAction.C (searchActionArg): change to return int instead of
9107 kb_action, since the result is a pseudoaction.
9109 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9111 * buffer.C (insertErtContents): Fix (partially) the font bug.
9113 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9115 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9116 as the other one is broken on my machine!
9118 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9121 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9123 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9125 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9126 reflect their actual use. Provide compatibility code for older lyxrc
9129 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9131 change names of popup font variables in line with the changes to lyxrc.C
9133 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9135 * buffer.C (asciiParagraph): avoid outputing a word twice after
9138 * lyxrc.C (getDescription): document that document_path and
9139 template_path can be empty.
9141 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * LaTeXFeatures.C (getMacros):
9144 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9146 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9148 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9150 (getPackages): rename feature "floats" to "float". Use an array to
9151 iterate over 'simple' features (i.e. just a \usepackage). Add
9152 handling of "amsmath" (renamed from "amsstyle").
9154 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9156 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9159 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9161 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9162 FuncStaus::FuncStatus & FuncStaus::some_method().
9164 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9166 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9167 of the func_satus stuff. Edited and massaged in various ways by
9170 * lyxfunc.C (getStatus): use FuncStatus
9172 2002-01-08 Juergen Vigna <jug@sad.it>
9174 * text.C (nextBreakPoint): use function Inset::isChar().
9176 * paragraph.C (TeXOnePar): use function
9177 Inset::forceDefaultParagraphs.
9179 * buffer.C (latexParagraphs): use function
9180 Inset::forceDefaultParagraphs.
9182 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9184 * lyx_gui.C (init): set the style of the menu popups to
9185 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9187 2002-01-07 Juergen Vigna <jug@sad.it>
9189 * text.C (setHeightOfRow): small fix
9190 (prepareToPrint): don't look at alignment if we don't have the place
9193 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9195 * box.C: New file. Move the Box methods and functions out of box.h,
9196 following Lars' suggestion.
9198 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9200 * box.h: #include "support/LOstream.h", needed for inlined function.
9203 * lyxtextclasslist.C: added some using std declarations.
9205 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9207 * box.h: make signed dimensions to allow insets wider than
9208 the screen (bug #162)
9210 * BufferView_pimpl.C: add some insetHit debug
9212 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9214 * vc-backend.C: add FIXME
9216 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9218 * lyxfunc.C (getStatus): enable code for showing math font status
9221 2002-01-07 Juergen Vigna <jug@sad.it>
9223 * text.C (nextBreakPoint): removed debug output not needed anymore.
9225 2002-01-06 Juergen Vigna <jug@sad.it>
9227 * text.C (nextBreakPoint): fixed up this function we had this bug
9228 since ever but now hopefully we break row better.
9229 (insertChar): we have to check if an inset is the next char as it
9230 could now happen that a large inset is causing a break.
9232 2002-01-05 Juergen Vigna <jug@sad.it>
9234 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9235 if it doesn't like to be drawed.
9237 2002-01-04 Juergen Vigna <jug@sad.it>
9239 * BufferView2.C (lockInset): forgot to set a cursor.
9241 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9243 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9248 * form_maths_panel.C:
9249 * form_maths_panel.h:
9250 * form_maths_panel.fd: implemented sub- and super- buttons in math
9253 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9254 (or ^ space) to be used as in TeX (req'd by André).
9256 * lyxfunc.C: Allow ^ and _ again to be used both as
9257 super/subscript (mathed) and as themselves (in text).
9259 2002-01-03 Allan Rae <rae@lyx.org>
9261 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9262 "LyX" or the filename of the current buffer if it has one. This is a
9263 modified form of John Levon's patch.
9265 * XFormsView.C (setWindowTitle): also set icon title.
9267 * LyXView.h (setWindowTitle): signature changed.
9268 * XFormsView.h (setWindowTitle): ditto.
9270 2002-01-02 Juergen Vigna <jug@sad.it>
9272 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9274 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9276 * screen.C (topCursorVisible): introduce a temp var for
9277 text->cursor.row(), handle the case where this row is null. (kindo
9280 * text2.C (setCursor): add a couple of asserts.
9282 * paragraph.h (inset_iterator): add -> operator
9284 * paragraph.[Ch] (autoDeleteInsets): remove member function
9286 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9287 cursor pos correctly and handle inset deletion by itself.
9288 (insertErrors): move iterator declaration out of for expression
9290 * lyxtextclass.C: add <algorithm>
9292 * Makefile.am: added the new files to sources, removed layout.C
9294 * layout.C: removed file
9296 * layout.h: remove LYX_DUMMY_LAYOUT
9298 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9302 * lyxtextclass.[Ch]:
9303 * lyxtextclasslist.[Ch]: new files
9305 * include order changes to a lot of files, also changes because of
9308 2001-12-27 Juergen Vigna <jug@sad.it>
9310 * buffer.C (asciiParagraph): more fixes.
9312 * tabular.C (ascii): make ascii export support export of only the
9313 data separated by a column-delimiter.
9314 (ascii): better support for ascii export.
9316 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9318 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * tabular_funcs.C: use a "using std::getline" instead of the
9321 previous fix from Angus (necessary for cxx + lyxstring)
9323 2001-12-24 Juergen Vigna <jug@sad.it>
9325 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9327 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9328 problems. First check a minipage also if we have some ert-contents
9329 (not only on par->size(), second set the right depth of the paragraph
9330 on the relink to the root-paragraph-list!
9332 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9333 which then did not anymore update the main paragraphs on undo/redo!
9335 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9338 code. Support all font-changing funcs (even those which are not in
9339 menu currently). Support for reporting font settings in
9340 mathed (disabled until Andre provides a function on mathed's side).
9342 * func_status.h (toggle): small helper function to set toggle
9345 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9347 * tabular_funcs.C: getline -> std::getline
9349 2001-12-21 Juergen Vigna <jug@sad.it>
9351 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9352 accessed and could be 0 (I couldn't generate this but it seems
9355 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9357 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9358 * tabular_funcs.h: here and include iosfwd
9360 2001-12-20 Juergen Vigna <jug@sad.it>
9362 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9363 inside inset but undo_par was.
9365 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9367 * Thesaurus.C: always include <config.h> in sources.
9371 * box.h: do not include <config.h> in header files
9373 * text.C (paintLastRow): remove unused variable
9375 * text.C (transformChar):
9377 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9380 * font.C (width): rewrite to use uppercase() instead of
9383 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9385 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9387 * lyxfind.C: clean up of find failure position change
9389 2001-12-20 Juergen Vigna <jug@sad.it>
9391 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9393 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9394 (TeXRow): added to LaTeX a single tabular row.
9395 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9396 (Latex): simplified and finally good LT-h/f support.
9397 (various_functions): just small adaptions for LT-h/f support.
9399 * tabular_funcs.[hC]: added and moved here all not classfunctions
9402 2001-12-19 Juergen Vigna <jug@sad.it>
9404 * tabular.[Ch]: better support for longtabular options (not finished
9407 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * text.C (paintLastRow): use the label font instead of the font of
9410 the last character to compute the size of *_BOX. This makes more
9411 sense and avoids a crash with empty paragraphs.
9412 Use Painter::rectangle to draw EMPTY_BOX.
9414 2001-12-19 Juergen Vigna <jug@sad.it>
9416 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9417 the paragraphs if the replaced paragraph is not the first one!
9418 Tried to delete not used paragraphs but does not work yet so for
9419 now it's inside #ifdef's and by default off!
9421 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * MenuBackend.C: include "lyx_main.h" instead of declaring
9424 lastfiles (actually was declared as LastFiles* instead of a
9427 2001-12-17 Juergen Vigna <jug@sad.it>
9429 * tabular.C (AppendColumn): applied John's fix
9431 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9435 * BufferView_pimpl.h:
9436 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9439 * box.h: new start of class for above
9441 * lyxfunc.C: ignore space-only minibuffer dispatches.
9442 Show the command name when it doesn't exist
9444 * minibuffer.C: don't add empty lines to the history
9446 * minibuffer.C: add a space on dropdown completion
9448 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9450 * text.C: fix line above/below drawing in insets
9452 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9454 * lyxlength.C (LyXLength): Initialize private variables.
9456 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9458 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9459 when inserting error insets.
9461 2001-12-13 Juergen Vigna <jug@sad.it>
9463 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9464 actually sometimes the before-paragraph.
9465 (setUndo): don't clear the redostack if we're not actually undoing!
9467 2001-12-06 Juergen Vigna <jug@sad.it>
9469 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9470 and fixed redoing of main paragraph, so we can use it now ;)
9472 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9474 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9476 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9479 2001-12-13 André Pönitz <poenitz@gmx.net>
9482 * undo_func.C: minor cleanup
9484 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9486 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9487 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9488 font in urw-fonts package which is marked as -urw-fontspecific and
9489 does not work (incidentally, changing the encoding in the
9490 fonts.dir of this package to -adobe-fontspecific fixes the
9493 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9494 is a crash when undoing first paragraph (Juergen, please take a
9495 look). THis does not mean the undo fix is wrong, just that it
9498 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9499 the (Paragraph*) version when needed instead of duplicating the
9502 * text.C (workWidth): use Inset::parOwner to find out where the
9503 inset has been inserted. This is a huge performance gain for large
9504 documents with lots of insets. If Inset::parOwner is not set, fall
9505 back on the brute force method
9507 * paragraph_pimpl.C (insertInset):
9508 * paragraph.C (Paragraph):
9509 (cutIntoMinibuffer): set parOwner of insets when
9510 inserting/removing them
9512 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9514 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9520 * mathed/formulabase.C:
9521 * mathed/math_cursor.[Ch]:
9522 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9525 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9527 * lyxlength.[Ch] (operator!=): new function
9529 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9531 * text.C (workWidth): use Inset::parOwner to find out where the
9532 inset has been inserted. This is a huge performance gain for large
9533 documents with lots of insets. If Inset::parOwner is not set, fall
9534 back on the brute force method
9536 * paragraph_pimpl.C (insertInset):
9537 * paragraph.C (Paragraph):
9538 (cutIntoMinibuffer): set parOwner of insets when
9539 inserting/removing them
9541 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9543 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9545 * tabular-old.C (getTokenValue):
9546 * tabular.C (getTokenValue):
9547 (write_attribute): new versions for LyXLength
9548 (everywhere): adjust the use of widths
9550 * tabular.h: change the type of widths from string to LyXLength
9552 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9554 * paragraph.C: fixed missing line number count when exporting
9555 Environments to LaTeX file
9557 * buffer.C: added informational message for checking line numbers.
9559 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9561 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9562 paragraph, do the 'double space' part, but not the 'empty
9565 * text.C (workWidth): small optimization
9566 (getLengthMarkerHeight): use minimal size for negative lengths.
9568 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9570 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9572 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9574 2001-12-11 André Pönitz <poenitz@gmx.net>
9577 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9579 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9581 * text2.C: keep selection on a setFont()
9583 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9585 * lyx_cb.C: another bv->text misuse, from insert label
9587 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9590 * kbsequence.C: re-instate nmodifier mask
9592 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9594 * lyx_main.h: make lyxGUI private.
9596 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9598 * lyxfind.C: place the cursor correctly on failed search
9600 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9602 * text.C (getLengthMarkerHeight): for small heights, the arrows
9603 are not always on top/bottom of the text
9604 (drawLengthMarker): smaller arrows; take the left margin in
9605 account; draw also vfills.
9607 (paintLastRow): remove special code for vfill and standard spaces,
9608 since everything is handled in drawLengthMarker now.
9610 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9612 * buffer.C (insertErtContents): try to handle font and language
9613 interaction a bit better.g
9615 * ColorHandler.C (updateColor): change the hash to cover the whole
9616 LColor enum, ws cleanup
9617 (getGCLinepars): ditto
9618 (getGCLinepars): only lookup in the linecache once.
9620 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9622 * iterators.C (operator++): Make the iterator more robust
9624 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9626 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9628 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9631 * text.C: better added space drawing
9633 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9636 * BufferView2.C: fix layout combo update on inset unlock
9638 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9640 * Makefile.am: don't compile unused files
9642 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9646 * LyXAction.C: remove old LFUN_LAYOUTNO
9648 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9650 * paragraph_pimpl.h:
9651 * paragraph_pimpl.C: isTextAt() doesn't need font param
9653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9656 * lyxlex.C: little cleanup
9658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9660 * BufferView_pimpl.C: fix insertAscii for insets
9662 2001-12-05 Juergen Vigna <jug@sad.it>
9664 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9665 set the right font on the "multi" paragraph paste!
9667 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9673 * lyxlength.C: remove out-commented code.
9689 * vc-backend.C: change "while(" to "while ("
9691 * lyxlength.[Ch]: add zero function to check if length is zero or
9693 * lyxgluelength.C: use it
9695 2001-12-05 Allan Rae <rae@lyx.org>
9697 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9698 Works for 2.95.3, from what I understand of Garst's reports this should
9699 work for other g++ versions. We're screwed if the abs(int) definition
9700 changed between bugfix releases of gcc.
9702 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9704 * text.C: fix chapter label offset !
9706 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9709 * text.C: fix hfill at end of line, clean up
9711 2001-12-04 Juergen Vigna <jug@sad.it>
9713 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9714 that we force an update of the inset and it's owners if neccessary.
9716 2001-12-03 Juergen Vigna <jug@sad.it>
9718 * text.C (rowLast): simplified code
9720 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9722 * lyxfunc.C: fix show options on timeout
9724 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * screen.C (topCursorVisible): scroll half a page when the cursor
9727 reached top of bottom of screen
9729 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9731 * minibuffer.C: deactivate on loss of focus
9733 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9735 * vspace.[Ch] (operator!=): add operator.
9737 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9739 * BufferView_pimpl.C: refuse to open an inset when
9740 there's a selection.
9742 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9744 * BufferView_pimpl.C: allow to click on RHS of full row insets
9746 2001-11-30 Juergen Vigna <jug@sad.it>
9748 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9749 insets for undo reasons.
9751 2001-11-28 André Pönitz <poenitz@gmx.net>
9753 * vspace.[Ch]: cosmetical changes
9755 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9765 * kbsequence.C: part re-write of old kb code
9768 * WorkArea.C: remove Lgb_bug_find_hack
9770 2001-11-30 José Matos <jamatos@fep.up.pt>
9772 * buffer.C (makeDocBookFile): add a comment to point a hack.
9773 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9774 Fixed a double write of labels.
9776 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9779 * LaTeX.h Fixed bug in LaTeX class where it would not
9780 re-run latex if no depfiles were changed, but the .dvi was removed.
9782 2001-11-28 André Pönitz <poenitz@gmx.net>
9784 * all the files from the change on 2001/11/26:
9785 use lyx::layout_type instead of LyXTextClass::size_type
9786 use lyx::textclass_type instead of LyXTextClassList::size_type
9788 2001-11-29 Juergen Vigna <jug@sad.it>
9790 * text.C: added support for paragraph::isFreeSpacing()
9792 * buffer.C: same as above
9794 * paragraph.h: inserted isFreeSpacing() function to enable
9795 FreeSpacing inside InsetERT.
9797 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9798 of the paragraph's in the cut/copy buffer to 0!
9800 * text2.C (removeRow): remove the assert as it can!
9802 * lyxtext.h: added helper function firstRow returning firstrow and
9803 made firstrow private again.
9805 * BufferView2.C (lockInset): don't relock if we're already locked!
9807 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9809 (removeRow): added Assert::(firstrow)
9811 * debug.C: forgot to add INSETTEXT here.
9813 2001-11-28 Juergen Vigna <jug@sad.it>
9815 * sp_spell.C (initialize): changed error text to more general
9816 spellchecker command use (not only ispell!)
9818 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9820 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9822 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9824 * vspace.C: initialise lyxgluelength on failure
9826 2001-11-28 Allan Rae <rae@lyx.org>
9828 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9829 declaration & definition that looks like a function declaration.
9831 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9833 * BufferView2.C (copy):
9834 (copyEnvironment): do not clear the selection when doing a copy.
9836 * text.C (paintFirstRow): compilation fix
9838 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9840 * tabular.C (Latex): correct line count when writing latex.
9842 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9844 * paragraph_pimpl.h:
9845 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9848 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9852 * LColor.C: change vfillline->added_space
9854 * text.C: add markers and text for added space
9856 * vspace.C: fix comment
9858 2001-11-28 André Pönitz <poenitz@gmx.net>
9860 * paragraph.C: whitespace changes
9861 * all the other files from the change on 2001/11/26:
9862 change *::pos_type into lyx::pos_type
9864 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9866 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9867 language of the document when inserting error insets.
9869 2001-11-26 André Pönitz <poenitz@gmx.net>
9871 * BufferView_pimpl.[Ch]:
9879 * paragraph_pimpl.[Ch]:
9882 * text2.C: reduce header dependencies, introduce type for positions
9884 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9886 * <various>: change to use Alert.h
9888 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9890 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9891 when encountering an unknown token.
9892 (readLyXformat2): Show an error message if there were unknown tokens.
9894 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9897 * BufferView_pimpl.C:
9901 * text2.C: use par->isInset()
9903 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9905 * paragraph_pimpl.h:
9906 * paragraph_pimpl.C: cleanup
9908 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9910 * text2.C (removeRow):
9911 * text.C (setHeightOfRow): remove useless (and costly) call to
9914 2001-11-20 Allan Rae <rae@lyx.org>
9916 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9917 Now need Inset*::checkInsertChar() to return true for appropriate
9918 cases so that the characters in the minibuffer will actually be
9921 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9923 * text.C: change the order of the includes.
9924 (workWidth): initialize it at once.
9925 (workWidth): make maxw unsigned
9926 (setHeightOfRow): remove unused variable (inset)
9927 (selectSelectedWord): remove unused variable (inset)
9928 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9930 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9932 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9933 server is not running.
9935 (closeConnection): add debug info when server is disabled.
9937 * ColorHandler.C (getGCForeground): send debug message to GUI
9940 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9942 * kbmap.C (bind): modify because return conventions of
9943 kb_sequence::parse have changed.
9945 * kbsequence.C (parse): only ignore spaces and not any stupid
9946 control character. This avoids tests like s[i] <= ' ', which are
9947 guaranteed to fail with 8bit characters and signed chars.
9948 Change return code to string::npos when there have been no error
9949 (0 was a bad idea when error is at first character)
9951 2001-11-14 José Matos <jamatos@fep.up.pt>
9954 * buffer.C (simpleDocBookOnePar): removed unused argument.
9956 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9958 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9959 insets which are part of a word. Paragraph::isLetter takes care of
9960 that now. Use Paragraph::isInset to identify insets.
9961 (selectSelectedWord): do not test for hyphenation break.
9963 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9964 that protected spaces are considered as spaces.
9966 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9969 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9972 * lyxserver.C: fix it. and small cleanup.
9974 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9976 * BufferView_pimpl.C: use inline helpers
9979 * LaTeXFeatures.C: fix typos
9982 * Spacing.C: move spacing_string into class
9984 * ToolbarDefaults.C: move stuff into namespace anon
9986 * layout.h: update enum
9988 * lyxfunc.C: use better debug
9990 * minibuffer.h: fix typo
9994 * WorkArea.C: add and use Debug::WORKAREA
9998 * text2.C: code re-organisation, inline helpers
10000 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10002 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10003 std::vector.empty().
10005 2001-11-09 Allan Rae <rae@lyx.org>
10007 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10008 '\n's after tables. Tabular and ERT inset work now makes this no
10011 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10014 * minibuffer.C: fix crash, improve drop-down completion
10016 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10019 * lyxserver.C: invalidate fd's when doing endPipe()
10021 2001-11-08 José Matos <jamatos@fep.up.pt>
10023 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10024 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10027 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10029 2001-11-07 José Matos <jamatos@fep.up.pt>
10032 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10035 * buffer.C (sgmlOpenTag):
10036 * buffer.C (sgmlCloseTag): removed debug info.
10038 * buffer.h (sgmlOpenTag):
10039 * buffer.h (sgmlCloseTag): made public.
10041 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * buffer.C (saveParamsAsDefaults):
10044 * lyx_cb.C (MenuLayoutSave): remove
10046 * LyXAction.C (init):
10048 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10050 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10052 * buffer.C (setPaperStuff): removed from here...
10054 * bufferparams.C (setPaperStuff): ... and moved there.
10056 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10060 * XFormsView.C: add support for drop-down completion
10062 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10064 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10067 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10069 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10072 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10074 * lyx_main.C: change ref to known bugs
10076 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10078 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10079 to work around older babel problems.
10081 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10083 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10085 2001-10-24 Juergen Vigna <jug@sad.it>
10087 * tabular-old.C (ReadOld): below variable changes reflected.
10089 * tabular.[Ch]: added ltType struct for longtable header/footer
10090 defines and changed all instances where they are used. Added
10091 future support for double top/bottom rows.
10093 2001-10-24 José Matos <jamatos@fep.up.pt>
10095 * buffer.h (docbookHandleCaption):
10096 * buffer.C (docbookHandleCaption): removed unused function.
10097 (makeDocBookFile): moved docbook supported version to v4.1.
10099 2001-10-24 José Matos <jamatos@fep.up.pt>
10102 * tabular.C (docbookRow): new function to export docbook code of a row.
10103 (DocBook): now honors the longtable flags.
10105 2001-10-23 José Matos <jamatos@fep.up.pt>
10108 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10109 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10111 * buffer.C (makeLinuxDocFile):
10112 (makeDocBookFile): reworked the preamble, more clean, and with
10113 support for lyx defined entities. Changed the document declaration
10114 to be more XML friendly.
10116 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10117 if we need to output XML that should be done with a filter.
10119 2001-10-22 Juergen Vigna <jug@sad.it>
10121 * sp_pspell.h (class PSpell): add alive function needed in the
10122 controller to see if the spellchecker could be started.
10124 2001-10-22 Juergen Vigna <jug@sad.it>
10126 * buffer.C (insertStringAsLines): modify the font for inserting
10127 chars in certain conditions by calling checkInsertChar(font).
10129 2001-10-19 Juergen Vigna <jug@sad.it>
10131 * text.C (workWidth): use getRow instead of wrong algorithm.
10132 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10134 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10139 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10141 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10143 * text.C (workWidth): do not search for the exact row when
10144 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10145 optimization for big documents.
10147 2001-10-18 Juergen Vigna <jug@sad.it>
10149 * text.C (workWidth): new function with added Inset * parameter.
10151 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10153 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10155 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10156 change return type of getColumnNearX.
10159 * text.C (changeRegionCase): use uppercase/lowercase instead of
10162 (rightMargin): simplify code by factoring out the uses of
10167 (appendParagraph): use Paragraph::size_type
10169 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10171 * vspace.C (asLatexString): add a missing break
10173 2001-10-15 Herbert Voss <voss@perce.de>
10175 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10177 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10182 2001-10-10 André Pönitz <poenitz@gmx.net>
10184 * lyxfunc.C: removed greek_kb_flag.
10186 2001-10-10 Herbert Voss <voss@perce.de>
10188 * lyx_main.C: delete global string help_lyxdir.
10190 2001-10-09 Herbert Voss <voss@perce.de>
10192 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10194 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10196 * lyx_main.C: added global string help_lyxdir.
10198 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10200 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10202 * lyxrc.C (set_font_norm_type): support iso8859-4
10204 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10206 * LaTeX.C (deplog): add another regex for MikTeX
10208 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10210 * lyxrc.C (set_font_norm_type): support iso8859-3
10212 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10214 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10216 * LaTeXFeatures.C: remove special case of french and index
10218 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10219 before \begin{document}). This solves several incompatibilities.
10221 2001-10-03 Garst Reese <reese@isn.net>
10223 * lyx_cb.C: change CheckTex error msg.
10225 2001-10-03 José Matos <jamatos@fep.up.pt>
10227 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10229 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10231 * .cvsignore: update
10233 * lyx_main.C (commandLineVersionInfo): use new style version info.
10235 * buffer.C (writeFile):
10237 (makeLinuxDocFile):
10238 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10240 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10242 * version.h: update to use stuff in version.C
10244 * version.C.in: new file. Contains version information determined
10245 at compile time. This is a merging of version.h and
10248 2001-10-03 Juergen Vigna <jug@sad.it>
10250 * BufferView_pimpl.C (update): don't change "dirty" status in
10253 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10255 * WorkArea.C (c-tor): re-position version string slightly.
10257 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10259 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10260 revert to previous code.
10262 WorkArea.[Ch]: (show, destroySplash): methods removed.
10264 WorkArea.C: rework code so that it's an amalgam of the codes before and
10265 after the splash screen was moved to WorkArea.
10267 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * vspace.C (inPixels):
10273 * buffer.C (insertStringAsLines):
10274 (asciiParagraph): fix types to be large enough
10276 * lyxlex_pimpl.h: change member status from short to int
10278 * layout.h: fix type of endlabeltype
10281 * kbsequence.C (parse): change return type to string::size_type
10283 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10286 * Bullet.C (bulletSize):
10287 (bulletEntry): do not use short ints as parameters
10289 * BufferView2.C (insertLyXFile): change a char to an int.
10291 * WorkArea.C (WorkArea): remove unneeded floats in computation
10293 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10295 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10297 * paragraph.C (asString): Do not ignore newline/hfill chars when
10298 copying to the clipboard.
10300 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10302 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10303 after a multi-line inset.
10305 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10307 * paragraph.C (validate): Set NeedLyXFootnoteCode
10309 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10311 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10312 and decrease-error to decrease.
10314 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10316 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10317 it more readable (should be equivalent)
10319 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10321 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10323 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10325 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10326 of a cursor (row, etc.) after a character has been deleted
10327 (deleteEmptyParagraphMechanism): call the method above on _all_
10328 cursors held by the LyXText when a double space has been
10331 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10333 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10335 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10337 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10338 background. Use greyOut() and the new show() methods to toggle between
10339 the foreground and background. Add code to remove the splash after
10340 its initial showing.
10342 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10343 (create_forms): no longer call Dialogs::showSplash.
10345 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10347 * .cvsignore: add version_info.h
10349 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10351 * version_info.h.in: new file
10353 * Makefile.am: add version_info.h.in
10355 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10356 version_info.h instead of VERSION_INFO
10358 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10360 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10361 The ERT inset now returns string().
10363 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10365 * lyxtext.h, text.C (selectNextWord): renamed as
10366 selectNextWordToSpellcheck.
10368 * text.C (selectNextWordToSpellcheck): Modified to not select
10369 words inside an ERT inset.
10371 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10373 * lyx_cb.C (MenuLayoutSave): change a bit the question
10375 * sp_base.h: include <sys/types.h>
10377 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10379 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10381 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10383 * several files: fix typos in user-visible strings
10385 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * text2.C (pasteSelection): do not set the selection, since it
10388 will be cleared later. Actually, the intent was to fix the way the
10389 selection was set, but I figured rmoving the code was just as good.
10391 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10393 * FontLoader.C (available): Check if font is available without
10396 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10398 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10400 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10402 * lyxrc.[Ch]: added display_graphics variable and associated code.
10404 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10406 * bufferparams.C (hasClassDefaults): new method. Returns true if
10407 the buffer parameters correspond to known class defaults
10409 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10411 * XFormsView.C (show): set minimum size to the main window.
10413 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * text2.C (copySelection):
10417 * lyxfind.C (LyXReplace):
10418 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10419 LyXText::selectionAsString.
10421 * paragraph.C (asString): add "label" argument to the second form
10423 * text2.C (selectionAsString): add "label" argument and pass it to
10424 Paragraph::asString.
10426 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10428 * lyx_main.C (commandLineHelp): remove version information
10430 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10432 * lyx_main.C: add -version commandline option
10434 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10436 * paragraph.h: make the optional constructor arg required instead.
10437 some modifications to other files because of this.
10439 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10441 * lyxserver.C (C_LyXComm_callback): make it static
10443 * lyx_main.C (error_handler): make it static
10445 * lyx_gui.C (LyX_XErrHandler): make it static
10447 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10449 * WorkArea.C: make the extern "C" methods static.
10451 * Makefile.am (lyx_LDADD): simplify
10453 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10455 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10456 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10458 * LyXAction.C (init):
10459 * lyxfunc.C (dispatch): associated code removal.
10461 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * lyxfont.h (isSymbolFont): shut off warning
10465 * text.C (setHeightOfRow):
10466 (getVisibleRow): fix crash with empty paragraphs which have a
10469 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10471 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10474 2001-09-04 José Matos <jamatos@fep.up.pt>
10477 * tabular.C (docbook): rename docBook method to docbook.
10479 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10481 * Makefile.am: add dependencies to main.o.
10483 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10485 * FontLoader.C (available): Return false if !lyxrc.use_gui
10487 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10489 * FontInfo.C (query):
10490 * converter.C (view):
10491 * importer.C (Import):
10492 * exporter.C (Export): Can not -> cannot.
10494 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10496 * BufferView_pimpl.C: allow to create index inset even if
10499 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10501 * buffer.C (getLists): replace boost::tie code with an explicit pair
10502 as boost::tie can break some compilers.
10504 * iterators.h: Added a std:: declaration to the return type of
10507 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10509 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10512 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10514 * iterators.[Ch]: New files. Provide paragraph iterators.
10516 * buffer.C (changeLanguage): Use paragraph iterators.
10517 (isMultiLingual): ditto
10519 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10521 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10523 * FontLoader.C: Support for cmr font.
10525 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10527 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10528 (available): New method.
10530 * FontInfo.C (getFontname): Use scalable fonts even when
10531 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10534 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10536 * converter.C (Formats::view): reverted! Incorrect fix.
10538 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10540 * converter.C (Formats::view): only output the -paper option
10541 if the dvi viewer is xdvi, thereby fixing bug #233429.
10543 2001-08-23 Herbert Voss <voss@perce>
10545 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10547 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10549 * Spacing.h (Spacing): Set space to Default on in the default
10552 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10554 * vc-backend.h (RCS::versionString): add RCS to version
10555 (CVS::versionString): add CVS to version
10557 * vc-backend.C (scanMaster): do not add CVS to version.
10558 (scanMaster): do not add RCS to version
10560 * lyxvc.C (versionString): new method
10562 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10564 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10566 * Spacing.C (set): initialize fval
10568 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10570 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10573 2001-08-16 Juergen Vigna <jug@sad.it>
10575 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10577 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10579 * BufferView_pimpl.C:
10582 * text2.C: setParagraph takes linespacing now
10584 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10586 * LyxAction.C: add internal LFUN_CITATION_INSERT
10588 * LyXView.C: actually apply fix
10590 * bufferlist.C: fix open non-existent file
10592 * lyxfind.C: fix indentation
10594 * lyxfunc.C: remove unneeded assert, fix typo
10596 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10598 * MenuBackend.C: use "Floatname List"
10600 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10602 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10603 when converting LaTeX layout to insetERT.
10604 Generate a non-collapsed float when reading old float
10606 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10608 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10611 2001-08-13 Juergen Vigna <jug@sad.it>
10613 * text.C (fill): return 0 instead of 20 as this seems to be the more
10616 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10618 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10621 2001-08-13 Juergen Vigna <jug@sad.it>
10623 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10625 (SearchBackward): comment out the unlocking of the inset_owner this
10626 should not be needed!
10628 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10630 * Many files: Remove inherit_language, and add latex_language
10632 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10633 collapsible insets.
10635 2001-08-10 Juergen Vigna <jug@sad.it>
10637 * text.C (prepareToPrint): fixed hfill-width in draw!
10639 * BufferView2.C (selectLastWord): save the selection cursor as this
10640 now is cleared in the function LyXText::clearSelection!
10642 2001-08-08 Juergen Vigna <jug@sad.it>
10644 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10645 BACKSPACE type functions.
10647 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10648 is only cutted from the document but not put in the cut-buffer, where
10649 still the old stuff should be.
10651 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10653 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10655 * tabular.C (SetWidthOfCell): fixed special case where the width
10657 (LeftLine): handle '|' in align_special.
10659 (LeftAlreadyDrawed): ditto
10660 (SetWidthOfCell): ditto
10662 2001-08-07 Juergen Vigna <jug@sad.it>
10664 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10666 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10668 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10669 * lyxlex.[hC]: ditto
10671 2001-08-06 Juergen Vigna <jug@sad.it>
10673 * text.C (getVisibleRow): fix up row clearing a bit.
10675 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10677 * minibuffer.C: make sure the X server sees the changes in the input.
10679 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10681 * paragraph.C (getFont): split into...
10682 (getLabelFont): this
10683 (getLayoutFont): and this
10684 * paragraph_pimpl.C (realizeFont): calling this
10686 * text2.C (getFont): split into...
10687 (getLayoutFont): this
10688 (getLabelFont): and this
10689 (realizeFont): all three calling this
10691 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10694 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10696 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10698 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10700 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10701 layouts from the Quote inset insertion.
10703 2001-08-03 Juergen Vigna <jug@sad.it>
10705 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10707 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10708 only if status not is already CHANGED_IN_DRAW (second level).
10710 * text.C (draw): don't set the need_break_row when inside an
10713 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * buffer.C (parseSingleLyXformat2Token): handle more latex
10718 * bufferview_funcs.[hC]: change function names to
10719 begin with small char, adjust other files.
10721 2001-08-02 André Pönitz <poenitz@gmx.net>
10724 BufferView_pimpl.C: remove broken special code for math-greek
10726 2001-08-02 Juergen Vigna <jug@sad.it>
10728 * BufferView_pimpl.C (update): redone this function so that we
10729 update the text again if there was a CHANGE_IN_DRAW.
10731 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10732 (drawFromTo): added a new internal bool which is used by draw() and
10734 (general): some cursor drawing problems fixed.
10736 2001-08-01 Juergen Vigna <jug@sad.it>
10738 * lyxfind.C (LyXFind): fixed
10739 (SearchForward): ditto
10740 (SearchBackward): ditto
10742 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10743 spurius drawing of the cursor in the main area.
10745 * text2.C (status): small fix which could lead to a segfault!
10746 (clearSelection): remove unneeded BufferView param.
10748 2001-08-01 André Pönitz <poenitz@gmx.net>
10750 * lyxfunc.C: small change due to changed mathed interface
10752 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10754 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10756 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10758 * lyxfunc.c: fail gracefully if file doesn't exist
10763 * BufferView_pimpl.C: IsDirWriteable() proto changed
10765 * LyXView.C: fix updateWindowTitle() to store the last title
10767 2001-07-31 Juergen Vigna <jug@sad.it>
10769 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10770 the font (wrong since using of Paragraph::highestFontInRange).
10772 * paragraph.C (highestFontInRange): added a default_size parameter.
10774 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10775 (setHeightOfRow): reformat
10777 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10779 * converter.[hC] + affected files: move to (inital-char)lowercase
10782 * ParagraphParameters.C (ParagraphParameters): remove commented code
10784 * PainterBase.[Ch]: remove commented code
10786 * LaTeXFeatures.h: add "bool floats" for float.sty
10788 * LaTeXFeatures.C (LaTeXFeatures): init floats
10789 (require): handle float
10790 (getPackages): do it with floats
10792 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10794 * BufferView_pimpl.C (Dispatch): improve handling of
10795 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10797 * commandtags.h: #include lyxfont.h here temporarily to avoid
10800 * bufferlist.h: include LString.h here.
10802 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10804 * text2.C (getStringToIndex): new method.
10806 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10808 * *: Reduced header file dependencies all over.
10810 2001-07-30 Baruch Even <baruch@lyx.org>
10812 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10814 2001-07-29 Baruch Even <baruch@lyx.org>
10816 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10818 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10820 * ParameterStruct.h (endif): add a default constructor to make
10821 sure that all variables is initialized.
10823 * ParagraphParameters.C (ParagraphParameters): adjust
10825 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10827 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10828 index; also, check that there is something to index, and that it
10829 does not span over several paragraphs.
10830 (doubleClick): use WHOLE_WORD_STRICT for double click.
10832 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10834 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10837 2001-07-26 Baruch Even <baruch@lyx.org>
10839 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10840 an InsetFig figure, backwards compatible reading of old figure code.
10842 2001-07-27 Juergen Vigna <jug@sad.it>
10844 * text2.C: font.realize function adaption.
10846 * text.C (draw): add a warnings lyxerr text if needed.
10848 * layout.C: font.realize function adaption.
10850 * language.C: add inherit_language and implement it's handlings
10852 * bufferview_funcs.C (StyleReset): remove language parameter from
10853 font creation (should be language_inherit now).
10855 * bufferparams.C (writeFile): handle ignore_language.
10857 * paragraph.C (getFontSettings): the language has to be resolved
10858 otherwise we have problems in LyXFont!
10860 * lyxfont.C (lyxWriteChanges): added document_language parameter
10861 (update): removed unneeded language parameter
10863 * paragraph.C (validate): fixed wrong output of color-package when
10864 using interface colors for certain fonts in certain environments,
10865 which should not seen as that on the final output.
10867 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10869 * BufferView_pimpl.C:
10874 * LyXAction.C: add thesaurus support
10877 * lyxfind.C: add "once" parameter, for thesaurus, to not
10878 move to the next match
10880 2001-07-26 Juergen Vigna <jug@sad.it>
10882 * lyxfont.C (realize): honor ignore_language too!
10885 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10887 * text.C (draw): one place more for ignore_language to not draw
10890 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10892 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10894 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10896 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10897 the minipage conversion problem.
10899 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10904 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * BufferView.h: don't forward declare WorkArea
10908 * BufferView.C: don't include WorkArea.h
10910 2001-07-25 André Pönitz <poenitz@gmx.net>
10914 * lyxfunc.C: new LFUN 'math-space'
10916 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10918 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10920 * text2.C (toggleInset): call open/close
10922 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10924 * lyxfunc.C (dispatch): add debug for the disabled case
10926 * font.C (buttonText): make similar to rectText
10928 * buffer.C (readInset): comment out parsing of insetlist and
10931 * PainterBase.C (rectText): small correction
10933 * BufferView_pimpl.C: comment out insettheorem and insetlist
10934 * LyXAction.C: ditto
10935 * commandtags.h: ditto
10937 2001-07-24 Juergen Vigna <jug@sad.it>
10939 * text.C (draw): honor the ignore_language.
10941 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10943 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10945 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10948 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10950 * lyxtext.h: remove unused (and unimplemented) methods
10952 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10954 * text.C (getVisibleRow): honor background color
10957 * Painter.h: remove default color argument for fillRectangle
10959 * text.C (backgroundColor): new method
10961 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10963 * text.C (getVisibleRow): adjust
10965 * font.[Ch] (rectText): new method, metrics
10966 (buttonText): new method, metrics
10968 * PainterBase.[hC]: make rectText and buttonText always draw and take
10971 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10973 * ToolbarDefaults.C (read):
10974 * MenuBackend.C (read): allow escaping in all strings
10976 * BufferView_pimpl.C (insertAndEditInset): new method.
10977 (Dispatch): use insertAndEditInset whenever appropriate.
10979 * BufferView_pimpl.C (insertNote): removed
10981 * BufferView_pimpl.C (smartQuote): new method, moved from
10982 BufferView; if an insetquote cannot be inserted, insert a '"'
10985 * BufferView2.C: remove insertCorrectQuote();
10987 * lyxfunc.C (getStatus): Add support for all remaingin
10988 inset-insert lfuns.
10990 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10992 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10993 command (necessary to pass " as parameter of self-insert.
10995 * text.C (selectWordWhenUnderCursor):
10996 (selectWord): add word_location parameter
10997 (selectWordWhenUnderCursor): same + remove special code for word
10999 (selectNextWord): use kind() to guess type of insetspecialchar,
11002 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11003 (insertErtContents): create ert insets as collapsed.
11004 (readInset): better compatibility code for Info inset.
11006 2001-07-20 Juergen Vigna <jug@sad.it>
11008 * lyxfunc.C (dispatch): use always LyXFind now!
11010 * text2.C (init): add a reinit flag so that the LyXText can be
11011 reinited instead of deleted and reallocated (used in InsetText).
11013 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11019 2001-07-18 Juergen Vigna <jug@sad.it>
11021 * text.C (selectNextWord): handle insets inside inset by calling
11022 always the bv->text functions so that we can go up the_locking_inset!
11024 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11025 in strange locations when inside an inset!
11027 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11028 handling to include insets.
11030 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11032 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11034 * LyXAction.C (init):
11036 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11037 LIGATURE_BREAK, since the name is so stupid.
11039 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11041 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11044 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11046 * sp_form.[Ch]: remove.
11048 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11050 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11053 * src/buffer.C (readInset): ditto.
11055 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11057 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11058 menuSeparator(), endOfSentenceDot(), ldots() and
11059 hyphenationPoint(), which are therefore removed.
11060 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11062 * LyXAction.C (init):
11063 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11065 * paragraph.C (getWord): removed.
11067 * BufferView_pimpl.C (Dispatch): use last word or selection for
11068 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11070 * lyx_main.C (queryUserLyXDir): do not ask before creating
11071 user_dir, except if it has been named explicitely.
11073 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11075 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11076 a document of zero size.
11078 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11080 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11081 approriately in the c-tor and in require().
11082 (getPackages): output the appropriate LaTeX for natbib support.
11084 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11085 variables "use_natbib" and "use_numerical_citations" when reading the
11087 (readInset): read the various natbib cite commands.
11088 (validate): white-space change.
11090 * bufferparams.[Ch]: new variables "bool use_natbib" and
11091 "bool use_numerical_citations".
11092 (writeFile): output them in the LyX file.
11094 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11096 * lyxfunc.C (getStatus): add support for all the inset insertion
11099 * text2.C (insertInset):
11100 * paragraph.C (insetAllowed):
11101 * BufferView_pimpl.C (insertInset): update to take in account the
11102 renaming of insertInsetAllowed
11104 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11106 * text2.C (getInset): new method. returns inset at cursor position.
11108 * BufferView_pimpl.C (Dispatch): changes because of this.
11110 * LyXAction.C (init): rename open-stuff to inset-toggle.
11112 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11114 * text2.C (toggleInset): renamed from openStuff; use
11117 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11119 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11121 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11123 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11125 * buffer.C (readLyXformat2): Add filename to the error dialog
11127 2001-07-18 Juergen Vigna <jug@sad.it>
11129 * tabular.C (GetCellNumber): put an assert here instead of the check!
11131 2001-07-17 Juergen Vigna <jug@sad.it>
11133 * BufferView_pimpl.C (toggleSelection): adapted too.
11135 * text.C (selectNextWord): adapted for use with insets.
11136 (selectSelectedWord): ditto
11138 2001-07-17 Juergen Vigna <jug@sad.it>
11140 * sp_spell.C (PSpell): fix initialitation order.
11142 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * paragraph.C: spacing
11146 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11148 * sp_spell.C: repair language selection for pspell
11150 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * lyxfunc.h: change more methods to begin with lower char.
11154 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11156 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11157 for unknown layouts.
11159 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11161 * buffer.C (readLyXformat2): Generate an error dialog if there are
11164 2001-07-16 Juergen Vigna <jug@sad.it>
11166 * sp_spell.C: always compile ISpell part.
11168 * lyxrc.C: added use_pspell entry and it's handling.
11170 2001-07-13 Juergen Vigna <jug@sad.it>
11172 * sp_spell.C: removed double includes.
11174 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11176 Consistent use of Lsstream.h:
11177 * Lsstream.h: added using std::stringstream for consistencies sake.
11179 * buffer.C: removed using std::stringstream
11181 * lyxfont.C (stateText):
11182 * paragraph.C (asString):
11183 * text.C (selectNextWord, selectSelectedWord):
11184 * text2.C (setCounter):
11185 * vspace.C (asString, asLatexString):
11186 std::ostringstream -> ostringstream.
11188 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11190 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11191 * commandtags.h: add LFUN_HELP_ABOUTLYX
11192 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11194 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11196 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11198 * lyx_gui_misc.C: remove spellchecker
11199 * lyxfunc.C: showSpellchecker
11201 * sp_ispell.h: added
11202 * sp_pspell.h: added
11203 * sp_spell.C: added
11204 * sp_form.[Ch]: removed
11205 * spellchecker.[Ch]: removed
11207 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11209 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11211 (simpleTeXSpecialChars): Simply print the input character without
11212 any special translation if pass_thru is set.
11214 * layout.h: Added bool pass_thru to layout class for being able to
11215 implement pass through of a paragraph for Literate Programming.
11217 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11218 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11219 * layout.C (Read): add "passthru" to list of layout tags and add
11220 code to set the pass_thru boolean when it is read.
11222 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * trans_decl.h: remove allowed from KmodInfo
11226 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11227 remove allowed code
11230 * paragraph_pimpl.C (erase): use boost::prior
11232 * Painter.C (text): use data() instead of c_str() when length is
11234 * WorkArea.C (putClipboard): ditto
11235 * font.h (width): ditto
11237 * BufferView2.C: use it-> instead of (*it). for iterators
11239 * paragraph_pimpl.C: ditto
11240 * paragraph.C: ditto
11241 * minibuffer.C: ditto
11242 * language.C: ditto
11244 * encoding.C: ditto
11245 * counters.C: ditto
11246 * converter.C: ditto
11248 * Variables.C: ditto
11249 * TextCache.C: ditto
11250 * MenuBackend.C: ditto
11251 * LyXAction.C: ditto
11253 * FloatList.C: ditto
11254 * DepTable.C: ditto
11255 * ColorHandler.C (LyXColorHandler): ditto
11257 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11259 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11261 * text2.C (openStuff): reintroduce this method (which had been
11262 nuked in NEW_INSETS frenzy).
11264 * lyxfunc.C (Dispatch): when an action has not been handled, use
11265 its name in the error message, not its number.
11267 * paragraph.C (inInset): change method name to begin with lowercase.
11270 * text2.C: updates because of this.
11272 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11274 * ToolbarDefaults.C (add): add spaces in error message
11276 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11278 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11279 (readLyXformat2): rename return_par to first_par, use lyxlex's
11280 pushToken and remove the manual push handling.
11281 (parseSingleLyXformat2Token): add another ert comp. variable:
11282 in_tabular, rename return_par to first_par. handle newlines better
11284 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11286 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11288 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11290 * text2.C (getParFromID): removed
11292 * buffer.C (getParFromID): new method moved form lyxtext.
11293 * BufferView2.C (insertErrors): adjust
11294 (setCursorFromRow): adjust
11295 * BufferView_pimpl.C (restorePosition): adjust
11296 * lyxfunc.C (Dispatch): adjust
11297 * undo_funcs.C (textUndo): adjust
11299 (textHandleUndo): adjust
11300 (textHandleUndo): adjust
11302 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * buffer.C: up' the LYX_FORMAT
11306 * lyxfont.h: turn NO_LATEX on as default
11308 * buffer.C (insertErtContents): new methods of tex style compability.
11309 (parseSingleLyXformat2Token): use it several places.
11310 * tabular.C (OldFormatRead): and here
11312 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * text2.C: remove some commented code.
11317 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11318 * trans.C: changes because of the above.
11320 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11322 * text2.C (setCounter): Fix counters bug with bibliography layout.
11324 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11326 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11327 own member functions
11328 (simpleTeXSpecialChars): ditto
11330 2001-07-06 Juergen Vigna <jug@sad.it>
11332 * a lot of files: changed the access to LyXText::status and the
11333 call of undo-functions.
11335 * undo.[Ch]: added a inset_id to the undo informations.
11337 * undo_funcs.[Ch]: added and moved here all undo functions.
11339 * lyxtext.h: give the status enum a weight, made status_ a private
11340 variable and made accessor functions for it, removed the whole bunch
11341 of undo-functions as they are now in their own file, make some
11342 functions publically available. Added function ownerParagraph with
11345 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11346 made InInset() a const function, added getParFromID() function.
11348 * buffer.[Ch]: added const version for inset_iterator functions,
11349 added getInsetFromID() function.
11351 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11352 changed undo functions for new version.
11354 2001-07-05 Juergen Vigna <jug@sad.it>
11356 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11357 unknow mechanism does not call the proper constructor but only this
11358 one also if I request the other!?
11360 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11364 * text2.C (LyXText): use initialization lists.
11366 * lyxtext.h (Selection): initialize set_ and mark_
11367 (init): remove method
11369 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11371 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11373 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * screen.[Ch]: change method names to begin with lowercase
11377 * BufferView_pimpl.C (updateScrollbar): simplify further and
11378 hopefully make it a bit faster.
11380 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11382 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11383 calling directly xforms functions.
11385 * Painter.C (Painter):
11386 * lyx_cb.C (MenuWrite):
11387 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11390 * lyx_gui.C: remove bogus guiruntime extern declaration.
11392 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11394 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11396 (redoDrawingOfParagraph): ditto
11397 (redoParagraphs): ditto
11398 (cutSelection): don't create a object for CutAndPaste use the
11399 static method directly
11400 (pasteSelection): ditto
11402 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11405 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * modifications to some other files because of this.
11409 * Makefile.am (lyx_SOURCES): add XFormsView
11411 * XFormsView.[Ch]: new files
11413 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11414 the main window. Move the gui dependent stuff to XFormsView
11416 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * tabular.C (GetCellInset): update cur_cell also in the row/col
11419 version of this function.
11421 * lyxfunc.C: no need to include figure_form.h here.
11427 * lyxvc.C: no need to include forms.h here.
11429 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11431 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11433 * lyxfunc.C (Dispatch):
11435 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11436 constructor argument.
11438 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11440 * paragraph.C (Paragraph): dont't clear, and just set layout.
11441 (makeSameLayout): use params's copy contructor.
11443 * ParagraphParameters.[Ch] (makeSame): delete method
11445 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11447 * Variables.[Ch]: fix indentation, rename set to isSet
11449 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * lyxfunc.C (Dispatch): fix typo
11453 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11455 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11458 * bufferlist.C: include assert.h for emergencyWrite().
11460 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11462 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11463 give up at last (bug #425202) !
11465 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11471 * spellchecker.C: strip spellchecker options and bring up
11472 preferences tab instead
11474 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11476 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11477 the istringstream constructor
11479 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11481 * paragraph.C (getLayout): fix return value
11483 * paragraph.h: do not declare getLayout as inline.
11485 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11487 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11489 * lyxcursor.h (operator<): new func
11490 (operator>): new func
11491 (operator>=): new func
11492 (operator<=): new func
11494 * text.C (changeCase): use selection.start and selection.end
11495 (changeRegionCase): require from to be <= to. Require par to be a
11498 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11500 2001-06-27 Juergen Vigna <jug@sad.it>
11502 * text.C (cursorLeftOneWord): changed to return the cursor and added
11503 overlay with BufferView * parameter which calls this one.
11505 (selectWord): use new getWord function.
11506 (changeCase): renamed from changeWordCase as and extended to work
11507 also on selections.
11509 * lyxtext.h: added enum word_location
11511 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11512 changeCase as this operates now also on selections.
11514 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11516 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11518 * many files: send debug output to Debug::INFO instead of
11521 * converter.C (View):
11523 (Move): send debug output to Debug::FILES instead of console.
11525 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11527 * lyxfunc.C (getStatus): use func_status
11529 * func_status.h: new header, describing the results of
11530 LyXFunc::getStatus;
11532 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11535 2001-06-25 The LyX Project <jug@sad.it>
11537 * buffer.C (sgmlOpenTag):
11539 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11541 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * text2.C: remove some dead code
11545 * tabular.C (GetCellInset): store the last cell checked (gotten)
11547 * tabular.h: add the helper for the speedup
11549 * lyxtext.h: remove some dead code
11551 2001-06-26 The LyX Project <Asger>
11553 * paragraph.C: Change export to LaTeX of alignment to
11554 \begin{center} and family for better roundtrip work with reLyX.
11556 * Tune the math drawing a bit.
11558 2001-06-25 The LyX Project <Asger>
11560 * LColor.C (LColor): New color for math background. New color
11563 2001-06-25 The LyX Project <jug@sad.it>
11565 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11567 * lyxfunc.C (Open):
11568 * bufferlist.C (newFile): do not restrict to files ending with
11571 * BufferView_pimpl.C (MenuInsertLyXFile):
11573 2001-06-24 The LyX Project <jug@sad.it>
11575 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11578 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11580 * lyxtext.h: rename most methods to begin with a small char.
11581 Lots of changes because of this.
11583 * paragraph.C (Paragraph): do not call fitToSize
11584 (erase): call Pimpl::erase
11585 (insertChar): call Pimpl::insertChar
11586 (insertInset): call Pipl::insertInset
11587 (breakParagraph): do not call fitToSize
11588 (breakParagraphConservative): do not call fitToSize
11589 (fitToSize): remove method
11591 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11593 2001-06-24 The LyX Project <Asger>
11595 * Fix Qt compilation^2
11597 2001-06-24 The LyX Project <jug@sad.it>
11599 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11600 depthHook(getDepth()-1).
11603 * ParagraphParameters.h:
11604 * ParameterStruct.h: change type of depth to unsigned int ==
11605 depth_type. Many adaptations to other files before of that.
11607 2001-06-24 The LyX Project <Asger>
11609 * Fix Qt compilation.
11611 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * paragraph.h: renamed several methods to begin with small letter.
11614 several changes to many parts of the code because of this.
11616 2001-06-23 The LyX Project <jug@sad.it>
11618 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11619 rewritten to discard all double spaces when KeepEmpty is off
11620 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11621 to only handle newlines but not fiddle with spaces and friends.
11623 * lyxfunc.C (MenuNew): when doing 'new from template', use
11624 template_path as default directory
11626 2001-06-23 The LyX Project <Asger>
11628 * Clean-up of header file includes all over
11629 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11631 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * paragraph.h: renamed from lyxparagraph.h
11635 2001-06-23 Asger <lyx@violet.home.sad.it>
11637 * Buffer.h: Removed Buffer::resize
11638 * BufferList.h: Removed BufferList::resize
11639 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11640 the document lazily when we change the width, or the font settings.
11642 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11644 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11646 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11648 * buffer.h: remove out of date comment
11650 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11653 * screen.C: fix "theoretical" GC leak
11655 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * LaTeX.C (scanAuxFile):
11658 (deplog): remove trailing \r when reading stream (useful under
11661 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11663 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11664 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11665 and BufferView::theLockingInset(Inset*), so should use them and not
11666 access bv_->text->the_locking_inset directly.
11668 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11670 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11673 * tex-defs.h: remove old unused file
11675 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11677 * BufferView_pimpl.C: fix typo, remove minibuffer message
11678 when buffer has loaded
11680 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11682 * lyxfunc.C (Dispatch): use stringstream
11683 (MenuNew): use stringstream
11684 (Open): use stringstream
11686 * importer.C (Import): use stringstream
11688 * bufferview_funcs.C (CurrentState): use stringstream
11690 * LaTeX.C (run): use stringstream
11692 * BufferView_pimpl.C (savePosition): use stringstream
11693 (restorePosition): use stringstream
11694 (MenuInsertLyXFile): use stringstream
11696 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11709 * vspace.C: removed // -*- C++ -*- as first line.
11712 * version.h: added // -*- C++ -*- as first line.
11714 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11716 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11718 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11721 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11723 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11726 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11728 * gettext.C: include LString.h even when --disable-nls is on.
11730 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11732 * converter.h (Get): changed argument type from int to
11733 FormatList::size_type to avoid unnecessary conversion.
11735 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11738 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11740 * gettext.h: include LString.h even when --disable-nls is on.
11742 2001-06-07 Juergen Vigna <jug@sad.it>
11744 * text.C (BreakAgain): subst spaces with tabs.
11746 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11747 (resizeInsetsLyXText): set force on resizeLyXText.
11749 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * gettext.h (gettext_init):
11752 (locale_init): use a real definition instead of a macro
11754 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11756 * Bufferview_pimpl.C:
11758 * LColor.C: further lcolor tidies
11760 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11762 * BufferView_pimpl.C (updateScrollbar): simplify.
11764 * BufferView2.C: don't include insets/insetinfo.h, change
11765 prototype for insertInset and call the Pimpl version. let
11766 updateInset call Pimpl version.
11768 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11769 gotoInset to BufferView::Pimpl
11771 2001-06-01 Juergen Vigna <jug@sad.it>
11773 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11774 inside a LockingInset (is the update needed at all?).
11776 2001-05-31 Juergen Vigna <jug@sad.it>
11778 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11779 here not the old one otherwise how should we compare it afterwards
11782 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11787 * FontInfo.C: bring C functions into global namespace when
11790 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * LString.h: make sure config.h has been loaded before LString.h.
11794 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11795 (one for each char read by EatLine!).
11797 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11800 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11802 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11803 to the same as the par we break from
11805 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11809 * MenuBackend.C (expand): also create menu entries for wide
11810 versions of the floats.
11812 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11814 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11816 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11817 frontends/Makefile.am
11823 * tabular.C (getTokenValue): add std::
11825 * tabular-old.C (getTokenValue): add std::
11826 (getTokenValue): ditto
11827 (getTokenValue): ditto
11829 * screen.C (ToggleSelection): adjust
11831 * lyxtext.h: put selection cursors inside a Selection struct.
11833 * lyxfunc.C (moveCursorUpdate): adjust
11835 * lyxfont.C (latexWriteStartChanges): add std::
11837 * lyxfind.C: adjust
11839 * font.h: delete with(char const *, LyXFont const &)
11841 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11843 * FontInfo.C (getFontname): add std::
11845 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11846 (workAreaButtonPress): adjust
11847 (tripleClick): adjust
11849 (moveCursorUpdate): adjust
11852 * BufferView2.C (gotoInset): adjust
11854 2001-05-30 Juergen Vigna <jug@sad.it>
11856 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11857 to check pspell I add this as default as I now have new pspell
11858 libraries and they seem to use this.
11860 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * text2.C (CutSelection): make the cursor valid before the call to
11865 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11867 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11868 relied on 0 terminated strings and other horrors. Bug found due to
11869 the new assert in lyxstring!
11871 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11874 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11876 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11879 * lyxfunc.C (processKeySym): change method of getting to the
11882 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11883 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11884 * BufferView_pimpl.[Ch]: here as private methods.
11886 2001-05-28 Juergen Vigna <jug@sad.it>
11888 * text.C (SetHeightOfRow): added the update() call again as it is
11889 needed to initialize inset dimensions!
11891 2001-05-16 Juergen Vigna <jug@sad.it>
11893 * text2.C (SetCharFont): Add new function with BufferView * and
11894 bool toggleall parameters for setting insets internal fonts.
11895 (SetFont): Freeze the undo as we may change fonts in Insets and
11896 all this change should be inside only one Undo!
11898 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11899 setting font's in insets as for them we have the SetFont function!
11901 2001-05-15 Juergen Vigna <jug@sad.it>
11903 * text2.C (ClearSelection): to be sure we REALLY don't have any
11906 * tabular.C (TeXCellPreamble): fixed the left border problem for
11909 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11911 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11914 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11917 LFUN_BREAKPARAGRAPH.
11919 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11920 help test to "internal only", similar for LFUN_INSERT_URL
11922 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11923 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11924 auto_region_delete and deadkeys.
11926 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11929 * LColor.C: remove some dead entries, tidy a little
11931 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11933 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11935 (Dispatch): implement LFUN_ESCAPE
11937 * commandtags.h: add LFUN_ESCAPE
11939 * LyXAction.C (init): add entry for LFUN_ESCAPE
11941 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11942 Remove commented code.
11943 (insertNote): moved here
11944 (open_new_inset): moved here
11946 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11949 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11951 * kbmap.C (findbinding): clean it up and make it work correctly.
11953 * lyx_main.C (init): do not pass argc and argv as parameters
11955 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11957 * buffer.C: fix path for OS/2 & Win32
11961 * lyx_main.C: Added os:: class.
11963 * os2_defines.h: update
11965 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11967 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11968 better by trying again with reduced state.
11970 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11972 * lyxrc.C (read): print error about invalid key sequence only when
11973 debugging (because not all latinX keysyms are known to some X
11976 * kbsequence.C (getiso): add a few std:: qualifiers
11977 (getiso): comment out extra return statement.
11979 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11983 (Dispatch): enhance the accent inset a bit. (not perfect)
11985 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11989 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11991 * bufferlist.C (emergencyWrite): fix assert() call
11993 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11995 * text.C (InsertChar): Added trivial patch to only send the "you
11996 can not do multiple spaces this way" message once during a
11999 2001-05-08 Baruch Even <baruch@lyx.org>
12001 * Makefile.am: Changed order of libraries to get LyX to link properly
12002 with the gnome frontend.
12004 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12006 * LaTeXFeatures.h: add a std:: qualifier
12008 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12010 * paragraph.C (String): use stringstream
12012 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12014 * paragraph.C (writeFile): remove footflag arg
12016 * buffer.C (makeLaTeXFile): use stringstream
12017 (latexParagraphs): remove footnot gurba
12019 * LaTeXFeatures.C (getPackages): use stringstream
12020 (getMacros): likewise
12021 (getTClassPreamble): likewise
12022 (getFloatDefinitions): new method
12024 * paragraph.C (writeFile): reindent
12027 * WorkArea.h: revert the xpos + etc changes.
12029 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12031 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12033 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12034 (pasteSelection): likewise
12035 * text2.C (CreateUndo): likewise
12037 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * minibuffer.C (peek_event): temporarily reduce the functionality
12040 of the minibuffer (to allow args on lfuns)
12042 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12043 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12045 * buffer.C (readInset): add compability reading of old float
12046 lists, add reading of new style float list.
12047 (readInset): avoid reevaluation of inscmd.getCmdName()
12048 (getLists): reindent
12050 * MenuBackend.C (MenuItem): implement parsing of
12051 md_floatlistinsert and md_floatinsert.
12052 (expand::LastFiles): move initalizaton of iterators out of loop,
12053 avoid reevaluation.
12054 (expand::Documents): introduce typdedef vector<string> Strings,
12056 (expand::ExportFormats): introduce typedef vector<Format const *>
12057 Formats, and use it.
12058 (expand): implement FloatListInsert and FloatInsert.
12060 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12061 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12062 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12064 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12066 (Dispatch::LFUN_FLOAT_LIST): implement
12068 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12070 * LaTeX.C (run): Fix problem with --export code.
12072 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12074 * BufferView.[Ch] (workarea): removed.
12075 (getClipboard) new method; wrapper for workarea()->getClipboard()
12077 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12080 * WorkArea.h (width, height, xpos, ypos): These methods all
12081 returned the dimensions of the work_area sub-area of WorkArea,
12082 resulting in a position error if the WorkArea were resized. Now
12083 return the dimensions of the entire WorkArea.
12085 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12087 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * LaTeX.C (deplog): correct the syntax of regex reg1
12091 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * undo.C: remove !NEW_INSETS cruft
12095 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12097 * text2.C: remove !NEW_INSETS cruft
12099 * text.C: remove !NEW_INSETS cruft
12101 * tabular.C: remove !NEW_INSETS cruft
12103 * spellchecker.C: remove !NEW_INSETS cruft
12105 * lyxtext.h: remove !NEW_INSETS cruft
12107 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12109 * lyxfunc.C: remove !NEW_INSETS cruft
12111 * lyxfind.C: remove !NEW_INSETS cruft
12113 * lyx_cb.C: remove !NEW_INSETS cruft
12115 * figureForm.C: remove !NEW_INSETS cruft
12117 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12119 * buffer.[Ch]: remove !NEW_INSETS cruft
12121 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12123 * CutAndPaste.C: remove !NEW_INSETS cruft
12125 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12127 * BufferView2.C: remove !NEW_INSETS cruft
12129 * BufferView.h: remove !NEW_INSETS cruft
12131 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12133 * Lsstream.h: include LString.h before the sstream headers to
12134 fix problem with gcc 2.95.3 and lyxstring
12136 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12138 * lyx_main.C: add using directives when needed for C functions
12139 declared in std:: namespace.
12141 2001-04-27 Juergen Vigna <jug@sad.it>
12143 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12144 (SetHeightOfRow): comment out the update call should not be needed!
12146 2001-04-13 Juergen Vigna <jug@sad.it>
12148 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12149 (LyXTabular): tried to minimize operator= operations (and realized
12150 hopfully Lars wish).
12152 2001-04-27 Juergen Vigna <jug@sad.it>
12154 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12156 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12158 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12160 * buffer.C (readInset): hack to make listof algorithm work
12162 * BufferView_pimpl.C: hack to make listof algorithm work
12164 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * LyXAction.C: removed all !NEW_INSETS cruft
12167 (init): moved lfun_item in method
12169 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12171 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12173 * BufferView2.C (theLockingInset): white space.
12175 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * minibuffer.C: include <iostream>
12179 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12181 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12183 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12185 * text.[Ch] (TransposeChars): new method
12187 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * call message directly through LyXView instead of through LyXFunc
12190 * BufferView2.C: adjust
12191 * BufferView_pimpl.C: adjust
12192 * FontLoader.C: adjust
12194 * bufferview_funcs.C: adjust
12195 * converter.C: adjust
12196 * figureForm.C: adjust
12197 * importer.C: adjust
12199 * lyx_gui_misc.C: adjust
12200 * lyxfunc.C: adjust
12203 + more files in subdirs
12205 * lyxparagraph.h (size): move up int file
12208 * adjust all uses of Assert to lyx::Assert.
12210 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12211 lyxfunctional in namespace lyx
12212 * layout.C (hasLayout): ditto
12215 (delete_layout): ditto
12216 (NumberOfClass): ditto
12217 * converter.C (GetFormat): ditto
12222 * bufferlist.C (getFileNames): ditto
12223 (emergencyWriteAll): ditto
12226 * MenuBackend.C (hasSubmenu): ditto
12229 * BufferView_pimpl.C (getInsetByCode): ditto
12231 2001-04-18 Juergen Vigna <jug@sad.it>
12233 * vspace.C (asLatexString): fixed the 100% problem.
12235 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12237 * lyxfunc.C (Dispatch):
12239 * minibuffer.h: add a few std:: qualifiers
12241 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * minibuffer.[Ch]: reimplement so that commands is initiated and
12244 run from lyxfunc, simplified som handling, and made the completion
12245 and history code for complete. wip.
12247 * lyxfunc.C (processKeySym): call message
12248 (miniDispatch): new temporary method
12249 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12250 (LFUN_MESSAGE): implement
12251 (LFUN_MESSAGE_PUSH): implement
12252 (LFUN_MESSAGE_POP): implement
12253 (initMiniBuffer): the initial/defualt minibuffer message.
12255 * lyxfont.[Ch]: inline some more getters
12257 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12259 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12261 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12262 (AutoSave): use LFUN_MESSAGE
12263 (Reconfigure): ditto
12265 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12267 * figureForm.C: use LFUN_MESSAGE
12269 * converter.C (runLaTeX): use LFUN_MESSAGE
12271 * bufferview_funcs.C: use LFUN_MESSAGE
12273 (changeDepth): ditto
12275 * bufferparams.h: use boost::
12277 * bufferlist.h: inherit privately from noncopyable
12279 * bufferlist.C (loadLyXFile): remove some commented code.
12281 * buffer.C (runChktex): use LFUN_MESSAGE
12283 * ShareContainer.h: inherit privately from noncopyable
12285 * ParagraphParameters.[hC] (depth): inline it.
12287 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12289 (message): new method
12290 (messagePush): ditto
12291 (messagePop): ditto
12292 (show): init minibuffer
12293 (showState): direct call
12295 * LaTeX.[Ch]: inherit privately from noncopyable
12296 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12297 instead of WriteStatus.
12299 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12301 * BufferView_pimpl.C (buffer): don't init minibuffer
12302 (workAreaButtonPress): use LFUN_MESSAGE
12303 (workAreaButtonRelease): ditto
12304 (savePosition): ditto
12305 (restorePosition): ditto
12306 (MenuInsertLyXFile): ditto
12307 (workAreaExpose): don't init minibuffer
12308 (update): remove commented code, simplify
12310 * BufferView2.C (openStuff): use LFUN_MESSAGE
12311 (toggleFloat): ditto
12314 (copyEnvironment): ditto
12315 (pasteEnvironment): ditto
12320 (updateInset): remove some commented code
12322 * lastfiles.h: inherit privately from noncopyable
12325 * lyx_main.h: ditto
12327 * lyxlex_pimpl.h: ditto
12329 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12330 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12331 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12333 * LyXAction.h: inherit privately from noncopyable, add methods
12334 func_begin, func_end, returning iterators to the func map.
12336 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12337 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12338 (func_begin): new method
12339 (func_end): new method
12341 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12343 (copySelection): ditto
12344 (pasteSelection): ditto
12346 * BufferView.C: whitespace change
12347 * BufferView.h: inherit privately from noncopyable
12349 2001-04-16 Allan Rae <rae@lyx.org>
12351 * tabular-old.C (l_getline):
12352 * spellchecker.C (sc_check_word):
12353 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12354 an unrecognised preprocessor directive. So ensure they're wrapped.
12356 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12358 * src/exporter.C (Export): Give an error message when path to file
12361 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12363 * LaTeX.C (deplog): Always check that foundfile exists.
12365 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12368 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12370 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12372 * tabular.[Ch] (getLabelList): implement new method
12374 * minibuffer.h: comment ouf setTiimer
12376 * minibuffer.C (ExecutingCB): constify res
12377 (peek_event): constify s
12378 (Set): constify ntext
12379 (Init): constify nicename
12381 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12383 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12384 (savePosition): use two params to Minibuffer::Set
12385 (restorePosition): ditto
12387 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12389 * lyx_main.C: include language.h
12391 * Makefile.am (lyx_main.o): add language.h
12393 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12399 * CutAndPaste.C: include gettext.h
12401 * lyxfont.h: remove old hack with ON and OFF.
12404 * lyxfont.h: do not include language.h...
12409 * bufferview_funcs.C:
12415 * paragraph.C: ... but do it here instead
12417 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12421 * tabular.C: small reformat
12423 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12426 (BreakParagraph): ditto
12427 (SetOnlyLayout): ditto
12430 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12433 * lastfiles.C: removed most using decl, add std:: where needed
12435 * buffer.C: ws changes
12437 * MenuBackend.C (class compare_format): put into anon namespace
12438 (expand): constify label, names, action, action2
12441 * text.C (SingleWidth): constify font
12442 (IsBoundary): constify rtl2
12443 (GetVisibleRow): constify ww
12445 * LaTeX.C (deplog): constify logfile
12447 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12449 (workAreaExpose): constify widthChange, heightChange
12451 * lyxrow.C (par): moved
12454 * lyxrow.h: as inlines here
12456 * lyxfont.h (shape): moved from lyxfont.C
12457 (emph): moved from lyxfont.C
12459 * lyxfont.C (LyXFont): use initialization list for all
12461 (shape): move to lyxfont.h as inline
12462 (emph): move to lyxfont.h as inline
12465 2001-04-04 Juergen Vigna <jug@sad.it>
12467 * vspace.C: had to include stdio.h for use of sscanf
12469 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12472 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12473 independent of xforms.
12475 2001-04-02 Juergen Vigna <jug@sad.it>
12477 * spellchecker.C: fixed namespace placing!
12479 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12481 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12482 the LyXParagraph * is 0.
12484 2001-03-29 Juergen Vigna <jug@sad.it>
12486 * vspace.C: added support for %, c%, p%, l%.
12487 (stringFromUnit): added helper function.
12488 (asLatexString): changed to give right results for the %-values.
12490 * buffer.C: convert the widthp in a width%.
12492 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12494 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12497 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12498 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12500 * lyx_cb.[Ch]: see above.
12502 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12506 * lyx.[Ch]: replaced by figure_form.[Ch].
12510 * lyxfunc.C: changed headers associated with above changes.
12512 2001-03-27 Juergen Vigna <jug@sad.it>
12514 * BufferView_pimpl.C: set the temporary cursor right!
12516 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12518 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12520 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12522 * LString.h: removed "using std::getline"!
12524 * BufferView_pimpl.C (Dispatch): changes due to changes in
12525 InsetInclude::Params.
12527 * buffer.C (tag_name): removed redundant break statements as they were
12528 producing lots of warnings with my compiler.
12530 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12532 * LString.h: add "using std::getline" when using the real <string>.
12534 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12536 * buffer.C: removed bitset usage.
12537 PAR_TAG moved to an anonymous name space.
12538 (tag_name): new funtion, also in the anonymous namespace.
12539 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12540 (makeDocBookFile): clean code. Completed transition from string arrays
12542 (SimpleDocBookOnePar): code clean.
12544 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12546 * tabular.C: add some comments.
12548 2001-03-22 Juergen Vigna <jug@sad.it>
12550 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12551 compatibility read a bit and fixed bug with minipage in different
12554 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12556 * buffer.C (pop_tag): removed.
12557 (push_tag): removed.
12558 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12559 array replaced with vector. Added support for CDATA sections.
12560 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12562 (makeDocBookFile): XML conformant declaration of CDATA section,
12563 fixed bug related to <emphasis> in the first paragraph char.
12564 (sgmlOpenTag): exclude empty tags.
12565 (sgmlCloseTag): ditto.
12567 * buffer.h (pop_tag): removed.
12568 (push_tag): removed.
12570 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12572 * language.h (Languages): added size_type and size().
12574 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12576 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12577 response on compability reading of minipages. One probliem is that
12578 the old usage of minipages was «flertydig»
12580 * several files here and in subdirs: don't use static at file
12581 scope use anon namespaces instead.
12583 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12585 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12586 LaTeX output. This is necessary for Literate document
12589 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12591 * buffer.C: insert hfill when needed.
12593 * tabular.C (l_getline): use string::erase, small whitespace change.
12595 * BufferView_pimpl.C: try the anon namespace.
12596 * WorkArea.C: ditto
12598 2001-03-16 Juergen Vigna <jug@sad.it>
12600 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12601 otherwise it won't open options-dialogs.
12603 * buffer.C: honor pextraWidth(p) on converting minipages.
12605 * tabular.C (l_getline): changed the functions to strip trailing \r.
12607 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12609 * BufferView_pimpl.C:
12610 * minibuffer..C: added "using SigC::slot" declaration.
12612 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12614 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12620 * paragraph.C: ditto
12622 * lyxtext.h: NO_PEXTRA
12624 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12626 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12627 * ParameterStruct.h: ditto
12628 * ParagraphParameters.h: ditto
12629 * lyxparagraph.h: ditto
12631 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12633 * buffer.C: add compability for minipage alignment.
12634 (latexParagraphs): remove unwanted pextra check.
12636 * several files: remove CXX_WORKING_NAMESPACES
12638 * buffer.C (pop_tag): tie is in namespace boost
12640 * BufferView.h: noncopyable is in namespace boost
12642 * lyx_main.h: ditto
12645 * lastfiles.h: ditto
12646 * bufferlist.h: ditto
12647 * ShareContainer.h: ditto
12649 * LyXAction.h: ditto
12652 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12654 * Merging changes from BRANCH_MVC back into HEAD.
12656 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12658 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12660 * BufferView_pimpl.C: change from intl.C
12664 * Makefile.am: move combox.*
12670 * intl.C: remove dialog (covered by prefs)
12672 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12674 * lyxfunc.C (Dispatch): removed redundant break statement.
12676 2001-03-14 Juergen Vigna <jug@sad.it>
12678 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12680 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12682 * buffer.C: add hack to fix compability reading of minipages.
12684 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12686 * buffer.C (getLists): Cleanup.
12688 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12690 * lyxfont.C (update): don't honor toggleall on font size.
12692 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12696 * Makefile.am: moved to frontends/xforms/
12700 * BufferView_pimpl.C: changes for moved mathpanel
12702 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12704 * gettext.h: fix gettext_init() in --disable-nls
12706 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12710 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12713 * lyx.h: strip external form
12715 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12717 * BufferView_pimpl.C: add comment, destroySplash()
12719 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12721 * BufferView_pimpl.C:
12725 * lyxfunc.C: use re-worked insetinclude
12727 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12729 * buffer.C: add using std::stringstream.
12731 * lyx_cb.C: readd using std::ios.
12733 * buffer.C: add using std::map.
12735 * BufferView_pimpl.C: add using std::vector.
12737 * ShareContainer.h: add std:: to swap.
12739 * buffer.h: add some typedefs
12740 * buffer.C (getLists): use them
12741 (getLists): renamed from getTocList.
12742 add a counter for the different float types and use it in the
12744 (getLists): use the same counter for the NEW_INSETS and the "non"
12747 * lyx_cb.h: remove unused items, includes, using etc.
12749 * ShareContainer.h: remove some commented code, add more comments
12750 and "documentation".
12752 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12754 * buffer.C (getTocList): make the list also when NEW_INSETS is
12757 * buffer.h: remove TocType
12759 * buffer.C (getTocList): change to return a map<string,
12760 vector<TocItem> >, implement for dynamic number of list.
12762 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12763 * text2.C (PasteSelection): adjust
12764 * CutAndPaste.C (pasteSelection): adjust
12766 * FloatList.C (FloatList): update from the new_insets branch.
12767 * Floating.[Ch]: ditto
12768 * LaTeXFeatures.C: ditto
12770 * lyxlex_pimpl.C: ditto
12772 * paragraph.C (Last): remove when NEW_INSETS is defined.
12774 * other file: changes because of the above.
12776 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12778 * lyxparagraph.h: rename next to next_, previous to previous_,
12779 make them private for NEW_INSETS. Rename Next() to next(),
12780 Previous() to previous().
12782 * other files: changes because of the above.
12784 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12787 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12790 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12792 * main.C (main): pass lyx_localedir to gettext_init().
12794 * gettext.h: remove locale_init and gettext_init macros
12796 * gettext.C (locale_init): new function
12797 (gettext_init): new function
12799 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12802 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12804 * Moved credits to frontends:
12805 * credits.[Ch]: removed
12806 * credits_form.[Ch]: removed
12807 * lyx_gui_misc.C: remove credits stuff
12810 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12812 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12814 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12815 unneeded destructor.
12817 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12818 a standalone pointer again.
12820 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12822 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12828 * ToolbarDefaults.C:
12837 * BufferView_pimpl.C: use new file dialog in GUII
12840 * lyx_cb.C: remove LayoutsCB to Toolbar
12842 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * ShareContainer.h (get): add std:: qualifier
12846 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12848 * ShareContainer.h: define a proper ShareContainer::value_type
12849 type (and use typename to please compaq cxx)
12851 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12853 * lyxparagraph.h: move serveral local vars to
12854 ParameterStruct/ParagraphParameters., use ShareContainer in
12855 FontTable., make vars in FontTable private and add getter and
12858 * paragraph.C: changes because of the above.
12860 * lyxfont.h: remove copy constructor and copy assignment. (the
12861 default ones is ok), move number inside FontBits. move inlines to
12864 * lyxfont.C: add number to initializaton of statics, move several
12865 inlines here. constify several local vars. some whitespace
12866 cleanup. Dont hide outerscope variables.
12868 * Spacing.h: add two new constructors to match the set methods.
12870 * ShareContainer.h: new file, will perhaps be moved to support
12872 * ParameterStruct.h: new file
12874 * ParagraphParameters.h: new file
12876 * ParagraphParameters.C: new file
12878 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12879 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12881 * BufferView_pimpl.C: ParagraphParameter changes.
12882 * buffer.C: Likewise.
12883 * bufferview_funcs.C: Likewise.
12884 * text.C: Likewise.
12885 * text2.C: Likewise.
12887 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12889 * lyxfind.C (LyXReplace): do not redefine default argument in
12891 (IsStringInText): ditto
12892 (SearchForward): ditto
12893 (SearchBackward): ditto
12895 2001-03-06 Juergen Vigna <jug@sad.it>
12897 * lyxfind.C (IsStringInText): put parentes around expressions.
12899 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12901 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12903 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12905 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12907 * stl_string_fwd.h: add comment
12909 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12912 * tabular.C: remove unused DocBook methods
12918 killed DO_USE_DEFAULT_LANGUAGE
12920 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12922 * lyx_gui.C: do not include language.h.
12924 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12925 arguments in function implementation.
12927 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12929 * BufferView_pimpl.C: add <ctime>
12931 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12933 * BufferView_pimpl.C: add using std::find_if
12935 2001-02-27 José Matos <jamatos@fep.up.pt>
12937 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12940 2001-02-11 José Matos <jamatos@fep.up.pt>
12942 * buffer.C (makeDocBookFile): command styles now have a parameter as
12943 "title" by default.
12945 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12947 * layout_forms.[Ch]: removed
12948 * lyx_cb.[Ch]: out character
12949 * lyx_gui.C: out character
12950 * lyx_gui_misc.C: out character
12951 * bufferview_funcs.C: : out character,
12952 added toggleall as parameter in ToggleAndShow
12954 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12956 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12958 * text2.C (SetCurrentFont): Disable number property at boundary.
12960 2001-02-26 Juergen Vigna <jug@sad.it>
12962 * lyxfunc.C (getStatus): added a string argument override function so
12963 that this is correctly called from LyXFunc::Dispatch if it contains a
12964 do_not_use_argument which is used!
12965 (Dispatch): added check for "custom" export and call appropriate func.
12967 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12969 * lyxrc.C: Add language_command_local, language_use_babel and
12970 language_global_options.
12972 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12974 * buffer.C (makeLaTeXFile): Use language_use_babel and
12975 language_global_options.
12977 2001-02-23 Juergen Vigna <jug@sad.it>
12979 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12980 which works with LyXText and putted it inside BufferView. Here now we
12981 only call for that part the BufferView::Dispatch() function.
12983 * BufferView.C (Dispatch): added.
12985 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12986 functions which needs to use a LyXText over from LyXFunc.
12987 (MenuInsertLyXFile): added
12988 (getInsetByCode): added
12989 (moveCursorUpdate): added
12990 (static TEXT): added
12992 2001-02-22 Juergen Vigna <jug@sad.it>
12994 * BufferView_pimpl.C (update): call a status update to see if LyXText
12997 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12999 * vc-backend.C (revert): implement for CVS
13000 (getLog): implement for CVS
13002 2001-02-20 Juergen Vigna <jug@sad.it>
13004 * text2.C (ClearSelection): added BufferView param for inset_owner call
13006 * lyxfunc.C (TEXT): added this function and use it instead of
13007 directly owner->view()-text of getLyXText().
13009 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13011 * src/layout_forms.C: out preamble
13012 * src/layout_forms.h: out preamble
13013 * src/lyx_cb.C: out preamble
13014 * src/lyx_cb.h: out preamble
13015 * src/lyx_gui.C: out preamble
13016 * src/lyx_gui_misc.C: out preamble
13017 * src/lyxfunc.C: connect with guii preamble
13019 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13021 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13023 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13025 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13026 whether to run bibtex.
13028 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13030 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13032 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13034 * Makefile.am (lyx_SOURCES): removed bibforms.h
13036 * vspace.h: doxygen
13038 * text.C (GetVisibleRow): make several local vars const
13040 * tabular.C: small cleanup.
13042 * lyxserver.C (callback): use compare instead of strncmp
13044 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13045 inlines to after class or to paragraph.C
13047 * lyxfont.h: remove friend operator!=
13049 * converter.h: move friend bool operator< to non friend and after
13052 * combox.h: small cleanup
13054 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13055 to inlines after class def.
13057 * buffer.C (pop_tag): use string operations instead of strcmp
13059 * bmtable.c: doxygen, small cleanup
13061 * LaTeX.h: remove friend operator==
13063 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13075 * BufferView_pimpl.C:
13076 * BufferView.[Ch]: remove cruft
13078 2001-02-14 Juergen Vigna <jug@sad.it>
13080 * lyxfunc.C: removed #if 0 unused code
13082 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13084 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13086 * text2.C (SetSelection): added a BufferView * parameter
13088 2001-02-13 Juergen Vigna <jug@sad.it>
13090 * lyxfunc.C (Dispatch): fixed protected blank problem.
13091 * BufferView2.C (protectedBlank): added LyxText * parameter.
13093 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13094 (AppendColumn): same as above for column_info.
13096 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13097 (moveCursorUpdate): use a LyXText param for support of InsetText.
13099 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13100 (tripleClick): ditto
13102 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13104 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13106 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13108 * text2.C (SetSelection): set correct update status if inset_owner
13109 (ToggleFree): ditto
13111 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13113 * tabular.C: remove some commented code.
13115 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13117 * BufferView_pimpl.C: call hideSplash()
13119 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13122 * bibforms.h: remove
13125 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13126 add LFUN_CHILD_CREATE
13128 * counters.h: fix tiny typo
13133 * lyx.C: move splash to frontends/xforms/
13135 * lyx_gui_misc.C: move Include and Bibform to frontends
13137 * lyxvc.h: clarify comment
13139 * vspace.C: tiny housekeeping
13141 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13143 * text.C (PrepareToPrint): RTL Fix.
13145 * paragraph.C (GetUChar): New method.
13146 (String): Use GetUChar.
13148 * buffer.C (asciiParagraph): Use GetUChar.
13150 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13152 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13154 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13157 * buffer.C: rename to getLogName(), handle
13158 build log / latex log nicely
13160 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13163 * MenuBackend.h: remove support for reference menuitem type.
13165 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13167 * BufferView_pimpl.C: housekeeping
13168 * BufferView_pimpl.h:
13173 * minibuffer.h: move Timeout GUI-I
13175 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13177 * lyxrc.C (read): Update converters data-structures.
13179 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13181 * LaTeX.h (operator!=): add operator != for Aux_Info
13183 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13185 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13187 * LaTeXLog.C: deleted, useful code moved to Buffer
13190 * buffer.C: new function getLatexLogName()
13196 * lyxfunc.C: use frontends for LaTeX and VC logs
13198 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13200 * LaTeX.h: yet another std:: that Allan forgot.
13202 * Variables.C (set): renamed from isset(), because this clashes
13203 with some HP-UX macros (grr).
13205 2001-02-06 Allan Rae <rae@lyx.org>
13207 * LaTeX.h: Another bug fix. Missing std:: this time.
13209 2001-02-04 Allan Rae <rae@lyx.org>
13211 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13212 floats problem. I've left it commented out because it's not quite
13213 correct. It should also test that the current object is a table or
13214 figure inset. But I haven't gotten around to figuring out how to do
13215 that. I *think* it'll be something like: "table" == inset.type()
13217 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13220 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13222 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13223 all the citation/databases/styles in the auxilary file.
13224 (run): Rerun latex if there was a babel language error.
13226 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13228 * text.C (Backspace): Preserve the font when changing newline char
13230 (BreakParagraph): If the cursor is before a space, delete the space.
13232 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13234 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13236 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13237 new argument (code).
13238 (ChangeCitationsIfUnique): New method.
13240 * paragraph.C (GetPositionOfInset): Handle bibkey.
13242 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13244 * BufferView_pimpl.h: change type of Position::par_pos to
13245 LyXParagraph::size_type.
13247 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13249 * BufferView_pimpl.C (savePosition, restorePosition): Write
13250 messages to minibuffer.
13252 2001-01-28 José Matos <jamatos@fep.up.pt>
13254 * buffer.C (makeDocBookFile): adds support for document language.
13255 A silly restriction on the name of LatexCommand types where removed.
13256 Added support for CDATA sections, allows to chars unescaped, used
13257 among others in code, to avoid escape < and >.
13259 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13261 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13262 saved positions instrad of a stack. Furthermore, a position is
13263 stored using paragraph id/paragraph position.
13265 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13266 Remove LFUN_REF_BACK.
13268 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13270 * converter.C (dvipdfm_options): New method.
13272 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13274 * vspace.C (isValidLength): Fix for empty input string.
13276 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * LyXAction.C (init): change description of LFUN_FIGURE to
13281 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * LaTeX.C: add using directive
13285 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13287 * MenuBackend.C (expand): Fix the sorting of the formats.
13289 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13291 * lyx_main.C: tiny error message fix
13293 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13295 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13296 calling fl_initialize(). This fixes the problem with ',' as
13297 decimal separator in text files.
13299 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13301 * trans.C (process): Fix the keymap bug.
13303 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13305 * LaTeX.C (scanAuxFiles): New method. Provides support for
13306 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13307 (scanLogFile) Scan for "run BibTeX" messages.
13309 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13310 OT1 font encoding. Also, load the aecompl package if the ae
13313 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13315 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * texrow.C (increasePos): turn two error messages into debug
13320 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13322 * LaTeX.C (scanAux): Handle the \@input macro.
13323 (runBibTeX): Use scanAux().
13325 * language.C (latex_options_): New field.
13327 * LaTeXFeatures.C (getMacros): Add language macros.
13329 * buffer.C (makeLaTeXFile): Small fix.
13331 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13333 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13335 * text2.C: add a using directive.
13337 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13342 * lyxfunc.C: kill LyXBell.
13344 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13346 * text.C (IsBoundary): Remove the error message
13348 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13350 * lyxrc.C (setDefaults): Correct initialization value for
13353 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13355 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13358 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13359 and GotoNextNote().
13361 * src/LyXAction.C: Added reference-next.
13363 * text.C (InsertChar): Use contains instead of strchr.
13365 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13367 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13369 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13370 alignment commands (when needed).
13372 * text.C (InsertChar): Add ':' to number separator chars.