2 2003-10-23 André Pönitz <poenitz@gmx.net>
5 * text.C (isLastRow, isFirstRow): new functions
7 * paragraph.h: new width cache member
9 * rowpainter.C: replace RowList::iterator with Row & where possible
11 * lyxfunc.C: replace several view()->text with a single call
13 * toc.C: fix 'unused' warning
15 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
17 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
18 when woring with stream::pos_type
19 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
21 2003-10-22 André Pönitz <poenitz@gmx.net>
24 * text.C: use Row & instead of RowList::iterator
26 * lyxrow.h: rename end() to endpos()
32 2003-10-22 Angus Leeming <leeming@lyx.org>
34 * buffer.[Ch] (fully_loaded): new member function, returning true
35 only when the file has been loaded fully.
36 Used to prevent the premature generation of previews and by the
37 citation inset to prevent computation of the natbib-style label.
39 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
40 templates are all set up.
42 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
44 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
46 * text.C: fixed an "oops" in the "is a bit silly"
49 2003-10-21 André Pönitz <poenitz@gmx.net>
51 * FuncStatus.[Ch]: small stuff, whitespace
53 * lyxfont.[Ch]: operator<<() for debug reasons
57 * lyxtext.h: whitespace, spelling
59 * paragraph.C: naming of variables
62 * text2.C: small stuff
65 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
67 * text.C: (1) finish off the inset display() work;
68 (2) fix the "is a bit silly" bug (accessing char
71 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
73 * text.C: re-introduce display() for insets, fixing the
74 various bugs (stretch of line above, math inset
77 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * text.C (rightMargin): remove spurious semicolon
81 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
84 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
86 * text3.C: fix one crash due to wrong cursor def
88 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
90 * vc-backend.C (scanMaster): make the regex static
92 * LaTeX.C (scanAuxFile): make the regexs static
94 * text3.C (doInsertInset, dispatch, dispatch):
95 * text2.C (cursorUp, cursorDown):
96 * text.C (selectNextWordToSpellcheck):
97 * BufferView_pimpl.C (dispatch):
98 * lyxfunc.C (dispatch): localDispatch -> dispatch
100 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * lyxsocket.C: include <cerrno>
104 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
106 * lyxfunc.C (dispatch): remove textcache stuff
108 * bufferlist.C (release): remove textcache stuff
111 * TextCache.C: delete file
112 * TextCache.h: delete file
114 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
116 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
117 delete of the bv_->text.
118 (resizeCurrentBuffer): remove texcache stuff
119 (workAreaResize): ditto
121 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
123 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
126 2003-10-16 André Pönitz <poenitz@gmx.net>
133 * text3.C: speed up by storing y positions per paragraph plus per-row
134 offset instead of having a 'full' y position in the row.
136 2003-10-15 André Pönitz <poenitz@gmx.net>
140 * undo.[Ch]: make undo aware of inner insets
142 2003-10-14 Angus Leeming <leeming@lyx.org>
144 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
145 static member functions LyX::ref() and LyX::cref.
146 (lastfiles): new accessor functions for the new lastfiles_ member var.
147 (addLyXView, views_): add a new LyXView to the list of views_.
148 (updateInset): loop over all LyXViews to call their own updateInset
149 member function, returning a pointer to the Buffer owning the inset.
151 * BufferView_pimpl.C (loadLyXFile):
152 * MenuBackend.C (expandLastfiles):
153 * bufferlist.C (MenuWrite, QuitLyX):
154 lastfiles is no longer a global variable.
155 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
157 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
158 static function. Access through LyX::cref().emergencyCleanup().
160 2003-10-14 André Pönitz <poenitz@gmx.net>
162 * iterators.[Ch]: new direct access to innermost LyXText and Inset
164 * undo.[Ch]: restoring part of 'undo in insets'
167 * undo_funcs.[Ch]: merge with undo.[Ch]
169 * tabular.C: small cleansing stuff
171 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
173 * paragraph_funcs.C (readParToken): report unknown insets as error
174 boxes. Use the outer paragraph as location (also for unknown
177 * factory.C (readInset): do not abort on reading an unknown inset.
180 2003-10-13 Angus Leeming <leeming@lyx.org>
182 * lyx_main.C (LyX): remove call to setDisplayTranslator().
184 * lyxrc.C: displayTranslator is now a function,
185 declared in GraphicsTypes.h.
187 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
189 * format.C: new placeholder $$a to pass the socket address.
191 * bufferlist.[Ch]: new function getBufferFromTmp.
193 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
194 files in the temporary dir.
196 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
198 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
200 * Makefile.am: add lyxsocket.[Ch].
202 * lyx_main.C (error_handler): handle SIGPIPE.
204 2003-10-13 André Pönitz <poenitz@gmx.net>
206 * BufferView_pimpl.C:
211 * undo_funcs.[Ch]: use paroffset_type instead of
212 ParagraphList::iterators to prevent multiple conversion
213 (and get a more robust interface)
215 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
217 * lyxfunc.C (dispatch): RESULT -> dispatch_result
219 * text3.C (dispatch): ditto
221 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * LaTeX.C (handleFoundFile): move the static to smaller scope,
224 move the onlyfile, use onlyfile instead of foundfile in a couple
227 * DepTable.C (update): flush the error stream a bit more
229 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * lyxserver.C (callback): adjust
233 * lyxfunc.C (getStatus): add a missing brace in commented code
234 (ensureBufferClean): reindent
235 (dispatch): delete version taking a string
237 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
239 * LaTeX.C (deplog): move found file handlig from here...
240 (handleFoundFile): .. to new function here.
241 (deplog): make sure to discover several files mentioned on the
244 2003-10-10 André Pönitz <poenitz@gmx.net>
251 * text3.C: fix some of the tabular crashes
253 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
255 * MenuBackend.C (binding): put debug message into Debug::KBMAP
257 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
259 2003-10-09 André Pönitz <poenitz@gmx.net>
261 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
264 * BufferView_pimpl.C:
265 * bufferview_funcs.C:
276 * undo_funcs.C: adjust
278 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
280 * text2.C (incrementItemDepth): new function, use a backtracking
281 algorithm to discover the correct item depth.
282 (resetEnumCounterIfNeeded): new function, use a backtracking
283 algorithm to discover if counter reset is needed.
284 (setCounter): use them. Simplify a bit. Add different labels for
285 different item depths for itemize.
287 * paragraph.C (Paragraph): remove initialization of enumdepth
290 * paragraph.h: get rid of enumdepth, and use itemdepth both for
291 enumerate and itemize. Change the type of itemdepth to signed char.
293 2003-10-08 André Pönitz <poenitz@gmx.net>
295 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
300 * tabular.[Ch]: fix crash after 'row-insert'
302 2003-10-08 Angus Leeming <leeming@lyx.org>
304 Fix doxygen warnings.
306 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
307 Remove CutAndPaste:: prefix from header file declaration.
309 * LColor.h (fill): remove LColor:: prefix from declaration.
311 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
312 use lyx::depth_type rather than Paragraph::depth_type so that
313 header file and .C file match.
315 * converter.h (intToFormat): remove Converters:: prefix from declaration.
317 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
318 * aspell.C: \file aspell_local.C -> \file aspell.C
319 * gettext.C: \file gettext.C -> \file src/gettext.C
320 * gettext.h: \file gettext.h -> \file src/gettext.h
321 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
322 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
323 * text.C: \file text.C -> \file src/text.C
325 * toc.C: move comment so that doxygen is not confused.
327 2003-10-07 Angus Leeming <leeming@lyx.org>
329 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
331 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
334 * aspell_local.h: add forgotten std::string's.
336 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
343 * text3.C: The Box patch. Fancybox support, minipage, parbox
345 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
351 * ParagraphParameters.h:
361 * lyxtextclasslist.h:
365 * textcursor.h: add <string> and other small fixes to make Lars'
366 std::string patch compile with STLport.
368 2003-10-06 Angus Leeming <leeming@lyx.org>
370 * LColor.h: Add missing #include <string>.
372 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * All most all file in all subdirs: Make <string> be the prefered
375 way of getting to std::string, add using declarations.
377 2003-10-06 André Pönitz <poenitz@gmx.net>
379 * metricsinfo.C: initialize LyXFont before changing attribute.
380 (fixes the 'math in \emph is upright' bug)
382 2003-10-06 André Pönitz <poenitz@gmx.net>
384 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
386 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
389 * paragraph_pimpl.C: Small fixes to build using STLport
391 2003-10-02 André Pönitz <poenitz@gmx.net>
394 * text3.C: move handling of LFUN_DEPTH *; fix #1360
396 2003-10-01 André Pönitz <poenitz@gmx.net>
398 * factory.C: assert early
400 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
402 * lyx_main.C: remove the global debug object
404 * debug.h: adjust for new debugstream
406 * debug.C: adjust for new debugstream and keep the global debug
409 2003-09-22 Angus Leeming <leeming@lyx.org>
411 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
412 of g++ which otherwise complain that the scoped_ptr destructor can't delete
413 an incomplete class LyXFont.
415 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
417 * factory.C: bug fix in branches
419 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * lyxfunc.C (processKeySym): adjust
423 (dispatch): change arg name from ev to func, adjust
424 (sendDispatchMessage): ditto
426 * lyx_main.C (defaultKeyBindings): adjust keybindings
427 (deadKeyBindings): ditto
429 * kbsequence.C (addkey): return a FuncRequest
431 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
433 * kbmap.C (bind): take a FuncRequest as arg, adjust
436 (defkey): change to take a FuncRequest as arg, adjust
437 (findbinding): take a FuncRequest as arg, adjust.
439 * funcrequest.h (operator=): added
441 * funcrequest.C (FuncRequest): default kb_action changed from
442 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
444 * buffer.C (dispatch): simplify
445 (dispatch): adjust to take a FuncRequest as arg, adjust
447 * boost.C (assertion_failed): change assertion message slightly
449 * ToolbarBackend.C (read): simplify
451 * MenuBackend.C (binding): adjust call to findbinding, add a
452 message if no binding is found.
454 (expandToc): correct by adding a empty FuncRequest
456 * LyXAction.C: include <boost/assert.hpp>
457 (isPseudoAction): delete function
458 (LookupFunc): change name to...
459 (lookupFunc): this. change return type to FuncRequest.
460 (getActionName): take kb_action as arg, simplify
461 (funcHasFlag): add an assert, simplify.
463 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * toc.C (action): return a FuncRequest, simplify
467 * lyxfunc.C (processKeySym): adjust
468 (getStatus): delete version that takes an int.
470 (dispatch): delete version that takes action as int
472 (sendDispatchMessage): simplify and adjust
474 * funcrequest.C (getArg): take unsigned int as arg
476 * ToolbarBackend.C (read): adjust
477 (add): delete version that takes func as a string.
478 (getIton): take a FuncRequest as arg
480 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
483 * MenuBackend.C (MenuItem): add a new construct that only takes a
484 Kind, simplify the constructor use for submenus.
486 (expandLastfiles): adjust
487 (expandDocuments): adjust
488 (expandFormats): adjust
489 (expandFloatListInsert): adjust
490 (expandFloatInsert): adjust
491 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
493 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
494 Remove class variables lyx_pseudo_map and lyx_arg_map
496 * LyXAction.C (searchActionArg): delete function
497 (getPseudoAction): delete function
498 (retrieveActionArg): delete function
499 (LookupFunc): make it return kb_action, simplify.
500 (getActionName): simplify
502 * factory.C (createInset): fix new bug
504 2003-09-19 Angus Leeming <leeming@lyx.org>
506 * CutAndPaste.C (pasteSelection): remove fudge used to set the
507 masterFilename_ parameter in the include inset.
509 * factory.C (createInset): changes due to the changes to InsetInclude.
511 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
513 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
515 2003-09-18 Angus Leeming <leeming@lyx.org>
518 * BufferView.C: pass the buffer when calling Inset::getLabelList,
519 Inset::fillWithBibKeys.
520 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
522 2003-09-18 Angus Leeming <leeming@lyx.org>
524 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
526 (ctor): pass and store a 'Buffer const &'
527 (buffer): new member function.
529 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
530 '*this' to the LaTeXFeatures ctor.
532 2003-09-18 Angus Leeming <leeming@lyx.org>
538 * text.C: rename EnumLColor as LColor_color.
540 2003-09-18 Angus Leeming <leeming@lyx.org>
542 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
543 remove #include "insets/insetbase.h" from cursor.h.
545 2003-09-18 Angus Leeming <leeming@lyx.org>
547 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
548 InsetOld_code to remove #include "inset.h".
550 * iterators.C: add #include "insets/inset.h"
552 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
554 * BufferView.C: remove more locking stuff that apparently doesn't
555 do anything sensible.
557 2003-09-16 André Pönitz <poenitz@gmx.net>
560 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
563 2003-09-16 Angus Leeming <leeming@lyx.org>
565 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
567 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
570 * paragraph.h: remove #include "lyxfont.h". Forward declare
573 2003-09-16 Angus Leeming <leeming@lyx.org>
575 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
576 of support/textutils.h.
577 (isWord): move the contents of support/textutils.h's IsWordChar here.
583 * text2.C: add #include "paragraph.h".
586 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
588 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * LaTeX.C: use namespace alias for lyx::support::os
596 2003-09-16 Angus Leeming <leeming@lyx.org>
599 * bufferview_funcs.C:
604 * text.C: add #include "LColor.h".
606 2003-09-16 Angus Leeming <leeming@lyx.org>
608 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
609 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
611 Store the FontBits::color variable as an int rather than as an
612 LColor::colorso that we can move LColor.h out of the lyxfont.h header
615 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
616 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
617 string calls together.
619 * lyxrc.C: add #include "LColor.h".
621 2003-09-15 Angus Leeming <leeming@lyx.org>
623 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
626 2003-09-15 Angus Leeming <leeming@lyx.org>
628 * LColor.h: add an EnumLColor wrapper for LColor::color.
630 * lyxfont.[Ch] (color, setColor, realColor):
631 * lyxtext.h, text.C (backgroundColor):
632 pass EnumLColor args to/from the functions, rather than LColor::color
636 * lyxtext.h: forward declare EnumLColor.
638 * lyx_main.C: add #include "LColor.h".
640 2003-09-15 Angus Leeming <leeming@lyx.org>
642 * .cvsignore: add lyx-gtk.
644 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * ParagraphParameters.C
663 * vc-backend.C: remove usage of STRCONV
665 2003-09-15 Angus Leeming <leeming@lyx.org>
667 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
668 explicitly define the color passed to the painter.
670 2003-09-15 Angus Leeming <leeming@lyx.org>
672 * bufferparams.C (BufferParams): reorder member initializers to avoid
675 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
677 * CutAndPaste.C (pasteSelection): remove an outdated #warning
678 * text.C (updateRowPositions): remove an unusual nop
680 2003-09-12 André Pönitz <poenitz@gmx.net>
682 * BufferView_pimpl.C:
691 * Counters.[Ch]: finish the 'automatic counters' job
693 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
695 * aspell.C: include <boost/assert.cpp> (compile fix)
697 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
699 * boost.C (assertion_failed): use lyx::support::abort instead of
702 2003-09-10 Angus Leeming <leeming@lyx.org>
704 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
705 with their _fwd progeny.
707 2003-09-09 Angus Leeming <leeming@lyx.org>
709 134 files throughtout the source tree: replace 'using namespace abc;'
710 directives with the appropriate 'using abc::xyz;' declarations.
712 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
714 * boost.C (emergencyCleanup): moved here from LAssert.c
715 (assertion_failed): new function, called by BOOST_ASSERT
717 * several files: change Assert to BOOST_ASSERT
719 2003-09-09 Angus Leeming <leeming@lyx.org>
721 * buffer.[Ch]: Add an Impl class and move Buffer's member
722 variables into it. As a result move several header files out of
725 Add header files to lots of .C files all over the tree as a result.
727 2003-09-09 Angus Leeming <leeming@lyx.org>
729 * buffer.[Ch]: make Buffer's member variables private. Add
732 Lots of changes all over the tree as a result.
734 2003-09-08 Angus Leeming <leeming@lyx.org>
736 * graph.C: #include <config.h>.
738 2003-09-08 Angus Leeming <leeming@lyx.org>
742 * BufferView_pimpl.C:
771 * toc.C: remove redundant using directives.
773 2003-09-07 Angus Leeming <leeming@lyx.org>
775 * LaTeXFeatures.h: remove #include "support/types.h".
776 * ToolbarBackend.h: remove #include <algorithm>.
777 * changes.h: remove #include <ctime>.
778 * debug.h: remove #include <iosfwd>.
779 * graph.h: remove #include "support/std_string.h".
780 * lyx_main.h: remove #include <csignal>.
781 * lyxlex_pimpl.h: remove #include <fstream>.
782 * sgml.h: remove #include <algorithm>, <utility>.
783 * toc.h: remove #include "support/std_ostream.h".
784 Add #include <iosfwd>.
786 2003-09-07 Angus Leeming <leeming@lyx.org>
788 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
790 * converter.h: forward declare LatexRunParams.
791 * encoding.h: remove #include "lyxrc.h".
792 * lyxtext.h: remove #include "LColor.h".
793 * lyxtextclass.h: remove #include "support/types.h".
794 * trans.h: remove #include "tex-accent.h".
795 * trans_mgr.h: remove #include "tex-accent.h".
796 * insets/inset.h: remove #include "support/types.h", <vector>.
797 * insets/insetcollapsable.h: remove #include "LColor.h".
798 * insets/insetinclude.h: remove #include "dimension.h".
799 * insets/insetlatexaccent.h: remove #include "dimension.h".
800 * insets/insetoptarg.h:: remove #include "insettext.h".
801 * insets/insettext.h: remove #include "dimension.h",
802 <boost/shared_ptr.hpp>
804 * insets/renderers.h: add #include "dimension.h".
805 * insets/updatableinset.h: add #include "support/types.h".
807 * many .C files: Associated changes.
809 2003-09-06 Angus Leeming <leeming@lyx.org>
811 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
812 one, inside testInvariant.
814 * PrinterParams.C: new file.
815 * PrinterParams.[Ch]: move the function bodies out of line.
817 2003-09-06 Angus Leeming <leeming@lyx.org>
819 * ParagraphParameters.h: forward declare ParameterStruct rather than
820 including its header file.
821 (depth): moved out-of-line.
823 2003-09-06 Angus Leeming <leeming@lyx.org>
825 * BufferView_pimpl.h:
828 * lyxfunc.h: forward declare LyXKeySym rather than
829 #include "frontends/LyXKeySym.h".
831 * BufferView_pimpl.C:
834 * lyxfunc.C: associated changes.
836 2003-09-06 Angus Leeming <leeming@lyx.org>
838 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
839 As a result, can remove the #include "insets/inset.h" from BufferView.h
841 2003-09-06 Angus Leeming <leeming@lyx.org>
843 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
844 As a result, can remove the #include "insets/inset.h" from BufferView.h
846 2003-09-06 Angus Leeming <leeming@lyx.org>
852 * bufferview_funcs.C:
853 * BufferView_pimpl.C:
858 * ParagraphParameters.C:
863 * frontends/controllers/ControlDocument.C:
864 * insets/insetcaption.C: rearrange the #includes into some sort of
867 * buffer.h: remove #includes ErrorList.h, undo.h
869 2003-09-06 Angus Leeming <leeming@lyx.org>
871 * support/types.h: add a 'depth_type' typedef, used to store the
872 nesting depth of a paragraph.
875 * ParameterStruct.h: use this lyx::depth_type typedef rather than
880 * ParagraphParameters.h:
881 * sgml.h: use lyx::depth_type rather than Paragraph or
882 ParameterStruct's depth_type.
885 * paragraph_funcs.h: no need to #include paragraph.h anymore.
888 * BufferView_pimpl.C:
890 * ParagraphParameters.C:
893 * bufferview_funcs.C:
900 * frontends/LyXView.C:
901 * frontends/controllers/ControlDocument.C:
902 * frontends/controllers/ControlErrorList.C:
903 * insets/insetbibitem.C:
904 * insets/insetbranch.C:
905 * insets/insetcaption.C:
906 * insets/insetcollapsable.C:
909 * insets/insetfloat.C:
910 * insets/insetfoot.C:
911 * insets/insetfootlike.C:
912 * insets/insetnewline.C:
913 * insets/insetquotes.C:
914 * insets/insettabular.C:
915 * insets/insettext.C:
916 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
918 * frontends/controllers/ControlChanges.C: #include "changes.h".
920 2003-09-06 Angus Leeming <leeming@lyx.org>
922 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
923 than #including paragraph.h.
926 * RowList.h: deleted. Superfluous.
936 * insets/insettext.h: use ParagraphList_fwd.h rather than
939 * paragraph.h: don't forward declare ParagraphList.
942 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
943 rather than ParagraphList.h. paragraph.h is still needed for the
944 Paragraph::depth_type parameters.
946 * textcursor.h: enable it to compile stand-alone in light of the
949 * bufferview_funcs.C:
961 * frontends/controllers/ControlParagraph.C:
962 * frontends/controllers/ControlTabular.C:
963 * insets/insetmarginal.C:
964 * insets/insetminipage.C:
965 * insets/insetnote.C:
966 * insets/insetoptarg.C: add header files needed to compile again.
968 2003-09-06 Angus Leeming <leeming@lyx.org>
970 * RowList_fwd.h: new file, forward-declaring Row rather than
976 * insets/insettext.h: use it instead of RowList.h
978 * bufferview_funcs.C:
985 * text3.C: #include "RowList.h".
987 2003-09-05 Angus Leeming <leeming@lyx.org>
989 * factory.C (createInset):
990 * vspace.C (c-tor): replace sscanf call with an istringstream.
991 * ispell.C: re-add missing HP/UX headers.
992 * lyxserver.C: re-add missing os2 headers.
994 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1003 * text3.C: re-add missing system headers, needed for 2.95.2.
1005 2003-09-05 Angus Leeming <leeming@lyx.org>
1007 Changes most place everywhere due to the removal of using directives
1008 from support/std_sstream.h.
1010 2003-09-05 Angus Leeming <leeming@lyx.org>
1012 Replace LString.h with support/std_string.h,
1013 Lsstream.h with support/std_sstream.h,
1014 support/LIstream.h with support/std_istream.h,
1015 support/LOstream.h with support/std_ostream.h.
1017 Changes resulting throughout the tree.
1019 2003-09-05 Angus Leeming <leeming@lyx.org>
1021 * sgml.h: ensure that the header file can be compiled stand-alone.
1022 * *.C: strip out redundant #includes. (320 in total.)
1024 2003-09-04 Angus Leeming <leeming@lyx.org>
1026 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1027 here (from getPackages).
1029 * debug.[Ch]: add a new EXTERNAL tag.
1031 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1033 * text2.C (cursorEnd): simplify
1035 (getColumnNearX): adjust
1037 * text.C (computeBidiTables): adjust
1040 * rowpainter.C (paintChars): adjust
1041 (paintSelection): adjust
1042 (paintChangeBar): adjust
1045 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1047 (numberOfSeparators): adjust
1049 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1055 * text3.C: Restricts the mouse click functionality
1056 of insets like bibtex, include, toc and floatlist to the visible
1057 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1058 up the dialogs. Cursor has to be in front of the inset (i.e.
1059 start of row) for this to function.
1061 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1063 * bufferview_funcs.C (currentState): output row information
1065 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1067 * bufferview_funcs.C (currentState): output paragraph position
1069 2003-09-04 Angus Leeming <leeming@lyx.org>
1071 * FloatList.h: move out #include "Floating.h".
1072 * LaTeX.h: move out #include "DepTable.h".
1073 * LyXAction.h: move out #include "funcrequest.h".
1074 * buffer.h: move out #include "author.h", "iterators.h".
1075 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1076 * lyx_main.h: move out #include "errorlist.h".
1077 * lyxfunc.h: move out #include "FuncStatus.h".
1078 * lyxtext: move out #include "lyxcursor.h".
1079 * paragraph_pimpl.h: move out #include "counters.h".
1081 2003-09-03 Angus Leeming <leeming@lyx.org>
1083 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1084 preamble_snippets list, enabling us to add snippets to the preamble
1085 only if the snippet was not there already.
1087 2003-09-04 Angus Leeming <leeming@lyx.org>
1089 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1091 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1096 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1098 * BranchList.C: point fix, earlier forgotten
1100 2003-09-02 Angus Leeming <leeming@lyx.org>
1102 * box.C (contains): renamed from 'contained' after a fantastic
1105 2003-09-02 John Levon <levon@movementarian.org>
1111 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1113 2003-09-02 John Levon <levon@movementarian.org>
1115 * text2.C: simplification of cursorEnd(), including partial
1118 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1120 * buffer.C (readFile): add a space
1122 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1124 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1126 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * buffer.C (readFile): new function, take a filename and a
1129 ParagraphList::iterator
1131 (readFile): adjust, make it private. don't use setStream, make
1132 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1133 always contain the filename.
1135 * BufferView.C (insertLyXFile): simplify and make it work for
1138 2003-08-30 John Levon <levon@movementarian.org>
1140 * Makefile.am: fix dist (from Kayvan)
1142 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * most files: change to use const Buffer refs
1146 2003-08-27 André Pönitz <poenitz@gmx.net>
1148 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1149 on top of ownerPar().
1151 2003-08-27 John Levon <levon@movementarian.org>
1153 * funcrequest.C: properly initialise POD members
1155 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1157 * lyxtext.h (top_y): move top_y from here
1162 * BufferView_pimpl.[Ch]: to here
1163 * frontends/screen.C:
1164 * insets/insettabular.C:
1165 * insets/insettext.C: adjust
1166 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1168 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1171 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1173 2003-08-26 André Pönitz <poenitz@gmx.net>
1175 * paragraph_func.[Ch] (outerPar): new function
1178 * paragraph_funcs.C:
1179 * paragraph_funcs.h:
1180 * paragraph_pimpl.C:
1181 * text2.C: remove Inset::par_owner
1183 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1188 * text2.C: eliminates the needFullRow/display() stuff
1189 altogether, putting the logic in metrics/draw in the insets.
1191 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1193 * text2.C (redoParagraphInternal, redoParagraphs):
1194 * text.C (redoParagraph): add a call to updateRowPositions at the
1195 end of each 'metrics-like' call. Remove all others.
1196 (getRow): remove the 'y-computing' version.
1197 (getRowNearY): do not compute nor return the real y. Solve the
1198 'y < 0' problem and simplify.
1200 2003-08-22 Angus Leeming <leeming@lyx.org>
1202 * *.[Ch]: clean-up of licence and author blurbs.
1203 Also move config.h out of a few .h files and into a few .C files.
1205 2003-08-22 André Pönitz <poenitz@gmx.net>
1207 * lyxrow.[Ch]: add x_ and *fill_ members
1212 * text2.C: adjust/remove prepareToPrint() calls
1214 2003-08-22 André Pönitz <poenitz@gmx.net>
1216 * lyxrow.[Ch]: add end_ member
1218 * lyxrow_funcs.C: use LyXRow::end_
1220 * lyxtext.h (singleWidth): add LyXFont parameter
1223 * text2.C: adjust LyXText::singleWidth() calls
1225 * text.C (redoParagraph): simplify row breaking logic
1228 2003-08-19 André Pönitz <poenitz@gmx.net>
1230 * funcrequest.C: initialize button_ member
1233 * rowpainter.[Ch]: interface consolidation
1235 2003-08-18 André Pönitz <poenitz@gmx.net>
1238 * BufferView_pimpl.C:
1240 * paragraph_funcs.C:
1242 * text3.C: remove LyXScreen::draw() and fitCursor calls
1244 * BranchList.h: remove spurious semicolons
1246 * MenuBackend.C: fix branchlist related crash
1248 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1256 * bufferparams.[Ch]:
1260 * text3.C: implements the 'branch inset'
1261 idea. This allows the output of various versions of a document
1262 from a single source version, selectively outputing or suppressing
1263 output of parts of the text.
1264 This implementation contains a 'branch list editor' in a separate
1265 tab of the document settings dialog. Branches are user definable
1266 and have a "display colour" to distinguish them on-screen.
1268 ColorHandler was somewhat cleaned up.
1269 (1) make possible a dynamically growing LColor list by allowing
1270 the graphic context cache to grow along (vector);
1271 (2) eliminate an IMHO unnecessary step in colour allocation.
1273 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1275 * BufferView_pimpl.C: compile fix
1277 2003-08-15 André Pönitz <poenitz@gmx.net>
1279 * rowpainter.C: remove extra metrics calls
1281 * lyxtext.h: merge the two constructors into a single one,
1282 pass reference to owner's par list
1284 * BufferView_pimpl.C:
1288 2003-08-15 André Pönitz <poenitz@gmx.net>
1290 * lyxrow_funcs.[Ch]:
1293 * paragraph_funcs.C:
1298 * text_funcs.C: split LyXText::rowlist_ into individual
1299 Paragraph::rows_ chunks
1302 * BufferView_pimpl.[Ch]:
1305 * text3.C: remove toggleSelection()
1307 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1309 * bufferlist.C: beautify two alerts (shorter text of buttons)
1310 * buffer.C: Remove redundant ' ' from message
1312 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1313 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1314 rename VALIGN_CENTER to VALIGN_MIDDLE
1316 2003-08-11 André Pönitz <poenitz@gmx.net>
1318 * lyxtext.h (getPar):
1319 * text.C: new function
1321 2003-08-11 André Pönitz <poenitz@gmx.net>
1324 * tracer.[Ch]: remove unneeded files
1326 * InsetList.[Ch]: remove resizeInsetsLyXText()
1331 * text3.C: merge insertParagraphs() and appendParagraph()
1332 remove breakAgain(), update()
1334 * BufferView_pimpl.[Ch]:
1335 * bufferview_funcs.[Ch]:
1339 * tabular.C: adjust after text & InsetList changes.
1341 2003-08-08 André Pönitz <poenitz@gmx.net>
1343 * text.C (insertChar, backspace): replace rowlist fiddling
1344 with rebreak of full par
1347 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1348 checkParagraph, updateInset): removed
1350 2003-08-07 André Pönitz <poenitz@gmx.net>
1353 * text3.C: merge some LFUN handlers, remove dead code
1355 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1359 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1361 * text2.C (DEPM): fix part of bug 1255 and 1256
1363 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1365 * BufferView_pimpl.C (workAreaDispatch): change to use
1366 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1367 that are no mouse related.
1369 2003-08-05 André Pönitz <poenitz@gmx.net>
1372 * BufferView_pimpl.[Ch]:
1373 * bufferview_funcs.C:
1375 * text3.C: rip out "deep update"
1377 * textcursor.[Ch] (last_sel_cursor): remove unused member
1379 2003-08-04 André Pönitz <poenitz@gmx.net>
1382 * BufferView_pimpl.[Ch]:
1383 * ParagraphParameters.C:
1384 * bufferview_funcs.C:
1390 * text3.C: replace "complicated" BufferView::update(...) calls with
1393 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1395 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1397 * Makefile.am (lyx_SOURCES): add paper.h
1399 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1401 * Makefile.am: move things around so that both lyx-qt and
1402 lyx-xforms can be built (according to --with-frontend). Then lyx
1403 is a symbolic link to lyx-[firstfrontend]
1405 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1407 * Always use std::endl with lyxerr
1409 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1411 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1413 2003-08-01 André Pönitz <poenitz@gmx.net>
1416 * BufferView_pimpl.[Ch]:
1418 * text3.C: merge BufferView::repaint() and BufferView::update()
1420 2003-08-01 José Matos <jamatos@lyx.org>
1422 * buffer.[Ch]: file_format is no longer a buffer data element.
1424 2003-08-01 André Pönitz <poenitz@gmx.net>
1429 * text2.C: make redoParagraph more independent of current cursor
1431 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1433 * text2.C: remove unneeded members
1435 2003-07-30 André Pönitz <poenitz@gmx.net>
1437 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1439 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1440 create a single function...
1442 * paragraph_funcs.C (moveItem): ... here.
1445 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1447 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1449 * LColor.[Ch]: Add comment and greyedout logical colors.
1451 2003-07-30 André Pönitz <poenitz@gmx.net>
1453 * tabular.C: don't use Assert too heavily. This crashes where it
1456 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1458 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1459 is disabled (bug 1232)
1461 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1463 * factory.C: limited 'arg' scope
1465 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1467 * factory.C: fixed Note submenu issues
1469 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1471 * factory.C: submenu for Note/Comment/Greyedout
1473 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1476 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1478 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1481 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1482 greyedout. Patch provided by Jürgen Spitzmüller.
1484 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 * kbmap.C (read): fix error message when reading bind files
1488 2003-07-29 Angus Leeming <leeming@lyx.org>
1490 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1491 certainly does not do what it purports to do. I am doing it, and
1492 us, a favour by killing it.
1494 2003-07-28 José Matos <jamatos@lyx.org>
1496 * buffer.C (readBody, do_writeFile):
1497 * paragraph.C(readParagraph): \end_document replaces \the_end.
1499 2003-07-29 André Pönitz <poenitz@gmx.net>
1502 * BufferView_pimpl.[Ch]:
1506 * textcursor.[Ch]: remove toggleToggle & Co
1508 2003-07-28 José Matos <jamatos@fep.up.pt>
1510 * buffer.C (readParagraph):
1511 * params_func (readParToken, readParagraph):
1512 * paragraph.C (write): \layout -> \begin_layout.
1514 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1516 * lyxlex_pimpl.C (setFile): clean up slightly.
1518 * bufferparams.h: add compressed var
1520 * buffer_funcs.C (readFile): adjust for LyXLex change
1521 (newFile): ditto + simplify
1523 * buffer.C (writeFile): handle writing of compressed files
1525 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1526 Check if the file is compressed and set a bufferparm if so.
1528 * Makefile.am (lyx_LDADD): remove explicit -lz
1530 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1533 makeDocBookFile): put the real LyX version in the first line of
1537 * version.C.in: remove lyx_docversion
1539 * tabular.C (write_attribute): add a template-based version to
1540 write enums properly
1542 2003-07-28 André Pönitz <poenitz@gmx.net>
1547 * text3.C: use doubles again for x-coordinates. They are needed.
1549 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * messages.C (getLocaleDir): use lyx_localedir()
1553 * lyxlex_pimpl.C (setFile): compress stuff
1555 * buffer.C (writeFile): add some compression stuff
1556 (do_writeFile): new func, dont call expliti close... will this
1559 * Makefile.am (lyx_LDADD): add -lz
1561 2003-07-28 José Matos <jamatos@fep.up.pt>
1563 * buffer.C: increment file format.
1564 * paragraph_funcs (readParagraph, readParToken):
1565 * paragraph.C (readParagraph): add \end_layout.
1567 2003-07-27 Angus Leeming <leeming@lyx.org>
1569 * Makefile.am: remove special casing for configure-time setting of
1570 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1572 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1573 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1575 2003-07-26 André Pönitz <poenitz@gmx.net>
1577 * paragraph_func.[Ch]:
1578 * paragraph.C (realizeFont): inline it whereever it is used
1583 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1586 2003-07-26 André Pönitz <poenitz@gmx.net>
1590 * text2.C: get rid of LyXText::need_break_row
1592 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * toc.[Ch]: put namespace toc inside namespace lyx
1596 * MenuBackend.C (expandToc2): adjust for lyx::toc
1599 * lyxfunc.C (dispatch): adjust for lyx::find
1601 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1602 lyx::find instead. Reorganize a bit.
1603 (LyXReplace): rename to replace
1604 (LyXFind): rename to find
1606 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1609 2003-07-26 André Pönitz <poenitz@gmx.net>
1611 * text.C (setHeightOfRow): restrict scope of temporary variable
1613 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1614 code (never has been used?)
1616 2003-07-27 Asger Alstrup <alstrup@local>
1618 * text.C (fill): Optimise algorithm to exploit that we can reuse
1619 the LyXFont for many characters.
1620 (setHeightOfRow): Same thing.
1621 (rowBreakPoint): Same thing.
1623 2003-07-26 Asger Alstrup <alstrup@local>
1625 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1627 * text.C (singleWidth): Spurious font copying in hot-spot
1628 singleWidth avoided. Reorder tests for arabic for efficiency.
1630 * text.C (fill): handle empty paragraphs better.
1632 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1635 * encoding.h: add includes
1637 * lyxrc.C: remove reading of bind files
1639 * lyx_main.C (init): setup bindings and menus only if we have a
1642 * kbmap.C (read): new method. Do the actual reading of bind
1645 * converter.C (dvipdfm_options):
1648 (output): adapt PAPER_* enums.
1650 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1652 * bufferparams.h: remove paper-related enums from there
1654 * paper.h: New file. A trivial header file to hold paper-related
1655 enums. It should later expand to contain many paper-related
1658 * lyxrc.C: declare extern displayTranslator
1660 2003-07-27 José Matos <jamatos@fep.up.pt>
1662 * tabular.[Ch] (linuxdoc): add support for tables and figures
1665 2003-07-27 José Matos <jamatos@fep.up.pt>
1667 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1668 consistency in both functions.
1669 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1671 2003-07-26 Asger Alstrup <alstrup@local>
1673 * rowpainter.C (paintRows): Change algorithm to work directly on
1674 the insets rather than asking every character in the document
1675 whether its an inset.
1677 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1679 * buffer.C (openFileWrite): factorize some code
1681 2003-07-26 Angus Leeming <leeming@lyx.org>
1684 * lyx_main.[Ch]: replace occurances of system_tempdir with
1687 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * rename Inset to InsetOld
1691 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1693 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1694 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1695 which I think is a bit clearer. EDIT is gone, since it was
1696 premature optimisation, and broken for mathed anyway.
1697 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1698 with cursor positioning in insets as well (math insets still do not
1699 work, but that's a different story anyway.) It mysteriously
1700 crashes sometimes with undo in the first paragraph, but I'm fairly
1701 confident that this is a compiler bug.
1703 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * paragraph.C (Paragraph): adjust for new clone return type
1707 (copyIntoMinibuffer): ditto
1709 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1711 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1712 by not having a special case, and always doing a full rebreak of
1713 the document after undo.
1715 2003-07-23 Angus Leeming <leeming@lyx.org>
1717 * factory.C (createInset): InsetExternal::setParams now takes a
1720 2003-07-23 Angus Leeming <leeming@lyx.org>
1722 * factory.C (createInset): changed interface to the external and
1723 graphics mailers' string2params functions.
1725 2003-07-23 Angus Leeming <leeming@lyx.org>
1727 * factory.C (createInset): pass a
1728 Buffer const * parameter to InsetExternalMailer's string2params.
1730 2003-07-22 John Levon <levon@movementarian.org>
1732 * Thesaurus.h: include the right aiksaurus header
1734 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1736 * MenuBackend.C (expand): check menu shortcuts unconditionally
1738 2003-07-21 Angus Leeming <leeming@lyx.org>
1740 * factory.C (createInset): pass a
1741 buffer_path parameter to InsetGraphicsMailer's string2params.
1743 2003-07-21 Angus Leeming <leeming@lyx.org>
1745 * BufferView_pimpl.C (buffer):
1748 * lyxfunc.C (dispatch):
1749 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1750 rather than the grfx shortcut.
1752 2003-07-21 André Pönitz <poenitz@gmx.net>
1754 * rowpainter.C: remove unused variables
1757 * tabular_funcs.h: move to tabular.C
1758 * Makefile.am: adjust
1760 * tabular.[Ch]: basic optical cleaning
1762 * author.h: pass references, not values
1764 2003-07-18 André Pönitz <poenitz@gmx.net>
1772 * text3.C: two-phase drawing for InsetText and InsetTabular
1773 some float -> int changes.
1775 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1777 * lyx_main.C: fix the fix
1779 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1781 * lyx_main.C: fix a crash in batch mode if no files specified
1784 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1786 * format.[Ch] (papersize): moved to BufferParams
1787 * converter.[Ch] (dvips_options): moved to BufferParams
1788 (dvipdfm_options): moved to anon namespace
1789 * bufferparams.[Ch]: added above functions.
1791 2003-07-17 André Pönitz <poenitz@gmx.net>
1795 * text2.C: don't call inset->update() anymore
1797 * metricsinfo.[Ch]: add convenience constructor
1799 2003-07-16 André Pönitz <poenitz@gmx.net>
1804 * text2.C: replace the LyXCursor::irow_ member with
1805 on-demand computation of the value
1807 2003-07-16 John Levon <levon@movementarian.org>
1809 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1811 2003-07-15 André Pönitz <poenitz@gmx.net>
1814 * text2.C: remove no more needed refresh_row
1816 2003-07-15 André Pönitz <poenitz@gmx.net>
1821 * text3.C: refresh_status tristate -> need_update bool
1823 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1825 * lyxtext.h (init): remove reinit argument (act as if always true)
1826 * text2.C: adjust to that
1828 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1830 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1831 * text3.C: use it to delete selections in some cases
1832 (bugs 441, 673, 702, 954).
1834 2003-07-14 André Pönitz <poenitz@gmx.net>
1836 * rowpainter.[Ch]: reduce interface
1838 2003-07-14 André Pönitz <poenitz@gmx.net>
1840 * BufferView_pimpl.C:
1841 * text2.C: adjust after removing unused BufferView * argument
1843 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1845 * text2.C (init): fix a crash fired on resize
1847 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1849 * buffer.[Ch]: added new closing signal
1850 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1851 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1852 BufferView::Pimpl via the closing the signal
1854 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1856 * buffer.[Ch]: take out all bv-related from buffer
1858 * BufferView_pimpl.[Ch]: connect to new signals
1859 * CutAndPaste.C: removed useless asserts
1860 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1863 * lyxfunc.C: moved view-related funciontality from vc here
1864 * paragraph.C: removed outdated comments
1867 2003-07-10 André Pönitz <poenitz@gmx.net>
1869 * BufferView_pimpl.C:
1873 * text2.C: remove InsetText::InnerCache, clean up consequences
1875 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1877 * ispell.C: fix two typos in error messages
1879 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1881 * Extend Note inset to other forms of annotation like Comment
1882 and Greyedout. Right button click gives dialog.
1884 Files modified or added (+):
1888 * ControlNote.[Ch] +
1890 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1891 frontends/controllers
1895 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1897 * aspell.C: add missing namespace lyx::support
1899 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1901 * BufferView.[Ch] (newFile): Add
1902 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1903 * LaTeX.[Ch] (message): added this signal and use it
1904 * buffer.[Ch] (busy, message): added these signals and use them
1905 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1909 * importer.C: use buffer signals instead of direct bv calling
1910 * lyx_cb.[Ch] (ShowMessage): removed
1913 * paragraph_funcs.C:
1914 * text2.C: use buffer signals
1916 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * introduce namespace lyx::graphics
1920 2003-07-02 André Pönitz <poenitz@gmx.net>
1922 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1924 2003-07-01 André Pönitz <poenitz@gmx.net>
1931 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1932 text*.C to text_func.C
1934 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1936 * introduce namespace lyx::support
1938 2003-06-30 André Pönitz <poenitz@gmx.net>
1943 * text.C: re-enable --with-included-string
1945 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1947 * textcursor.C: add <config.h>
1949 * text.C (getWord): remove const from word_location arg
1951 * lyxvc.C (getLogFile): fix const type order
1953 * lyxtext.h: remove const from word_location arg, add arg name
1955 * lyxlayout.h: currect type on labeltype.
1957 * importer.C: correct \file
1959 * converter.C (intToFormat): use std:: on ret val, ws changes
1961 * bufferlist.h: correct \file
1963 * buffer.C (makeLinuxDocFile): fix const type order
1964 (makeDocBookFile): ditto
1965 (fillWithBibKeys): use std:: on stdlib args.
1967 * CutAndPaste.C: fix authors.
1968 (availableSelections): use std:: on return vector
1970 2003-06-27 André Pönitz <poenitz@gmx.net>
1972 * BufferView_pimpl.C:
1973 * bufferview_funcs.C:
1981 * text3.C: remove LyXCursor::row_ member
1984 * text.C: rename fullRebreak() to partialRebreak() and implement
1985 a fullRebreak() that really bereks fully
1987 * textcursor.h: new struct for cursor-related data
1989 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1991 * lyx_main.C (LyX): get full path of document loaded on the
1994 2003-06-26 André Pönitz <poenitz@gmx.net>
1996 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1997 remove unused/broken operator>,<,>=.
1999 * text.C: remove only use of broken operator<= in an Assert().
2001 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2003 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2004 moved errorlist_.clear to showErrorList
2006 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2008 * converter.C (scanLog, runLaTeX):
2009 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2010 move the bv->showErrorList call to the callers
2011 * lyxfunc.C: i.e. here...
2013 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2014 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2015 namespace, the second to...
2016 * buffer_funcs (BufferFormat, parseErrors): added
2017 * errorlist.C (ErrorList(TeXErrors const &)): removed
2019 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2021 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2023 2003-06-24 "Garst R. Reese" <reese@isn.net>
2027 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2029 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2031 * version.C.in: change docversion to 1.4
2033 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2035 * buffer.C: fix a bug just introduced
2037 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2039 * buffer.[Ch]: added the parseError signal and use it, removed
2041 * BufferView.[Ch] (addError): moved to ...
2042 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2043 to the Buffer::parseError signal to catch (guess what) parse errors
2044 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2046 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2048 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2049 ability to create a buffer and to return an existing one from
2050 the list. Moved these functions to...
2051 * buffer_funcs.[Ch]: added
2052 * BufferView.[Ch] (loadLyXFile): added
2053 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2054 job removed from bufferlist::loadLyXFile.
2055 * buffer.C (setReadOnly): make it work without view
2056 (i.e added an if (users))
2058 2003-06-19 Angus Leeming <leeming@lyx.org>
2061 * LyXAction.C (init):
2062 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2063 with LFUN_DIALOG_SHOW <name> <data>.
2065 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2067 * CutAndPaste.C (availableSelections): small compilation fix for
2068 ancient (gcc 2.9x) compilers
2070 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2072 * text3.C (cursorNext): add tmp var
2074 * text2.C (updateCounters): for function calling out of for clause
2075 (replaceSelectionWithString): ditto
2076 (insertStringAsParagraphs): ditto
2077 (getColumnNearX): add tmp var
2078 (setCursorFromCoordinates): add tmp var
2079 (cursorDownParagraph): add tmp var
2080 (deleteEmptyParagraphMechanism): add tmp var
2082 * text.C (insertChar): add tmp var
2084 * rowpainter.C (paintDepthBar): add tmp var
2086 * CutAndPaste.C (availableSelections): potentially check all
2087 paragraphs in a cut to fill the shown strings.
2089 2003-06-18 André Pönitz <poenitz@gmx.net>
2091 * kbmap.[Ch]: use vector<> instead of list<>
2093 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2095 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2096 pasteSelection with index
2098 * text2.C (pasteSelection): modify, call pasteSelection with index
2100 * paragraph.C (asString): reimplement version with no interval to
2101 call the one with interval.
2103 * lyxtext.h: add index arg to pasteSelection
2105 * MenuBackend.C (MenuItem): handle PasteRecent
2106 (Menu::read::Menutags): add md_pasterecent
2108 (expandPasteRecent): new function
2111 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2113 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2115 (availableSelections): new function
2117 2003-06-17 Angus Leeming <leeming@lyx.org>
2119 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2121 2003-06-17 Angus Leeming <leeming@lyx.org>
2124 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2126 * lyxfunc.C (dispatch): invoke it.
2128 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2130 * iterators.C (operator++, ParPosition): reintroduce some
2131 const_cast for the benefit of older compilers.
2133 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2135 * text3.C (dispatch): do not modify clipboard when doing
2136 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2137 LFUN_DELETE_SKIP on a selection selection
2139 2003-06-16 André Pönitz <poenitz@gmx.net>
2145 * tabular.[Ch]: IU of clone() and getLabelList();
2147 2003-06-13 André Pönitz <poenitz@gmx.net>
2149 * tabular.h: compactification
2151 2003-06-12 André Pönitz <poenitz@gmx.net>
2155 * tabular_funcs.h: some renaming plus whitespace
2157 2003-06-12 André Pönitz <poenitz@gmx.net>
2160 * BufferView_pimpl.C:
2166 * toc.C: Return a Paragraph & for ParIterator::operator*()
2168 2003-06-11 John Levon <levon@movementarian.org>
2172 * ToolbarBackend.C: add "Toolbars" section and
2175 2003-06-10 Angus Leeming <leeming@lyx.org>
2178 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2180 * lyxfunc.C (dispatch): invoke it.
2182 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * main.C: protect <ios> with HAVE_IOS
2185 (main): protect sync_with_stdio with HAVE_IOS
2187 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2189 * text2.C (cutSelection): adjust
2190 (pasteSelection): adjust
2192 * messages.C: handle get of empty string
2194 * main.C (main): use sync_with_stdio(false)
2196 * lyxfunc.C (dispatch): adjust
2198 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2199 (WriteAs): remove unneeded BufferView arg.
2201 * bufferparams.h: use correct types on papersize, papersize2 and
2204 * bufferparams.C (readToken): adjust for type
2205 (writeLaTeX): add missing cases to switch.
2207 * bufferlist.C (quitWriteBuffer): adjust
2210 * buffer.C (asciiParagraph): remove some commented code.
2212 * CutAndPaste.C: remove current_view extern variable.
2213 (cutSelection): add BufferParams arg.
2214 (eraseSelection): add BufferParams arg.
2215 (pasteSelection): add Buffer const & arg
2217 2003-06-07 John Levon <levon@movementarian.org>
2220 * paragraph_funcs.C:
2221 * paragraph_pimpl.C:
2225 * paragraph.C: allow InsetERT to freely space lines,
2226 and some consolidation of code
2228 2003-06-06 José Matos <jamatos@fep.up.pt>
2230 * buffer.C (makeDocBookFile): fix bug #821
2232 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2234 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2236 2003-06-04 Angus Leeming <leeming@lyx.org>
2238 * buffer.C: bump format to 224.
2240 2003-06-05 André Pönitz <poenitz@gmx.net>
2242 * text2.C (redoParagraphs): remove two const_cast<>
2244 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2246 * ParagraphList.h: remove last remnants of NO_STD_LIST
2248 2003-06-03 Angus Leeming <leeming@lyx.org>
2250 * factory.C (createInset): small change to the way InsetExternal's params
2253 2003-06-04 André Pönitz <poenitz@gmx.net>
2255 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2257 * paragraph_pimpl.h:
2258 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2260 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2262 * undo_funcs.C: make some simple cases of undo work again
2264 2003-06-03 John Levon <levon@movementarian.org>
2266 * ispell.C: HPUX doesn't have sys/select.h
2269 2003-06-03 John Levon <levon@movementarian.org>
2271 * CutAndPaste.C: update tabular and include inset
2276 * paragraph.C: remove owningBuffer(), don't pass Buffer
2279 * factory.C: insetGraphicsParams changed
2281 2003-06-02 John Levon <levon@movementarian.org>
2287 * text3.C: remove insetparent
2289 2003-06-02 John Levon <levon@movementarian.org>
2292 * buffer.C: fix inset_iterator.end(), move out of line
2295 2003-06-01 John Levon <levon@movementarian.org>
2297 * text3.C: use a proper cut/paste when doing inset
2298 insert (from Jürgen Spitzmüller)
2300 2003-06-01 John Levon <levon@movementarian.org>
2302 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2304 2003-05-30 André Pönitz <poenitz@gmx.net>
2306 * rowpainter.C: unify second drawing phase
2308 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2310 * trans_mgr.C: remove one case of current_view
2312 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2314 * paragraph_funcs.h: remove paragraph.h include
2316 * paragraph.h: delete NO_STD_LIST stuff
2318 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2320 * buffer.h: remove paragraph.h include
2322 * ParagraphList.C: delete file
2324 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2326 * toc.C (getTocList): adjust
2328 * paragraph_pimpl.C (validate): adjust
2330 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2332 * paragraph.C (Paragraph): adjust
2333 (getPositionOfInset): use const_iterator, adjust
2334 (bibitem): use const_iterator, adjust
2335 (setInsetOwner): adjust
2337 * iterators.C (operator++): adjust
2339 * InsetList.[Ch]: Replace selfmade iterator with standard
2340 vector::iterator also introduce const_iterator. Remove getPos,
2341 getInset and setInset from InsetTable. Adjust accordingly.
2343 * BufferView.C (lockInset): adjust
2344 (ChangeInsets): adjust
2346 * tabular.[Ch]: delete commented same_id functions
2348 2003-05-28 John Levon <levon@movementarian.org>
2350 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2352 2003-05-28 André Pönitz <poenitz@gmx.net>
2354 * metricsinfo.[Ch]: remove 'fullredraw' member
2356 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2358 * lyxtextclass.C (operator): remove caching.
2360 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * text2.C (cursorBottom): adjust
2365 (setCounter): use ParagraphList::find, adjust
2367 * text.C (workWidth): use ParagraphList::find, adjust
2369 * lyxcursor.C (LyXCursor): adjust
2371 * buffer.C (inset_iterator): adjust
2373 * ParagraphList.h: make iterator(value_type) private, make
2374 ParagraphList a friend of iterator.
2376 * ParagraphList.C (find): new function
2378 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2380 2003-05-27 André Pönitz <poenitz@gmx.net>
2382 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2384 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2386 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2388 2003-05-26 John Levon <levon@movementarian.org>
2390 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2392 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * remove same_id from function signatures, adjust.
2396 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2398 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2400 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2402 * paragraph.C (Paragraph): get rid of same_ids parameter
2404 * ParagraphList.C (insert): adjust
2407 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * paragraph_funcs.C (breakParagraph): adjust
2410 (breakParagraphConservative): adjust
2412 * buffer.C (readParagraph): adjust
2414 * ParagraphList.C (insert): take a reference instead of a pointer
2417 * paragraph.[Ch] (id): new function
2419 * bufferlist.C (newFile): adjust
2421 * ParagraphList.C (ParagraphList): adjust
2423 (push_back): take a reference instead of a pointer.
2425 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2427 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2430 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2431 set else use old code.
2433 * ParagraphList.C: remove all NO_NEXT code and only compile this
2434 code of NO_STD_LIST is set.
2436 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2438 * BufferView_pimpl.C:
2448 * graphics/GraphicsConverter.C:
2449 * graphics/PreviewLoader.C: header adjustment
2451 2003-05-23 Angus Leeming <leeming@lyx.org>
2453 * LaTeXFeatures.[Ch] (useBabel): new method.
2454 * bufferparams.C (writeLaTeX): use it.
2456 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2458 * ParagraphList.h (set): remove unused function.
2460 2003-05-23 André Pönitz <poenitz@gmx.net>
2463 * BufferView_pimpl.C:
2467 * undo_funcs.C: setUndo reworked
2469 * iterators.[Ch]: add access to topmost ParagraphList
2471 * lyxtext.[Ch] (workWidth): add a const
2473 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2475 * texrow.[Ch] (increasePos): remove function
2476 * exporter.C (export): removed unused var and outdated comment
2478 2003-05-23 Angus Leeming <leeming@lyx.org>
2480 * latexrunparams.h: rename fragile as moving_arg.
2481 * paragraph.C (simpleTeXOnePar): ditto.
2482 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2484 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2488 (textUndoOrRedo): comment out a currently unused var.
2490 * paragraph.h (NO_NEXT): enable NO_NEXT
2492 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2494 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2496 * exporter.C (Export): adjust for removeAutoInsets removal.
2498 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2500 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2502 * BufferView.[Ch] (removeAutoInsets): delete function
2504 2003-05-22 Angus Leeming <leeming@lyx.org>
2506 * latexrunparams.h: add a free_spacing variable.
2508 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2509 to pass moving_arg, as the data is stored in runparams.fragile.
2511 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2512 to Inset::latexOptional or to simpleTeXOnePar.
2514 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2515 free_spacing arg to Inset::latexOptional.
2517 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2520 2003-05-22 Angus Leeming <leeming@lyx.org>
2522 * latexrunparams.h: add fragile and use_babel variables.
2524 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2525 * buffer.C (makeLaTeXFile): store this returned value in
2526 runparams.use_babel, thus passing it to the inset::latex methods.
2528 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2529 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2531 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2532 longer has a fragile arg, as it is stored in runparams.fragile.
2534 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2535 moving_arg parameter as the data is stored in runparams.fragile.
2537 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2538 a fragile parameter as the data is stored in runparams.fragile.
2540 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2542 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2544 2003-05-22 Angus Leeming <leeming@lyx.org>
2546 * latexrunparams.h: add a 'bool nice' which defaults to false.
2548 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2549 now encapsulated within runparams.
2551 * bufferlist.C (updateIncludedTeXfiles):
2552 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2554 2003-05-22 Angus Leeming <leeming@lyx.org>
2556 * latexrunparams.h: new file containing struct LatexRunParams.
2557 * Makefile.am: add new file.
2559 * LaTeX.[Ch] (c-tor, run):
2560 * buffer.[Ch] (makeLaTeXFile):
2561 * bufferlist.[Ch] (updateIncludedTeXfiles):
2562 * converter.C (convert, scanLog):
2563 * converter.[Ch] (runLaTeX):
2564 * exporter.C (Export):
2565 * paragraph.[Ch] (simpleTeXOnePar):
2566 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2567 * paragraph_funcs.[Ch] (latexParagraphs):
2568 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2569 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2570 pass around a LatexRunParams parameter.
2572 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * paragraph.[Ch]: remove unused constructor
2576 * ParagraphList.C (erase): new function, taking two iterators
2578 2003-05-22 André Pönitz <poenitz@gmx.net>
2580 * undo_funcs.C: remove duplicated code
2582 * iterator.[Ch]: operator=
2584 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * tabular.C (SetMultiColumn): ws changes
2588 * rowpainter.C (paintFirst): get rid of a ->previous
2590 * lyx_cb.C (getPossibleLabel): parlist simplification
2592 * BufferView.C (ChangeInsets): simplify slightly.
2594 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2596 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2597 * lfuns.h: new LFUN_SPACE
2598 * lyxfunc.C: protected space has a new lfun
2599 * paragraph_funcs.C: read new space insets
2601 * factory.C: handle new space insets
2603 2003-05-22 André Pönitz <poenitz@gmx.net>
2606 * BufferView_pimpl.C:
2609 * undo_funcs.C: return a ParIterator from getParFromID.
2611 * iterators.[Ch]: add two const's
2613 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * toc.C (getTocList): adjust
2617 * iterators.[Ch]: rework for parlist
2619 * buffer.C (par_iterator_begin): adjust
2620 (par_iterator_end): adjust
2622 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2624 * BufferView.C (removeAutoInsets): adjust
2625 (ChangeInsets): adjust
2627 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2629 * text.C (top_y): fix bug 1110
2631 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2633 * errorlist.[Ch]: added
2636 * BufferView_pimpl.C:
2637 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2640 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2642 * Makefile.am: ensure that lyx is relinked upon changes to the
2643 various "convenience" libs.
2645 2003-05-20 Angus Leeming <leeming@lyx.org>
2647 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2648 files are compiled in alphabetical order again.
2650 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2652 2003-05-19 Angus Leeming <leeming@lyx.org>
2654 * gettext.[Ch]: remove "char const * _(char const *)".
2656 2003-05-19 André Pönitz <poenitz@gmx.net>
2658 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2667 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2669 2003-05-19 André Pönitz <poenitz@gmx.net>
2673 * lyxtextclass.[Ch]:
2675 * paragraph_funcs.[Ch]:
2677 * text3.C: more insetenv work
2679 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2681 * ParagraphParameters.C (params2string): small bug fixed
2683 2003-05-16 André Pönitz <poenitz@gmx.net>
2686 * bufferview_funcs.C: patch from Kornel Benko to prevent
2687 crash when _(...) is called twice in a statement
2689 2003-05-16 André Pönitz <poenitz@gmx.net>
2696 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2698 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2700 * lyx_main.C (init): remove spurious static_cast
2702 2003-05-14 André Pönitz <poenitz@gmx.net>
2704 * BufferView.C: fix format string
2706 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2708 * BufferView.[Ch] (insertErrors): removed
2709 * BufferView.[Ch] (showErrorList): added
2710 * buffer.C (runChkTeX):
2711 * converter.C (scanLog): call showErrorList instead of inserterrors
2713 2003-05-13 André Pönitz <poenitz@gmx.net>
2715 * BufferView_pimpl.C:
2717 * bufferview_func.C:
2724 * tabular_funcs.h: tostr() from its own header
2726 * ParagraphParameters.C:
2731 * text3.C: STRCONV()
2733 2003-05-12 André Pönitz <poenitz@gmx.net>
2736 * BufferView_pimpl.C:
2740 * ParagraphParameters.C:
2744 * bufferview_funcs.C:
2757 * paragraph_funcs.C:
2761 * text3.C: boost::format -> bformat all over the place
2764 2003-05-09 André Pönitz <poenitz@gmx.net>
2766 * LColor.[Ch]: Pimpl the #include <map> away
2768 2003-05-09 John Levon <levon@movementarian.org>
2770 * bufferlist.C: never remove emergency saves
2772 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * Makefile.am: better lib building
2776 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2780 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2781 (simpleTeXSpecialChars): adjust
2782 (simpleTeXSpecialChars): adjust
2783 * paragraph.C (simpleTeXOnePar): adjust
2784 * buffer.C (makeLaTeXFile): adjust
2786 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2788 * text2.C (changeDepth): parlist cleanup
2789 (getColumnNearX): ditto
2791 * rowpainter.C (getLabelFont): parlist cleanup
2793 * bufferlist.C (newFile): parlist cleanup
2795 * CutAndPaste.C (eraseSelection): parlist cleanup
2797 * BufferView_pimpl.C (trackChanges): parlist cleanup
2800 * BufferView.C (lockInset): parlist cleanup.
2801 (ChangeInsets): ditto
2803 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * CutAndPaste.h: Update file header.
2807 * CutAndPaste.C: Update file header.
2808 Store the parts cut out of the Document in a limited_stack.
2809 (copySelection): adjust
2810 (pasteSelection): new function, takes the index in the limited stack.
2811 (nrOfParagraphs): adjust
2812 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2813 simplify error inset insertion.
2814 (checkPastePossible): adjust
2816 2003-05-06 John Levon <levon@movementarian.org>
2818 * text2.C: don't cast wrap inset to float
2820 2003-05-05 André Pönitz <poenitz@gmx.net>
2823 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2825 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2826 few naked Paragraph *.
2828 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2830 * bufferparams.C: Output warning if a document with missing
2831 TeX document class is loaded
2832 * exporter.C: Disable TeX exports if the document class is missing
2835 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2836 isTeXClassAvailable()
2838 2003-05-03 John Levon <levon@movementarian.org>
2841 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2842 explicit cursor show/hide
2844 * BufferView_pimpl.h:
2845 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2846 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2848 * lyxfunc.C: hide cursor before dispatching.
2853 * text3.C: remove explicit cursor hides
2855 2003-05-02 André Pönitz <poenitz@gmx.net>
2857 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2860 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2863 * text2.C: tiny whitespace
2865 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * undo_funcs.C: almost only ws changes.
2869 * ParagraphList.C (splice): just return if pl is empty.
2871 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * ParagraphList.C (splice): new function.
2875 * CutAndPaste.C (pasteSelection): use it
2877 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2879 * CutAndPaste.C (pasteSelection): remove the last next and
2880 previous from this file.
2882 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * CutAndPaste.C (pasteSelection): more clean up, user proper
2885 ParagraphList functions for pasteing.
2887 * ParagraphList.C (insert): new function, three arg insert
2889 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * ParagraphList.C (insert): new function, three arg insert
2893 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2896 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2900 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2904 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2907 (copySelection): clean up a bit.
2908 (pasteSelection): use make_pair
2910 * ParagraphList.C (ParagraphList): implement copy constructor
2911 (operator=): implement, base on copy constructor.
2914 * paragraph.C (erase): return a bool
2916 * paragraph_pimpl.C (erasePos): remove function, move contents...
2917 (erase): ... here. Return a bool.
2918 (erase): call erase instead of erasePos.
2920 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2922 * ParagraphList.h: define PitPosPair
2923 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2924 ParagraphList, fix a bug on pasting multiple pars
2925 * text2.C: change interface to C&P
2927 2003-04-30 André Pönitz <poenitz@gmx.net>
2929 * undo_func.C: revert part of yesterday's patch 2
2931 2003-04-30 John Levon <levon@movementarian.org>
2933 * LColor.C: s/tabular/table/
2935 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * text3.C (dispatch): do not convert iterator -> pointer
2938 * undo_funcs.C (setCursorParUndo): ditto
2939 * text_funcs.C (transposeChars): ditto
2941 * text2.C (setLayout): ws changes only
2943 * text.C (breakParagraph): do not convert iterator -> pointer
2945 (acceptChange): ditto
2946 (rejectChange): ditto
2951 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2954 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2956 * text3.C (gotoInset): YABG (yet another bad getChar)
2958 2003-04-29 André Pönitz <poenitz@gmx.net>
2960 * paragraph.h: make operator= private unimplemented as long as
2963 * ParagraphList.C: whitespace
2966 * paragraph_pimpl.[Ch]:
2967 * paragraph_funcs.C:
2969 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2972 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2974 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2976 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2977 * paragraph.[Ch] (erase):
2978 * paragraph_pimpl.[Ch] (erase): change return type and value
2979 * text2.C (cutSelection): some rework
2981 2003-04-28 John Levon <levon@movementarian.org>
2983 * bufferlist.C: changes for unsaved changes dialog
2985 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * bufferlist.C (newFile): set language (messages_) for new
2990 * buffer.C (readFile): ws changes only.
2992 2003-04-28 André Pönitz <poenitz@gmx.net>
2997 * BufferView_pimpl.C:
2998 * BufferView.C: getParFromID related ParagraphList::iterator changes
3000 2003-04-28 André Pönitz <poenitz@gmx.net>
3002 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3005 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * messages.C: remove one more localedir class variable.
3009 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3011 * messages.C (getLocaleDir): singleton generation function
3013 (Messages): add a default constructor.
3015 * main.C (main): do not setup localedir here, do not call
3018 * gettext.C (_): use it.
3019 (gettext_init): delete funciton
3021 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3023 * gettext.C (getLyXMessages): new singleton generating function.
3025 * buffer.C (updateDocLang): adjust
3027 * Makefile.am (messages.o): add target
3028 (main.o): remove target
3030 2003-04-27 John Levon <levon@movementarian.org>
3035 * lyxvc.C: specify cancel button in Alert::prompt
3037 2003-04-26 John Levon <levon@movementarian.org>
3042 * LyXAction.C: add LFUN_INSET_SETTINGS
3044 * lyxfunc.C: don't enable tabular-feature when there's
3045 just any locking inset
3047 2003-04-26 John Levon <levon@movementarian.org>
3049 * bufferlist.C: re-add Cancel to buffer close question
3051 * lyxfunc.C: fix import UI a bit
3053 2003-04-25 John Levon <levon@movementarian.org>
3055 * gettext.C: remove the broken asserts for now
3057 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * messages.C: make case where setlocale cannot comply work better.
3061 * buffer.C (updateDocLang): new function
3062 (changeLanguage): use it
3065 * text2.C (setCounter): use B_ a bit.
3067 * lyxlayout.C (Read): be sure to trim the label strings.
3069 * messages.C (Messages): fix typo in comment
3071 * buffer.C (readFile): set message_ after file is loaded.
3072 (makeDocBookFile): remove double return
3073 (changeLanguage): reset message_ upon language change.
3074 (B_): new func, use this to get translated buffer strings.
3076 * main.C: add myself and Jean Marc as authors.
3078 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3080 * messages.[hC]: pimplify Messages, and three different pimpls to be
3081 used in different circumstances.
3083 * gettext.[Ch]: change for use with new message code.
3085 2003-04-24 André Pönitz <poenitz@gmx.net>
3087 * factory.C: support for eqref
3089 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * messages.[Ch]: add missing char
3093 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3095 * messages.[Ch]: New files
3097 2003-04-18 John Levon <levon@movementarian.org>
3101 * BufferView_pimpl.C:
3105 * text2.C: remove layout-copy/paste (bug 778)
3107 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3109 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3111 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3113 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3114 if they succeed. Act accordingly.
3116 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * text2.C (setCharFont): adjust
3119 (setCounter): adjust
3120 (insertStringAsLines): adjust
3122 * text.C (leftMargin): adjust
3123 (setHeightOfRow): adjust
3125 * rowpainter.C (paintFirst): adjust
3128 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3130 (isFirstInSequence): ditto
3131 (getEndLabel): ditto
3134 * paragraph.C (getParLanguage): comment out some hard stuff.
3136 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3138 (simpleDocBookOnePar): ditto
3139 (makeDocBookFile): use ParagraphList::iterator
3141 * CutAndPaste.C (pasteSelection): adjust
3143 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * text2.C (getFont): adjust
3146 (getLayoutFont): adjust
3147 (getLabelFont): adjust
3149 * paragraph_funcs.C (TeXOnePar): adjust
3151 * buffer.C (simpleLinuxDocOnePar): adjust
3152 (simpleDocBookOnePar): adjust
3154 * CutAndPaste.C (pasteSelection): adjust
3156 * BufferView.C (getEncoding): adjust
3158 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3160 2003-04-16 John Levon <levon@movementarian.org>
3162 * lyxfind.C: use parlist stuff for search/changes
3164 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3168 * text2.C (deleteEmptyParagraphMechanism): adjust
3170 * text2.[Ch] (ownerParagraph): delete func (both of them
3172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3176 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * ParagraphList.C: prepare for NO_NEXT
3180 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * text2.C (getFont): adjust
3183 (getLayoutFont): adjust
3184 (getLabelFont): adjust
3186 * paragraph.C (getFont): adjust
3187 (getLabelFont): adjust
3188 (getLayoutFont): adjust
3190 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3192 2003-04-15 John Levon <levon@movementarian.org>
3196 * lyx_main.C: handle Include in .ui files
3198 2003-04-15 John Levon <levon@movementarian.org>
3200 * MenuBackend.C: make the doc files length shorter
3203 * ToolbarBackend.C: handle toolbar placement flags,
3206 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3211 * paragraph_funcs.C (TeXOnePar): adjust
3213 * paragraph.C (getLabelFont): add outerfont arg, adjust
3214 (getLayoutFont): ditto
3215 (simpleTeXOnePar): adjust
3217 * paragraph_pimpl.C (realizeFont): delete func
3219 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3221 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3222 row argument, constify cur argument.
3224 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * text2.C (getFont): adjust
3227 (getLayoutFont): adjust
3228 (getLabelFont): adjust
3230 * paragraph_funcs.C (TeXOnePar): adjust
3231 (outerFont): new func...
3232 (realizeFont): ...moved out from here, changed this to facilitate
3235 * paragraph.C (getFont): take outerfont as arg, adjust
3236 (simpleTeXOnePar): add outerfont arg, adjust
3238 * buffer.C (simpleLinuxDocOnePar): adjust
3239 (simpleDocBookOnePar): adjust
3241 * CutAndPaste.C (pasteSelection): adjust
3243 * BufferView.C (getEncoding): adjust
3245 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * text2.C (setCharFont): adjust
3248 (setCounter): adjust
3250 * text.C (leftMargin): adjust
3251 (setHeightOfRow): adjust
3253 * rowpainter.C (paintFirst): adjust
3256 * paragraph_pimpl.C (realizeFont): adjust
3258 * paragraph.C (isFirstInSequence): move from here...
3259 * paragraph_funcs.C (isFirstInSequence): ...to here
3261 * paragraph.C (outerHook): move from here...
3262 * paragraph_funcs.C (outerHook): ...to here
3264 * paragraph.C (depthHook): move from here...
3265 * paragraph_funcs.C (depthHook): ...to here
3267 * paragraph.C (getEndLabel): move from here...
3268 * paragraph_funcs.C (getEndLabel): ...to here
3270 * text2.C (realizeFont): move from here...
3271 * paragraph_funcs.C (realizeFont): ...to here
3273 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3277 2003-04-14 Angus Leeming <leeming@lyx.org>
3279 * LColor.[Ch]: scrap LColor mathcursor.
3281 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3283 * lyxlex.[Ch] (text): delete function
3284 * trans.C (Load): adjust
3285 * paragraph_funcs.C (readParToken): adjust
3287 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3289 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3290 vector<char> instead of a char[].
3292 * lyxlex_pimpl.C (getString): adjust
3294 (lex): use getString
3298 * lyxlex.C (text): use pimpl_->getString()
3302 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3305 (makeFontEntriesLayoutSpecific): temp var for par.size()
3306 (setLayout): temp var for ownerParagraphs().end()
3307 (fullRebreak): temp var for rows().end()
3308 (selectionAsString): temp var for boost::next(startpit), realize
3309 that the while really is a regular for loop.
3310 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3311 setCursor in one place.
3312 (setParagraph): temp vr for ownerParagraphs().end()
3313 (updateCounters): make the while loop a for loop
3314 (cutSelection): temp var for ownerParagraphs().end()
3315 (updateInset): make the do {} while() a regular for loop
3316 (getCursorX): use temp vars
3317 (setCurrentFont): use temp vars
3318 (getColumnNearX): use temp vars
3320 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * text.C (transformChar): use temp var for getChar
3323 (computeBidiTables): use temp var for row->par()
3324 (fill): move temp vars for row->par() and pit->layout() earlier in
3326 (labelFill): use temp var for row->par()
3327 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3328 asc and desc, realize that pit never changes and that firstpit is
3329 just a duplicate and not needed. Exchange rit->par() with pit in a
3331 (breakAgain): use a temp var for boost::next(rit)
3332 (breakAgainOneRow): ditto
3333 (breakParagraph): use a temp var for rows().begin()
3334 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3335 (cursorRightOneWord): use temp var for cursor.par() and
3336 cursor.pos(), remove usage of tmpcursor.
3337 (cursorLeftOneWord): use temp var for cursor.par() and
3338 cursor.pos() only set cur at end of function.
3340 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * text.C, text2.C: exchange all usage of Paragraph::next with
3343 boost::next(ParagraphList::iterator)
3345 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3347 * text2.C (cursorTop): simplify implementation
3348 (cursorBottom): ditto
3349 (setParagraph): use ParagraphList::iterator
3350 (setCurrentFont): adjust
3351 (getColumnNearX): adjust
3352 (cursorRight): adjust
3353 (cursorLeft): remove usage of Paragraph::previous
3354 (cursorUpParagraph): ditto
3355 (deleteEmptyParagraphMechanism): slight cleanup
3357 * text.C (isBoundary): take a Paragraph const & instead of a
3359 (addressBreakPoint): ditto
3360 (leftMargin): remove usage of Paragraph::previous.
3361 (setHeightOfRow): ditto
3362 (cursorLeftOneWord): ditto
3363 (selectNextWordToSpellcheck): ditto
3366 (breakParagraph): remove one usage of Paragraph::next
3367 (redoParagraph): ditto
3368 (acceptChange): ditto
3369 (insertChar): adjust
3370 (rowBreakPoint): adjust
3372 * bufferview_funcs.C (toggleAndShow): adjust
3374 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3376 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3377 methods to access it.
3379 * text.C: Added updateRowPositions to compute all row positions.
3380 Make top_y and getRowNearY() to use the cached y position
3382 2003-04-11 John Levon <levon@movementarian.org>
3384 * text.C (rowBreakPoint): reintroduce the labelEnd
3385 checks, code copied from the row fill stuff. Deep voodoo.
3387 * text.C (fill): add a comment and debugging for the
3390 2003-04-11 John Levon <levon@movementarian.org>
3392 * text.C: make sure fullrow insets get wrapped to the next line,
3393 even when they're in a manual label
3395 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3397 * text2.C (insertParagraph): make it take ParagraphList::iterator
3399 (setLayout): make it return ParagraphList::iterator
3400 (redoParagraphs): ditto
3402 (checkParagraph): ditto
3404 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3406 * text2.C: adjust several funcs.
3407 (realizeFont): take a ParagraphList::iterator as arg.
3408 (getLayoutFont): ditto
3409 (getLabelFont): ditto
3410 (setCharFont): ditto
3412 * text.C: adjust several funcs.
3414 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3416 * text.C (selectNextWordToSpellcheck): don't accidentally
3419 2003-04-10 John Levon <levon@movementarian.org>
3421 * ToolbarBackend.C (getIcon): special handling for
3424 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3426 * text2.C (cursorRight): a getChar assert fixed
3428 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3430 * text2.C (getFont): change to take a ParagraphList::iterator
3431 instead of Paragraph*
3432 Adjust several functions.
3434 * text.C (transformChar): change to take a ParagraphList::iterator
3435 instead of Paragraph*
3436 (singleWidth): ditto
3437 Adjust several functions.
3439 * rowpainter.C: adjust several functions
3440 * rowpainter.h:store a ParagraphList::iterator and not a
3444 2003-04-09 John Levon <levon@movementarian.org>
3449 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3450 and the "help" bits as well
3452 2003-04-09 John Levon <levon@movementarian.org>
3455 * ToolbarBackend.C: allow multiple toolbars
3457 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * undo_funcs.C (setCursorParUndo): adjust
3461 * text_funcs.C (transposeChars): adjust
3463 * text3.C (gotoNextInset): adjust
3466 * text2.C (setLayout): adjust
3467 (changeDepth): adjust
3469 (redoParagraphs): adjust
3470 (selectionAsString): adjust
3471 (setParagraph): adjust
3472 (insertInset): adjust
3473 (cutSelection): adjust
3474 (copySelection): adjust
3475 (pasteSelection): adjust
3476 (insertStringAsLines): adjust
3477 (updateInset): adjust
3478 (setCursor): change to take a ParagraphList::iterator parameter
3479 (setCursorIntern): change to take a ParagraphList::iterator parameter
3480 (setCurrentFont): adjust
3481 (cursorLeft): adjust
3482 (cursorRight): adjust
3483 (deleteEmptyParagraphMechanism): adjust
3485 * text.C (breakParagraph): adjust
3486 (insertChar): adjust
3487 (acceptChange): adjust
3488 (rejectChange): adjust
3489 (selectNextWordToSpellcheck): adjust
3490 (changeCase): adjust
3494 * lyxfind.C (SearchForward): adjust
3495 (SearchBackward): adjust
3496 (nextChange): adjust
3498 * lyxcursor.C (par): adjust
3500 * lyxcursor.h: store a ParagraphList::iterator instead of a
3503 * lyx_cb.C (getPossibleLabel): adjust
3505 * bufferview_funcs.C (toggleAndShow): adjust
3507 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3510 * BufferView.C (removeAutoInsets): adjust
3511 (lockedInsetStoreUndo): adjust
3513 2003-04-09 John Levon <levon@movementarian.org>
3515 * ToolbarBackend.C: try icon without argument
3516 if with argument fails
3518 2003-04-08 John Levon <levon@movementarian.org>
3521 * ToolbarBackend.C: add getIcon(), handle tooltip,
3522 and change from "Icon" to "Item".
3524 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3526 * BufferView.C (lockInset): another bad getchar crunched
3528 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3530 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3533 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3535 * lyxfind.C (searchForward, searchBackwards): bug 782
3537 2003-04-07 John Levon <levon@movementarian.org>
3539 * paragraph.C: remove dead comment
3541 * text.C: remove troublesome depth-fiddling code
3542 in leftMargin() and rightMargin() (bug 1017)
3544 * text.C: fix breaking of rows in nested lists
3547 * text2.C (updateCounters): fix up depth values
3550 2003-04-07 John Levon <levon@movementarian.org>
3552 * BufferView_pimpl.C: clear message when doc finishes resizing,
3553 and after a mouse event
3555 * lyxfunc.C: clear message after exiting inset
3557 2003-04-07 John Levon <levon@movementarian.org>
3559 * bufferview_funcs.C: show math status not outside
3560 status in the statusbar
3562 2003-04-07 John Levon <levon@movementarian.org>
3564 * lyxfunc.C: note status changed after a depth change
3566 2003-04-04 Angus Leeming <leeming@lyx.org>
3568 * LaTeX.h: move AuxInfo operator==, != out of line.
3569 Remove LaTeX virtual destructor; nothing derives from it.
3570 Move operator()() out of public area and rename it startscript().
3571 Change protected for private.
3573 2003-04-04 Angus Leeming <leeming@lyx.org>
3576 * text2.C: remove unneeded #includes.
3578 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3580 * text2.C (dEPM): fix the heigth of the next row
3582 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3584 * text.C: squashed an invalid getChar requester + some ws changes
3586 2003-04-03 John Levon <levon@movementarian.org>
3588 * bufferview_funcs.h:
3589 * bufferview_funcs.C:
3592 * text2.C: make getStatus work for the env depth lfuns
3594 2003-04-03 John Levon <levon@movementarian.org>
3596 * bufferview_funcs.h:
3597 * bufferview_funcs.C:
3600 * text2.C: parlistize decDepth(), by merging it with incDepth()
3602 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * lyxrow.h: store a ParagraphList::iterator instead of a
3605 Paragraph* and adjust other class functions to suit.
3607 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3610 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3612 * text2.C (setCursor): do not anchor to cursor row for the time being
3614 2003-04-02 John Levon <levon@movementarian.org>
3621 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3623 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3625 * paragraph.h: make ParagraphList and ParagraphList::iterator
3626 friends of Paragraph.
3628 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3630 * ParagraphList.C: Use the private next_ and previous_ from
3633 2003-04-01 John Levon <levon@movementarian.org>
3637 * Makefile.am: rename, remove defaults gunk
3640 * MenuBackend.C: remove defaults gunk
3643 * Languages.C: remove defaults gunk
3646 * lyx_main.C: error out if files couldn't be found.
3648 2003-04-02 John Levon <levon@movementarian.org>
3650 * text2.C: make incDepth() use parlist
3652 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * undo_funcs.C (firstUndoParagraph): adjust
3656 * text3.C (gotoInset): adjust
3657 (dispatch): adjust, and rewrite loop.
3659 * text2.C (init): adjust, and rewrite loop.
3660 (redoParagraphs): adjust
3661 (updateInset): adjust, and rewrite loop.
3662 (deleteEmptyParagraphMechanism): adjust
3664 * tabular.C (LyXTabular): adjust
3665 (SetMultiColumn): adjust
3668 * lyxtext.[Ch] (ownerParagraph): delete function
3669 (ownerParagraphs): new function returns a ParagraphList.
3671 * BufferView.C (removeAutoInsets): adjust
3672 (insertErrors): adjust
3673 (setCursorFromRow): adjust
3675 2003-04-01 Angus Leeming <leeming@lyx.org>
3677 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3680 2003-04-02 John Levon <levon@movementarian.org>
3686 * text_funcs.C: make transposeChars a free function
3688 * lyxrow_funcs.C: remove wrong comment
3690 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * rowpainter.C: adjust
3698 * lyxrow_funcs. [Ch]: new files
3700 * lyxrow.[Ch]: remove next and previous pointers
3701 (next,previous): remove accessor functions
3702 (isParEnd): move to lyxrow_funcs
3703 (lastPos): move to lyxrow_funcs
3704 (nextRowIsAllInset): move to lyxrow_funcs
3705 (lastPrintablePos): move to lyxrow_funcs
3706 (numberOfSeparators): move to lyxrow_funcs
3707 (numberOfHfills): move to lyxrow_funcs
3708 (numberOfLabelHfills): move to lyxrow_funcs
3709 (hfillExpansion): move to lyxrow_funcs
3713 * bufferview_funcs.C (toggleAndShow): adjust
3715 * RowList.h: Remove class RowList from file leave just a
3718 * RowList.C: delete file
3720 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3723 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * text3.C (cursorPrevious): adjust
3726 (cursorNext): adjust
3729 * text2.C (redoHeightOfParagraph): adjust
3730 (redoDrawingOfParagraph): adjust
3733 * text.C (breakParagraph): adjust
3734 (insertChar): adjust
3737 * rowpainter.C (RowPainter): adjust
3738 (leftMargin): simplify and adjust
3739 (most rowpainter functions): adjust.
3741 * rowpainter.h: store the row as RowList::iterator not as Row*
3743 * lyxcursor.C (row): taka RowList::iterator as arg
3746 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3749 2003-04-01 Angus Leeming <leeming@lyx.org>
3751 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3752 stuff like bool Bool.
3754 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3756 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3759 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3764 * lyxtext.h (rows): drop one version and leve a const variant that
3765 returns a RowList::iterator.
3767 2003-03-31 Angus Leeming <leeming@lyx.org>
3769 * text.C (fill): ensure that the signature is the same as that in the
3772 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * text2.C (redoParagraphs): adjust
3775 (updateCounters): adjust
3776 (checkParagraph): adjust
3777 (getColumnNearX): adjust and reformat a bit.
3779 * text.C (top_y): adjust
3781 (leftMargin): adjust
3782 (prepareToPrint): adjust
3784 (getRowNearY): adjust
3786 * lyxtext.h: make rowlist_ mutable.
3788 * RowList.h: add const_iterator
3789 * RowList.C: adjust for RowList::const_iterator.
3791 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3794 2003-03-31 John Levon <levon@movementarian.org>
3797 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3799 * lyx_main.C: set default fonts from using lyx_gui funcs
3801 * exporter.C: pdf_mode moved from lyxrc
3804 * lyxfunc.C: changes from above
3806 2003-03-31 John Levon <levon@movementarian.org>
3808 * lyx_main.C: fix to the last fix
3810 2003-03-31 John Levon <levon@movementarian.org>
3812 * bufferlist.C: "Load original" -> "Load Original"
3818 * format.C: more Alert cleanups
3820 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * text2.C (removeParagraph): make it take a RowList::iterator as
3824 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3825 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3827 * text.C (anchor_row): make it take a RowList::iterator as arg,
3829 (computeBidiTables): make it take a const reference to Row instead
3830 of Row pointer, adjust.
3831 (leftMargin): make it take a RowList::iterator as arg, adjust.
3832 (rowBreakPoint): adjust
3833 (breakAgainOneRow): make it take a RowList::iterator as arg,
3835 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3837 * bufferview_funcs.C (toggleAndShow): adjust
3839 2003-03-30 John Levon <levon@movementarian.org>
3843 * boost-inst.C: moved to support
3845 * several files: changes as a result
3847 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * text2.C (LyXText): adjust.
3851 (removeRow): make it take a RowList::iterator as arg, adjust.
3852 (fullRebreak): adjust
3853 (deleteEmptyParagraphMechanism): adjust
3854 (clearPaint): adjust
3857 * text.C (top_y): adjust
3858 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3859 (breakAgain): make it take a RowList::iterator as arg, adjust.
3860 (breakParagraph): adjust
3861 (insertChar): adjust
3864 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3865 need_break_row, and refresh_row.
3867 * text3.C (dispatch): adjust
3869 * text2.C (checkParagraph): adjust
3871 (setCursorFromCoordinates): adjust
3873 * text.C (top_y): adjust
3875 (getRow): make it return a RowList::iterator, adjust
3876 (getRowNearY): make it return a RowList::iterator, adjust
3878 * text2.C (init): adjust
3879 (insertRow): remove function
3880 (insertParagraph): adjust
3881 (redoParagraphs): adjust
3882 (fullRebreak): adjust
3883 (updateCounters): adjust
3885 * text.C (top_y): rewrite to use RowList iterators.
3887 (setHeightOfRow): rewrite to sue RowList iterators.
3888 (appendParagraph): adjust
3889 (breakAgain): adjust
3890 (breakAgainOneRow): adjust
3891 (breakParagraph): adjust
3893 (getRowNearY): adjust, and remove commented code.
3895 * lyxtext.h (firstRow): delete function
3896 (lastRow): delete function
3897 (rows): new function (const and non-const versions.)
3898 (insertRow): delete function
3900 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3902 2003-03-29 John Levon <levon@movementarian.org>
3904 * BufferView_pimpl.C: always update scrollbar top
3905 because pasting text when we're anchored could mean we
3906 miss an update altogether
3908 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3910 * text2.C (init): use rowlist_.end() and not 0.
3911 (insertRow): change to take a RowList::iterator as arg, adjust
3913 (insertParagraph): change to take a RowList::iterator as arg,
3915 (redoParagraphs): remove some debug msgs.
3917 * text.C (appendParagraph): change to take a RowList::iterator
3918 arg, adjust for this.
3919 (breakAgain): add an assert
3920 (breakAgainOneRow): ditto
3922 2003-03-29 John Levon <levon@movementarian.org>
3924 * text2.C: do not clear selection after inc/decDepth
3927 2003-03-29 John Levon <levon@movementarian.org>
3930 * buffer.C: fix broken strerrors according to Lars
3932 2003-03-29 John Levon <levon@movementarian.org>
3934 * converters.C: more Alert cleanups
3936 2003-03-29 John Levon <levon@movementarian.org>
3938 * bufferview_funcs.C: remove pointless Alert
3940 * buffer.C: fix confusing error message when
3941 a template is chmoded 000
3943 2003-03-29 John Levon <levon@movementarian.org>
3947 * BufferView_pimpl.C: Alert fixes
3951 * tabular-old.C: remove unused table compat reading
3953 2003-03-29 John Levon <levon@movementarian.org>
3958 * lyx_cb.C: more Alert cleanups
3960 * lyxfunc.C: don't allow chktex if not latex document
3962 2003-03-29 John Levon <levon@movementarian.org>
3966 * buffer.C: warnings pushed down from support/,
3969 2003-03-29 John Levon <levon@movementarian.org>
3971 * lyxfunc.C: safety check for C-r (revert)
3973 2003-03-29 John Levon <levon@movementarian.org>
3976 * bufferlist.C: several UI fixes using Alert::prompt.
3977 Fix the pointless looping quit code. Fix stupid revert
3982 * lyx_cb.C: use Alert::prompt
3984 * lyx_main.C: remove a silly question
3986 * lyxfunc.C: remove a couple of silly questions,
3989 2003-03-28 John Levon <levon@movementarian.org>
3991 * text2.C: fix bug 974 (End on empty par)
3993 2003-03-28 John Levon <levon@movementarian.org>
3995 * BufferView_pimpl.C:
3997 * lfuns.h: remove do-nothing math greek lfuns
3999 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * lyxgluelength.h (isValidGlueLength): add default arg on
4002 parameter 2. Remove default arg from friend in class.
4004 * lyxlength.h (isValidLength): add default arg on parameter 2.
4005 Remove default arg from friend in class.
4007 * text2.C (LyXText): adjust, initialize refresh_row.
4011 (insertParagraph): adjst
4012 (redoParagraphs): adjust
4013 (fullRebreak): adjust
4014 (updateCounters): adjust
4015 (deleteEmptyParagraphMechanism): first attempt at fixing a
4018 * text.C (top_y): adjust
4019 (setHeightOfRow): adjust
4021 (getRowNearY): adjust
4023 * lyxtext.h: include RowList.h
4024 (~LyXText): not needed anymore, deleted.
4025 (firstRow): modify for RowList
4026 (lastRow): new function
4027 Delete firstrow and lastrow class variables, add a Rowlist
4028 rowlist_ class variable.
4030 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4033 * RowList.C (insert): fix case where it == begin().
4035 2003-03-26 Angus Leeming <leeming@lyx.org>
4037 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4038 the thesaurus dialog.
4040 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4044 * RowList.[Ch]: new files
4046 * ParagraphList.C (erase): handle the case where it == begin
4049 2003-03-25 John Levon <levon@movementarian.org>
4053 * aspell.C: add new aspell support
4056 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4059 2003-03-25 Angus Leeming <leeming@lyx.org>
4062 * LyXAction.C (init): new LFUN_INSET_INSERT.
4064 * BufferView_pimpl.C (dispatch): split out part of the
4065 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4067 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4070 2003-03-25 Angus Leeming <leeming@lyx.org>
4072 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4074 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4077 * text3.C: remove useless row->height(0)
4079 2003-03-25 John Levon <levon@movementarian.org>
4083 * text3.C: rename the refreshing stuff to better names
4085 2003-03-24 John Levon <levon@movementarian.org>
4087 * BufferView_pimpl.h:
4088 * BufferView_pimpl.C: update layout choice on a mouse
4091 2003-03-23 John Levon <levon@movementarian.org>
4093 * Makefile.am: fix commandtags.h reference
4095 2003-03-22 John Levon <levon@movementarian.org>
4097 * BufferView_pimpl.C:
4102 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4104 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4107 * text.C: take the rtl methods out of line
4109 2003-03-21 André Pönitz <poenitz@gmx.net>
4111 * metricsinfo.[Ch]: new files containing structures to be passed around
4112 during the two-phase-drawing...
4114 2003-03-21 André Pönitz <poenitz@gmx.net>
4116 * lyxtextclass.C: read 'environment' tag.
4118 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4120 * text2.C (removeRow): fix bug 964
4122 2003-03-20 John Levon <levon@movementarian.org>
4126 * text2.C: paint cleanups. Inset::update() dropped font
4129 2003-03-19 John Levon <levon@movementarian.org>
4131 * lyxfunc.C: only fitcursor/markDirty if available()
4133 2003-03-19 John Levon <levon@movementarian.org>
4135 * commandtags.h: rename to ...
4137 * lfuns.h: ... this, and renumber / cleanup
4139 2003-03-19 John Levon <levon@movementarian.org>
4141 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4142 fit the cursor after an lfun
4146 * BufferView_pimpl.h:
4147 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4149 * LyXAction.C: layout-character should have ReadOnly
4151 * ParagraphParameters.C:
4153 * bufferview_funcs.C:
4160 * undo_funcs.C: changes from above
4162 2003-03-18 John Levon <levon@movementarian.org>
4164 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4165 remove it from update()
4167 * lyxfunc.C: update layout choice after an lfun
4169 * text3.C: remove extra updateLayoutChoice()s
4171 2003-03-18 John Levon <levon@movementarian.org>
4173 * text.C: top_y change means full repaint, fix
4174 a drawing bug with cursor movement
4176 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4180 * text2.C: anchor row on setCursor
4182 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4184 * lyxtext.h: remove almost all mutable keywords
4187 * text3.C: remove const keywords accordingly
4189 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4193 (TeXEnvironment): ditto
4196 2003-03-17 John Levon <levon@movementarian.org>
4198 * text.C (rowBreakPoint): remove attempt to fix displayed
4199 math insets inside a manual label
4201 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * lyxtext.h: remove BufferView* as first arg from almost all class
4205 * other files: adjust.
4207 2003-03-17 John Levon <levon@movementarian.org>
4211 * text2.C: more paint cleanups
4213 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4216 * rowpainter.C: remove "smart" background painting code
4218 2003-03-16 John Levon <levon@movementarian.org>
4223 * text3.C: add helper functions for setting refresh_row/y
4225 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4227 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4228 newline inset which *can* get inserted in the pass_thru layouts.
4229 This is primarily for literate documents.
4231 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4233 * buffer.C: increment LYX_FORMAT to 223
4235 2003-03-14 André Pönitz <poenitz@gmx.net>
4237 * textclass.h: prepare for environment handling, ws changes
4238 * lyxlayout.C: read latexheader and latexfooter tags
4240 2003-03-14 John Levon <levon@movementarian.org>
4242 * text2.C: rewrite ::status() a bit
4244 2003-03-13 John Levon <levon@movementarian.org>
4246 * lyxtext.h: add some docs
4248 2003-03-13 John Levon <levon@movementarian.org>
4253 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4255 2003-03-13 John Levon <levon@movementarian.org>
4257 * text3.C: fix appendix redrawing
4259 2003-03-13 John Levon <levon@movementarian.org>
4261 * text.C (setHeightOfRow):
4263 * rowpainter.C: make appendix mark have the text
4264 "Appendix" so the user knows what it is
4267 * LColor.C: s/appendixline/appendix/ from above
4269 2003-03-13 John Levon <levon@movementarian.org>
4271 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4273 * text.C: fix a getChar(pos) bug properly
4275 2003-03-13 Angus Leeming <leeming@lyx.org>
4278 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4279 Probably only temporary. Let's see how things pan out.
4281 * BufferView.C (unlockInset):
4282 * BufferView_pimpl.C (fitCursor):
4283 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4285 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4286 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4288 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4289 new functions that convert ParagraphParameters to and from a string.
4291 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4292 BufferView::Pimpl's dispatch.
4293 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4295 2003-03-13 André Pönitz <poenitz@gmx.net>
4299 * factory.C: make it aware of InsetEnv
4301 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * text2.C (setCursor): never ask for one past last
4304 (setCursor): add some debugging messages.
4306 * text.C (singleWidth): never ask for one past last
4307 (singleWidth): ditto
4309 (rightMargin): ditto
4310 (rowBreakPoint): ditto
4311 (setHeightOfRow): ditto
4312 (prepareToPrint): ditto
4314 * rowpainter.C (paintBackground): never ask for one past last
4315 (paintText): never ask for one past last
4317 * paragraph_pimpl.C (getChar): make the assert stricter, never
4318 allow the one past last pos to be taken
4320 * paragraph.C (getChar): ws changes only
4322 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4323 (numberOfSeparators): ditto
4324 (numberOfHfills): ditto
4326 2003-03-12 John Levon <levon@movementarian.org>
4332 * paragraph_funcs.C: fix per-buffer authorlists
4334 2003-03-12 John Levon <levon@movementarian.org>
4336 * text.C: fix newline in right address
4338 2003-03-12 Angus Leeming <leeming@lyx.org>
4340 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4341 duplicate those in LyXFunc::dispatch.
4345 * ToolbarDefaults.C:
4346 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4347 Add LFUN_FONTFREE_UPDATE.
4349 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4350 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4352 * bufferview_func.[Ch]: several new functions to facilliate
4353 transfer of data to and from the character dialog.
4355 2003-03-12 John Levon <levon@movementarian.org>
4360 * paragraph_funcs.C:
4361 * paragraph_pimpl.C:
4365 * text3.C: remove META_NEWLINE in favour of an inset
4368 * rowpainter.C: remove paintNewline (done by inset)
4370 2003-03-12 John Levon <levon@movementarian.org>
4372 * paragraph_pimpl.C: complain about bad getChar()s
4373 for a while at least
4375 2003-03-12 John Levon <levon@movementarian.org>
4378 * buffer.C: move paragraph read into a separate function,
4379 a little renaming to reflect that.
4382 * bufferparams.C: remove the author_ids map, not necessary now
4385 * factory.C: moved Buffer::readInset to here
4387 * paragraph_funcs.h:
4388 * paragraph_funcs.C: readParagraph free function moved from
4391 * tabular.C: name change
4393 2003-03-12 John Levon <levon@movementarian.org>
4396 * ParagraphParameters.C: move par params input to
4399 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4400 behave like a normal read from the stream wrt reading
4401 a line vs. a \\token
4403 2003-03-12 John Levon <levon@movementarian.org>
4406 * ParagraphParameters.h:
4407 * ParagraphParameters.C: move output code to a
4410 2003-03-12 John Levon <levon@movementarian.org>
4412 * BufferView.C (insertLyXFile):
4415 * tabular.C: use a parlist iterator for creating the
4418 2003-03-12 John Levon <levon@movementarian.org>
4420 * buffer.C: make current_change static local not
4423 2003-03-12 John Levon <levon@movementarian.org>
4425 * buffer.C: fix insertStringAsLines for change tracking
4427 2003-03-12 John Levon <levon@movementarian.org>
4434 * bufferparams.C: move author list into params. Rename some
4435 functions. Move the header reading into a separate token
4436 loop. Move the header token reading into BufferParams.
4438 2003-03-12 John Levon <levon@movementarian.org>
4440 * changes.C: put debug inside lyxerr.debugging() checks
4442 2003-03-11 André Pönitz <poenitz@gmx.net>
4444 * factory.C: make it aware of InsetHFill
4446 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4448 * buffer.C (latexParagraphs): move function from here...
4449 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4452 2003-03-10 Angus Leeming <leeming@lyx.org>
4454 * LyXAction.C (init): fix bug in poplating array with multiple entries
4455 with the same LFUN (spotted by JMarc).
4457 2003-03-10 John Levon <levon@movementarian.org>
4460 * text2.C: move getColumnNearX() near its
4463 2003-03-10 John Levon <levon@movementarian.org>
4465 * text.C: fix break before a minipage
4467 2003-03-10 John Levon <levon@movementarian.org>
4469 * text.C: fix the last commit
4471 2003-03-09 John Levon <levon@movementarian.org>
4475 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4476 bug 365 (don't break before insets unless needed). Don't
4477 return a value > last under any circumstances.
4479 2003-03-09 Angus Leeming <leeming@lyx.org>
4481 * BufferView_pimpl.C (trackChanges, dispatch): call
4482 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4484 2003-03-09 Angus Leeming <leeming@lyx.org>
4486 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4487 than Dialogs::showAboutlyx().
4489 2003-03-09 Angus Leeming <leeming@lyx.org>
4491 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4492 than Dialogs::showTabularCreate().
4494 2003-03-09 John Levon <levon@movementarian.org>
4498 * text2.C: 3rd arg to nextBreakPoint was always the same.
4501 2003-03-08 John Levon <levon@movementarian.org>
4508 * text2.C: Remove the "main" bit from the "main body"
4511 2003-03-08 John Levon <levon@movementarian.org>
4513 * text.C (leftMargin): The left margin of an empty
4514 manual label paragraph should not include the label width
4517 * text.C (prepareToPrint): don't attempt to measure hfills
4518 for empty manual label paragraphs - the answer should be 0
4520 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4522 * CutAndPaste.C: remove commented code and reindent.
4524 2003-03-08 John Levon <levon@movementarian.org>
4527 * lyxfunc.C: move reloadBuffer()
4530 * BufferView.C: to here
4532 * lyxvc.C: add comment
4535 * vc-backend.C: call bv->reload() to avoid
4536 getStatus() check on MENURELOAD
4538 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4540 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4541 to an old format .dep file.
4543 2003-03-07 Angus Leeming <leeming@lyx.org>
4545 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4546 when the LFUN_MOUSE_RELEASE should have been handled by
4547 inset->localDispatch.
4549 2003-03-07 Angus Leeming <leeming@lyx.org>
4551 * BufferView_pimpl.C (dispatch):
4552 * LyXAction.C (init):
4553 * ToolbarDefaults.C (init):
4555 * lyxfunc.C (getStatus):
4556 remove LFUN_INSET_GRAPHICS.
4558 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4560 2003-03-07 Angus Leeming <leeming@lyx.org>
4563 * LyXAction.C (init):
4564 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4566 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4569 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4571 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4572 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4574 2003-03-07 Angus Leeming <leeming@lyx.org>
4576 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4579 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * ParagraphList.C (front): new function
4584 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4586 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4587 and top_row_offset_. removed var first_y.
4589 * text2.C (LyXText, removeRow):
4591 * BufferView_pimpl.C:
4592 use these methods instead of using first_y
4594 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * text2.C (pasteSelection): adjust for checkPastePossible
4598 * CutAndPaste.C: remove Paragraph * buf and replace with
4599 ParagraphList paragraphs.
4600 (DeleteBuffer): delete
4601 (cutSelection): change the tc type to textclass_type
4602 (copySelection): change the tc type to textclass_type
4603 (copySelection): adjust for ParagraphList
4604 (pasteSelection): change the tc type to textclass_type
4605 (pasteSelection): adjust for Paragraphlist
4606 (nrOfParagraphs): simplify for ParagraphList
4607 (checkPastePossible): simplify for ParagraphList
4608 (checkPastePossible): remove unused arg
4610 * ParagraphList.C (insert): handle the case where there are no
4613 * CutAndPaste.h: make CutAndPaste a namespace.
4615 * text3.C (dispatch): adjust
4617 * text.C (breakParagraph): add a ParagraphList as arg
4619 * paragraph_funcs.C (breakParagraph): change to take a
4620 BufferParams and a ParagraphList as args.
4621 (breakParagraphConservative): ditto
4622 (mergeParagraph): ditto
4623 (TeXDeeper): add a ParagraphList arg
4624 (TeXEnvironment): ditto
4627 * buffer.C (readLyXformat2): adjust
4628 (insertStringAsLines): adjust
4629 (latexParagraphs): adjust
4631 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4632 (cutSelection): adjust
4633 (pasteSelection): adjust
4635 * BufferView_pimpl.C (insertInset): adjust
4637 2003-03-05 Angus Leeming <leeming@lyx.org>
4640 * LyXAction.C (init):
4641 * BufferView_pimpl.C (dispatch):
4642 * lyxfunc.C (getStatus):
4643 remove LFUN_CHILD_INSERT.
4645 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4647 2003-03-05 Angus Leeming <leeming@lyx.org>
4650 * LyXAction.C (init):
4651 * src/factory.C (createInset):
4652 * lyxfunc.C (getStatus):
4653 * text3.C (dispatch):
4654 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4656 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4658 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4660 * ParagraphList.C (insert): handle insert right before end()
4661 (erase): fix cases where it can be first or last paragraph.
4663 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4666 Paragraph::next and Paragraph::previous
4669 * text.C (breakParagraph): adjust
4671 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4672 BufferParams& as arg.
4673 (breakParagraph): use ParagraphList::insert
4674 (breakParagraphConservative): take a Buffer* instead of a
4675 BufferParams& as arg.
4676 (breakParagraphConservative): use ParagraphList::insert.
4678 * buffer.C (insertStringAsLines): un-const it
4679 (insertStringAsLines): adjust
4681 * ParagraphList.C (insert): new function
4683 * CutAndPaste.C (pasteSelection): adjust
4685 * text.C (backspace): adjust
4687 * tabular.C (SetMultiColumn): adjust
4689 * CutAndPaste.C (cutSelection): adjust
4690 (pasteSelection): adjust
4692 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4693 Buffer const * as arg
4695 * ParagraphList.C (erase): new function
4696 * paragraph_funcs.C (mergeParagraph): use it
4697 (mergeParagraph): make it take a Buffer* instead of a
4698 BufferParams* as arg
4700 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4702 (breakParagraphConservative): ditto
4704 * paragraph.h: remove the breakParagraph friend
4706 * paragraph.C (eraseIntern): new function
4707 (setChange): new function
4709 * paragraph_funcs.C (mergeParagraph): make it take a
4710 ParagraphList::iterator instead of a Paragraph *, adjust
4713 * paragraph.h: move an #endif so that the change tracking stuff
4714 also works in the NO_NEXT case.
4716 2003-03-04 Angus Leeming <leeming@lyx.org>
4719 * LyXAction.C: new LFUN_INSET_MODIFY.
4721 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4722 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4724 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * several files: ws changes only
4728 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4729 (TeXEnvironment): ditto
4732 * buffer.C (makeLaTeXFile): adjust
4733 (latexParagraphs): make it take ParagraphList::iterator as args
4735 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4737 * buffer.C (latexParagraphs): adjust
4739 * paragraph.C (TeXOnePar): move function...
4740 (optArgInset): move function...
4741 (TeXEnvironment): move function...
4742 * paragraph_pimpl.C (TeXDeeper): move function...
4743 * paragraph_funcs.C: ...here
4745 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4747 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * buffer.C (readInset): remove compability code for old Figure and
4752 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * buffer.C: ws changes
4757 * BufferView_pimpl.C: ditto
4760 * bufferlist.h: ditto
4764 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4766 * converter.[Ch]: split into itself +
4769 * Makefile.am: += graph.[Ch] + format.[Ch]
4776 * lyxrc.C: added #include "format.h"
4778 2003-02-27 Angus Leeming <leeming@lyx.org>
4780 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4783 * factory.C (createInset): add "label" to the factory.
4785 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4786 string and do no more.
4788 2003-02-27 Angus Leeming <leeming@lyx.org>
4791 * LyXAction.C (init):
4792 * factory.C (createInset):
4793 * BufferView_pimpl.C (dispatch):
4794 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4796 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4798 * lyxfunc.C (dispatch):
4799 * text3.C (dispatch): pass name to params2string.
4801 2003-02-26 Angus Leeming <leeming@lyx.org>
4803 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4805 Rearrange the ~includes. Strip out the unnecessary ones.
4807 * factory.C (createInset): reformat.
4808 create new insets for the various LFUN_XYZ_APPLY lfuns.
4810 2003-02-26 John Levon <levon@movementarian.org>
4813 * lyxrow.C: add isParStart,isParEnd helpers
4815 * paragraph.h: make isInserted/DeletedText take refs
4817 * paragraph_funcs.h:
4818 * paragraph_funcs.C: remove #if 0'd code
4823 * text.C: use lyxrow helpers above.
4824 Move draw and paint routines to RowPainter.
4825 Make several methods use refs not pointers.
4826 Make backgroundColor() const.
4827 Add markChangeInDraw(), isInInset().
4828 Merge changeRegionCase into changeCase.
4829 Make workWidth() shouldn't-happen code into an Assert.
4832 * rowpainter.C: new class for painting a row.
4835 * vspace.C: make inPixels take a ref
4837 2003-02-26 Angus Leeming <leeming@lyx.org>
4839 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4842 2003-02-25 John Levon <levon@movementarian.org>
4844 * ispell.C: give the forked command a more accurate name
4846 2003-02-22 John Levon <levon@movementarian.org>
4849 * toc.C: make TocItem store an id not a Paragraph *
4852 2003-02-21 Angus Leeming <leeming@lyx.org>
4854 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4855 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4856 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4857 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4858 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4859 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4861 * BufferView_pimpl.C (dispatch):
4862 * LyXAction.C (init):
4863 * factory.C (createInset):
4864 * lyxfunc.C (getStatus, dispatch):
4865 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4867 2003-02-21 Angus Leeming <leeming@lyx.org>
4869 * BufferView_pimpl.C (MenuInsertLyXFile):
4870 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4871 * lyxfunc.C (menuNew, open, doImport):
4872 no longer pass a LyXView & to fileDlg.
4874 2003-02-21 Angus Leeming <leeming@lyx.org>
4876 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4877 * LyXAction.C: change, BIBKEY to BIBITEM.
4878 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4879 Change InsetBibKey to InsetBibitem.
4880 Change BIBKEY_CODE to BIBITEM_CODE.
4881 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4882 * factory.C: replace insetbib.h with insetbibitem.h.
4883 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4884 * paragraph.C: replace insetbib.h with insetbibitem.h.
4885 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4886 Change bibkey() to bibitem().
4887 * text.C: remove insetbib.h.
4888 * text2.C: replace insetbib.h with insetbibitem.h.
4889 change bibkey() to bibitem().
4890 * text3.C: remove insetbib.h.
4891 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4893 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4895 * lyxrc.C (output): enclose user email in quotes (in case there are
4898 2003-02-18 John Levon <levon@movementarian.org>
4900 * buffer.h: add std::
4902 2003-02-17 John Levon <levon@movementarian.org>
4908 * pspell.C: reworking. Especially in ispell, a large
4909 number of clean ups and bug fixes.
4911 * lyxfunc.C: fix revert to behave sensibly
4913 2003-02-17 André Pönitz <poenitz@gmx.net>
4916 * commandtags.h: new LFUN_INSERT_BIBKEY
4926 * paragraph_func.C: remove special bibkey handling
4928 2003-02-17 John Levon <levon@movementarian.org>
4930 * text.C (Delete): fix case where delete at the end of
4931 the very first paragraph would not merge the pars
4933 2003-02-17 John Levon <levon@movementarian.org>
4935 * lyxrow.C: fix lastPrintablePos()
4937 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4939 * bufferparams.C (writeLaTeX): add a std:here
4941 * buffer.C: and remove a using directive there
4943 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4945 * buffer.C (makeLaTeXFile): move the code that generates the
4948 * bufferparams.C (writeLaTeX): ... in this new method
4950 * LaTeXFeatures.C (getEncodingSet): make const
4951 (getLanguages): make const
4953 * MenuBackend.C (binding): returns the binding associated to this
4955 (add): sets the status of each item by calling getStatus. Adds
4957 (read): add support for OptSubMenu
4958 (expand): remove extra separator at the end of expanded menu
4960 2003-02-15 John Levon <levon@movementarian.org>
4963 * BufferView_pimpl.C:
4965 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4966 inset code that had no actual effect. Remove unneeded status
4969 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4971 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4974 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4976 * text.C (drawLengthMarker): also draw an arrow marker for
4977 symbolic lengths (medskip...)
4979 2003-02-14 John Levon <levon@movementarian.org>
4982 * tabular.C: better method names
4984 2003-02-14 John Levon <levon@movementarian.org>
4986 * BufferView_pimpl.C:
4991 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4992 it's a more accurate name. Remove some pointless uses.
4994 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4996 * text2.C (LyXText): change order of initilizers to shut off
4999 2003-02-14 John Levon <levon@movementarian.org>
5001 * buffer.C: use ParIterator for getParFromID()
5005 * paragraph_pimpl.h:
5006 * paragraph_pimpl.C: remove unused getParFromID()
5008 2003-02-14 John Levon <levon@movementarian.org>
5010 * buffer.C: remove some very old #if 0'd parse code
5012 2003-02-13 John Levon <levon@movementarian.org>
5016 * text2.C: move hfillExpansion(), numberOfSeparators(),
5017 rowLast(), rowLastPrintable(), numberofHfills(),
5018 numberOfLabelHfills() ...
5021 * lyxrow.C: ... to member functions here.
5026 * text.C: remove LyXText::beginningOfMainBody(), and call
5027 p->beginningOfMainBody() directly. Move the check for
5028 LABEL_MANUAL into the latter.
5035 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5041 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5042 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5044 2003-02-13 John Levon <levon@movementarian.org>
5046 * CutAndPaste.C: remove debug
5048 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5050 * paragraph.C (asString): remove two unused variables
5052 * lyxtextclass.C (readTitleType):
5054 (LyXTextClass): handle new members titletype_ and titlename_
5056 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5058 2003-02-09 John Levon <levon@movementarian.org>
5061 * buffer.C: replace hand-coded list with a map for the dep clean
5063 2003-02-08 John Levon <levon@movementarian.org>
5065 * LaTeX.C: consolidate code into showRunMessage() helper
5067 2003-02-08 John Levon <levon@movementarian.org>
5072 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5073 and pass the size in explicitly
5075 * BufferView_pimpl.h:
5076 * BufferView_pimpl.C:
5078 * BufferView.C: add getCurrentChange()
5080 * BufferView_pimpl.h:
5081 * BufferView_pimpl.C: handle change lfuns
5083 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5084 for changes. Mark pasted paragraphs as new.
5086 * support/lyxtime.h:
5087 * support/lyxtime.C:
5088 * DepTable.C: abstract time_t as lyx::time_type
5091 * LColor.C: add colours for new text, deleted text, changebars
5093 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5094 package use "usenames" option.
5098 * LyXAction.C: add change lfuns
5102 * author.C: author handling
5105 * buffer.C: add a per-buffer author list, with first entry as
5106 current author. Handle new .lyx tokens for change tracking. Output
5107 author list to .lyx file. Output dvipost stuff to .tex preamble.
5108 Bump lyx format to 222.
5111 * bufferlist.C: add setCurrentAuthor() to reset current author details
5115 * bufferparams.C: add param for tracking
5117 * bufferview_funcs.C: output change info in minibuffer
5121 * changes.C: add change-tracking structure
5124 * debug.C: add CHANGES debug flag
5127 * lyxfind.C: add code for finding the next change piece
5130 * lyxrc.C: add user_name and user_email
5133 * lyxrow.C: add a metric for the top of the text line
5136 * text.C: implement accept/rejectChange()
5139 * text.C: paint changebars. Paint new/deleted text in the chosen
5140 colours. Strike through deleted text.
5144 * paragraph_pimpl.h:
5145 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5146 in the current change to the insert functions. Rework erase to
5147 mark text as deleted, adding an eraseIntern() and a range-based
5148 erase(). Implement per-paragraph change lookup and
5151 * paragraph_funcs.C: Fixup paste for change tracking.
5153 * tabular.C: mark added row/columns as new.
5155 * text.C: fix rowLast() to never return -1. Don't allow
5156 spellchecking of deleted text. Track transpose changes. Don't
5157 allow paragraph break or merge where appropriate.
5159 * text2.C: leave cursor at end of selection after a cut.
5161 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5163 * text.C (getLengthMarkerHeight):
5164 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5165 visible on screen too.
5167 2003-02-07 John Levon <levon@movementarian.org>
5169 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5171 2003-02-05 Angus Leeming <leeming@lyx.org>
5173 * lyxserver.C (read_ready): revert my patch of 11 September last year
5174 as it sends PC cpu through the roof. Presumably this means that
5175 the lyxserver will no longer run on an Alpha...
5177 2003-01-30 Angus Leeming <leeming@lyx.org>
5179 * factory.C (createInset): create an InsetCommandParam of type "index"
5180 and use it to 'do the right thing'.
5182 * text2.C (getStringToIndex): ensure that cursor position is always
5183 reset to the reset_cursor position.
5185 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5187 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5190 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5194 * lyxfunc.C: Output messages with identical spelling, punctuation,
5197 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5199 * MenuBackend.C (expandFormats): List only viewable export formats
5202 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5205 * lyxfunc.C (getStatus): Make sure that formats other than
5206 "fax" can also be disabled
5208 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5210 * text3.C (dispatch): put the lfuns that insert insets in 3
5211 groups, and call doInsertInset with appropriate arguments.
5212 (doInsertInset): new function, that creates an inset and inserts
5213 it according to some boolean parameters.
5215 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * buffer.C (readFile): remember to pass on 'par' when calling
5218 readFile recursively.
5220 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5222 * MenuBackend.C (expandFormats): add "..." to import formats.
5224 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5226 * paragraph.C (asString): Remove XForms RTL hacks.
5228 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5229 * buffer.C: fix typo
5231 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * Makefile.am (LIBS): delete var
5234 (lyx_LDADD): add @LIBS@ here instead.
5236 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5238 * Clarify the meaning of "wheel mouse jump"
5240 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5242 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5245 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5247 * importer.C (Loaders): do not preallocate 3 elements in the
5248 vector, since one ends up with 6 elements otherwise
5250 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5252 * DepTable.C (write): write the file name as last element of the
5253 .dep file (because it may contain spaces)
5254 (read): read info in the right order
5256 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5258 * paragraph_pimpl.C (simpleTeXBlanks):
5259 (simpleTeXSpecialChars):
5260 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5262 * tabular.C (latex): add some missing case statements. Reindent.
5264 * MenuBackend.C (expandToc): remove unused variable.
5266 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5275 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5278 2003-01-05 John Levon <levon@movementarian.org>
5281 * BufferView.C: add getEncoding()
5284 * kbsequence.C: do not store last keypress
5287 * lyxfunc.C: store last keypress here instead. Pass encoding
5290 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5292 * lyx_main.C (init): remove annoying error message when following
5293 symbolic links (bug #780)
5295 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5297 * text.C (insertChar):
5298 * lyxrc.C (getDescription): remove extra spaces
5300 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5302 * lyxrc.C (getDescription): remove extra spaces
5304 2002-12-20 John Levon <levon@movementarian.org>
5306 * text3.C: hack fix for page up/down across tall rows
5308 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5310 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5313 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5315 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5316 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5317 thesaurus is not compiled in
5319 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5321 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5323 2002-12-16 Angus Leeming <leeming@lyx.org>
5326 * lyx_main.C (init): remove override_x_deadkeys stuff.
5328 2002-12-12 John Levon <levon@movementarian.org>
5330 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5331 insert. Only remove shift modifier under strict
5334 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * MenuBackend.C (expandToc): fix crash.
5338 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5340 * MenuBackend.C (expandToc): gettext on float names.
5342 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5344 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5345 implement bool empty() [bug 490]
5347 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * several files: ws changes
5355 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * text2.C (setCounter): clean up a bit, use boost.format.
5358 (updateCounters): initialize par upon declaration.
5360 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5361 if the layout exists. We do not just store the layout any more.
5362 (SwitchLayoutsBetweenClasses): use boost.format
5364 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5366 * converter.C (convert): if from and to files are the same, use a
5367 temporary files as intermediary
5369 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5372 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5374 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5376 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5378 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * tabular.C (asciiPrintCell): use string(size, char) instead of
5383 * sgml.C (openTag): fix order of arguments to string constructor
5386 * lyxfunc.C (dispatch): use boost.format
5388 * lots of files: change "c" -> 'c'
5390 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5392 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5394 2002-11-25 Angus Leeming <leeming@lyx.org>
5396 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5398 * lyx_main.C (init): compile fix.
5400 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5402 * lyx_cb.C (start): boost.formatify
5403 do not include <iostream>
5405 * lengthcommon.C: ws only
5407 * boost-inst.C,BoostFormat.h: add more explict instantations
5409 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * lots of files: handle USE_BOOST_FORMAT
5413 2002-11-21 John Levon <levon@movementarian.org>
5415 * pspell.C: fix compile
5417 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5419 * lyxfunc.C (dispatch): use boost::format
5423 * lyxfont.C (stateText): use boost::format
5425 * lyx_main.C (LyX): use boost::format
5427 (queryUserLyXDir): ditto
5430 (typedef boost::function): use the recommened syntax.
5432 * importer.C (Import): use boost::format
5434 * debug.C (showLevel): use boost::format
5436 * converter.C (view): use boost::format
5441 * bufferview_funcs.C (currentState): use boost::format
5443 * bufferlist.C (emergencyWrite): use boost::format
5445 * buffer.C (readLyXformat2): use boost::format
5446 (parseSingleLyXformat2Token): ditto
5448 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5450 * LaTeX.C (run): use boost::format
5452 * Chktex.C (scanLogFile): use boost::format
5454 * BufferView_pimpl.C (savePosition): use boost::format
5455 (restorePosition): ditto
5456 (MenuInsertLyXFile): ditto
5458 * BoostFormat.h: help file for explicit instation.
5460 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5462 * tabular.C (latex): Support for block alignment in fixed width
5465 2002-11-17 John Levon <levon@movementarian.org>
5467 * BufferView_pimpl.C:
5469 * lyxfunc.C: split filedialog into open/save
5471 2002-11-08 Juergen Vigna <jug@sad.it>
5473 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5474 by my last patch (hopefully).
5476 2002-11-08 John Levon <levon@movementarian.org>
5485 * toc.C: ParConstIterator, and use it (from Lars)
5487 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5489 * lyxtextclass.[Ch]: revise and add doxygen comments
5491 2002-11-07 John Levon <levon@movementarian.org>
5493 * text.C: fix progress value for spellchecker
5495 * toc.C: fix navigate menu for insetwrap inside minipage
5497 * paragraph_funcs.C: added FIXME for suspect code
5499 2002-11-07 John Levon <levon@movementarian.org>
5501 * BufferView_pimpl.C: fix redrawing of insets
5504 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5506 * text2.C (updateCounters): fix bug 668
5508 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5510 * text3.C (dispatch): Do not make the buffer dirty when moving the
5513 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5515 * vc-backend.C: STRCONV
5518 * text2.C (setCounter): STRCONV
5520 * paragraph.C (asString): STRCONV
5522 * lyxlength.C (asString): STRCONV
5523 (asLatexString): ditto
5525 * lyxgluelength.C (asString): STRCONV
5526 (asLatexString): ditto
5528 * lyxfunc.C (dispatch): STRCONV
5531 * lyxfont.C (stateText): STRCONV
5533 * importer.C (Import): STRCONV
5535 * counters.C (labelItem): STRCONV
5536 (numberLabel): ditto
5537 (numberLabel): remove unused ostringstream o
5542 * bufferview_funcs.C (currentState): STRCONV
5544 * buffer.C (readFile): STRCONV
5545 (asciiParagraph): ditto
5546 (makeLaTeXFile): ditto
5548 * Spacing.C (writeEnvirBegin): STRCONV
5550 * LaTeXFeatures.C (getLanguages): STRCONV
5551 (getPackages): ditto
5553 (getBabelOptions): ditto
5554 (getTClassPreamble): ditto
5555 (getLyXSGMLEntities): ditto
5556 (getIncludedFiles): ditto
5560 (scanAuxFile): ditto
5563 * LString.h: add the STRCONV macros
5565 * BufferView_pimpl.C (savePosition): STRCONV
5566 (restorePosition): ditto
5567 (MenuInsertLyXFile): ditto
5569 * vc-backend.C (scanMaster): change from submatch[...] to
5572 * funcrequest.C: include config.h
5574 * factory.C: include config.h
5576 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5578 * box.C: include config.h
5580 * LaTeX.C (scanAuxFile): change from submatch[...] to
5584 2002-10-25 Angus Leeming <leeming@lyx.org>
5586 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5588 * ispell.[Ch] (setError): new method.
5589 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5590 Use setError() insetead of goto END.
5592 * lyx_cb.C (AutoSave): move out child process into new class
5595 2002-10-30 John Levon <levon@movementarian.org>
5597 * text3.C: make start appendix undoable
5599 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5601 * lyxlength.C (inPixels): Fix returned value.
5603 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5606 2002-10-24 Angus Leeming <leeming@lyx.org>
5608 * lyxgluelength.h: no need to forward declare BufferParams
5609 or BufferView, so don't.
5611 2002-10-21 John Levon <levon@movementarian.org>
5613 * BufferView.C: menuUndo ->undo, redo
5615 * BufferView.h: document, remove dead, make some methods private
5617 * paragraph_funcs.h:
5618 * paragraph_funcs.C:
5619 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5624 * sgml.C: move sgml open/close tag into sgml.C
5626 * bufferview_funcs.h: unused prototype
5629 * lyxfunc.C: remove unused
5632 * text.C: remove unused
5634 2002-10-21 John Levon <levon@movementarian.org>
5638 * BufferView_pimpl.h:
5639 * BufferView_pimpl.C: fix mouse wheel handling based on
5640 patch from Darren Freeman
5642 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5644 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5646 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5648 * lyxlength.C (inPixels): Fix hanfling of negative length.
5649 Fix LyXLength::MU case.
5651 2002-10-16 John Levon <levon@movementarian.org>
5653 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5655 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5657 * converter.C (view): add support for $$i (file name) and $$p
5658 (file path) for the viewer command. If $$i is not specified, then
5659 it is appended to the command (for compatibility with old syntax)
5661 2002-10-14 Juergen Vigna <jug@sad.it>
5663 * undo_funcs.C (textHandleUndo): alter the order in which the
5664 new undopar is added to the LyXText, as we have to set first
5665 the right prev/next and then add it as otherwise the rebuild of
5666 LyXText is not correct. Also reset the cursor to the right paragraph,
5667 with this IMO we could remove the hack in "redoParagraphs()".
5669 2002-10-09 Angus Leeming <leeming@lyx.org>
5671 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5672 to turn off an optimisation if a new inset is to be inserted.
5674 2002-10-11 André Pönitz <poenitz@gmx.net>
5676 * lyxtext.h: make some functions public to allow access
5677 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5679 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5681 * text3.C (dispatch): when changing layout, avoid an infinite loop
5684 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5686 * lyxrc.C (read): treat a viewer or converter command of "none" as
5689 * MenuBackend.C (expandFormats): for an update, also allow the
5690 formats that are not viewable
5692 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5693 script if it is newer than the lyxrc.defaults in user directory
5695 2002-10-07 André Pönitz <poenitz@gmx.net>
5697 * text.C: Vitaly Lipatov's small i18n fix
5699 2002-09-25 Angus Leeming <leeming@lyx.org>
5701 * ispell.h: doxygen fix.
5703 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5705 * buffer.h (readFile): Add a new argument to the method, to allow
5706 reading of old-format templates.
5708 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5710 * toc.C (getTocList): Get TOC from InsetWrap.
5712 2002-09-16 John Levon <levon@movementarian.org>
5714 * lyxfunc.C: check tabular for cut/copy too
5716 2002-09-12 John Levon <levon@movementarian.org>
5721 * factory.C: add header
5723 * paragraph_funcs.h:
5724 * paragraph_funcs.C: cleanup
5726 2002-09-11 John Levon <levon@movementarian.org>
5728 * PrinterParams.h: odd/even default to true
5730 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5732 * PrinterParams.h: update printer parameters for new xforms dialog
5734 2002-09-11 Angus Leeming <leeming@lyx.org>
5736 * lyxserver.C (read_ready): re-write to make it more transparent
5737 and to make it work in coherent fashion under Tru64 Unix.
5739 2002-09-11 André Pönitz <poenitz@gmx.net>
5743 * text3.C: implement LFUN_WORDSEL
5745 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5748 make floatlist_ a boost::shared_ptr<FloatList>
5750 * lyxtextclass.C: include FloatList.h
5751 (LyXTextClass): initialize floatlist_
5752 (TextClassTags): add TC_NOFLOAT
5753 (Read): match "nofloat" to TC_NOFLOAT and use it.
5754 (readFloat): modify call to floatlist_
5758 * FloatList.[Ch] (FloatList): remove commented out float
5760 (erase): new function
5762 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5764 * MenuBackend.C (expandToc): fix crash when there is no document
5767 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5769 * many files: Add insetwrap.
5771 2002-09-09 John Levon <levon@movementarian.org>
5773 * text2.C: remove confusing and awkward depth wraparound
5775 2002-09-09 John Levon <levon@movementarian.org>
5777 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5780 * buffer.C: remove getIncludeonlyList()
5783 * lyxfunc.C: remove headers
5785 2002-09-09 Juergen Vigna <jug@sad.it>
5787 * text.C (getColumnNearX): fix form Michael this is most
5788 probably a cut&paste bug.
5790 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5792 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5794 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5795 references, ws changes.
5797 * text2.C (init): update counters after init
5798 (insertParagraph): no need to set counter on idividual paragraphs.
5799 (setCounter): access the counters object in the textclass object
5800 on in the buffer object.
5801 (updateCounters): ditto
5803 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5804 shared_ptr<Counters> to avoid loading counters.h in all
5806 (LyXTextClass): initialize ctrs_
5807 (TextClassTags): add TC_COUNTER, and ...
5808 (Read): use it here.
5809 (CounterTags): new tags
5810 (readCounter): new function
5811 (counters): new funtion
5812 (defaultLayoutName): return a const reference
5814 * counters.C (Counters): remove contructor
5815 (newCounter): remove a couple of unneeded statements.
5816 (newCounter): simplify a bit.
5817 (numberLabel): some small formatting changes.
5819 * buffer.[Ch]: remove all traces of counters, move the Counters
5820 object to the LyXTextClass.
5822 2002-09-06 Alain Castera <castera@in2p3.fr>
5824 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5825 package to set the horizontal alignment on fixed width columns.
5828 * lyx_sty.h: added tabularnewline macro def.
5830 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5832 2002-09-06 John Levon <levon@movementarian.org>
5834 * LyXAction.C: tooltips for sub/superscript
5836 * MenuBackend.C: a bit more verbose
5838 * lyxfunc.C: tiny clean
5840 * undo_funcs.C: document undo_frozen
5842 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * counters.C (Counters): add missing algorithm counter.
5846 * text2.C (setCounter): lookup the counter with layouts latexname
5847 instead of by section number.
5848 (setCounter): use a hackish way to lookup the correct enum
5850 a float name->type change
5851 reset enum couners with counter name directly instead of depth value.
5853 * counters.C (Counters): remove the push_backs, change to use the
5854 float type not the float name.
5855 (labelItem): remove unused string, float name->type change
5857 * counters.h: don't include vector, loose the enums and sects vectors
5859 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5862 (Read): add float->TC_FLOAT to textclassTags
5863 (Read): and handle it in the switch
5864 (readFloat): new function
5866 * FloatList.C (FloatList): comment out the hardcoded float
5869 * lyxlayout.h: ws change.
5871 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5873 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5875 2002-09-03 Angus Leeming <leeming@lyx.org>
5877 * BufferView_pimpl.h: qualified name is not allowed in member
5878 declaration: WorkArea & Pimpl::workarea() const;
5880 * factory.C: added using std::endl directive.
5882 * text3.C: added using std::find and std::vector directives.
5884 2002-08-29 André Pönitz <poenitz@gmx.net>
5887 * text2.C: remove unused member number_of_rows
5890 * BufferView2.C: remove file, move contents to...
5891 * BufferView.C: ... here
5893 * BufferView_pimpl.C:
5894 * factory.C: move more inset creation to factory
5896 * vspace.C: avoid direct usage of LyXText, ws changes
5899 don't provide direct access to WorkArea, use two simple
5900 acessors haveSelction() and workHeight() instead
5903 2002-08-29 John Levon <levon@movementarian.org>
5905 * BufferView_pimpl.C (dispatch): do not continue when
5908 2002-08-28 André Pönitz <poenitz@gmx.net>
5910 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5913 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5915 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5917 * buffer.C: increment LYX_FORMAT to 221
5919 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5920 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5922 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5924 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5926 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5928 * factory.C (createInset): use LyXTextClass::floats
5930 * MenuBackend.C (expandFloatListInsert):
5931 (expandFloatInsert):
5934 * text2.C (setCounter):
5936 * LaTeXFeatures.C (useFloat):
5937 (getFloatDefinitions):
5939 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5941 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5942 floatlist_, with accessor floats().
5944 * FloatList.h: remove global FloatList
5946 2002-08-26 André Pönitz <poenitz@gmx.net>
5948 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5952 * BufferView_pimpl.C:
5953 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5955 2002-08-25 John Levon <levon@movementarian.org>
5957 * LyXAction.C: fix margin note description
5959 2002-08-24 John Levon <levon@movementarian.org>
5963 * bufferview_funcs.C:
5965 * undo_funcs.C: cleanups
5967 * lyxfunc.C: disable CUT/COPY when no selection
5969 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5971 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5972 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5974 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5975 Add backward compatibility to "mono", "gray" and "no".
5977 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5979 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5980 (and file_format >= 200).
5982 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5984 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5986 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5988 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5990 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5992 * BufferView_pimpl.C:
5999 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6000 inset and code to make it work with the paragraph code. The inset
6001 can be anywhere in the paragraph, but will only do the expected
6002 thing in LaTeX if the layout file contains the parameter line
6004 (or more generally, a nonzero value) for that layout.
6006 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * paragraph.h: remove the declaration of undefined counters class
6011 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6013 * text2.C (setCounter): fixed enumeration mis-count as reported by
6014 Dr. Richard Hawkins.
6016 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6018 * paragraph_funcs.h: remove some unneeded includes
6020 * text.C (backspace): pasteParagraph now in global scipe
6022 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6023 (pasteSelection): ditto
6025 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6026 * paragraph_funcs.C (pasteParagraph): ... here
6028 2002-08-20 André Pönitz <poenitz@gmx.net>
6030 * commandtags.h: new LFUNs for swapping/copying table row/colums
6033 * lyxfunc.C: support for new lfuns
6035 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * buffer.[Ch]: remove NO_COMPABILITY stuff
6040 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * boost.C (throw_exception): new file, with helper function for
6043 boost compiled without exceptions.
6048 * ParameterStruct.h:
6049 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6051 * bufferlist.C (emergencyWriteAll): use boost bind
6053 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6055 * text.C: include paragraph_funcs.h
6056 (breakParagraph): breakParagraph is now in global scope
6058 * paragraph_funcs.[Ch]: new files
6060 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6063 * buffer.C: include paragraph_funcs.h
6064 (insertStringAsLines): breakParagraph is now in global scope
6066 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6069 * CutAndPaste.C: include paragraph_funcs.h
6070 (cutSelection): breakParagraphConservative is now in global scope
6071 (pasteSelection): ditto
6073 * buffer.h: declare oprator== and operator!= for
6074 Buffer::inset_iterator
6076 * bufferlist.C (emergencyWrite): don't use fmt(...)
6078 * text3.C: add using std::endl
6080 * BufferView.C (moveCursorUpdate): remove default arg
6082 2002-08-20 André Pönitz <poenitz@gmx.net>
6084 * buffer.[Ch]: move inline functions to .C
6087 * BufferView_pimpl.C:
6089 * buffer.[Ch]: use improved inset_iterator
6092 * paragraph.[Ch]: write one paragraph at a time
6094 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6096 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6097 style if style is not specified.
6099 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6101 * text2.C (setCounter): when searching for right label for a
6102 caption, make sure to recurse to parent insets (so that a caption
6103 in a minipage in a figure float works) (bug #568)
6105 2002-08-20 André Pönitz <poenitz@gmx.net>
6107 * text3.C: new file for LyXText::dispatch() and helpers
6109 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6111 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6113 2002-08-19 André Pönitz <poenitz@gmx.net>
6116 * text.C: new LyXText::dispatch()
6118 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6120 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6122 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6124 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6127 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6129 * Makefile.am: use $(variables) instead of @substitutions@
6131 2002-08-15 André Pönitz <poenitz@gmx.net>
6134 * BufferView_pimpl.C: streamlining mathed <-> outer world
6138 * LyXAction.C: remove unused LFUN_MATH
6140 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6144 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * paragraph.C (Paragraph): reformat a bit
6147 (cutIntoMinibuffer): use builtin InsetList function instad of
6151 * buffer.C: include boost/bind.hpp, add using std::for_each
6152 (writeFileAscii): use ParagraphList iterators
6153 (validate): use for_each for validate traversal of paragraphs
6154 (getBibkeyList): use ParagraphList iterators
6155 (resizeInsets): use for_each to resizeInsetsLyXText for all
6157 (getParFromID): use ParagraphList iterators
6159 * BufferView2.C (lockInset): use paragraph list and iterators
6161 2002-08-14 John Levon <levon@movementarian.org>
6163 * lyxserver.C: remove spurious xforms include
6165 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6167 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6169 2002-08-13 André Pönitz <poenitz@gmx.net>
6172 * lyxfunc.C: further cleaning
6174 2002-08-13 André Pönitz <poenitz@gmx.net>
6176 * funcrequest.h: new constructor
6178 * funcrequest.C: move stuff here from .h
6181 * BufferView_pimpl.C:
6184 * lyxfunc.C: subsequent changes
6186 * lyxfunc.h: new view() member function
6188 * lyxfunc.C: subsequent changes
6190 2002-08-13 Angus Leeming <leeming@lyx.org>
6193 * BufferView_pimpl.C:
6201 changes due to the changed LyXView interface that now returns references
6202 to member variables not pointers.
6204 2002-08-13 Angus Leeming <leeming@lyx.org>
6206 * WordLangTuple (word, lang_code): return references to strings,
6211 * lyxtext.h: forward-declare WordLangTuple.
6216 * text.C: #include "WordLangTuple.h".
6219 * text.C: (selectNextWordToSpellcheck): constify return type.
6221 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6227 * paragraph_pimpl.h:
6230 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6232 Made updateCounter always count from start of buffer, and removed
6233 second argument (par).
6234 Reverted floats number display to '#'. Perhaps I'll try again when the
6235 code base is sanitized a bit.
6237 2002-08-12 Angus Leeming <leeming@lyx.org>
6239 * buffer.[Ch] (getLabelList): constify.
6241 2002-08-07 André Pönitz <poenitz@gmx.net>
6243 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6245 * funcrequest.h: extension to keep mouse (x,y) position
6247 2002-08-12 Juergen Vigna <jug@sad.it>
6249 * BufferView2.C (insertErrors): forbid undo when inserting error
6252 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6254 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6256 * ParagraphList.[Ch]: new files
6258 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6260 * BufferView2.C (lockInset): ParagraphList changes
6263 * bufferlist.C: ditto
6267 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6270 unused class variable counter_,
6272 * paragraph.[Ch] (getFirstCounter): delete unused function
6274 * counters.C: include LAssert.h
6275 (reset): add a new function with no arg, change other version to
6276 not have def. arg and to not allow empty arg.
6278 * text2.C (setCounter): remove empty arg from call to Counters::reset
6280 2002-08-11 John Levon <levon@movementarian.org>
6282 * Makefile.am: add WordLangTuple.h
6284 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6286 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6287 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6289 * insets/insettext.C: InsetList changes
6291 * graphics/GraphicsSupport.C (operator()): InsetList changes
6293 * toc.C (getTocList): InsetList changes
6295 * paragraph_pimpl.[Ch]: InsetList changes
6297 * paragraph.[Ch]: InsetList changes
6299 * buffer.C (inset_iterator): InsetList changes
6300 (setParagraph): ditto
6301 * buffer.h (inset_iterator): ditto
6302 * iterators.C (operator++): ditto
6303 * iterators.h: ditto
6305 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6307 * InsetList.[Ch]: new files, most InsetList handling moved out of
6310 * BufferView2.C (removeAutoInsets): InsetList changes
6312 (ChangeInsets): ditto
6314 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6316 * paragraph_pimpl.h (empty): new function
6318 * paragraph.[Ch] (empty): new function
6320 * other files: use the new Paragraph::empty function
6322 2002-08-09 John Levon <levon@movementarian.org>
6324 * lyxtext.h: remove unused refresh_height
6326 2002-08-09 John Levon <levon@movementarian.org>
6333 * paragraph.C: move sgml char escaping out of paragraph
6336 * paragraph.C: remove id setter
6340 * paragraph_pimpl.C: remove dead tex_code_break_column
6342 * bufferview_funcs.C: small cleanup
6344 * lyxfunc.C: remove dead proto
6346 * lyxtext.h: make some stuff private. Remove some dead stuff.
6348 * lyxgluelength.C: make as[LyX]String() readable
6350 2002-08-08 John Levon <levon@movementarian.org>
6355 * ToolbarDefaults.C:
6358 * toc.C: lyxaction cleanup
6360 2002-08-08 John Levon <levon@movementarian.org>
6362 * BufferView2.C: small cleanup
6365 * lyxfind.C: move unnecessary header into the .C
6367 2002-08-08 John Levon <levon@movementarian.org>
6369 * funcrequest.h: just tedious nonsense
6372 * lyx_main.C: cleanups
6375 * vspace.C: remove dead header lyx_main.h
6377 2002-08-07 Angus Leeming <leeming@lyx.org>
6380 * paragraph_pimpl.h:
6381 Forward declare class Counters in paragraph.h by moving the ctrs member
6382 variable into Paragraph::Pimpl.
6383 (counters): new method, returning a reference to pimpl_->ctrs.
6385 * text2.C: ensuing changes.
6387 2002-08-07 John Levon <levon@movementarian.org>
6389 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6391 * BufferView_pimpl.C: announce X selection on double/triple
6394 * lyx_main.C: use correct bool in batch dispatch
6396 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6398 2002-08-07 André Pönitz <poenitz@gmx.net>
6400 * funcrequest.h: new class to wrap a kb_action and its argument
6403 * BufferView_pimpl[Ch]:
6407 * lyxrc.C: subsequent changes
6410 2002-08-07 John Levon <levon@movementarian.org>
6412 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6413 document options change.
6415 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6420 * makefile.am: move counters functionality over from
6421 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6423 2002-08-06 John Levon <levon@movementarian.org>
6425 * WordLangTuple.h: new file for word + language code tuple
6436 * BufferView2.C: use WordLangTuple
6439 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6441 2002-08-06 John Levon <levon@movementarian.org>
6443 * lyx_main.C: fix cmdline batch handling
6445 2002-08-06 André Pönitz <poenitz@gmx.net>
6447 * lyxrc.C: set default for show_banner to true
6449 2002-08-06 John Levon <levon@movementarian.org>
6451 * pspell.C: fix a crash, and allow new aspell to work
6453 2002-08-06 John Levon <levon@movementarian.org>
6456 * kbmap.C: small cleanup
6459 * vspace.C: add const
6461 2002-08-05 John Levon <levon@movementarian.org>
6463 * LyXAction.C: back to tabular-insert
6465 2002-08-04 John Levon <levon@movementarian.org>
6468 * BufferView.C: cosmetic change
6470 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6480 * BufferView2.C: purge all "Lyx" not "LyX" strings
6483 * lyxcursor.C: attempt to add some documentation
6488 * ToolbarDefaults.C:
6489 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6490 merge with LFUN_TABULAR_INSERT
6497 * pspell.C: split up i/pspell implementations into separate
6498 files, many cleanups
6500 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6502 * text2.C: some cleanup
6504 * lyxfunc.C: don't check for isp_command == "none" any more, it
6505 didn't make any sense
6507 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6512 * makefile.am: move counters functionality over
6513 from text2.C/paragraph.[Ch] to counters.[Ch], and
6515 2002-08-02 John Levon <levon@movementarian.org>
6517 * buffer.C: s/lyxconvert/lyx2lyx/
6519 2002-08-02 Angus Leeming <leeming@lyx.org>
6521 * lyxlex.C: revert John's change as it breaks reading of the user
6524 2002-08-02 Angus Leeming <leeming@lyx.org>
6526 * importer.C (Import):
6527 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6528 changes due to LyXView::view() now returning a boost::shared_ptr.
6530 2002-08-02 John Levon <levon@movementarian.org>
6532 * lyxlex.C: small cleanup
6534 2002-08-02 John Levon <levon@movementarian.org>
6536 * text2.C (status): small cleanup, no logic change
6538 2002-08-01 John Levon <levon@movementarian.org>
6541 * buffer.C (writeFile): don't output alerts, caller
6545 * lyx_cb.C: from above
6547 * lyxfunc.C: allow to open non-existent files
6549 2002-07-31 John Levon <levon@movementarian.org>
6551 * lyxserver.C: don't let incidental errors get
6554 2002-07-30 John Levon <levon@movementarian.org>
6556 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6558 2002-07-30 John Levon <levon@movementarian.org>
6561 * lyxserver.C: remove I/O callback too
6563 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6565 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6568 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * many files: strip,frontStrip -> trim,ltrim,rtrim
6572 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6574 * PrinterParams.h: remove extern containsOnly, and include
6575 support/lstrings.h instead.
6577 * LaTeX.C (scanAuxFile): modify because of strip changes
6579 * buffer.C (makeLaTeXFile): ditto
6580 * bufferparams.C (writeFile): ditt
6581 * lyxfont.C (stateText): ditto
6582 * lyxserver.C (read_ready): ditto
6583 * vc-backend.C (scanMaster): ditto
6585 * BufferView_pimpl.h: ws changes
6587 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6589 2002-07-26 André Pönitz <poenitz@gmx.net>
6591 * kb_sequence.C: remove unnedred usings
6593 2002-07-26 Juergen Vigna <jug@sad.it>
6595 * lyxfind.C (LyXReplace): we have to check better if the returned
6596 text is not of theLockingInset()->getLockingInset().
6598 2002-07-25 Juergen Vigna <jug@sad.it>
6600 * lyxfind.C (LyXReplace): don't replace if we don't get the
6603 * undo_funcs.C (createUndo): remove debugging code.
6605 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6607 * buffer.C (parseSingleLyXformat2Token): Use default placement
6608 when reading old floats.
6610 * FloatList.C (FloatList): Change the default placement of figure
6611 and tables to "tbp".
6613 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6615 * MenuBackend.C: using std::max
6617 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6619 * MenuBackend.C (expandToc):
6620 (expandToc2): code moved from xforms menu frontend. It is now
6621 generic and TOCs are transparent to menu frontends.
6623 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6625 * toc.C (getTocList): protect against buf=0
6627 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6628 Menu as first parameter. Now, this calls itself recursively to
6629 expand a whole tree (this will be useful for TOC handling)
6630 (expandFloatInsert): remove 'wide' version of floats
6632 * MenuBackend.h (submenuname): returns the name of the submenu.
6633 (submenu): returns the submenu itself, provided it has been
6634 created by MenuBackend::expand
6636 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6638 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6639 insets which have noFontChange == true. (bug #172)
6641 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6643 * BufferView_pimpl.C: add connection objects and use them...
6646 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6648 * MenuBackend.C (expandLastfiles):
6651 (expandFloatListInsert):
6652 (expandFloatInsert):
6653 (expand): split expand in parts
6655 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6657 * lyx_gui.C: use lyx_gui::exit()
6659 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6661 * LyXAction.C: show the failing pseudo action
6663 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6665 * buffer.C (readFile): Run the lyxconvert script in order to read
6668 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6672 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6674 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6678 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6680 2002-07-22 Herbert Voss <voss@lyx.org>
6683 * lyxlength.[Ch]: add support for the vertical lengths
6685 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6687 * toc.[Ch]: std:: fixes
6689 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6691 * lyxrc.C: do not include lyx_main.h
6693 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6699 * BufferView2.C: include "lyxlex.h"
6702 * bufferparams.h: do not #include "lyxlex.h"
6704 * lyxtextclasslist.C (Add): remove method
6705 (classlist): renamed to classlist_
6707 * paragraph_pimpl.C:
6711 * bufferview_funcs.C:
6716 * toc.C (getTocList): use BufferParams::getLyXTextClass
6718 * toc.C (getTocList): use InsetFloat::addToToc
6720 * toc.[Ch]: new files, containing helper functions to handle table
6723 * lyxfunc.C (dispatch): no need to remove spaces around command
6725 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6726 first command of the sequence; it is not very clever, but I do not
6727 have a better idea, actually
6729 * LyXAction.C (LookupFunc): make sure to remove space at the
6730 beginning and end of the command
6732 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6734 * MenuBackend.C (getMenubar): new method: return the menubar of
6736 (read): treat differently reading of menu and menubar (in
6737 particular, the menubar has no name now)
6738 (Menu::menubar): remove
6740 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6743 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6745 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6746 a bibitem inset in a RTL paragraph.
6748 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6750 * paragraph_pimpl.C: constify
6752 * BufferView_pimpl.C:
6754 * lyxfunc.C: fix dispatch in a nicer way
6756 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6758 * lyxfunc.C (dispatch):
6759 * BufferView_pimpl.C:
6760 * BufferView_pimpl.h:
6762 * BufferView.h: rename Dispatch() to dispatch()
6764 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6766 * lyxlayout.C (Read): honor DependsOn tag
6768 * lyxlayout.[Ch] (depends_on): new method
6770 * version.C.in: update lyx_docversion
6772 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6774 * paragraph.C (validate): remove from here...
6775 * paragraph_pimpl.C (validate): ... and move here
6776 (isTextAt): make it const
6778 * buffer.C (getLists): ws cleanup
6780 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6782 * language.C (read): Use iso8859-1 encoding in latex_lang
6783 (this prevents LyX from crashing when using iso10646-1 encoding).
6785 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6787 * text2.C (toggleInset): if cursor is inside an inset, close the
6788 inset and leave cursor _after_ it
6790 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6792 * lyxfunc.C: move minibuffer completion handling out of here
6794 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6796 * BufferView_pimpl.C:
6797 * LaTeX.C: fix dispatch calls
6799 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6801 * text.C (drawChars): Fix Arabic text rendering.
6803 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6807 * lyxfunc.C: remove message-push/pop
6811 * lyxfunc.C: rationalise some code by removing verboseDispatch
6812 in favour of a bool argument to dispatch()
6814 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6816 * lyx_main.C (init): make sure to read symlinks as absolute paths
6818 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6821 * lyxfunc.C: no need for commandshortcut to be a member
6823 2002-07-15 André Pönitz <poenitz@gmx.net>
6825 * converter.C: add support for $$s (scripts from lib/scripts dir)
6826 * lyx_main.C: white space
6828 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6832 * lyxrc.C: remove second exit confirmation
6834 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6839 * BufferView_pimpl.h:
6840 * BufferView_pimpl.C:
6841 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6843 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6845 * MenuBackend.C (expand): add numeric shortcuts to document menu
6847 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6849 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6851 * lyxfont.C (setLyXFamily):
6858 * buffer.C (asciiParagraph): use ascii_lowercase
6860 2002-07-15 Mike Fabian <mfabian@suse.de>
6862 * lyxlex_pimpl.C (search_kw):
6863 * lyxlex.C (getLongString):
6864 * converter.h (operator<):
6865 * converter.C (operator<):
6866 * buffer.C (parseSingleLyXformat2Token):
6868 * ToolbarDefaults.C (read):
6869 * MenuBackend.C (checkShortcuts):
6871 * LColor.C (getFromGUIName):
6872 (getFromLyXName): use the compare_ascii_no_case instead of
6873 compare_no_case, because in turkish, 'i' is not the lowercase
6874 version of 'I', and thus turkish locale breaks parsing of tags.
6876 2002-07-16 Angus Leeming <leeming@lyx.org>
6878 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6879 now takes a Buffer const & argument.
6881 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6883 * BufferView.C (resize): check there's a buffer to resize
6885 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6887 * lyxfunc.C: remove dead code
6890 * lyxserver.C: use lyx_guii::set_read_callback
6892 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6894 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6895 an inset in a RTL paragraph.
6897 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6899 * lyxfunc.C: repaint after a font size update
6901 2002-07-15 André Pönitz <poenitz@gmx.net>
6903 * lyxlength.C: inBP should be able to return negative values
6905 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6907 * lyxfunc.C: use lyx_gui::update_fonts()
6909 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6911 * lyxfunc.C: use lyx_gui::update_color()
6913 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6919 * lyxrc.C: remove file->new asks for name option, and let
6920 buffer-new take an argument
6922 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6924 * BufferView_pimpl.C: remove unneeded extra repaint()
6926 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6928 * LyXAction.C: allow command-sequence with NoBuffer
6930 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6932 2002-07-10 Angus Leeming <leeming@lyx.org>
6934 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6936 2002-07-09 Angus Leeming <leeming@lyx.org>
6938 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6940 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6942 * lengthcommon.h: whitespace
6944 * lyxfunc.C: update scrollbar after goto paragraph
6946 * lyxtext.h: factor out page break drawing, and fix it so
6947 page break/added space paints as selected nicely
6949 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6951 * BufferView_pimpl.C: add FIXMEs, clean up a little
6953 2002-07-09 André Pönitz <poenitz@gmx.net>
6955 * lyxfont.[Ch]: support for wasy symbols
6957 2002-07-08 André Pönitz <poenitz@gmx.net>
6959 * BufferView_pimpl.C: apply John's patch for #93.
6961 2002-07-05 Angus Leeming <leeming@lyx.org>
6963 * BufferView_pimpl.C (buffer): generate previews if desired.
6965 * LColor.h: add "preview" to the color enum.
6967 * LColor.C (LColor): add a corresponding entry to the items array.
6969 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6972 2002-07-05 Angus Leeming <leeming@lyx.org>
6974 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6975 The body of the code is now in the method that is passed an ostream &
6976 rather than a file name.
6977 Pass an additional only_preamble parameter, useful for the forthcoming
6980 2002-07-03 André Pönitz <poenitz@gmx.net>
6982 * lyxfunc.C: simplify getStatus() a bit for math stuff
6984 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6986 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6988 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6990 * text.C (changeRegionCase): do not change case of all the
6991 document when region ends at paragraph end (bug #461)
6993 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6995 * paragraph.C (startTeXParParams):
6996 (endTeXParParams): add \protect when necessary
6998 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7000 * BufferView_pimpl.C (workAreaExpose): remove warning
7002 2002-06-27 Angus Leeming <leeming@lyx.org>
7004 * Makefile.am: add lyxlayout_ptr_fwd.h.
7006 2002-06-26 André Pönitz <poenitz@gmx.net>
7008 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7010 2002-06-25 Angus Leeming <leeming@lyx.org>
7012 * lyxfunc.C (dispatch): Comment out the call to
7013 grfx::GCache::changeDisplay. The method no longer exists now that the
7014 pixmap generation part of the graphics loader has been moved into
7017 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7019 * text2.C: layout as layout
7021 * text.C: layout as layout
7023 * tabular.C (OldFormatRead): layout as layout
7025 * paragraph_pimpl.C (TeXDeeper): layout as layout
7026 (realizeFont): layout as layout
7028 * paragraph.C (writeFile): layout as layout
7029 (validate): layout as layout
7030 (getFont): layout as layout
7031 (getLabelFont): layout as layout
7032 (getLayoutFont): layout as layout
7033 (breakParagraph): layout as layout
7034 (stripLeadingSpaces): layout as layout
7035 (getEndLabel): layout as layout
7036 (getMaxDepthAfter): layout as layout
7037 (applyLayout): layout as layout
7038 (TeXOnePar): layout as layout
7039 (simpleTeXOnePar): layout as layout
7040 (TeXEnvironment): layout as layout
7041 (layout): layout as layout
7042 (layout): layout as layout
7044 * lyxtextclass.C (compare_name): new functor to work with
7045 shared_ptr, layout as layout
7046 (Read): layout as layout
7047 (hasLayout): layout as layout
7048 (operator): layout as layout
7049 (delete_layout): layout as layout
7050 (defaultLayout): layout as layout
7052 * lyxlayout_ptr_fwd.h: new file
7054 * lyxlayout.C (Read): layout as layout
7056 * lyx_cb.C (MenuInsertLabel): layout as layout
7058 * bufferlist.C (newFile): layout as layout
7060 * buffer.C (readLyXformat2): layout as layout
7061 (parseSingleLyXformat2Token): layout as layout
7062 (insertStringAsLines): layout as layout
7063 (asciiParagraph): layout as layout
7064 (latexParagraphs): layout as layout
7065 (makeLinuxDocFile): layout as layout
7066 (simpleLinuxDocOnePar): layout as layout
7067 (makeDocBookFile): layout as layout
7068 (simpleDocBookOnePar): layout as layout
7069 (getLists): layout as layout
7071 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7073 * CutAndPaste.C (cutSelection): layout as layout
7074 (pasteSelection): layout as layout
7075 (SwitchLayoutsBetweenClasses): layout as layout
7077 * BufferView_pimpl.C (Dispatch): layout as layout
7078 (smartQuote): layout as layout
7080 * BufferView2.C (unlockInset): layout as layout
7082 2002-06-24 André Pönitz <poenitz@gmx.net>
7084 * lyxfunc.C: fix #487
7086 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7090 * lyxfunc.C: remove display_shortcuts, show_banner
7092 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7094 * Buffer_pimpl.C: oops, update on resize
7096 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7103 * BufferView.C: use repaint()
7105 * BufferView_pimpl.h:
7106 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7107 as it's a clearer description. Remove superfluous
7110 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7112 * text.C: fix bug 488. Not ideal, but getting
7113 getWord() to work properly for the insets that
7114 matter is more difficult ...
7116 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7118 * BufferView_pimpl.C:
7121 * lyxfunc.C: remove the six million index lyxfuncs to just
7122 one, and DTRT (bug 458)
7124 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7128 * BufferView_pimpl.h:
7129 * BufferView_pimpl.C: clean up resize() stuff,
7130 and unnecessary updateScreen()s
7132 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7136 * BufferView_pimpl.h:
7137 * BufferView_pimpl.C:
7140 * minibuffer.C: remove focus management of workarea,
7141 not needed. Use screen's greyOut()
7143 2002-06-17 Herbert Voss <voss@lyx.org>
7145 * converter.C: (convert) do not post a message, when converting
7146 fails, let the calling function decide what to do in this case
7148 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7150 * lyxfunc.C: tidy up a little
7152 2002-06-16 <alstrup@diku.dk>
7154 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7155 Got rid of FORMS_H_LOCATION include. Now we are
7158 2002-06-15 LyX Development team <lyx@rilke>
7160 * buffer.[Ch] (sgmlOpenTag):
7161 (sgmlCloseTag): Added support for avoiding pernicious mixed
7162 content. Return number of lines written.
7165 (makeDocBookFile): Fixed calls to sgml*Tag.
7166 Simple white space clean.
7168 (simpleDocBookOnePar): Simple white space clean.
7170 * tabular.[Ch] (docBook): Renamed to docbook and got another
7171 argument to related with the pernicious mixed content.
7173 (docbookRow): Fixed calls for docbook inset method.
7175 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7177 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7178 so it's X11 independent.
7182 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7184 2002-06-15 Lyx Development team <lyx@electronia>
7186 * intl.h: Renamed getTrans to getTransManager.
7188 2002-06-14 Angus Leeming <leeming@lyx.org>
7190 * Makefile.am: nuke forgotten stl_string_fwd.h.
7192 2002-06-12 Angus Leeming <leeming@lyx.org>
7194 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7196 2002-06-13 Angus Leeming <leeming@lyx.org>
7199 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7201 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7203 * kbmap.C (getiso): add support for cyrillic and greek
7205 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7209 * BufferView_pimpl.h:
7210 * BufferView_pimpl.C: move bogus scrolling logic
7213 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7216 * BufferView_pimpl.C: view->resize() change
7218 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7220 * BufferView_pimpl.C: topCursorVisible
7223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7227 * lyx_gui.C: move to frontends/
7231 * lyx_main.C: changes from above
7233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7240 * lyx_main.C: minor tidy
7242 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7244 * BufferView_pimpl.h:
7245 * BufferView_pimpl.C:
7247 * BufferView.C: make painter() const,
7250 * BufferView2.C: use screen() accessor
7253 * lyx_main.C: some minor cleanup
7255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7257 * BufferView_pimpl.h:
7258 * BufferView_pimpl.C: remove enter/leaveView,
7261 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7266 * BufferView_pimpl.h:
7267 * BufferView_pimpl.C: only construct screen once,
7270 * lyxrc.C: remove pointless comment
7272 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7275 * BufferView.C: remove active() and belowMouse()
7277 * BufferView_pimpl.h:
7278 * BufferView_pimpl.C: use workarea() not workarea_,
7279 and make it use a scoped_ptr instead
7281 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7283 * lyx_gui.C: add debug message on BadWindow
7285 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7287 * sp_spell.C: fdopen is not part of the C++ standard.
7289 * paragraph.C (InsetIterator): use >= instead of ==
7291 2002-06-07 Angus Leeming <leeming@lyx.org>
7293 Fixes needed to compile with Compaq cxx 6.5.
7294 * BufferView_pimpl.C:
7301 * lyxtextclasslist.C:
7306 all c-library variables have been moved into namespace std. Wrap
7307 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7312 Add a using std::abs declaration.
7314 * kbmap.h (modifier_pair):
7315 * paragraph.h (InsetTable, InsetList):
7316 * lyxfont.h (FontBits):
7317 type definition made public.
7319 * bufferlist.C (emergencyWriteAll): the compiler complains that
7320 there is more than one possible lyx::class_fun template to choose from.
7321 I re-named the void specialisation as lyx::void_class_fun.
7323 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7325 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7326 the compiler is is unable to find tostr in write_attribute.
7328 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * buffer.C (sgmlError): hide #warning
7332 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7334 * xtl/*: get rid of xtl, which is not in use anyway
7336 * LyXAction.C (init):
7337 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7338 were unimplemented xtl experimentation
7340 2002-06-04 André Pönitz <poenitz@gmx.net>
7342 * lyxfunc.C: disable array operation on simple formulae
7344 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7346 * converter.C: constify a bit
7348 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7350 * lyx_gui.C: check xforms version correctly
7352 2002-04-30 Herbert Voss <voss@lyx.org>
7354 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7357 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7359 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7360 attempt to register it with a VCS)
7362 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7364 * lyx_main.C (init): honor variables LYX_DIR_13x and
7367 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7371 * lyx_main.C: fix a crash on bad command line,
7372 and give a useful exit status on error
7374 * lyxfunc.C (doImport): allow -i lyx to work
7376 2002-03-30 André Pönitz <poenitz@gmx.net>
7378 * lyxfunc.C: mathed font changes
7380 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7395 * trans_mgr.h: srcdocs, and some minor cleanups
7397 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7400 call getFont all the time)
7402 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * switch from SigC signals to boost::signals
7406 2002-05-29 André Pönitz <poenitz@gmx.net>
7408 * paragraph_pimpl.C (getChar): don't call size() too often...
7410 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7412 * paragraph_pimpl.C (insertChar): do not try to update tables when
7413 appending (pos == size())
7415 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7416 in order to reduce drastically the number of comparisons needed to
7417 parse a large document
7419 2002-05-29 André Pönitz <poenitz@gmx.net>
7425 * textclasslist.[Ch]:
7426 * sp_ispell.h: whitespace change
7428 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7430 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7431 lyxaction directly now.
7433 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7437 * lyxvc.C: remove unused headers
7439 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7446 * undo_funcs.C: some cleanups. Use shared_ptr
7447 and a template for the undo stacks.
7449 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7451 * BufferView_pimpl.h:
7452 * BufferView_pimpl.C:
7459 * text2.C: use key_state/mouse_state
7461 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7463 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7466 * chset.C: change include order
7467 (loadFile): use boost regex and get rid of LRegex and LSubstring
7469 * Makefile.am (BOOST_LIBS): new variable
7472 * LaTeX.C: change include order.
7473 (scanAuxFile): use boost regex and get rid of LRegex and
7477 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7482 * FontInfo.C: moved to frontends/xforms/
7485 * FontLoader.C: moved into frontends for GUIIzation
7490 * lyxfunc.C: changes from above
7492 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7494 * LColor.C: remove spurious X include
7496 * BufferView_pimpl.C:
7501 * text2.C: move font metrics to frontends/
7503 2002-05-24 Juergen Vigna <jug@sad.it>
7505 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7506 setting the undo_cursor.
7508 * ParagraphParameters.h: include local includes first.
7510 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7512 * BufferView_pimpl.C:
7513 * BufferView_pimpl.h:
7517 * screen.C: move WorkArea into frontends/
7523 * BufferView2.C: move LyXScreen into frontends/
7527 * lyx_gui.C: move lyxlookup into frontends/xforms/
7529 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7532 * BufferView_pimpl.C:
7542 * bufferview_funcs.C:
7555 * vc-backend.C: move LyX/XFormsView into frontends/
7557 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7569 * text2.C: move Painter to frontends/
7571 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7573 * buffer.C: comment out some some code that depend upon lyx_format
7576 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7577 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7579 * buffer.h (NO_COMPABILITY): turn off compability
7581 * ColorHandler.C: include scoped_array.hpp
7583 * font.C: Use more specific smart_ptr header.
7586 * ShareContainer.h: ditto
7590 * BufferView_pimpl.h: ditto
7591 * ColorHandler.h: ditto
7593 * kbmap.C (defkey): change call to shared_ptr::reset
7595 2002-05-21 Juergen Vigna <jug@sad.it>
7597 * buffer.C (insertErtContents): fix to insert ert asis if it is
7598 non empty. Skip it completely if it contains only whitespaces.
7600 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7602 * BufferView_pimpl.C:
7603 * BufferView2.C: clear selection on paste (bug 393)
7605 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7607 * DepTable.C: include ctime
7609 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7611 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7613 2002-05-14 Juergen Vigna <jug@sad.it>
7615 * text.C (breakParagraph): fixed function to honor the keepempty
7616 layout in the right maner and also to permit the right breaking
7617 algorithm on empty or non empyt keepempty paragraphs.
7619 * paragraph.C (breakParagraph): we have to check also if the par
7620 is really empty (!size()) for isempty otherwise we do the wrong
7623 2002-05-10 Juergen Vigna <jug@sad.it>
7625 * buffer.[Ch] : The following are only changes to the ert
7626 compatibility read reading old LaTeX layout and font stuff and
7627 convert it to ERTInsets.
7629 * buffer.h: added isErtInset().
7631 * buffer.C (struct ErtComp): add a fromlayout bool to check
7632 if we're inside a LaTeX layout.
7633 (isErtInset): new helper function.
7634 (insertErtContents): look for other ert insets before this one
7635 and insert the contents there, so that we don't have subsequent
7636 ERT insets with nothing between them. This way we create only one
7637 inset with multiple paragraphs. Also check if we don't insert only
7638 spaces ' ' as they are ignored anyway afterwards in the .tex file
7639 so if we have only spaces we will ignore this latex part in the
7641 (parseSingleLyXformat2Token \\layout): better compatibility when
7642 reading layout-latex stuff.
7643 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7645 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7646 stuff after reading the inset only get the information back from
7649 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7651 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7653 * LaTeXFeatures.C (getBabelOptions): New method.
7655 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7657 * BufferView_pimpl.C (Dispatch): work around missing argument for
7660 2002-05-08 Juergen Vigna <jug@sad.it>
7662 * text.C (leftMargin): handle paragraph leftindent.
7664 * paragraph.C (writeFile): write the new \\leftindent tag.
7665 (validate): handle leftindent code.
7666 (TeXEnvironment): handle paragraphleftindent code again.
7668 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7670 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7671 for paragrap_extra indent code and new token \\leftindent.
7672 (latexParagraphs): handle the leftindent as environment.
7674 * ParameterStruct.h: added leftindent support.
7676 * ParagraphParameters.C (leftIndent): added support functions for
7677 the paragraph left indent.
7679 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7682 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7684 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7687 * text.C (computeBidiTables): No bidi in insetERT.
7689 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7692 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * version.C.in: pre 5
7696 2002-05-02 José Matos <jamatos@fep.up.pt>
7697 * buffer.C (makeDocBookFile): white space changes, add newline to
7699 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7701 * tabular.C (docBook): fix typo.
7703 2002-05-03 Juergen Vigna <jug@sad.it>
7705 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7706 change in LyXText as we can not be sure it was not freed.
7707 (drawOneRow): remove unused code.
7709 * text.C (drawInset): redo the calculation of the need_break_row as
7710 it could have a row which was already freed.
7711 (draw): look at the return value of drawInset and return false if
7712 it also returned false.
7713 (paintRowText): look at the return value of draw and return false if
7714 it also returned false.
7716 * lyxtext.h: added bool return type to drawInset() and draw() so that
7717 if we have a change in the row so that the rowbreak has to be redone
7718 we abort drawing as it will be called again.
7720 2002-05-02 Juergen Vigna <jug@sad.it>
7722 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7723 a change in the maintext also if we're inside an inset.
7724 (Dispatch): set the cursor again after a break line and after the
7725 screen has been updated as it could be we're in a different row.
7727 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7728 to set the cursor behind the pargraph with > size().
7729 (setCursor): check also for the same paragraph when checking where
7730 to put the cursor if we have a NFR inset.
7732 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7733 parts of layout read further up as it still was in the wrong
7736 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * screen.C (drawFromTo): change sine fullRebreak always return
7741 * buffer.C (parseSingleLyXformat2Token): reindent some
7743 * BufferView_pimpl.C (update): change since fullRebreak always
7745 (Dispatch): git rid of the last hardcoded "Standard"s.
7747 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7749 * text2.[Ch] (fullRebreak): make it return void now that we always
7752 2002-04-30 Juergen Vigna <jug@sad.it>
7754 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7755 ert compatibility check for "latex" layout.
7757 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7759 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7760 minipages: use col% instead of p%, and also use the current font.
7761 (makeLaTeXFile): Fix use babel condition.
7762 (parseSingleLyXformat2Token): Correct font when reading old floats.
7764 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7766 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7767 inserting list of floats.
7769 2002-04-25 Herbert Voss <voss@lyx.org>
7771 * MenuBackend.C (expand): don't add the graphics extensions to the
7774 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7776 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7777 non-existing layout, do not complain if it was the default layout
7778 of the original class (bug #342)
7780 2002-04-24 Juergen Vigna <jug@sad.it>
7782 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7783 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7785 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7787 * buffer.C (getBibkeyList): If using \bibliography, return the
7788 option field with the reference itself. Enables us to provide natbib
7789 support when using \bibliography.
7791 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7793 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7795 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7796 natbib is provided by the LaTeX class.
7798 2002-04-23 Juergen Vigna <jug@sad.it>
7800 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7803 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7805 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7807 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7809 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7810 ensuremath around textordmasculine, textordfeminine and
7813 2002-04-19 Juergen Vigna <jug@sad.it>
7815 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7816 reinitializing the buffer otherwise row-dimensions may be wrong.
7817 (update): reset also the selection cursors if they do exits otherwise
7818 their x/y positions may be wrong.
7820 * text2.C (cursorDown): don't enter the inset if we came from a row
7821 above and are one row over the inset.
7823 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7824 really leaving an inset.
7826 2002-04-18 Juergen Vigna <jug@sad.it>
7828 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7829 of the selected paragraph does not have the selected layout also if
7832 * text2.C (setLayout): fixed bug which did not change last selected
7835 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7836 changed the read and substituted \\end_float with \\end_inset!
7838 * BufferView_pimpl.C (cursorPrevious):
7839 (cursorNext): fixed to make it work with rows heigher than the work
7840 area without moving the cursor only the draw of the row.
7841 (workAreaMotionNotify): fix jumping over high rows.
7843 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7845 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7848 2002-04-16 Juergen Vigna <jug@sad.it>
7850 * text2.C (setCursor): set also the irow().
7851 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7853 (cursorDown): support for locking an inset if the x_fix value goes
7854 inside it. That way I can transverse insets too with cursor up/down.
7856 * lyxrow.h: added irow helper function same as other (i) functions.
7858 * BufferView_pimpl.C (cursorPrevious):
7859 (cursorNext): fixed for insets!
7861 2002-04-15 Juergen Vigna <jug@sad.it>
7863 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7864 position otherwise it is wrong in some cases.
7866 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7867 inside the inset before the call.
7869 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7871 * buffer.[Ch] (getBibkeyList): make it const.
7873 2002-04-12 Juergen Vigna <jug@sad.it>
7875 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7877 * text2.C (getCursorX): new helper function
7878 (setCursor): compute also ix_
7879 (setCursorFromCoordinates): set also ix.
7881 * lyxcursor.h: added ix_ and helper functions.
7883 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7885 * buffer.C (insertStringAsLines): dont break paragraph if the this
7886 paragraph is inside an inset which does not permit it!
7888 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7889 also with no chars on this paragraph.
7890 (paintRowText): only paint stuff if it's inside the workarea!
7892 * paragraph.C (breakParagraph): honor keepempty flag and break the
7893 paragraph always below not above.
7895 * BufferView2.C (unlockInset): update the paragraph layout on inset
7896 unlock as we changed paragraph in such a case.
7898 * lyxfind.C (LyXFind): clear the former selection if not found!
7900 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7901 again called in insertChar().
7903 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7904 an inset which uses the whole row!
7905 (rightMargin): ditto.
7906 (insertChar): force a rebreak if we inserted an inset!
7908 2002-03-28 Herbert Voss <voss@lyx.org>
7910 * lyxlength.[Ch]: add inBP() to get the right PS-point
7911 units (BigPoint). With inPixels we have rounding errors
7913 2002-04-11 Juergen Vigna <jug@sad.it>
7915 * text2.C (setCursorFromCoordinates): set iy to the right value.
7916 (setCursor): add check if row->previous exists!
7918 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7919 an old float_type as this was the case in the old code!
7921 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7923 * BufferView2.C (showLockedInsetCursor): use iy
7924 (fitLockedInsetCursor): ditto
7926 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7927 locked insets as there we have the right value now.
7929 * lyxcursor.C: added iy_ variable and iy functions to set to the
7930 baseline of cursor-y of the locked inset.
7932 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7933 (setCursor): fixed for insets which need a full row.
7935 * text.C (rowLastPrintable): don't ignore the last space when before
7936 an inset which needs a full row.
7937 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7938 as last character of a row when before a inset which needs a full row.
7940 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7942 * version.C.in: update date
7944 * text2.C (fullRebreak): try to always return true and see what
7947 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7949 * MenuBackend.C (expand): use Floating::listName
7951 * FloatList.C (FloatList): add listName argument to the built-in
7954 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7955 text associated with the float.
7957 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7959 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7961 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7963 * ShareContainer.h: add a couple of missing typenames.
7965 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7967 * lyxrc.C (getDescription): use _() correctly rather than N_().
7969 2002-03-28 Herbert Voss <voss@lyx.org>
7971 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7972 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7974 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7976 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7977 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7979 2002-03-29 Juergen Vigna <jug@sad.it>
7981 * lyxfunc.C (dispatch): add a missing fitCursor call.
7983 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7984 it was scrolled by a cursor move, so return the bool status.
7986 * BufferView.C (fitCursor): return the bool flag also to the outside
7987 world as this is needed.
7989 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7991 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7992 call the edit() as it is not needed (and wrong) IMO.
7993 (workAreaButtonPress): set the screen_first variable before evt.
7994 unlock the inset as this may change screen_first and then we have
7995 a wrong y position for the click!
7997 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7999 * MenuBackend.C (expand): another translation that I missed
8001 2002-03-28 Juergen Vigna <jug@sad.it>
8003 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8005 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8007 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8009 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8011 * MenuBackend.C (expand): fix export/view/update when there is no
8014 2002-03-27 Herbert Voss <voss@lyx.org>
8016 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8019 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8021 * bufferview_funcs.C (currentState): only show paragraph number
8022 for is DEVEL_VERSION is set.
8024 * lyxfunc.C (dispatch): put warning in INFO channel
8026 * MenuBackend.C (expand): translate the name of floats
8028 * FloatList.C (FloatList): mark the float names for translation
8030 * converter.C (convert): use LibScriptSearch
8032 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8034 * MenuBackend.C (defaults): fix default menu (we might as well get
8037 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8039 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8042 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8044 * lyxvc.C: reorder includes.
8046 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8048 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8051 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8053 * CutAndPaste.C: change layouts earlier on paste
8054 to avoid crashing when calling getFont()
8056 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8058 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8061 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8063 * WorkArea.C: remove 'Pending' debug message.
8065 * most files: ws cleanup
8067 * buffer.[Ch]: ws changes
8069 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8071 2002-03-21 Juergen Vigna <jug@sad.it>
8073 * tabular.C (SetMultiColumn): collapse also the contents of the
8074 cells and set the last border right. Added a Buffer const * param.
8076 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8078 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8081 2002-03-19 Juergen Vigna <jug@sad.it>
8083 * text2.C (clearSelection): reset also xsel_cache.
8085 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8086 where it needs to be called (John tells us to do so too :)
8087 (selectionLost): reset sel_cache.
8089 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8091 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8093 * text2.C (setCursorIntern): put debuging code in INSETS channel
8095 2002-03-19 André Pönitz <poenitz@gmx.net>
8097 * lyxfunc.C: tiny whitespace change
8099 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8101 * ToolbarDefaults.C (init):
8102 * LyXAction.C (init):
8104 * BufferView_pimpl.C (Dispatch):
8105 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8107 2002-03-19 Allan Rae <rae@lyx.org>
8109 * exporter.C (Export): removeAutoInsets before doing anything else.
8110 While I've just introduced a dependency on BufferView this really is
8111 the best place to clean the buffer otherwise you need to cleanup in
8112 a dozen places before calling export or cleanup in a dozen functions
8115 * converter.C (runLaTeX):
8116 (scanLog): Better handling of removeAutoInsets and screen updates.
8118 * lyxfunc.C (dispatch): small whitespace changes
8120 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8122 * WorkArea.C (C_WorkAreaEvent): return a value.
8123 (event_cb): return 1 if we handled the event, 0 otherwise.
8125 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8127 2002-03-18 Juergen Vigna <jug@sad.it>
8129 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8130 (GetAdditionalWidth): ditto.
8134 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8135 inset if we're there actually (probably not used right now but this
8136 is the direction to go for unifying code).
8137 (paste): disable code to clear the selection.
8139 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8140 inside an InsetText and move the check further up as it is in the
8143 * text2.C (pasteSelection): set a selection over the pasted text.
8145 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8147 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8148 and libgraphics to build on Cygwin.
8150 2002-03-15 Juergen Vigna <jug@sad.it>
8152 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8153 inserting an Inset into the paragraph. I know this is not the best
8154 fix but we already use current_view in CutAndPaste so we will remove
8155 all of it's using at the same time.
8157 * buffer.C (sgmlError): deactivated function till it is rewritten in
8158 the right mode, now it can create problems.
8160 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8161 before accessing it.
8163 2002-03-14 Juergen Vigna <jug@sad.it>
8165 * undo_funcs.C (textHandleUndo): do the right thing when updating
8166 the inset after the undo/redo.
8168 * text2.C (setCursor): just some testcode for #44 not ready yet.
8170 * undo_funcs.C (textHandleUndo): set the next() and previous()
8171 pointers of the paragraph to 0 before deleting otherwise we have
8172 problems with the Paragraph::[destructor].
8174 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8175 on a paragraph insertion.
8177 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8179 * buffer.C (asciiParagraph): use += operator for char append to
8182 * paragraph.C (getFontSettings): compare >= not just >
8183 (highestFontInRange): ditto
8186 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8188 * paragraph.C: change several algorithm to be more appripriate for
8189 the problem domain. This is lookip in FontList and in the InsetList.
8191 2002-03-13 André Pönitz <poenitz@gmx.net>
8194 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8196 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8201 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8203 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8205 * Painter.C (display): anon helper function, adjust code for this
8207 (pixmap): remove function.
8209 * Painter.h: remove private display variable.
8211 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8213 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8215 * WorkArea.[Ch]: remove figinset_canvas cruft.
8217 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8219 * lyxtextclass.C (operator): add one item cache optimization.
8221 * bufferlist.h: doxy changes
8223 * bufferlist.C: ws changes
8225 * DepTable.[Ch] (ext_exist): place const in the right spot.
8227 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8229 (workAreaExpose): call resizeInsets when the with BufferView changes.
8230 (Dispatch): adjust for protectedBlank removal
8231 (specialChar): call updateInset if the insert went ok.
8233 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8234 specialChar instead.
8236 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8238 * BufferView.h: doxy change
8240 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8242 * lyxtextclass.C (operator[]): remove non-const version
8243 (defaultLayout): remove non-const version
8245 2002-03-12 Juergen Vigna <jug@sad.it>
8247 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8248 did resize the LyXText too.
8250 * buffer.C (readLyXformat2): set layout information on newly allocated
8253 * tabular.C (OldFormatRead): set layout information on the paragraph.
8255 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8257 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8259 2002-03-11 Juergen Vigna <jug@sad.it>
8261 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8263 (resizeCurrentBuffer): force also the insets to resize themselfes.
8264 (moveCursorUpdate): fixed up for InsetText.
8266 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8269 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8270 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8271 value of Dialogs::tooltipsEnabled().
8272 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8274 2002-03-08 Juergen Vigna <jug@sad.it>
8276 * BufferView_pimpl.C (updateInset): update inset inside inset also
8277 if it isn't inside theLockingInset().
8279 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8281 * buffer.C (asciiParagraph): redo some of the word and line length
8283 (getLists): look for Caption instead of caption.
8285 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8287 * buffer.C (Buffer): initialize niceFile to true
8290 (makeDocBookFile): make sure niceFile is true on exit
8292 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8296 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8298 * LyXSendto.C: remove.
8299 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8300 * lyx_gui.C: remove now-redundant comment.
8301 * ColorHandler.h: remove forward declaration of class WorkArea.
8302 * lyxfunc.C: remove #include "WorkArea.h".
8304 2002-03-07 Juergen Vigna <jug@sad.it>
8306 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8307 got moved away with the DEPM and also set the inset_owner always
8308 right which before could have been omitted.
8310 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8312 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8313 wanted layout is not found.
8315 2002-03-07 Juergen Vigna <jug@sad.it>
8317 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8319 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8321 * paragraph.C (breakParagraph): use default layout not layout of
8323 (Paragraph): clear ParagraphParameters.
8325 2002-03-06 Juergen Vigna <jug@sad.it>
8327 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8328 otherwise it would not be a valid lenght. Fixed a special case in
8329 the minipage compatibility read where we end the document with a
8332 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8333 was set as it could be 0 for InsetTexts first entry.
8335 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8337 * paragraph.C (writeFile): if layout is empty write out
8338 defaultLayoutName().
8340 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8341 file without named layout we set layout to defaultLayoutName().
8343 2002-03-06 Juergen Vigna <jug@sad.it>
8345 * CutAndPaste.C (copySelection): set layout for new paragraph.
8347 * text.C (prepareToPrint): leave ERT inset left aligned
8348 (leftMargin): don't indent paragraphs inside ERT insets
8350 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8352 * paragraph.C (breakParagraph): dont call clear do the work manually
8354 * paragraph.[Ch] (clear): remove function
8356 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * paragraph.C (Paragraph): dont call clear, the work has already
8361 * lyxtextclass.C (operator): assert if n is empty
8363 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8364 work manually instead.
8366 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8368 * BufferView_pimpl.C: protect selectionLost against text == 0
8370 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8372 * text.C (breakParagraph): fix a setting layout to '0' problem.
8374 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8376 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8377 final location of file, for the included files, and graphics.
8379 2002-03-05 Juergen Vigna <jug@sad.it>
8381 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8383 2002-03-04 Juergen Vigna <jug@sad.it>
8385 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8387 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8388 last column of multicolumn cells.
8389 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8391 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8393 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8394 file if it doesn't go to a temporary file.
8396 * buffer.C (sgmlOpenTag):
8397 (sgmlCloseTag): remove extra newline insertion.
8399 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8401 * text.C (getRowNearY): comment out debug msg
8403 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8405 * text2.C: first -> first_y
8407 * text.C (getRowNearY): add some attemts at a possible
8408 optimization, not working.
8410 * tabular.[Ch]: add BufferParams to several function so that newly
8411 created paragraph can be initialized to he default layotu for the
8414 * tabular-old.C (ReadOld): add buf->params to call of Init
8416 * screen.C: rename text->first to text->first_y
8418 * paragraph.C (breakParagraph): always set layout in the broken
8421 * lyxtextclass.C (Read): remove lowercase
8424 (delete_layout): ditto
8426 * lyxtext.h: rename first -> first_y
8428 * lyxlayout.C (Read): remove lowercase
8431 (obsoleted_by): ditto
8433 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8435 * buffer.C (insertErtContents): add params are to InsetERT
8436 (parseSingleLyXformat2Token): add code to check if a paragraphs
8437 layout really exist.
8438 (parseSingleLyXformat2Token): add params to several inset
8440 (asciiParagraph): remove lowercase, do the layout comparisons with
8443 * BufferView_pimpl.C (cursorNext): first -> first_y
8444 (resizeCurrentBuffer): first -> first_y
8445 (updateScrollbar): first -> first_y
8446 (scrollCB): first -> first_y
8447 (workAreaMotionNotify): first -> first_y
8448 (workAreaButtonPress): first -> first_y
8449 (checkInsetHit): first -> first_y
8450 (cursorPrevious): first -> first_y
8451 (cursorNext): first -> first_y
8452 (Dispatch): add buffer_->params to severl inset contructors
8454 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8456 * lyxlayout.C (Read): remove some debug info that I forgot.
8458 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8459 clean up the code slightly.
8460 (makeLinuxDocFile): ditto
8461 (makeDocBookFile): ditto
8463 * text2.C: layout as string
8465 * text.C: layout as string
8467 * paragraph_pimpl.C: layout as string
8469 * paragraph.[Ch]: layout as string
8471 * lyxtextclasslist.[Ch]: layout as string
8473 * lyxtextclass.[Ch]: layout as string
8475 * lyxtext.h: layout as string
8477 * lyxlayout.[Ch]: layout as string
8479 * lyx_cb.C: layout as string
8481 * bufferview_funcs.C: layout as string
8483 * bufferparams.C: layout as string
8485 * buffer.C: layout as string
8487 * LyXView.[Ch]: layout as string
8489 * LaTeXFeatures.[Ch]: layout as string
8491 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8493 * BufferView_pimpl.C: change current_layout to string, remove
8498 (workAreaButtonRelease): layout as string
8500 * BufferView2.C (unlockInset): adjust
8502 * vspace.C (asLatexCommand): use an explict temp variable.
8504 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8506 * Makefile.am: use FRONTEND_*
8508 2002-03-01 Juergen Vigna <jug@sad.it>
8510 * tabular.C (SetWidthOfMulticolCell): changed to something better
8511 I hope but still work in progress.
8512 (recalculateMulticolumnsOfColumn): renamed function from
8513 recalculateMulticolCells as it is more appropriate now.
8514 (SetWidthOfCell): calculate multicols better.
8516 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8518 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8520 * lyxfunc.C (processKeySym): print sequence also if it is
8521 `deleted' (complete)
8523 * kbsequence.C (print): print sequence even if it is deleted
8524 (complete would be a better word, actually).
8526 * lyxfunc.C (dispatch): print complete options after a prefix key
8528 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8530 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8532 * text2.C (setCharFont): eliminate setCharFont code duplication.
8534 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8536 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8537 LFUN_TABULAR_FEATURE (bug #177)
8539 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8541 * Makefile.am: remove figure.h
8543 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8545 * Bufferview_pimpl.C:
8557 * text2.C: remove #include "lyx_gui_misc.h".
8559 * LaTeX.C: added #include <cstdio>
8561 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8563 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8564 that the paragraph following this one can have.
8566 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8568 * vspace.C (asLatexCommand): fix bogus gcc warning
8570 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8572 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8574 * text2.C (setLayout): get rid of redundant code
8576 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8578 * text2.C (incDepth): make sure depth cannot be increased beyond
8581 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8583 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8584 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8586 * PainterBase.h (image):
8587 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8590 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8594 * BufferView_pimpl.C:
8595 * BufferView_pimpl.h:
8615 * sp_spell.C: remove fig inset, and the crap house of
8616 cards that follows it
8618 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8624 * nt_defines.h: move .h into support/
8626 * vms_defines.h: remove
8628 * WorkArea.C: add space in debug output
8632 * buffer.C: add WITH_WARNINGS
8636 * bufferlist.C: s/retrive/retrieve/, add docs
8647 * lyxgui.C: add ID to X error handler
8649 * lyxtestclass.c: fix typo
8651 2002-02-26 Juergen Vigna <jug@sad.it>
8653 * tabular_funcs.C (write_attribute): changed so that some default
8654 attributes are not written at all.
8655 (getTokenValue): set default values before trying to read the
8656 value so we have the return value always set as default if we don't
8657 find the token we search for.
8659 * tabular.C (Write): write bools as bools not as strings!
8661 2002-02-22 Juergen Vigna <jug@sad.it>
8663 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8664 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8666 * text.C (leftMargin): don't add an indent for paragraphs inside
8667 tabular cells (fix #208).
8669 2002-02-21 José Matos <jamatos@fep.up.pt>
8671 * tabular.C (docBook): fixed support for long tables.
8673 2002-02-20 Juergen Vigna <jug@sad.it>
8675 * text2.C (getFont): get the drawing font of the Inset if this
8676 paragraph is inside an inset (only important for InsetERT for now).
8678 * buffer.C (insertErtContents): use new lanugage params in ERT
8681 * CutAndPaste.C: commenting out seemingly uneeded code.
8683 2002-02-19 Allan Rae <rae@lyx.org>
8685 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8686 Iterators might be simple to use but they also get invalidated.
8687 (removeAutoInsets): renamed saved cursor tracking variables and added
8688 some comments to clarify what everything does.
8690 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8697 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8698 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8701 * vc-backend.h: remove #include "support/syscall.h"
8705 * converter.C: rearrange #includes in Lars' approved fashion.
8707 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8708 forward declare class Timeout in the header file.
8710 * XFormsView.C: changes due to the above.
8712 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8715 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8716 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8718 2002-02-18 José Matos <jamatos@fep.up.pt>
8720 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8723 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8725 * a lot of small ws changes
8726 * add a lot of using std::XXX
8727 * use std construcs some places where approp.
8728 * use some exisint stuff from lyxfunctional where approp.
8729 * Make file changes to use partial linking (lets test this now...)
8731 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8735 remove #include "support/syscontr.h" as it's redundant. Always has been.
8743 change Systemcalls::System to Systemcalls::Wait and
8744 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8745 No change of functionality, just reflects the stripped down Systemcalls
8748 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8750 * debug.[Ch]: add a GRAPHICS type to the enum.
8752 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8754 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8756 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8759 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8761 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8762 match the changes below.
8764 * text2.C (toggleInset): if there is not editable inset at cursor
8765 position, try to see if cursor is _inside_ a collapsable inset
8768 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8771 document menu has a nice checkbox
8773 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8775 * lyxlength.C (asLatexString): change PW to output as percent of
8778 * lengthcommon.C: change '%' to 't%'
8780 * lyxfunc.C (dispatch): a few comments from Martin
8782 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8786 * BufferView_pimpl.h:
8787 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8790 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8792 * vspace.C (inPixels): fix compiler warning
8794 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8796 * lyxfunc.C (getStatus): fix status message for disabled commands.
8798 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8800 * BufferView_pimpl.C: fix crash on close buffer
8801 during selection (#227)
8803 2002-01-27 Herbert Voss <voss@lyx.org>
8805 * buffer.C: link old Figure to new graphic inset
8807 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8809 * FontLoader.C (getFontinfo): Change the latex font names in order
8810 to match the names of type1inst.
8812 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8816 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8819 (remove_files_with_extension): ditto
8820 (remove_file): ditto
8823 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8824 document is smaller than the work area height. Do not initialize
8825 static variables to 0.
8827 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8831 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8832 LFUN_LAYOUT_PARAGRAPHS.
8834 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8835 tabular. It is possible to provide a possible cell, which will
8836 typically be the actcell from the corresponding insettabular
8838 * lyxfunc.C (getStatus): small cleanup; disable
8839 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8842 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8846 * paragraph.C (startTeXParParams):
8847 (endTeXParParams): new methods. The LaTeX code to
8848 start/end paragraph formatting
8849 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8850 empty (fixes bug #200)
8852 * vspace.C (inPixels): adapt to the change below
8853 (inPixels): [later] more cleanups (remove unused variables)
8855 * lyxlength.C (inPixels): change to use a width and a height as
8858 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8860 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8861 Replaced with \paperwidth
8863 * DepTable.C (insert): add std:: qualifier
8865 2002-01-18 Allan Rae <rae@lyx.org>
8867 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8870 * text.C (drawInset): Turned out I didn't know enough about how
8871 rebreaking worked. This fixes most of the redraw problems. I see
8872 an occasional cursor trail when a line is broken now and the cursor
8873 placement can seem out by a few pixels also after a rebreak.
8875 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8877 * buffer.C (parseSingleLyXformat2Token): update because minipage
8878 width is now a LyXLength
8880 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8882 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8885 2002-01-17 Juergen Vigna <jug@sad.it>
8887 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8889 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8890 is set correctly and the inset is updated correctly.
8892 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8895 the beginning of the loop.
8897 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8899 * lyxrc.C: improve help for use_scalable_fonts
8901 2002-01-17 Allan Rae <rae@lyx.org>
8903 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8905 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8907 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8908 make sure to set their inset_owner to the right value (bug #171)
8910 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8913 * DepTable.C: Implement mtime checking to reduce time spent doing
8916 2002-01-16 Juergen Vigna <jug@sad.it>
8918 * tabular.C (GetAdditionalHeight): one of error fixed.
8920 * lyxrc.C (output): small fix in writing use_pspell.
8922 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8924 * sp_base.h: #include LString.h
8926 2002-01-16 Allan Rae <rae@lyx.org>
8928 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8929 Can someone check this please?
8931 * text.C (drawInset): It was possible that p.row would be removed by
8932 breakAgainOneRow upsetting a few other settings. There may be another
8933 small tweak possible by setting need_break_row = 0 when p.row has been
8934 removed but I don't know enough about the logic here.
8936 2002-01-15 Allan Rae <rae@lyx.org>
8938 * text.C (insertChar): removed conditional truism.
8940 * BufferView2.C (removeAutoInsets): More tweaks.
8941 cur_par_prev could be a stray pointer. Check for trailing empty line
8942 in case last line was cur_par and only had an error inset on it.
8944 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8946 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8949 * vc-backend.C (most methods):
8950 * exporter.C (Export):
8951 * converter.C (convert):
8953 * LyXSendto.C (SendtoApplyCB):
8954 * lyxfunc.C (dispatch):
8958 * lyx_cb.C (AutoSave):
8960 * BufferView_pimpl.C (MenuInsertLyXFile):
8961 * buffer.C (runChktex): use Buffer::filePath().
8963 * buffer.h: rename filename to filename_; rename filepath to
8964 filepath_ and make it private
8965 (filePath): new method
8967 * buffer.C (writeFile): use fileName()
8970 * lyx_main.C (init): fix starting of LyX when the binary is a
8971 link from so,ewhere else.
8973 * minibuffer.C: include <cctype> for isprint
8975 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8977 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8978 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8979 name clash with InsetCollapsable's width function.
8981 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8983 * lastfiles.C: include <iterator>
8985 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8987 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8990 * buffer.C (makeLaTeXFile): ditto.
8991 Also make loop operation more transparent.
8993 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8995 * ToolbarDefaults.C: remove trailing comma closing namespace.
8997 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8999 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9002 * trans.C (Load): comment out unused variable, allowed.
9004 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9006 * minibuffer.[Ch] (append_char): new method to recieve input from the
9007 drop-down completion browser. If a key was pressed, then recieve this
9008 char and append it to the existing string.
9009 (peek_event): modify the positioning data passed to the completion
9010 browser so that it can be placed above the minibuffer rather than below.
9011 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9013 * LyXAction.C (init): alloe error-next for readonly documents.
9015 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9018 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9020 * bufferlist.C (readFile): create the buffer _after_ checking that
9023 * lyxfunc.C (verboseDispatch): fix handling of arguments
9025 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9027 * lyxrc.C: use string::erase() instead of initializing to "".
9030 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9032 * BufferView_pimpl.h:
9033 * BufferView_pimpl.C:
9036 * text2.C: tell X when we have made a selection for copying
9038 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9040 * BufferView_pimpl.C (MenuInsertLyXFile):
9041 * lyxfunc.C (menuNew):
9043 (doImport): add shortcuts to directory buttons
9045 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9048 * lyxfunc.C (setStatusMessage):
9049 (getStatusMessage): new methods
9050 (getStatus):use setStatusMessage instead of setErrorMessage
9051 (dispatch): when function is disabled, set error message here
9052 [instead of in getStatus previously]
9054 * BufferView_pimpl.C (workAreaButtonRelease): update
9055 toolbar/menubar here too.
9057 2002-01-13 Allan Rae <rae@lyx.org>
9059 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9060 Now seems indestructible. Remaining task is to audit all other
9061 code affected by deleteEmptyParagraphMechanism. One small quirk
9062 left is that an empty document with an error in the preamble can
9063 be made to report an error but no error box appears. I don't know
9065 (removeAutoInsets): Improved comments.
9067 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9070 * Thesaurus.C: update for Aiksaurus 0.14
9072 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9074 * text2.C (firstParagraph): removed member function, all uses
9075 replaces with ownerParagraph
9076 (redoParagraphs): here
9078 (toggleAppendix): here
9079 * BufferView2.C (insertErrors): here
9080 (setCursorFromRow): here
9082 2002-01-13 Allan Rae <rae@lyx.org>
9084 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9085 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9086 There is still a way to segfault this although you may have to do this
9087 multiple times: Have an InsetERT with an unknown command in it.
9088 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9089 <down-arrow>, <Enter> again, View->DVI, BANG!
9091 * text2.C (setCursor):
9092 (deleteEmptyParagraphMechanism):
9093 * lyxtext.h (setCursor):
9094 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9095 Making use of the return value may help fix other bugs.
9097 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9099 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9101 * LyXView.C (updateMenubar): call MenuBar::update here
9102 (updateToolbar): but not here
9103 (showState): do not update toolbar/menubar
9105 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9106 should need to care about that.
9108 * lyxfunc.C (verboseDispatch): simplify a bit
9109 (getStatus): have a version which takes a pseudoaction, and
9110 another which requires a (kb_action,string).
9112 * LyXAction.C (retrieveActionArg): make it work also when action
9113 is not a pseudo-action.
9114 (getActionName): simplify a bit
9117 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9119 * lyxfunc.C (verboseDispatch): new families of methods with
9120 several ways to specify a command and a bool to indicate whether
9121 the command name and shortcut should be displayed in minibuffer
9122 (eventually, we could extend that to a finer bitmask like
9123 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9124 (dispatch): the pristine dispatch command which just, well,
9125 dispatchs! Note it still sets its result to minibuffer; I'm not
9128 * lyxfunc.h: remove setHintMessage
9130 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9132 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9134 * BufferView_pimpl.C (specialChar): delete new inset if we have
9135 not been able to insert it.
9137 * kbmap.C: revert to using int instead of kb_action, since all we
9138 are dealing with is pseudo-actions.
9140 * LyXAction.C (searchActionArg): change to return int instead of
9141 kb_action, since the result is a pseudoaction.
9143 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9145 * buffer.C (insertErtContents): Fix (partially) the font bug.
9147 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9149 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9150 as the other one is broken on my machine!
9152 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9155 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9157 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9159 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9160 reflect their actual use. Provide compatibility code for older lyxrc
9163 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9165 change names of popup font variables in line with the changes to lyxrc.C
9167 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9169 * buffer.C (asciiParagraph): avoid outputing a word twice after
9172 * lyxrc.C (getDescription): document that document_path and
9173 template_path can be empty.
9175 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9177 * LaTeXFeatures.C (getMacros):
9178 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9180 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9182 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9184 (getPackages): rename feature "floats" to "float". Use an array to
9185 iterate over 'simple' features (i.e. just a \usepackage). Add
9186 handling of "amsmath" (renamed from "amsstyle").
9188 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9190 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9193 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9195 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9196 FuncStaus::FuncStatus & FuncStaus::some_method().
9198 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9200 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9201 of the func_satus stuff. Edited and massaged in various ways by
9204 * lyxfunc.C (getStatus): use FuncStatus
9206 2002-01-08 Juergen Vigna <jug@sad.it>
9208 * text.C (nextBreakPoint): use function Inset::isChar().
9210 * paragraph.C (TeXOnePar): use function
9211 Inset::forceDefaultParagraphs.
9213 * buffer.C (latexParagraphs): use function
9214 Inset::forceDefaultParagraphs.
9216 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9218 * lyx_gui.C (init): set the style of the menu popups to
9219 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9221 2002-01-07 Juergen Vigna <jug@sad.it>
9223 * text.C (setHeightOfRow): small fix
9224 (prepareToPrint): don't look at alignment if we don't have the place
9227 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9229 * box.C: New file. Move the Box methods and functions out of box.h,
9230 following Lars' suggestion.
9232 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9234 * box.h: #include "support/LOstream.h", needed for inlined function.
9237 * lyxtextclasslist.C: added some using std declarations.
9239 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9241 * box.h: make signed dimensions to allow insets wider than
9242 the screen (bug #162)
9244 * BufferView_pimpl.C: add some insetHit debug
9246 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9248 * vc-backend.C: add FIXME
9250 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9252 * lyxfunc.C (getStatus): enable code for showing math font status
9255 2002-01-07 Juergen Vigna <jug@sad.it>
9257 * text.C (nextBreakPoint): removed debug output not needed anymore.
9259 2002-01-06 Juergen Vigna <jug@sad.it>
9261 * text.C (nextBreakPoint): fixed up this function we had this bug
9262 since ever but now hopefully we break row better.
9263 (insertChar): we have to check if an inset is the next char as it
9264 could now happen that a large inset is causing a break.
9266 2002-01-05 Juergen Vigna <jug@sad.it>
9268 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9269 if it doesn't like to be drawed.
9271 2002-01-04 Juergen Vigna <jug@sad.it>
9273 * BufferView2.C (lockInset): forgot to set a cursor.
9275 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9277 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9282 * form_maths_panel.C:
9283 * form_maths_panel.h:
9284 * form_maths_panel.fd: implemented sub- and super- buttons in math
9287 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9288 (or ^ space) to be used as in TeX (req'd by André).
9290 * lyxfunc.C: Allow ^ and _ again to be used both as
9291 super/subscript (mathed) and as themselves (in text).
9293 2002-01-03 Allan Rae <rae@lyx.org>
9295 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9296 "LyX" or the filename of the current buffer if it has one. This is a
9297 modified form of John Levon's patch.
9299 * XFormsView.C (setWindowTitle): also set icon title.
9301 * LyXView.h (setWindowTitle): signature changed.
9302 * XFormsView.h (setWindowTitle): ditto.
9304 2002-01-02 Juergen Vigna <jug@sad.it>
9306 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9308 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9310 * screen.C (topCursorVisible): introduce a temp var for
9311 text->cursor.row(), handle the case where this row is null. (kindo
9314 * text2.C (setCursor): add a couple of asserts.
9316 * paragraph.h (inset_iterator): add -> operator
9318 * paragraph.[Ch] (autoDeleteInsets): remove member function
9320 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9321 cursor pos correctly and handle inset deletion by itself.
9322 (insertErrors): move iterator declaration out of for expression
9324 * lyxtextclass.C: add <algorithm>
9326 * Makefile.am: added the new files to sources, removed layout.C
9328 * layout.C: removed file
9330 * layout.h: remove LYX_DUMMY_LAYOUT
9332 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9336 * lyxtextclass.[Ch]:
9337 * lyxtextclasslist.[Ch]: new files
9339 * include order changes to a lot of files, also changes because of
9342 2001-12-27 Juergen Vigna <jug@sad.it>
9344 * buffer.C (asciiParagraph): more fixes.
9346 * tabular.C (ascii): make ascii export support export of only the
9347 data separated by a column-delimiter.
9348 (ascii): better support for ascii export.
9350 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9352 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * tabular_funcs.C: use a "using std::getline" instead of the
9355 previous fix from Angus (necessary for cxx + lyxstring)
9357 2001-12-24 Juergen Vigna <jug@sad.it>
9359 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9361 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9362 problems. First check a minipage also if we have some ert-contents
9363 (not only on par->size(), second set the right depth of the paragraph
9364 on the relink to the root-paragraph-list!
9366 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9367 which then did not anymore update the main paragraphs on undo/redo!
9369 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9371 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9372 code. Support all font-changing funcs (even those which are not in
9373 menu currently). Support for reporting font settings in
9374 mathed (disabled until Andre provides a function on mathed's side).
9376 * func_status.h (toggle): small helper function to set toggle
9379 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9381 * tabular_funcs.C: getline -> std::getline
9383 2001-12-21 Juergen Vigna <jug@sad.it>
9385 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9386 accessed and could be 0 (I couldn't generate this but it seems
9389 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9392 * tabular_funcs.h: here and include iosfwd
9394 2001-12-20 Juergen Vigna <jug@sad.it>
9396 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9397 inside inset but undo_par was.
9399 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9401 * Thesaurus.C: always include <config.h> in sources.
9405 * box.h: do not include <config.h> in header files
9407 * text.C (paintLastRow): remove unused variable
9409 * text.C (transformChar):
9411 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9414 * font.C (width): rewrite to use uppercase() instead of
9417 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9419 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9421 * lyxfind.C: clean up of find failure position change
9423 2001-12-20 Juergen Vigna <jug@sad.it>
9425 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9427 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9428 (TeXRow): added to LaTeX a single tabular row.
9429 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9430 (Latex): simplified and finally good LT-h/f support.
9431 (various_functions): just small adaptions for LT-h/f support.
9433 * tabular_funcs.[hC]: added and moved here all not classfunctions
9436 2001-12-19 Juergen Vigna <jug@sad.it>
9438 * tabular.[Ch]: better support for longtabular options (not finished
9441 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9443 * text.C (paintLastRow): use the label font instead of the font of
9444 the last character to compute the size of *_BOX. This makes more
9445 sense and avoids a crash with empty paragraphs.
9446 Use Painter::rectangle to draw EMPTY_BOX.
9448 2001-12-19 Juergen Vigna <jug@sad.it>
9450 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9451 the paragraphs if the replaced paragraph is not the first one!
9452 Tried to delete not used paragraphs but does not work yet so for
9453 now it's inside #ifdef's and by default off!
9455 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9457 * MenuBackend.C: include "lyx_main.h" instead of declaring
9458 lastfiles (actually was declared as LastFiles* instead of a
9461 2001-12-17 Juergen Vigna <jug@sad.it>
9463 * tabular.C (AppendColumn): applied John's fix
9465 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9469 * BufferView_pimpl.h:
9470 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9473 * box.h: new start of class for above
9475 * lyxfunc.C: ignore space-only minibuffer dispatches.
9476 Show the command name when it doesn't exist
9478 * minibuffer.C: don't add empty lines to the history
9480 * minibuffer.C: add a space on dropdown completion
9482 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9484 * text.C: fix line above/below drawing in insets
9486 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9488 * lyxlength.C (LyXLength): Initialize private variables.
9490 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9492 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9493 when inserting error insets.
9495 2001-12-13 Juergen Vigna <jug@sad.it>
9497 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9498 actually sometimes the before-paragraph.
9499 (setUndo): don't clear the redostack if we're not actually undoing!
9501 2001-12-06 Juergen Vigna <jug@sad.it>
9503 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9504 and fixed redoing of main paragraph, so we can use it now ;)
9506 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9508 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9510 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9513 2001-12-13 André Pönitz <poenitz@gmx.net>
9516 * undo_func.C: minor cleanup
9518 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9520 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9521 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9522 font in urw-fonts package which is marked as -urw-fontspecific and
9523 does not work (incidentally, changing the encoding in the
9524 fonts.dir of this package to -adobe-fontspecific fixes the
9527 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9528 is a crash when undoing first paragraph (Juergen, please take a
9529 look). THis does not mean the undo fix is wrong, just that it
9532 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9533 the (Paragraph*) version when needed instead of duplicating the
9536 * text.C (workWidth): use Inset::parOwner to find out where the
9537 inset has been inserted. This is a huge performance gain for large
9538 documents with lots of insets. If Inset::parOwner is not set, fall
9539 back on the brute force method
9541 * paragraph_pimpl.C (insertInset):
9542 * paragraph.C (Paragraph):
9543 (cutIntoMinibuffer): set parOwner of insets when
9544 inserting/removing them
9546 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9548 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9554 * mathed/formulabase.C:
9555 * mathed/math_cursor.[Ch]:
9556 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9559 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9561 * lyxlength.[Ch] (operator!=): new function
9563 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * text.C (workWidth): use Inset::parOwner to find out where the
9566 inset has been inserted. This is a huge performance gain for large
9567 documents with lots of insets. If Inset::parOwner is not set, fall
9568 back on the brute force method
9570 * paragraph_pimpl.C (insertInset):
9571 * paragraph.C (Paragraph):
9572 (cutIntoMinibuffer): set parOwner of insets when
9573 inserting/removing them
9575 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9577 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9579 * tabular-old.C (getTokenValue):
9580 * tabular.C (getTokenValue):
9581 (write_attribute): new versions for LyXLength
9582 (everywhere): adjust the use of widths
9584 * tabular.h: change the type of widths from string to LyXLength
9586 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9588 * paragraph.C: fixed missing line number count when exporting
9589 Environments to LaTeX file
9591 * buffer.C: added informational message for checking line numbers.
9593 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9595 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9596 paragraph, do the 'double space' part, but not the 'empty
9599 * text.C (workWidth): small optimization
9600 (getLengthMarkerHeight): use minimal size for negative lengths.
9602 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9604 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9606 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9608 2001-12-11 André Pönitz <poenitz@gmx.net>
9611 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9613 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9615 * text2.C: keep selection on a setFont()
9617 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9619 * lyx_cb.C: another bv->text misuse, from insert label
9621 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9624 * kbsequence.C: re-instate nmodifier mask
9626 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9628 * lyx_main.h: make lyxGUI private.
9630 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9632 * lyxfind.C: place the cursor correctly on failed search
9634 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * text.C (getLengthMarkerHeight): for small heights, the arrows
9637 are not always on top/bottom of the text
9638 (drawLengthMarker): smaller arrows; take the left margin in
9639 account; draw also vfills.
9641 (paintLastRow): remove special code for vfill and standard spaces,
9642 since everything is handled in drawLengthMarker now.
9644 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9646 * buffer.C (insertErtContents): try to handle font and language
9647 interaction a bit better.g
9649 * ColorHandler.C (updateColor): change the hash to cover the whole
9650 LColor enum, ws cleanup
9651 (getGCLinepars): ditto
9652 (getGCLinepars): only lookup in the linecache once.
9654 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9656 * iterators.C (operator++): Make the iterator more robust
9658 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9660 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9662 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9665 * text.C: better added space drawing
9667 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9670 * BufferView2.C: fix layout combo update on inset unlock
9672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9674 * Makefile.am: don't compile unused files
9676 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9680 * LyXAction.C: remove old LFUN_LAYOUTNO
9682 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9684 * paragraph_pimpl.h:
9685 * paragraph_pimpl.C: isTextAt() doesn't need font param
9687 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9690 * lyxlex.C: little cleanup
9692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9694 * BufferView_pimpl.C: fix insertAscii for insets
9696 2001-12-05 Juergen Vigna <jug@sad.it>
9698 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9699 set the right font on the "multi" paragraph paste!
9701 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * lyxlength.C: remove out-commented code.
9723 * vc-backend.C: change "while(" to "while ("
9725 * lyxlength.[Ch]: add zero function to check if length is zero or
9727 * lyxgluelength.C: use it
9729 2001-12-05 Allan Rae <rae@lyx.org>
9731 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9732 Works for 2.95.3, from what I understand of Garst's reports this should
9733 work for other g++ versions. We're screwed if the abs(int) definition
9734 changed between bugfix releases of gcc.
9736 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9738 * text.C: fix chapter label offset !
9740 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9743 * text.C: fix hfill at end of line, clean up
9745 2001-12-04 Juergen Vigna <jug@sad.it>
9747 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9748 that we force an update of the inset and it's owners if neccessary.
9750 2001-12-03 Juergen Vigna <jug@sad.it>
9752 * text.C (rowLast): simplified code
9754 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9756 * lyxfunc.C: fix show options on timeout
9758 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9760 * screen.C (topCursorVisible): scroll half a page when the cursor
9761 reached top of bottom of screen
9763 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9765 * minibuffer.C: deactivate on loss of focus
9767 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * vspace.[Ch] (operator!=): add operator.
9771 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9773 * BufferView_pimpl.C: refuse to open an inset when
9774 there's a selection.
9776 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9778 * BufferView_pimpl.C: allow to click on RHS of full row insets
9780 2001-11-30 Juergen Vigna <jug@sad.it>
9782 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9783 insets for undo reasons.
9785 2001-11-28 André Pönitz <poenitz@gmx.net>
9787 * vspace.[Ch]: cosmetical changes
9789 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9799 * kbsequence.C: part re-write of old kb code
9802 * WorkArea.C: remove Lgb_bug_find_hack
9804 2001-11-30 José Matos <jamatos@fep.up.pt>
9806 * buffer.C (makeDocBookFile): add a comment to point a hack.
9807 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9808 Fixed a double write of labels.
9810 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9813 * LaTeX.h Fixed bug in LaTeX class where it would not
9814 re-run latex if no depfiles were changed, but the .dvi was removed.
9816 2001-11-28 André Pönitz <poenitz@gmx.net>
9818 * all the files from the change on 2001/11/26:
9819 use lyx::layout_type instead of LyXTextClass::size_type
9820 use lyx::textclass_type instead of LyXTextClassList::size_type
9822 2001-11-29 Juergen Vigna <jug@sad.it>
9824 * text.C: added support for paragraph::isFreeSpacing()
9826 * buffer.C: same as above
9828 * paragraph.h: inserted isFreeSpacing() function to enable
9829 FreeSpacing inside InsetERT.
9831 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9832 of the paragraph's in the cut/copy buffer to 0!
9834 * text2.C (removeRow): remove the assert as it can!
9836 * lyxtext.h: added helper function firstRow returning firstrow and
9837 made firstrow private again.
9839 * BufferView2.C (lockInset): don't relock if we're already locked!
9841 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9843 (removeRow): added Assert::(firstrow)
9845 * debug.C: forgot to add INSETTEXT here.
9847 2001-11-28 Juergen Vigna <jug@sad.it>
9849 * sp_spell.C (initialize): changed error text to more general
9850 spellchecker command use (not only ispell!)
9852 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9854 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9856 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9858 * vspace.C: initialise lyxgluelength on failure
9860 2001-11-28 Allan Rae <rae@lyx.org>
9862 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9863 declaration & definition that looks like a function declaration.
9865 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9867 * BufferView2.C (copy):
9868 (copyEnvironment): do not clear the selection when doing a copy.
9870 * text.C (paintFirstRow): compilation fix
9872 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9874 * tabular.C (Latex): correct line count when writing latex.
9876 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9878 * paragraph_pimpl.h:
9879 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9882 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9886 * LColor.C: change vfillline->added_space
9888 * text.C: add markers and text for added space
9890 * vspace.C: fix comment
9892 2001-11-28 André Pönitz <poenitz@gmx.net>
9894 * paragraph.C: whitespace changes
9895 * all the other files from the change on 2001/11/26:
9896 change *::pos_type into lyx::pos_type
9898 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9900 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9901 language of the document when inserting error insets.
9903 2001-11-26 André Pönitz <poenitz@gmx.net>
9905 * BufferView_pimpl.[Ch]:
9913 * paragraph_pimpl.[Ch]:
9916 * text2.C: reduce header dependencies, introduce type for positions
9918 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9920 * <various>: change to use Alert.h
9922 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9924 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9925 when encountering an unknown token.
9926 (readLyXformat2): Show an error message if there were unknown tokens.
9928 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9931 * BufferView_pimpl.C:
9935 * text2.C: use par->isInset()
9937 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9939 * paragraph_pimpl.h:
9940 * paragraph_pimpl.C: cleanup
9942 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9944 * text2.C (removeRow):
9945 * text.C (setHeightOfRow): remove useless (and costly) call to
9948 2001-11-20 Allan Rae <rae@lyx.org>
9950 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9951 Now need Inset*::checkInsertChar() to return true for appropriate
9952 cases so that the characters in the minibuffer will actually be
9955 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9957 * text.C: change the order of the includes.
9958 (workWidth): initialize it at once.
9959 (workWidth): make maxw unsigned
9960 (setHeightOfRow): remove unused variable (inset)
9961 (selectSelectedWord): remove unused variable (inset)
9962 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9964 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9966 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9967 server is not running.
9969 (closeConnection): add debug info when server is disabled.
9971 * ColorHandler.C (getGCForeground): send debug message to GUI
9974 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9976 * kbmap.C (bind): modify because return conventions of
9977 kb_sequence::parse have changed.
9979 * kbsequence.C (parse): only ignore spaces and not any stupid
9980 control character. This avoids tests like s[i] <= ' ', which are
9981 guaranteed to fail with 8bit characters and signed chars.
9982 Change return code to string::npos when there have been no error
9983 (0 was a bad idea when error is at first character)
9985 2001-11-14 José Matos <jamatos@fep.up.pt>
9988 * buffer.C (simpleDocBookOnePar): removed unused argument.
9990 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9992 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9993 insets which are part of a word. Paragraph::isLetter takes care of
9994 that now. Use Paragraph::isInset to identify insets.
9995 (selectSelectedWord): do not test for hyphenation break.
9997 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9998 that protected spaces are considered as spaces.
10000 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10003 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10006 * lyxserver.C: fix it. and small cleanup.
10008 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10010 * BufferView_pimpl.C: use inline helpers
10013 * LaTeXFeatures.C: fix typos
10016 * Spacing.C: move spacing_string into class
10018 * ToolbarDefaults.C: move stuff into namespace anon
10020 * layout.h: update enum
10022 * lyxfunc.C: use better debug
10024 * minibuffer.h: fix typo
10028 * WorkArea.C: add and use Debug::WORKAREA
10032 * text2.C: code re-organisation, inline helpers
10034 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10036 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10037 std::vector.empty().
10039 2001-11-09 Allan Rae <rae@lyx.org>
10041 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10042 '\n's after tables. Tabular and ERT inset work now makes this no
10045 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10048 * minibuffer.C: fix crash, improve drop-down completion
10050 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10053 * lyxserver.C: invalidate fd's when doing endPipe()
10055 2001-11-08 José Matos <jamatos@fep.up.pt>
10057 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10058 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10061 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10063 2001-11-07 José Matos <jamatos@fep.up.pt>
10066 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10069 * buffer.C (sgmlOpenTag):
10070 * buffer.C (sgmlCloseTag): removed debug info.
10072 * buffer.h (sgmlOpenTag):
10073 * buffer.h (sgmlCloseTag): made public.
10075 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10077 * buffer.C (saveParamsAsDefaults):
10078 * lyx_cb.C (MenuLayoutSave): remove
10080 * LyXAction.C (init):
10082 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10084 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10086 * buffer.C (setPaperStuff): removed from here...
10088 * bufferparams.C (setPaperStuff): ... and moved there.
10090 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10094 * XFormsView.C: add support for drop-down completion
10096 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10098 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10101 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10106 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10108 * lyx_main.C: change ref to known bugs
10110 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10112 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10113 to work around older babel problems.
10115 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10117 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10119 2001-10-24 Juergen Vigna <jug@sad.it>
10121 * tabular-old.C (ReadOld): below variable changes reflected.
10123 * tabular.[Ch]: added ltType struct for longtable header/footer
10124 defines and changed all instances where they are used. Added
10125 future support for double top/bottom rows.
10127 2001-10-24 José Matos <jamatos@fep.up.pt>
10129 * buffer.h (docbookHandleCaption):
10130 * buffer.C (docbookHandleCaption): removed unused function.
10131 (makeDocBookFile): moved docbook supported version to v4.1.
10133 2001-10-24 José Matos <jamatos@fep.up.pt>
10136 * tabular.C (docbookRow): new function to export docbook code of a row.
10137 (DocBook): now honors the longtable flags.
10139 2001-10-23 José Matos <jamatos@fep.up.pt>
10142 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10143 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10145 * buffer.C (makeLinuxDocFile):
10146 (makeDocBookFile): reworked the preamble, more clean, and with
10147 support for lyx defined entities. Changed the document declaration
10148 to be more XML friendly.
10150 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10151 if we need to output XML that should be done with a filter.
10153 2001-10-22 Juergen Vigna <jug@sad.it>
10155 * sp_pspell.h (class PSpell): add alive function needed in the
10156 controller to see if the spellchecker could be started.
10158 2001-10-22 Juergen Vigna <jug@sad.it>
10160 * buffer.C (insertStringAsLines): modify the font for inserting
10161 chars in certain conditions by calling checkInsertChar(font).
10163 2001-10-19 Juergen Vigna <jug@sad.it>
10165 * text.C (workWidth): use getRow instead of wrong algorithm.
10166 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10168 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10173 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10175 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10177 * text.C (workWidth): do not search for the exact row when
10178 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10179 optimization for big documents.
10181 2001-10-18 Juergen Vigna <jug@sad.it>
10183 * text.C (workWidth): new function with added Inset * parameter.
10185 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10187 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10189 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10190 change return type of getColumnNearX.
10193 * text.C (changeRegionCase): use uppercase/lowercase instead of
10196 (rightMargin): simplify code by factoring out the uses of
10201 (appendParagraph): use Paragraph::size_type
10203 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * vspace.C (asLatexString): add a missing break
10207 2001-10-15 Herbert Voss <voss@perce.de>
10209 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10211 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10216 2001-10-10 André Pönitz <poenitz@gmx.net>
10218 * lyxfunc.C: removed greek_kb_flag.
10220 2001-10-10 Herbert Voss <voss@perce.de>
10222 * lyx_main.C: delete global string help_lyxdir.
10224 2001-10-09 Herbert Voss <voss@perce.de>
10226 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10228 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10230 * lyx_main.C: added global string help_lyxdir.
10232 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10234 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10236 * lyxrc.C (set_font_norm_type): support iso8859-4
10238 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10240 * LaTeX.C (deplog): add another regex for MikTeX
10242 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10244 * lyxrc.C (set_font_norm_type): support iso8859-3
10246 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10248 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10250 * LaTeXFeatures.C: remove special case of french and index
10252 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10253 before \begin{document}). This solves several incompatibilities.
10255 2001-10-03 Garst Reese <reese@isn.net>
10257 * lyx_cb.C: change CheckTex error msg.
10259 2001-10-03 José Matos <jamatos@fep.up.pt>
10261 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10263 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10265 * .cvsignore: update
10267 * lyx_main.C (commandLineVersionInfo): use new style version info.
10269 * buffer.C (writeFile):
10271 (makeLinuxDocFile):
10272 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10274 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10276 * version.h: update to use stuff in version.C
10278 * version.C.in: new file. Contains version information determined
10279 at compile time. This is a merging of version.h and
10282 2001-10-03 Juergen Vigna <jug@sad.it>
10284 * BufferView_pimpl.C (update): don't change "dirty" status in
10287 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10289 * WorkArea.C (c-tor): re-position version string slightly.
10291 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10293 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10294 revert to previous code.
10296 WorkArea.[Ch]: (show, destroySplash): methods removed.
10298 WorkArea.C: rework code so that it's an amalgam of the codes before and
10299 after the splash screen was moved to WorkArea.
10301 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10304 * vspace.C (inPixels):
10307 * buffer.C (insertStringAsLines):
10308 (asciiParagraph): fix types to be large enough
10310 * lyxlex_pimpl.h: change member status from short to int
10312 * layout.h: fix type of endlabeltype
10315 * kbsequence.C (parse): change return type to string::size_type
10317 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10320 * Bullet.C (bulletSize):
10321 (bulletEntry): do not use short ints as parameters
10323 * BufferView2.C (insertLyXFile): change a char to an int.
10325 * WorkArea.C (WorkArea): remove unneeded floats in computation
10327 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10329 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10331 * paragraph.C (asString): Do not ignore newline/hfill chars when
10332 copying to the clipboard.
10334 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10336 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10337 after a multi-line inset.
10339 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10341 * paragraph.C (validate): Set NeedLyXFootnoteCode
10343 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10345 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10346 and decrease-error to decrease.
10348 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10351 it more readable (should be equivalent)
10353 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10355 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10357 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10360 of a cursor (row, etc.) after a character has been deleted
10361 (deleteEmptyParagraphMechanism): call the method above on _all_
10362 cursors held by the LyXText when a double space has been
10365 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10367 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10369 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10371 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10372 background. Use greyOut() and the new show() methods to toggle between
10373 the foreground and background. Add code to remove the splash after
10374 its initial showing.
10376 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10377 (create_forms): no longer call Dialogs::showSplash.
10379 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10381 * .cvsignore: add version_info.h
10383 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * version_info.h.in: new file
10387 * Makefile.am: add version_info.h.in
10389 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10390 version_info.h instead of VERSION_INFO
10392 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10394 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10395 The ERT inset now returns string().
10397 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10399 * lyxtext.h, text.C (selectNextWord): renamed as
10400 selectNextWordToSpellcheck.
10402 * text.C (selectNextWordToSpellcheck): Modified to not select
10403 words inside an ERT inset.
10405 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * lyx_cb.C (MenuLayoutSave): change a bit the question
10409 * sp_base.h: include <sys/types.h>
10411 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10413 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10415 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10417 * several files: fix typos in user-visible strings
10419 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10421 * text2.C (pasteSelection): do not set the selection, since it
10422 will be cleared later. Actually, the intent was to fix the way the
10423 selection was set, but I figured rmoving the code was just as good.
10425 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10427 * FontLoader.C (available): Check if font is available without
10430 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10432 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10434 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10436 * lyxrc.[Ch]: added display_graphics variable and associated code.
10438 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10440 * bufferparams.C (hasClassDefaults): new method. Returns true if
10441 the buffer parameters correspond to known class defaults
10443 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10445 * XFormsView.C (show): set minimum size to the main window.
10447 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * text2.C (copySelection):
10451 * lyxfind.C (LyXReplace):
10452 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10453 LyXText::selectionAsString.
10455 * paragraph.C (asString): add "label" argument to the second form
10457 * text2.C (selectionAsString): add "label" argument and pass it to
10458 Paragraph::asString.
10460 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10462 * lyx_main.C (commandLineHelp): remove version information
10464 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10466 * lyx_main.C: add -version commandline option
10468 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * paragraph.h: make the optional constructor arg required instead.
10471 some modifications to other files because of this.
10473 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10475 * lyxserver.C (C_LyXComm_callback): make it static
10477 * lyx_main.C (error_handler): make it static
10479 * lyx_gui.C (LyX_XErrHandler): make it static
10481 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10483 * WorkArea.C: make the extern "C" methods static.
10485 * Makefile.am (lyx_LDADD): simplify
10487 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10489 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10490 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10492 * LyXAction.C (init):
10493 * lyxfunc.C (dispatch): associated code removal.
10495 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10497 * lyxfont.h (isSymbolFont): shut off warning
10499 * text.C (setHeightOfRow):
10500 (getVisibleRow): fix crash with empty paragraphs which have a
10503 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10505 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10508 2001-09-04 José Matos <jamatos@fep.up.pt>
10511 * tabular.C (docbook): rename docBook method to docbook.
10513 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10515 * Makefile.am: add dependencies to main.o.
10517 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10519 * FontLoader.C (available): Return false if !lyxrc.use_gui
10521 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10523 * FontInfo.C (query):
10524 * converter.C (view):
10525 * importer.C (Import):
10526 * exporter.C (Export): Can not -> cannot.
10528 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10530 * BufferView_pimpl.C: allow to create index inset even if
10533 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10535 * buffer.C (getLists): replace boost::tie code with an explicit pair
10536 as boost::tie can break some compilers.
10538 * iterators.h: Added a std:: declaration to the return type of
10541 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10543 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10546 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10548 * iterators.[Ch]: New files. Provide paragraph iterators.
10550 * buffer.C (changeLanguage): Use paragraph iterators.
10551 (isMultiLingual): ditto
10553 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10555 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10557 * FontLoader.C: Support for cmr font.
10559 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10561 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10562 (available): New method.
10564 * FontInfo.C (getFontname): Use scalable fonts even when
10565 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10568 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10570 * converter.C (Formats::view): reverted! Incorrect fix.
10572 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10574 * converter.C (Formats::view): only output the -paper option
10575 if the dvi viewer is xdvi, thereby fixing bug #233429.
10577 2001-08-23 Herbert Voss <voss@perce>
10579 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10581 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10583 * Spacing.h (Spacing): Set space to Default on in the default
10586 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * vc-backend.h (RCS::versionString): add RCS to version
10589 (CVS::versionString): add CVS to version
10591 * vc-backend.C (scanMaster): do not add CVS to version.
10592 (scanMaster): do not add RCS to version
10594 * lyxvc.C (versionString): new method
10596 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10598 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10600 * Spacing.C (set): initialize fval
10602 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10604 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10607 2001-08-16 Juergen Vigna <jug@sad.it>
10609 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10611 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10613 * BufferView_pimpl.C:
10616 * text2.C: setParagraph takes linespacing now
10618 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10620 * LyxAction.C: add internal LFUN_CITATION_INSERT
10622 * LyXView.C: actually apply fix
10624 * bufferlist.C: fix open non-existent file
10626 * lyxfind.C: fix indentation
10628 * lyxfunc.C: remove unneeded assert, fix typo
10630 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10632 * MenuBackend.C: use "Floatname List"
10634 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10636 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10637 when converting LaTeX layout to insetERT.
10638 Generate a non-collapsed float when reading old float
10640 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10642 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10645 2001-08-13 Juergen Vigna <jug@sad.it>
10647 * text.C (fill): return 0 instead of 20 as this seems to be the more
10650 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10652 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10655 2001-08-13 Juergen Vigna <jug@sad.it>
10657 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10659 (SearchBackward): comment out the unlocking of the inset_owner this
10660 should not be needed!
10662 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10664 * Many files: Remove inherit_language, and add latex_language
10666 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10667 collapsible insets.
10669 2001-08-10 Juergen Vigna <jug@sad.it>
10671 * text.C (prepareToPrint): fixed hfill-width in draw!
10673 * BufferView2.C (selectLastWord): save the selection cursor as this
10674 now is cleared in the function LyXText::clearSelection!
10676 2001-08-08 Juergen Vigna <jug@sad.it>
10678 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10679 BACKSPACE type functions.
10681 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10682 is only cutted from the document but not put in the cut-buffer, where
10683 still the old stuff should be.
10685 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10687 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10689 * tabular.C (SetWidthOfCell): fixed special case where the width
10691 (LeftLine): handle '|' in align_special.
10693 (LeftAlreadyDrawed): ditto
10694 (SetWidthOfCell): ditto
10696 2001-08-07 Juergen Vigna <jug@sad.it>
10698 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10700 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10702 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10703 * lyxlex.[hC]: ditto
10705 2001-08-06 Juergen Vigna <jug@sad.it>
10707 * text.C (getVisibleRow): fix up row clearing a bit.
10709 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * minibuffer.C: make sure the X server sees the changes in the input.
10713 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * paragraph.C (getFont): split into...
10716 (getLabelFont): this
10717 (getLayoutFont): and this
10718 * paragraph_pimpl.C (realizeFont): calling this
10720 * text2.C (getFont): split into...
10721 (getLayoutFont): this
10722 (getLabelFont): and this
10723 (realizeFont): all three calling this
10725 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10728 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10730 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10732 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10734 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10735 layouts from the Quote inset insertion.
10737 2001-08-03 Juergen Vigna <jug@sad.it>
10739 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10741 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10742 only if status not is already CHANGED_IN_DRAW (second level).
10744 * text.C (draw): don't set the need_break_row when inside an
10747 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * buffer.C (parseSingleLyXformat2Token): handle more latex
10752 * bufferview_funcs.[hC]: change function names to
10753 begin with small char, adjust other files.
10755 2001-08-02 André Pönitz <poenitz@gmx.net>
10758 BufferView_pimpl.C: remove broken special code for math-greek
10760 2001-08-02 Juergen Vigna <jug@sad.it>
10762 * BufferView_pimpl.C (update): redone this function so that we
10763 update the text again if there was a CHANGE_IN_DRAW.
10765 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10766 (drawFromTo): added a new internal bool which is used by draw() and
10768 (general): some cursor drawing problems fixed.
10770 2001-08-01 Juergen Vigna <jug@sad.it>
10772 * lyxfind.C (LyXFind): fixed
10773 (SearchForward): ditto
10774 (SearchBackward): ditto
10776 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10777 spurius drawing of the cursor in the main area.
10779 * text2.C (status): small fix which could lead to a segfault!
10780 (clearSelection): remove unneeded BufferView param.
10782 2001-08-01 André Pönitz <poenitz@gmx.net>
10784 * lyxfunc.C: small change due to changed mathed interface
10786 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10788 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10790 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10792 * lyxfunc.c: fail gracefully if file doesn't exist
10797 * BufferView_pimpl.C: IsDirWriteable() proto changed
10799 * LyXView.C: fix updateWindowTitle() to store the last title
10801 2001-07-31 Juergen Vigna <jug@sad.it>
10803 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10804 the font (wrong since using of Paragraph::highestFontInRange).
10806 * paragraph.C (highestFontInRange): added a default_size parameter.
10808 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10809 (setHeightOfRow): reformat
10811 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * converter.[hC] + affected files: move to (inital-char)lowercase
10816 * ParagraphParameters.C (ParagraphParameters): remove commented code
10818 * PainterBase.[Ch]: remove commented code
10820 * LaTeXFeatures.h: add "bool floats" for float.sty
10822 * LaTeXFeatures.C (LaTeXFeatures): init floats
10823 (require): handle float
10824 (getPackages): do it with floats
10826 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10828 * BufferView_pimpl.C (Dispatch): improve handling of
10829 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10831 * commandtags.h: #include lyxfont.h here temporarily to avoid
10834 * bufferlist.h: include LString.h here.
10836 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10838 * text2.C (getStringToIndex): new method.
10840 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10842 * *: Reduced header file dependencies all over.
10844 2001-07-30 Baruch Even <baruch@lyx.org>
10846 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10848 2001-07-29 Baruch Even <baruch@lyx.org>
10850 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10852 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10854 * ParameterStruct.h (endif): add a default constructor to make
10855 sure that all variables is initialized.
10857 * ParagraphParameters.C (ParagraphParameters): adjust
10859 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10862 index; also, check that there is something to index, and that it
10863 does not span over several paragraphs.
10864 (doubleClick): use WHOLE_WORD_STRICT for double click.
10866 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10868 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10871 2001-07-26 Baruch Even <baruch@lyx.org>
10873 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10874 an InsetFig figure, backwards compatible reading of old figure code.
10876 2001-07-27 Juergen Vigna <jug@sad.it>
10878 * text2.C: font.realize function adaption.
10880 * text.C (draw): add a warnings lyxerr text if needed.
10882 * layout.C: font.realize function adaption.
10884 * language.C: add inherit_language and implement it's handlings
10886 * bufferview_funcs.C (StyleReset): remove language parameter from
10887 font creation (should be language_inherit now).
10889 * bufferparams.C (writeFile): handle ignore_language.
10891 * paragraph.C (getFontSettings): the language has to be resolved
10892 otherwise we have problems in LyXFont!
10894 * lyxfont.C (lyxWriteChanges): added document_language parameter
10895 (update): removed unneeded language parameter
10897 * paragraph.C (validate): fixed wrong output of color-package when
10898 using interface colors for certain fonts in certain environments,
10899 which should not seen as that on the final output.
10901 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10903 * BufferView_pimpl.C:
10908 * LyXAction.C: add thesaurus support
10911 * lyxfind.C: add "once" parameter, for thesaurus, to not
10912 move to the next match
10914 2001-07-26 Juergen Vigna <jug@sad.it>
10916 * lyxfont.C (realize): honor ignore_language too!
10919 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10921 * text.C (draw): one place more for ignore_language to not draw
10924 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10926 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10928 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10930 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10931 the minipage conversion problem.
10933 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10935 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10938 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * BufferView.h: don't forward declare WorkArea
10942 * BufferView.C: don't include WorkArea.h
10944 2001-07-25 André Pönitz <poenitz@gmx.net>
10948 * lyxfunc.C: new LFUN 'math-space'
10950 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10952 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * text2.C (toggleInset): call open/close
10956 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * lyxfunc.C (dispatch): add debug for the disabled case
10960 * font.C (buttonText): make similar to rectText
10962 * buffer.C (readInset): comment out parsing of insetlist and
10965 * PainterBase.C (rectText): small correction
10967 * BufferView_pimpl.C: comment out insettheorem and insetlist
10968 * LyXAction.C: ditto
10969 * commandtags.h: ditto
10971 2001-07-24 Juergen Vigna <jug@sad.it>
10973 * text.C (draw): honor the ignore_language.
10975 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10977 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10979 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10982 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10984 * lyxtext.h: remove unused (and unimplemented) methods
10986 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10988 * text.C (getVisibleRow): honor background color
10991 * Painter.h: remove default color argument for fillRectangle
10993 * text.C (backgroundColor): new method
10995 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10997 * text.C (getVisibleRow): adjust
10999 * font.[Ch] (rectText): new method, metrics
11000 (buttonText): new method, metrics
11002 * PainterBase.[hC]: make rectText and buttonText always draw and take
11005 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11007 * ToolbarDefaults.C (read):
11008 * MenuBackend.C (read): allow escaping in all strings
11010 * BufferView_pimpl.C (insertAndEditInset): new method.
11011 (Dispatch): use insertAndEditInset whenever appropriate.
11013 * BufferView_pimpl.C (insertNote): removed
11015 * BufferView_pimpl.C (smartQuote): new method, moved from
11016 BufferView; if an insetquote cannot be inserted, insert a '"'
11019 * BufferView2.C: remove insertCorrectQuote();
11021 * lyxfunc.C (getStatus): Add support for all remaingin
11022 inset-insert lfuns.
11024 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11026 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11027 command (necessary to pass " as parameter of self-insert.
11029 * text.C (selectWordWhenUnderCursor):
11030 (selectWord): add word_location parameter
11031 (selectWordWhenUnderCursor): same + remove special code for word
11033 (selectNextWord): use kind() to guess type of insetspecialchar,
11036 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11037 (insertErtContents): create ert insets as collapsed.
11038 (readInset): better compatibility code for Info inset.
11040 2001-07-20 Juergen Vigna <jug@sad.it>
11042 * lyxfunc.C (dispatch): use always LyXFind now!
11044 * text2.C (init): add a reinit flag so that the LyXText can be
11045 reinited instead of deleted and reallocated (used in InsetText).
11047 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11053 2001-07-18 Juergen Vigna <jug@sad.it>
11055 * text.C (selectNextWord): handle insets inside inset by calling
11056 always the bv->text functions so that we can go up the_locking_inset!
11058 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11059 in strange locations when inside an inset!
11061 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11062 handling to include insets.
11064 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11066 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11068 * LyXAction.C (init):
11070 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11071 LIGATURE_BREAK, since the name is so stupid.
11073 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11075 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11078 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11080 * sp_form.[Ch]: remove.
11082 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11084 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11087 * src/buffer.C (readInset): ditto.
11089 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11091 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11092 menuSeparator(), endOfSentenceDot(), ldots() and
11093 hyphenationPoint(), which are therefore removed.
11094 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11096 * LyXAction.C (init):
11097 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11099 * paragraph.C (getWord): removed.
11101 * BufferView_pimpl.C (Dispatch): use last word or selection for
11102 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11104 * lyx_main.C (queryUserLyXDir): do not ask before creating
11105 user_dir, except if it has been named explicitely.
11107 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11109 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11110 a document of zero size.
11112 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11114 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11115 approriately in the c-tor and in require().
11116 (getPackages): output the appropriate LaTeX for natbib support.
11118 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11119 variables "use_natbib" and "use_numerical_citations" when reading the
11121 (readInset): read the various natbib cite commands.
11122 (validate): white-space change.
11124 * bufferparams.[Ch]: new variables "bool use_natbib" and
11125 "bool use_numerical_citations".
11126 (writeFile): output them in the LyX file.
11128 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11130 * lyxfunc.C (getStatus): add support for all the inset insertion
11133 * text2.C (insertInset):
11134 * paragraph.C (insetAllowed):
11135 * BufferView_pimpl.C (insertInset): update to take in account the
11136 renaming of insertInsetAllowed
11138 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11140 * text2.C (getInset): new method. returns inset at cursor position.
11142 * BufferView_pimpl.C (Dispatch): changes because of this.
11144 * LyXAction.C (init): rename open-stuff to inset-toggle.
11146 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11148 * text2.C (toggleInset): renamed from openStuff; use
11151 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11153 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11155 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11157 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11159 * buffer.C (readLyXformat2): Add filename to the error dialog
11161 2001-07-18 Juergen Vigna <jug@sad.it>
11163 * tabular.C (GetCellNumber): put an assert here instead of the check!
11165 2001-07-17 Juergen Vigna <jug@sad.it>
11167 * BufferView_pimpl.C (toggleSelection): adapted too.
11169 * text.C (selectNextWord): adapted for use with insets.
11170 (selectSelectedWord): ditto
11172 2001-07-17 Juergen Vigna <jug@sad.it>
11174 * sp_spell.C (PSpell): fix initialitation order.
11176 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * paragraph.C: spacing
11180 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11182 * sp_spell.C: repair language selection for pspell
11184 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * lyxfunc.h: change more methods to begin with lower char.
11188 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11190 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11191 for unknown layouts.
11193 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11195 * buffer.C (readLyXformat2): Generate an error dialog if there are
11198 2001-07-16 Juergen Vigna <jug@sad.it>
11200 * sp_spell.C: always compile ISpell part.
11202 * lyxrc.C: added use_pspell entry and it's handling.
11204 2001-07-13 Juergen Vigna <jug@sad.it>
11206 * sp_spell.C: removed double includes.
11208 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11210 Consistent use of Lsstream.h:
11211 * Lsstream.h: added using std::stringstream for consistencies sake.
11213 * buffer.C: removed using std::stringstream
11215 * lyxfont.C (stateText):
11216 * paragraph.C (asString):
11217 * text.C (selectNextWord, selectSelectedWord):
11218 * text2.C (setCounter):
11219 * vspace.C (asString, asLatexString):
11220 std::ostringstream -> ostringstream.
11222 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11224 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11225 * commandtags.h: add LFUN_HELP_ABOUTLYX
11226 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11228 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11230 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11232 * lyx_gui_misc.C: remove spellchecker
11233 * lyxfunc.C: showSpellchecker
11235 * sp_ispell.h: added
11236 * sp_pspell.h: added
11237 * sp_spell.C: added
11238 * sp_form.[Ch]: removed
11239 * spellchecker.[Ch]: removed
11241 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11243 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11245 (simpleTeXSpecialChars): Simply print the input character without
11246 any special translation if pass_thru is set.
11248 * layout.h: Added bool pass_thru to layout class for being able to
11249 implement pass through of a paragraph for Literate Programming.
11251 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11252 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11253 * layout.C (Read): add "passthru" to list of layout tags and add
11254 code to set the pass_thru boolean when it is read.
11256 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11258 * trans_decl.h: remove allowed from KmodInfo
11260 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11261 remove allowed code
11264 * paragraph_pimpl.C (erase): use boost::prior
11266 * Painter.C (text): use data() instead of c_str() when length is
11268 * WorkArea.C (putClipboard): ditto
11269 * font.h (width): ditto
11271 * BufferView2.C: use it-> instead of (*it). for iterators
11273 * paragraph_pimpl.C: ditto
11274 * paragraph.C: ditto
11275 * minibuffer.C: ditto
11276 * language.C: ditto
11278 * encoding.C: ditto
11279 * counters.C: ditto
11280 * converter.C: ditto
11282 * Variables.C: ditto
11283 * TextCache.C: ditto
11284 * MenuBackend.C: ditto
11285 * LyXAction.C: ditto
11287 * FloatList.C: ditto
11288 * DepTable.C: ditto
11289 * ColorHandler.C (LyXColorHandler): ditto
11291 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11293 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11295 * text2.C (openStuff): reintroduce this method (which had been
11296 nuked in NEW_INSETS frenzy).
11298 * lyxfunc.C (Dispatch): when an action has not been handled, use
11299 its name in the error message, not its number.
11301 * paragraph.C (inInset): change method name to begin with lowercase.
11304 * text2.C: updates because of this.
11306 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11308 * ToolbarDefaults.C (add): add spaces in error message
11310 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11313 (readLyXformat2): rename return_par to first_par, use lyxlex's
11314 pushToken and remove the manual push handling.
11315 (parseSingleLyXformat2Token): add another ert comp. variable:
11316 in_tabular, rename return_par to first_par. handle newlines better
11318 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11320 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11322 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11324 * text2.C (getParFromID): removed
11326 * buffer.C (getParFromID): new method moved form lyxtext.
11327 * BufferView2.C (insertErrors): adjust
11328 (setCursorFromRow): adjust
11329 * BufferView_pimpl.C (restorePosition): adjust
11330 * lyxfunc.C (Dispatch): adjust
11331 * undo_funcs.C (textUndo): adjust
11333 (textHandleUndo): adjust
11334 (textHandleUndo): adjust
11336 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * buffer.C: up' the LYX_FORMAT
11340 * lyxfont.h: turn NO_LATEX on as default
11342 * buffer.C (insertErtContents): new methods of tex style compability.
11343 (parseSingleLyXformat2Token): use it several places.
11344 * tabular.C (OldFormatRead): and here
11346 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11348 * text2.C: remove some commented code.
11351 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11352 * trans.C: changes because of the above.
11354 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11356 * text2.C (setCounter): Fix counters bug with bibliography layout.
11358 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11360 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11361 own member functions
11362 (simpleTeXSpecialChars): ditto
11364 2001-07-06 Juergen Vigna <jug@sad.it>
11366 * a lot of files: changed the access to LyXText::status and the
11367 call of undo-functions.
11369 * undo.[Ch]: added a inset_id to the undo informations.
11371 * undo_funcs.[Ch]: added and moved here all undo functions.
11373 * lyxtext.h: give the status enum a weight, made status_ a private
11374 variable and made accessor functions for it, removed the whole bunch
11375 of undo-functions as they are now in their own file, make some
11376 functions publically available. Added function ownerParagraph with
11379 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11380 made InInset() a const function, added getParFromID() function.
11382 * buffer.[Ch]: added const version for inset_iterator functions,
11383 added getInsetFromID() function.
11385 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11386 changed undo functions for new version.
11388 2001-07-05 Juergen Vigna <jug@sad.it>
11390 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11391 unknow mechanism does not call the proper constructor but only this
11392 one also if I request the other!?
11394 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11398 * text2.C (LyXText): use initialization lists.
11400 * lyxtext.h (Selection): initialize set_ and mark_
11401 (init): remove method
11403 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11405 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11407 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * screen.[Ch]: change method names to begin with lowercase
11411 * BufferView_pimpl.C (updateScrollbar): simplify further and
11412 hopefully make it a bit faster.
11414 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11416 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11417 calling directly xforms functions.
11419 * Painter.C (Painter):
11420 * lyx_cb.C (MenuWrite):
11421 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11424 * lyx_gui.C: remove bogus guiruntime extern declaration.
11426 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11430 (redoDrawingOfParagraph): ditto
11431 (redoParagraphs): ditto
11432 (cutSelection): don't create a object for CutAndPaste use the
11433 static method directly
11434 (pasteSelection): ditto
11436 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11439 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11441 * modifications to some other files because of this.
11443 * Makefile.am (lyx_SOURCES): add XFormsView
11445 * XFormsView.[Ch]: new files
11447 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11448 the main window. Move the gui dependent stuff to XFormsView
11450 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11452 * tabular.C (GetCellInset): update cur_cell also in the row/col
11453 version of this function.
11455 * lyxfunc.C: no need to include figure_form.h here.
11461 * lyxvc.C: no need to include forms.h here.
11463 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11465 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11467 * lyxfunc.C (Dispatch):
11469 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11470 constructor argument.
11472 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11474 * paragraph.C (Paragraph): dont't clear, and just set layout.
11475 (makeSameLayout): use params's copy contructor.
11477 * ParagraphParameters.[Ch] (makeSame): delete method
11479 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11481 * Variables.[Ch]: fix indentation, rename set to isSet
11483 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * lyxfunc.C (Dispatch): fix typo
11487 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11492 * bufferlist.C: include assert.h for emergencyWrite().
11494 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11496 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11497 give up at last (bug #425202) !
11499 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11505 * spellchecker.C: strip spellchecker options and bring up
11506 preferences tab instead
11508 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11510 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11511 the istringstream constructor
11513 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11515 * paragraph.C (getLayout): fix return value
11517 * paragraph.h: do not declare getLayout as inline.
11519 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11521 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11523 * lyxcursor.h (operator<): new func
11524 (operator>): new func
11525 (operator>=): new func
11526 (operator<=): new func
11528 * text.C (changeCase): use selection.start and selection.end
11529 (changeRegionCase): require from to be <= to. Require par to be a
11532 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11534 2001-06-27 Juergen Vigna <jug@sad.it>
11536 * text.C (cursorLeftOneWord): changed to return the cursor and added
11537 overlay with BufferView * parameter which calls this one.
11539 (selectWord): use new getWord function.
11540 (changeCase): renamed from changeWordCase as and extended to work
11541 also on selections.
11543 * lyxtext.h: added enum word_location
11545 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11546 changeCase as this operates now also on selections.
11548 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11550 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11552 * many files: send debug output to Debug::INFO instead of
11555 * converter.C (View):
11557 (Move): send debug output to Debug::FILES instead of console.
11559 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11561 * lyxfunc.C (getStatus): use func_status
11563 * func_status.h: new header, describing the results of
11564 LyXFunc::getStatus;
11566 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11569 2001-06-25 The LyX Project <jug@sad.it>
11571 * buffer.C (sgmlOpenTag):
11573 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11575 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11577 * text2.C: remove some dead code
11579 * tabular.C (GetCellInset): store the last cell checked (gotten)
11581 * tabular.h: add the helper for the speedup
11583 * lyxtext.h: remove some dead code
11585 2001-06-26 The LyX Project <Asger>
11587 * paragraph.C: Change export to LaTeX of alignment to
11588 \begin{center} and family for better roundtrip work with reLyX.
11590 * Tune the math drawing a bit.
11592 2001-06-25 The LyX Project <Asger>
11594 * LColor.C (LColor): New color for math background. New color
11597 2001-06-25 The LyX Project <jug@sad.it>
11599 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11601 * lyxfunc.C (Open):
11602 * bufferlist.C (newFile): do not restrict to files ending with
11605 * BufferView_pimpl.C (MenuInsertLyXFile):
11607 2001-06-24 The LyX Project <jug@sad.it>
11609 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11612 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * lyxtext.h: rename most methods to begin with a small char.
11615 Lots of changes because of this.
11617 * paragraph.C (Paragraph): do not call fitToSize
11618 (erase): call Pimpl::erase
11619 (insertChar): call Pimpl::insertChar
11620 (insertInset): call Pipl::insertInset
11621 (breakParagraph): do not call fitToSize
11622 (breakParagraphConservative): do not call fitToSize
11623 (fitToSize): remove method
11625 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11627 2001-06-24 The LyX Project <Asger>
11629 * Fix Qt compilation^2
11631 2001-06-24 The LyX Project <jug@sad.it>
11633 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11634 depthHook(getDepth()-1).
11637 * ParagraphParameters.h:
11638 * ParameterStruct.h: change type of depth to unsigned int ==
11639 depth_type. Many adaptations to other files before of that.
11641 2001-06-24 The LyX Project <Asger>
11643 * Fix Qt compilation.
11645 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11647 * paragraph.h: renamed several methods to begin with small letter.
11648 several changes to many parts of the code because of this.
11650 2001-06-23 The LyX Project <jug@sad.it>
11652 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11653 rewritten to discard all double spaces when KeepEmpty is off
11654 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11655 to only handle newlines but not fiddle with spaces and friends.
11657 * lyxfunc.C (MenuNew): when doing 'new from template', use
11658 template_path as default directory
11660 2001-06-23 The LyX Project <Asger>
11662 * Clean-up of header file includes all over
11663 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11665 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11667 * paragraph.h: renamed from lyxparagraph.h
11669 2001-06-23 Asger <lyx@violet.home.sad.it>
11671 * Buffer.h: Removed Buffer::resize
11672 * BufferList.h: Removed BufferList::resize
11673 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11674 the document lazily when we change the width, or the font settings.
11676 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11678 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11680 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11682 * buffer.h: remove out of date comment
11684 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11687 * screen.C: fix "theoretical" GC leak
11689 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11691 * LaTeX.C (scanAuxFile):
11692 (deplog): remove trailing \r when reading stream (useful under
11695 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11697 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11698 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11699 and BufferView::theLockingInset(Inset*), so should use them and not
11700 access bv_->text->the_locking_inset directly.
11702 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11704 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11707 * tex-defs.h: remove old unused file
11709 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11711 * BufferView_pimpl.C: fix typo, remove minibuffer message
11712 when buffer has loaded
11714 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11716 * lyxfunc.C (Dispatch): use stringstream
11717 (MenuNew): use stringstream
11718 (Open): use stringstream
11720 * importer.C (Import): use stringstream
11722 * bufferview_funcs.C (CurrentState): use stringstream
11724 * LaTeX.C (run): use stringstream
11726 * BufferView_pimpl.C (savePosition): use stringstream
11727 (restorePosition): use stringstream
11728 (MenuInsertLyXFile): use stringstream
11730 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11743 * vspace.C: removed // -*- C++ -*- as first line.
11746 * version.h: added // -*- C++ -*- as first line.
11748 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11750 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11752 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11755 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11757 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11760 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11762 * gettext.C: include LString.h even when --disable-nls is on.
11764 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11766 * converter.h (Get): changed argument type from int to
11767 FormatList::size_type to avoid unnecessary conversion.
11769 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11772 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11774 * gettext.h: include LString.h even when --disable-nls is on.
11776 2001-06-07 Juergen Vigna <jug@sad.it>
11778 * text.C (BreakAgain): subst spaces with tabs.
11780 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11781 (resizeInsetsLyXText): set force on resizeLyXText.
11783 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11785 * gettext.h (gettext_init):
11786 (locale_init): use a real definition instead of a macro
11788 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11790 * Bufferview_pimpl.C:
11792 * LColor.C: further lcolor tidies
11794 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * BufferView_pimpl.C (updateScrollbar): simplify.
11798 * BufferView2.C: don't include insets/insetinfo.h, change
11799 prototype for insertInset and call the Pimpl version. let
11800 updateInset call Pimpl version.
11802 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11803 gotoInset to BufferView::Pimpl
11805 2001-06-01 Juergen Vigna <jug@sad.it>
11807 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11808 inside a LockingInset (is the update needed at all?).
11810 2001-05-31 Juergen Vigna <jug@sad.it>
11812 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11813 here not the old one otherwise how should we compare it afterwards
11816 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11821 * FontInfo.C: bring C functions into global namespace when
11824 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11826 * LString.h: make sure config.h has been loaded before LString.h.
11828 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11829 (one for each char read by EatLine!).
11831 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11834 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11836 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11837 to the same as the par we break from
11839 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11841 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11843 * MenuBackend.C (expand): also create menu entries for wide
11844 versions of the floats.
11846 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11848 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11850 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11851 frontends/Makefile.am
11857 * tabular.C (getTokenValue): add std::
11859 * tabular-old.C (getTokenValue): add std::
11860 (getTokenValue): ditto
11861 (getTokenValue): ditto
11863 * screen.C (ToggleSelection): adjust
11865 * lyxtext.h: put selection cursors inside a Selection struct.
11867 * lyxfunc.C (moveCursorUpdate): adjust
11869 * lyxfont.C (latexWriteStartChanges): add std::
11871 * lyxfind.C: adjust
11873 * font.h: delete with(char const *, LyXFont const &)
11875 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11877 * FontInfo.C (getFontname): add std::
11879 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11880 (workAreaButtonPress): adjust
11881 (tripleClick): adjust
11883 (moveCursorUpdate): adjust
11886 * BufferView2.C (gotoInset): adjust
11888 2001-05-30 Juergen Vigna <jug@sad.it>
11890 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11891 to check pspell I add this as default as I now have new pspell
11892 libraries and they seem to use this.
11894 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * text2.C (CutSelection): make the cursor valid before the call to
11899 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11901 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11902 relied on 0 terminated strings and other horrors. Bug found due to
11903 the new assert in lyxstring!
11905 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11908 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11913 * lyxfunc.C (processKeySym): change method of getting to the
11916 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11917 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11918 * BufferView_pimpl.[Ch]: here as private methods.
11920 2001-05-28 Juergen Vigna <jug@sad.it>
11922 * text.C (SetHeightOfRow): added the update() call again as it is
11923 needed to initialize inset dimensions!
11925 2001-05-16 Juergen Vigna <jug@sad.it>
11927 * text2.C (SetCharFont): Add new function with BufferView * and
11928 bool toggleall parameters for setting insets internal fonts.
11929 (SetFont): Freeze the undo as we may change fonts in Insets and
11930 all this change should be inside only one Undo!
11932 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11933 setting font's in insets as for them we have the SetFont function!
11935 2001-05-15 Juergen Vigna <jug@sad.it>
11937 * text2.C (ClearSelection): to be sure we REALLY don't have any
11940 * tabular.C (TeXCellPreamble): fixed the left border problem for
11943 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11945 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11948 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11950 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11951 LFUN_BREAKPARAGRAPH.
11953 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11954 help test to "internal only", similar for LFUN_INSERT_URL
11956 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11957 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11958 auto_region_delete and deadkeys.
11960 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11963 * LColor.C: remove some dead entries, tidy a little
11965 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11967 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11969 (Dispatch): implement LFUN_ESCAPE
11971 * commandtags.h: add LFUN_ESCAPE
11973 * LyXAction.C (init): add entry for LFUN_ESCAPE
11975 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11976 Remove commented code.
11977 (insertNote): moved here
11978 (open_new_inset): moved here
11980 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11983 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11985 * kbmap.C (findbinding): clean it up and make it work correctly.
11987 * lyx_main.C (init): do not pass argc and argv as parameters
11989 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11991 * buffer.C: fix path for OS/2 & Win32
11995 * lyx_main.C: Added os:: class.
11997 * os2_defines.h: update
11999 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12002 better by trying again with reduced state.
12004 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12006 * lyxrc.C (read): print error about invalid key sequence only when
12007 debugging (because not all latinX keysyms are known to some X
12010 * kbsequence.C (getiso): add a few std:: qualifiers
12011 (getiso): comment out extra return statement.
12013 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12015 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12017 (Dispatch): enhance the accent inset a bit. (not perfect)
12019 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12023 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12025 * bufferlist.C (emergencyWrite): fix assert() call
12027 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12029 * text.C (InsertChar): Added trivial patch to only send the "you
12030 can not do multiple spaces this way" message once during a
12033 2001-05-08 Baruch Even <baruch@lyx.org>
12035 * Makefile.am: Changed order of libraries to get LyX to link properly
12036 with the gnome frontend.
12038 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12040 * LaTeXFeatures.h: add a std:: qualifier
12042 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12044 * paragraph.C (String): use stringstream
12046 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12048 * paragraph.C (writeFile): remove footflag arg
12050 * buffer.C (makeLaTeXFile): use stringstream
12051 (latexParagraphs): remove footnot gurba
12053 * LaTeXFeatures.C (getPackages): use stringstream
12054 (getMacros): likewise
12055 (getTClassPreamble): likewise
12056 (getFloatDefinitions): new method
12058 * paragraph.C (writeFile): reindent
12061 * WorkArea.h: revert the xpos + etc changes.
12063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12065 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12067 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12068 (pasteSelection): likewise
12069 * text2.C (CreateUndo): likewise
12071 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12073 * minibuffer.C (peek_event): temporarily reduce the functionality
12074 of the minibuffer (to allow args on lfuns)
12076 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12077 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12079 * buffer.C (readInset): add compability reading of old float
12080 lists, add reading of new style float list.
12081 (readInset): avoid reevaluation of inscmd.getCmdName()
12082 (getLists): reindent
12084 * MenuBackend.C (MenuItem): implement parsing of
12085 md_floatlistinsert and md_floatinsert.
12086 (expand::LastFiles): move initalizaton of iterators out of loop,
12087 avoid reevaluation.
12088 (expand::Documents): introduce typdedef vector<string> Strings,
12090 (expand::ExportFormats): introduce typedef vector<Format const *>
12091 Formats, and use it.
12092 (expand): implement FloatListInsert and FloatInsert.
12094 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12095 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12096 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12098 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12100 (Dispatch::LFUN_FLOAT_LIST): implement
12102 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12104 * LaTeX.C (run): Fix problem with --export code.
12106 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12108 * BufferView.[Ch] (workarea): removed.
12109 (getClipboard) new method; wrapper for workarea()->getClipboard()
12111 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12114 * WorkArea.h (width, height, xpos, ypos): These methods all
12115 returned the dimensions of the work_area sub-area of WorkArea,
12116 resulting in a position error if the WorkArea were resized. Now
12117 return the dimensions of the entire WorkArea.
12119 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12121 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12123 * LaTeX.C (deplog): correct the syntax of regex reg1
12125 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * undo.C: remove !NEW_INSETS cruft
12129 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * text2.C: remove !NEW_INSETS cruft
12133 * text.C: remove !NEW_INSETS cruft
12135 * tabular.C: remove !NEW_INSETS cruft
12137 * spellchecker.C: remove !NEW_INSETS cruft
12139 * lyxtext.h: remove !NEW_INSETS cruft
12141 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12143 * lyxfunc.C: remove !NEW_INSETS cruft
12145 * lyxfind.C: remove !NEW_INSETS cruft
12147 * lyx_cb.C: remove !NEW_INSETS cruft
12149 * figureForm.C: remove !NEW_INSETS cruft
12151 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12153 * buffer.[Ch]: remove !NEW_INSETS cruft
12155 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12157 * CutAndPaste.C: remove !NEW_INSETS cruft
12159 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12161 * BufferView2.C: remove !NEW_INSETS cruft
12163 * BufferView.h: remove !NEW_INSETS cruft
12165 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12167 * Lsstream.h: include LString.h before the sstream headers to
12168 fix problem with gcc 2.95.3 and lyxstring
12170 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12172 * lyx_main.C: add using directives when needed for C functions
12173 declared in std:: namespace.
12175 2001-04-27 Juergen Vigna <jug@sad.it>
12177 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12178 (SetHeightOfRow): comment out the update call should not be needed!
12180 2001-04-13 Juergen Vigna <jug@sad.it>
12182 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12183 (LyXTabular): tried to minimize operator= operations (and realized
12184 hopfully Lars wish).
12186 2001-04-27 Juergen Vigna <jug@sad.it>
12188 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12190 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12194 * buffer.C (readInset): hack to make listof algorithm work
12196 * BufferView_pimpl.C: hack to make listof algorithm work
12198 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12200 * LyXAction.C: removed all !NEW_INSETS cruft
12201 (init): moved lfun_item in method
12203 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12205 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12207 * BufferView2.C (theLockingInset): white space.
12209 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * minibuffer.C: include <iostream>
12213 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12215 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12217 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12219 * text.[Ch] (TransposeChars): new method
12221 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12223 * call message directly through LyXView instead of through LyXFunc
12224 * BufferView2.C: adjust
12225 * BufferView_pimpl.C: adjust
12226 * FontLoader.C: adjust
12228 * bufferview_funcs.C: adjust
12229 * converter.C: adjust
12230 * figureForm.C: adjust
12231 * importer.C: adjust
12233 * lyx_gui_misc.C: adjust
12234 * lyxfunc.C: adjust
12237 + more files in subdirs
12239 * lyxparagraph.h (size): move up int file
12242 * adjust all uses of Assert to lyx::Assert.
12244 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12245 lyxfunctional in namespace lyx
12246 * layout.C (hasLayout): ditto
12249 (delete_layout): ditto
12250 (NumberOfClass): ditto
12251 * converter.C (GetFormat): ditto
12256 * bufferlist.C (getFileNames): ditto
12257 (emergencyWriteAll): ditto
12260 * MenuBackend.C (hasSubmenu): ditto
12263 * BufferView_pimpl.C (getInsetByCode): ditto
12265 2001-04-18 Juergen Vigna <jug@sad.it>
12267 * vspace.C (asLatexString): fixed the 100% problem.
12269 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12271 * lyxfunc.C (Dispatch):
12273 * minibuffer.h: add a few std:: qualifiers
12275 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12277 * minibuffer.[Ch]: reimplement so that commands is initiated and
12278 run from lyxfunc, simplified som handling, and made the completion
12279 and history code for complete. wip.
12281 * lyxfunc.C (processKeySym): call message
12282 (miniDispatch): new temporary method
12283 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12284 (LFUN_MESSAGE): implement
12285 (LFUN_MESSAGE_PUSH): implement
12286 (LFUN_MESSAGE_POP): implement
12287 (initMiniBuffer): the initial/defualt minibuffer message.
12289 * lyxfont.[Ch]: inline some more getters
12291 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12293 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12295 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12296 (AutoSave): use LFUN_MESSAGE
12297 (Reconfigure): ditto
12299 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12301 * figureForm.C: use LFUN_MESSAGE
12303 * converter.C (runLaTeX): use LFUN_MESSAGE
12305 * bufferview_funcs.C: use LFUN_MESSAGE
12307 (changeDepth): ditto
12309 * bufferparams.h: use boost::
12311 * bufferlist.h: inherit privately from noncopyable
12313 * bufferlist.C (loadLyXFile): remove some commented code.
12315 * buffer.C (runChktex): use LFUN_MESSAGE
12317 * ShareContainer.h: inherit privately from noncopyable
12319 * ParagraphParameters.[hC] (depth): inline it.
12321 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12323 (message): new method
12324 (messagePush): ditto
12325 (messagePop): ditto
12326 (show): init minibuffer
12327 (showState): direct call
12329 * LaTeX.[Ch]: inherit privately from noncopyable
12330 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12331 instead of WriteStatus.
12333 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12335 * BufferView_pimpl.C (buffer): don't init minibuffer
12336 (workAreaButtonPress): use LFUN_MESSAGE
12337 (workAreaButtonRelease): ditto
12338 (savePosition): ditto
12339 (restorePosition): ditto
12340 (MenuInsertLyXFile): ditto
12341 (workAreaExpose): don't init minibuffer
12342 (update): remove commented code, simplify
12344 * BufferView2.C (openStuff): use LFUN_MESSAGE
12345 (toggleFloat): ditto
12348 (copyEnvironment): ditto
12349 (pasteEnvironment): ditto
12354 (updateInset): remove some commented code
12356 * lastfiles.h: inherit privately from noncopyable
12359 * lyx_main.h: ditto
12361 * lyxlex_pimpl.h: ditto
12363 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12364 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12365 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12367 * LyXAction.h: inherit privately from noncopyable, add methods
12368 func_begin, func_end, returning iterators to the func map.
12370 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12371 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12372 (func_begin): new method
12373 (func_end): new method
12375 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12377 (copySelection): ditto
12378 (pasteSelection): ditto
12380 * BufferView.C: whitespace change
12381 * BufferView.h: inherit privately from noncopyable
12383 2001-04-16 Allan Rae <rae@lyx.org>
12385 * tabular-old.C (l_getline):
12386 * spellchecker.C (sc_check_word):
12387 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12388 an unrecognised preprocessor directive. So ensure they're wrapped.
12390 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12392 * src/exporter.C (Export): Give an error message when path to file
12395 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12397 * LaTeX.C (deplog): Always check that foundfile exists.
12399 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12402 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12404 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12406 * tabular.[Ch] (getLabelList): implement new method
12408 * minibuffer.h: comment ouf setTiimer
12410 * minibuffer.C (ExecutingCB): constify res
12411 (peek_event): constify s
12412 (Set): constify ntext
12413 (Init): constify nicename
12415 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12417 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12418 (savePosition): use two params to Minibuffer::Set
12419 (restorePosition): ditto
12421 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12423 * lyx_main.C: include language.h
12425 * Makefile.am (lyx_main.o): add language.h
12427 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12433 * CutAndPaste.C: include gettext.h
12435 * lyxfont.h: remove old hack with ON and OFF.
12438 * lyxfont.h: do not include language.h...
12443 * bufferview_funcs.C:
12449 * paragraph.C: ... but do it here instead
12451 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12453 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12455 * tabular.C: small reformat
12457 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12460 (BreakParagraph): ditto
12461 (SetOnlyLayout): ditto
12464 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12467 * lastfiles.C: removed most using decl, add std:: where needed
12469 * buffer.C: ws changes
12471 * MenuBackend.C (class compare_format): put into anon namespace
12472 (expand): constify label, names, action, action2
12475 * text.C (SingleWidth): constify font
12476 (IsBoundary): constify rtl2
12477 (GetVisibleRow): constify ww
12479 * LaTeX.C (deplog): constify logfile
12481 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12483 (workAreaExpose): constify widthChange, heightChange
12485 * lyxrow.C (par): moved
12488 * lyxrow.h: as inlines here
12490 * lyxfont.h (shape): moved from lyxfont.C
12491 (emph): moved from lyxfont.C
12493 * lyxfont.C (LyXFont): use initialization list for all
12495 (shape): move to lyxfont.h as inline
12496 (emph): move to lyxfont.h as inline
12499 2001-04-04 Juergen Vigna <jug@sad.it>
12501 * vspace.C: had to include stdio.h for use of sscanf
12503 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12506 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12507 independent of xforms.
12509 2001-04-02 Juergen Vigna <jug@sad.it>
12511 * spellchecker.C: fixed namespace placing!
12513 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12515 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12516 the LyXParagraph * is 0.
12518 2001-03-29 Juergen Vigna <jug@sad.it>
12520 * vspace.C: added support for %, c%, p%, l%.
12521 (stringFromUnit): added helper function.
12522 (asLatexString): changed to give right results for the %-values.
12524 * buffer.C: convert the widthp in a width%.
12526 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12528 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12531 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12532 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12534 * lyx_cb.[Ch]: see above.
12536 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12540 * lyx.[Ch]: replaced by figure_form.[Ch].
12544 * lyxfunc.C: changed headers associated with above changes.
12546 2001-03-27 Juergen Vigna <jug@sad.it>
12548 * BufferView_pimpl.C: set the temporary cursor right!
12550 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12552 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12554 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12556 * LString.h: removed "using std::getline"!
12558 * BufferView_pimpl.C (Dispatch): changes due to changes in
12559 InsetInclude::Params.
12561 * buffer.C (tag_name): removed redundant break statements as they were
12562 producing lots of warnings with my compiler.
12564 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12566 * LString.h: add "using std::getline" when using the real <string>.
12568 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12570 * buffer.C: removed bitset usage.
12571 PAR_TAG moved to an anonymous name space.
12572 (tag_name): new funtion, also in the anonymous namespace.
12573 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12574 (makeDocBookFile): clean code. Completed transition from string arrays
12576 (SimpleDocBookOnePar): code clean.
12578 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12580 * tabular.C: add some comments.
12582 2001-03-22 Juergen Vigna <jug@sad.it>
12584 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12585 compatibility read a bit and fixed bug with minipage in different
12588 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12590 * buffer.C (pop_tag): removed.
12591 (push_tag): removed.
12592 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12593 array replaced with vector. Added support for CDATA sections.
12594 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12596 (makeDocBookFile): XML conformant declaration of CDATA section,
12597 fixed bug related to <emphasis> in the first paragraph char.
12598 (sgmlOpenTag): exclude empty tags.
12599 (sgmlCloseTag): ditto.
12601 * buffer.h (pop_tag): removed.
12602 (push_tag): removed.
12604 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12606 * language.h (Languages): added size_type and size().
12608 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12610 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12611 response on compability reading of minipages. One probliem is that
12612 the old usage of minipages was «flertydig»
12614 * several files here and in subdirs: don't use static at file
12615 scope use anon namespaces instead.
12617 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12619 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12620 LaTeX output. This is necessary for Literate document
12623 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12625 * buffer.C: insert hfill when needed.
12627 * tabular.C (l_getline): use string::erase, small whitespace change.
12629 * BufferView_pimpl.C: try the anon namespace.
12630 * WorkArea.C: ditto
12632 2001-03-16 Juergen Vigna <jug@sad.it>
12634 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12635 otherwise it won't open options-dialogs.
12637 * buffer.C: honor pextraWidth(p) on converting minipages.
12639 * tabular.C (l_getline): changed the functions to strip trailing \r.
12641 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12643 * BufferView_pimpl.C:
12644 * minibuffer..C: added "using SigC::slot" declaration.
12646 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12648 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12654 * paragraph.C: ditto
12656 * lyxtext.h: NO_PEXTRA
12658 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12660 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12661 * ParameterStruct.h: ditto
12662 * ParagraphParameters.h: ditto
12663 * lyxparagraph.h: ditto
12665 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12667 * buffer.C: add compability for minipage alignment.
12668 (latexParagraphs): remove unwanted pextra check.
12670 * several files: remove CXX_WORKING_NAMESPACES
12672 * buffer.C (pop_tag): tie is in namespace boost
12674 * BufferView.h: noncopyable is in namespace boost
12676 * lyx_main.h: ditto
12679 * lastfiles.h: ditto
12680 * bufferlist.h: ditto
12681 * ShareContainer.h: ditto
12683 * LyXAction.h: ditto
12686 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12688 * Merging changes from BRANCH_MVC back into HEAD.
12690 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12692 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12694 * BufferView_pimpl.C: change from intl.C
12698 * Makefile.am: move combox.*
12704 * intl.C: remove dialog (covered by prefs)
12706 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12708 * lyxfunc.C (Dispatch): removed redundant break statement.
12710 2001-03-14 Juergen Vigna <jug@sad.it>
12712 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12714 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12716 * buffer.C: add hack to fix compability reading of minipages.
12718 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12720 * buffer.C (getLists): Cleanup.
12722 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12724 * lyxfont.C (update): don't honor toggleall on font size.
12726 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12730 * Makefile.am: moved to frontends/xforms/
12734 * BufferView_pimpl.C: changes for moved mathpanel
12736 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12738 * gettext.h: fix gettext_init() in --disable-nls
12740 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12744 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12747 * lyx.h: strip external form
12749 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12751 * BufferView_pimpl.C: add comment, destroySplash()
12753 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12755 * BufferView_pimpl.C:
12759 * lyxfunc.C: use re-worked insetinclude
12761 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12763 * buffer.C: add using std::stringstream.
12765 * lyx_cb.C: readd using std::ios.
12767 * buffer.C: add using std::map.
12769 * BufferView_pimpl.C: add using std::vector.
12771 * ShareContainer.h: add std:: to swap.
12773 * buffer.h: add some typedefs
12774 * buffer.C (getLists): use them
12775 (getLists): renamed from getTocList.
12776 add a counter for the different float types and use it in the
12778 (getLists): use the same counter for the NEW_INSETS and the "non"
12781 * lyx_cb.h: remove unused items, includes, using etc.
12783 * ShareContainer.h: remove some commented code, add more comments
12784 and "documentation".
12786 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12788 * buffer.C (getTocList): make the list also when NEW_INSETS is
12791 * buffer.h: remove TocType
12793 * buffer.C (getTocList): change to return a map<string,
12794 vector<TocItem> >, implement for dynamic number of list.
12796 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12797 * text2.C (PasteSelection): adjust
12798 * CutAndPaste.C (pasteSelection): adjust
12800 * FloatList.C (FloatList): update from the new_insets branch.
12801 * Floating.[Ch]: ditto
12802 * LaTeXFeatures.C: ditto
12804 * lyxlex_pimpl.C: ditto
12806 * paragraph.C (Last): remove when NEW_INSETS is defined.
12808 * other file: changes because of the above.
12810 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12812 * lyxparagraph.h: rename next to next_, previous to previous_,
12813 make them private for NEW_INSETS. Rename Next() to next(),
12814 Previous() to previous().
12816 * other files: changes because of the above.
12818 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12821 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12824 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * main.C (main): pass lyx_localedir to gettext_init().
12828 * gettext.h: remove locale_init and gettext_init macros
12830 * gettext.C (locale_init): new function
12831 (gettext_init): new function
12833 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12836 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12838 * Moved credits to frontends:
12839 * credits.[Ch]: removed
12840 * credits_form.[Ch]: removed
12841 * lyx_gui_misc.C: remove credits stuff
12844 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12846 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12848 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12849 unneeded destructor.
12851 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12852 a standalone pointer again.
12854 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12856 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12862 * ToolbarDefaults.C:
12871 * BufferView_pimpl.C: use new file dialog in GUII
12874 * lyx_cb.C: remove LayoutsCB to Toolbar
12876 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12878 * ShareContainer.h (get): add std:: qualifier
12880 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12882 * ShareContainer.h: define a proper ShareContainer::value_type
12883 type (and use typename to please compaq cxx)
12885 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12887 * lyxparagraph.h: move serveral local vars to
12888 ParameterStruct/ParagraphParameters., use ShareContainer in
12889 FontTable., make vars in FontTable private and add getter and
12892 * paragraph.C: changes because of the above.
12894 * lyxfont.h: remove copy constructor and copy assignment. (the
12895 default ones is ok), move number inside FontBits. move inlines to
12898 * lyxfont.C: add number to initializaton of statics, move several
12899 inlines here. constify several local vars. some whitespace
12900 cleanup. Dont hide outerscope variables.
12902 * Spacing.h: add two new constructors to match the set methods.
12904 * ShareContainer.h: new file, will perhaps be moved to support
12906 * ParameterStruct.h: new file
12908 * ParagraphParameters.h: new file
12910 * ParagraphParameters.C: new file
12912 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12913 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12915 * BufferView_pimpl.C: ParagraphParameter changes.
12916 * buffer.C: Likewise.
12917 * bufferview_funcs.C: Likewise.
12918 * text.C: Likewise.
12919 * text2.C: Likewise.
12921 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12923 * lyxfind.C (LyXReplace): do not redefine default argument in
12925 (IsStringInText): ditto
12926 (SearchForward): ditto
12927 (SearchBackward): ditto
12929 2001-03-06 Juergen Vigna <jug@sad.it>
12931 * lyxfind.C (IsStringInText): put parentes around expressions.
12933 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12935 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12937 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12939 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12941 * stl_string_fwd.h: add comment
12943 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12946 * tabular.C: remove unused DocBook methods
12952 killed DO_USE_DEFAULT_LANGUAGE
12954 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12956 * lyx_gui.C: do not include language.h.
12958 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12959 arguments in function implementation.
12961 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12963 * BufferView_pimpl.C: add <ctime>
12965 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12967 * BufferView_pimpl.C: add using std::find_if
12969 2001-02-27 José Matos <jamatos@fep.up.pt>
12971 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12974 2001-02-11 José Matos <jamatos@fep.up.pt>
12976 * buffer.C (makeDocBookFile): command styles now have a parameter as
12977 "title" by default.
12979 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12981 * layout_forms.[Ch]: removed
12982 * lyx_cb.[Ch]: out character
12983 * lyx_gui.C: out character
12984 * lyx_gui_misc.C: out character
12985 * bufferview_funcs.C: : out character,
12986 added toggleall as parameter in ToggleAndShow
12988 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12990 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12992 * text2.C (SetCurrentFont): Disable number property at boundary.
12994 2001-02-26 Juergen Vigna <jug@sad.it>
12996 * lyxfunc.C (getStatus): added a string argument override function so
12997 that this is correctly called from LyXFunc::Dispatch if it contains a
12998 do_not_use_argument which is used!
12999 (Dispatch): added check for "custom" export and call appropriate func.
13001 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13003 * lyxrc.C: Add language_command_local, language_use_babel and
13004 language_global_options.
13006 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13008 * buffer.C (makeLaTeXFile): Use language_use_babel and
13009 language_global_options.
13011 2001-02-23 Juergen Vigna <jug@sad.it>
13013 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13014 which works with LyXText and putted it inside BufferView. Here now we
13015 only call for that part the BufferView::Dispatch() function.
13017 * BufferView.C (Dispatch): added.
13019 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13020 functions which needs to use a LyXText over from LyXFunc.
13021 (MenuInsertLyXFile): added
13022 (getInsetByCode): added
13023 (moveCursorUpdate): added
13024 (static TEXT): added
13026 2001-02-22 Juergen Vigna <jug@sad.it>
13028 * BufferView_pimpl.C (update): call a status update to see if LyXText
13031 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13033 * vc-backend.C (revert): implement for CVS
13034 (getLog): implement for CVS
13036 2001-02-20 Juergen Vigna <jug@sad.it>
13038 * text2.C (ClearSelection): added BufferView param for inset_owner call
13040 * lyxfunc.C (TEXT): added this function and use it instead of
13041 directly owner->view()-text of getLyXText().
13043 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13045 * src/layout_forms.C: out preamble
13046 * src/layout_forms.h: out preamble
13047 * src/lyx_cb.C: out preamble
13048 * src/lyx_cb.h: out preamble
13049 * src/lyx_gui.C: out preamble
13050 * src/lyx_gui_misc.C: out preamble
13051 * src/lyxfunc.C: connect with guii preamble
13053 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13055 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13057 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13059 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13060 whether to run bibtex.
13062 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13064 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13066 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13068 * Makefile.am (lyx_SOURCES): removed bibforms.h
13070 * vspace.h: doxygen
13072 * text.C (GetVisibleRow): make several local vars const
13074 * tabular.C: small cleanup.
13076 * lyxserver.C (callback): use compare instead of strncmp
13078 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13079 inlines to after class or to paragraph.C
13081 * lyxfont.h: remove friend operator!=
13083 * converter.h: move friend bool operator< to non friend and after
13086 * combox.h: small cleanup
13088 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13089 to inlines after class def.
13091 * buffer.C (pop_tag): use string operations instead of strcmp
13093 * bmtable.c: doxygen, small cleanup
13095 * LaTeX.h: remove friend operator==
13097 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13109 * BufferView_pimpl.C:
13110 * BufferView.[Ch]: remove cruft
13112 2001-02-14 Juergen Vigna <jug@sad.it>
13114 * lyxfunc.C: removed #if 0 unused code
13116 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13118 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13120 * text2.C (SetSelection): added a BufferView * parameter
13122 2001-02-13 Juergen Vigna <jug@sad.it>
13124 * lyxfunc.C (Dispatch): fixed protected blank problem.
13125 * BufferView2.C (protectedBlank): added LyxText * parameter.
13127 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13128 (AppendColumn): same as above for column_info.
13130 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13131 (moveCursorUpdate): use a LyXText param for support of InsetText.
13133 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13134 (tripleClick): ditto
13136 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13138 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13140 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13142 * text2.C (SetSelection): set correct update status if inset_owner
13143 (ToggleFree): ditto
13145 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13147 * tabular.C: remove some commented code.
13149 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13151 * BufferView_pimpl.C: call hideSplash()
13153 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13156 * bibforms.h: remove
13159 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13160 add LFUN_CHILD_CREATE
13162 * counters.h: fix tiny typo
13167 * lyx.C: move splash to frontends/xforms/
13169 * lyx_gui_misc.C: move Include and Bibform to frontends
13171 * lyxvc.h: clarify comment
13173 * vspace.C: tiny housekeeping
13175 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13177 * text.C (PrepareToPrint): RTL Fix.
13179 * paragraph.C (GetUChar): New method.
13180 (String): Use GetUChar.
13182 * buffer.C (asciiParagraph): Use GetUChar.
13184 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13186 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13188 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13191 * buffer.C: rename to getLogName(), handle
13192 build log / latex log nicely
13194 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13197 * MenuBackend.h: remove support for reference menuitem type.
13199 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13201 * BufferView_pimpl.C: housekeeping
13202 * BufferView_pimpl.h:
13207 * minibuffer.h: move Timeout GUI-I
13209 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13211 * lyxrc.C (read): Update converters data-structures.
13213 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13215 * LaTeX.h (operator!=): add operator != for Aux_Info
13217 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13219 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13221 * LaTeXLog.C: deleted, useful code moved to Buffer
13224 * buffer.C: new function getLatexLogName()
13230 * lyxfunc.C: use frontends for LaTeX and VC logs
13232 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13234 * LaTeX.h: yet another std:: that Allan forgot.
13236 * Variables.C (set): renamed from isset(), because this clashes
13237 with some HP-UX macros (grr).
13239 2001-02-06 Allan Rae <rae@lyx.org>
13241 * LaTeX.h: Another bug fix. Missing std:: this time.
13243 2001-02-04 Allan Rae <rae@lyx.org>
13245 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13246 floats problem. I've left it commented out because it's not quite
13247 correct. It should also test that the current object is a table or
13248 figure inset. But I haven't gotten around to figuring out how to do
13249 that. I *think* it'll be something like: "table" == inset.type()
13251 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13254 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13256 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13257 all the citation/databases/styles in the auxilary file.
13258 (run): Rerun latex if there was a babel language error.
13260 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13262 * text.C (Backspace): Preserve the font when changing newline char
13264 (BreakParagraph): If the cursor is before a space, delete the space.
13266 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13268 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13270 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13271 new argument (code).
13272 (ChangeCitationsIfUnique): New method.
13274 * paragraph.C (GetPositionOfInset): Handle bibkey.
13276 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * BufferView_pimpl.h: change type of Position::par_pos to
13279 LyXParagraph::size_type.
13281 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13283 * BufferView_pimpl.C (savePosition, restorePosition): Write
13284 messages to minibuffer.
13286 2001-01-28 José Matos <jamatos@fep.up.pt>
13288 * buffer.C (makeDocBookFile): adds support for document language.
13289 A silly restriction on the name of LatexCommand types where removed.
13290 Added support for CDATA sections, allows to chars unescaped, used
13291 among others in code, to avoid escape < and >.
13293 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13295 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13296 saved positions instrad of a stack. Furthermore, a position is
13297 stored using paragraph id/paragraph position.
13299 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13300 Remove LFUN_REF_BACK.
13302 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13304 * converter.C (dvipdfm_options): New method.
13306 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13308 * vspace.C (isValidLength): Fix for empty input string.
13310 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13312 * LyXAction.C (init): change description of LFUN_FIGURE to
13315 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * LaTeX.C: add using directive
13319 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13321 * MenuBackend.C (expand): Fix the sorting of the formats.
13323 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13325 * lyx_main.C: tiny error message fix
13327 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13329 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13330 calling fl_initialize(). This fixes the problem with ',' as
13331 decimal separator in text files.
13333 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13335 * trans.C (process): Fix the keymap bug.
13337 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13339 * LaTeX.C (scanAuxFiles): New method. Provides support for
13340 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13341 (scanLogFile) Scan for "run BibTeX" messages.
13343 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13344 OT1 font encoding. Also, load the aecompl package if the ae
13347 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13349 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13351 * texrow.C (increasePos): turn two error messages into debug
13354 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13356 * LaTeX.C (scanAux): Handle the \@input macro.
13357 (runBibTeX): Use scanAux().
13359 * language.C (latex_options_): New field.
13361 * LaTeXFeatures.C (getMacros): Add language macros.
13363 * buffer.C (makeLaTeXFile): Small fix.
13365 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13369 * text2.C: add a using directive.
13371 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13376 * lyxfunc.C: kill LyXBell.
13378 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13380 * text.C (IsBoundary): Remove the error message
13382 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13384 * lyxrc.C (setDefaults): Correct initialization value for
13387 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13389 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13392 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13393 and GotoNextNote().
13395 * src/LyXAction.C: Added reference-next.
13397 * text.C (InsertChar): Use contains instead of strchr.
13399 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13401 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13403 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13404 alignment commands (when needed).
13406 * text.C (InsertChar): Add ':' to number separator chars.