1 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3 * undo.C (performUndoOrRedo): fix two crashes by setting a
4 cursor by hand and reordering some calls. Use bv->lockInset instead
5 of inset->edit because the latter loses cursor information
7 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
10 * lyxfunc.C: fix (at least partly) the problems
11 with the Nav menu and headers inside branch insets
14 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
16 * paragraph.C (getChar): add strong asserts
18 * lyxrow_funcs.C (lastPos): remove hideous hack
20 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
21 (fill): adjust to that (avoid an infinite loop)
23 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
25 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
27 2003-10-23 André Pönitz <poenitz@gmx.net>
29 * RowList_fwd.h: change list<> to vector<> to gain speed
30 after suggestion from Alfredo
32 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
34 * lyxtext.h: move the bidi stuff from here...
37 * Bidi.[Ch]: ... to here
39 2003-10-23 André Pönitz <poenitz@gmx.net>
42 * text.C (isLastRow, isFirstRow): new functions
44 * paragraph.h: new width cache member
46 * rowpainter.C: replace RowList::iterator with Row & where possible
48 * lyxfunc.C: replace several view()->text with a single call
50 * toc.C: fix 'unused' warning
52 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
54 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
55 when woring with stream::pos_type
56 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
58 2003-10-22 André Pönitz <poenitz@gmx.net>
61 * text.C: use Row & instead of RowList::iterator
63 * lyxrow.h: rename end() to endpos()
69 2003-10-22 Angus Leeming <leeming@lyx.org>
71 * buffer.[Ch] (fully_loaded): new member function, returning true
72 only when the file has been loaded fully.
73 Used to prevent the premature generation of previews and by the
74 citation inset to prevent computation of the natbib-style label.
76 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
77 templates are all set up.
79 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
81 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
83 * text.C: fixed an "oops" in the "is a bit silly"
86 2003-10-21 André Pönitz <poenitz@gmx.net>
88 * FuncStatus.[Ch]: small stuff, whitespace
90 * lyxfont.[Ch]: operator<<() for debug reasons
94 * lyxtext.h: whitespace, spelling
96 * paragraph.C: naming of variables
99 * text2.C: small stuff
102 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
104 * text.C: (1) finish off the inset display() work;
105 (2) fix the "is a bit silly" bug (accessing char
108 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
110 * text.C: re-introduce display() for insets, fixing the
111 various bugs (stretch of line above, math inset
114 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * text.C (rightMargin): remove spurious semicolon
118 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
121 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
123 * text3.C: fix one crash due to wrong cursor def
125 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * vc-backend.C (scanMaster): make the regex static
129 * LaTeX.C (scanAuxFile): make the regexs static
131 * text3.C (doInsertInset, dispatch, dispatch):
132 * text2.C (cursorUp, cursorDown):
133 * text.C (selectNextWordToSpellcheck):
134 * BufferView_pimpl.C (dispatch):
135 * lyxfunc.C (dispatch): localDispatch -> dispatch
137 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * lyxsocket.C: include <cerrno>
141 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
143 * lyxfunc.C (dispatch): remove textcache stuff
145 * bufferlist.C (release): remove textcache stuff
148 * TextCache.C: delete file
149 * TextCache.h: delete file
151 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
153 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
154 delete of the bv_->text.
155 (resizeCurrentBuffer): remove texcache stuff
156 (workAreaResize): ditto
158 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
163 2003-10-16 André Pönitz <poenitz@gmx.net>
170 * text3.C: speed up by storing y positions per paragraph plus per-row
171 offset instead of having a 'full' y position in the row.
173 2003-10-15 André Pönitz <poenitz@gmx.net>
177 * undo.[Ch]: make undo aware of inner insets
179 2003-10-14 Angus Leeming <leeming@lyx.org>
181 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
182 static member functions LyX::ref() and LyX::cref.
183 (lastfiles): new accessor functions for the new lastfiles_ member var.
184 (addLyXView, views_): add a new LyXView to the list of views_.
185 (updateInset): loop over all LyXViews to call their own updateInset
186 member function, returning a pointer to the Buffer owning the inset.
188 * BufferView_pimpl.C (loadLyXFile):
189 * MenuBackend.C (expandLastfiles):
190 * bufferlist.C (MenuWrite, QuitLyX):
191 lastfiles is no longer a global variable.
192 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
194 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
195 static function. Access through LyX::cref().emergencyCleanup().
197 2003-10-14 André Pönitz <poenitz@gmx.net>
199 * iterators.[Ch]: new direct access to innermost LyXText and Inset
201 * undo.[Ch]: restoring part of 'undo in insets'
204 * undo_funcs.[Ch]: merge with undo.[Ch]
206 * tabular.C: small cleansing stuff
208 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
210 * paragraph_funcs.C (readParToken): report unknown insets as error
211 boxes. Use the outer paragraph as location (also for unknown
214 * factory.C (readInset): do not abort on reading an unknown inset.
217 2003-10-13 Angus Leeming <leeming@lyx.org>
219 * lyx_main.C (LyX): remove call to setDisplayTranslator().
221 * lyxrc.C: displayTranslator is now a function,
222 declared in GraphicsTypes.h.
224 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
226 * format.C: new placeholder $$a to pass the socket address.
228 * bufferlist.[Ch]: new function getBufferFromTmp.
230 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
231 files in the temporary dir.
233 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
235 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
237 * Makefile.am: add lyxsocket.[Ch].
239 * lyx_main.C (error_handler): handle SIGPIPE.
241 2003-10-13 André Pönitz <poenitz@gmx.net>
243 * BufferView_pimpl.C:
248 * undo_funcs.[Ch]: use paroffset_type instead of
249 ParagraphList::iterators to prevent multiple conversion
250 (and get a more robust interface)
252 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * lyxfunc.C (dispatch): RESULT -> dispatch_result
256 * text3.C (dispatch): ditto
258 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * LaTeX.C (handleFoundFile): move the static to smaller scope,
261 move the onlyfile, use onlyfile instead of foundfile in a couple
264 * DepTable.C (update): flush the error stream a bit more
266 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
268 * lyxserver.C (callback): adjust
270 * lyxfunc.C (getStatus): add a missing brace in commented code
271 (ensureBufferClean): reindent
272 (dispatch): delete version taking a string
274 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
276 * LaTeX.C (deplog): move found file handlig from here...
277 (handleFoundFile): .. to new function here.
278 (deplog): make sure to discover several files mentioned on the
281 2003-10-10 André Pönitz <poenitz@gmx.net>
288 * text3.C: fix some of the tabular crashes
290 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
292 * MenuBackend.C (binding): put debug message into Debug::KBMAP
294 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
296 2003-10-09 André Pönitz <poenitz@gmx.net>
298 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
301 * BufferView_pimpl.C:
302 * bufferview_funcs.C:
313 * undo_funcs.C: adjust
315 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
317 * text2.C (incrementItemDepth): new function, use a backtracking
318 algorithm to discover the correct item depth.
319 (resetEnumCounterIfNeeded): new function, use a backtracking
320 algorithm to discover if counter reset is needed.
321 (setCounter): use them. Simplify a bit. Add different labels for
322 different item depths for itemize.
324 * paragraph.C (Paragraph): remove initialization of enumdepth
327 * paragraph.h: get rid of enumdepth, and use itemdepth both for
328 enumerate and itemize. Change the type of itemdepth to signed char.
330 2003-10-08 André Pönitz <poenitz@gmx.net>
332 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
337 * tabular.[Ch]: fix crash after 'row-insert'
339 2003-10-08 Angus Leeming <leeming@lyx.org>
341 Fix doxygen warnings.
343 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
344 Remove CutAndPaste:: prefix from header file declaration.
346 * LColor.h (fill): remove LColor:: prefix from declaration.
348 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
349 use lyx::depth_type rather than Paragraph::depth_type so that
350 header file and .C file match.
352 * converter.h (intToFormat): remove Converters:: prefix from declaration.
354 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
355 * aspell.C: \file aspell_local.C -> \file aspell.C
356 * gettext.C: \file gettext.C -> \file src/gettext.C
357 * gettext.h: \file gettext.h -> \file src/gettext.h
358 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
359 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
360 * text.C: \file text.C -> \file src/text.C
362 * toc.C: move comment so that doxygen is not confused.
364 2003-10-07 Angus Leeming <leeming@lyx.org>
366 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
368 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
371 * aspell_local.h: add forgotten std::string's.
373 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
380 * text3.C: The Box patch. Fancybox support, minipage, parbox
382 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
388 * ParagraphParameters.h:
398 * lyxtextclasslist.h:
402 * textcursor.h: add <string> and other small fixes to make Lars'
403 std::string patch compile with STLport.
405 2003-10-06 Angus Leeming <leeming@lyx.org>
407 * LColor.h: Add missing #include <string>.
409 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * All most all file in all subdirs: Make <string> be the prefered
412 way of getting to std::string, add using declarations.
414 2003-10-06 André Pönitz <poenitz@gmx.net>
416 * metricsinfo.C: initialize LyXFont before changing attribute.
417 (fixes the 'math in \emph is upright' bug)
419 2003-10-06 André Pönitz <poenitz@gmx.net>
421 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
423 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
426 * paragraph_pimpl.C: Small fixes to build using STLport
428 2003-10-02 André Pönitz <poenitz@gmx.net>
431 * text3.C: move handling of LFUN_DEPTH *; fix #1360
433 2003-10-01 André Pönitz <poenitz@gmx.net>
435 * factory.C: assert early
437 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
439 * lyx_main.C: remove the global debug object
441 * debug.h: adjust for new debugstream
443 * debug.C: adjust for new debugstream and keep the global debug
446 2003-09-22 Angus Leeming <leeming@lyx.org>
448 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
449 of g++ which otherwise complain that the scoped_ptr destructor can't delete
450 an incomplete class LyXFont.
452 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
454 * factory.C: bug fix in branches
456 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
458 * lyxfunc.C (processKeySym): adjust
460 (dispatch): change arg name from ev to func, adjust
461 (sendDispatchMessage): ditto
463 * lyx_main.C (defaultKeyBindings): adjust keybindings
464 (deadKeyBindings): ditto
466 * kbsequence.C (addkey): return a FuncRequest
468 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
470 * kbmap.C (bind): take a FuncRequest as arg, adjust
473 (defkey): change to take a FuncRequest as arg, adjust
474 (findbinding): take a FuncRequest as arg, adjust.
476 * funcrequest.h (operator=): added
478 * funcrequest.C (FuncRequest): default kb_action changed from
479 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
481 * buffer.C (dispatch): simplify
482 (dispatch): adjust to take a FuncRequest as arg, adjust
484 * boost.C (assertion_failed): change assertion message slightly
486 * ToolbarBackend.C (read): simplify
488 * MenuBackend.C (binding): adjust call to findbinding, add a
489 message if no binding is found.
491 (expandToc): correct by adding a empty FuncRequest
493 * LyXAction.C: include <boost/assert.hpp>
494 (isPseudoAction): delete function
495 (LookupFunc): change name to...
496 (lookupFunc): this. change return type to FuncRequest.
497 (getActionName): take kb_action as arg, simplify
498 (funcHasFlag): add an assert, simplify.
500 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
502 * toc.C (action): return a FuncRequest, simplify
504 * lyxfunc.C (processKeySym): adjust
505 (getStatus): delete version that takes an int.
507 (dispatch): delete version that takes action as int
509 (sendDispatchMessage): simplify and adjust
511 * funcrequest.C (getArg): take unsigned int as arg
513 * ToolbarBackend.C (read): adjust
514 (add): delete version that takes func as a string.
515 (getIton): take a FuncRequest as arg
517 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
520 * MenuBackend.C (MenuItem): add a new construct that only takes a
521 Kind, simplify the constructor use for submenus.
523 (expandLastfiles): adjust
524 (expandDocuments): adjust
525 (expandFormats): adjust
526 (expandFloatListInsert): adjust
527 (expandFloatInsert): adjust
528 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
530 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
531 Remove class variables lyx_pseudo_map and lyx_arg_map
533 * LyXAction.C (searchActionArg): delete function
534 (getPseudoAction): delete function
535 (retrieveActionArg): delete function
536 (LookupFunc): make it return kb_action, simplify.
537 (getActionName): simplify
539 * factory.C (createInset): fix new bug
541 2003-09-19 Angus Leeming <leeming@lyx.org>
543 * CutAndPaste.C (pasteSelection): remove fudge used to set the
544 masterFilename_ parameter in the include inset.
546 * factory.C (createInset): changes due to the changes to InsetInclude.
548 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
550 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
552 2003-09-18 Angus Leeming <leeming@lyx.org>
555 * BufferView.C: pass the buffer when calling Inset::getLabelList,
556 Inset::fillWithBibKeys.
557 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
559 2003-09-18 Angus Leeming <leeming@lyx.org>
561 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
563 (ctor): pass and store a 'Buffer const &'
564 (buffer): new member function.
566 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
567 '*this' to the LaTeXFeatures ctor.
569 2003-09-18 Angus Leeming <leeming@lyx.org>
575 * text.C: rename EnumLColor as LColor_color.
577 2003-09-18 Angus Leeming <leeming@lyx.org>
579 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
580 remove #include "insets/insetbase.h" from cursor.h.
582 2003-09-18 Angus Leeming <leeming@lyx.org>
584 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
585 InsetOld_code to remove #include "inset.h".
587 * iterators.C: add #include "insets/inset.h"
589 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
591 * BufferView.C: remove more locking stuff that apparently doesn't
592 do anything sensible.
594 2003-09-16 André Pönitz <poenitz@gmx.net>
597 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
600 2003-09-16 Angus Leeming <leeming@lyx.org>
602 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
604 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
607 * paragraph.h: remove #include "lyxfont.h". Forward declare
610 2003-09-16 Angus Leeming <leeming@lyx.org>
612 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
613 of support/textutils.h.
614 (isWord): move the contents of support/textutils.h's IsWordChar here.
620 * text2.C: add #include "paragraph.h".
623 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
625 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
631 * LaTeX.C: use namespace alias for lyx::support::os
633 2003-09-16 Angus Leeming <leeming@lyx.org>
636 * bufferview_funcs.C:
641 * text.C: add #include "LColor.h".
643 2003-09-16 Angus Leeming <leeming@lyx.org>
645 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
646 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
648 Store the FontBits::color variable as an int rather than as an
649 LColor::colorso that we can move LColor.h out of the lyxfont.h header
652 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
653 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
654 string calls together.
656 * lyxrc.C: add #include "LColor.h".
658 2003-09-15 Angus Leeming <leeming@lyx.org>
660 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
663 2003-09-15 Angus Leeming <leeming@lyx.org>
665 * LColor.h: add an EnumLColor wrapper for LColor::color.
667 * lyxfont.[Ch] (color, setColor, realColor):
668 * lyxtext.h, text.C (backgroundColor):
669 pass EnumLColor args to/from the functions, rather than LColor::color
673 * lyxtext.h: forward declare EnumLColor.
675 * lyx_main.C: add #include "LColor.h".
677 2003-09-15 Angus Leeming <leeming@lyx.org>
679 * .cvsignore: add lyx-gtk.
681 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * ParagraphParameters.C
700 * vc-backend.C: remove usage of STRCONV
702 2003-09-15 Angus Leeming <leeming@lyx.org>
704 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
705 explicitly define the color passed to the painter.
707 2003-09-15 Angus Leeming <leeming@lyx.org>
709 * bufferparams.C (BufferParams): reorder member initializers to avoid
712 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
714 * CutAndPaste.C (pasteSelection): remove an outdated #warning
715 * text.C (updateRowPositions): remove an unusual nop
717 2003-09-12 André Pönitz <poenitz@gmx.net>
719 * BufferView_pimpl.C:
728 * Counters.[Ch]: finish the 'automatic counters' job
730 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
732 * aspell.C: include <boost/assert.cpp> (compile fix)
734 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
736 * boost.C (assertion_failed): use lyx::support::abort instead of
739 2003-09-10 Angus Leeming <leeming@lyx.org>
741 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
742 with their _fwd progeny.
744 2003-09-09 Angus Leeming <leeming@lyx.org>
746 134 files throughtout the source tree: replace 'using namespace abc;'
747 directives with the appropriate 'using abc::xyz;' declarations.
749 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
751 * boost.C (emergencyCleanup): moved here from LAssert.c
752 (assertion_failed): new function, called by BOOST_ASSERT
754 * several files: change Assert to BOOST_ASSERT
756 2003-09-09 Angus Leeming <leeming@lyx.org>
758 * buffer.[Ch]: Add an Impl class and move Buffer's member
759 variables into it. As a result move several header files out of
762 Add header files to lots of .C files all over the tree as a result.
764 2003-09-09 Angus Leeming <leeming@lyx.org>
766 * buffer.[Ch]: make Buffer's member variables private. Add
769 Lots of changes all over the tree as a result.
771 2003-09-08 Angus Leeming <leeming@lyx.org>
773 * graph.C: #include <config.h>.
775 2003-09-08 Angus Leeming <leeming@lyx.org>
779 * BufferView_pimpl.C:
808 * toc.C: remove redundant using directives.
810 2003-09-07 Angus Leeming <leeming@lyx.org>
812 * LaTeXFeatures.h: remove #include "support/types.h".
813 * ToolbarBackend.h: remove #include <algorithm>.
814 * changes.h: remove #include <ctime>.
815 * debug.h: remove #include <iosfwd>.
816 * graph.h: remove #include "support/std_string.h".
817 * lyx_main.h: remove #include <csignal>.
818 * lyxlex_pimpl.h: remove #include <fstream>.
819 * sgml.h: remove #include <algorithm>, <utility>.
820 * toc.h: remove #include "support/std_ostream.h".
821 Add #include <iosfwd>.
823 2003-09-07 Angus Leeming <leeming@lyx.org>
825 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
827 * converter.h: forward declare LatexRunParams.
828 * encoding.h: remove #include "lyxrc.h".
829 * lyxtext.h: remove #include "LColor.h".
830 * lyxtextclass.h: remove #include "support/types.h".
831 * trans.h: remove #include "tex-accent.h".
832 * trans_mgr.h: remove #include "tex-accent.h".
833 * insets/inset.h: remove #include "support/types.h", <vector>.
834 * insets/insetcollapsable.h: remove #include "LColor.h".
835 * insets/insetinclude.h: remove #include "dimension.h".
836 * insets/insetlatexaccent.h: remove #include "dimension.h".
837 * insets/insetoptarg.h:: remove #include "insettext.h".
838 * insets/insettext.h: remove #include "dimension.h",
839 <boost/shared_ptr.hpp>
841 * insets/renderers.h: add #include "dimension.h".
842 * insets/updatableinset.h: add #include "support/types.h".
844 * many .C files: Associated changes.
846 2003-09-06 Angus Leeming <leeming@lyx.org>
848 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
849 one, inside testInvariant.
851 * PrinterParams.C: new file.
852 * PrinterParams.[Ch]: move the function bodies out of line.
854 2003-09-06 Angus Leeming <leeming@lyx.org>
856 * ParagraphParameters.h: forward declare ParameterStruct rather than
857 including its header file.
858 (depth): moved out-of-line.
860 2003-09-06 Angus Leeming <leeming@lyx.org>
862 * BufferView_pimpl.h:
865 * lyxfunc.h: forward declare LyXKeySym rather than
866 #include "frontends/LyXKeySym.h".
868 * BufferView_pimpl.C:
871 * lyxfunc.C: associated changes.
873 2003-09-06 Angus Leeming <leeming@lyx.org>
875 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
876 As a result, can remove the #include "insets/inset.h" from BufferView.h
878 2003-09-06 Angus Leeming <leeming@lyx.org>
880 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
881 As a result, can remove the #include "insets/inset.h" from BufferView.h
883 2003-09-06 Angus Leeming <leeming@lyx.org>
889 * bufferview_funcs.C:
890 * BufferView_pimpl.C:
895 * ParagraphParameters.C:
900 * frontends/controllers/ControlDocument.C:
901 * insets/insetcaption.C: rearrange the #includes into some sort of
904 * buffer.h: remove #includes ErrorList.h, undo.h
906 2003-09-06 Angus Leeming <leeming@lyx.org>
908 * support/types.h: add a 'depth_type' typedef, used to store the
909 nesting depth of a paragraph.
912 * ParameterStruct.h: use this lyx::depth_type typedef rather than
917 * ParagraphParameters.h:
918 * sgml.h: use lyx::depth_type rather than Paragraph or
919 ParameterStruct's depth_type.
922 * paragraph_funcs.h: no need to #include paragraph.h anymore.
925 * BufferView_pimpl.C:
927 * ParagraphParameters.C:
930 * bufferview_funcs.C:
937 * frontends/LyXView.C:
938 * frontends/controllers/ControlDocument.C:
939 * frontends/controllers/ControlErrorList.C:
940 * insets/insetbibitem.C:
941 * insets/insetbranch.C:
942 * insets/insetcaption.C:
943 * insets/insetcollapsable.C:
946 * insets/insetfloat.C:
947 * insets/insetfoot.C:
948 * insets/insetfootlike.C:
949 * insets/insetnewline.C:
950 * insets/insetquotes.C:
951 * insets/insettabular.C:
952 * insets/insettext.C:
953 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
955 * frontends/controllers/ControlChanges.C: #include "changes.h".
957 2003-09-06 Angus Leeming <leeming@lyx.org>
959 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
960 than #including paragraph.h.
963 * RowList.h: deleted. Superfluous.
973 * insets/insettext.h: use ParagraphList_fwd.h rather than
976 * paragraph.h: don't forward declare ParagraphList.
979 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
980 rather than ParagraphList.h. paragraph.h is still needed for the
981 Paragraph::depth_type parameters.
983 * textcursor.h: enable it to compile stand-alone in light of the
986 * bufferview_funcs.C:
998 * frontends/controllers/ControlParagraph.C:
999 * frontends/controllers/ControlTabular.C:
1000 * insets/insetmarginal.C:
1001 * insets/insetminipage.C:
1002 * insets/insetnote.C:
1003 * insets/insetoptarg.C: add header files needed to compile again.
1005 2003-09-06 Angus Leeming <leeming@lyx.org>
1007 * RowList_fwd.h: new file, forward-declaring Row rather than
1008 #including lyxrow.h.
1013 * insets/insettext.h: use it instead of RowList.h
1015 * bufferview_funcs.C:
1022 * text3.C: #include "RowList.h".
1024 2003-09-05 Angus Leeming <leeming@lyx.org>
1026 * factory.C (createInset):
1027 * vspace.C (c-tor): replace sscanf call with an istringstream.
1028 * ispell.C: re-add missing HP/UX headers.
1029 * lyxserver.C: re-add missing os2 headers.
1031 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1040 * text3.C: re-add missing system headers, needed for 2.95.2.
1042 2003-09-05 Angus Leeming <leeming@lyx.org>
1044 Changes most place everywhere due to the removal of using directives
1045 from support/std_sstream.h.
1047 2003-09-05 Angus Leeming <leeming@lyx.org>
1049 Replace LString.h with support/std_string.h,
1050 Lsstream.h with support/std_sstream.h,
1051 support/LIstream.h with support/std_istream.h,
1052 support/LOstream.h with support/std_ostream.h.
1054 Changes resulting throughout the tree.
1056 2003-09-05 Angus Leeming <leeming@lyx.org>
1058 * sgml.h: ensure that the header file can be compiled stand-alone.
1059 * *.C: strip out redundant #includes. (320 in total.)
1061 2003-09-04 Angus Leeming <leeming@lyx.org>
1063 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1064 here (from getPackages).
1066 * debug.[Ch]: add a new EXTERNAL tag.
1068 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1070 * text2.C (cursorEnd): simplify
1072 (getColumnNearX): adjust
1074 * text.C (computeBidiTables): adjust
1077 * rowpainter.C (paintChars): adjust
1078 (paintSelection): adjust
1079 (paintChangeBar): adjust
1082 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1084 (numberOfSeparators): adjust
1086 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1092 * text3.C: Restricts the mouse click functionality
1093 of insets like bibtex, include, toc and floatlist to the visible
1094 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1095 up the dialogs. Cursor has to be in front of the inset (i.e.
1096 start of row) for this to function.
1098 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1100 * bufferview_funcs.C (currentState): output row information
1102 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1104 * bufferview_funcs.C (currentState): output paragraph position
1106 2003-09-04 Angus Leeming <leeming@lyx.org>
1108 * FloatList.h: move out #include "Floating.h".
1109 * LaTeX.h: move out #include "DepTable.h".
1110 * LyXAction.h: move out #include "funcrequest.h".
1111 * buffer.h: move out #include "author.h", "iterators.h".
1112 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1113 * lyx_main.h: move out #include "errorlist.h".
1114 * lyxfunc.h: move out #include "FuncStatus.h".
1115 * lyxtext: move out #include "lyxcursor.h".
1116 * paragraph_pimpl.h: move out #include "counters.h".
1118 2003-09-03 Angus Leeming <leeming@lyx.org>
1120 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1121 preamble_snippets list, enabling us to add snippets to the preamble
1122 only if the snippet was not there already.
1124 2003-09-04 Angus Leeming <leeming@lyx.org>
1126 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1128 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1130 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1133 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1135 * BranchList.C: point fix, earlier forgotten
1137 2003-09-02 Angus Leeming <leeming@lyx.org>
1139 * box.C (contains): renamed from 'contained' after a fantastic
1142 2003-09-02 John Levon <levon@movementarian.org>
1148 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1150 2003-09-02 John Levon <levon@movementarian.org>
1152 * text2.C: simplification of cursorEnd(), including partial
1155 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1157 * buffer.C (readFile): add a space
1159 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1161 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1163 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * buffer.C (readFile): new function, take a filename and a
1166 ParagraphList::iterator
1168 (readFile): adjust, make it private. don't use setStream, make
1169 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1170 always contain the filename.
1172 * BufferView.C (insertLyXFile): simplify and make it work for
1175 2003-08-30 John Levon <levon@movementarian.org>
1177 * Makefile.am: fix dist (from Kayvan)
1179 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * most files: change to use const Buffer refs
1183 2003-08-27 André Pönitz <poenitz@gmx.net>
1185 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1186 on top of ownerPar().
1188 2003-08-27 John Levon <levon@movementarian.org>
1190 * funcrequest.C: properly initialise POD members
1192 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1194 * lyxtext.h (top_y): move top_y from here
1199 * BufferView_pimpl.[Ch]: to here
1200 * frontends/screen.C:
1201 * insets/insettabular.C:
1202 * insets/insettext.C: adjust
1203 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1205 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1208 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1210 2003-08-26 André Pönitz <poenitz@gmx.net>
1212 * paragraph_func.[Ch] (outerPar): new function
1215 * paragraph_funcs.C:
1216 * paragraph_funcs.h:
1217 * paragraph_pimpl.C:
1218 * text2.C: remove Inset::par_owner
1220 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1225 * text2.C: eliminates the needFullRow/display() stuff
1226 altogether, putting the logic in metrics/draw in the insets.
1228 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1230 * text2.C (redoParagraphInternal, redoParagraphs):
1231 * text.C (redoParagraph): add a call to updateRowPositions at the
1232 end of each 'metrics-like' call. Remove all others.
1233 (getRow): remove the 'y-computing' version.
1234 (getRowNearY): do not compute nor return the real y. Solve the
1235 'y < 0' problem and simplify.
1237 2003-08-22 Angus Leeming <leeming@lyx.org>
1239 * *.[Ch]: clean-up of licence and author blurbs.
1240 Also move config.h out of a few .h files and into a few .C files.
1242 2003-08-22 André Pönitz <poenitz@gmx.net>
1244 * lyxrow.[Ch]: add x_ and *fill_ members
1249 * text2.C: adjust/remove prepareToPrint() calls
1251 2003-08-22 André Pönitz <poenitz@gmx.net>
1253 * lyxrow.[Ch]: add end_ member
1255 * lyxrow_funcs.C: use LyXRow::end_
1257 * lyxtext.h (singleWidth): add LyXFont parameter
1260 * text2.C: adjust LyXText::singleWidth() calls
1262 * text.C (redoParagraph): simplify row breaking logic
1265 2003-08-19 André Pönitz <poenitz@gmx.net>
1267 * funcrequest.C: initialize button_ member
1270 * rowpainter.[Ch]: interface consolidation
1272 2003-08-18 André Pönitz <poenitz@gmx.net>
1275 * BufferView_pimpl.C:
1277 * paragraph_funcs.C:
1279 * text3.C: remove LyXScreen::draw() and fitCursor calls
1281 * BranchList.h: remove spurious semicolons
1283 * MenuBackend.C: fix branchlist related crash
1285 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1293 * bufferparams.[Ch]:
1297 * text3.C: implements the 'branch inset'
1298 idea. This allows the output of various versions of a document
1299 from a single source version, selectively outputing or suppressing
1300 output of parts of the text.
1301 This implementation contains a 'branch list editor' in a separate
1302 tab of the document settings dialog. Branches are user definable
1303 and have a "display colour" to distinguish them on-screen.
1305 ColorHandler was somewhat cleaned up.
1306 (1) make possible a dynamically growing LColor list by allowing
1307 the graphic context cache to grow along (vector);
1308 (2) eliminate an IMHO unnecessary step in colour allocation.
1310 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1312 * BufferView_pimpl.C: compile fix
1314 2003-08-15 André Pönitz <poenitz@gmx.net>
1316 * rowpainter.C: remove extra metrics calls
1318 * lyxtext.h: merge the two constructors into a single one,
1319 pass reference to owner's par list
1321 * BufferView_pimpl.C:
1325 2003-08-15 André Pönitz <poenitz@gmx.net>
1327 * lyxrow_funcs.[Ch]:
1330 * paragraph_funcs.C:
1335 * text_funcs.C: split LyXText::rowlist_ into individual
1336 Paragraph::rows_ chunks
1339 * BufferView_pimpl.[Ch]:
1342 * text3.C: remove toggleSelection()
1344 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1346 * bufferlist.C: beautify two alerts (shorter text of buttons)
1347 * buffer.C: Remove redundant ' ' from message
1349 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1350 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1351 rename VALIGN_CENTER to VALIGN_MIDDLE
1353 2003-08-11 André Pönitz <poenitz@gmx.net>
1355 * lyxtext.h (getPar):
1356 * text.C: new function
1358 2003-08-11 André Pönitz <poenitz@gmx.net>
1361 * tracer.[Ch]: remove unneeded files
1363 * InsetList.[Ch]: remove resizeInsetsLyXText()
1368 * text3.C: merge insertParagraphs() and appendParagraph()
1369 remove breakAgain(), update()
1371 * BufferView_pimpl.[Ch]:
1372 * bufferview_funcs.[Ch]:
1376 * tabular.C: adjust after text & InsetList changes.
1378 2003-08-08 André Pönitz <poenitz@gmx.net>
1380 * text.C (insertChar, backspace): replace rowlist fiddling
1381 with rebreak of full par
1384 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1385 checkParagraph, updateInset): removed
1387 2003-08-07 André Pönitz <poenitz@gmx.net>
1390 * text3.C: merge some LFUN handlers, remove dead code
1392 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1396 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1398 * text2.C (DEPM): fix part of bug 1255 and 1256
1400 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1402 * BufferView_pimpl.C (workAreaDispatch): change to use
1403 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1404 that are no mouse related.
1406 2003-08-05 André Pönitz <poenitz@gmx.net>
1409 * BufferView_pimpl.[Ch]:
1410 * bufferview_funcs.C:
1412 * text3.C: rip out "deep update"
1414 * textcursor.[Ch] (last_sel_cursor): remove unused member
1416 2003-08-04 André Pönitz <poenitz@gmx.net>
1419 * BufferView_pimpl.[Ch]:
1420 * ParagraphParameters.C:
1421 * bufferview_funcs.C:
1427 * text3.C: replace "complicated" BufferView::update(...) calls with
1430 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1432 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1434 * Makefile.am (lyx_SOURCES): add paper.h
1436 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1438 * Makefile.am: move things around so that both lyx-qt and
1439 lyx-xforms can be built (according to --with-frontend). Then lyx
1440 is a symbolic link to lyx-[firstfrontend]
1442 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1444 * Always use std::endl with lyxerr
1446 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1448 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1450 2003-08-01 André Pönitz <poenitz@gmx.net>
1453 * BufferView_pimpl.[Ch]:
1455 * text3.C: merge BufferView::repaint() and BufferView::update()
1457 2003-08-01 José Matos <jamatos@lyx.org>
1459 * buffer.[Ch]: file_format is no longer a buffer data element.
1461 2003-08-01 André Pönitz <poenitz@gmx.net>
1466 * text2.C: make redoParagraph more independent of current cursor
1468 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1470 * text2.C: remove unneeded members
1472 2003-07-30 André Pönitz <poenitz@gmx.net>
1474 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1476 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1477 create a single function...
1479 * paragraph_funcs.C (moveItem): ... here.
1482 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1484 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1486 * LColor.[Ch]: Add comment and greyedout logical colors.
1488 2003-07-30 André Pönitz <poenitz@gmx.net>
1490 * tabular.C: don't use Assert too heavily. This crashes where it
1493 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1495 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1496 is disabled (bug 1232)
1498 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1500 * factory.C: limited 'arg' scope
1502 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1504 * factory.C: fixed Note submenu issues
1506 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1508 * factory.C: submenu for Note/Comment/Greyedout
1510 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1513 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1515 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1518 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1519 greyedout. Patch provided by Jürgen Spitzmüller.
1521 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1523 * kbmap.C (read): fix error message when reading bind files
1525 2003-07-29 Angus Leeming <leeming@lyx.org>
1527 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1528 certainly does not do what it purports to do. I am doing it, and
1529 us, a favour by killing it.
1531 2003-07-28 José Matos <jamatos@lyx.org>
1533 * buffer.C (readBody, do_writeFile):
1534 * paragraph.C(readParagraph): \end_document replaces \the_end.
1536 2003-07-29 André Pönitz <poenitz@gmx.net>
1539 * BufferView_pimpl.[Ch]:
1543 * textcursor.[Ch]: remove toggleToggle & Co
1545 2003-07-28 José Matos <jamatos@fep.up.pt>
1547 * buffer.C (readParagraph):
1548 * params_func (readParToken, readParagraph):
1549 * paragraph.C (write): \layout -> \begin_layout.
1551 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1553 * lyxlex_pimpl.C (setFile): clean up slightly.
1555 * bufferparams.h: add compressed var
1557 * buffer_funcs.C (readFile): adjust for LyXLex change
1558 (newFile): ditto + simplify
1560 * buffer.C (writeFile): handle writing of compressed files
1562 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1563 Check if the file is compressed and set a bufferparm if so.
1565 * Makefile.am (lyx_LDADD): remove explicit -lz
1567 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1569 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1570 makeDocBookFile): put the real LyX version in the first line of
1574 * version.C.in: remove lyx_docversion
1576 * tabular.C (write_attribute): add a template-based version to
1577 write enums properly
1579 2003-07-28 André Pönitz <poenitz@gmx.net>
1584 * text3.C: use doubles again for x-coordinates. They are needed.
1586 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * messages.C (getLocaleDir): use lyx_localedir()
1590 * lyxlex_pimpl.C (setFile): compress stuff
1592 * buffer.C (writeFile): add some compression stuff
1593 (do_writeFile): new func, dont call expliti close... will this
1596 * Makefile.am (lyx_LDADD): add -lz
1598 2003-07-28 José Matos <jamatos@fep.up.pt>
1600 * buffer.C: increment file format.
1601 * paragraph_funcs (readParagraph, readParToken):
1602 * paragraph.C (readParagraph): add \end_layout.
1604 2003-07-27 Angus Leeming <leeming@lyx.org>
1606 * Makefile.am: remove special casing for configure-time setting of
1607 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1609 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1610 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1612 2003-07-26 André Pönitz <poenitz@gmx.net>
1614 * paragraph_func.[Ch]:
1615 * paragraph.C (realizeFont): inline it whereever it is used
1620 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1623 2003-07-26 André Pönitz <poenitz@gmx.net>
1627 * text2.C: get rid of LyXText::need_break_row
1629 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * toc.[Ch]: put namespace toc inside namespace lyx
1633 * MenuBackend.C (expandToc2): adjust for lyx::toc
1636 * lyxfunc.C (dispatch): adjust for lyx::find
1638 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1639 lyx::find instead. Reorganize a bit.
1640 (LyXReplace): rename to replace
1641 (LyXFind): rename to find
1643 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1646 2003-07-26 André Pönitz <poenitz@gmx.net>
1648 * text.C (setHeightOfRow): restrict scope of temporary variable
1650 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1651 code (never has been used?)
1653 2003-07-27 Asger Alstrup <alstrup@local>
1655 * text.C (fill): Optimise algorithm to exploit that we can reuse
1656 the LyXFont for many characters.
1657 (setHeightOfRow): Same thing.
1658 (rowBreakPoint): Same thing.
1660 2003-07-26 Asger Alstrup <alstrup@local>
1662 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1664 * text.C (singleWidth): Spurious font copying in hot-spot
1665 singleWidth avoided. Reorder tests for arabic for efficiency.
1667 * text.C (fill): handle empty paragraphs better.
1669 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1672 * encoding.h: add includes
1674 * lyxrc.C: remove reading of bind files
1676 * lyx_main.C (init): setup bindings and menus only if we have a
1679 * kbmap.C (read): new method. Do the actual reading of bind
1682 * converter.C (dvipdfm_options):
1685 (output): adapt PAPER_* enums.
1687 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1689 * bufferparams.h: remove paper-related enums from there
1691 * paper.h: New file. A trivial header file to hold paper-related
1692 enums. It should later expand to contain many paper-related
1695 * lyxrc.C: declare extern displayTranslator
1697 2003-07-27 José Matos <jamatos@fep.up.pt>
1699 * tabular.[Ch] (linuxdoc): add support for tables and figures
1702 2003-07-27 José Matos <jamatos@fep.up.pt>
1704 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1705 consistency in both functions.
1706 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1708 2003-07-26 Asger Alstrup <alstrup@local>
1710 * rowpainter.C (paintRows): Change algorithm to work directly on
1711 the insets rather than asking every character in the document
1712 whether its an inset.
1714 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1716 * buffer.C (openFileWrite): factorize some code
1718 2003-07-26 Angus Leeming <leeming@lyx.org>
1721 * lyx_main.[Ch]: replace occurances of system_tempdir with
1724 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * rename Inset to InsetOld
1728 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1730 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1731 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1732 which I think is a bit clearer. EDIT is gone, since it was
1733 premature optimisation, and broken for mathed anyway.
1734 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1735 with cursor positioning in insets as well (math insets still do not
1736 work, but that's a different story anyway.) It mysteriously
1737 crashes sometimes with undo in the first paragraph, but I'm fairly
1738 confident that this is a compiler bug.
1740 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * paragraph.C (Paragraph): adjust for new clone return type
1744 (copyIntoMinibuffer): ditto
1746 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1748 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1749 by not having a special case, and always doing a full rebreak of
1750 the document after undo.
1752 2003-07-23 Angus Leeming <leeming@lyx.org>
1754 * factory.C (createInset): InsetExternal::setParams now takes a
1757 2003-07-23 Angus Leeming <leeming@lyx.org>
1759 * factory.C (createInset): changed interface to the external and
1760 graphics mailers' string2params functions.
1762 2003-07-23 Angus Leeming <leeming@lyx.org>
1764 * factory.C (createInset): pass a
1765 Buffer const * parameter to InsetExternalMailer's string2params.
1767 2003-07-22 John Levon <levon@movementarian.org>
1769 * Thesaurus.h: include the right aiksaurus header
1771 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1773 * MenuBackend.C (expand): check menu shortcuts unconditionally
1775 2003-07-21 Angus Leeming <leeming@lyx.org>
1777 * factory.C (createInset): pass a
1778 buffer_path parameter to InsetGraphicsMailer's string2params.
1780 2003-07-21 Angus Leeming <leeming@lyx.org>
1782 * BufferView_pimpl.C (buffer):
1785 * lyxfunc.C (dispatch):
1786 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1787 rather than the grfx shortcut.
1789 2003-07-21 André Pönitz <poenitz@gmx.net>
1791 * rowpainter.C: remove unused variables
1794 * tabular_funcs.h: move to tabular.C
1795 * Makefile.am: adjust
1797 * tabular.[Ch]: basic optical cleaning
1799 * author.h: pass references, not values
1801 2003-07-18 André Pönitz <poenitz@gmx.net>
1809 * text3.C: two-phase drawing for InsetText and InsetTabular
1810 some float -> int changes.
1812 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1814 * lyx_main.C: fix the fix
1816 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1818 * lyx_main.C: fix a crash in batch mode if no files specified
1821 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1823 * format.[Ch] (papersize): moved to BufferParams
1824 * converter.[Ch] (dvips_options): moved to BufferParams
1825 (dvipdfm_options): moved to anon namespace
1826 * bufferparams.[Ch]: added above functions.
1828 2003-07-17 André Pönitz <poenitz@gmx.net>
1832 * text2.C: don't call inset->update() anymore
1834 * metricsinfo.[Ch]: add convenience constructor
1836 2003-07-16 André Pönitz <poenitz@gmx.net>
1841 * text2.C: replace the LyXCursor::irow_ member with
1842 on-demand computation of the value
1844 2003-07-16 John Levon <levon@movementarian.org>
1846 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1848 2003-07-15 André Pönitz <poenitz@gmx.net>
1851 * text2.C: remove no more needed refresh_row
1853 2003-07-15 André Pönitz <poenitz@gmx.net>
1858 * text3.C: refresh_status tristate -> need_update bool
1860 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1862 * lyxtext.h (init): remove reinit argument (act as if always true)
1863 * text2.C: adjust to that
1865 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1867 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1868 * text3.C: use it to delete selections in some cases
1869 (bugs 441, 673, 702, 954).
1871 2003-07-14 André Pönitz <poenitz@gmx.net>
1873 * rowpainter.[Ch]: reduce interface
1875 2003-07-14 André Pönitz <poenitz@gmx.net>
1877 * BufferView_pimpl.C:
1878 * text2.C: adjust after removing unused BufferView * argument
1880 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1882 * text2.C (init): fix a crash fired on resize
1884 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1886 * buffer.[Ch]: added new closing signal
1887 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1888 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1889 BufferView::Pimpl via the closing the signal
1891 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1893 * buffer.[Ch]: take out all bv-related from buffer
1895 * BufferView_pimpl.[Ch]: connect to new signals
1896 * CutAndPaste.C: removed useless asserts
1897 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1900 * lyxfunc.C: moved view-related funciontality from vc here
1901 * paragraph.C: removed outdated comments
1904 2003-07-10 André Pönitz <poenitz@gmx.net>
1906 * BufferView_pimpl.C:
1910 * text2.C: remove InsetText::InnerCache, clean up consequences
1912 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1914 * ispell.C: fix two typos in error messages
1916 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1918 * Extend Note inset to other forms of annotation like Comment
1919 and Greyedout. Right button click gives dialog.
1921 Files modified or added (+):
1925 * ControlNote.[Ch] +
1927 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1928 frontends/controllers
1932 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1934 * aspell.C: add missing namespace lyx::support
1936 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1938 * BufferView.[Ch] (newFile): Add
1939 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1940 * LaTeX.[Ch] (message): added this signal and use it
1941 * buffer.[Ch] (busy, message): added these signals and use them
1942 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1946 * importer.C: use buffer signals instead of direct bv calling
1947 * lyx_cb.[Ch] (ShowMessage): removed
1950 * paragraph_funcs.C:
1951 * text2.C: use buffer signals
1953 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * introduce namespace lyx::graphics
1957 2003-07-02 André Pönitz <poenitz@gmx.net>
1959 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1961 2003-07-01 André Pönitz <poenitz@gmx.net>
1968 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1969 text*.C to text_func.C
1971 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * introduce namespace lyx::support
1975 2003-06-30 André Pönitz <poenitz@gmx.net>
1980 * text.C: re-enable --with-included-string
1982 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * textcursor.C: add <config.h>
1986 * text.C (getWord): remove const from word_location arg
1988 * lyxvc.C (getLogFile): fix const type order
1990 * lyxtext.h: remove const from word_location arg, add arg name
1992 * lyxlayout.h: currect type on labeltype.
1994 * importer.C: correct \file
1996 * converter.C (intToFormat): use std:: on ret val, ws changes
1998 * bufferlist.h: correct \file
2000 * buffer.C (makeLinuxDocFile): fix const type order
2001 (makeDocBookFile): ditto
2002 (fillWithBibKeys): use std:: on stdlib args.
2004 * CutAndPaste.C: fix authors.
2005 (availableSelections): use std:: on return vector
2007 2003-06-27 André Pönitz <poenitz@gmx.net>
2009 * BufferView_pimpl.C:
2010 * bufferview_funcs.C:
2018 * text3.C: remove LyXCursor::row_ member
2021 * text.C: rename fullRebreak() to partialRebreak() and implement
2022 a fullRebreak() that really bereks fully
2024 * textcursor.h: new struct for cursor-related data
2026 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2028 * lyx_main.C (LyX): get full path of document loaded on the
2031 2003-06-26 André Pönitz <poenitz@gmx.net>
2033 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2034 remove unused/broken operator>,<,>=.
2036 * text.C: remove only use of broken operator<= in an Assert().
2038 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2040 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2041 moved errorlist_.clear to showErrorList
2043 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2045 * converter.C (scanLog, runLaTeX):
2046 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2047 move the bv->showErrorList call to the callers
2048 * lyxfunc.C: i.e. here...
2050 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2051 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2052 namespace, the second to...
2053 * buffer_funcs (BufferFormat, parseErrors): added
2054 * errorlist.C (ErrorList(TeXErrors const &)): removed
2056 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2058 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2060 2003-06-24 "Garst R. Reese" <reese@isn.net>
2064 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2068 * version.C.in: change docversion to 1.4
2070 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2072 * buffer.C: fix a bug just introduced
2074 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2076 * buffer.[Ch]: added the parseError signal and use it, removed
2078 * BufferView.[Ch] (addError): moved to ...
2079 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2080 to the Buffer::parseError signal to catch (guess what) parse errors
2081 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2083 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2085 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2086 ability to create a buffer and to return an existing one from
2087 the list. Moved these functions to...
2088 * buffer_funcs.[Ch]: added
2089 * BufferView.[Ch] (loadLyXFile): added
2090 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2091 job removed from bufferlist::loadLyXFile.
2092 * buffer.C (setReadOnly): make it work without view
2093 (i.e added an if (users))
2095 2003-06-19 Angus Leeming <leeming@lyx.org>
2098 * LyXAction.C (init):
2099 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2100 with LFUN_DIALOG_SHOW <name> <data>.
2102 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2104 * CutAndPaste.C (availableSelections): small compilation fix for
2105 ancient (gcc 2.9x) compilers
2107 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * text3.C (cursorNext): add tmp var
2111 * text2.C (updateCounters): for function calling out of for clause
2112 (replaceSelectionWithString): ditto
2113 (insertStringAsParagraphs): ditto
2114 (getColumnNearX): add tmp var
2115 (setCursorFromCoordinates): add tmp var
2116 (cursorDownParagraph): add tmp var
2117 (deleteEmptyParagraphMechanism): add tmp var
2119 * text.C (insertChar): add tmp var
2121 * rowpainter.C (paintDepthBar): add tmp var
2123 * CutAndPaste.C (availableSelections): potentially check all
2124 paragraphs in a cut to fill the shown strings.
2126 2003-06-18 André Pönitz <poenitz@gmx.net>
2128 * kbmap.[Ch]: use vector<> instead of list<>
2130 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2132 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2133 pasteSelection with index
2135 * text2.C (pasteSelection): modify, call pasteSelection with index
2137 * paragraph.C (asString): reimplement version with no interval to
2138 call the one with interval.
2140 * lyxtext.h: add index arg to pasteSelection
2142 * MenuBackend.C (MenuItem): handle PasteRecent
2143 (Menu::read::Menutags): add md_pasterecent
2145 (expandPasteRecent): new function
2148 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2150 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2152 (availableSelections): new function
2154 2003-06-17 Angus Leeming <leeming@lyx.org>
2156 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2158 2003-06-17 Angus Leeming <leeming@lyx.org>
2161 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2163 * lyxfunc.C (dispatch): invoke it.
2165 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * iterators.C (operator++, ParPosition): reintroduce some
2168 const_cast for the benefit of older compilers.
2170 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * text3.C (dispatch): do not modify clipboard when doing
2173 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2174 LFUN_DELETE_SKIP on a selection selection
2176 2003-06-16 André Pönitz <poenitz@gmx.net>
2182 * tabular.[Ch]: IU of clone() and getLabelList();
2184 2003-06-13 André Pönitz <poenitz@gmx.net>
2186 * tabular.h: compactification
2188 2003-06-12 André Pönitz <poenitz@gmx.net>
2192 * tabular_funcs.h: some renaming plus whitespace
2194 2003-06-12 André Pönitz <poenitz@gmx.net>
2197 * BufferView_pimpl.C:
2203 * toc.C: Return a Paragraph & for ParIterator::operator*()
2205 2003-06-11 John Levon <levon@movementarian.org>
2209 * ToolbarBackend.C: add "Toolbars" section and
2212 2003-06-10 Angus Leeming <leeming@lyx.org>
2215 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2217 * lyxfunc.C (dispatch): invoke it.
2219 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2221 * main.C: protect <ios> with HAVE_IOS
2222 (main): protect sync_with_stdio with HAVE_IOS
2224 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2226 * text2.C (cutSelection): adjust
2227 (pasteSelection): adjust
2229 * messages.C: handle get of empty string
2231 * main.C (main): use sync_with_stdio(false)
2233 * lyxfunc.C (dispatch): adjust
2235 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2236 (WriteAs): remove unneeded BufferView arg.
2238 * bufferparams.h: use correct types on papersize, papersize2 and
2241 * bufferparams.C (readToken): adjust for type
2242 (writeLaTeX): add missing cases to switch.
2244 * bufferlist.C (quitWriteBuffer): adjust
2247 * buffer.C (asciiParagraph): remove some commented code.
2249 * CutAndPaste.C: remove current_view extern variable.
2250 (cutSelection): add BufferParams arg.
2251 (eraseSelection): add BufferParams arg.
2252 (pasteSelection): add Buffer const & arg
2254 2003-06-07 John Levon <levon@movementarian.org>
2257 * paragraph_funcs.C:
2258 * paragraph_pimpl.C:
2262 * paragraph.C: allow InsetERT to freely space lines,
2263 and some consolidation of code
2265 2003-06-06 José Matos <jamatos@fep.up.pt>
2267 * buffer.C (makeDocBookFile): fix bug #821
2269 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2271 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2273 2003-06-04 Angus Leeming <leeming@lyx.org>
2275 * buffer.C: bump format to 224.
2277 2003-06-05 André Pönitz <poenitz@gmx.net>
2279 * text2.C (redoParagraphs): remove two const_cast<>
2281 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2283 * ParagraphList.h: remove last remnants of NO_STD_LIST
2285 2003-06-03 Angus Leeming <leeming@lyx.org>
2287 * factory.C (createInset): small change to the way InsetExternal's params
2290 2003-06-04 André Pönitz <poenitz@gmx.net>
2292 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2294 * paragraph_pimpl.h:
2295 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2297 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2299 * undo_funcs.C: make some simple cases of undo work again
2301 2003-06-03 John Levon <levon@movementarian.org>
2303 * ispell.C: HPUX doesn't have sys/select.h
2306 2003-06-03 John Levon <levon@movementarian.org>
2308 * CutAndPaste.C: update tabular and include inset
2313 * paragraph.C: remove owningBuffer(), don't pass Buffer
2316 * factory.C: insetGraphicsParams changed
2318 2003-06-02 John Levon <levon@movementarian.org>
2324 * text3.C: remove insetparent
2326 2003-06-02 John Levon <levon@movementarian.org>
2329 * buffer.C: fix inset_iterator.end(), move out of line
2332 2003-06-01 John Levon <levon@movementarian.org>
2334 * text3.C: use a proper cut/paste when doing inset
2335 insert (from Jürgen Spitzmüller)
2337 2003-06-01 John Levon <levon@movementarian.org>
2339 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2341 2003-05-30 André Pönitz <poenitz@gmx.net>
2343 * rowpainter.C: unify second drawing phase
2345 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * trans_mgr.C: remove one case of current_view
2349 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2351 * paragraph_funcs.h: remove paragraph.h include
2353 * paragraph.h: delete NO_STD_LIST stuff
2355 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2357 * buffer.h: remove paragraph.h include
2359 * ParagraphList.C: delete file
2361 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2363 * toc.C (getTocList): adjust
2365 * paragraph_pimpl.C (validate): adjust
2367 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2369 * paragraph.C (Paragraph): adjust
2370 (getPositionOfInset): use const_iterator, adjust
2371 (bibitem): use const_iterator, adjust
2372 (setInsetOwner): adjust
2374 * iterators.C (operator++): adjust
2376 * InsetList.[Ch]: Replace selfmade iterator with standard
2377 vector::iterator also introduce const_iterator. Remove getPos,
2378 getInset and setInset from InsetTable. Adjust accordingly.
2380 * BufferView.C (lockInset): adjust
2381 (ChangeInsets): adjust
2383 * tabular.[Ch]: delete commented same_id functions
2385 2003-05-28 John Levon <levon@movementarian.org>
2387 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2389 2003-05-28 André Pönitz <poenitz@gmx.net>
2391 * metricsinfo.[Ch]: remove 'fullredraw' member
2393 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2395 * lyxtextclass.C (operator): remove caching.
2397 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2401 * text2.C (cursorBottom): adjust
2402 (setCounter): use ParagraphList::find, adjust
2404 * text.C (workWidth): use ParagraphList::find, adjust
2406 * lyxcursor.C (LyXCursor): adjust
2408 * buffer.C (inset_iterator): adjust
2410 * ParagraphList.h: make iterator(value_type) private, make
2411 ParagraphList a friend of iterator.
2413 * ParagraphList.C (find): new function
2415 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2417 2003-05-27 André Pönitz <poenitz@gmx.net>
2419 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2421 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2423 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2425 2003-05-26 John Levon <levon@movementarian.org>
2427 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2429 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * remove same_id from function signatures, adjust.
2433 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2435 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2437 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2439 * paragraph.C (Paragraph): get rid of same_ids parameter
2441 * ParagraphList.C (insert): adjust
2444 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * paragraph_funcs.C (breakParagraph): adjust
2447 (breakParagraphConservative): adjust
2449 * buffer.C (readParagraph): adjust
2451 * ParagraphList.C (insert): take a reference instead of a pointer
2454 * paragraph.[Ch] (id): new function
2456 * bufferlist.C (newFile): adjust
2458 * ParagraphList.C (ParagraphList): adjust
2460 (push_back): take a reference instead of a pointer.
2462 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2464 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2467 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2468 set else use old code.
2470 * ParagraphList.C: remove all NO_NEXT code and only compile this
2471 code of NO_STD_LIST is set.
2473 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2475 * BufferView_pimpl.C:
2485 * graphics/GraphicsConverter.C:
2486 * graphics/PreviewLoader.C: header adjustment
2488 2003-05-23 Angus Leeming <leeming@lyx.org>
2490 * LaTeXFeatures.[Ch] (useBabel): new method.
2491 * bufferparams.C (writeLaTeX): use it.
2493 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * ParagraphList.h (set): remove unused function.
2497 2003-05-23 André Pönitz <poenitz@gmx.net>
2500 * BufferView_pimpl.C:
2504 * undo_funcs.C: setUndo reworked
2506 * iterators.[Ch]: add access to topmost ParagraphList
2508 * lyxtext.[Ch] (workWidth): add a const
2510 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2512 * texrow.[Ch] (increasePos): remove function
2513 * exporter.C (export): removed unused var and outdated comment
2515 2003-05-23 Angus Leeming <leeming@lyx.org>
2517 * latexrunparams.h: rename fragile as moving_arg.
2518 * paragraph.C (simpleTeXOnePar): ditto.
2519 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2521 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2523 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2525 (textUndoOrRedo): comment out a currently unused var.
2527 * paragraph.h (NO_NEXT): enable NO_NEXT
2529 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2531 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2533 * exporter.C (Export): adjust for removeAutoInsets removal.
2535 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2537 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2539 * BufferView.[Ch] (removeAutoInsets): delete function
2541 2003-05-22 Angus Leeming <leeming@lyx.org>
2543 * latexrunparams.h: add a free_spacing variable.
2545 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2546 to pass moving_arg, as the data is stored in runparams.fragile.
2548 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2549 to Inset::latexOptional or to simpleTeXOnePar.
2551 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2552 free_spacing arg to Inset::latexOptional.
2554 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2557 2003-05-22 Angus Leeming <leeming@lyx.org>
2559 * latexrunparams.h: add fragile and use_babel variables.
2561 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2562 * buffer.C (makeLaTeXFile): store this returned value in
2563 runparams.use_babel, thus passing it to the inset::latex methods.
2565 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2566 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2568 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2569 longer has a fragile arg, as it is stored in runparams.fragile.
2571 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2572 moving_arg parameter as the data is stored in runparams.fragile.
2574 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2575 a fragile parameter as the data is stored in runparams.fragile.
2577 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2581 2003-05-22 Angus Leeming <leeming@lyx.org>
2583 * latexrunparams.h: add a 'bool nice' which defaults to false.
2585 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2586 now encapsulated within runparams.
2588 * bufferlist.C (updateIncludedTeXfiles):
2589 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2591 2003-05-22 Angus Leeming <leeming@lyx.org>
2593 * latexrunparams.h: new file containing struct LatexRunParams.
2594 * Makefile.am: add new file.
2596 * LaTeX.[Ch] (c-tor, run):
2597 * buffer.[Ch] (makeLaTeXFile):
2598 * bufferlist.[Ch] (updateIncludedTeXfiles):
2599 * converter.C (convert, scanLog):
2600 * converter.[Ch] (runLaTeX):
2601 * exporter.C (Export):
2602 * paragraph.[Ch] (simpleTeXOnePar):
2603 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2604 * paragraph_funcs.[Ch] (latexParagraphs):
2605 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2606 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2607 pass around a LatexRunParams parameter.
2609 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * paragraph.[Ch]: remove unused constructor
2613 * ParagraphList.C (erase): new function, taking two iterators
2615 2003-05-22 André Pönitz <poenitz@gmx.net>
2617 * undo_funcs.C: remove duplicated code
2619 * iterator.[Ch]: operator=
2621 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * tabular.C (SetMultiColumn): ws changes
2625 * rowpainter.C (paintFirst): get rid of a ->previous
2627 * lyx_cb.C (getPossibleLabel): parlist simplification
2629 * BufferView.C (ChangeInsets): simplify slightly.
2631 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2633 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2634 * lfuns.h: new LFUN_SPACE
2635 * lyxfunc.C: protected space has a new lfun
2636 * paragraph_funcs.C: read new space insets
2638 * factory.C: handle new space insets
2640 2003-05-22 André Pönitz <poenitz@gmx.net>
2643 * BufferView_pimpl.C:
2646 * undo_funcs.C: return a ParIterator from getParFromID.
2648 * iterators.[Ch]: add two const's
2650 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * toc.C (getTocList): adjust
2654 * iterators.[Ch]: rework for parlist
2656 * buffer.C (par_iterator_begin): adjust
2657 (par_iterator_end): adjust
2659 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2661 * BufferView.C (removeAutoInsets): adjust
2662 (ChangeInsets): adjust
2664 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2666 * text.C (top_y): fix bug 1110
2668 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2670 * errorlist.[Ch]: added
2673 * BufferView_pimpl.C:
2674 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2677 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * Makefile.am: ensure that lyx is relinked upon changes to the
2680 various "convenience" libs.
2682 2003-05-20 Angus Leeming <leeming@lyx.org>
2684 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2685 files are compiled in alphabetical order again.
2687 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2689 2003-05-19 Angus Leeming <leeming@lyx.org>
2691 * gettext.[Ch]: remove "char const * _(char const *)".
2693 2003-05-19 André Pönitz <poenitz@gmx.net>
2695 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2704 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2706 2003-05-19 André Pönitz <poenitz@gmx.net>
2710 * lyxtextclass.[Ch]:
2712 * paragraph_funcs.[Ch]:
2714 * text3.C: more insetenv work
2716 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2718 * ParagraphParameters.C (params2string): small bug fixed
2720 2003-05-16 André Pönitz <poenitz@gmx.net>
2723 * bufferview_funcs.C: patch from Kornel Benko to prevent
2724 crash when _(...) is called twice in a statement
2726 2003-05-16 André Pönitz <poenitz@gmx.net>
2733 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2735 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2737 * lyx_main.C (init): remove spurious static_cast
2739 2003-05-14 André Pönitz <poenitz@gmx.net>
2741 * BufferView.C: fix format string
2743 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2745 * BufferView.[Ch] (insertErrors): removed
2746 * BufferView.[Ch] (showErrorList): added
2747 * buffer.C (runChkTeX):
2748 * converter.C (scanLog): call showErrorList instead of inserterrors
2750 2003-05-13 André Pönitz <poenitz@gmx.net>
2752 * BufferView_pimpl.C:
2754 * bufferview_func.C:
2761 * tabular_funcs.h: tostr() from its own header
2763 * ParagraphParameters.C:
2768 * text3.C: STRCONV()
2770 2003-05-12 André Pönitz <poenitz@gmx.net>
2773 * BufferView_pimpl.C:
2777 * ParagraphParameters.C:
2781 * bufferview_funcs.C:
2794 * paragraph_funcs.C:
2798 * text3.C: boost::format -> bformat all over the place
2801 2003-05-09 André Pönitz <poenitz@gmx.net>
2803 * LColor.[Ch]: Pimpl the #include <map> away
2805 2003-05-09 John Levon <levon@movementarian.org>
2807 * bufferlist.C: never remove emergency saves
2809 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * Makefile.am: better lib building
2813 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2817 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2818 (simpleTeXSpecialChars): adjust
2819 (simpleTeXSpecialChars): adjust
2820 * paragraph.C (simpleTeXOnePar): adjust
2821 * buffer.C (makeLaTeXFile): adjust
2823 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2825 * text2.C (changeDepth): parlist cleanup
2826 (getColumnNearX): ditto
2828 * rowpainter.C (getLabelFont): parlist cleanup
2830 * bufferlist.C (newFile): parlist cleanup
2832 * CutAndPaste.C (eraseSelection): parlist cleanup
2834 * BufferView_pimpl.C (trackChanges): parlist cleanup
2837 * BufferView.C (lockInset): parlist cleanup.
2838 (ChangeInsets): ditto
2840 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2842 * CutAndPaste.h: Update file header.
2844 * CutAndPaste.C: Update file header.
2845 Store the parts cut out of the Document in a limited_stack.
2846 (copySelection): adjust
2847 (pasteSelection): new function, takes the index in the limited stack.
2848 (nrOfParagraphs): adjust
2849 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2850 simplify error inset insertion.
2851 (checkPastePossible): adjust
2853 2003-05-06 John Levon <levon@movementarian.org>
2855 * text2.C: don't cast wrap inset to float
2857 2003-05-05 André Pönitz <poenitz@gmx.net>
2860 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2862 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2863 few naked Paragraph *.
2865 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2867 * bufferparams.C: Output warning if a document with missing
2868 TeX document class is loaded
2869 * exporter.C: Disable TeX exports if the document class is missing
2872 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2873 isTeXClassAvailable()
2875 2003-05-03 John Levon <levon@movementarian.org>
2878 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2879 explicit cursor show/hide
2881 * BufferView_pimpl.h:
2882 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2883 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2885 * lyxfunc.C: hide cursor before dispatching.
2890 * text3.C: remove explicit cursor hides
2892 2003-05-02 André Pönitz <poenitz@gmx.net>
2894 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2897 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2900 * text2.C: tiny whitespace
2902 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * undo_funcs.C: almost only ws changes.
2906 * ParagraphList.C (splice): just return if pl is empty.
2908 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * ParagraphList.C (splice): new function.
2912 * CutAndPaste.C (pasteSelection): use it
2914 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2916 * CutAndPaste.C (pasteSelection): remove the last next and
2917 previous from this file.
2919 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2921 * CutAndPaste.C (pasteSelection): more clean up, user proper
2922 ParagraphList functions for pasteing.
2924 * ParagraphList.C (insert): new function, three arg insert
2926 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * ParagraphList.C (insert): new function, three arg insert
2930 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2933 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2937 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2941 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2944 (copySelection): clean up a bit.
2945 (pasteSelection): use make_pair
2947 * ParagraphList.C (ParagraphList): implement copy constructor
2948 (operator=): implement, base on copy constructor.
2951 * paragraph.C (erase): return a bool
2953 * paragraph_pimpl.C (erasePos): remove function, move contents...
2954 (erase): ... here. Return a bool.
2955 (erase): call erase instead of erasePos.
2957 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2959 * ParagraphList.h: define PitPosPair
2960 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2961 ParagraphList, fix a bug on pasting multiple pars
2962 * text2.C: change interface to C&P
2964 2003-04-30 André Pönitz <poenitz@gmx.net>
2966 * undo_func.C: revert part of yesterday's patch 2
2968 2003-04-30 John Levon <levon@movementarian.org>
2970 * LColor.C: s/tabular/table/
2972 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * text3.C (dispatch): do not convert iterator -> pointer
2975 * undo_funcs.C (setCursorParUndo): ditto
2976 * text_funcs.C (transposeChars): ditto
2978 * text2.C (setLayout): ws changes only
2980 * text.C (breakParagraph): do not convert iterator -> pointer
2982 (acceptChange): ditto
2983 (rejectChange): ditto
2988 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2991 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2993 * text3.C (gotoInset): YABG (yet another bad getChar)
2995 2003-04-29 André Pönitz <poenitz@gmx.net>
2997 * paragraph.h: make operator= private unimplemented as long as
3000 * ParagraphList.C: whitespace
3003 * paragraph_pimpl.[Ch]:
3004 * paragraph_funcs.C:
3006 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3009 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3011 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3013 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3014 * paragraph.[Ch] (erase):
3015 * paragraph_pimpl.[Ch] (erase): change return type and value
3016 * text2.C (cutSelection): some rework
3018 2003-04-28 John Levon <levon@movementarian.org>
3020 * bufferlist.C: changes for unsaved changes dialog
3022 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3024 * bufferlist.C (newFile): set language (messages_) for new
3027 * buffer.C (readFile): ws changes only.
3029 2003-04-28 André Pönitz <poenitz@gmx.net>
3034 * BufferView_pimpl.C:
3035 * BufferView.C: getParFromID related ParagraphList::iterator changes
3037 2003-04-28 André Pönitz <poenitz@gmx.net>
3039 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3042 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * messages.C: remove one more localedir class variable.
3046 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3048 * messages.C (getLocaleDir): singleton generation function
3050 (Messages): add a default constructor.
3052 * main.C (main): do not setup localedir here, do not call
3055 * gettext.C (_): use it.
3056 (gettext_init): delete funciton
3058 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * gettext.C (getLyXMessages): new singleton generating function.
3062 * buffer.C (updateDocLang): adjust
3064 * Makefile.am (messages.o): add target
3065 (main.o): remove target
3067 2003-04-27 John Levon <levon@movementarian.org>
3072 * lyxvc.C: specify cancel button in Alert::prompt
3074 2003-04-26 John Levon <levon@movementarian.org>
3079 * LyXAction.C: add LFUN_INSET_SETTINGS
3081 * lyxfunc.C: don't enable tabular-feature when there's
3082 just any locking inset
3084 2003-04-26 John Levon <levon@movementarian.org>
3086 * bufferlist.C: re-add Cancel to buffer close question
3088 * lyxfunc.C: fix import UI a bit
3090 2003-04-25 John Levon <levon@movementarian.org>
3092 * gettext.C: remove the broken asserts for now
3094 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * messages.C: make case where setlocale cannot comply work better.
3098 * buffer.C (updateDocLang): new function
3099 (changeLanguage): use it
3102 * text2.C (setCounter): use B_ a bit.
3104 * lyxlayout.C (Read): be sure to trim the label strings.
3106 * messages.C (Messages): fix typo in comment
3108 * buffer.C (readFile): set message_ after file is loaded.
3109 (makeDocBookFile): remove double return
3110 (changeLanguage): reset message_ upon language change.
3111 (B_): new func, use this to get translated buffer strings.
3113 * main.C: add myself and Jean Marc as authors.
3115 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * messages.[hC]: pimplify Messages, and three different pimpls to be
3118 used in different circumstances.
3120 * gettext.[Ch]: change for use with new message code.
3122 2003-04-24 André Pönitz <poenitz@gmx.net>
3124 * factory.C: support for eqref
3126 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * messages.[Ch]: add missing char
3130 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3132 * messages.[Ch]: New files
3134 2003-04-18 John Levon <levon@movementarian.org>
3138 * BufferView_pimpl.C:
3142 * text2.C: remove layout-copy/paste (bug 778)
3144 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3146 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3148 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3150 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3151 if they succeed. Act accordingly.
3153 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * text2.C (setCharFont): adjust
3156 (setCounter): adjust
3157 (insertStringAsLines): adjust
3159 * text.C (leftMargin): adjust
3160 (setHeightOfRow): adjust
3162 * rowpainter.C (paintFirst): adjust
3165 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3167 (isFirstInSequence): ditto
3168 (getEndLabel): ditto
3171 * paragraph.C (getParLanguage): comment out some hard stuff.
3173 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3175 (simpleDocBookOnePar): ditto
3176 (makeDocBookFile): use ParagraphList::iterator
3178 * CutAndPaste.C (pasteSelection): adjust
3180 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * text2.C (getFont): adjust
3183 (getLayoutFont): adjust
3184 (getLabelFont): adjust
3186 * paragraph_funcs.C (TeXOnePar): adjust
3188 * buffer.C (simpleLinuxDocOnePar): adjust
3189 (simpleDocBookOnePar): adjust
3191 * CutAndPaste.C (pasteSelection): adjust
3193 * BufferView.C (getEncoding): adjust
3195 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3197 2003-04-16 John Levon <levon@movementarian.org>
3199 * lyxfind.C: use parlist stuff for search/changes
3201 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3203 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3205 * text2.C (deleteEmptyParagraphMechanism): adjust
3207 * text2.[Ch] (ownerParagraph): delete func (both of them
3209 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3213 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * ParagraphList.C: prepare for NO_NEXT
3217 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * text2.C (getFont): adjust
3220 (getLayoutFont): adjust
3221 (getLabelFont): adjust
3223 * paragraph.C (getFont): adjust
3224 (getLabelFont): adjust
3225 (getLayoutFont): adjust
3227 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3229 2003-04-15 John Levon <levon@movementarian.org>
3233 * lyx_main.C: handle Include in .ui files
3235 2003-04-15 John Levon <levon@movementarian.org>
3237 * MenuBackend.C: make the doc files length shorter
3240 * ToolbarBackend.C: handle toolbar placement flags,
3243 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3248 * paragraph_funcs.C (TeXOnePar): adjust
3250 * paragraph.C (getLabelFont): add outerfont arg, adjust
3251 (getLayoutFont): ditto
3252 (simpleTeXOnePar): adjust
3254 * paragraph_pimpl.C (realizeFont): delete func
3256 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3258 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3259 row argument, constify cur argument.
3261 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * text2.C (getFont): adjust
3264 (getLayoutFont): adjust
3265 (getLabelFont): adjust
3267 * paragraph_funcs.C (TeXOnePar): adjust
3268 (outerFont): new func...
3269 (realizeFont): ...moved out from here, changed this to facilitate
3272 * paragraph.C (getFont): take outerfont as arg, adjust
3273 (simpleTeXOnePar): add outerfont arg, adjust
3275 * buffer.C (simpleLinuxDocOnePar): adjust
3276 (simpleDocBookOnePar): adjust
3278 * CutAndPaste.C (pasteSelection): adjust
3280 * BufferView.C (getEncoding): adjust
3282 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * text2.C (setCharFont): adjust
3285 (setCounter): adjust
3287 * text.C (leftMargin): adjust
3288 (setHeightOfRow): adjust
3290 * rowpainter.C (paintFirst): adjust
3293 * paragraph_pimpl.C (realizeFont): adjust
3295 * paragraph.C (isFirstInSequence): move from here...
3296 * paragraph_funcs.C (isFirstInSequence): ...to here
3298 * paragraph.C (outerHook): move from here...
3299 * paragraph_funcs.C (outerHook): ...to here
3301 * paragraph.C (depthHook): move from here...
3302 * paragraph_funcs.C (depthHook): ...to here
3304 * paragraph.C (getEndLabel): move from here...
3305 * paragraph_funcs.C (getEndLabel): ...to here
3307 * text2.C (realizeFont): move from here...
3308 * paragraph_funcs.C (realizeFont): ...to here
3310 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3312 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3314 2003-04-14 Angus Leeming <leeming@lyx.org>
3316 * LColor.[Ch]: scrap LColor mathcursor.
3318 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * lyxlex.[Ch] (text): delete function
3321 * trans.C (Load): adjust
3322 * paragraph_funcs.C (readParToken): adjust
3324 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3327 vector<char> instead of a char[].
3329 * lyxlex_pimpl.C (getString): adjust
3331 (lex): use getString
3335 * lyxlex.C (text): use pimpl_->getString()
3339 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3341 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3342 (makeFontEntriesLayoutSpecific): temp var for par.size()
3343 (setLayout): temp var for ownerParagraphs().end()
3344 (fullRebreak): temp var for rows().end()
3345 (selectionAsString): temp var for boost::next(startpit), realize
3346 that the while really is a regular for loop.
3347 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3348 setCursor in one place.
3349 (setParagraph): temp vr for ownerParagraphs().end()
3350 (updateCounters): make the while loop a for loop
3351 (cutSelection): temp var for ownerParagraphs().end()
3352 (updateInset): make the do {} while() a regular for loop
3353 (getCursorX): use temp vars
3354 (setCurrentFont): use temp vars
3355 (getColumnNearX): use temp vars
3357 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * text.C (transformChar): use temp var for getChar
3360 (computeBidiTables): use temp var for row->par()
3361 (fill): move temp vars for row->par() and pit->layout() earlier in
3363 (labelFill): use temp var for row->par()
3364 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3365 asc and desc, realize that pit never changes and that firstpit is
3366 just a duplicate and not needed. Exchange rit->par() with pit in a
3368 (breakAgain): use a temp var for boost::next(rit)
3369 (breakAgainOneRow): ditto
3370 (breakParagraph): use a temp var for rows().begin()
3371 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3372 (cursorRightOneWord): use temp var for cursor.par() and
3373 cursor.pos(), remove usage of tmpcursor.
3374 (cursorLeftOneWord): use temp var for cursor.par() and
3375 cursor.pos() only set cur at end of function.
3377 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * text.C, text2.C: exchange all usage of Paragraph::next with
3380 boost::next(ParagraphList::iterator)
3382 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3384 * text2.C (cursorTop): simplify implementation
3385 (cursorBottom): ditto
3386 (setParagraph): use ParagraphList::iterator
3387 (setCurrentFont): adjust
3388 (getColumnNearX): adjust
3389 (cursorRight): adjust
3390 (cursorLeft): remove usage of Paragraph::previous
3391 (cursorUpParagraph): ditto
3392 (deleteEmptyParagraphMechanism): slight cleanup
3394 * text.C (isBoundary): take a Paragraph const & instead of a
3396 (addressBreakPoint): ditto
3397 (leftMargin): remove usage of Paragraph::previous.
3398 (setHeightOfRow): ditto
3399 (cursorLeftOneWord): ditto
3400 (selectNextWordToSpellcheck): ditto
3403 (breakParagraph): remove one usage of Paragraph::next
3404 (redoParagraph): ditto
3405 (acceptChange): ditto
3406 (insertChar): adjust
3407 (rowBreakPoint): adjust
3409 * bufferview_funcs.C (toggleAndShow): adjust
3411 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3413 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3414 methods to access it.
3416 * text.C: Added updateRowPositions to compute all row positions.
3417 Make top_y and getRowNearY() to use the cached y position
3419 2003-04-11 John Levon <levon@movementarian.org>
3421 * text.C (rowBreakPoint): reintroduce the labelEnd
3422 checks, code copied from the row fill stuff. Deep voodoo.
3424 * text.C (fill): add a comment and debugging for the
3427 2003-04-11 John Levon <levon@movementarian.org>
3429 * text.C: make sure fullrow insets get wrapped to the next line,
3430 even when they're in a manual label
3432 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * text2.C (insertParagraph): make it take ParagraphList::iterator
3436 (setLayout): make it return ParagraphList::iterator
3437 (redoParagraphs): ditto
3439 (checkParagraph): ditto
3441 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3443 * text2.C: adjust several funcs.
3444 (realizeFont): take a ParagraphList::iterator as arg.
3445 (getLayoutFont): ditto
3446 (getLabelFont): ditto
3447 (setCharFont): ditto
3449 * text.C: adjust several funcs.
3451 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3453 * text.C (selectNextWordToSpellcheck): don't accidentally
3456 2003-04-10 John Levon <levon@movementarian.org>
3458 * ToolbarBackend.C (getIcon): special handling for
3461 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3463 * text2.C (cursorRight): a getChar assert fixed
3465 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * text2.C (getFont): change to take a ParagraphList::iterator
3468 instead of Paragraph*
3469 Adjust several functions.
3471 * text.C (transformChar): change to take a ParagraphList::iterator
3472 instead of Paragraph*
3473 (singleWidth): ditto
3474 Adjust several functions.
3476 * rowpainter.C: adjust several functions
3477 * rowpainter.h:store a ParagraphList::iterator and not a
3481 2003-04-09 John Levon <levon@movementarian.org>
3486 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3487 and the "help" bits as well
3489 2003-04-09 John Levon <levon@movementarian.org>
3492 * ToolbarBackend.C: allow multiple toolbars
3494 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3496 * undo_funcs.C (setCursorParUndo): adjust
3498 * text_funcs.C (transposeChars): adjust
3500 * text3.C (gotoNextInset): adjust
3503 * text2.C (setLayout): adjust
3504 (changeDepth): adjust
3506 (redoParagraphs): adjust
3507 (selectionAsString): adjust
3508 (setParagraph): adjust
3509 (insertInset): adjust
3510 (cutSelection): adjust
3511 (copySelection): adjust
3512 (pasteSelection): adjust
3513 (insertStringAsLines): adjust
3514 (updateInset): adjust
3515 (setCursor): change to take a ParagraphList::iterator parameter
3516 (setCursorIntern): change to take a ParagraphList::iterator parameter
3517 (setCurrentFont): adjust
3518 (cursorLeft): adjust
3519 (cursorRight): adjust
3520 (deleteEmptyParagraphMechanism): adjust
3522 * text.C (breakParagraph): adjust
3523 (insertChar): adjust
3524 (acceptChange): adjust
3525 (rejectChange): adjust
3526 (selectNextWordToSpellcheck): adjust
3527 (changeCase): adjust
3531 * lyxfind.C (SearchForward): adjust
3532 (SearchBackward): adjust
3533 (nextChange): adjust
3535 * lyxcursor.C (par): adjust
3537 * lyxcursor.h: store a ParagraphList::iterator instead of a
3540 * lyx_cb.C (getPossibleLabel): adjust
3542 * bufferview_funcs.C (toggleAndShow): adjust
3544 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3547 * BufferView.C (removeAutoInsets): adjust
3548 (lockedInsetStoreUndo): adjust
3550 2003-04-09 John Levon <levon@movementarian.org>
3552 * ToolbarBackend.C: try icon without argument
3553 if with argument fails
3555 2003-04-08 John Levon <levon@movementarian.org>
3558 * ToolbarBackend.C: add getIcon(), handle tooltip,
3559 and change from "Icon" to "Item".
3561 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3563 * BufferView.C (lockInset): another bad getchar crunched
3565 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3567 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3570 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3572 * lyxfind.C (searchForward, searchBackwards): bug 782
3574 2003-04-07 John Levon <levon@movementarian.org>
3576 * paragraph.C: remove dead comment
3578 * text.C: remove troublesome depth-fiddling code
3579 in leftMargin() and rightMargin() (bug 1017)
3581 * text.C: fix breaking of rows in nested lists
3584 * text2.C (updateCounters): fix up depth values
3587 2003-04-07 John Levon <levon@movementarian.org>
3589 * BufferView_pimpl.C: clear message when doc finishes resizing,
3590 and after a mouse event
3592 * lyxfunc.C: clear message after exiting inset
3594 2003-04-07 John Levon <levon@movementarian.org>
3596 * bufferview_funcs.C: show math status not outside
3597 status in the statusbar
3599 2003-04-07 John Levon <levon@movementarian.org>
3601 * lyxfunc.C: note status changed after a depth change
3603 2003-04-04 Angus Leeming <leeming@lyx.org>
3605 * LaTeX.h: move AuxInfo operator==, != out of line.
3606 Remove LaTeX virtual destructor; nothing derives from it.
3607 Move operator()() out of public area and rename it startscript().
3608 Change protected for private.
3610 2003-04-04 Angus Leeming <leeming@lyx.org>
3613 * text2.C: remove unneeded #includes.
3615 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3617 * text2.C (dEPM): fix the heigth of the next row
3619 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3621 * text.C: squashed an invalid getChar requester + some ws changes
3623 2003-04-03 John Levon <levon@movementarian.org>
3625 * bufferview_funcs.h:
3626 * bufferview_funcs.C:
3629 * text2.C: make getStatus work for the env depth lfuns
3631 2003-04-03 John Levon <levon@movementarian.org>
3633 * bufferview_funcs.h:
3634 * bufferview_funcs.C:
3637 * text2.C: parlistize decDepth(), by merging it with incDepth()
3639 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * lyxrow.h: store a ParagraphList::iterator instead of a
3642 Paragraph* and adjust other class functions to suit.
3644 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3647 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3649 * text2.C (setCursor): do not anchor to cursor row for the time being
3651 2003-04-02 John Levon <levon@movementarian.org>
3658 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3660 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * paragraph.h: make ParagraphList and ParagraphList::iterator
3663 friends of Paragraph.
3665 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3667 * ParagraphList.C: Use the private next_ and previous_ from
3670 2003-04-01 John Levon <levon@movementarian.org>
3674 * Makefile.am: rename, remove defaults gunk
3677 * MenuBackend.C: remove defaults gunk
3680 * Languages.C: remove defaults gunk
3683 * lyx_main.C: error out if files couldn't be found.
3685 2003-04-02 John Levon <levon@movementarian.org>
3687 * text2.C: make incDepth() use parlist
3689 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * undo_funcs.C (firstUndoParagraph): adjust
3693 * text3.C (gotoInset): adjust
3694 (dispatch): adjust, and rewrite loop.
3696 * text2.C (init): adjust, and rewrite loop.
3697 (redoParagraphs): adjust
3698 (updateInset): adjust, and rewrite loop.
3699 (deleteEmptyParagraphMechanism): adjust
3701 * tabular.C (LyXTabular): adjust
3702 (SetMultiColumn): adjust
3705 * lyxtext.[Ch] (ownerParagraph): delete function
3706 (ownerParagraphs): new function returns a ParagraphList.
3708 * BufferView.C (removeAutoInsets): adjust
3709 (insertErrors): adjust
3710 (setCursorFromRow): adjust
3712 2003-04-01 Angus Leeming <leeming@lyx.org>
3714 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3717 2003-04-02 John Levon <levon@movementarian.org>
3723 * text_funcs.C: make transposeChars a free function
3725 * lyxrow_funcs.C: remove wrong comment
3727 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * rowpainter.C: adjust
3735 * lyxrow_funcs. [Ch]: new files
3737 * lyxrow.[Ch]: remove next and previous pointers
3738 (next,previous): remove accessor functions
3739 (isParEnd): move to lyxrow_funcs
3740 (lastPos): move to lyxrow_funcs
3741 (nextRowIsAllInset): move to lyxrow_funcs
3742 (lastPrintablePos): move to lyxrow_funcs
3743 (numberOfSeparators): move to lyxrow_funcs
3744 (numberOfHfills): move to lyxrow_funcs
3745 (numberOfLabelHfills): move to lyxrow_funcs
3746 (hfillExpansion): move to lyxrow_funcs
3750 * bufferview_funcs.C (toggleAndShow): adjust
3752 * RowList.h: Remove class RowList from file leave just a
3755 * RowList.C: delete file
3757 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3760 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * text3.C (cursorPrevious): adjust
3763 (cursorNext): adjust
3766 * text2.C (redoHeightOfParagraph): adjust
3767 (redoDrawingOfParagraph): adjust
3770 * text.C (breakParagraph): adjust
3771 (insertChar): adjust
3774 * rowpainter.C (RowPainter): adjust
3775 (leftMargin): simplify and adjust
3776 (most rowpainter functions): adjust.
3778 * rowpainter.h: store the row as RowList::iterator not as Row*
3780 * lyxcursor.C (row): taka RowList::iterator as arg
3783 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3786 2003-04-01 Angus Leeming <leeming@lyx.org>
3788 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3789 stuff like bool Bool.
3791 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3793 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3796 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3801 * lyxtext.h (rows): drop one version and leve a const variant that
3802 returns a RowList::iterator.
3804 2003-03-31 Angus Leeming <leeming@lyx.org>
3806 * text.C (fill): ensure that the signature is the same as that in the
3809 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * text2.C (redoParagraphs): adjust
3812 (updateCounters): adjust
3813 (checkParagraph): adjust
3814 (getColumnNearX): adjust and reformat a bit.
3816 * text.C (top_y): adjust
3818 (leftMargin): adjust
3819 (prepareToPrint): adjust
3821 (getRowNearY): adjust
3823 * lyxtext.h: make rowlist_ mutable.
3825 * RowList.h: add const_iterator
3826 * RowList.C: adjust for RowList::const_iterator.
3828 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3831 2003-03-31 John Levon <levon@movementarian.org>
3834 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3836 * lyx_main.C: set default fonts from using lyx_gui funcs
3838 * exporter.C: pdf_mode moved from lyxrc
3841 * lyxfunc.C: changes from above
3843 2003-03-31 John Levon <levon@movementarian.org>
3845 * lyx_main.C: fix to the last fix
3847 2003-03-31 John Levon <levon@movementarian.org>
3849 * bufferlist.C: "Load original" -> "Load Original"
3855 * format.C: more Alert cleanups
3857 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * text2.C (removeParagraph): make it take a RowList::iterator as
3861 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3862 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3864 * text.C (anchor_row): make it take a RowList::iterator as arg,
3866 (computeBidiTables): make it take a const reference to Row instead
3867 of Row pointer, adjust.
3868 (leftMargin): make it take a RowList::iterator as arg, adjust.
3869 (rowBreakPoint): adjust
3870 (breakAgainOneRow): make it take a RowList::iterator as arg,
3872 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3874 * bufferview_funcs.C (toggleAndShow): adjust
3876 2003-03-30 John Levon <levon@movementarian.org>
3880 * boost-inst.C: moved to support
3882 * several files: changes as a result
3884 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * text2.C (LyXText): adjust.
3888 (removeRow): make it take a RowList::iterator as arg, adjust.
3889 (fullRebreak): adjust
3890 (deleteEmptyParagraphMechanism): adjust
3891 (clearPaint): adjust
3894 * text.C (top_y): adjust
3895 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3896 (breakAgain): make it take a RowList::iterator as arg, adjust.
3897 (breakParagraph): adjust
3898 (insertChar): adjust
3901 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3902 need_break_row, and refresh_row.
3904 * text3.C (dispatch): adjust
3906 * text2.C (checkParagraph): adjust
3908 (setCursorFromCoordinates): adjust
3910 * text.C (top_y): adjust
3912 (getRow): make it return a RowList::iterator, adjust
3913 (getRowNearY): make it return a RowList::iterator, adjust
3915 * text2.C (init): adjust
3916 (insertRow): remove function
3917 (insertParagraph): adjust
3918 (redoParagraphs): adjust
3919 (fullRebreak): adjust
3920 (updateCounters): adjust
3922 * text.C (top_y): rewrite to use RowList iterators.
3924 (setHeightOfRow): rewrite to sue RowList iterators.
3925 (appendParagraph): adjust
3926 (breakAgain): adjust
3927 (breakAgainOneRow): adjust
3928 (breakParagraph): adjust
3930 (getRowNearY): adjust, and remove commented code.
3932 * lyxtext.h (firstRow): delete function
3933 (lastRow): delete function
3934 (rows): new function (const and non-const versions.)
3935 (insertRow): delete function
3937 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3939 2003-03-29 John Levon <levon@movementarian.org>
3941 * BufferView_pimpl.C: always update scrollbar top
3942 because pasting text when we're anchored could mean we
3943 miss an update altogether
3945 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * text2.C (init): use rowlist_.end() and not 0.
3948 (insertRow): change to take a RowList::iterator as arg, adjust
3950 (insertParagraph): change to take a RowList::iterator as arg,
3952 (redoParagraphs): remove some debug msgs.
3954 * text.C (appendParagraph): change to take a RowList::iterator
3955 arg, adjust for this.
3956 (breakAgain): add an assert
3957 (breakAgainOneRow): ditto
3959 2003-03-29 John Levon <levon@movementarian.org>
3961 * text2.C: do not clear selection after inc/decDepth
3964 2003-03-29 John Levon <levon@movementarian.org>
3967 * buffer.C: fix broken strerrors according to Lars
3969 2003-03-29 John Levon <levon@movementarian.org>
3971 * converters.C: more Alert cleanups
3973 2003-03-29 John Levon <levon@movementarian.org>
3975 * bufferview_funcs.C: remove pointless Alert
3977 * buffer.C: fix confusing error message when
3978 a template is chmoded 000
3980 2003-03-29 John Levon <levon@movementarian.org>
3984 * BufferView_pimpl.C: Alert fixes
3988 * tabular-old.C: remove unused table compat reading
3990 2003-03-29 John Levon <levon@movementarian.org>
3995 * lyx_cb.C: more Alert cleanups
3997 * lyxfunc.C: don't allow chktex if not latex document
3999 2003-03-29 John Levon <levon@movementarian.org>
4003 * buffer.C: warnings pushed down from support/,
4006 2003-03-29 John Levon <levon@movementarian.org>
4008 * lyxfunc.C: safety check for C-r (revert)
4010 2003-03-29 John Levon <levon@movementarian.org>
4013 * bufferlist.C: several UI fixes using Alert::prompt.
4014 Fix the pointless looping quit code. Fix stupid revert
4019 * lyx_cb.C: use Alert::prompt
4021 * lyx_main.C: remove a silly question
4023 * lyxfunc.C: remove a couple of silly questions,
4026 2003-03-28 John Levon <levon@movementarian.org>
4028 * text2.C: fix bug 974 (End on empty par)
4030 2003-03-28 John Levon <levon@movementarian.org>
4032 * BufferView_pimpl.C:
4034 * lfuns.h: remove do-nothing math greek lfuns
4036 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * lyxgluelength.h (isValidGlueLength): add default arg on
4039 parameter 2. Remove default arg from friend in class.
4041 * lyxlength.h (isValidLength): add default arg on parameter 2.
4042 Remove default arg from friend in class.
4044 * text2.C (LyXText): adjust, initialize refresh_row.
4048 (insertParagraph): adjst
4049 (redoParagraphs): adjust
4050 (fullRebreak): adjust
4051 (updateCounters): adjust
4052 (deleteEmptyParagraphMechanism): first attempt at fixing a
4055 * text.C (top_y): adjust
4056 (setHeightOfRow): adjust
4058 (getRowNearY): adjust
4060 * lyxtext.h: include RowList.h
4061 (~LyXText): not needed anymore, deleted.
4062 (firstRow): modify for RowList
4063 (lastRow): new function
4064 Delete firstrow and lastrow class variables, add a Rowlist
4065 rowlist_ class variable.
4067 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4070 * RowList.C (insert): fix case where it == begin().
4072 2003-03-26 Angus Leeming <leeming@lyx.org>
4074 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4075 the thesaurus dialog.
4077 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4081 * RowList.[Ch]: new files
4083 * ParagraphList.C (erase): handle the case where it == begin
4086 2003-03-25 John Levon <levon@movementarian.org>
4090 * aspell.C: add new aspell support
4093 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4096 2003-03-25 Angus Leeming <leeming@lyx.org>
4099 * LyXAction.C (init): new LFUN_INSET_INSERT.
4101 * BufferView_pimpl.C (dispatch): split out part of the
4102 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4104 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4107 2003-03-25 Angus Leeming <leeming@lyx.org>
4109 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4111 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4114 * text3.C: remove useless row->height(0)
4116 2003-03-25 John Levon <levon@movementarian.org>
4120 * text3.C: rename the refreshing stuff to better names
4122 2003-03-24 John Levon <levon@movementarian.org>
4124 * BufferView_pimpl.h:
4125 * BufferView_pimpl.C: update layout choice on a mouse
4128 2003-03-23 John Levon <levon@movementarian.org>
4130 * Makefile.am: fix commandtags.h reference
4132 2003-03-22 John Levon <levon@movementarian.org>
4134 * BufferView_pimpl.C:
4139 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4141 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4144 * text.C: take the rtl methods out of line
4146 2003-03-21 André Pönitz <poenitz@gmx.net>
4148 * metricsinfo.[Ch]: new files containing structures to be passed around
4149 during the two-phase-drawing...
4151 2003-03-21 André Pönitz <poenitz@gmx.net>
4153 * lyxtextclass.C: read 'environment' tag.
4155 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4157 * text2.C (removeRow): fix bug 964
4159 2003-03-20 John Levon <levon@movementarian.org>
4163 * text2.C: paint cleanups. Inset::update() dropped font
4166 2003-03-19 John Levon <levon@movementarian.org>
4168 * lyxfunc.C: only fitcursor/markDirty if available()
4170 2003-03-19 John Levon <levon@movementarian.org>
4172 * commandtags.h: rename to ...
4174 * lfuns.h: ... this, and renumber / cleanup
4176 2003-03-19 John Levon <levon@movementarian.org>
4178 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4179 fit the cursor after an lfun
4183 * BufferView_pimpl.h:
4184 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4186 * LyXAction.C: layout-character should have ReadOnly
4188 * ParagraphParameters.C:
4190 * bufferview_funcs.C:
4197 * undo_funcs.C: changes from above
4199 2003-03-18 John Levon <levon@movementarian.org>
4201 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4202 remove it from update()
4204 * lyxfunc.C: update layout choice after an lfun
4206 * text3.C: remove extra updateLayoutChoice()s
4208 2003-03-18 John Levon <levon@movementarian.org>
4210 * text.C: top_y change means full repaint, fix
4211 a drawing bug with cursor movement
4213 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4217 * text2.C: anchor row on setCursor
4219 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4221 * lyxtext.h: remove almost all mutable keywords
4224 * text3.C: remove const keywords accordingly
4226 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4230 (TeXEnvironment): ditto
4233 2003-03-17 John Levon <levon@movementarian.org>
4235 * text.C (rowBreakPoint): remove attempt to fix displayed
4236 math insets inside a manual label
4238 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * lyxtext.h: remove BufferView* as first arg from almost all class
4242 * other files: adjust.
4244 2003-03-17 John Levon <levon@movementarian.org>
4248 * text2.C: more paint cleanups
4250 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4253 * rowpainter.C: remove "smart" background painting code
4255 2003-03-16 John Levon <levon@movementarian.org>
4260 * text3.C: add helper functions for setting refresh_row/y
4262 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4264 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4265 newline inset which *can* get inserted in the pass_thru layouts.
4266 This is primarily for literate documents.
4268 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4270 * buffer.C: increment LYX_FORMAT to 223
4272 2003-03-14 André Pönitz <poenitz@gmx.net>
4274 * textclass.h: prepare for environment handling, ws changes
4275 * lyxlayout.C: read latexheader and latexfooter tags
4277 2003-03-14 John Levon <levon@movementarian.org>
4279 * text2.C: rewrite ::status() a bit
4281 2003-03-13 John Levon <levon@movementarian.org>
4283 * lyxtext.h: add some docs
4285 2003-03-13 John Levon <levon@movementarian.org>
4290 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4292 2003-03-13 John Levon <levon@movementarian.org>
4294 * text3.C: fix appendix redrawing
4296 2003-03-13 John Levon <levon@movementarian.org>
4298 * text.C (setHeightOfRow):
4300 * rowpainter.C: make appendix mark have the text
4301 "Appendix" so the user knows what it is
4304 * LColor.C: s/appendixline/appendix/ from above
4306 2003-03-13 John Levon <levon@movementarian.org>
4308 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4310 * text.C: fix a getChar(pos) bug properly
4312 2003-03-13 Angus Leeming <leeming@lyx.org>
4315 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4316 Probably only temporary. Let's see how things pan out.
4318 * BufferView.C (unlockInset):
4319 * BufferView_pimpl.C (fitCursor):
4320 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4322 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4323 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4325 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4326 new functions that convert ParagraphParameters to and from a string.
4328 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4329 BufferView::Pimpl's dispatch.
4330 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4332 2003-03-13 André Pönitz <poenitz@gmx.net>
4336 * factory.C: make it aware of InsetEnv
4338 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * text2.C (setCursor): never ask for one past last
4341 (setCursor): add some debugging messages.
4343 * text.C (singleWidth): never ask for one past last
4344 (singleWidth): ditto
4346 (rightMargin): ditto
4347 (rowBreakPoint): ditto
4348 (setHeightOfRow): ditto
4349 (prepareToPrint): ditto
4351 * rowpainter.C (paintBackground): never ask for one past last
4352 (paintText): never ask for one past last
4354 * paragraph_pimpl.C (getChar): make the assert stricter, never
4355 allow the one past last pos to be taken
4357 * paragraph.C (getChar): ws changes only
4359 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4360 (numberOfSeparators): ditto
4361 (numberOfHfills): ditto
4363 2003-03-12 John Levon <levon@movementarian.org>
4369 * paragraph_funcs.C: fix per-buffer authorlists
4371 2003-03-12 John Levon <levon@movementarian.org>
4373 * text.C: fix newline in right address
4375 2003-03-12 Angus Leeming <leeming@lyx.org>
4377 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4378 duplicate those in LyXFunc::dispatch.
4382 * ToolbarDefaults.C:
4383 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4384 Add LFUN_FONTFREE_UPDATE.
4386 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4387 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4389 * bufferview_func.[Ch]: several new functions to facilliate
4390 transfer of data to and from the character dialog.
4392 2003-03-12 John Levon <levon@movementarian.org>
4397 * paragraph_funcs.C:
4398 * paragraph_pimpl.C:
4402 * text3.C: remove META_NEWLINE in favour of an inset
4405 * rowpainter.C: remove paintNewline (done by inset)
4407 2003-03-12 John Levon <levon@movementarian.org>
4409 * paragraph_pimpl.C: complain about bad getChar()s
4410 for a while at least
4412 2003-03-12 John Levon <levon@movementarian.org>
4415 * buffer.C: move paragraph read into a separate function,
4416 a little renaming to reflect that.
4419 * bufferparams.C: remove the author_ids map, not necessary now
4422 * factory.C: moved Buffer::readInset to here
4424 * paragraph_funcs.h:
4425 * paragraph_funcs.C: readParagraph free function moved from
4428 * tabular.C: name change
4430 2003-03-12 John Levon <levon@movementarian.org>
4433 * ParagraphParameters.C: move par params input to
4436 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4437 behave like a normal read from the stream wrt reading
4438 a line vs. a \\token
4440 2003-03-12 John Levon <levon@movementarian.org>
4443 * ParagraphParameters.h:
4444 * ParagraphParameters.C: move output code to a
4447 2003-03-12 John Levon <levon@movementarian.org>
4449 * BufferView.C (insertLyXFile):
4452 * tabular.C: use a parlist iterator for creating the
4455 2003-03-12 John Levon <levon@movementarian.org>
4457 * buffer.C: make current_change static local not
4460 2003-03-12 John Levon <levon@movementarian.org>
4462 * buffer.C: fix insertStringAsLines for change tracking
4464 2003-03-12 John Levon <levon@movementarian.org>
4471 * bufferparams.C: move author list into params. Rename some
4472 functions. Move the header reading into a separate token
4473 loop. Move the header token reading into BufferParams.
4475 2003-03-12 John Levon <levon@movementarian.org>
4477 * changes.C: put debug inside lyxerr.debugging() checks
4479 2003-03-11 André Pönitz <poenitz@gmx.net>
4481 * factory.C: make it aware of InsetHFill
4483 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4485 * buffer.C (latexParagraphs): move function from here...
4486 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4489 2003-03-10 Angus Leeming <leeming@lyx.org>
4491 * LyXAction.C (init): fix bug in poplating array with multiple entries
4492 with the same LFUN (spotted by JMarc).
4494 2003-03-10 John Levon <levon@movementarian.org>
4497 * text2.C: move getColumnNearX() near its
4500 2003-03-10 John Levon <levon@movementarian.org>
4502 * text.C: fix break before a minipage
4504 2003-03-10 John Levon <levon@movementarian.org>
4506 * text.C: fix the last commit
4508 2003-03-09 John Levon <levon@movementarian.org>
4512 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4513 bug 365 (don't break before insets unless needed). Don't
4514 return a value > last under any circumstances.
4516 2003-03-09 Angus Leeming <leeming@lyx.org>
4518 * BufferView_pimpl.C (trackChanges, dispatch): call
4519 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4521 2003-03-09 Angus Leeming <leeming@lyx.org>
4523 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4524 than Dialogs::showAboutlyx().
4526 2003-03-09 Angus Leeming <leeming@lyx.org>
4528 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4529 than Dialogs::showTabularCreate().
4531 2003-03-09 John Levon <levon@movementarian.org>
4535 * text2.C: 3rd arg to nextBreakPoint was always the same.
4538 2003-03-08 John Levon <levon@movementarian.org>
4545 * text2.C: Remove the "main" bit from the "main body"
4548 2003-03-08 John Levon <levon@movementarian.org>
4550 * text.C (leftMargin): The left margin of an empty
4551 manual label paragraph should not include the label width
4554 * text.C (prepareToPrint): don't attempt to measure hfills
4555 for empty manual label paragraphs - the answer should be 0
4557 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * CutAndPaste.C: remove commented code and reindent.
4561 2003-03-08 John Levon <levon@movementarian.org>
4564 * lyxfunc.C: move reloadBuffer()
4567 * BufferView.C: to here
4569 * lyxvc.C: add comment
4572 * vc-backend.C: call bv->reload() to avoid
4573 getStatus() check on MENURELOAD
4575 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4577 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4578 to an old format .dep file.
4580 2003-03-07 Angus Leeming <leeming@lyx.org>
4582 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4583 when the LFUN_MOUSE_RELEASE should have been handled by
4584 inset->localDispatch.
4586 2003-03-07 Angus Leeming <leeming@lyx.org>
4588 * BufferView_pimpl.C (dispatch):
4589 * LyXAction.C (init):
4590 * ToolbarDefaults.C (init):
4592 * lyxfunc.C (getStatus):
4593 remove LFUN_INSET_GRAPHICS.
4595 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4597 2003-03-07 Angus Leeming <leeming@lyx.org>
4600 * LyXAction.C (init):
4601 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4603 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4606 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4608 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4609 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4611 2003-03-07 Angus Leeming <leeming@lyx.org>
4613 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4616 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * ParagraphList.C (front): new function
4621 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4623 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4624 and top_row_offset_. removed var first_y.
4626 * text2.C (LyXText, removeRow):
4628 * BufferView_pimpl.C:
4629 use these methods instead of using first_y
4631 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * text2.C (pasteSelection): adjust for checkPastePossible
4635 * CutAndPaste.C: remove Paragraph * buf and replace with
4636 ParagraphList paragraphs.
4637 (DeleteBuffer): delete
4638 (cutSelection): change the tc type to textclass_type
4639 (copySelection): change the tc type to textclass_type
4640 (copySelection): adjust for ParagraphList
4641 (pasteSelection): change the tc type to textclass_type
4642 (pasteSelection): adjust for Paragraphlist
4643 (nrOfParagraphs): simplify for ParagraphList
4644 (checkPastePossible): simplify for ParagraphList
4645 (checkPastePossible): remove unused arg
4647 * ParagraphList.C (insert): handle the case where there are no
4650 * CutAndPaste.h: make CutAndPaste a namespace.
4652 * text3.C (dispatch): adjust
4654 * text.C (breakParagraph): add a ParagraphList as arg
4656 * paragraph_funcs.C (breakParagraph): change to take a
4657 BufferParams and a ParagraphList as args.
4658 (breakParagraphConservative): ditto
4659 (mergeParagraph): ditto
4660 (TeXDeeper): add a ParagraphList arg
4661 (TeXEnvironment): ditto
4664 * buffer.C (readLyXformat2): adjust
4665 (insertStringAsLines): adjust
4666 (latexParagraphs): adjust
4668 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4669 (cutSelection): adjust
4670 (pasteSelection): adjust
4672 * BufferView_pimpl.C (insertInset): adjust
4674 2003-03-05 Angus Leeming <leeming@lyx.org>
4677 * LyXAction.C (init):
4678 * BufferView_pimpl.C (dispatch):
4679 * lyxfunc.C (getStatus):
4680 remove LFUN_CHILD_INSERT.
4682 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4684 2003-03-05 Angus Leeming <leeming@lyx.org>
4687 * LyXAction.C (init):
4688 * src/factory.C (createInset):
4689 * lyxfunc.C (getStatus):
4690 * text3.C (dispatch):
4691 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4693 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4695 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4697 * ParagraphList.C (insert): handle insert right before end()
4698 (erase): fix cases where it can be first or last paragraph.
4700 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4703 Paragraph::next and Paragraph::previous
4706 * text.C (breakParagraph): adjust
4708 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4709 BufferParams& as arg.
4710 (breakParagraph): use ParagraphList::insert
4711 (breakParagraphConservative): take a Buffer* instead of a
4712 BufferParams& as arg.
4713 (breakParagraphConservative): use ParagraphList::insert.
4715 * buffer.C (insertStringAsLines): un-const it
4716 (insertStringAsLines): adjust
4718 * ParagraphList.C (insert): new function
4720 * CutAndPaste.C (pasteSelection): adjust
4722 * text.C (backspace): adjust
4724 * tabular.C (SetMultiColumn): adjust
4726 * CutAndPaste.C (cutSelection): adjust
4727 (pasteSelection): adjust
4729 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4730 Buffer const * as arg
4732 * ParagraphList.C (erase): new function
4733 * paragraph_funcs.C (mergeParagraph): use it
4734 (mergeParagraph): make it take a Buffer* instead of a
4735 BufferParams* as arg
4737 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4739 (breakParagraphConservative): ditto
4741 * paragraph.h: remove the breakParagraph friend
4743 * paragraph.C (eraseIntern): new function
4744 (setChange): new function
4746 * paragraph_funcs.C (mergeParagraph): make it take a
4747 ParagraphList::iterator instead of a Paragraph *, adjust
4750 * paragraph.h: move an #endif so that the change tracking stuff
4751 also works in the NO_NEXT case.
4753 2003-03-04 Angus Leeming <leeming@lyx.org>
4756 * LyXAction.C: new LFUN_INSET_MODIFY.
4758 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4759 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4761 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * several files: ws changes only
4765 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4766 (TeXEnvironment): ditto
4769 * buffer.C (makeLaTeXFile): adjust
4770 (latexParagraphs): make it take ParagraphList::iterator as args
4772 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * buffer.C (latexParagraphs): adjust
4776 * paragraph.C (TeXOnePar): move function...
4777 (optArgInset): move function...
4778 (TeXEnvironment): move function...
4779 * paragraph_pimpl.C (TeXDeeper): move function...
4780 * paragraph_funcs.C: ...here
4782 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4784 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * buffer.C (readInset): remove compability code for old Figure and
4789 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * buffer.C: ws changes
4794 * BufferView_pimpl.C: ditto
4797 * bufferlist.h: ditto
4801 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4803 * converter.[Ch]: split into itself +
4806 * Makefile.am: += graph.[Ch] + format.[Ch]
4813 * lyxrc.C: added #include "format.h"
4815 2003-02-27 Angus Leeming <leeming@lyx.org>
4817 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4820 * factory.C (createInset): add "label" to the factory.
4822 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4823 string and do no more.
4825 2003-02-27 Angus Leeming <leeming@lyx.org>
4828 * LyXAction.C (init):
4829 * factory.C (createInset):
4830 * BufferView_pimpl.C (dispatch):
4831 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4833 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4835 * lyxfunc.C (dispatch):
4836 * text3.C (dispatch): pass name to params2string.
4838 2003-02-26 Angus Leeming <leeming@lyx.org>
4840 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4842 Rearrange the ~includes. Strip out the unnecessary ones.
4844 * factory.C (createInset): reformat.
4845 create new insets for the various LFUN_XYZ_APPLY lfuns.
4847 2003-02-26 John Levon <levon@movementarian.org>
4850 * lyxrow.C: add isParStart,isParEnd helpers
4852 * paragraph.h: make isInserted/DeletedText take refs
4854 * paragraph_funcs.h:
4855 * paragraph_funcs.C: remove #if 0'd code
4860 * text.C: use lyxrow helpers above.
4861 Move draw and paint routines to RowPainter.
4862 Make several methods use refs not pointers.
4863 Make backgroundColor() const.
4864 Add markChangeInDraw(), isInInset().
4865 Merge changeRegionCase into changeCase.
4866 Make workWidth() shouldn't-happen code into an Assert.
4869 * rowpainter.C: new class for painting a row.
4872 * vspace.C: make inPixels take a ref
4874 2003-02-26 Angus Leeming <leeming@lyx.org>
4876 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4879 2003-02-25 John Levon <levon@movementarian.org>
4881 * ispell.C: give the forked command a more accurate name
4883 2003-02-22 John Levon <levon@movementarian.org>
4886 * toc.C: make TocItem store an id not a Paragraph *
4889 2003-02-21 Angus Leeming <leeming@lyx.org>
4891 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4892 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4893 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4894 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4895 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4896 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4898 * BufferView_pimpl.C (dispatch):
4899 * LyXAction.C (init):
4900 * factory.C (createInset):
4901 * lyxfunc.C (getStatus, dispatch):
4902 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4904 2003-02-21 Angus Leeming <leeming@lyx.org>
4906 * BufferView_pimpl.C (MenuInsertLyXFile):
4907 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4908 * lyxfunc.C (menuNew, open, doImport):
4909 no longer pass a LyXView & to fileDlg.
4911 2003-02-21 Angus Leeming <leeming@lyx.org>
4913 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4914 * LyXAction.C: change, BIBKEY to BIBITEM.
4915 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4916 Change InsetBibKey to InsetBibitem.
4917 Change BIBKEY_CODE to BIBITEM_CODE.
4918 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4919 * factory.C: replace insetbib.h with insetbibitem.h.
4920 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4921 * paragraph.C: replace insetbib.h with insetbibitem.h.
4922 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4923 Change bibkey() to bibitem().
4924 * text.C: remove insetbib.h.
4925 * text2.C: replace insetbib.h with insetbibitem.h.
4926 change bibkey() to bibitem().
4927 * text3.C: remove insetbib.h.
4928 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4930 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4932 * lyxrc.C (output): enclose user email in quotes (in case there are
4935 2003-02-18 John Levon <levon@movementarian.org>
4937 * buffer.h: add std::
4939 2003-02-17 John Levon <levon@movementarian.org>
4945 * pspell.C: reworking. Especially in ispell, a large
4946 number of clean ups and bug fixes.
4948 * lyxfunc.C: fix revert to behave sensibly
4950 2003-02-17 André Pönitz <poenitz@gmx.net>
4953 * commandtags.h: new LFUN_INSERT_BIBKEY
4963 * paragraph_func.C: remove special bibkey handling
4965 2003-02-17 John Levon <levon@movementarian.org>
4967 * text.C (Delete): fix case where delete at the end of
4968 the very first paragraph would not merge the pars
4970 2003-02-17 John Levon <levon@movementarian.org>
4972 * lyxrow.C: fix lastPrintablePos()
4974 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4976 * bufferparams.C (writeLaTeX): add a std:here
4978 * buffer.C: and remove a using directive there
4980 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4982 * buffer.C (makeLaTeXFile): move the code that generates the
4985 * bufferparams.C (writeLaTeX): ... in this new method
4987 * LaTeXFeatures.C (getEncodingSet): make const
4988 (getLanguages): make const
4990 * MenuBackend.C (binding): returns the binding associated to this
4992 (add): sets the status of each item by calling getStatus. Adds
4994 (read): add support for OptSubMenu
4995 (expand): remove extra separator at the end of expanded menu
4997 2003-02-15 John Levon <levon@movementarian.org>
5000 * BufferView_pimpl.C:
5002 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5003 inset code that had no actual effect. Remove unneeded status
5006 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5008 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5011 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5013 * text.C (drawLengthMarker): also draw an arrow marker for
5014 symbolic lengths (medskip...)
5016 2003-02-14 John Levon <levon@movementarian.org>
5019 * tabular.C: better method names
5021 2003-02-14 John Levon <levon@movementarian.org>
5023 * BufferView_pimpl.C:
5028 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5029 it's a more accurate name. Remove some pointless uses.
5031 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5033 * text2.C (LyXText): change order of initilizers to shut off
5036 2003-02-14 John Levon <levon@movementarian.org>
5038 * buffer.C: use ParIterator for getParFromID()
5042 * paragraph_pimpl.h:
5043 * paragraph_pimpl.C: remove unused getParFromID()
5045 2003-02-14 John Levon <levon@movementarian.org>
5047 * buffer.C: remove some very old #if 0'd parse code
5049 2003-02-13 John Levon <levon@movementarian.org>
5053 * text2.C: move hfillExpansion(), numberOfSeparators(),
5054 rowLast(), rowLastPrintable(), numberofHfills(),
5055 numberOfLabelHfills() ...
5058 * lyxrow.C: ... to member functions here.
5063 * text.C: remove LyXText::beginningOfMainBody(), and call
5064 p->beginningOfMainBody() directly. Move the check for
5065 LABEL_MANUAL into the latter.
5072 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5078 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5079 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5081 2003-02-13 John Levon <levon@movementarian.org>
5083 * CutAndPaste.C: remove debug
5085 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5087 * paragraph.C (asString): remove two unused variables
5089 * lyxtextclass.C (readTitleType):
5091 (LyXTextClass): handle new members titletype_ and titlename_
5093 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5095 2003-02-09 John Levon <levon@movementarian.org>
5098 * buffer.C: replace hand-coded list with a map for the dep clean
5100 2003-02-08 John Levon <levon@movementarian.org>
5102 * LaTeX.C: consolidate code into showRunMessage() helper
5104 2003-02-08 John Levon <levon@movementarian.org>
5109 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5110 and pass the size in explicitly
5112 * BufferView_pimpl.h:
5113 * BufferView_pimpl.C:
5115 * BufferView.C: add getCurrentChange()
5117 * BufferView_pimpl.h:
5118 * BufferView_pimpl.C: handle change lfuns
5120 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5121 for changes. Mark pasted paragraphs as new.
5123 * support/lyxtime.h:
5124 * support/lyxtime.C:
5125 * DepTable.C: abstract time_t as lyx::time_type
5128 * LColor.C: add colours for new text, deleted text, changebars
5130 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5131 package use "usenames" option.
5135 * LyXAction.C: add change lfuns
5139 * author.C: author handling
5142 * buffer.C: add a per-buffer author list, with first entry as
5143 current author. Handle new .lyx tokens for change tracking. Output
5144 author list to .lyx file. Output dvipost stuff to .tex preamble.
5145 Bump lyx format to 222.
5148 * bufferlist.C: add setCurrentAuthor() to reset current author details
5152 * bufferparams.C: add param for tracking
5154 * bufferview_funcs.C: output change info in minibuffer
5158 * changes.C: add change-tracking structure
5161 * debug.C: add CHANGES debug flag
5164 * lyxfind.C: add code for finding the next change piece
5167 * lyxrc.C: add user_name and user_email
5170 * lyxrow.C: add a metric for the top of the text line
5173 * text.C: implement accept/rejectChange()
5176 * text.C: paint changebars. Paint new/deleted text in the chosen
5177 colours. Strike through deleted text.
5181 * paragraph_pimpl.h:
5182 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5183 in the current change to the insert functions. Rework erase to
5184 mark text as deleted, adding an eraseIntern() and a range-based
5185 erase(). Implement per-paragraph change lookup and
5188 * paragraph_funcs.C: Fixup paste for change tracking.
5190 * tabular.C: mark added row/columns as new.
5192 * text.C: fix rowLast() to never return -1. Don't allow
5193 spellchecking of deleted text. Track transpose changes. Don't
5194 allow paragraph break or merge where appropriate.
5196 * text2.C: leave cursor at end of selection after a cut.
5198 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5200 * text.C (getLengthMarkerHeight):
5201 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5202 visible on screen too.
5204 2003-02-07 John Levon <levon@movementarian.org>
5206 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5208 2003-02-05 Angus Leeming <leeming@lyx.org>
5210 * lyxserver.C (read_ready): revert my patch of 11 September last year
5211 as it sends PC cpu through the roof. Presumably this means that
5212 the lyxserver will no longer run on an Alpha...
5214 2003-01-30 Angus Leeming <leeming@lyx.org>
5216 * factory.C (createInset): create an InsetCommandParam of type "index"
5217 and use it to 'do the right thing'.
5219 * text2.C (getStringToIndex): ensure that cursor position is always
5220 reset to the reset_cursor position.
5222 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5224 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5227 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5231 * lyxfunc.C: Output messages with identical spelling, punctuation,
5234 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5236 * MenuBackend.C (expandFormats): List only viewable export formats
5239 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5242 * lyxfunc.C (getStatus): Make sure that formats other than
5243 "fax" can also be disabled
5245 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5247 * text3.C (dispatch): put the lfuns that insert insets in 3
5248 groups, and call doInsertInset with appropriate arguments.
5249 (doInsertInset): new function, that creates an inset and inserts
5250 it according to some boolean parameters.
5252 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * buffer.C (readFile): remember to pass on 'par' when calling
5255 readFile recursively.
5257 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5259 * MenuBackend.C (expandFormats): add "..." to import formats.
5261 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5263 * paragraph.C (asString): Remove XForms RTL hacks.
5265 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5266 * buffer.C: fix typo
5268 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5270 * Makefile.am (LIBS): delete var
5271 (lyx_LDADD): add @LIBS@ here instead.
5273 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5275 * Clarify the meaning of "wheel mouse jump"
5277 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5279 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5282 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5284 * importer.C (Loaders): do not preallocate 3 elements in the
5285 vector, since one ends up with 6 elements otherwise
5287 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5289 * DepTable.C (write): write the file name as last element of the
5290 .dep file (because it may contain spaces)
5291 (read): read info in the right order
5293 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5295 * paragraph_pimpl.C (simpleTeXBlanks):
5296 (simpleTeXSpecialChars):
5297 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5299 * tabular.C (latex): add some missing case statements. Reindent.
5301 * MenuBackend.C (expandToc): remove unused variable.
5303 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5312 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5315 2003-01-05 John Levon <levon@movementarian.org>
5318 * BufferView.C: add getEncoding()
5321 * kbsequence.C: do not store last keypress
5324 * lyxfunc.C: store last keypress here instead. Pass encoding
5327 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5329 * lyx_main.C (init): remove annoying error message when following
5330 symbolic links (bug #780)
5332 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5334 * text.C (insertChar):
5335 * lyxrc.C (getDescription): remove extra spaces
5337 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5339 * lyxrc.C (getDescription): remove extra spaces
5341 2002-12-20 John Levon <levon@movementarian.org>
5343 * text3.C: hack fix for page up/down across tall rows
5345 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5347 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5350 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5352 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5353 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5354 thesaurus is not compiled in
5356 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5358 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5360 2002-12-16 Angus Leeming <leeming@lyx.org>
5363 * lyx_main.C (init): remove override_x_deadkeys stuff.
5365 2002-12-12 John Levon <levon@movementarian.org>
5367 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5368 insert. Only remove shift modifier under strict
5371 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * MenuBackend.C (expandToc): fix crash.
5375 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * MenuBackend.C (expandToc): gettext on float names.
5379 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5381 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5382 implement bool empty() [bug 490]
5384 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5386 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5388 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * several files: ws changes
5392 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * text2.C (setCounter): clean up a bit, use boost.format.
5395 (updateCounters): initialize par upon declaration.
5397 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5398 if the layout exists. We do not just store the layout any more.
5399 (SwitchLayoutsBetweenClasses): use boost.format
5401 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5403 * converter.C (convert): if from and to files are the same, use a
5404 temporary files as intermediary
5406 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5409 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5411 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5413 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5415 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5417 * tabular.C (asciiPrintCell): use string(size, char) instead of
5420 * sgml.C (openTag): fix order of arguments to string constructor
5423 * lyxfunc.C (dispatch): use boost.format
5425 * lots of files: change "c" -> 'c'
5427 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5429 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5431 2002-11-25 Angus Leeming <leeming@lyx.org>
5433 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5435 * lyx_main.C (init): compile fix.
5437 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * lyx_cb.C (start): boost.formatify
5440 do not include <iostream>
5442 * lengthcommon.C: ws only
5444 * boost-inst.C,BoostFormat.h: add more explict instantations
5446 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * lots of files: handle USE_BOOST_FORMAT
5450 2002-11-21 John Levon <levon@movementarian.org>
5452 * pspell.C: fix compile
5454 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5456 * lyxfunc.C (dispatch): use boost::format
5460 * lyxfont.C (stateText): use boost::format
5462 * lyx_main.C (LyX): use boost::format
5464 (queryUserLyXDir): ditto
5467 (typedef boost::function): use the recommened syntax.
5469 * importer.C (Import): use boost::format
5471 * debug.C (showLevel): use boost::format
5473 * converter.C (view): use boost::format
5478 * bufferview_funcs.C (currentState): use boost::format
5480 * bufferlist.C (emergencyWrite): use boost::format
5482 * buffer.C (readLyXformat2): use boost::format
5483 (parseSingleLyXformat2Token): ditto
5485 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5487 * LaTeX.C (run): use boost::format
5489 * Chktex.C (scanLogFile): use boost::format
5491 * BufferView_pimpl.C (savePosition): use boost::format
5492 (restorePosition): ditto
5493 (MenuInsertLyXFile): ditto
5495 * BoostFormat.h: help file for explicit instation.
5497 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5499 * tabular.C (latex): Support for block alignment in fixed width
5502 2002-11-17 John Levon <levon@movementarian.org>
5504 * BufferView_pimpl.C:
5506 * lyxfunc.C: split filedialog into open/save
5508 2002-11-08 Juergen Vigna <jug@sad.it>
5510 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5511 by my last patch (hopefully).
5513 2002-11-08 John Levon <levon@movementarian.org>
5522 * toc.C: ParConstIterator, and use it (from Lars)
5524 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5526 * lyxtextclass.[Ch]: revise and add doxygen comments
5528 2002-11-07 John Levon <levon@movementarian.org>
5530 * text.C: fix progress value for spellchecker
5532 * toc.C: fix navigate menu for insetwrap inside minipage
5534 * paragraph_funcs.C: added FIXME for suspect code
5536 2002-11-07 John Levon <levon@movementarian.org>
5538 * BufferView_pimpl.C: fix redrawing of insets
5541 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5543 * text2.C (updateCounters): fix bug 668
5545 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5547 * text3.C (dispatch): Do not make the buffer dirty when moving the
5550 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * vc-backend.C: STRCONV
5555 * text2.C (setCounter): STRCONV
5557 * paragraph.C (asString): STRCONV
5559 * lyxlength.C (asString): STRCONV
5560 (asLatexString): ditto
5562 * lyxgluelength.C (asString): STRCONV
5563 (asLatexString): ditto
5565 * lyxfunc.C (dispatch): STRCONV
5568 * lyxfont.C (stateText): STRCONV
5570 * importer.C (Import): STRCONV
5572 * counters.C (labelItem): STRCONV
5573 (numberLabel): ditto
5574 (numberLabel): remove unused ostringstream o
5579 * bufferview_funcs.C (currentState): STRCONV
5581 * buffer.C (readFile): STRCONV
5582 (asciiParagraph): ditto
5583 (makeLaTeXFile): ditto
5585 * Spacing.C (writeEnvirBegin): STRCONV
5587 * LaTeXFeatures.C (getLanguages): STRCONV
5588 (getPackages): ditto
5590 (getBabelOptions): ditto
5591 (getTClassPreamble): ditto
5592 (getLyXSGMLEntities): ditto
5593 (getIncludedFiles): ditto
5597 (scanAuxFile): ditto
5600 * LString.h: add the STRCONV macros
5602 * BufferView_pimpl.C (savePosition): STRCONV
5603 (restorePosition): ditto
5604 (MenuInsertLyXFile): ditto
5606 * vc-backend.C (scanMaster): change from submatch[...] to
5609 * funcrequest.C: include config.h
5611 * factory.C: include config.h
5613 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5615 * box.C: include config.h
5617 * LaTeX.C (scanAuxFile): change from submatch[...] to
5621 2002-10-25 Angus Leeming <leeming@lyx.org>
5623 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5625 * ispell.[Ch] (setError): new method.
5626 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5627 Use setError() insetead of goto END.
5629 * lyx_cb.C (AutoSave): move out child process into new class
5632 2002-10-30 John Levon <levon@movementarian.org>
5634 * text3.C: make start appendix undoable
5636 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5638 * lyxlength.C (inPixels): Fix returned value.
5640 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5643 2002-10-24 Angus Leeming <leeming@lyx.org>
5645 * lyxgluelength.h: no need to forward declare BufferParams
5646 or BufferView, so don't.
5648 2002-10-21 John Levon <levon@movementarian.org>
5650 * BufferView.C: menuUndo ->undo, redo
5652 * BufferView.h: document, remove dead, make some methods private
5654 * paragraph_funcs.h:
5655 * paragraph_funcs.C:
5656 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5661 * sgml.C: move sgml open/close tag into sgml.C
5663 * bufferview_funcs.h: unused prototype
5666 * lyxfunc.C: remove unused
5669 * text.C: remove unused
5671 2002-10-21 John Levon <levon@movementarian.org>
5675 * BufferView_pimpl.h:
5676 * BufferView_pimpl.C: fix mouse wheel handling based on
5677 patch from Darren Freeman
5679 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5681 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5683 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5685 * lyxlength.C (inPixels): Fix hanfling of negative length.
5686 Fix LyXLength::MU case.
5688 2002-10-16 John Levon <levon@movementarian.org>
5690 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5692 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5694 * converter.C (view): add support for $$i (file name) and $$p
5695 (file path) for the viewer command. If $$i is not specified, then
5696 it is appended to the command (for compatibility with old syntax)
5698 2002-10-14 Juergen Vigna <jug@sad.it>
5700 * undo_funcs.C (textHandleUndo): alter the order in which the
5701 new undopar is added to the LyXText, as we have to set first
5702 the right prev/next and then add it as otherwise the rebuild of
5703 LyXText is not correct. Also reset the cursor to the right paragraph,
5704 with this IMO we could remove the hack in "redoParagraphs()".
5706 2002-10-09 Angus Leeming <leeming@lyx.org>
5708 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5709 to turn off an optimisation if a new inset is to be inserted.
5711 2002-10-11 André Pönitz <poenitz@gmx.net>
5713 * lyxtext.h: make some functions public to allow access
5714 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5716 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5718 * text3.C (dispatch): when changing layout, avoid an infinite loop
5721 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5723 * lyxrc.C (read): treat a viewer or converter command of "none" as
5726 * MenuBackend.C (expandFormats): for an update, also allow the
5727 formats that are not viewable
5729 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5730 script if it is newer than the lyxrc.defaults in user directory
5732 2002-10-07 André Pönitz <poenitz@gmx.net>
5734 * text.C: Vitaly Lipatov's small i18n fix
5736 2002-09-25 Angus Leeming <leeming@lyx.org>
5738 * ispell.h: doxygen fix.
5740 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5742 * buffer.h (readFile): Add a new argument to the method, to allow
5743 reading of old-format templates.
5745 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5747 * toc.C (getTocList): Get TOC from InsetWrap.
5749 2002-09-16 John Levon <levon@movementarian.org>
5751 * lyxfunc.C: check tabular for cut/copy too
5753 2002-09-12 John Levon <levon@movementarian.org>
5758 * factory.C: add header
5760 * paragraph_funcs.h:
5761 * paragraph_funcs.C: cleanup
5763 2002-09-11 John Levon <levon@movementarian.org>
5765 * PrinterParams.h: odd/even default to true
5767 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5769 * PrinterParams.h: update printer parameters for new xforms dialog
5771 2002-09-11 Angus Leeming <leeming@lyx.org>
5773 * lyxserver.C (read_ready): re-write to make it more transparent
5774 and to make it work in coherent fashion under Tru64 Unix.
5776 2002-09-11 André Pönitz <poenitz@gmx.net>
5780 * text3.C: implement LFUN_WORDSEL
5782 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5785 make floatlist_ a boost::shared_ptr<FloatList>
5787 * lyxtextclass.C: include FloatList.h
5788 (LyXTextClass): initialize floatlist_
5789 (TextClassTags): add TC_NOFLOAT
5790 (Read): match "nofloat" to TC_NOFLOAT and use it.
5791 (readFloat): modify call to floatlist_
5795 * FloatList.[Ch] (FloatList): remove commented out float
5797 (erase): new function
5799 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5801 * MenuBackend.C (expandToc): fix crash when there is no document
5804 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5806 * many files: Add insetwrap.
5808 2002-09-09 John Levon <levon@movementarian.org>
5810 * text2.C: remove confusing and awkward depth wraparound
5812 2002-09-09 John Levon <levon@movementarian.org>
5814 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5817 * buffer.C: remove getIncludeonlyList()
5820 * lyxfunc.C: remove headers
5822 2002-09-09 Juergen Vigna <jug@sad.it>
5824 * text.C (getColumnNearX): fix form Michael this is most
5825 probably a cut&paste bug.
5827 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5829 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5831 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5832 references, ws changes.
5834 * text2.C (init): update counters after init
5835 (insertParagraph): no need to set counter on idividual paragraphs.
5836 (setCounter): access the counters object in the textclass object
5837 on in the buffer object.
5838 (updateCounters): ditto
5840 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5841 shared_ptr<Counters> to avoid loading counters.h in all
5843 (LyXTextClass): initialize ctrs_
5844 (TextClassTags): add TC_COUNTER, and ...
5845 (Read): use it here.
5846 (CounterTags): new tags
5847 (readCounter): new function
5848 (counters): new funtion
5849 (defaultLayoutName): return a const reference
5851 * counters.C (Counters): remove contructor
5852 (newCounter): remove a couple of unneeded statements.
5853 (newCounter): simplify a bit.
5854 (numberLabel): some small formatting changes.
5856 * buffer.[Ch]: remove all traces of counters, move the Counters
5857 object to the LyXTextClass.
5859 2002-09-06 Alain Castera <castera@in2p3.fr>
5861 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5862 package to set the horizontal alignment on fixed width columns.
5865 * lyx_sty.h: added tabularnewline macro def.
5867 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5869 2002-09-06 John Levon <levon@movementarian.org>
5871 * LyXAction.C: tooltips for sub/superscript
5873 * MenuBackend.C: a bit more verbose
5875 * lyxfunc.C: tiny clean
5877 * undo_funcs.C: document undo_frozen
5879 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5881 * counters.C (Counters): add missing algorithm counter.
5883 * text2.C (setCounter): lookup the counter with layouts latexname
5884 instead of by section number.
5885 (setCounter): use a hackish way to lookup the correct enum
5887 a float name->type change
5888 reset enum couners with counter name directly instead of depth value.
5890 * counters.C (Counters): remove the push_backs, change to use the
5891 float type not the float name.
5892 (labelItem): remove unused string, float name->type change
5894 * counters.h: don't include vector, loose the enums and sects vectors
5896 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5899 (Read): add float->TC_FLOAT to textclassTags
5900 (Read): and handle it in the switch
5901 (readFloat): new function
5903 * FloatList.C (FloatList): comment out the hardcoded float
5906 * lyxlayout.h: ws change.
5908 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5910 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5912 2002-09-03 Angus Leeming <leeming@lyx.org>
5914 * BufferView_pimpl.h: qualified name is not allowed in member
5915 declaration: WorkArea & Pimpl::workarea() const;
5917 * factory.C: added using std::endl directive.
5919 * text3.C: added using std::find and std::vector directives.
5921 2002-08-29 André Pönitz <poenitz@gmx.net>
5924 * text2.C: remove unused member number_of_rows
5927 * BufferView2.C: remove file, move contents to...
5928 * BufferView.C: ... here
5930 * BufferView_pimpl.C:
5931 * factory.C: move more inset creation to factory
5933 * vspace.C: avoid direct usage of LyXText, ws changes
5936 don't provide direct access to WorkArea, use two simple
5937 acessors haveSelction() and workHeight() instead
5940 2002-08-29 John Levon <levon@movementarian.org>
5942 * BufferView_pimpl.C (dispatch): do not continue when
5945 2002-08-28 André Pönitz <poenitz@gmx.net>
5947 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5950 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5952 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5954 * buffer.C: increment LYX_FORMAT to 221
5956 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5957 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5959 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5961 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5963 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5965 * factory.C (createInset): use LyXTextClass::floats
5967 * MenuBackend.C (expandFloatListInsert):
5968 (expandFloatInsert):
5971 * text2.C (setCounter):
5973 * LaTeXFeatures.C (useFloat):
5974 (getFloatDefinitions):
5976 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5978 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5979 floatlist_, with accessor floats().
5981 * FloatList.h: remove global FloatList
5983 2002-08-26 André Pönitz <poenitz@gmx.net>
5985 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5989 * BufferView_pimpl.C:
5990 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5992 2002-08-25 John Levon <levon@movementarian.org>
5994 * LyXAction.C: fix margin note description
5996 2002-08-24 John Levon <levon@movementarian.org>
6000 * bufferview_funcs.C:
6002 * undo_funcs.C: cleanups
6004 * lyxfunc.C: disable CUT/COPY when no selection
6006 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6008 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6009 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6011 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6012 Add backward compatibility to "mono", "gray" and "no".
6014 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6016 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6017 (and file_format >= 200).
6019 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6021 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6023 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6025 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6027 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6029 * BufferView_pimpl.C:
6036 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6037 inset and code to make it work with the paragraph code. The inset
6038 can be anywhere in the paragraph, but will only do the expected
6039 thing in LaTeX if the layout file contains the parameter line
6041 (or more generally, a nonzero value) for that layout.
6043 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6045 * paragraph.h: remove the declaration of undefined counters class
6048 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6050 * text2.C (setCounter): fixed enumeration mis-count as reported by
6051 Dr. Richard Hawkins.
6053 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6055 * paragraph_funcs.h: remove some unneeded includes
6057 * text.C (backspace): pasteParagraph now in global scipe
6059 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6060 (pasteSelection): ditto
6062 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6063 * paragraph_funcs.C (pasteParagraph): ... here
6065 2002-08-20 André Pönitz <poenitz@gmx.net>
6067 * commandtags.h: new LFUNs for swapping/copying table row/colums
6070 * lyxfunc.C: support for new lfuns
6072 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6075 * buffer.[Ch]: remove NO_COMPABILITY stuff
6077 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6079 * boost.C (throw_exception): new file, with helper function for
6080 boost compiled without exceptions.
6085 * ParameterStruct.h:
6086 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6088 * bufferlist.C (emergencyWriteAll): use boost bind
6090 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6092 * text.C: include paragraph_funcs.h
6093 (breakParagraph): breakParagraph is now in global scope
6095 * paragraph_funcs.[Ch]: new files
6097 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6100 * buffer.C: include paragraph_funcs.h
6101 (insertStringAsLines): breakParagraph is now in global scope
6103 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6106 * CutAndPaste.C: include paragraph_funcs.h
6107 (cutSelection): breakParagraphConservative is now in global scope
6108 (pasteSelection): ditto
6110 * buffer.h: declare oprator== and operator!= for
6111 Buffer::inset_iterator
6113 * bufferlist.C (emergencyWrite): don't use fmt(...)
6115 * text3.C: add using std::endl
6117 * BufferView.C (moveCursorUpdate): remove default arg
6119 2002-08-20 André Pönitz <poenitz@gmx.net>
6121 * buffer.[Ch]: move inline functions to .C
6124 * BufferView_pimpl.C:
6126 * buffer.[Ch]: use improved inset_iterator
6129 * paragraph.[Ch]: write one paragraph at a time
6131 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6133 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6134 style if style is not specified.
6136 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6138 * text2.C (setCounter): when searching for right label for a
6139 caption, make sure to recurse to parent insets (so that a caption
6140 in a minipage in a figure float works) (bug #568)
6142 2002-08-20 André Pönitz <poenitz@gmx.net>
6144 * text3.C: new file for LyXText::dispatch() and helpers
6146 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6148 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6150 2002-08-19 André Pönitz <poenitz@gmx.net>
6153 * text.C: new LyXText::dispatch()
6155 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6157 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6159 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6161 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6164 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6166 * Makefile.am: use $(variables) instead of @substitutions@
6168 2002-08-15 André Pönitz <poenitz@gmx.net>
6171 * BufferView_pimpl.C: streamlining mathed <-> outer world
6175 * LyXAction.C: remove unused LFUN_MATH
6177 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6181 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * paragraph.C (Paragraph): reformat a bit
6184 (cutIntoMinibuffer): use builtin InsetList function instad of
6188 * buffer.C: include boost/bind.hpp, add using std::for_each
6189 (writeFileAscii): use ParagraphList iterators
6190 (validate): use for_each for validate traversal of paragraphs
6191 (getBibkeyList): use ParagraphList iterators
6192 (resizeInsets): use for_each to resizeInsetsLyXText for all
6194 (getParFromID): use ParagraphList iterators
6196 * BufferView2.C (lockInset): use paragraph list and iterators
6198 2002-08-14 John Levon <levon@movementarian.org>
6200 * lyxserver.C: remove spurious xforms include
6202 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6204 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6206 2002-08-13 André Pönitz <poenitz@gmx.net>
6209 * lyxfunc.C: further cleaning
6211 2002-08-13 André Pönitz <poenitz@gmx.net>
6213 * funcrequest.h: new constructor
6215 * funcrequest.C: move stuff here from .h
6218 * BufferView_pimpl.C:
6221 * lyxfunc.C: subsequent changes
6223 * lyxfunc.h: new view() member function
6225 * lyxfunc.C: subsequent changes
6227 2002-08-13 Angus Leeming <leeming@lyx.org>
6230 * BufferView_pimpl.C:
6238 changes due to the changed LyXView interface that now returns references
6239 to member variables not pointers.
6241 2002-08-13 Angus Leeming <leeming@lyx.org>
6243 * WordLangTuple (word, lang_code): return references to strings,
6248 * lyxtext.h: forward-declare WordLangTuple.
6253 * text.C: #include "WordLangTuple.h".
6256 * text.C: (selectNextWordToSpellcheck): constify return type.
6258 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6264 * paragraph_pimpl.h:
6267 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6269 Made updateCounter always count from start of buffer, and removed
6270 second argument (par).
6271 Reverted floats number display to '#'. Perhaps I'll try again when the
6272 code base is sanitized a bit.
6274 2002-08-12 Angus Leeming <leeming@lyx.org>
6276 * buffer.[Ch] (getLabelList): constify.
6278 2002-08-07 André Pönitz <poenitz@gmx.net>
6280 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6282 * funcrequest.h: extension to keep mouse (x,y) position
6284 2002-08-12 Juergen Vigna <jug@sad.it>
6286 * BufferView2.C (insertErrors): forbid undo when inserting error
6289 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6291 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * ParagraphList.[Ch]: new files
6295 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6297 * BufferView2.C (lockInset): ParagraphList changes
6300 * bufferlist.C: ditto
6304 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6307 unused class variable counter_,
6309 * paragraph.[Ch] (getFirstCounter): delete unused function
6311 * counters.C: include LAssert.h
6312 (reset): add a new function with no arg, change other version to
6313 not have def. arg and to not allow empty arg.
6315 * text2.C (setCounter): remove empty arg from call to Counters::reset
6317 2002-08-11 John Levon <levon@movementarian.org>
6319 * Makefile.am: add WordLangTuple.h
6321 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6324 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6326 * insets/insettext.C: InsetList changes
6328 * graphics/GraphicsSupport.C (operator()): InsetList changes
6330 * toc.C (getTocList): InsetList changes
6332 * paragraph_pimpl.[Ch]: InsetList changes
6334 * paragraph.[Ch]: InsetList changes
6336 * buffer.C (inset_iterator): InsetList changes
6337 (setParagraph): ditto
6338 * buffer.h (inset_iterator): ditto
6339 * iterators.C (operator++): ditto
6340 * iterators.h: ditto
6342 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6344 * InsetList.[Ch]: new files, most InsetList handling moved out of
6347 * BufferView2.C (removeAutoInsets): InsetList changes
6349 (ChangeInsets): ditto
6351 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * paragraph_pimpl.h (empty): new function
6355 * paragraph.[Ch] (empty): new function
6357 * other files: use the new Paragraph::empty function
6359 2002-08-09 John Levon <levon@movementarian.org>
6361 * lyxtext.h: remove unused refresh_height
6363 2002-08-09 John Levon <levon@movementarian.org>
6370 * paragraph.C: move sgml char escaping out of paragraph
6373 * paragraph.C: remove id setter
6377 * paragraph_pimpl.C: remove dead tex_code_break_column
6379 * bufferview_funcs.C: small cleanup
6381 * lyxfunc.C: remove dead proto
6383 * lyxtext.h: make some stuff private. Remove some dead stuff.
6385 * lyxgluelength.C: make as[LyX]String() readable
6387 2002-08-08 John Levon <levon@movementarian.org>
6392 * ToolbarDefaults.C:
6395 * toc.C: lyxaction cleanup
6397 2002-08-08 John Levon <levon@movementarian.org>
6399 * BufferView2.C: small cleanup
6402 * lyxfind.C: move unnecessary header into the .C
6404 2002-08-08 John Levon <levon@movementarian.org>
6406 * funcrequest.h: just tedious nonsense
6409 * lyx_main.C: cleanups
6412 * vspace.C: remove dead header lyx_main.h
6414 2002-08-07 Angus Leeming <leeming@lyx.org>
6417 * paragraph_pimpl.h:
6418 Forward declare class Counters in paragraph.h by moving the ctrs member
6419 variable into Paragraph::Pimpl.
6420 (counters): new method, returning a reference to pimpl_->ctrs.
6422 * text2.C: ensuing changes.
6424 2002-08-07 John Levon <levon@movementarian.org>
6426 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6428 * BufferView_pimpl.C: announce X selection on double/triple
6431 * lyx_main.C: use correct bool in batch dispatch
6433 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6435 2002-08-07 André Pönitz <poenitz@gmx.net>
6437 * funcrequest.h: new class to wrap a kb_action and its argument
6440 * BufferView_pimpl[Ch]:
6444 * lyxrc.C: subsequent changes
6447 2002-08-07 John Levon <levon@movementarian.org>
6449 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6450 document options change.
6452 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6457 * makefile.am: move counters functionality over from
6458 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6460 2002-08-06 John Levon <levon@movementarian.org>
6462 * WordLangTuple.h: new file for word + language code tuple
6473 * BufferView2.C: use WordLangTuple
6476 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6478 2002-08-06 John Levon <levon@movementarian.org>
6480 * lyx_main.C: fix cmdline batch handling
6482 2002-08-06 André Pönitz <poenitz@gmx.net>
6484 * lyxrc.C: set default for show_banner to true
6486 2002-08-06 John Levon <levon@movementarian.org>
6488 * pspell.C: fix a crash, and allow new aspell to work
6490 2002-08-06 John Levon <levon@movementarian.org>
6493 * kbmap.C: small cleanup
6496 * vspace.C: add const
6498 2002-08-05 John Levon <levon@movementarian.org>
6500 * LyXAction.C: back to tabular-insert
6502 2002-08-04 John Levon <levon@movementarian.org>
6505 * BufferView.C: cosmetic change
6507 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6517 * BufferView2.C: purge all "Lyx" not "LyX" strings
6520 * lyxcursor.C: attempt to add some documentation
6525 * ToolbarDefaults.C:
6526 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6527 merge with LFUN_TABULAR_INSERT
6534 * pspell.C: split up i/pspell implementations into separate
6535 files, many cleanups
6537 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6539 * text2.C: some cleanup
6541 * lyxfunc.C: don't check for isp_command == "none" any more, it
6542 didn't make any sense
6544 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6549 * makefile.am: move counters functionality over
6550 from text2.C/paragraph.[Ch] to counters.[Ch], and
6552 2002-08-02 John Levon <levon@movementarian.org>
6554 * buffer.C: s/lyxconvert/lyx2lyx/
6556 2002-08-02 Angus Leeming <leeming@lyx.org>
6558 * lyxlex.C: revert John's change as it breaks reading of the user
6561 2002-08-02 Angus Leeming <leeming@lyx.org>
6563 * importer.C (Import):
6564 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6565 changes due to LyXView::view() now returning a boost::shared_ptr.
6567 2002-08-02 John Levon <levon@movementarian.org>
6569 * lyxlex.C: small cleanup
6571 2002-08-02 John Levon <levon@movementarian.org>
6573 * text2.C (status): small cleanup, no logic change
6575 2002-08-01 John Levon <levon@movementarian.org>
6578 * buffer.C (writeFile): don't output alerts, caller
6582 * lyx_cb.C: from above
6584 * lyxfunc.C: allow to open non-existent files
6586 2002-07-31 John Levon <levon@movementarian.org>
6588 * lyxserver.C: don't let incidental errors get
6591 2002-07-30 John Levon <levon@movementarian.org>
6593 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6595 2002-07-30 John Levon <levon@movementarian.org>
6598 * lyxserver.C: remove I/O callback too
6600 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6602 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6605 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * many files: strip,frontStrip -> trim,ltrim,rtrim
6609 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6611 * PrinterParams.h: remove extern containsOnly, and include
6612 support/lstrings.h instead.
6614 * LaTeX.C (scanAuxFile): modify because of strip changes
6616 * buffer.C (makeLaTeXFile): ditto
6617 * bufferparams.C (writeFile): ditt
6618 * lyxfont.C (stateText): ditto
6619 * lyxserver.C (read_ready): ditto
6620 * vc-backend.C (scanMaster): ditto
6622 * BufferView_pimpl.h: ws changes
6624 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6626 2002-07-26 André Pönitz <poenitz@gmx.net>
6628 * kb_sequence.C: remove unnedred usings
6630 2002-07-26 Juergen Vigna <jug@sad.it>
6632 * lyxfind.C (LyXReplace): we have to check better if the returned
6633 text is not of theLockingInset()->getLockingInset().
6635 2002-07-25 Juergen Vigna <jug@sad.it>
6637 * lyxfind.C (LyXReplace): don't replace if we don't get the
6640 * undo_funcs.C (createUndo): remove debugging code.
6642 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6644 * buffer.C (parseSingleLyXformat2Token): Use default placement
6645 when reading old floats.
6647 * FloatList.C (FloatList): Change the default placement of figure
6648 and tables to "tbp".
6650 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6652 * MenuBackend.C: using std::max
6654 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6656 * MenuBackend.C (expandToc):
6657 (expandToc2): code moved from xforms menu frontend. It is now
6658 generic and TOCs are transparent to menu frontends.
6660 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6662 * toc.C (getTocList): protect against buf=0
6664 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6665 Menu as first parameter. Now, this calls itself recursively to
6666 expand a whole tree (this will be useful for TOC handling)
6667 (expandFloatInsert): remove 'wide' version of floats
6669 * MenuBackend.h (submenuname): returns the name of the submenu.
6670 (submenu): returns the submenu itself, provided it has been
6671 created by MenuBackend::expand
6673 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6675 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6676 insets which have noFontChange == true. (bug #172)
6678 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6680 * BufferView_pimpl.C: add connection objects and use them...
6683 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6685 * MenuBackend.C (expandLastfiles):
6688 (expandFloatListInsert):
6689 (expandFloatInsert):
6690 (expand): split expand in parts
6692 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6694 * lyx_gui.C: use lyx_gui::exit()
6696 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6698 * LyXAction.C: show the failing pseudo action
6700 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6702 * buffer.C (readFile): Run the lyxconvert script in order to read
6705 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6709 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6711 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6715 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6717 2002-07-22 Herbert Voss <voss@lyx.org>
6720 * lyxlength.[Ch]: add support for the vertical lengths
6722 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6724 * toc.[Ch]: std:: fixes
6726 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6728 * lyxrc.C: do not include lyx_main.h
6730 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6736 * BufferView2.C: include "lyxlex.h"
6739 * bufferparams.h: do not #include "lyxlex.h"
6741 * lyxtextclasslist.C (Add): remove method
6742 (classlist): renamed to classlist_
6744 * paragraph_pimpl.C:
6748 * bufferview_funcs.C:
6753 * toc.C (getTocList): use BufferParams::getLyXTextClass
6755 * toc.C (getTocList): use InsetFloat::addToToc
6757 * toc.[Ch]: new files, containing helper functions to handle table
6760 * lyxfunc.C (dispatch): no need to remove spaces around command
6762 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6763 first command of the sequence; it is not very clever, but I do not
6764 have a better idea, actually
6766 * LyXAction.C (LookupFunc): make sure to remove space at the
6767 beginning and end of the command
6769 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6771 * MenuBackend.C (getMenubar): new method: return the menubar of
6773 (read): treat differently reading of menu and menubar (in
6774 particular, the menubar has no name now)
6775 (Menu::menubar): remove
6777 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6780 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6782 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6783 a bibitem inset in a RTL paragraph.
6785 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6787 * paragraph_pimpl.C: constify
6789 * BufferView_pimpl.C:
6791 * lyxfunc.C: fix dispatch in a nicer way
6793 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6795 * lyxfunc.C (dispatch):
6796 * BufferView_pimpl.C:
6797 * BufferView_pimpl.h:
6799 * BufferView.h: rename Dispatch() to dispatch()
6801 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6803 * lyxlayout.C (Read): honor DependsOn tag
6805 * lyxlayout.[Ch] (depends_on): new method
6807 * version.C.in: update lyx_docversion
6809 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6811 * paragraph.C (validate): remove from here...
6812 * paragraph_pimpl.C (validate): ... and move here
6813 (isTextAt): make it const
6815 * buffer.C (getLists): ws cleanup
6817 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6819 * language.C (read): Use iso8859-1 encoding in latex_lang
6820 (this prevents LyX from crashing when using iso10646-1 encoding).
6822 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * text2.C (toggleInset): if cursor is inside an inset, close the
6825 inset and leave cursor _after_ it
6827 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6829 * lyxfunc.C: move minibuffer completion handling out of here
6831 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6833 * BufferView_pimpl.C:
6834 * LaTeX.C: fix dispatch calls
6836 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6838 * text.C (drawChars): Fix Arabic text rendering.
6840 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6844 * lyxfunc.C: remove message-push/pop
6848 * lyxfunc.C: rationalise some code by removing verboseDispatch
6849 in favour of a bool argument to dispatch()
6851 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6853 * lyx_main.C (init): make sure to read symlinks as absolute paths
6855 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6858 * lyxfunc.C: no need for commandshortcut to be a member
6860 2002-07-15 André Pönitz <poenitz@gmx.net>
6862 * converter.C: add support for $$s (scripts from lib/scripts dir)
6863 * lyx_main.C: white space
6865 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6869 * lyxrc.C: remove second exit confirmation
6871 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6876 * BufferView_pimpl.h:
6877 * BufferView_pimpl.C:
6878 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6880 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6882 * MenuBackend.C (expand): add numeric shortcuts to document menu
6884 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6886 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6888 * lyxfont.C (setLyXFamily):
6895 * buffer.C (asciiParagraph): use ascii_lowercase
6897 2002-07-15 Mike Fabian <mfabian@suse.de>
6899 * lyxlex_pimpl.C (search_kw):
6900 * lyxlex.C (getLongString):
6901 * converter.h (operator<):
6902 * converter.C (operator<):
6903 * buffer.C (parseSingleLyXformat2Token):
6905 * ToolbarDefaults.C (read):
6906 * MenuBackend.C (checkShortcuts):
6908 * LColor.C (getFromGUIName):
6909 (getFromLyXName): use the compare_ascii_no_case instead of
6910 compare_no_case, because in turkish, 'i' is not the lowercase
6911 version of 'I', and thus turkish locale breaks parsing of tags.
6913 2002-07-16 Angus Leeming <leeming@lyx.org>
6915 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6916 now takes a Buffer const & argument.
6918 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6920 * BufferView.C (resize): check there's a buffer to resize
6922 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6924 * lyxfunc.C: remove dead code
6927 * lyxserver.C: use lyx_guii::set_read_callback
6929 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6931 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6932 an inset in a RTL paragraph.
6934 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6936 * lyxfunc.C: repaint after a font size update
6938 2002-07-15 André Pönitz <poenitz@gmx.net>
6940 * lyxlength.C: inBP should be able to return negative values
6942 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6944 * lyxfunc.C: use lyx_gui::update_fonts()
6946 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6948 * lyxfunc.C: use lyx_gui::update_color()
6950 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6956 * lyxrc.C: remove file->new asks for name option, and let
6957 buffer-new take an argument
6959 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6961 * BufferView_pimpl.C: remove unneeded extra repaint()
6963 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6965 * LyXAction.C: allow command-sequence with NoBuffer
6967 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6969 2002-07-10 Angus Leeming <leeming@lyx.org>
6971 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6973 2002-07-09 Angus Leeming <leeming@lyx.org>
6975 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6977 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6979 * lengthcommon.h: whitespace
6981 * lyxfunc.C: update scrollbar after goto paragraph
6983 * lyxtext.h: factor out page break drawing, and fix it so
6984 page break/added space paints as selected nicely
6986 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6988 * BufferView_pimpl.C: add FIXMEs, clean up a little
6990 2002-07-09 André Pönitz <poenitz@gmx.net>
6992 * lyxfont.[Ch]: support for wasy symbols
6994 2002-07-08 André Pönitz <poenitz@gmx.net>
6996 * BufferView_pimpl.C: apply John's patch for #93.
6998 2002-07-05 Angus Leeming <leeming@lyx.org>
7000 * BufferView_pimpl.C (buffer): generate previews if desired.
7002 * LColor.h: add "preview" to the color enum.
7004 * LColor.C (LColor): add a corresponding entry to the items array.
7006 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7009 2002-07-05 Angus Leeming <leeming@lyx.org>
7011 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7012 The body of the code is now in the method that is passed an ostream &
7013 rather than a file name.
7014 Pass an additional only_preamble parameter, useful for the forthcoming
7017 2002-07-03 André Pönitz <poenitz@gmx.net>
7019 * lyxfunc.C: simplify getStatus() a bit for math stuff
7021 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7023 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7025 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7027 * text.C (changeRegionCase): do not change case of all the
7028 document when region ends at paragraph end (bug #461)
7030 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7032 * paragraph.C (startTeXParParams):
7033 (endTeXParParams): add \protect when necessary
7035 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7037 * BufferView_pimpl.C (workAreaExpose): remove warning
7039 2002-06-27 Angus Leeming <leeming@lyx.org>
7041 * Makefile.am: add lyxlayout_ptr_fwd.h.
7043 2002-06-26 André Pönitz <poenitz@gmx.net>
7045 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7047 2002-06-25 Angus Leeming <leeming@lyx.org>
7049 * lyxfunc.C (dispatch): Comment out the call to
7050 grfx::GCache::changeDisplay. The method no longer exists now that the
7051 pixmap generation part of the graphics loader has been moved into
7054 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7056 * text2.C: layout as layout
7058 * text.C: layout as layout
7060 * tabular.C (OldFormatRead): layout as layout
7062 * paragraph_pimpl.C (TeXDeeper): layout as layout
7063 (realizeFont): layout as layout
7065 * paragraph.C (writeFile): layout as layout
7066 (validate): layout as layout
7067 (getFont): layout as layout
7068 (getLabelFont): layout as layout
7069 (getLayoutFont): layout as layout
7070 (breakParagraph): layout as layout
7071 (stripLeadingSpaces): layout as layout
7072 (getEndLabel): layout as layout
7073 (getMaxDepthAfter): layout as layout
7074 (applyLayout): layout as layout
7075 (TeXOnePar): layout as layout
7076 (simpleTeXOnePar): layout as layout
7077 (TeXEnvironment): layout as layout
7078 (layout): layout as layout
7079 (layout): layout as layout
7081 * lyxtextclass.C (compare_name): new functor to work with
7082 shared_ptr, layout as layout
7083 (Read): layout as layout
7084 (hasLayout): layout as layout
7085 (operator): layout as layout
7086 (delete_layout): layout as layout
7087 (defaultLayout): layout as layout
7089 * lyxlayout_ptr_fwd.h: new file
7091 * lyxlayout.C (Read): layout as layout
7093 * lyx_cb.C (MenuInsertLabel): layout as layout
7095 * bufferlist.C (newFile): layout as layout
7097 * buffer.C (readLyXformat2): layout as layout
7098 (parseSingleLyXformat2Token): layout as layout
7099 (insertStringAsLines): layout as layout
7100 (asciiParagraph): layout as layout
7101 (latexParagraphs): layout as layout
7102 (makeLinuxDocFile): layout as layout
7103 (simpleLinuxDocOnePar): layout as layout
7104 (makeDocBookFile): layout as layout
7105 (simpleDocBookOnePar): layout as layout
7106 (getLists): layout as layout
7108 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7110 * CutAndPaste.C (cutSelection): layout as layout
7111 (pasteSelection): layout as layout
7112 (SwitchLayoutsBetweenClasses): layout as layout
7114 * BufferView_pimpl.C (Dispatch): layout as layout
7115 (smartQuote): layout as layout
7117 * BufferView2.C (unlockInset): layout as layout
7119 2002-06-24 André Pönitz <poenitz@gmx.net>
7121 * lyxfunc.C: fix #487
7123 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7127 * lyxfunc.C: remove display_shortcuts, show_banner
7129 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7131 * Buffer_pimpl.C: oops, update on resize
7133 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7140 * BufferView.C: use repaint()
7142 * BufferView_pimpl.h:
7143 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7144 as it's a clearer description. Remove superfluous
7147 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7149 * text.C: fix bug 488. Not ideal, but getting
7150 getWord() to work properly for the insets that
7151 matter is more difficult ...
7153 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7155 * BufferView_pimpl.C:
7158 * lyxfunc.C: remove the six million index lyxfuncs to just
7159 one, and DTRT (bug 458)
7161 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7165 * BufferView_pimpl.h:
7166 * BufferView_pimpl.C: clean up resize() stuff,
7167 and unnecessary updateScreen()s
7169 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7173 * BufferView_pimpl.h:
7174 * BufferView_pimpl.C:
7177 * minibuffer.C: remove focus management of workarea,
7178 not needed. Use screen's greyOut()
7180 2002-06-17 Herbert Voss <voss@lyx.org>
7182 * converter.C: (convert) do not post a message, when converting
7183 fails, let the calling function decide what to do in this case
7185 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7187 * lyxfunc.C: tidy up a little
7189 2002-06-16 <alstrup@diku.dk>
7191 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7192 Got rid of FORMS_H_LOCATION include. Now we are
7195 2002-06-15 LyX Development team <lyx@rilke>
7197 * buffer.[Ch] (sgmlOpenTag):
7198 (sgmlCloseTag): Added support for avoiding pernicious mixed
7199 content. Return number of lines written.
7202 (makeDocBookFile): Fixed calls to sgml*Tag.
7203 Simple white space clean.
7205 (simpleDocBookOnePar): Simple white space clean.
7207 * tabular.[Ch] (docBook): Renamed to docbook and got another
7208 argument to related with the pernicious mixed content.
7210 (docbookRow): Fixed calls for docbook inset method.
7212 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7214 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7215 so it's X11 independent.
7219 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7221 2002-06-15 Lyx Development team <lyx@electronia>
7223 * intl.h: Renamed getTrans to getTransManager.
7225 2002-06-14 Angus Leeming <leeming@lyx.org>
7227 * Makefile.am: nuke forgotten stl_string_fwd.h.
7229 2002-06-12 Angus Leeming <leeming@lyx.org>
7231 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7233 2002-06-13 Angus Leeming <leeming@lyx.org>
7236 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7238 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7240 * kbmap.C (getiso): add support for cyrillic and greek
7242 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7246 * BufferView_pimpl.h:
7247 * BufferView_pimpl.C: move bogus scrolling logic
7250 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7253 * BufferView_pimpl.C: view->resize() change
7255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7257 * BufferView_pimpl.C: topCursorVisible
7260 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7264 * lyx_gui.C: move to frontends/
7268 * lyx_main.C: changes from above
7270 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7277 * lyx_main.C: minor tidy
7279 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7281 * BufferView_pimpl.h:
7282 * BufferView_pimpl.C:
7284 * BufferView.C: make painter() const,
7287 * BufferView2.C: use screen() accessor
7290 * lyx_main.C: some minor cleanup
7292 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7294 * BufferView_pimpl.h:
7295 * BufferView_pimpl.C: remove enter/leaveView,
7298 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7303 * BufferView_pimpl.h:
7304 * BufferView_pimpl.C: only construct screen once,
7307 * lyxrc.C: remove pointless comment
7309 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7312 * BufferView.C: remove active() and belowMouse()
7314 * BufferView_pimpl.h:
7315 * BufferView_pimpl.C: use workarea() not workarea_,
7316 and make it use a scoped_ptr instead
7318 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7320 * lyx_gui.C: add debug message on BadWindow
7322 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7324 * sp_spell.C: fdopen is not part of the C++ standard.
7326 * paragraph.C (InsetIterator): use >= instead of ==
7328 2002-06-07 Angus Leeming <leeming@lyx.org>
7330 Fixes needed to compile with Compaq cxx 6.5.
7331 * BufferView_pimpl.C:
7338 * lyxtextclasslist.C:
7343 all c-library variables have been moved into namespace std. Wrap
7344 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7349 Add a using std::abs declaration.
7351 * kbmap.h (modifier_pair):
7352 * paragraph.h (InsetTable, InsetList):
7353 * lyxfont.h (FontBits):
7354 type definition made public.
7356 * bufferlist.C (emergencyWriteAll): the compiler complains that
7357 there is more than one possible lyx::class_fun template to choose from.
7358 I re-named the void specialisation as lyx::void_class_fun.
7360 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7362 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7363 the compiler is is unable to find tostr in write_attribute.
7365 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7367 * buffer.C (sgmlError): hide #warning
7369 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * xtl/*: get rid of xtl, which is not in use anyway
7373 * LyXAction.C (init):
7374 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7375 were unimplemented xtl experimentation
7377 2002-06-04 André Pönitz <poenitz@gmx.net>
7379 * lyxfunc.C: disable array operation on simple formulae
7381 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7383 * converter.C: constify a bit
7385 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7387 * lyx_gui.C: check xforms version correctly
7389 2002-04-30 Herbert Voss <voss@lyx.org>
7391 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7394 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7396 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7397 attempt to register it with a VCS)
7399 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7401 * lyx_main.C (init): honor variables LYX_DIR_13x and
7404 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7408 * lyx_main.C: fix a crash on bad command line,
7409 and give a useful exit status on error
7411 * lyxfunc.C (doImport): allow -i lyx to work
7413 2002-03-30 André Pönitz <poenitz@gmx.net>
7415 * lyxfunc.C: mathed font changes
7417 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7432 * trans_mgr.h: srcdocs, and some minor cleanups
7434 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7436 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7437 call getFont all the time)
7439 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7441 * switch from SigC signals to boost::signals
7443 2002-05-29 André Pönitz <poenitz@gmx.net>
7445 * paragraph_pimpl.C (getChar): don't call size() too often...
7447 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7449 * paragraph_pimpl.C (insertChar): do not try to update tables when
7450 appending (pos == size())
7452 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7453 in order to reduce drastically the number of comparisons needed to
7454 parse a large document
7456 2002-05-29 André Pönitz <poenitz@gmx.net>
7462 * textclasslist.[Ch]:
7463 * sp_ispell.h: whitespace change
7465 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7467 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7468 lyxaction directly now.
7470 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7474 * lyxvc.C: remove unused headers
7476 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7483 * undo_funcs.C: some cleanups. Use shared_ptr
7484 and a template for the undo stacks.
7486 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7488 * BufferView_pimpl.h:
7489 * BufferView_pimpl.C:
7496 * text2.C: use key_state/mouse_state
7498 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7500 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7503 * chset.C: change include order
7504 (loadFile): use boost regex and get rid of LRegex and LSubstring
7506 * Makefile.am (BOOST_LIBS): new variable
7509 * LaTeX.C: change include order.
7510 (scanAuxFile): use boost regex and get rid of LRegex and
7514 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7519 * FontInfo.C: moved to frontends/xforms/
7522 * FontLoader.C: moved into frontends for GUIIzation
7527 * lyxfunc.C: changes from above
7529 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7531 * LColor.C: remove spurious X include
7533 * BufferView_pimpl.C:
7538 * text2.C: move font metrics to frontends/
7540 2002-05-24 Juergen Vigna <jug@sad.it>
7542 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7543 setting the undo_cursor.
7545 * ParagraphParameters.h: include local includes first.
7547 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7549 * BufferView_pimpl.C:
7550 * BufferView_pimpl.h:
7554 * screen.C: move WorkArea into frontends/
7560 * BufferView2.C: move LyXScreen into frontends/
7564 * lyx_gui.C: move lyxlookup into frontends/xforms/
7566 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7569 * BufferView_pimpl.C:
7579 * bufferview_funcs.C:
7592 * vc-backend.C: move LyX/XFormsView into frontends/
7594 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7606 * text2.C: move Painter to frontends/
7608 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7610 * buffer.C: comment out some some code that depend upon lyx_format
7613 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7614 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7616 * buffer.h (NO_COMPABILITY): turn off compability
7618 * ColorHandler.C: include scoped_array.hpp
7620 * font.C: Use more specific smart_ptr header.
7623 * ShareContainer.h: ditto
7627 * BufferView_pimpl.h: ditto
7628 * ColorHandler.h: ditto
7630 * kbmap.C (defkey): change call to shared_ptr::reset
7632 2002-05-21 Juergen Vigna <jug@sad.it>
7634 * buffer.C (insertErtContents): fix to insert ert asis if it is
7635 non empty. Skip it completely if it contains only whitespaces.
7637 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7639 * BufferView_pimpl.C:
7640 * BufferView2.C: clear selection on paste (bug 393)
7642 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7644 * DepTable.C: include ctime
7646 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7648 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7650 2002-05-14 Juergen Vigna <jug@sad.it>
7652 * text.C (breakParagraph): fixed function to honor the keepempty
7653 layout in the right maner and also to permit the right breaking
7654 algorithm on empty or non empyt keepempty paragraphs.
7656 * paragraph.C (breakParagraph): we have to check also if the par
7657 is really empty (!size()) for isempty otherwise we do the wrong
7660 2002-05-10 Juergen Vigna <jug@sad.it>
7662 * buffer.[Ch] : The following are only changes to the ert
7663 compatibility read reading old LaTeX layout and font stuff and
7664 convert it to ERTInsets.
7666 * buffer.h: added isErtInset().
7668 * buffer.C (struct ErtComp): add a fromlayout bool to check
7669 if we're inside a LaTeX layout.
7670 (isErtInset): new helper function.
7671 (insertErtContents): look for other ert insets before this one
7672 and insert the contents there, so that we don't have subsequent
7673 ERT insets with nothing between them. This way we create only one
7674 inset with multiple paragraphs. Also check if we don't insert only
7675 spaces ' ' as they are ignored anyway afterwards in the .tex file
7676 so if we have only spaces we will ignore this latex part in the
7678 (parseSingleLyXformat2Token \\layout): better compatibility when
7679 reading layout-latex stuff.
7680 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7682 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7683 stuff after reading the inset only get the information back from
7686 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7688 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7690 * LaTeXFeatures.C (getBabelOptions): New method.
7692 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * BufferView_pimpl.C (Dispatch): work around missing argument for
7697 2002-05-08 Juergen Vigna <jug@sad.it>
7699 * text.C (leftMargin): handle paragraph leftindent.
7701 * paragraph.C (writeFile): write the new \\leftindent tag.
7702 (validate): handle leftindent code.
7703 (TeXEnvironment): handle paragraphleftindent code again.
7705 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7707 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7708 for paragrap_extra indent code and new token \\leftindent.
7709 (latexParagraphs): handle the leftindent as environment.
7711 * ParameterStruct.h: added leftindent support.
7713 * ParagraphParameters.C (leftIndent): added support functions for
7714 the paragraph left indent.
7716 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7719 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7721 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7724 * text.C (computeBidiTables): No bidi in insetERT.
7726 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7729 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7731 * version.C.in: pre 5
7733 2002-05-02 José Matos <jamatos@fep.up.pt>
7734 * buffer.C (makeDocBookFile): white space changes, add newline to
7736 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7738 * tabular.C (docBook): fix typo.
7740 2002-05-03 Juergen Vigna <jug@sad.it>
7742 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7743 change in LyXText as we can not be sure it was not freed.
7744 (drawOneRow): remove unused code.
7746 * text.C (drawInset): redo the calculation of the need_break_row as
7747 it could have a row which was already freed.
7748 (draw): look at the return value of drawInset and return false if
7749 it also returned false.
7750 (paintRowText): look at the return value of draw and return false if
7751 it also returned false.
7753 * lyxtext.h: added bool return type to drawInset() and draw() so that
7754 if we have a change in the row so that the rowbreak has to be redone
7755 we abort drawing as it will be called again.
7757 2002-05-02 Juergen Vigna <jug@sad.it>
7759 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7760 a change in the maintext also if we're inside an inset.
7761 (Dispatch): set the cursor again after a break line and after the
7762 screen has been updated as it could be we're in a different row.
7764 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7765 to set the cursor behind the pargraph with > size().
7766 (setCursor): check also for the same paragraph when checking where
7767 to put the cursor if we have a NFR inset.
7769 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7770 parts of layout read further up as it still was in the wrong
7773 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7775 * screen.C (drawFromTo): change sine fullRebreak always return
7778 * buffer.C (parseSingleLyXformat2Token): reindent some
7780 * BufferView_pimpl.C (update): change since fullRebreak always
7782 (Dispatch): git rid of the last hardcoded "Standard"s.
7784 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7786 * text2.[Ch] (fullRebreak): make it return void now that we always
7789 2002-04-30 Juergen Vigna <jug@sad.it>
7791 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7792 ert compatibility check for "latex" layout.
7794 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7796 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7797 minipages: use col% instead of p%, and also use the current font.
7798 (makeLaTeXFile): Fix use babel condition.
7799 (parseSingleLyXformat2Token): Correct font when reading old floats.
7801 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7803 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7804 inserting list of floats.
7806 2002-04-25 Herbert Voss <voss@lyx.org>
7808 * MenuBackend.C (expand): don't add the graphics extensions to the
7811 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7813 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7814 non-existing layout, do not complain if it was the default layout
7815 of the original class (bug #342)
7817 2002-04-24 Juergen Vigna <jug@sad.it>
7819 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7820 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7822 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7824 * buffer.C (getBibkeyList): If using \bibliography, return the
7825 option field with the reference itself. Enables us to provide natbib
7826 support when using \bibliography.
7828 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7830 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7832 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7833 natbib is provided by the LaTeX class.
7835 2002-04-23 Juergen Vigna <jug@sad.it>
7837 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7840 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7842 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7846 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7847 ensuremath around textordmasculine, textordfeminine and
7850 2002-04-19 Juergen Vigna <jug@sad.it>
7852 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7853 reinitializing the buffer otherwise row-dimensions may be wrong.
7854 (update): reset also the selection cursors if they do exits otherwise
7855 their x/y positions may be wrong.
7857 * text2.C (cursorDown): don't enter the inset if we came from a row
7858 above and are one row over the inset.
7860 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7861 really leaving an inset.
7863 2002-04-18 Juergen Vigna <jug@sad.it>
7865 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7866 of the selected paragraph does not have the selected layout also if
7869 * text2.C (setLayout): fixed bug which did not change last selected
7872 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7873 changed the read and substituted \\end_float with \\end_inset!
7875 * BufferView_pimpl.C (cursorPrevious):
7876 (cursorNext): fixed to make it work with rows heigher than the work
7877 area without moving the cursor only the draw of the row.
7878 (workAreaMotionNotify): fix jumping over high rows.
7880 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7882 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7885 2002-04-16 Juergen Vigna <jug@sad.it>
7887 * text2.C (setCursor): set also the irow().
7888 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7890 (cursorDown): support for locking an inset if the x_fix value goes
7891 inside it. That way I can transverse insets too with cursor up/down.
7893 * lyxrow.h: added irow helper function same as other (i) functions.
7895 * BufferView_pimpl.C (cursorPrevious):
7896 (cursorNext): fixed for insets!
7898 2002-04-15 Juergen Vigna <jug@sad.it>
7900 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7901 position otherwise it is wrong in some cases.
7903 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7904 inside the inset before the call.
7906 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7908 * buffer.[Ch] (getBibkeyList): make it const.
7910 2002-04-12 Juergen Vigna <jug@sad.it>
7912 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7914 * text2.C (getCursorX): new helper function
7915 (setCursor): compute also ix_
7916 (setCursorFromCoordinates): set also ix.
7918 * lyxcursor.h: added ix_ and helper functions.
7920 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7922 * buffer.C (insertStringAsLines): dont break paragraph if the this
7923 paragraph is inside an inset which does not permit it!
7925 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7926 also with no chars on this paragraph.
7927 (paintRowText): only paint stuff if it's inside the workarea!
7929 * paragraph.C (breakParagraph): honor keepempty flag and break the
7930 paragraph always below not above.
7932 * BufferView2.C (unlockInset): update the paragraph layout on inset
7933 unlock as we changed paragraph in such a case.
7935 * lyxfind.C (LyXFind): clear the former selection if not found!
7937 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7938 again called in insertChar().
7940 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7941 an inset which uses the whole row!
7942 (rightMargin): ditto.
7943 (insertChar): force a rebreak if we inserted an inset!
7945 2002-03-28 Herbert Voss <voss@lyx.org>
7947 * lyxlength.[Ch]: add inBP() to get the right PS-point
7948 units (BigPoint). With inPixels we have rounding errors
7950 2002-04-11 Juergen Vigna <jug@sad.it>
7952 * text2.C (setCursorFromCoordinates): set iy to the right value.
7953 (setCursor): add check if row->previous exists!
7955 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7956 an old float_type as this was the case in the old code!
7958 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7960 * BufferView2.C (showLockedInsetCursor): use iy
7961 (fitLockedInsetCursor): ditto
7963 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7964 locked insets as there we have the right value now.
7966 * lyxcursor.C: added iy_ variable and iy functions to set to the
7967 baseline of cursor-y of the locked inset.
7969 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7970 (setCursor): fixed for insets which need a full row.
7972 * text.C (rowLastPrintable): don't ignore the last space when before
7973 an inset which needs a full row.
7974 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7975 as last character of a row when before a inset which needs a full row.
7977 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7979 * version.C.in: update date
7981 * text2.C (fullRebreak): try to always return true and see what
7984 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7986 * MenuBackend.C (expand): use Floating::listName
7988 * FloatList.C (FloatList): add listName argument to the built-in
7991 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7992 text associated with the float.
7994 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7996 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7998 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8000 * ShareContainer.h: add a couple of missing typenames.
8002 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8004 * lyxrc.C (getDescription): use _() correctly rather than N_().
8006 2002-03-28 Herbert Voss <voss@lyx.org>
8008 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8009 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8011 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8013 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8014 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8016 2002-03-29 Juergen Vigna <jug@sad.it>
8018 * lyxfunc.C (dispatch): add a missing fitCursor call.
8020 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8021 it was scrolled by a cursor move, so return the bool status.
8023 * BufferView.C (fitCursor): return the bool flag also to the outside
8024 world as this is needed.
8026 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8028 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8029 call the edit() as it is not needed (and wrong) IMO.
8030 (workAreaButtonPress): set the screen_first variable before evt.
8031 unlock the inset as this may change screen_first and then we have
8032 a wrong y position for the click!
8034 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8036 * MenuBackend.C (expand): another translation that I missed
8038 2002-03-28 Juergen Vigna <jug@sad.it>
8040 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8042 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8044 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8046 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8048 * MenuBackend.C (expand): fix export/view/update when there is no
8051 2002-03-27 Herbert Voss <voss@lyx.org>
8053 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8056 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8058 * bufferview_funcs.C (currentState): only show paragraph number
8059 for is DEVEL_VERSION is set.
8061 * lyxfunc.C (dispatch): put warning in INFO channel
8063 * MenuBackend.C (expand): translate the name of floats
8065 * FloatList.C (FloatList): mark the float names for translation
8067 * converter.C (convert): use LibScriptSearch
8069 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8071 * MenuBackend.C (defaults): fix default menu (we might as well get
8074 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8076 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8079 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8081 * lyxvc.C: reorder includes.
8083 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8085 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8088 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8090 * CutAndPaste.C: change layouts earlier on paste
8091 to avoid crashing when calling getFont()
8093 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8095 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8098 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8100 * WorkArea.C: remove 'Pending' debug message.
8102 * most files: ws cleanup
8104 * buffer.[Ch]: ws changes
8106 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8108 2002-03-21 Juergen Vigna <jug@sad.it>
8110 * tabular.C (SetMultiColumn): collapse also the contents of the
8111 cells and set the last border right. Added a Buffer const * param.
8113 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8118 2002-03-19 Juergen Vigna <jug@sad.it>
8120 * text2.C (clearSelection): reset also xsel_cache.
8122 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8123 where it needs to be called (John tells us to do so too :)
8124 (selectionLost): reset sel_cache.
8126 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8128 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8130 * text2.C (setCursorIntern): put debuging code in INSETS channel
8132 2002-03-19 André Pönitz <poenitz@gmx.net>
8134 * lyxfunc.C: tiny whitespace change
8136 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8138 * ToolbarDefaults.C (init):
8139 * LyXAction.C (init):
8141 * BufferView_pimpl.C (Dispatch):
8142 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8144 2002-03-19 Allan Rae <rae@lyx.org>
8146 * exporter.C (Export): removeAutoInsets before doing anything else.
8147 While I've just introduced a dependency on BufferView this really is
8148 the best place to clean the buffer otherwise you need to cleanup in
8149 a dozen places before calling export or cleanup in a dozen functions
8152 * converter.C (runLaTeX):
8153 (scanLog): Better handling of removeAutoInsets and screen updates.
8155 * lyxfunc.C (dispatch): small whitespace changes
8157 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8159 * WorkArea.C (C_WorkAreaEvent): return a value.
8160 (event_cb): return 1 if we handled the event, 0 otherwise.
8162 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8164 2002-03-18 Juergen Vigna <jug@sad.it>
8166 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8167 (GetAdditionalWidth): ditto.
8171 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8172 inset if we're there actually (probably not used right now but this
8173 is the direction to go for unifying code).
8174 (paste): disable code to clear the selection.
8176 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8177 inside an InsetText and move the check further up as it is in the
8180 * text2.C (pasteSelection): set a selection over the pasted text.
8182 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8184 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8185 and libgraphics to build on Cygwin.
8187 2002-03-15 Juergen Vigna <jug@sad.it>
8189 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8190 inserting an Inset into the paragraph. I know this is not the best
8191 fix but we already use current_view in CutAndPaste so we will remove
8192 all of it's using at the same time.
8194 * buffer.C (sgmlError): deactivated function till it is rewritten in
8195 the right mode, now it can create problems.
8197 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8198 before accessing it.
8200 2002-03-14 Juergen Vigna <jug@sad.it>
8202 * undo_funcs.C (textHandleUndo): do the right thing when updating
8203 the inset after the undo/redo.
8205 * text2.C (setCursor): just some testcode for #44 not ready yet.
8207 * undo_funcs.C (textHandleUndo): set the next() and previous()
8208 pointers of the paragraph to 0 before deleting otherwise we have
8209 problems with the Paragraph::[destructor].
8211 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8212 on a paragraph insertion.
8214 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8216 * buffer.C (asciiParagraph): use += operator for char append to
8219 * paragraph.C (getFontSettings): compare >= not just >
8220 (highestFontInRange): ditto
8223 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8225 * paragraph.C: change several algorithm to be more appripriate for
8226 the problem domain. This is lookip in FontList and in the InsetList.
8228 2002-03-13 André Pönitz <poenitz@gmx.net>
8231 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8233 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8238 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8240 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * Painter.C (display): anon helper function, adjust code for this
8244 (pixmap): remove function.
8246 * Painter.h: remove private display variable.
8248 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8250 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8252 * WorkArea.[Ch]: remove figinset_canvas cruft.
8254 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8256 * lyxtextclass.C (operator): add one item cache optimization.
8258 * bufferlist.h: doxy changes
8260 * bufferlist.C: ws changes
8262 * DepTable.[Ch] (ext_exist): place const in the right spot.
8264 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8266 (workAreaExpose): call resizeInsets when the with BufferView changes.
8267 (Dispatch): adjust for protectedBlank removal
8268 (specialChar): call updateInset if the insert went ok.
8270 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8271 specialChar instead.
8273 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8275 * BufferView.h: doxy change
8277 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8279 * lyxtextclass.C (operator[]): remove non-const version
8280 (defaultLayout): remove non-const version
8282 2002-03-12 Juergen Vigna <jug@sad.it>
8284 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8285 did resize the LyXText too.
8287 * buffer.C (readLyXformat2): set layout information on newly allocated
8290 * tabular.C (OldFormatRead): set layout information on the paragraph.
8292 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8294 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8296 2002-03-11 Juergen Vigna <jug@sad.it>
8298 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8300 (resizeCurrentBuffer): force also the insets to resize themselfes.
8301 (moveCursorUpdate): fixed up for InsetText.
8303 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8306 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8307 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8308 value of Dialogs::tooltipsEnabled().
8309 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8311 2002-03-08 Juergen Vigna <jug@sad.it>
8313 * BufferView_pimpl.C (updateInset): update inset inside inset also
8314 if it isn't inside theLockingInset().
8316 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8318 * buffer.C (asciiParagraph): redo some of the word and line length
8320 (getLists): look for Caption instead of caption.
8322 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8324 * buffer.C (Buffer): initialize niceFile to true
8327 (makeDocBookFile): make sure niceFile is true on exit
8329 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8331 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8333 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8335 * LyXSendto.C: remove.
8336 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8337 * lyx_gui.C: remove now-redundant comment.
8338 * ColorHandler.h: remove forward declaration of class WorkArea.
8339 * lyxfunc.C: remove #include "WorkArea.h".
8341 2002-03-07 Juergen Vigna <jug@sad.it>
8343 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8344 got moved away with the DEPM and also set the inset_owner always
8345 right which before could have been omitted.
8347 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8349 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8350 wanted layout is not found.
8352 2002-03-07 Juergen Vigna <jug@sad.it>
8354 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8356 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * paragraph.C (breakParagraph): use default layout not layout of
8360 (Paragraph): clear ParagraphParameters.
8362 2002-03-06 Juergen Vigna <jug@sad.it>
8364 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8365 otherwise it would not be a valid lenght. Fixed a special case in
8366 the minipage compatibility read where we end the document with a
8369 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8370 was set as it could be 0 for InsetTexts first entry.
8372 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8374 * paragraph.C (writeFile): if layout is empty write out
8375 defaultLayoutName().
8377 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8378 file without named layout we set layout to defaultLayoutName().
8380 2002-03-06 Juergen Vigna <jug@sad.it>
8382 * CutAndPaste.C (copySelection): set layout for new paragraph.
8384 * text.C (prepareToPrint): leave ERT inset left aligned
8385 (leftMargin): don't indent paragraphs inside ERT insets
8387 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8389 * paragraph.C (breakParagraph): dont call clear do the work manually
8391 * paragraph.[Ch] (clear): remove function
8393 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8395 * paragraph.C (Paragraph): dont call clear, the work has already
8398 * lyxtextclass.C (operator): assert if n is empty
8400 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8401 work manually instead.
8403 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8405 * BufferView_pimpl.C: protect selectionLost against text == 0
8407 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8409 * text.C (breakParagraph): fix a setting layout to '0' problem.
8411 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8413 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8414 final location of file, for the included files, and graphics.
8416 2002-03-05 Juergen Vigna <jug@sad.it>
8418 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8420 2002-03-04 Juergen Vigna <jug@sad.it>
8422 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8424 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8425 last column of multicolumn cells.
8426 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8428 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8430 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8431 file if it doesn't go to a temporary file.
8433 * buffer.C (sgmlOpenTag):
8434 (sgmlCloseTag): remove extra newline insertion.
8436 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8438 * text.C (getRowNearY): comment out debug msg
8440 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8442 * text2.C: first -> first_y
8444 * text.C (getRowNearY): add some attemts at a possible
8445 optimization, not working.
8447 * tabular.[Ch]: add BufferParams to several function so that newly
8448 created paragraph can be initialized to he default layotu for the
8451 * tabular-old.C (ReadOld): add buf->params to call of Init
8453 * screen.C: rename text->first to text->first_y
8455 * paragraph.C (breakParagraph): always set layout in the broken
8458 * lyxtextclass.C (Read): remove lowercase
8461 (delete_layout): ditto
8463 * lyxtext.h: rename first -> first_y
8465 * lyxlayout.C (Read): remove lowercase
8468 (obsoleted_by): ditto
8470 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8472 * buffer.C (insertErtContents): add params are to InsetERT
8473 (parseSingleLyXformat2Token): add code to check if a paragraphs
8474 layout really exist.
8475 (parseSingleLyXformat2Token): add params to several inset
8477 (asciiParagraph): remove lowercase, do the layout comparisons with
8480 * BufferView_pimpl.C (cursorNext): first -> first_y
8481 (resizeCurrentBuffer): first -> first_y
8482 (updateScrollbar): first -> first_y
8483 (scrollCB): first -> first_y
8484 (workAreaMotionNotify): first -> first_y
8485 (workAreaButtonPress): first -> first_y
8486 (checkInsetHit): first -> first_y
8487 (cursorPrevious): first -> first_y
8488 (cursorNext): first -> first_y
8489 (Dispatch): add buffer_->params to severl inset contructors
8491 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8493 * lyxlayout.C (Read): remove some debug info that I forgot.
8495 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8496 clean up the code slightly.
8497 (makeLinuxDocFile): ditto
8498 (makeDocBookFile): ditto
8500 * text2.C: layout as string
8502 * text.C: layout as string
8504 * paragraph_pimpl.C: layout as string
8506 * paragraph.[Ch]: layout as string
8508 * lyxtextclasslist.[Ch]: layout as string
8510 * lyxtextclass.[Ch]: layout as string
8512 * lyxtext.h: layout as string
8514 * lyxlayout.[Ch]: layout as string
8516 * lyx_cb.C: layout as string
8518 * bufferview_funcs.C: layout as string
8520 * bufferparams.C: layout as string
8522 * buffer.C: layout as string
8524 * LyXView.[Ch]: layout as string
8526 * LaTeXFeatures.[Ch]: layout as string
8528 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8530 * BufferView_pimpl.C: change current_layout to string, remove
8535 (workAreaButtonRelease): layout as string
8537 * BufferView2.C (unlockInset): adjust
8539 * vspace.C (asLatexCommand): use an explict temp variable.
8541 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8543 * Makefile.am: use FRONTEND_*
8545 2002-03-01 Juergen Vigna <jug@sad.it>
8547 * tabular.C (SetWidthOfMulticolCell): changed to something better
8548 I hope but still work in progress.
8549 (recalculateMulticolumnsOfColumn): renamed function from
8550 recalculateMulticolCells as it is more appropriate now.
8551 (SetWidthOfCell): calculate multicols better.
8553 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8555 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8557 * lyxfunc.C (processKeySym): print sequence also if it is
8558 `deleted' (complete)
8560 * kbsequence.C (print): print sequence even if it is deleted
8561 (complete would be a better word, actually).
8563 * lyxfunc.C (dispatch): print complete options after a prefix key
8565 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8567 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8569 * text2.C (setCharFont): eliminate setCharFont code duplication.
8571 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8573 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8574 LFUN_TABULAR_FEATURE (bug #177)
8576 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8578 * Makefile.am: remove figure.h
8580 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8582 * Bufferview_pimpl.C:
8594 * text2.C: remove #include "lyx_gui_misc.h".
8596 * LaTeX.C: added #include <cstdio>
8598 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8601 that the paragraph following this one can have.
8603 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8605 * vspace.C (asLatexCommand): fix bogus gcc warning
8607 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8609 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8611 * text2.C (setLayout): get rid of redundant code
8613 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8615 * text2.C (incDepth): make sure depth cannot be increased beyond
8618 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8620 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8621 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8623 * PainterBase.h (image):
8624 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8627 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8631 * BufferView_pimpl.C:
8632 * BufferView_pimpl.h:
8652 * sp_spell.C: remove fig inset, and the crap house of
8653 cards that follows it
8655 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8661 * nt_defines.h: move .h into support/
8663 * vms_defines.h: remove
8665 * WorkArea.C: add space in debug output
8669 * buffer.C: add WITH_WARNINGS
8673 * bufferlist.C: s/retrive/retrieve/, add docs
8684 * lyxgui.C: add ID to X error handler
8686 * lyxtestclass.c: fix typo
8688 2002-02-26 Juergen Vigna <jug@sad.it>
8690 * tabular_funcs.C (write_attribute): changed so that some default
8691 attributes are not written at all.
8692 (getTokenValue): set default values before trying to read the
8693 value so we have the return value always set as default if we don't
8694 find the token we search for.
8696 * tabular.C (Write): write bools as bools not as strings!
8698 2002-02-22 Juergen Vigna <jug@sad.it>
8700 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8701 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8703 * text.C (leftMargin): don't add an indent for paragraphs inside
8704 tabular cells (fix #208).
8706 2002-02-21 José Matos <jamatos@fep.up.pt>
8708 * tabular.C (docBook): fixed support for long tables.
8710 2002-02-20 Juergen Vigna <jug@sad.it>
8712 * text2.C (getFont): get the drawing font of the Inset if this
8713 paragraph is inside an inset (only important for InsetERT for now).
8715 * buffer.C (insertErtContents): use new lanugage params in ERT
8718 * CutAndPaste.C: commenting out seemingly uneeded code.
8720 2002-02-19 Allan Rae <rae@lyx.org>
8722 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8723 Iterators might be simple to use but they also get invalidated.
8724 (removeAutoInsets): renamed saved cursor tracking variables and added
8725 some comments to clarify what everything does.
8727 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8734 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8735 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8738 * vc-backend.h: remove #include "support/syscall.h"
8742 * converter.C: rearrange #includes in Lars' approved fashion.
8744 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8745 forward declare class Timeout in the header file.
8747 * XFormsView.C: changes due to the above.
8749 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8752 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8753 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8755 2002-02-18 José Matos <jamatos@fep.up.pt>
8757 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8760 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8762 * a lot of small ws changes
8763 * add a lot of using std::XXX
8764 * use std construcs some places where approp.
8765 * use some exisint stuff from lyxfunctional where approp.
8766 * Make file changes to use partial linking (lets test this now...)
8768 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8772 remove #include "support/syscontr.h" as it's redundant. Always has been.
8780 change Systemcalls::System to Systemcalls::Wait and
8781 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8782 No change of functionality, just reflects the stripped down Systemcalls
8785 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8787 * debug.[Ch]: add a GRAPHICS type to the enum.
8789 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8793 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8796 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8799 match the changes below.
8801 * text2.C (toggleInset): if there is not editable inset at cursor
8802 position, try to see if cursor is _inside_ a collapsable inset
8805 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8807 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8808 document menu has a nice checkbox
8810 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8812 * lyxlength.C (asLatexString): change PW to output as percent of
8815 * lengthcommon.C: change '%' to 't%'
8817 * lyxfunc.C (dispatch): a few comments from Martin
8819 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8823 * BufferView_pimpl.h:
8824 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8827 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * vspace.C (inPixels): fix compiler warning
8831 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8833 * lyxfunc.C (getStatus): fix status message for disabled commands.
8835 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8837 * BufferView_pimpl.C: fix crash on close buffer
8838 during selection (#227)
8840 2002-01-27 Herbert Voss <voss@lyx.org>
8842 * buffer.C: link old Figure to new graphic inset
8844 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8846 * FontLoader.C (getFontinfo): Change the latex font names in order
8847 to match the names of type1inst.
8849 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8851 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8853 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8856 (remove_files_with_extension): ditto
8857 (remove_file): ditto
8860 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8861 document is smaller than the work area height. Do not initialize
8862 static variables to 0.
8864 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8868 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8869 LFUN_LAYOUT_PARAGRAPHS.
8871 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8872 tabular. It is possible to provide a possible cell, which will
8873 typically be the actcell from the corresponding insettabular
8875 * lyxfunc.C (getStatus): small cleanup; disable
8876 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8879 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8883 * paragraph.C (startTeXParParams):
8884 (endTeXParParams): new methods. The LaTeX code to
8885 start/end paragraph formatting
8886 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8887 empty (fixes bug #200)
8889 * vspace.C (inPixels): adapt to the change below
8890 (inPixels): [later] more cleanups (remove unused variables)
8892 * lyxlength.C (inPixels): change to use a width and a height as
8895 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8897 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8898 Replaced with \paperwidth
8900 * DepTable.C (insert): add std:: qualifier
8902 2002-01-18 Allan Rae <rae@lyx.org>
8904 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8907 * text.C (drawInset): Turned out I didn't know enough about how
8908 rebreaking worked. This fixes most of the redraw problems. I see
8909 an occasional cursor trail when a line is broken now and the cursor
8910 placement can seem out by a few pixels also after a rebreak.
8912 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8914 * buffer.C (parseSingleLyXformat2Token): update because minipage
8915 width is now a LyXLength
8917 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8919 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8922 2002-01-17 Juergen Vigna <jug@sad.it>
8924 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8926 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8927 is set correctly and the inset is updated correctly.
8929 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8932 the beginning of the loop.
8934 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8936 * lyxrc.C: improve help for use_scalable_fonts
8938 2002-01-17 Allan Rae <rae@lyx.org>
8940 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8942 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8944 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8945 make sure to set their inset_owner to the right value (bug #171)
8947 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8950 * DepTable.C: Implement mtime checking to reduce time spent doing
8953 2002-01-16 Juergen Vigna <jug@sad.it>
8955 * tabular.C (GetAdditionalHeight): one of error fixed.
8957 * lyxrc.C (output): small fix in writing use_pspell.
8959 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8961 * sp_base.h: #include LString.h
8963 2002-01-16 Allan Rae <rae@lyx.org>
8965 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8966 Can someone check this please?
8968 * text.C (drawInset): It was possible that p.row would be removed by
8969 breakAgainOneRow upsetting a few other settings. There may be another
8970 small tweak possible by setting need_break_row = 0 when p.row has been
8971 removed but I don't know enough about the logic here.
8973 2002-01-15 Allan Rae <rae@lyx.org>
8975 * text.C (insertChar): removed conditional truism.
8977 * BufferView2.C (removeAutoInsets): More tweaks.
8978 cur_par_prev could be a stray pointer. Check for trailing empty line
8979 in case last line was cur_par and only had an error inset on it.
8981 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8983 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8986 * vc-backend.C (most methods):
8987 * exporter.C (Export):
8988 * converter.C (convert):
8990 * LyXSendto.C (SendtoApplyCB):
8991 * lyxfunc.C (dispatch):
8995 * lyx_cb.C (AutoSave):
8997 * BufferView_pimpl.C (MenuInsertLyXFile):
8998 * buffer.C (runChktex): use Buffer::filePath().
9000 * buffer.h: rename filename to filename_; rename filepath to
9001 filepath_ and make it private
9002 (filePath): new method
9004 * buffer.C (writeFile): use fileName()
9007 * lyx_main.C (init): fix starting of LyX when the binary is a
9008 link from so,ewhere else.
9010 * minibuffer.C: include <cctype> for isprint
9012 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9014 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9015 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9016 name clash with InsetCollapsable's width function.
9018 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9020 * lastfiles.C: include <iterator>
9022 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9024 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9027 * buffer.C (makeLaTeXFile): ditto.
9028 Also make loop operation more transparent.
9030 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9032 * ToolbarDefaults.C: remove trailing comma closing namespace.
9034 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9036 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9039 * trans.C (Load): comment out unused variable, allowed.
9041 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9043 * minibuffer.[Ch] (append_char): new method to recieve input from the
9044 drop-down completion browser. If a key was pressed, then recieve this
9045 char and append it to the existing string.
9046 (peek_event): modify the positioning data passed to the completion
9047 browser so that it can be placed above the minibuffer rather than below.
9048 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9050 * LyXAction.C (init): alloe error-next for readonly documents.
9052 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9055 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9057 * bufferlist.C (readFile): create the buffer _after_ checking that
9060 * lyxfunc.C (verboseDispatch): fix handling of arguments
9062 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9064 * lyxrc.C: use string::erase() instead of initializing to "".
9067 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9069 * BufferView_pimpl.h:
9070 * BufferView_pimpl.C:
9073 * text2.C: tell X when we have made a selection for copying
9075 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9077 * BufferView_pimpl.C (MenuInsertLyXFile):
9078 * lyxfunc.C (menuNew):
9080 (doImport): add shortcuts to directory buttons
9082 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9085 * lyxfunc.C (setStatusMessage):
9086 (getStatusMessage): new methods
9087 (getStatus):use setStatusMessage instead of setErrorMessage
9088 (dispatch): when function is disabled, set error message here
9089 [instead of in getStatus previously]
9091 * BufferView_pimpl.C (workAreaButtonRelease): update
9092 toolbar/menubar here too.
9094 2002-01-13 Allan Rae <rae@lyx.org>
9096 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9097 Now seems indestructible. Remaining task is to audit all other
9098 code affected by deleteEmptyParagraphMechanism. One small quirk
9099 left is that an empty document with an error in the preamble can
9100 be made to report an error but no error box appears. I don't know
9102 (removeAutoInsets): Improved comments.
9104 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9107 * Thesaurus.C: update for Aiksaurus 0.14
9109 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * text2.C (firstParagraph): removed member function, all uses
9112 replaces with ownerParagraph
9113 (redoParagraphs): here
9115 (toggleAppendix): here
9116 * BufferView2.C (insertErrors): here
9117 (setCursorFromRow): here
9119 2002-01-13 Allan Rae <rae@lyx.org>
9121 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9122 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9123 There is still a way to segfault this although you may have to do this
9124 multiple times: Have an InsetERT with an unknown command in it.
9125 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9126 <down-arrow>, <Enter> again, View->DVI, BANG!
9128 * text2.C (setCursor):
9129 (deleteEmptyParagraphMechanism):
9130 * lyxtext.h (setCursor):
9131 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9132 Making use of the return value may help fix other bugs.
9134 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9138 * LyXView.C (updateMenubar): call MenuBar::update here
9139 (updateToolbar): but not here
9140 (showState): do not update toolbar/menubar
9142 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9143 should need to care about that.
9145 * lyxfunc.C (verboseDispatch): simplify a bit
9146 (getStatus): have a version which takes a pseudoaction, and
9147 another which requires a (kb_action,string).
9149 * LyXAction.C (retrieveActionArg): make it work also when action
9150 is not a pseudo-action.
9151 (getActionName): simplify a bit
9154 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9156 * lyxfunc.C (verboseDispatch): new families of methods with
9157 several ways to specify a command and a bool to indicate whether
9158 the command name and shortcut should be displayed in minibuffer
9159 (eventually, we could extend that to a finer bitmask like
9160 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9161 (dispatch): the pristine dispatch command which just, well,
9162 dispatchs! Note it still sets its result to minibuffer; I'm not
9165 * lyxfunc.h: remove setHintMessage
9167 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9169 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * BufferView_pimpl.C (specialChar): delete new inset if we have
9172 not been able to insert it.
9174 * kbmap.C: revert to using int instead of kb_action, since all we
9175 are dealing with is pseudo-actions.
9177 * LyXAction.C (searchActionArg): change to return int instead of
9178 kb_action, since the result is a pseudoaction.
9180 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9182 * buffer.C (insertErtContents): Fix (partially) the font bug.
9184 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9186 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9187 as the other one is broken on my machine!
9189 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9192 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9194 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9196 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9197 reflect their actual use. Provide compatibility code for older lyxrc
9200 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9202 change names of popup font variables in line with the changes to lyxrc.C
9204 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9206 * buffer.C (asciiParagraph): avoid outputing a word twice after
9209 * lyxrc.C (getDescription): document that document_path and
9210 template_path can be empty.
9212 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9214 * LaTeXFeatures.C (getMacros):
9215 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9217 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9219 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9221 (getPackages): rename feature "floats" to "float". Use an array to
9222 iterate over 'simple' features (i.e. just a \usepackage). Add
9223 handling of "amsmath" (renamed from "amsstyle").
9225 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9227 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9230 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9232 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9233 FuncStaus::FuncStatus & FuncStaus::some_method().
9235 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9237 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9238 of the func_satus stuff. Edited and massaged in various ways by
9241 * lyxfunc.C (getStatus): use FuncStatus
9243 2002-01-08 Juergen Vigna <jug@sad.it>
9245 * text.C (nextBreakPoint): use function Inset::isChar().
9247 * paragraph.C (TeXOnePar): use function
9248 Inset::forceDefaultParagraphs.
9250 * buffer.C (latexParagraphs): use function
9251 Inset::forceDefaultParagraphs.
9253 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9255 * lyx_gui.C (init): set the style of the menu popups to
9256 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9258 2002-01-07 Juergen Vigna <jug@sad.it>
9260 * text.C (setHeightOfRow): small fix
9261 (prepareToPrint): don't look at alignment if we don't have the place
9264 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9266 * box.C: New file. Move the Box methods and functions out of box.h,
9267 following Lars' suggestion.
9269 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9271 * box.h: #include "support/LOstream.h", needed for inlined function.
9274 * lyxtextclasslist.C: added some using std declarations.
9276 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9278 * box.h: make signed dimensions to allow insets wider than
9279 the screen (bug #162)
9281 * BufferView_pimpl.C: add some insetHit debug
9283 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9285 * vc-backend.C: add FIXME
9287 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * lyxfunc.C (getStatus): enable code for showing math font status
9292 2002-01-07 Juergen Vigna <jug@sad.it>
9294 * text.C (nextBreakPoint): removed debug output not needed anymore.
9296 2002-01-06 Juergen Vigna <jug@sad.it>
9298 * text.C (nextBreakPoint): fixed up this function we had this bug
9299 since ever but now hopefully we break row better.
9300 (insertChar): we have to check if an inset is the next char as it
9301 could now happen that a large inset is causing a break.
9303 2002-01-05 Juergen Vigna <jug@sad.it>
9305 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9306 if it doesn't like to be drawed.
9308 2002-01-04 Juergen Vigna <jug@sad.it>
9310 * BufferView2.C (lockInset): forgot to set a cursor.
9312 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9314 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9319 * form_maths_panel.C:
9320 * form_maths_panel.h:
9321 * form_maths_panel.fd: implemented sub- and super- buttons in math
9324 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9325 (or ^ space) to be used as in TeX (req'd by André).
9327 * lyxfunc.C: Allow ^ and _ again to be used both as
9328 super/subscript (mathed) and as themselves (in text).
9330 2002-01-03 Allan Rae <rae@lyx.org>
9332 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9333 "LyX" or the filename of the current buffer if it has one. This is a
9334 modified form of John Levon's patch.
9336 * XFormsView.C (setWindowTitle): also set icon title.
9338 * LyXView.h (setWindowTitle): signature changed.
9339 * XFormsView.h (setWindowTitle): ditto.
9341 2002-01-02 Juergen Vigna <jug@sad.it>
9343 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9345 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9347 * screen.C (topCursorVisible): introduce a temp var for
9348 text->cursor.row(), handle the case where this row is null. (kindo
9351 * text2.C (setCursor): add a couple of asserts.
9353 * paragraph.h (inset_iterator): add -> operator
9355 * paragraph.[Ch] (autoDeleteInsets): remove member function
9357 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9358 cursor pos correctly and handle inset deletion by itself.
9359 (insertErrors): move iterator declaration out of for expression
9361 * lyxtextclass.C: add <algorithm>
9363 * Makefile.am: added the new files to sources, removed layout.C
9365 * layout.C: removed file
9367 * layout.h: remove LYX_DUMMY_LAYOUT
9369 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9373 * lyxtextclass.[Ch]:
9374 * lyxtextclasslist.[Ch]: new files
9376 * include order changes to a lot of files, also changes because of
9379 2001-12-27 Juergen Vigna <jug@sad.it>
9381 * buffer.C (asciiParagraph): more fixes.
9383 * tabular.C (ascii): make ascii export support export of only the
9384 data separated by a column-delimiter.
9385 (ascii): better support for ascii export.
9387 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9389 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9391 * tabular_funcs.C: use a "using std::getline" instead of the
9392 previous fix from Angus (necessary for cxx + lyxstring)
9394 2001-12-24 Juergen Vigna <jug@sad.it>
9396 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9398 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9399 problems. First check a minipage also if we have some ert-contents
9400 (not only on par->size(), second set the right depth of the paragraph
9401 on the relink to the root-paragraph-list!
9403 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9404 which then did not anymore update the main paragraphs on undo/redo!
9406 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9408 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9409 code. Support all font-changing funcs (even those which are not in
9410 menu currently). Support for reporting font settings in
9411 mathed (disabled until Andre provides a function on mathed's side).
9413 * func_status.h (toggle): small helper function to set toggle
9416 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9418 * tabular_funcs.C: getline -> std::getline
9420 2001-12-21 Juergen Vigna <jug@sad.it>
9422 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9423 accessed and could be 0 (I couldn't generate this but it seems
9426 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9428 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9429 * tabular_funcs.h: here and include iosfwd
9431 2001-12-20 Juergen Vigna <jug@sad.it>
9433 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9434 inside inset but undo_par was.
9436 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9438 * Thesaurus.C: always include <config.h> in sources.
9442 * box.h: do not include <config.h> in header files
9444 * text.C (paintLastRow): remove unused variable
9446 * text.C (transformChar):
9448 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9451 * font.C (width): rewrite to use uppercase() instead of
9454 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9456 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9458 * lyxfind.C: clean up of find failure position change
9460 2001-12-20 Juergen Vigna <jug@sad.it>
9462 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9464 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9465 (TeXRow): added to LaTeX a single tabular row.
9466 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9467 (Latex): simplified and finally good LT-h/f support.
9468 (various_functions): just small adaptions for LT-h/f support.
9470 * tabular_funcs.[hC]: added and moved here all not classfunctions
9473 2001-12-19 Juergen Vigna <jug@sad.it>
9475 * tabular.[Ch]: better support for longtabular options (not finished
9478 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9480 * text.C (paintLastRow): use the label font instead of the font of
9481 the last character to compute the size of *_BOX. This makes more
9482 sense and avoids a crash with empty paragraphs.
9483 Use Painter::rectangle to draw EMPTY_BOX.
9485 2001-12-19 Juergen Vigna <jug@sad.it>
9487 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9488 the paragraphs if the replaced paragraph is not the first one!
9489 Tried to delete not used paragraphs but does not work yet so for
9490 now it's inside #ifdef's and by default off!
9492 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * MenuBackend.C: include "lyx_main.h" instead of declaring
9495 lastfiles (actually was declared as LastFiles* instead of a
9498 2001-12-17 Juergen Vigna <jug@sad.it>
9500 * tabular.C (AppendColumn): applied John's fix
9502 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9506 * BufferView_pimpl.h:
9507 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9510 * box.h: new start of class for above
9512 * lyxfunc.C: ignore space-only minibuffer dispatches.
9513 Show the command name when it doesn't exist
9515 * minibuffer.C: don't add empty lines to the history
9517 * minibuffer.C: add a space on dropdown completion
9519 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9521 * text.C: fix line above/below drawing in insets
9523 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * lyxlength.C (LyXLength): Initialize private variables.
9527 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9529 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9530 when inserting error insets.
9532 2001-12-13 Juergen Vigna <jug@sad.it>
9534 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9535 actually sometimes the before-paragraph.
9536 (setUndo): don't clear the redostack if we're not actually undoing!
9538 2001-12-06 Juergen Vigna <jug@sad.it>
9540 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9541 and fixed redoing of main paragraph, so we can use it now ;)
9543 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9545 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9547 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9550 2001-12-13 André Pönitz <poenitz@gmx.net>
9553 * undo_func.C: minor cleanup
9555 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9557 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9558 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9559 font in urw-fonts package which is marked as -urw-fontspecific and
9560 does not work (incidentally, changing the encoding in the
9561 fonts.dir of this package to -adobe-fontspecific fixes the
9564 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9565 is a crash when undoing first paragraph (Juergen, please take a
9566 look). THis does not mean the undo fix is wrong, just that it
9569 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9570 the (Paragraph*) version when needed instead of duplicating the
9573 * text.C (workWidth): use Inset::parOwner to find out where the
9574 inset has been inserted. This is a huge performance gain for large
9575 documents with lots of insets. If Inset::parOwner is not set, fall
9576 back on the brute force method
9578 * paragraph_pimpl.C (insertInset):
9579 * paragraph.C (Paragraph):
9580 (cutIntoMinibuffer): set parOwner of insets when
9581 inserting/removing them
9583 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9585 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9591 * mathed/formulabase.C:
9592 * mathed/math_cursor.[Ch]:
9593 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9596 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * lyxlength.[Ch] (operator!=): new function
9600 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9602 * text.C (workWidth): use Inset::parOwner to find out where the
9603 inset has been inserted. This is a huge performance gain for large
9604 documents with lots of insets. If Inset::parOwner is not set, fall
9605 back on the brute force method
9607 * paragraph_pimpl.C (insertInset):
9608 * paragraph.C (Paragraph):
9609 (cutIntoMinibuffer): set parOwner of insets when
9610 inserting/removing them
9612 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9614 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * tabular-old.C (getTokenValue):
9617 * tabular.C (getTokenValue):
9618 (write_attribute): new versions for LyXLength
9619 (everywhere): adjust the use of widths
9621 * tabular.h: change the type of widths from string to LyXLength
9623 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9625 * paragraph.C: fixed missing line number count when exporting
9626 Environments to LaTeX file
9628 * buffer.C: added informational message for checking line numbers.
9630 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9632 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9633 paragraph, do the 'double space' part, but not the 'empty
9636 * text.C (workWidth): small optimization
9637 (getLengthMarkerHeight): use minimal size for negative lengths.
9639 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9641 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9643 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9645 2001-12-11 André Pönitz <poenitz@gmx.net>
9648 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9650 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9652 * text2.C: keep selection on a setFont()
9654 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9656 * lyx_cb.C: another bv->text misuse, from insert label
9658 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9661 * kbsequence.C: re-instate nmodifier mask
9663 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9665 * lyx_main.h: make lyxGUI private.
9667 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9669 * lyxfind.C: place the cursor correctly on failed search
9671 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * text.C (getLengthMarkerHeight): for small heights, the arrows
9674 are not always on top/bottom of the text
9675 (drawLengthMarker): smaller arrows; take the left margin in
9676 account; draw also vfills.
9678 (paintLastRow): remove special code for vfill and standard spaces,
9679 since everything is handled in drawLengthMarker now.
9681 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9683 * buffer.C (insertErtContents): try to handle font and language
9684 interaction a bit better.g
9686 * ColorHandler.C (updateColor): change the hash to cover the whole
9687 LColor enum, ws cleanup
9688 (getGCLinepars): ditto
9689 (getGCLinepars): only lookup in the linecache once.
9691 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9693 * iterators.C (operator++): Make the iterator more robust
9695 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9697 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9699 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9702 * text.C: better added space drawing
9704 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9707 * BufferView2.C: fix layout combo update on inset unlock
9709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9711 * Makefile.am: don't compile unused files
9713 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9717 * LyXAction.C: remove old LFUN_LAYOUTNO
9719 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9721 * paragraph_pimpl.h:
9722 * paragraph_pimpl.C: isTextAt() doesn't need font param
9724 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9727 * lyxlex.C: little cleanup
9729 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9731 * BufferView_pimpl.C: fix insertAscii for insets
9733 2001-12-05 Juergen Vigna <jug@sad.it>
9735 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9736 set the right font on the "multi" paragraph paste!
9738 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9744 * lyxlength.C: remove out-commented code.
9760 * vc-backend.C: change "while(" to "while ("
9762 * lyxlength.[Ch]: add zero function to check if length is zero or
9764 * lyxgluelength.C: use it
9766 2001-12-05 Allan Rae <rae@lyx.org>
9768 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9769 Works for 2.95.3, from what I understand of Garst's reports this should
9770 work for other g++ versions. We're screwed if the abs(int) definition
9771 changed between bugfix releases of gcc.
9773 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9775 * text.C: fix chapter label offset !
9777 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9780 * text.C: fix hfill at end of line, clean up
9782 2001-12-04 Juergen Vigna <jug@sad.it>
9784 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9785 that we force an update of the inset and it's owners if neccessary.
9787 2001-12-03 Juergen Vigna <jug@sad.it>
9789 * text.C (rowLast): simplified code
9791 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9793 * lyxfunc.C: fix show options on timeout
9795 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * screen.C (topCursorVisible): scroll half a page when the cursor
9798 reached top of bottom of screen
9800 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9802 * minibuffer.C: deactivate on loss of focus
9804 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9806 * vspace.[Ch] (operator!=): add operator.
9808 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9810 * BufferView_pimpl.C: refuse to open an inset when
9811 there's a selection.
9813 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9815 * BufferView_pimpl.C: allow to click on RHS of full row insets
9817 2001-11-30 Juergen Vigna <jug@sad.it>
9819 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9820 insets for undo reasons.
9822 2001-11-28 André Pönitz <poenitz@gmx.net>
9824 * vspace.[Ch]: cosmetical changes
9826 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9836 * kbsequence.C: part re-write of old kb code
9839 * WorkArea.C: remove Lgb_bug_find_hack
9841 2001-11-30 José Matos <jamatos@fep.up.pt>
9843 * buffer.C (makeDocBookFile): add a comment to point a hack.
9844 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9845 Fixed a double write of labels.
9847 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9850 * LaTeX.h Fixed bug in LaTeX class where it would not
9851 re-run latex if no depfiles were changed, but the .dvi was removed.
9853 2001-11-28 André Pönitz <poenitz@gmx.net>
9855 * all the files from the change on 2001/11/26:
9856 use lyx::layout_type instead of LyXTextClass::size_type
9857 use lyx::textclass_type instead of LyXTextClassList::size_type
9859 2001-11-29 Juergen Vigna <jug@sad.it>
9861 * text.C: added support for paragraph::isFreeSpacing()
9863 * buffer.C: same as above
9865 * paragraph.h: inserted isFreeSpacing() function to enable
9866 FreeSpacing inside InsetERT.
9868 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9869 of the paragraph's in the cut/copy buffer to 0!
9871 * text2.C (removeRow): remove the assert as it can!
9873 * lyxtext.h: added helper function firstRow returning firstrow and
9874 made firstrow private again.
9876 * BufferView2.C (lockInset): don't relock if we're already locked!
9878 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9880 (removeRow): added Assert::(firstrow)
9882 * debug.C: forgot to add INSETTEXT here.
9884 2001-11-28 Juergen Vigna <jug@sad.it>
9886 * sp_spell.C (initialize): changed error text to more general
9887 spellchecker command use (not only ispell!)
9889 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9891 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9893 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9895 * vspace.C: initialise lyxgluelength on failure
9897 2001-11-28 Allan Rae <rae@lyx.org>
9899 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9900 declaration & definition that looks like a function declaration.
9902 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9904 * BufferView2.C (copy):
9905 (copyEnvironment): do not clear the selection when doing a copy.
9907 * text.C (paintFirstRow): compilation fix
9909 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9911 * tabular.C (Latex): correct line count when writing latex.
9913 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9915 * paragraph_pimpl.h:
9916 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9919 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9923 * LColor.C: change vfillline->added_space
9925 * text.C: add markers and text for added space
9927 * vspace.C: fix comment
9929 2001-11-28 André Pönitz <poenitz@gmx.net>
9931 * paragraph.C: whitespace changes
9932 * all the other files from the change on 2001/11/26:
9933 change *::pos_type into lyx::pos_type
9935 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9937 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9938 language of the document when inserting error insets.
9940 2001-11-26 André Pönitz <poenitz@gmx.net>
9942 * BufferView_pimpl.[Ch]:
9950 * paragraph_pimpl.[Ch]:
9953 * text2.C: reduce header dependencies, introduce type for positions
9955 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9957 * <various>: change to use Alert.h
9959 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9961 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9962 when encountering an unknown token.
9963 (readLyXformat2): Show an error message if there were unknown tokens.
9965 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9968 * BufferView_pimpl.C:
9972 * text2.C: use par->isInset()
9974 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9976 * paragraph_pimpl.h:
9977 * paragraph_pimpl.C: cleanup
9979 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9981 * text2.C (removeRow):
9982 * text.C (setHeightOfRow): remove useless (and costly) call to
9985 2001-11-20 Allan Rae <rae@lyx.org>
9987 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9988 Now need Inset*::checkInsertChar() to return true for appropriate
9989 cases so that the characters in the minibuffer will actually be
9992 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9994 * text.C: change the order of the includes.
9995 (workWidth): initialize it at once.
9996 (workWidth): make maxw unsigned
9997 (setHeightOfRow): remove unused variable (inset)
9998 (selectSelectedWord): remove unused variable (inset)
9999 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10001 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10003 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10004 server is not running.
10006 (closeConnection): add debug info when server is disabled.
10008 * ColorHandler.C (getGCForeground): send debug message to GUI
10011 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10013 * kbmap.C (bind): modify because return conventions of
10014 kb_sequence::parse have changed.
10016 * kbsequence.C (parse): only ignore spaces and not any stupid
10017 control character. This avoids tests like s[i] <= ' ', which are
10018 guaranteed to fail with 8bit characters and signed chars.
10019 Change return code to string::npos when there have been no error
10020 (0 was a bad idea when error is at first character)
10022 2001-11-14 José Matos <jamatos@fep.up.pt>
10025 * buffer.C (simpleDocBookOnePar): removed unused argument.
10027 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10029 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10030 insets which are part of a word. Paragraph::isLetter takes care of
10031 that now. Use Paragraph::isInset to identify insets.
10032 (selectSelectedWord): do not test for hyphenation break.
10034 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10035 that protected spaces are considered as spaces.
10037 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10040 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10043 * lyxserver.C: fix it. and small cleanup.
10045 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10047 * BufferView_pimpl.C: use inline helpers
10050 * LaTeXFeatures.C: fix typos
10053 * Spacing.C: move spacing_string into class
10055 * ToolbarDefaults.C: move stuff into namespace anon
10057 * layout.h: update enum
10059 * lyxfunc.C: use better debug
10061 * minibuffer.h: fix typo
10065 * WorkArea.C: add and use Debug::WORKAREA
10069 * text2.C: code re-organisation, inline helpers
10071 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10073 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10074 std::vector.empty().
10076 2001-11-09 Allan Rae <rae@lyx.org>
10078 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10079 '\n's after tables. Tabular and ERT inset work now makes this no
10082 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10085 * minibuffer.C: fix crash, improve drop-down completion
10087 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10090 * lyxserver.C: invalidate fd's when doing endPipe()
10092 2001-11-08 José Matos <jamatos@fep.up.pt>
10094 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10095 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10098 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10100 2001-11-07 José Matos <jamatos@fep.up.pt>
10103 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10106 * buffer.C (sgmlOpenTag):
10107 * buffer.C (sgmlCloseTag): removed debug info.
10109 * buffer.h (sgmlOpenTag):
10110 * buffer.h (sgmlCloseTag): made public.
10112 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10114 * buffer.C (saveParamsAsDefaults):
10115 * lyx_cb.C (MenuLayoutSave): remove
10117 * LyXAction.C (init):
10119 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10121 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10123 * buffer.C (setPaperStuff): removed from here...
10125 * bufferparams.C (setPaperStuff): ... and moved there.
10127 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10131 * XFormsView.C: add support for drop-down completion
10133 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10135 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10138 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10143 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10145 * lyx_main.C: change ref to known bugs
10147 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10149 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10150 to work around older babel problems.
10152 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10154 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10156 2001-10-24 Juergen Vigna <jug@sad.it>
10158 * tabular-old.C (ReadOld): below variable changes reflected.
10160 * tabular.[Ch]: added ltType struct for longtable header/footer
10161 defines and changed all instances where they are used. Added
10162 future support for double top/bottom rows.
10164 2001-10-24 José Matos <jamatos@fep.up.pt>
10166 * buffer.h (docbookHandleCaption):
10167 * buffer.C (docbookHandleCaption): removed unused function.
10168 (makeDocBookFile): moved docbook supported version to v4.1.
10170 2001-10-24 José Matos <jamatos@fep.up.pt>
10173 * tabular.C (docbookRow): new function to export docbook code of a row.
10174 (DocBook): now honors the longtable flags.
10176 2001-10-23 José Matos <jamatos@fep.up.pt>
10179 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10180 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10182 * buffer.C (makeLinuxDocFile):
10183 (makeDocBookFile): reworked the preamble, more clean, and with
10184 support for lyx defined entities. Changed the document declaration
10185 to be more XML friendly.
10187 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10188 if we need to output XML that should be done with a filter.
10190 2001-10-22 Juergen Vigna <jug@sad.it>
10192 * sp_pspell.h (class PSpell): add alive function needed in the
10193 controller to see if the spellchecker could be started.
10195 2001-10-22 Juergen Vigna <jug@sad.it>
10197 * buffer.C (insertStringAsLines): modify the font for inserting
10198 chars in certain conditions by calling checkInsertChar(font).
10200 2001-10-19 Juergen Vigna <jug@sad.it>
10202 * text.C (workWidth): use getRow instead of wrong algorithm.
10203 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10205 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10210 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10212 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10214 * text.C (workWidth): do not search for the exact row when
10215 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10216 optimization for big documents.
10218 2001-10-18 Juergen Vigna <jug@sad.it>
10220 * text.C (workWidth): new function with added Inset * parameter.
10222 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10224 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10226 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10227 change return type of getColumnNearX.
10230 * text.C (changeRegionCase): use uppercase/lowercase instead of
10233 (rightMargin): simplify code by factoring out the uses of
10238 (appendParagraph): use Paragraph::size_type
10240 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10242 * vspace.C (asLatexString): add a missing break
10244 2001-10-15 Herbert Voss <voss@perce.de>
10246 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10248 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10250 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10253 2001-10-10 André Pönitz <poenitz@gmx.net>
10255 * lyxfunc.C: removed greek_kb_flag.
10257 2001-10-10 Herbert Voss <voss@perce.de>
10259 * lyx_main.C: delete global string help_lyxdir.
10261 2001-10-09 Herbert Voss <voss@perce.de>
10263 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10265 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10267 * lyx_main.C: added global string help_lyxdir.
10269 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10271 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10273 * lyxrc.C (set_font_norm_type): support iso8859-4
10275 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10277 * LaTeX.C (deplog): add another regex for MikTeX
10279 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10281 * lyxrc.C (set_font_norm_type): support iso8859-3
10283 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10285 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10287 * LaTeXFeatures.C: remove special case of french and index
10289 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10290 before \begin{document}). This solves several incompatibilities.
10292 2001-10-03 Garst Reese <reese@isn.net>
10294 * lyx_cb.C: change CheckTex error msg.
10296 2001-10-03 José Matos <jamatos@fep.up.pt>
10298 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10300 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10302 * .cvsignore: update
10304 * lyx_main.C (commandLineVersionInfo): use new style version info.
10306 * buffer.C (writeFile):
10308 (makeLinuxDocFile):
10309 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10311 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10313 * version.h: update to use stuff in version.C
10315 * version.C.in: new file. Contains version information determined
10316 at compile time. This is a merging of version.h and
10319 2001-10-03 Juergen Vigna <jug@sad.it>
10321 * BufferView_pimpl.C (update): don't change "dirty" status in
10324 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10326 * WorkArea.C (c-tor): re-position version string slightly.
10328 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10330 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10331 revert to previous code.
10333 WorkArea.[Ch]: (show, destroySplash): methods removed.
10335 WorkArea.C: rework code so that it's an amalgam of the codes before and
10336 after the splash screen was moved to WorkArea.
10338 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10341 * vspace.C (inPixels):
10344 * buffer.C (insertStringAsLines):
10345 (asciiParagraph): fix types to be large enough
10347 * lyxlex_pimpl.h: change member status from short to int
10349 * layout.h: fix type of endlabeltype
10352 * kbsequence.C (parse): change return type to string::size_type
10354 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10357 * Bullet.C (bulletSize):
10358 (bulletEntry): do not use short ints as parameters
10360 * BufferView2.C (insertLyXFile): change a char to an int.
10362 * WorkArea.C (WorkArea): remove unneeded floats in computation
10364 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10366 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10368 * paragraph.C (asString): Do not ignore newline/hfill chars when
10369 copying to the clipboard.
10371 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10373 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10374 after a multi-line inset.
10376 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10378 * paragraph.C (validate): Set NeedLyXFootnoteCode
10380 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10382 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10383 and decrease-error to decrease.
10385 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10388 it more readable (should be equivalent)
10390 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10392 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10394 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10397 of a cursor (row, etc.) after a character has been deleted
10398 (deleteEmptyParagraphMechanism): call the method above on _all_
10399 cursors held by the LyXText when a double space has been
10402 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10404 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10406 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10408 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10409 background. Use greyOut() and the new show() methods to toggle between
10410 the foreground and background. Add code to remove the splash after
10411 its initial showing.
10413 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10414 (create_forms): no longer call Dialogs::showSplash.
10416 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * .cvsignore: add version_info.h
10420 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10422 * version_info.h.in: new file
10424 * Makefile.am: add version_info.h.in
10426 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10427 version_info.h instead of VERSION_INFO
10429 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10431 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10432 The ERT inset now returns string().
10434 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10436 * lyxtext.h, text.C (selectNextWord): renamed as
10437 selectNextWordToSpellcheck.
10439 * text.C (selectNextWordToSpellcheck): Modified to not select
10440 words inside an ERT inset.
10442 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * lyx_cb.C (MenuLayoutSave): change a bit the question
10446 * sp_base.h: include <sys/types.h>
10448 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10450 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10452 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10454 * several files: fix typos in user-visible strings
10456 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10458 * text2.C (pasteSelection): do not set the selection, since it
10459 will be cleared later. Actually, the intent was to fix the way the
10460 selection was set, but I figured rmoving the code was just as good.
10462 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10464 * FontLoader.C (available): Check if font is available without
10467 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10469 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10471 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10473 * lyxrc.[Ch]: added display_graphics variable and associated code.
10475 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10477 * bufferparams.C (hasClassDefaults): new method. Returns true if
10478 the buffer parameters correspond to known class defaults
10480 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10482 * XFormsView.C (show): set minimum size to the main window.
10484 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * text2.C (copySelection):
10488 * lyxfind.C (LyXReplace):
10489 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10490 LyXText::selectionAsString.
10492 * paragraph.C (asString): add "label" argument to the second form
10494 * text2.C (selectionAsString): add "label" argument and pass it to
10495 Paragraph::asString.
10497 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10499 * lyx_main.C (commandLineHelp): remove version information
10501 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10503 * lyx_main.C: add -version commandline option
10505 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10507 * paragraph.h: make the optional constructor arg required instead.
10508 some modifications to other files because of this.
10510 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10512 * lyxserver.C (C_LyXComm_callback): make it static
10514 * lyx_main.C (error_handler): make it static
10516 * lyx_gui.C (LyX_XErrHandler): make it static
10518 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10520 * WorkArea.C: make the extern "C" methods static.
10522 * Makefile.am (lyx_LDADD): simplify
10524 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10526 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10527 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10529 * LyXAction.C (init):
10530 * lyxfunc.C (dispatch): associated code removal.
10532 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10534 * lyxfont.h (isSymbolFont): shut off warning
10536 * text.C (setHeightOfRow):
10537 (getVisibleRow): fix crash with empty paragraphs which have a
10540 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10542 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10545 2001-09-04 José Matos <jamatos@fep.up.pt>
10548 * tabular.C (docbook): rename docBook method to docbook.
10550 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10552 * Makefile.am: add dependencies to main.o.
10554 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10556 * FontLoader.C (available): Return false if !lyxrc.use_gui
10558 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10560 * FontInfo.C (query):
10561 * converter.C (view):
10562 * importer.C (Import):
10563 * exporter.C (Export): Can not -> cannot.
10565 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10567 * BufferView_pimpl.C: allow to create index inset even if
10570 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10572 * buffer.C (getLists): replace boost::tie code with an explicit pair
10573 as boost::tie can break some compilers.
10575 * iterators.h: Added a std:: declaration to the return type of
10578 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10580 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10583 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10585 * iterators.[Ch]: New files. Provide paragraph iterators.
10587 * buffer.C (changeLanguage): Use paragraph iterators.
10588 (isMultiLingual): ditto
10590 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10592 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10594 * FontLoader.C: Support for cmr font.
10596 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10598 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10599 (available): New method.
10601 * FontInfo.C (getFontname): Use scalable fonts even when
10602 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10605 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10607 * converter.C (Formats::view): reverted! Incorrect fix.
10609 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10611 * converter.C (Formats::view): only output the -paper option
10612 if the dvi viewer is xdvi, thereby fixing bug #233429.
10614 2001-08-23 Herbert Voss <voss@perce>
10616 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10618 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10620 * Spacing.h (Spacing): Set space to Default on in the default
10623 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10625 * vc-backend.h (RCS::versionString): add RCS to version
10626 (CVS::versionString): add CVS to version
10628 * vc-backend.C (scanMaster): do not add CVS to version.
10629 (scanMaster): do not add RCS to version
10631 * lyxvc.C (versionString): new method
10633 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10635 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10637 * Spacing.C (set): initialize fval
10639 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10641 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10644 2001-08-16 Juergen Vigna <jug@sad.it>
10646 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10648 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10650 * BufferView_pimpl.C:
10653 * text2.C: setParagraph takes linespacing now
10655 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10657 * LyxAction.C: add internal LFUN_CITATION_INSERT
10659 * LyXView.C: actually apply fix
10661 * bufferlist.C: fix open non-existent file
10663 * lyxfind.C: fix indentation
10665 * lyxfunc.C: remove unneeded assert, fix typo
10667 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10669 * MenuBackend.C: use "Floatname List"
10671 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10673 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10674 when converting LaTeX layout to insetERT.
10675 Generate a non-collapsed float when reading old float
10677 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10679 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10682 2001-08-13 Juergen Vigna <jug@sad.it>
10684 * text.C (fill): return 0 instead of 20 as this seems to be the more
10687 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10689 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10692 2001-08-13 Juergen Vigna <jug@sad.it>
10694 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10696 (SearchBackward): comment out the unlocking of the inset_owner this
10697 should not be needed!
10699 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10701 * Many files: Remove inherit_language, and add latex_language
10703 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10704 collapsible insets.
10706 2001-08-10 Juergen Vigna <jug@sad.it>
10708 * text.C (prepareToPrint): fixed hfill-width in draw!
10710 * BufferView2.C (selectLastWord): save the selection cursor as this
10711 now is cleared in the function LyXText::clearSelection!
10713 2001-08-08 Juergen Vigna <jug@sad.it>
10715 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10716 BACKSPACE type functions.
10718 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10719 is only cutted from the document but not put in the cut-buffer, where
10720 still the old stuff should be.
10722 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10724 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10726 * tabular.C (SetWidthOfCell): fixed special case where the width
10728 (LeftLine): handle '|' in align_special.
10730 (LeftAlreadyDrawed): ditto
10731 (SetWidthOfCell): ditto
10733 2001-08-07 Juergen Vigna <jug@sad.it>
10735 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10737 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10739 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10740 * lyxlex.[hC]: ditto
10742 2001-08-06 Juergen Vigna <jug@sad.it>
10744 * text.C (getVisibleRow): fix up row clearing a bit.
10746 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * minibuffer.C: make sure the X server sees the changes in the input.
10750 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10752 * paragraph.C (getFont): split into...
10753 (getLabelFont): this
10754 (getLayoutFont): and this
10755 * paragraph_pimpl.C (realizeFont): calling this
10757 * text2.C (getFont): split into...
10758 (getLayoutFont): this
10759 (getLabelFont): and this
10760 (realizeFont): all three calling this
10762 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10765 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10767 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10769 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10771 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10772 layouts from the Quote inset insertion.
10774 2001-08-03 Juergen Vigna <jug@sad.it>
10776 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10778 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10779 only if status not is already CHANGED_IN_DRAW (second level).
10781 * text.C (draw): don't set the need_break_row when inside an
10784 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10786 * buffer.C (parseSingleLyXformat2Token): handle more latex
10789 * bufferview_funcs.[hC]: change function names to
10790 begin with small char, adjust other files.
10792 2001-08-02 André Pönitz <poenitz@gmx.net>
10795 BufferView_pimpl.C: remove broken special code for math-greek
10797 2001-08-02 Juergen Vigna <jug@sad.it>
10799 * BufferView_pimpl.C (update): redone this function so that we
10800 update the text again if there was a CHANGE_IN_DRAW.
10802 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10803 (drawFromTo): added a new internal bool which is used by draw() and
10805 (general): some cursor drawing problems fixed.
10807 2001-08-01 Juergen Vigna <jug@sad.it>
10809 * lyxfind.C (LyXFind): fixed
10810 (SearchForward): ditto
10811 (SearchBackward): ditto
10813 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10814 spurius drawing of the cursor in the main area.
10816 * text2.C (status): small fix which could lead to a segfault!
10817 (clearSelection): remove unneeded BufferView param.
10819 2001-08-01 André Pönitz <poenitz@gmx.net>
10821 * lyxfunc.C: small change due to changed mathed interface
10823 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10825 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10827 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10829 * lyxfunc.c: fail gracefully if file doesn't exist
10834 * BufferView_pimpl.C: IsDirWriteable() proto changed
10836 * LyXView.C: fix updateWindowTitle() to store the last title
10838 2001-07-31 Juergen Vigna <jug@sad.it>
10840 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10841 the font (wrong since using of Paragraph::highestFontInRange).
10843 * paragraph.C (highestFontInRange): added a default_size parameter.
10845 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10846 (setHeightOfRow): reformat
10848 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10850 * converter.[hC] + affected files: move to (inital-char)lowercase
10853 * ParagraphParameters.C (ParagraphParameters): remove commented code
10855 * PainterBase.[Ch]: remove commented code
10857 * LaTeXFeatures.h: add "bool floats" for float.sty
10859 * LaTeXFeatures.C (LaTeXFeatures): init floats
10860 (require): handle float
10861 (getPackages): do it with floats
10863 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10865 * BufferView_pimpl.C (Dispatch): improve handling of
10866 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10868 * commandtags.h: #include lyxfont.h here temporarily to avoid
10871 * bufferlist.h: include LString.h here.
10873 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10875 * text2.C (getStringToIndex): new method.
10877 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10879 * *: Reduced header file dependencies all over.
10881 2001-07-30 Baruch Even <baruch@lyx.org>
10883 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10885 2001-07-29 Baruch Even <baruch@lyx.org>
10887 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10889 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10891 * ParameterStruct.h (endif): add a default constructor to make
10892 sure that all variables is initialized.
10894 * ParagraphParameters.C (ParagraphParameters): adjust
10896 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10898 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10899 index; also, check that there is something to index, and that it
10900 does not span over several paragraphs.
10901 (doubleClick): use WHOLE_WORD_STRICT for double click.
10903 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10905 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10908 2001-07-26 Baruch Even <baruch@lyx.org>
10910 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10911 an InsetFig figure, backwards compatible reading of old figure code.
10913 2001-07-27 Juergen Vigna <jug@sad.it>
10915 * text2.C: font.realize function adaption.
10917 * text.C (draw): add a warnings lyxerr text if needed.
10919 * layout.C: font.realize function adaption.
10921 * language.C: add inherit_language and implement it's handlings
10923 * bufferview_funcs.C (StyleReset): remove language parameter from
10924 font creation (should be language_inherit now).
10926 * bufferparams.C (writeFile): handle ignore_language.
10928 * paragraph.C (getFontSettings): the language has to be resolved
10929 otherwise we have problems in LyXFont!
10931 * lyxfont.C (lyxWriteChanges): added document_language parameter
10932 (update): removed unneeded language parameter
10934 * paragraph.C (validate): fixed wrong output of color-package when
10935 using interface colors for certain fonts in certain environments,
10936 which should not seen as that on the final output.
10938 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10940 * BufferView_pimpl.C:
10945 * LyXAction.C: add thesaurus support
10948 * lyxfind.C: add "once" parameter, for thesaurus, to not
10949 move to the next match
10951 2001-07-26 Juergen Vigna <jug@sad.it>
10953 * lyxfont.C (realize): honor ignore_language too!
10956 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10958 * text.C (draw): one place more for ignore_language to not draw
10961 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10963 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10965 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10967 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10968 the minipage conversion problem.
10970 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10972 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10975 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * BufferView.h: don't forward declare WorkArea
10979 * BufferView.C: don't include WorkArea.h
10981 2001-07-25 André Pönitz <poenitz@gmx.net>
10985 * lyxfunc.C: new LFUN 'math-space'
10987 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10989 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * text2.C (toggleInset): call open/close
10993 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * lyxfunc.C (dispatch): add debug for the disabled case
10997 * font.C (buttonText): make similar to rectText
10999 * buffer.C (readInset): comment out parsing of insetlist and
11002 * PainterBase.C (rectText): small correction
11004 * BufferView_pimpl.C: comment out insettheorem and insetlist
11005 * LyXAction.C: ditto
11006 * commandtags.h: ditto
11008 2001-07-24 Juergen Vigna <jug@sad.it>
11010 * text.C (draw): honor the ignore_language.
11012 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11014 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11016 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11019 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11021 * lyxtext.h: remove unused (and unimplemented) methods
11023 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11025 * text.C (getVisibleRow): honor background color
11028 * Painter.h: remove default color argument for fillRectangle
11030 * text.C (backgroundColor): new method
11032 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11034 * text.C (getVisibleRow): adjust
11036 * font.[Ch] (rectText): new method, metrics
11037 (buttonText): new method, metrics
11039 * PainterBase.[hC]: make rectText and buttonText always draw and take
11042 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11044 * ToolbarDefaults.C (read):
11045 * MenuBackend.C (read): allow escaping in all strings
11047 * BufferView_pimpl.C (insertAndEditInset): new method.
11048 (Dispatch): use insertAndEditInset whenever appropriate.
11050 * BufferView_pimpl.C (insertNote): removed
11052 * BufferView_pimpl.C (smartQuote): new method, moved from
11053 BufferView; if an insetquote cannot be inserted, insert a '"'
11056 * BufferView2.C: remove insertCorrectQuote();
11058 * lyxfunc.C (getStatus): Add support for all remaingin
11059 inset-insert lfuns.
11061 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11063 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11064 command (necessary to pass " as parameter of self-insert.
11066 * text.C (selectWordWhenUnderCursor):
11067 (selectWord): add word_location parameter
11068 (selectWordWhenUnderCursor): same + remove special code for word
11070 (selectNextWord): use kind() to guess type of insetspecialchar,
11073 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11074 (insertErtContents): create ert insets as collapsed.
11075 (readInset): better compatibility code for Info inset.
11077 2001-07-20 Juergen Vigna <jug@sad.it>
11079 * lyxfunc.C (dispatch): use always LyXFind now!
11081 * text2.C (init): add a reinit flag so that the LyXText can be
11082 reinited instead of deleted and reallocated (used in InsetText).
11084 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11090 2001-07-18 Juergen Vigna <jug@sad.it>
11092 * text.C (selectNextWord): handle insets inside inset by calling
11093 always the bv->text functions so that we can go up the_locking_inset!
11095 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11096 in strange locations when inside an inset!
11098 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11099 handling to include insets.
11101 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11103 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11105 * LyXAction.C (init):
11107 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11108 LIGATURE_BREAK, since the name is so stupid.
11110 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11112 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11115 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11117 * sp_form.[Ch]: remove.
11119 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11121 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11124 * src/buffer.C (readInset): ditto.
11126 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11128 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11129 menuSeparator(), endOfSentenceDot(), ldots() and
11130 hyphenationPoint(), which are therefore removed.
11131 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11133 * LyXAction.C (init):
11134 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11136 * paragraph.C (getWord): removed.
11138 * BufferView_pimpl.C (Dispatch): use last word or selection for
11139 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11141 * lyx_main.C (queryUserLyXDir): do not ask before creating
11142 user_dir, except if it has been named explicitely.
11144 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11146 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11147 a document of zero size.
11149 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11151 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11152 approriately in the c-tor and in require().
11153 (getPackages): output the appropriate LaTeX for natbib support.
11155 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11156 variables "use_natbib" and "use_numerical_citations" when reading the
11158 (readInset): read the various natbib cite commands.
11159 (validate): white-space change.
11161 * bufferparams.[Ch]: new variables "bool use_natbib" and
11162 "bool use_numerical_citations".
11163 (writeFile): output them in the LyX file.
11165 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11167 * lyxfunc.C (getStatus): add support for all the inset insertion
11170 * text2.C (insertInset):
11171 * paragraph.C (insetAllowed):
11172 * BufferView_pimpl.C (insertInset): update to take in account the
11173 renaming of insertInsetAllowed
11175 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11177 * text2.C (getInset): new method. returns inset at cursor position.
11179 * BufferView_pimpl.C (Dispatch): changes because of this.
11181 * LyXAction.C (init): rename open-stuff to inset-toggle.
11183 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11185 * text2.C (toggleInset): renamed from openStuff; use
11188 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11190 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11192 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11194 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11196 * buffer.C (readLyXformat2): Add filename to the error dialog
11198 2001-07-18 Juergen Vigna <jug@sad.it>
11200 * tabular.C (GetCellNumber): put an assert here instead of the check!
11202 2001-07-17 Juergen Vigna <jug@sad.it>
11204 * BufferView_pimpl.C (toggleSelection): adapted too.
11206 * text.C (selectNextWord): adapted for use with insets.
11207 (selectSelectedWord): ditto
11209 2001-07-17 Juergen Vigna <jug@sad.it>
11211 * sp_spell.C (PSpell): fix initialitation order.
11213 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * paragraph.C: spacing
11217 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11219 * sp_spell.C: repair language selection for pspell
11221 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11223 * lyxfunc.h: change more methods to begin with lower char.
11225 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11227 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11228 for unknown layouts.
11230 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11232 * buffer.C (readLyXformat2): Generate an error dialog if there are
11235 2001-07-16 Juergen Vigna <jug@sad.it>
11237 * sp_spell.C: always compile ISpell part.
11239 * lyxrc.C: added use_pspell entry and it's handling.
11241 2001-07-13 Juergen Vigna <jug@sad.it>
11243 * sp_spell.C: removed double includes.
11245 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11247 Consistent use of Lsstream.h:
11248 * Lsstream.h: added using std::stringstream for consistencies sake.
11250 * buffer.C: removed using std::stringstream
11252 * lyxfont.C (stateText):
11253 * paragraph.C (asString):
11254 * text.C (selectNextWord, selectSelectedWord):
11255 * text2.C (setCounter):
11256 * vspace.C (asString, asLatexString):
11257 std::ostringstream -> ostringstream.
11259 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11261 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11262 * commandtags.h: add LFUN_HELP_ABOUTLYX
11263 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11265 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11267 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11269 * lyx_gui_misc.C: remove spellchecker
11270 * lyxfunc.C: showSpellchecker
11272 * sp_ispell.h: added
11273 * sp_pspell.h: added
11274 * sp_spell.C: added
11275 * sp_form.[Ch]: removed
11276 * spellchecker.[Ch]: removed
11278 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11280 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11282 (simpleTeXSpecialChars): Simply print the input character without
11283 any special translation if pass_thru is set.
11285 * layout.h: Added bool pass_thru to layout class for being able to
11286 implement pass through of a paragraph for Literate Programming.
11288 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11289 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11290 * layout.C (Read): add "passthru" to list of layout tags and add
11291 code to set the pass_thru boolean when it is read.
11293 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * trans_decl.h: remove allowed from KmodInfo
11297 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11298 remove allowed code
11301 * paragraph_pimpl.C (erase): use boost::prior
11303 * Painter.C (text): use data() instead of c_str() when length is
11305 * WorkArea.C (putClipboard): ditto
11306 * font.h (width): ditto
11308 * BufferView2.C: use it-> instead of (*it). for iterators
11310 * paragraph_pimpl.C: ditto
11311 * paragraph.C: ditto
11312 * minibuffer.C: ditto
11313 * language.C: ditto
11315 * encoding.C: ditto
11316 * counters.C: ditto
11317 * converter.C: ditto
11319 * Variables.C: ditto
11320 * TextCache.C: ditto
11321 * MenuBackend.C: ditto
11322 * LyXAction.C: ditto
11324 * FloatList.C: ditto
11325 * DepTable.C: ditto
11326 * ColorHandler.C (LyXColorHandler): ditto
11328 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11330 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11332 * text2.C (openStuff): reintroduce this method (which had been
11333 nuked in NEW_INSETS frenzy).
11335 * lyxfunc.C (Dispatch): when an action has not been handled, use
11336 its name in the error message, not its number.
11338 * paragraph.C (inInset): change method name to begin with lowercase.
11341 * text2.C: updates because of this.
11343 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11345 * ToolbarDefaults.C (add): add spaces in error message
11347 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11350 (readLyXformat2): rename return_par to first_par, use lyxlex's
11351 pushToken and remove the manual push handling.
11352 (parseSingleLyXformat2Token): add another ert comp. variable:
11353 in_tabular, rename return_par to first_par. handle newlines better
11355 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11357 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11359 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11361 * text2.C (getParFromID): removed
11363 * buffer.C (getParFromID): new method moved form lyxtext.
11364 * BufferView2.C (insertErrors): adjust
11365 (setCursorFromRow): adjust
11366 * BufferView_pimpl.C (restorePosition): adjust
11367 * lyxfunc.C (Dispatch): adjust
11368 * undo_funcs.C (textUndo): adjust
11370 (textHandleUndo): adjust
11371 (textHandleUndo): adjust
11373 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * buffer.C: up' the LYX_FORMAT
11377 * lyxfont.h: turn NO_LATEX on as default
11379 * buffer.C (insertErtContents): new methods of tex style compability.
11380 (parseSingleLyXformat2Token): use it several places.
11381 * tabular.C (OldFormatRead): and here
11383 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * text2.C: remove some commented code.
11388 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11389 * trans.C: changes because of the above.
11391 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11393 * text2.C (setCounter): Fix counters bug with bibliography layout.
11395 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11398 own member functions
11399 (simpleTeXSpecialChars): ditto
11401 2001-07-06 Juergen Vigna <jug@sad.it>
11403 * a lot of files: changed the access to LyXText::status and the
11404 call of undo-functions.
11406 * undo.[Ch]: added a inset_id to the undo informations.
11408 * undo_funcs.[Ch]: added and moved here all undo functions.
11410 * lyxtext.h: give the status enum a weight, made status_ a private
11411 variable and made accessor functions for it, removed the whole bunch
11412 of undo-functions as they are now in their own file, make some
11413 functions publically available. Added function ownerParagraph with
11416 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11417 made InInset() a const function, added getParFromID() function.
11419 * buffer.[Ch]: added const version for inset_iterator functions,
11420 added getInsetFromID() function.
11422 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11423 changed undo functions for new version.
11425 2001-07-05 Juergen Vigna <jug@sad.it>
11427 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11428 unknow mechanism does not call the proper constructor but only this
11429 one also if I request the other!?
11431 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11433 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11435 * text2.C (LyXText): use initialization lists.
11437 * lyxtext.h (Selection): initialize set_ and mark_
11438 (init): remove method
11440 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11442 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11444 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11446 * screen.[Ch]: change method names to begin with lowercase
11448 * BufferView_pimpl.C (updateScrollbar): simplify further and
11449 hopefully make it a bit faster.
11451 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11453 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11454 calling directly xforms functions.
11456 * Painter.C (Painter):
11457 * lyx_cb.C (MenuWrite):
11458 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11461 * lyx_gui.C: remove bogus guiruntime extern declaration.
11463 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11465 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11467 (redoDrawingOfParagraph): ditto
11468 (redoParagraphs): ditto
11469 (cutSelection): don't create a object for CutAndPaste use the
11470 static method directly
11471 (pasteSelection): ditto
11473 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11476 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11478 * modifications to some other files because of this.
11480 * Makefile.am (lyx_SOURCES): add XFormsView
11482 * XFormsView.[Ch]: new files
11484 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11485 the main window. Move the gui dependent stuff to XFormsView
11487 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * tabular.C (GetCellInset): update cur_cell also in the row/col
11490 version of this function.
11492 * lyxfunc.C: no need to include figure_form.h here.
11498 * lyxvc.C: no need to include forms.h here.
11500 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11502 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11504 * lyxfunc.C (Dispatch):
11506 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11507 constructor argument.
11509 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * paragraph.C (Paragraph): dont't clear, and just set layout.
11512 (makeSameLayout): use params's copy contructor.
11514 * ParagraphParameters.[Ch] (makeSame): delete method
11516 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11518 * Variables.[Ch]: fix indentation, rename set to isSet
11520 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11522 * lyxfunc.C (Dispatch): fix typo
11524 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11526 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11529 * bufferlist.C: include assert.h for emergencyWrite().
11531 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11533 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11534 give up at last (bug #425202) !
11536 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11542 * spellchecker.C: strip spellchecker options and bring up
11543 preferences tab instead
11545 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11547 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11548 the istringstream constructor
11550 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11552 * paragraph.C (getLayout): fix return value
11554 * paragraph.h: do not declare getLayout as inline.
11556 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11558 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11560 * lyxcursor.h (operator<): new func
11561 (operator>): new func
11562 (operator>=): new func
11563 (operator<=): new func
11565 * text.C (changeCase): use selection.start and selection.end
11566 (changeRegionCase): require from to be <= to. Require par to be a
11569 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11571 2001-06-27 Juergen Vigna <jug@sad.it>
11573 * text.C (cursorLeftOneWord): changed to return the cursor and added
11574 overlay with BufferView * parameter which calls this one.
11576 (selectWord): use new getWord function.
11577 (changeCase): renamed from changeWordCase as and extended to work
11578 also on selections.
11580 * lyxtext.h: added enum word_location
11582 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11583 changeCase as this operates now also on selections.
11585 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11587 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11589 * many files: send debug output to Debug::INFO instead of
11592 * converter.C (View):
11594 (Move): send debug output to Debug::FILES instead of console.
11596 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11598 * lyxfunc.C (getStatus): use func_status
11600 * func_status.h: new header, describing the results of
11601 LyXFunc::getStatus;
11603 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11606 2001-06-25 The LyX Project <jug@sad.it>
11608 * buffer.C (sgmlOpenTag):
11610 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11612 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * text2.C: remove some dead code
11616 * tabular.C (GetCellInset): store the last cell checked (gotten)
11618 * tabular.h: add the helper for the speedup
11620 * lyxtext.h: remove some dead code
11622 2001-06-26 The LyX Project <Asger>
11624 * paragraph.C: Change export to LaTeX of alignment to
11625 \begin{center} and family for better roundtrip work with reLyX.
11627 * Tune the math drawing a bit.
11629 2001-06-25 The LyX Project <Asger>
11631 * LColor.C (LColor): New color for math background. New color
11634 2001-06-25 The LyX Project <jug@sad.it>
11636 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11638 * lyxfunc.C (Open):
11639 * bufferlist.C (newFile): do not restrict to files ending with
11642 * BufferView_pimpl.C (MenuInsertLyXFile):
11644 2001-06-24 The LyX Project <jug@sad.it>
11646 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11649 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11651 * lyxtext.h: rename most methods to begin with a small char.
11652 Lots of changes because of this.
11654 * paragraph.C (Paragraph): do not call fitToSize
11655 (erase): call Pimpl::erase
11656 (insertChar): call Pimpl::insertChar
11657 (insertInset): call Pipl::insertInset
11658 (breakParagraph): do not call fitToSize
11659 (breakParagraphConservative): do not call fitToSize
11660 (fitToSize): remove method
11662 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11664 2001-06-24 The LyX Project <Asger>
11666 * Fix Qt compilation^2
11668 2001-06-24 The LyX Project <jug@sad.it>
11670 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11671 depthHook(getDepth()-1).
11674 * ParagraphParameters.h:
11675 * ParameterStruct.h: change type of depth to unsigned int ==
11676 depth_type. Many adaptations to other files before of that.
11678 2001-06-24 The LyX Project <Asger>
11680 * Fix Qt compilation.
11682 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * paragraph.h: renamed several methods to begin with small letter.
11685 several changes to many parts of the code because of this.
11687 2001-06-23 The LyX Project <jug@sad.it>
11689 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11690 rewritten to discard all double spaces when KeepEmpty is off
11691 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11692 to only handle newlines but not fiddle with spaces and friends.
11694 * lyxfunc.C (MenuNew): when doing 'new from template', use
11695 template_path as default directory
11697 2001-06-23 The LyX Project <Asger>
11699 * Clean-up of header file includes all over
11700 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11702 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * paragraph.h: renamed from lyxparagraph.h
11706 2001-06-23 Asger <lyx@violet.home.sad.it>
11708 * Buffer.h: Removed Buffer::resize
11709 * BufferList.h: Removed BufferList::resize
11710 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11711 the document lazily when we change the width, or the font settings.
11713 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11715 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11717 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11719 * buffer.h: remove out of date comment
11721 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11724 * screen.C: fix "theoretical" GC leak
11726 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11728 * LaTeX.C (scanAuxFile):
11729 (deplog): remove trailing \r when reading stream (useful under
11732 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11734 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11735 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11736 and BufferView::theLockingInset(Inset*), so should use them and not
11737 access bv_->text->the_locking_inset directly.
11739 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11741 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11744 * tex-defs.h: remove old unused file
11746 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11748 * BufferView_pimpl.C: fix typo, remove minibuffer message
11749 when buffer has loaded
11751 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11753 * lyxfunc.C (Dispatch): use stringstream
11754 (MenuNew): use stringstream
11755 (Open): use stringstream
11757 * importer.C (Import): use stringstream
11759 * bufferview_funcs.C (CurrentState): use stringstream
11761 * LaTeX.C (run): use stringstream
11763 * BufferView_pimpl.C (savePosition): use stringstream
11764 (restorePosition): use stringstream
11765 (MenuInsertLyXFile): use stringstream
11767 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11780 * vspace.C: removed // -*- C++ -*- as first line.
11783 * version.h: added // -*- C++ -*- as first line.
11785 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11787 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11789 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11792 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11794 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11797 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11799 * gettext.C: include LString.h even when --disable-nls is on.
11801 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11803 * converter.h (Get): changed argument type from int to
11804 FormatList::size_type to avoid unnecessary conversion.
11806 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11809 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11811 * gettext.h: include LString.h even when --disable-nls is on.
11813 2001-06-07 Juergen Vigna <jug@sad.it>
11815 * text.C (BreakAgain): subst spaces with tabs.
11817 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11818 (resizeInsetsLyXText): set force on resizeLyXText.
11820 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11822 * gettext.h (gettext_init):
11823 (locale_init): use a real definition instead of a macro
11825 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11827 * Bufferview_pimpl.C:
11829 * LColor.C: further lcolor tidies
11831 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11833 * BufferView_pimpl.C (updateScrollbar): simplify.
11835 * BufferView2.C: don't include insets/insetinfo.h, change
11836 prototype for insertInset and call the Pimpl version. let
11837 updateInset call Pimpl version.
11839 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11840 gotoInset to BufferView::Pimpl
11842 2001-06-01 Juergen Vigna <jug@sad.it>
11844 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11845 inside a LockingInset (is the update needed at all?).
11847 2001-05-31 Juergen Vigna <jug@sad.it>
11849 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11850 here not the old one otherwise how should we compare it afterwards
11853 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11858 * FontInfo.C: bring C functions into global namespace when
11861 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11863 * LString.h: make sure config.h has been loaded before LString.h.
11865 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11866 (one for each char read by EatLine!).
11868 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11871 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11873 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11874 to the same as the par we break from
11876 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11880 * MenuBackend.C (expand): also create menu entries for wide
11881 versions of the floats.
11883 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11885 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11887 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11888 frontends/Makefile.am
11894 * tabular.C (getTokenValue): add std::
11896 * tabular-old.C (getTokenValue): add std::
11897 (getTokenValue): ditto
11898 (getTokenValue): ditto
11900 * screen.C (ToggleSelection): adjust
11902 * lyxtext.h: put selection cursors inside a Selection struct.
11904 * lyxfunc.C (moveCursorUpdate): adjust
11906 * lyxfont.C (latexWriteStartChanges): add std::
11908 * lyxfind.C: adjust
11910 * font.h: delete with(char const *, LyXFont const &)
11912 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11914 * FontInfo.C (getFontname): add std::
11916 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11917 (workAreaButtonPress): adjust
11918 (tripleClick): adjust
11920 (moveCursorUpdate): adjust
11923 * BufferView2.C (gotoInset): adjust
11925 2001-05-30 Juergen Vigna <jug@sad.it>
11927 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11928 to check pspell I add this as default as I now have new pspell
11929 libraries and they seem to use this.
11931 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11933 * text2.C (CutSelection): make the cursor valid before the call to
11936 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11938 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11939 relied on 0 terminated strings and other horrors. Bug found due to
11940 the new assert in lyxstring!
11942 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11945 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11950 * lyxfunc.C (processKeySym): change method of getting to the
11953 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11954 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11955 * BufferView_pimpl.[Ch]: here as private methods.
11957 2001-05-28 Juergen Vigna <jug@sad.it>
11959 * text.C (SetHeightOfRow): added the update() call again as it is
11960 needed to initialize inset dimensions!
11962 2001-05-16 Juergen Vigna <jug@sad.it>
11964 * text2.C (SetCharFont): Add new function with BufferView * and
11965 bool toggleall parameters for setting insets internal fonts.
11966 (SetFont): Freeze the undo as we may change fonts in Insets and
11967 all this change should be inside only one Undo!
11969 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11970 setting font's in insets as for them we have the SetFont function!
11972 2001-05-15 Juergen Vigna <jug@sad.it>
11974 * text2.C (ClearSelection): to be sure we REALLY don't have any
11977 * tabular.C (TeXCellPreamble): fixed the left border problem for
11980 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11982 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11985 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11988 LFUN_BREAKPARAGRAPH.
11990 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11991 help test to "internal only", similar for LFUN_INSERT_URL
11993 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11994 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11995 auto_region_delete and deadkeys.
11997 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12000 * LColor.C: remove some dead entries, tidy a little
12002 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12006 (Dispatch): implement LFUN_ESCAPE
12008 * commandtags.h: add LFUN_ESCAPE
12010 * LyXAction.C (init): add entry for LFUN_ESCAPE
12012 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12013 Remove commented code.
12014 (insertNote): moved here
12015 (open_new_inset): moved here
12017 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12020 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12022 * kbmap.C (findbinding): clean it up and make it work correctly.
12024 * lyx_main.C (init): do not pass argc and argv as parameters
12026 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12028 * buffer.C: fix path for OS/2 & Win32
12032 * lyx_main.C: Added os:: class.
12034 * os2_defines.h: update
12036 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12038 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12039 better by trying again with reduced state.
12041 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12043 * lyxrc.C (read): print error about invalid key sequence only when
12044 debugging (because not all latinX keysyms are known to some X
12047 * kbsequence.C (getiso): add a few std:: qualifiers
12048 (getiso): comment out extra return statement.
12050 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12052 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12054 (Dispatch): enhance the accent inset a bit. (not perfect)
12056 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12060 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12062 * bufferlist.C (emergencyWrite): fix assert() call
12064 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12066 * text.C (InsertChar): Added trivial patch to only send the "you
12067 can not do multiple spaces this way" message once during a
12070 2001-05-08 Baruch Even <baruch@lyx.org>
12072 * Makefile.am: Changed order of libraries to get LyX to link properly
12073 with the gnome frontend.
12075 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12077 * LaTeXFeatures.h: add a std:: qualifier
12079 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12081 * paragraph.C (String): use stringstream
12083 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12085 * paragraph.C (writeFile): remove footflag arg
12087 * buffer.C (makeLaTeXFile): use stringstream
12088 (latexParagraphs): remove footnot gurba
12090 * LaTeXFeatures.C (getPackages): use stringstream
12091 (getMacros): likewise
12092 (getTClassPreamble): likewise
12093 (getFloatDefinitions): new method
12095 * paragraph.C (writeFile): reindent
12098 * WorkArea.h: revert the xpos + etc changes.
12100 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12102 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12104 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12105 (pasteSelection): likewise
12106 * text2.C (CreateUndo): likewise
12108 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12110 * minibuffer.C (peek_event): temporarily reduce the functionality
12111 of the minibuffer (to allow args on lfuns)
12113 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12114 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12116 * buffer.C (readInset): add compability reading of old float
12117 lists, add reading of new style float list.
12118 (readInset): avoid reevaluation of inscmd.getCmdName()
12119 (getLists): reindent
12121 * MenuBackend.C (MenuItem): implement parsing of
12122 md_floatlistinsert and md_floatinsert.
12123 (expand::LastFiles): move initalizaton of iterators out of loop,
12124 avoid reevaluation.
12125 (expand::Documents): introduce typdedef vector<string> Strings,
12127 (expand::ExportFormats): introduce typedef vector<Format const *>
12128 Formats, and use it.
12129 (expand): implement FloatListInsert and FloatInsert.
12131 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12132 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12133 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12135 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12137 (Dispatch::LFUN_FLOAT_LIST): implement
12139 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12141 * LaTeX.C (run): Fix problem with --export code.
12143 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12145 * BufferView.[Ch] (workarea): removed.
12146 (getClipboard) new method; wrapper for workarea()->getClipboard()
12148 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12151 * WorkArea.h (width, height, xpos, ypos): These methods all
12152 returned the dimensions of the work_area sub-area of WorkArea,
12153 resulting in a position error if the WorkArea were resized. Now
12154 return the dimensions of the entire WorkArea.
12156 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12158 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12160 * LaTeX.C (deplog): correct the syntax of regex reg1
12162 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * undo.C: remove !NEW_INSETS cruft
12166 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * text2.C: remove !NEW_INSETS cruft
12170 * text.C: remove !NEW_INSETS cruft
12172 * tabular.C: remove !NEW_INSETS cruft
12174 * spellchecker.C: remove !NEW_INSETS cruft
12176 * lyxtext.h: remove !NEW_INSETS cruft
12178 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12180 * lyxfunc.C: remove !NEW_INSETS cruft
12182 * lyxfind.C: remove !NEW_INSETS cruft
12184 * lyx_cb.C: remove !NEW_INSETS cruft
12186 * figureForm.C: remove !NEW_INSETS cruft
12188 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12190 * buffer.[Ch]: remove !NEW_INSETS cruft
12192 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12194 * CutAndPaste.C: remove !NEW_INSETS cruft
12196 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12198 * BufferView2.C: remove !NEW_INSETS cruft
12200 * BufferView.h: remove !NEW_INSETS cruft
12202 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12204 * Lsstream.h: include LString.h before the sstream headers to
12205 fix problem with gcc 2.95.3 and lyxstring
12207 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12209 * lyx_main.C: add using directives when needed for C functions
12210 declared in std:: namespace.
12212 2001-04-27 Juergen Vigna <jug@sad.it>
12214 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12215 (SetHeightOfRow): comment out the update call should not be needed!
12217 2001-04-13 Juergen Vigna <jug@sad.it>
12219 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12220 (LyXTabular): tried to minimize operator= operations (and realized
12221 hopfully Lars wish).
12223 2001-04-27 Juergen Vigna <jug@sad.it>
12225 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12227 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12231 * buffer.C (readInset): hack to make listof algorithm work
12233 * BufferView_pimpl.C: hack to make listof algorithm work
12235 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12237 * LyXAction.C: removed all !NEW_INSETS cruft
12238 (init): moved lfun_item in method
12240 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12242 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12244 * BufferView2.C (theLockingInset): white space.
12246 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12248 * minibuffer.C: include <iostream>
12250 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12252 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12254 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12256 * text.[Ch] (TransposeChars): new method
12258 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * call message directly through LyXView instead of through LyXFunc
12261 * BufferView2.C: adjust
12262 * BufferView_pimpl.C: adjust
12263 * FontLoader.C: adjust
12265 * bufferview_funcs.C: adjust
12266 * converter.C: adjust
12267 * figureForm.C: adjust
12268 * importer.C: adjust
12270 * lyx_gui_misc.C: adjust
12271 * lyxfunc.C: adjust
12274 + more files in subdirs
12276 * lyxparagraph.h (size): move up int file
12279 * adjust all uses of Assert to lyx::Assert.
12281 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12282 lyxfunctional in namespace lyx
12283 * layout.C (hasLayout): ditto
12286 (delete_layout): ditto
12287 (NumberOfClass): ditto
12288 * converter.C (GetFormat): ditto
12293 * bufferlist.C (getFileNames): ditto
12294 (emergencyWriteAll): ditto
12297 * MenuBackend.C (hasSubmenu): ditto
12300 * BufferView_pimpl.C (getInsetByCode): ditto
12302 2001-04-18 Juergen Vigna <jug@sad.it>
12304 * vspace.C (asLatexString): fixed the 100% problem.
12306 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * lyxfunc.C (Dispatch):
12310 * minibuffer.h: add a few std:: qualifiers
12312 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12314 * minibuffer.[Ch]: reimplement so that commands is initiated and
12315 run from lyxfunc, simplified som handling, and made the completion
12316 and history code for complete. wip.
12318 * lyxfunc.C (processKeySym): call message
12319 (miniDispatch): new temporary method
12320 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12321 (LFUN_MESSAGE): implement
12322 (LFUN_MESSAGE_PUSH): implement
12323 (LFUN_MESSAGE_POP): implement
12324 (initMiniBuffer): the initial/defualt minibuffer message.
12326 * lyxfont.[Ch]: inline some more getters
12328 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12330 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12332 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12333 (AutoSave): use LFUN_MESSAGE
12334 (Reconfigure): ditto
12336 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12338 * figureForm.C: use LFUN_MESSAGE
12340 * converter.C (runLaTeX): use LFUN_MESSAGE
12342 * bufferview_funcs.C: use LFUN_MESSAGE
12344 (changeDepth): ditto
12346 * bufferparams.h: use boost::
12348 * bufferlist.h: inherit privately from noncopyable
12350 * bufferlist.C (loadLyXFile): remove some commented code.
12352 * buffer.C (runChktex): use LFUN_MESSAGE
12354 * ShareContainer.h: inherit privately from noncopyable
12356 * ParagraphParameters.[hC] (depth): inline it.
12358 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12360 (message): new method
12361 (messagePush): ditto
12362 (messagePop): ditto
12363 (show): init minibuffer
12364 (showState): direct call
12366 * LaTeX.[Ch]: inherit privately from noncopyable
12367 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12368 instead of WriteStatus.
12370 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12372 * BufferView_pimpl.C (buffer): don't init minibuffer
12373 (workAreaButtonPress): use LFUN_MESSAGE
12374 (workAreaButtonRelease): ditto
12375 (savePosition): ditto
12376 (restorePosition): ditto
12377 (MenuInsertLyXFile): ditto
12378 (workAreaExpose): don't init minibuffer
12379 (update): remove commented code, simplify
12381 * BufferView2.C (openStuff): use LFUN_MESSAGE
12382 (toggleFloat): ditto
12385 (copyEnvironment): ditto
12386 (pasteEnvironment): ditto
12391 (updateInset): remove some commented code
12393 * lastfiles.h: inherit privately from noncopyable
12396 * lyx_main.h: ditto
12398 * lyxlex_pimpl.h: ditto
12400 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12401 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12402 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12404 * LyXAction.h: inherit privately from noncopyable, add methods
12405 func_begin, func_end, returning iterators to the func map.
12407 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12408 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12409 (func_begin): new method
12410 (func_end): new method
12412 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12414 (copySelection): ditto
12415 (pasteSelection): ditto
12417 * BufferView.C: whitespace change
12418 * BufferView.h: inherit privately from noncopyable
12420 2001-04-16 Allan Rae <rae@lyx.org>
12422 * tabular-old.C (l_getline):
12423 * spellchecker.C (sc_check_word):
12424 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12425 an unrecognised preprocessor directive. So ensure they're wrapped.
12427 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12429 * src/exporter.C (Export): Give an error message when path to file
12432 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12434 * LaTeX.C (deplog): Always check that foundfile exists.
12436 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12441 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12443 * tabular.[Ch] (getLabelList): implement new method
12445 * minibuffer.h: comment ouf setTiimer
12447 * minibuffer.C (ExecutingCB): constify res
12448 (peek_event): constify s
12449 (Set): constify ntext
12450 (Init): constify nicename
12452 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12454 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12455 (savePosition): use two params to Minibuffer::Set
12456 (restorePosition): ditto
12458 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12460 * lyx_main.C: include language.h
12462 * Makefile.am (lyx_main.o): add language.h
12464 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12470 * CutAndPaste.C: include gettext.h
12472 * lyxfont.h: remove old hack with ON and OFF.
12475 * lyxfont.h: do not include language.h...
12480 * bufferview_funcs.C:
12486 * paragraph.C: ... but do it here instead
12488 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12492 * tabular.C: small reformat
12494 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12497 (BreakParagraph): ditto
12498 (SetOnlyLayout): ditto
12501 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12504 * lastfiles.C: removed most using decl, add std:: where needed
12506 * buffer.C: ws changes
12508 * MenuBackend.C (class compare_format): put into anon namespace
12509 (expand): constify label, names, action, action2
12512 * text.C (SingleWidth): constify font
12513 (IsBoundary): constify rtl2
12514 (GetVisibleRow): constify ww
12516 * LaTeX.C (deplog): constify logfile
12518 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12520 (workAreaExpose): constify widthChange, heightChange
12522 * lyxrow.C (par): moved
12525 * lyxrow.h: as inlines here
12527 * lyxfont.h (shape): moved from lyxfont.C
12528 (emph): moved from lyxfont.C
12530 * lyxfont.C (LyXFont): use initialization list for all
12532 (shape): move to lyxfont.h as inline
12533 (emph): move to lyxfont.h as inline
12536 2001-04-04 Juergen Vigna <jug@sad.it>
12538 * vspace.C: had to include stdio.h for use of sscanf
12540 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12543 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12544 independent of xforms.
12546 2001-04-02 Juergen Vigna <jug@sad.it>
12548 * spellchecker.C: fixed namespace placing!
12550 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12552 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12553 the LyXParagraph * is 0.
12555 2001-03-29 Juergen Vigna <jug@sad.it>
12557 * vspace.C: added support for %, c%, p%, l%.
12558 (stringFromUnit): added helper function.
12559 (asLatexString): changed to give right results for the %-values.
12561 * buffer.C: convert the widthp in a width%.
12563 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12565 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12568 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12569 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12571 * lyx_cb.[Ch]: see above.
12573 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12577 * lyx.[Ch]: replaced by figure_form.[Ch].
12581 * lyxfunc.C: changed headers associated with above changes.
12583 2001-03-27 Juergen Vigna <jug@sad.it>
12585 * BufferView_pimpl.C: set the temporary cursor right!
12587 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12589 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12591 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12593 * LString.h: removed "using std::getline"!
12595 * BufferView_pimpl.C (Dispatch): changes due to changes in
12596 InsetInclude::Params.
12598 * buffer.C (tag_name): removed redundant break statements as they were
12599 producing lots of warnings with my compiler.
12601 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12603 * LString.h: add "using std::getline" when using the real <string>.
12605 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12607 * buffer.C: removed bitset usage.
12608 PAR_TAG moved to an anonymous name space.
12609 (tag_name): new funtion, also in the anonymous namespace.
12610 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12611 (makeDocBookFile): clean code. Completed transition from string arrays
12613 (SimpleDocBookOnePar): code clean.
12615 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12617 * tabular.C: add some comments.
12619 2001-03-22 Juergen Vigna <jug@sad.it>
12621 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12622 compatibility read a bit and fixed bug with minipage in different
12625 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12627 * buffer.C (pop_tag): removed.
12628 (push_tag): removed.
12629 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12630 array replaced with vector. Added support for CDATA sections.
12631 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12633 (makeDocBookFile): XML conformant declaration of CDATA section,
12634 fixed bug related to <emphasis> in the first paragraph char.
12635 (sgmlOpenTag): exclude empty tags.
12636 (sgmlCloseTag): ditto.
12638 * buffer.h (pop_tag): removed.
12639 (push_tag): removed.
12641 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12643 * language.h (Languages): added size_type and size().
12645 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12647 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12648 response on compability reading of minipages. One probliem is that
12649 the old usage of minipages was «flertydig»
12651 * several files here and in subdirs: don't use static at file
12652 scope use anon namespaces instead.
12654 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12656 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12657 LaTeX output. This is necessary for Literate document
12660 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12662 * buffer.C: insert hfill when needed.
12664 * tabular.C (l_getline): use string::erase, small whitespace change.
12666 * BufferView_pimpl.C: try the anon namespace.
12667 * WorkArea.C: ditto
12669 2001-03-16 Juergen Vigna <jug@sad.it>
12671 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12672 otherwise it won't open options-dialogs.
12674 * buffer.C: honor pextraWidth(p) on converting minipages.
12676 * tabular.C (l_getline): changed the functions to strip trailing \r.
12678 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12680 * BufferView_pimpl.C:
12681 * minibuffer..C: added "using SigC::slot" declaration.
12683 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12685 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12691 * paragraph.C: ditto
12693 * lyxtext.h: NO_PEXTRA
12695 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12697 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12698 * ParameterStruct.h: ditto
12699 * ParagraphParameters.h: ditto
12700 * lyxparagraph.h: ditto
12702 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12704 * buffer.C: add compability for minipage alignment.
12705 (latexParagraphs): remove unwanted pextra check.
12707 * several files: remove CXX_WORKING_NAMESPACES
12709 * buffer.C (pop_tag): tie is in namespace boost
12711 * BufferView.h: noncopyable is in namespace boost
12713 * lyx_main.h: ditto
12716 * lastfiles.h: ditto
12717 * bufferlist.h: ditto
12718 * ShareContainer.h: ditto
12720 * LyXAction.h: ditto
12723 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12725 * Merging changes from BRANCH_MVC back into HEAD.
12727 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12729 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12731 * BufferView_pimpl.C: change from intl.C
12735 * Makefile.am: move combox.*
12741 * intl.C: remove dialog (covered by prefs)
12743 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12745 * lyxfunc.C (Dispatch): removed redundant break statement.
12747 2001-03-14 Juergen Vigna <jug@sad.it>
12749 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12751 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12753 * buffer.C: add hack to fix compability reading of minipages.
12755 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12757 * buffer.C (getLists): Cleanup.
12759 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * lyxfont.C (update): don't honor toggleall on font size.
12763 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12767 * Makefile.am: moved to frontends/xforms/
12771 * BufferView_pimpl.C: changes for moved mathpanel
12773 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12775 * gettext.h: fix gettext_init() in --disable-nls
12777 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12779 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12781 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12784 * lyx.h: strip external form
12786 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12788 * BufferView_pimpl.C: add comment, destroySplash()
12790 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12792 * BufferView_pimpl.C:
12796 * lyxfunc.C: use re-worked insetinclude
12798 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12800 * buffer.C: add using std::stringstream.
12802 * lyx_cb.C: readd using std::ios.
12804 * buffer.C: add using std::map.
12806 * BufferView_pimpl.C: add using std::vector.
12808 * ShareContainer.h: add std:: to swap.
12810 * buffer.h: add some typedefs
12811 * buffer.C (getLists): use them
12812 (getLists): renamed from getTocList.
12813 add a counter for the different float types and use it in the
12815 (getLists): use the same counter for the NEW_INSETS and the "non"
12818 * lyx_cb.h: remove unused items, includes, using etc.
12820 * ShareContainer.h: remove some commented code, add more comments
12821 and "documentation".
12823 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12825 * buffer.C (getTocList): make the list also when NEW_INSETS is
12828 * buffer.h: remove TocType
12830 * buffer.C (getTocList): change to return a map<string,
12831 vector<TocItem> >, implement for dynamic number of list.
12833 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12834 * text2.C (PasteSelection): adjust
12835 * CutAndPaste.C (pasteSelection): adjust
12837 * FloatList.C (FloatList): update from the new_insets branch.
12838 * Floating.[Ch]: ditto
12839 * LaTeXFeatures.C: ditto
12841 * lyxlex_pimpl.C: ditto
12843 * paragraph.C (Last): remove when NEW_INSETS is defined.
12845 * other file: changes because of the above.
12847 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12849 * lyxparagraph.h: rename next to next_, previous to previous_,
12850 make them private for NEW_INSETS. Rename Next() to next(),
12851 Previous() to previous().
12853 * other files: changes because of the above.
12855 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12858 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12861 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12863 * main.C (main): pass lyx_localedir to gettext_init().
12865 * gettext.h: remove locale_init and gettext_init macros
12867 * gettext.C (locale_init): new function
12868 (gettext_init): new function
12870 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12873 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12875 * Moved credits to frontends:
12876 * credits.[Ch]: removed
12877 * credits_form.[Ch]: removed
12878 * lyx_gui_misc.C: remove credits stuff
12881 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12883 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12885 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12886 unneeded destructor.
12888 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12889 a standalone pointer again.
12891 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12893 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12899 * ToolbarDefaults.C:
12908 * BufferView_pimpl.C: use new file dialog in GUII
12911 * lyx_cb.C: remove LayoutsCB to Toolbar
12913 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12915 * ShareContainer.h (get): add std:: qualifier
12917 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12919 * ShareContainer.h: define a proper ShareContainer::value_type
12920 type (and use typename to please compaq cxx)
12922 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12924 * lyxparagraph.h: move serveral local vars to
12925 ParameterStruct/ParagraphParameters., use ShareContainer in
12926 FontTable., make vars in FontTable private and add getter and
12929 * paragraph.C: changes because of the above.
12931 * lyxfont.h: remove copy constructor and copy assignment. (the
12932 default ones is ok), move number inside FontBits. move inlines to
12935 * lyxfont.C: add number to initializaton of statics, move several
12936 inlines here. constify several local vars. some whitespace
12937 cleanup. Dont hide outerscope variables.
12939 * Spacing.h: add two new constructors to match the set methods.
12941 * ShareContainer.h: new file, will perhaps be moved to support
12943 * ParameterStruct.h: new file
12945 * ParagraphParameters.h: new file
12947 * ParagraphParameters.C: new file
12949 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12950 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12952 * BufferView_pimpl.C: ParagraphParameter changes.
12953 * buffer.C: Likewise.
12954 * bufferview_funcs.C: Likewise.
12955 * text.C: Likewise.
12956 * text2.C: Likewise.
12958 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12960 * lyxfind.C (LyXReplace): do not redefine default argument in
12962 (IsStringInText): ditto
12963 (SearchForward): ditto
12964 (SearchBackward): ditto
12966 2001-03-06 Juergen Vigna <jug@sad.it>
12968 * lyxfind.C (IsStringInText): put parentes around expressions.
12970 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12972 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12974 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12976 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12978 * stl_string_fwd.h: add comment
12980 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12983 * tabular.C: remove unused DocBook methods
12989 killed DO_USE_DEFAULT_LANGUAGE
12991 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * lyx_gui.C: do not include language.h.
12995 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12996 arguments in function implementation.
12998 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13000 * BufferView_pimpl.C: add <ctime>
13002 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13004 * BufferView_pimpl.C: add using std::find_if
13006 2001-02-27 José Matos <jamatos@fep.up.pt>
13008 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13011 2001-02-11 José Matos <jamatos@fep.up.pt>
13013 * buffer.C (makeDocBookFile): command styles now have a parameter as
13014 "title" by default.
13016 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13018 * layout_forms.[Ch]: removed
13019 * lyx_cb.[Ch]: out character
13020 * lyx_gui.C: out character
13021 * lyx_gui_misc.C: out character
13022 * bufferview_funcs.C: : out character,
13023 added toggleall as parameter in ToggleAndShow
13025 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13027 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13029 * text2.C (SetCurrentFont): Disable number property at boundary.
13031 2001-02-26 Juergen Vigna <jug@sad.it>
13033 * lyxfunc.C (getStatus): added a string argument override function so
13034 that this is correctly called from LyXFunc::Dispatch if it contains a
13035 do_not_use_argument which is used!
13036 (Dispatch): added check for "custom" export and call appropriate func.
13038 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13040 * lyxrc.C: Add language_command_local, language_use_babel and
13041 language_global_options.
13043 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13045 * buffer.C (makeLaTeXFile): Use language_use_babel and
13046 language_global_options.
13048 2001-02-23 Juergen Vigna <jug@sad.it>
13050 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13051 which works with LyXText and putted it inside BufferView. Here now we
13052 only call for that part the BufferView::Dispatch() function.
13054 * BufferView.C (Dispatch): added.
13056 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13057 functions which needs to use a LyXText over from LyXFunc.
13058 (MenuInsertLyXFile): added
13059 (getInsetByCode): added
13060 (moveCursorUpdate): added
13061 (static TEXT): added
13063 2001-02-22 Juergen Vigna <jug@sad.it>
13065 * BufferView_pimpl.C (update): call a status update to see if LyXText
13068 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13070 * vc-backend.C (revert): implement for CVS
13071 (getLog): implement for CVS
13073 2001-02-20 Juergen Vigna <jug@sad.it>
13075 * text2.C (ClearSelection): added BufferView param for inset_owner call
13077 * lyxfunc.C (TEXT): added this function and use it instead of
13078 directly owner->view()-text of getLyXText().
13080 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13082 * src/layout_forms.C: out preamble
13083 * src/layout_forms.h: out preamble
13084 * src/lyx_cb.C: out preamble
13085 * src/lyx_cb.h: out preamble
13086 * src/lyx_gui.C: out preamble
13087 * src/lyx_gui_misc.C: out preamble
13088 * src/lyxfunc.C: connect with guii preamble
13090 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13092 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13094 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13096 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13097 whether to run bibtex.
13099 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13101 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13103 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13105 * Makefile.am (lyx_SOURCES): removed bibforms.h
13107 * vspace.h: doxygen
13109 * text.C (GetVisibleRow): make several local vars const
13111 * tabular.C: small cleanup.
13113 * lyxserver.C (callback): use compare instead of strncmp
13115 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13116 inlines to after class or to paragraph.C
13118 * lyxfont.h: remove friend operator!=
13120 * converter.h: move friend bool operator< to non friend and after
13123 * combox.h: small cleanup
13125 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13126 to inlines after class def.
13128 * buffer.C (pop_tag): use string operations instead of strcmp
13130 * bmtable.c: doxygen, small cleanup
13132 * LaTeX.h: remove friend operator==
13134 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13146 * BufferView_pimpl.C:
13147 * BufferView.[Ch]: remove cruft
13149 2001-02-14 Juergen Vigna <jug@sad.it>
13151 * lyxfunc.C: removed #if 0 unused code
13153 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13155 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13157 * text2.C (SetSelection): added a BufferView * parameter
13159 2001-02-13 Juergen Vigna <jug@sad.it>
13161 * lyxfunc.C (Dispatch): fixed protected blank problem.
13162 * BufferView2.C (protectedBlank): added LyxText * parameter.
13164 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13165 (AppendColumn): same as above for column_info.
13167 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13168 (moveCursorUpdate): use a LyXText param for support of InsetText.
13170 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13171 (tripleClick): ditto
13173 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13175 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13177 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13179 * text2.C (SetSelection): set correct update status if inset_owner
13180 (ToggleFree): ditto
13182 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13184 * tabular.C: remove some commented code.
13186 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13188 * BufferView_pimpl.C: call hideSplash()
13190 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13193 * bibforms.h: remove
13196 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13197 add LFUN_CHILD_CREATE
13199 * counters.h: fix tiny typo
13204 * lyx.C: move splash to frontends/xforms/
13206 * lyx_gui_misc.C: move Include and Bibform to frontends
13208 * lyxvc.h: clarify comment
13210 * vspace.C: tiny housekeeping
13212 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13214 * text.C (PrepareToPrint): RTL Fix.
13216 * paragraph.C (GetUChar): New method.
13217 (String): Use GetUChar.
13219 * buffer.C (asciiParagraph): Use GetUChar.
13221 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13223 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13225 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13228 * buffer.C: rename to getLogName(), handle
13229 build log / latex log nicely
13231 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13234 * MenuBackend.h: remove support for reference menuitem type.
13236 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13238 * BufferView_pimpl.C: housekeeping
13239 * BufferView_pimpl.h:
13244 * minibuffer.h: move Timeout GUI-I
13246 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13248 * lyxrc.C (read): Update converters data-structures.
13250 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13252 * LaTeX.h (operator!=): add operator != for Aux_Info
13254 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13256 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13258 * LaTeXLog.C: deleted, useful code moved to Buffer
13261 * buffer.C: new function getLatexLogName()
13267 * lyxfunc.C: use frontends for LaTeX and VC logs
13269 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13271 * LaTeX.h: yet another std:: that Allan forgot.
13273 * Variables.C (set): renamed from isset(), because this clashes
13274 with some HP-UX macros (grr).
13276 2001-02-06 Allan Rae <rae@lyx.org>
13278 * LaTeX.h: Another bug fix. Missing std:: this time.
13280 2001-02-04 Allan Rae <rae@lyx.org>
13282 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13283 floats problem. I've left it commented out because it's not quite
13284 correct. It should also test that the current object is a table or
13285 figure inset. But I haven't gotten around to figuring out how to do
13286 that. I *think* it'll be something like: "table" == inset.type()
13288 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13291 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13293 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13294 all the citation/databases/styles in the auxilary file.
13295 (run): Rerun latex if there was a babel language error.
13297 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13299 * text.C (Backspace): Preserve the font when changing newline char
13301 (BreakParagraph): If the cursor is before a space, delete the space.
13303 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13305 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13307 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13308 new argument (code).
13309 (ChangeCitationsIfUnique): New method.
13311 * paragraph.C (GetPositionOfInset): Handle bibkey.
13313 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * BufferView_pimpl.h: change type of Position::par_pos to
13316 LyXParagraph::size_type.
13318 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13320 * BufferView_pimpl.C (savePosition, restorePosition): Write
13321 messages to minibuffer.
13323 2001-01-28 José Matos <jamatos@fep.up.pt>
13325 * buffer.C (makeDocBookFile): adds support for document language.
13326 A silly restriction on the name of LatexCommand types where removed.
13327 Added support for CDATA sections, allows to chars unescaped, used
13328 among others in code, to avoid escape < and >.
13330 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13332 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13333 saved positions instrad of a stack. Furthermore, a position is
13334 stored using paragraph id/paragraph position.
13336 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13337 Remove LFUN_REF_BACK.
13339 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13341 * converter.C (dvipdfm_options): New method.
13343 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13345 * vspace.C (isValidLength): Fix for empty input string.
13347 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13349 * LyXAction.C (init): change description of LFUN_FIGURE to
13352 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13354 * LaTeX.C: add using directive
13356 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13358 * MenuBackend.C (expand): Fix the sorting of the formats.
13360 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13362 * lyx_main.C: tiny error message fix
13364 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13366 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13367 calling fl_initialize(). This fixes the problem with ',' as
13368 decimal separator in text files.
13370 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13372 * trans.C (process): Fix the keymap bug.
13374 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13376 * LaTeX.C (scanAuxFiles): New method. Provides support for
13377 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13378 (scanLogFile) Scan for "run BibTeX" messages.
13380 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13381 OT1 font encoding. Also, load the aecompl package if the ae
13384 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13386 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13388 * texrow.C (increasePos): turn two error messages into debug
13391 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13393 * LaTeX.C (scanAux): Handle the \@input macro.
13394 (runBibTeX): Use scanAux().
13396 * language.C (latex_options_): New field.
13398 * LaTeXFeatures.C (getMacros): Add language macros.
13400 * buffer.C (makeLaTeXFile): Small fix.
13402 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13404 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13406 * text2.C: add a using directive.
13408 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13413 * lyxfunc.C: kill LyXBell.
13415 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13417 * text.C (IsBoundary): Remove the error message
13419 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13421 * lyxrc.C (setDefaults): Correct initialization value for
13424 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13426 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13429 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13430 and GotoNextNote().
13432 * src/LyXAction.C: Added reference-next.
13434 * text.C (InsertChar): Use contains instead of strchr.
13436 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13438 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13440 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13441 alignment commands (when needed).
13443 * text.C (InsertChar): Add ':' to number separator chars.