1 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3 * text.C (backspace): fix the "zombie characters"
5 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
7 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
9 2003-10-27 André Pönitz <poenitz@gmx.net>
11 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
13 * factory.C: handle new InsetPagebreak, InsetLine
15 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
16 and move handling into new InsetPagebreak, InsetLine
20 * ParagraphParameters.C:
33 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
42 * text3.C: remove lastPos uses in favour of Row::endpos
44 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
46 * undo.C (performUndoOrRedo): fix two crashes by setting a
47 cursor by hand and reordering some calls. Use bv->lockInset instead
48 of inset->edit because the latter loses cursor information
50 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
52 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
54 (rowBreakPoint): fix width. change point to point + 1.
57 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
60 * lyxfunc.C: fix (at least partly) the problems
61 with the Nav menu and headers inside branch insets
64 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
66 * paragraph.C (getChar): add strong asserts
68 * lyxrow_funcs.C (lastPos): remove hideous hack
70 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
71 (fill): adjust to that (avoid an infinite loop)
73 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
75 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
77 2003-10-23 André Pönitz <poenitz@gmx.net>
79 * RowList_fwd.h: change list<> to vector<> to gain speed
80 after suggestion from Alfredo
82 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
84 * lyxtext.h: move the bidi stuff from here...
87 * Bidi.[Ch]: ... to here
89 2003-10-23 André Pönitz <poenitz@gmx.net>
92 * text.C (isLastRow, isFirstRow): new functions
94 * paragraph.h: new width cache member
96 * rowpainter.C: replace RowList::iterator with Row & where possible
98 * lyxfunc.C: replace several view()->text with a single call
100 * toc.C: fix 'unused' warning
102 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
104 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
105 when woring with stream::pos_type
106 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
108 2003-10-22 André Pönitz <poenitz@gmx.net>
111 * text.C: use Row & instead of RowList::iterator
113 * lyxrow.h: rename end() to endpos()
119 2003-10-22 Angus Leeming <leeming@lyx.org>
121 * buffer.[Ch] (fully_loaded): new member function, returning true
122 only when the file has been loaded fully.
123 Used to prevent the premature generation of previews and by the
124 citation inset to prevent computation of the natbib-style label.
126 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
127 templates are all set up.
129 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
131 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
133 * text.C: fixed an "oops" in the "is a bit silly"
136 2003-10-21 André Pönitz <poenitz@gmx.net>
138 * FuncStatus.[Ch]: small stuff, whitespace
140 * lyxfont.[Ch]: operator<<() for debug reasons
144 * lyxtext.h: whitespace, spelling
146 * paragraph.C: naming of variables
149 * text2.C: small stuff
152 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
154 * text.C: (1) finish off the inset display() work;
155 (2) fix the "is a bit silly" bug (accessing char
158 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
160 * text.C: re-introduce display() for insets, fixing the
161 various bugs (stretch of line above, math inset
164 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * text.C (rightMargin): remove spurious semicolon
168 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
171 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
173 * text3.C: fix one crash due to wrong cursor def
175 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
177 * vc-backend.C (scanMaster): make the regex static
179 * LaTeX.C (scanAuxFile): make the regexs static
181 * text3.C (doInsertInset, dispatch, dispatch):
182 * text2.C (cursorUp, cursorDown):
183 * text.C (selectNextWordToSpellcheck):
184 * BufferView_pimpl.C (dispatch):
185 * lyxfunc.C (dispatch): localDispatch -> dispatch
187 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * lyxsocket.C: include <cerrno>
191 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * lyxfunc.C (dispatch): remove textcache stuff
195 * bufferlist.C (release): remove textcache stuff
198 * TextCache.C: delete file
199 * TextCache.h: delete file
201 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
203 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
204 delete of the bv_->text.
205 (resizeCurrentBuffer): remove texcache stuff
206 (workAreaResize): ditto
208 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
210 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
213 2003-10-16 André Pönitz <poenitz@gmx.net>
220 * text3.C: speed up by storing y positions per paragraph plus per-row
221 offset instead of having a 'full' y position in the row.
223 2003-10-15 André Pönitz <poenitz@gmx.net>
227 * undo.[Ch]: make undo aware of inner insets
229 2003-10-14 Angus Leeming <leeming@lyx.org>
231 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
232 static member functions LyX::ref() and LyX::cref.
233 (lastfiles): new accessor functions for the new lastfiles_ member var.
234 (addLyXView, views_): add a new LyXView to the list of views_.
235 (updateInset): loop over all LyXViews to call their own updateInset
236 member function, returning a pointer to the Buffer owning the inset.
238 * BufferView_pimpl.C (loadLyXFile):
239 * MenuBackend.C (expandLastfiles):
240 * bufferlist.C (MenuWrite, QuitLyX):
241 lastfiles is no longer a global variable.
242 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
244 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
245 static function. Access through LyX::cref().emergencyCleanup().
247 2003-10-14 André Pönitz <poenitz@gmx.net>
249 * iterators.[Ch]: new direct access to innermost LyXText and Inset
251 * undo.[Ch]: restoring part of 'undo in insets'
254 * undo_funcs.[Ch]: merge with undo.[Ch]
256 * tabular.C: small cleansing stuff
258 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
260 * paragraph_funcs.C (readParToken): report unknown insets as error
261 boxes. Use the outer paragraph as location (also for unknown
264 * factory.C (readInset): do not abort on reading an unknown inset.
267 2003-10-13 Angus Leeming <leeming@lyx.org>
269 * lyx_main.C (LyX): remove call to setDisplayTranslator().
271 * lyxrc.C: displayTranslator is now a function,
272 declared in GraphicsTypes.h.
274 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
276 * format.C: new placeholder $$a to pass the socket address.
278 * bufferlist.[Ch]: new function getBufferFromTmp.
280 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
281 files in the temporary dir.
283 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
285 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
287 * Makefile.am: add lyxsocket.[Ch].
289 * lyx_main.C (error_handler): handle SIGPIPE.
291 2003-10-13 André Pönitz <poenitz@gmx.net>
293 * BufferView_pimpl.C:
298 * undo_funcs.[Ch]: use paroffset_type instead of
299 ParagraphList::iterators to prevent multiple conversion
300 (and get a more robust interface)
302 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
304 * lyxfunc.C (dispatch): RESULT -> dispatch_result
306 * text3.C (dispatch): ditto
308 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
310 * LaTeX.C (handleFoundFile): move the static to smaller scope,
311 move the onlyfile, use onlyfile instead of foundfile in a couple
314 * DepTable.C (update): flush the error stream a bit more
316 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
318 * lyxserver.C (callback): adjust
320 * lyxfunc.C (getStatus): add a missing brace in commented code
321 (ensureBufferClean): reindent
322 (dispatch): delete version taking a string
324 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
326 * LaTeX.C (deplog): move found file handlig from here...
327 (handleFoundFile): .. to new function here.
328 (deplog): make sure to discover several files mentioned on the
331 2003-10-10 André Pönitz <poenitz@gmx.net>
338 * text3.C: fix some of the tabular crashes
340 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
342 * MenuBackend.C (binding): put debug message into Debug::KBMAP
344 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
346 2003-10-09 André Pönitz <poenitz@gmx.net>
348 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
351 * BufferView_pimpl.C:
352 * bufferview_funcs.C:
363 * undo_funcs.C: adjust
365 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
367 * text2.C (incrementItemDepth): new function, use a backtracking
368 algorithm to discover the correct item depth.
369 (resetEnumCounterIfNeeded): new function, use a backtracking
370 algorithm to discover if counter reset is needed.
371 (setCounter): use them. Simplify a bit. Add different labels for
372 different item depths for itemize.
374 * paragraph.C (Paragraph): remove initialization of enumdepth
377 * paragraph.h: get rid of enumdepth, and use itemdepth both for
378 enumerate and itemize. Change the type of itemdepth to signed char.
380 2003-10-08 André Pönitz <poenitz@gmx.net>
382 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
387 * tabular.[Ch]: fix crash after 'row-insert'
389 2003-10-08 Angus Leeming <leeming@lyx.org>
391 Fix doxygen warnings.
393 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
394 Remove CutAndPaste:: prefix from header file declaration.
396 * LColor.h (fill): remove LColor:: prefix from declaration.
398 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
399 use lyx::depth_type rather than Paragraph::depth_type so that
400 header file and .C file match.
402 * converter.h (intToFormat): remove Converters:: prefix from declaration.
404 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
405 * aspell.C: \file aspell_local.C -> \file aspell.C
406 * gettext.C: \file gettext.C -> \file src/gettext.C
407 * gettext.h: \file gettext.h -> \file src/gettext.h
408 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
409 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
410 * text.C: \file text.C -> \file src/text.C
412 * toc.C: move comment so that doxygen is not confused.
414 2003-10-07 Angus Leeming <leeming@lyx.org>
416 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
418 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * aspell_local.h: add forgotten std::string's.
423 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
430 * text3.C: The Box patch. Fancybox support, minipage, parbox
432 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
438 * ParagraphParameters.h:
448 * lyxtextclasslist.h:
452 * textcursor.h: add <string> and other small fixes to make Lars'
453 std::string patch compile with STLport.
455 2003-10-06 Angus Leeming <leeming@lyx.org>
457 * LColor.h: Add missing #include <string>.
459 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * All most all file in all subdirs: Make <string> be the prefered
462 way of getting to std::string, add using declarations.
464 2003-10-06 André Pönitz <poenitz@gmx.net>
466 * metricsinfo.C: initialize LyXFont before changing attribute.
467 (fixes the 'math in \emph is upright' bug)
469 2003-10-06 André Pönitz <poenitz@gmx.net>
471 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
473 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
476 * paragraph_pimpl.C: Small fixes to build using STLport
478 2003-10-02 André Pönitz <poenitz@gmx.net>
481 * text3.C: move handling of LFUN_DEPTH *; fix #1360
483 2003-10-01 André Pönitz <poenitz@gmx.net>
485 * factory.C: assert early
487 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
489 * lyx_main.C: remove the global debug object
491 * debug.h: adjust for new debugstream
493 * debug.C: adjust for new debugstream and keep the global debug
496 2003-09-22 Angus Leeming <leeming@lyx.org>
498 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
499 of g++ which otherwise complain that the scoped_ptr destructor can't delete
500 an incomplete class LyXFont.
502 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
504 * factory.C: bug fix in branches
506 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
508 * lyxfunc.C (processKeySym): adjust
510 (dispatch): change arg name from ev to func, adjust
511 (sendDispatchMessage): ditto
513 * lyx_main.C (defaultKeyBindings): adjust keybindings
514 (deadKeyBindings): ditto
516 * kbsequence.C (addkey): return a FuncRequest
518 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
520 * kbmap.C (bind): take a FuncRequest as arg, adjust
523 (defkey): change to take a FuncRequest as arg, adjust
524 (findbinding): take a FuncRequest as arg, adjust.
526 * funcrequest.h (operator=): added
528 * funcrequest.C (FuncRequest): default kb_action changed from
529 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
531 * buffer.C (dispatch): simplify
532 (dispatch): adjust to take a FuncRequest as arg, adjust
534 * boost.C (assertion_failed): change assertion message slightly
536 * ToolbarBackend.C (read): simplify
538 * MenuBackend.C (binding): adjust call to findbinding, add a
539 message if no binding is found.
541 (expandToc): correct by adding a empty FuncRequest
543 * LyXAction.C: include <boost/assert.hpp>
544 (isPseudoAction): delete function
545 (LookupFunc): change name to...
546 (lookupFunc): this. change return type to FuncRequest.
547 (getActionName): take kb_action as arg, simplify
548 (funcHasFlag): add an assert, simplify.
550 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * toc.C (action): return a FuncRequest, simplify
554 * lyxfunc.C (processKeySym): adjust
555 (getStatus): delete version that takes an int.
557 (dispatch): delete version that takes action as int
559 (sendDispatchMessage): simplify and adjust
561 * funcrequest.C (getArg): take unsigned int as arg
563 * ToolbarBackend.C (read): adjust
564 (add): delete version that takes func as a string.
565 (getIton): take a FuncRequest as arg
567 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
570 * MenuBackend.C (MenuItem): add a new construct that only takes a
571 Kind, simplify the constructor use for submenus.
573 (expandLastfiles): adjust
574 (expandDocuments): adjust
575 (expandFormats): adjust
576 (expandFloatListInsert): adjust
577 (expandFloatInsert): adjust
578 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
580 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
581 Remove class variables lyx_pseudo_map and lyx_arg_map
583 * LyXAction.C (searchActionArg): delete function
584 (getPseudoAction): delete function
585 (retrieveActionArg): delete function
586 (LookupFunc): make it return kb_action, simplify.
587 (getActionName): simplify
589 * factory.C (createInset): fix new bug
591 2003-09-19 Angus Leeming <leeming@lyx.org>
593 * CutAndPaste.C (pasteSelection): remove fudge used to set the
594 masterFilename_ parameter in the include inset.
596 * factory.C (createInset): changes due to the changes to InsetInclude.
598 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
600 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
602 2003-09-18 Angus Leeming <leeming@lyx.org>
605 * BufferView.C: pass the buffer when calling Inset::getLabelList,
606 Inset::fillWithBibKeys.
607 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
609 2003-09-18 Angus Leeming <leeming@lyx.org>
611 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
613 (ctor): pass and store a 'Buffer const &'
614 (buffer): new member function.
616 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
617 '*this' to the LaTeXFeatures ctor.
619 2003-09-18 Angus Leeming <leeming@lyx.org>
625 * text.C: rename EnumLColor as LColor_color.
627 2003-09-18 Angus Leeming <leeming@lyx.org>
629 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
630 remove #include "insets/insetbase.h" from cursor.h.
632 2003-09-18 Angus Leeming <leeming@lyx.org>
634 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
635 InsetOld_code to remove #include "inset.h".
637 * iterators.C: add #include "insets/inset.h"
639 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
641 * BufferView.C: remove more locking stuff that apparently doesn't
642 do anything sensible.
644 2003-09-16 André Pönitz <poenitz@gmx.net>
647 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
650 2003-09-16 Angus Leeming <leeming@lyx.org>
652 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
654 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
657 * paragraph.h: remove #include "lyxfont.h". Forward declare
660 2003-09-16 Angus Leeming <leeming@lyx.org>
662 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
663 of support/textutils.h.
664 (isWord): move the contents of support/textutils.h's IsWordChar here.
670 * text2.C: add #include "paragraph.h".
673 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
675 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
681 * LaTeX.C: use namespace alias for lyx::support::os
683 2003-09-16 Angus Leeming <leeming@lyx.org>
686 * bufferview_funcs.C:
691 * text.C: add #include "LColor.h".
693 2003-09-16 Angus Leeming <leeming@lyx.org>
695 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
696 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
698 Store the FontBits::color variable as an int rather than as an
699 LColor::colorso that we can move LColor.h out of the lyxfont.h header
702 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
703 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
704 string calls together.
706 * lyxrc.C: add #include "LColor.h".
708 2003-09-15 Angus Leeming <leeming@lyx.org>
710 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
713 2003-09-15 Angus Leeming <leeming@lyx.org>
715 * LColor.h: add an EnumLColor wrapper for LColor::color.
717 * lyxfont.[Ch] (color, setColor, realColor):
718 * lyxtext.h, text.C (backgroundColor):
719 pass EnumLColor args to/from the functions, rather than LColor::color
723 * lyxtext.h: forward declare EnumLColor.
725 * lyx_main.C: add #include "LColor.h".
727 2003-09-15 Angus Leeming <leeming@lyx.org>
729 * .cvsignore: add lyx-gtk.
731 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
736 * ParagraphParameters.C
750 * vc-backend.C: remove usage of STRCONV
752 2003-09-15 Angus Leeming <leeming@lyx.org>
754 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
755 explicitly define the color passed to the painter.
757 2003-09-15 Angus Leeming <leeming@lyx.org>
759 * bufferparams.C (BufferParams): reorder member initializers to avoid
762 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
764 * CutAndPaste.C (pasteSelection): remove an outdated #warning
765 * text.C (updateRowPositions): remove an unusual nop
767 2003-09-12 André Pönitz <poenitz@gmx.net>
769 * BufferView_pimpl.C:
778 * Counters.[Ch]: finish the 'automatic counters' job
780 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
782 * aspell.C: include <boost/assert.cpp> (compile fix)
784 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
786 * boost.C (assertion_failed): use lyx::support::abort instead of
789 2003-09-10 Angus Leeming <leeming@lyx.org>
791 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
792 with their _fwd progeny.
794 2003-09-09 Angus Leeming <leeming@lyx.org>
796 134 files throughtout the source tree: replace 'using namespace abc;'
797 directives with the appropriate 'using abc::xyz;' declarations.
799 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
801 * boost.C (emergencyCleanup): moved here from LAssert.c
802 (assertion_failed): new function, called by BOOST_ASSERT
804 * several files: change Assert to BOOST_ASSERT
806 2003-09-09 Angus Leeming <leeming@lyx.org>
808 * buffer.[Ch]: Add an Impl class and move Buffer's member
809 variables into it. As a result move several header files out of
812 Add header files to lots of .C files all over the tree as a result.
814 2003-09-09 Angus Leeming <leeming@lyx.org>
816 * buffer.[Ch]: make Buffer's member variables private. Add
819 Lots of changes all over the tree as a result.
821 2003-09-08 Angus Leeming <leeming@lyx.org>
823 * graph.C: #include <config.h>.
825 2003-09-08 Angus Leeming <leeming@lyx.org>
829 * BufferView_pimpl.C:
858 * toc.C: remove redundant using directives.
860 2003-09-07 Angus Leeming <leeming@lyx.org>
862 * LaTeXFeatures.h: remove #include "support/types.h".
863 * ToolbarBackend.h: remove #include <algorithm>.
864 * changes.h: remove #include <ctime>.
865 * debug.h: remove #include <iosfwd>.
866 * graph.h: remove #include "support/std_string.h".
867 * lyx_main.h: remove #include <csignal>.
868 * lyxlex_pimpl.h: remove #include <fstream>.
869 * sgml.h: remove #include <algorithm>, <utility>.
870 * toc.h: remove #include "support/std_ostream.h".
871 Add #include <iosfwd>.
873 2003-09-07 Angus Leeming <leeming@lyx.org>
875 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
877 * converter.h: forward declare LatexRunParams.
878 * encoding.h: remove #include "lyxrc.h".
879 * lyxtext.h: remove #include "LColor.h".
880 * lyxtextclass.h: remove #include "support/types.h".
881 * trans.h: remove #include "tex-accent.h".
882 * trans_mgr.h: remove #include "tex-accent.h".
883 * insets/inset.h: remove #include "support/types.h", <vector>.
884 * insets/insetcollapsable.h: remove #include "LColor.h".
885 * insets/insetinclude.h: remove #include "dimension.h".
886 * insets/insetlatexaccent.h: remove #include "dimension.h".
887 * insets/insetoptarg.h:: remove #include "insettext.h".
888 * insets/insettext.h: remove #include "dimension.h",
889 <boost/shared_ptr.hpp>
891 * insets/renderers.h: add #include "dimension.h".
892 * insets/updatableinset.h: add #include "support/types.h".
894 * many .C files: Associated changes.
896 2003-09-06 Angus Leeming <leeming@lyx.org>
898 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
899 one, inside testInvariant.
901 * PrinterParams.C: new file.
902 * PrinterParams.[Ch]: move the function bodies out of line.
904 2003-09-06 Angus Leeming <leeming@lyx.org>
906 * ParagraphParameters.h: forward declare ParameterStruct rather than
907 including its header file.
908 (depth): moved out-of-line.
910 2003-09-06 Angus Leeming <leeming@lyx.org>
912 * BufferView_pimpl.h:
915 * lyxfunc.h: forward declare LyXKeySym rather than
916 #include "frontends/LyXKeySym.h".
918 * BufferView_pimpl.C:
921 * lyxfunc.C: associated changes.
923 2003-09-06 Angus Leeming <leeming@lyx.org>
925 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
926 As a result, can remove the #include "insets/inset.h" from BufferView.h
928 2003-09-06 Angus Leeming <leeming@lyx.org>
930 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
931 As a result, can remove the #include "insets/inset.h" from BufferView.h
933 2003-09-06 Angus Leeming <leeming@lyx.org>
939 * bufferview_funcs.C:
940 * BufferView_pimpl.C:
945 * ParagraphParameters.C:
950 * frontends/controllers/ControlDocument.C:
951 * insets/insetcaption.C: rearrange the #includes into some sort of
954 * buffer.h: remove #includes ErrorList.h, undo.h
956 2003-09-06 Angus Leeming <leeming@lyx.org>
958 * support/types.h: add a 'depth_type' typedef, used to store the
959 nesting depth of a paragraph.
962 * ParameterStruct.h: use this lyx::depth_type typedef rather than
967 * ParagraphParameters.h:
968 * sgml.h: use lyx::depth_type rather than Paragraph or
969 ParameterStruct's depth_type.
972 * paragraph_funcs.h: no need to #include paragraph.h anymore.
975 * BufferView_pimpl.C:
977 * ParagraphParameters.C:
980 * bufferview_funcs.C:
987 * frontends/LyXView.C:
988 * frontends/controllers/ControlDocument.C:
989 * frontends/controllers/ControlErrorList.C:
990 * insets/insetbibitem.C:
991 * insets/insetbranch.C:
992 * insets/insetcaption.C:
993 * insets/insetcollapsable.C:
996 * insets/insetfloat.C:
997 * insets/insetfoot.C:
998 * insets/insetfootlike.C:
999 * insets/insetnewline.C:
1000 * insets/insetquotes.C:
1001 * insets/insettabular.C:
1002 * insets/insettext.C:
1003 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1005 * frontends/controllers/ControlChanges.C: #include "changes.h".
1007 2003-09-06 Angus Leeming <leeming@lyx.org>
1009 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1010 than #including paragraph.h.
1013 * RowList.h: deleted. Superfluous.
1023 * insets/insettext.h: use ParagraphList_fwd.h rather than
1026 * paragraph.h: don't forward declare ParagraphList.
1029 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1030 rather than ParagraphList.h. paragraph.h is still needed for the
1031 Paragraph::depth_type parameters.
1033 * textcursor.h: enable it to compile stand-alone in light of the
1036 * bufferview_funcs.C:
1048 * frontends/controllers/ControlParagraph.C:
1049 * frontends/controllers/ControlTabular.C:
1050 * insets/insetmarginal.C:
1051 * insets/insetminipage.C:
1052 * insets/insetnote.C:
1053 * insets/insetoptarg.C: add header files needed to compile again.
1055 2003-09-06 Angus Leeming <leeming@lyx.org>
1057 * RowList_fwd.h: new file, forward-declaring Row rather than
1058 #including lyxrow.h.
1063 * insets/insettext.h: use it instead of RowList.h
1065 * bufferview_funcs.C:
1072 * text3.C: #include "RowList.h".
1074 2003-09-05 Angus Leeming <leeming@lyx.org>
1076 * factory.C (createInset):
1077 * vspace.C (c-tor): replace sscanf call with an istringstream.
1078 * ispell.C: re-add missing HP/UX headers.
1079 * lyxserver.C: re-add missing os2 headers.
1081 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1090 * text3.C: re-add missing system headers, needed for 2.95.2.
1092 2003-09-05 Angus Leeming <leeming@lyx.org>
1094 Changes most place everywhere due to the removal of using directives
1095 from support/std_sstream.h.
1097 2003-09-05 Angus Leeming <leeming@lyx.org>
1099 Replace LString.h with support/std_string.h,
1100 Lsstream.h with support/std_sstream.h,
1101 support/LIstream.h with support/std_istream.h,
1102 support/LOstream.h with support/std_ostream.h.
1104 Changes resulting throughout the tree.
1106 2003-09-05 Angus Leeming <leeming@lyx.org>
1108 * sgml.h: ensure that the header file can be compiled stand-alone.
1109 * *.C: strip out redundant #includes. (320 in total.)
1111 2003-09-04 Angus Leeming <leeming@lyx.org>
1113 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1114 here (from getPackages).
1116 * debug.[Ch]: add a new EXTERNAL tag.
1118 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1120 * text2.C (cursorEnd): simplify
1122 (getColumnNearX): adjust
1124 * text.C (computeBidiTables): adjust
1127 * rowpainter.C (paintChars): adjust
1128 (paintSelection): adjust
1129 (paintChangeBar): adjust
1132 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1134 (numberOfSeparators): adjust
1136 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1142 * text3.C: Restricts the mouse click functionality
1143 of insets like bibtex, include, toc and floatlist to the visible
1144 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1145 up the dialogs. Cursor has to be in front of the inset (i.e.
1146 start of row) for this to function.
1148 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1150 * bufferview_funcs.C (currentState): output row information
1152 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1154 * bufferview_funcs.C (currentState): output paragraph position
1156 2003-09-04 Angus Leeming <leeming@lyx.org>
1158 * FloatList.h: move out #include "Floating.h".
1159 * LaTeX.h: move out #include "DepTable.h".
1160 * LyXAction.h: move out #include "funcrequest.h".
1161 * buffer.h: move out #include "author.h", "iterators.h".
1162 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1163 * lyx_main.h: move out #include "errorlist.h".
1164 * lyxfunc.h: move out #include "FuncStatus.h".
1165 * lyxtext: move out #include "lyxcursor.h".
1166 * paragraph_pimpl.h: move out #include "counters.h".
1168 2003-09-03 Angus Leeming <leeming@lyx.org>
1170 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1171 preamble_snippets list, enabling us to add snippets to the preamble
1172 only if the snippet was not there already.
1174 2003-09-04 Angus Leeming <leeming@lyx.org>
1176 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1178 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1183 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1185 * BranchList.C: point fix, earlier forgotten
1187 2003-09-02 Angus Leeming <leeming@lyx.org>
1189 * box.C (contains): renamed from 'contained' after a fantastic
1192 2003-09-02 John Levon <levon@movementarian.org>
1198 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1200 2003-09-02 John Levon <levon@movementarian.org>
1202 * text2.C: simplification of cursorEnd(), including partial
1205 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * buffer.C (readFile): add a space
1209 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1211 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1213 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * buffer.C (readFile): new function, take a filename and a
1216 ParagraphList::iterator
1218 (readFile): adjust, make it private. don't use setStream, make
1219 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1220 always contain the filename.
1222 * BufferView.C (insertLyXFile): simplify and make it work for
1225 2003-08-30 John Levon <levon@movementarian.org>
1227 * Makefile.am: fix dist (from Kayvan)
1229 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1231 * most files: change to use const Buffer refs
1233 2003-08-27 André Pönitz <poenitz@gmx.net>
1235 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1236 on top of ownerPar().
1238 2003-08-27 John Levon <levon@movementarian.org>
1240 * funcrequest.C: properly initialise POD members
1242 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1244 * lyxtext.h (top_y): move top_y from here
1249 * BufferView_pimpl.[Ch]: to here
1250 * frontends/screen.C:
1251 * insets/insettabular.C:
1252 * insets/insettext.C: adjust
1253 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1255 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1258 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1260 2003-08-26 André Pönitz <poenitz@gmx.net>
1262 * paragraph_func.[Ch] (outerPar): new function
1265 * paragraph_funcs.C:
1266 * paragraph_funcs.h:
1267 * paragraph_pimpl.C:
1268 * text2.C: remove Inset::par_owner
1270 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1275 * text2.C: eliminates the needFullRow/display() stuff
1276 altogether, putting the logic in metrics/draw in the insets.
1278 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1280 * text2.C (redoParagraphInternal, redoParagraphs):
1281 * text.C (redoParagraph): add a call to updateRowPositions at the
1282 end of each 'metrics-like' call. Remove all others.
1283 (getRow): remove the 'y-computing' version.
1284 (getRowNearY): do not compute nor return the real y. Solve the
1285 'y < 0' problem and simplify.
1287 2003-08-22 Angus Leeming <leeming@lyx.org>
1289 * *.[Ch]: clean-up of licence and author blurbs.
1290 Also move config.h out of a few .h files and into a few .C files.
1292 2003-08-22 André Pönitz <poenitz@gmx.net>
1294 * lyxrow.[Ch]: add x_ and *fill_ members
1299 * text2.C: adjust/remove prepareToPrint() calls
1301 2003-08-22 André Pönitz <poenitz@gmx.net>
1303 * lyxrow.[Ch]: add end_ member
1305 * lyxrow_funcs.C: use LyXRow::end_
1307 * lyxtext.h (singleWidth): add LyXFont parameter
1310 * text2.C: adjust LyXText::singleWidth() calls
1312 * text.C (redoParagraph): simplify row breaking logic
1315 2003-08-19 André Pönitz <poenitz@gmx.net>
1317 * funcrequest.C: initialize button_ member
1320 * rowpainter.[Ch]: interface consolidation
1322 2003-08-18 André Pönitz <poenitz@gmx.net>
1325 * BufferView_pimpl.C:
1327 * paragraph_funcs.C:
1329 * text3.C: remove LyXScreen::draw() and fitCursor calls
1331 * BranchList.h: remove spurious semicolons
1333 * MenuBackend.C: fix branchlist related crash
1335 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1343 * bufferparams.[Ch]:
1347 * text3.C: implements the 'branch inset'
1348 idea. This allows the output of various versions of a document
1349 from a single source version, selectively outputing or suppressing
1350 output of parts of the text.
1351 This implementation contains a 'branch list editor' in a separate
1352 tab of the document settings dialog. Branches are user definable
1353 and have a "display colour" to distinguish them on-screen.
1355 ColorHandler was somewhat cleaned up.
1356 (1) make possible a dynamically growing LColor list by allowing
1357 the graphic context cache to grow along (vector);
1358 (2) eliminate an IMHO unnecessary step in colour allocation.
1360 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1362 * BufferView_pimpl.C: compile fix
1364 2003-08-15 André Pönitz <poenitz@gmx.net>
1366 * rowpainter.C: remove extra metrics calls
1368 * lyxtext.h: merge the two constructors into a single one,
1369 pass reference to owner's par list
1371 * BufferView_pimpl.C:
1375 2003-08-15 André Pönitz <poenitz@gmx.net>
1377 * lyxrow_funcs.[Ch]:
1380 * paragraph_funcs.C:
1385 * text_funcs.C: split LyXText::rowlist_ into individual
1386 Paragraph::rows_ chunks
1389 * BufferView_pimpl.[Ch]:
1392 * text3.C: remove toggleSelection()
1394 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1396 * bufferlist.C: beautify two alerts (shorter text of buttons)
1397 * buffer.C: Remove redundant ' ' from message
1399 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1400 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1401 rename VALIGN_CENTER to VALIGN_MIDDLE
1403 2003-08-11 André Pönitz <poenitz@gmx.net>
1405 * lyxtext.h (getPar):
1406 * text.C: new function
1408 2003-08-11 André Pönitz <poenitz@gmx.net>
1411 * tracer.[Ch]: remove unneeded files
1413 * InsetList.[Ch]: remove resizeInsetsLyXText()
1418 * text3.C: merge insertParagraphs() and appendParagraph()
1419 remove breakAgain(), update()
1421 * BufferView_pimpl.[Ch]:
1422 * bufferview_funcs.[Ch]:
1426 * tabular.C: adjust after text & InsetList changes.
1428 2003-08-08 André Pönitz <poenitz@gmx.net>
1430 * text.C (insertChar, backspace): replace rowlist fiddling
1431 with rebreak of full par
1434 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1435 checkParagraph, updateInset): removed
1437 2003-08-07 André Pönitz <poenitz@gmx.net>
1440 * text3.C: merge some LFUN handlers, remove dead code
1442 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1446 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1448 * text2.C (DEPM): fix part of bug 1255 and 1256
1450 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1452 * BufferView_pimpl.C (workAreaDispatch): change to use
1453 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1454 that are no mouse related.
1456 2003-08-05 André Pönitz <poenitz@gmx.net>
1459 * BufferView_pimpl.[Ch]:
1460 * bufferview_funcs.C:
1462 * text3.C: rip out "deep update"
1464 * textcursor.[Ch] (last_sel_cursor): remove unused member
1466 2003-08-04 André Pönitz <poenitz@gmx.net>
1469 * BufferView_pimpl.[Ch]:
1470 * ParagraphParameters.C:
1471 * bufferview_funcs.C:
1477 * text3.C: replace "complicated" BufferView::update(...) calls with
1480 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1482 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1484 * Makefile.am (lyx_SOURCES): add paper.h
1486 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1488 * Makefile.am: move things around so that both lyx-qt and
1489 lyx-xforms can be built (according to --with-frontend). Then lyx
1490 is a symbolic link to lyx-[firstfrontend]
1492 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1494 * Always use std::endl with lyxerr
1496 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1498 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1500 2003-08-01 André Pönitz <poenitz@gmx.net>
1503 * BufferView_pimpl.[Ch]:
1505 * text3.C: merge BufferView::repaint() and BufferView::update()
1507 2003-08-01 José Matos <jamatos@lyx.org>
1509 * buffer.[Ch]: file_format is no longer a buffer data element.
1511 2003-08-01 André Pönitz <poenitz@gmx.net>
1516 * text2.C: make redoParagraph more independent of current cursor
1518 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1520 * text2.C: remove unneeded members
1522 2003-07-30 André Pönitz <poenitz@gmx.net>
1524 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1526 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1527 create a single function...
1529 * paragraph_funcs.C (moveItem): ... here.
1532 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1534 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1536 * LColor.[Ch]: Add comment and greyedout logical colors.
1538 2003-07-30 André Pönitz <poenitz@gmx.net>
1540 * tabular.C: don't use Assert too heavily. This crashes where it
1543 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1545 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1546 is disabled (bug 1232)
1548 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1550 * factory.C: limited 'arg' scope
1552 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1554 * factory.C: fixed Note submenu issues
1556 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1558 * factory.C: submenu for Note/Comment/Greyedout
1560 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1563 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1565 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1568 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1569 greyedout. Patch provided by Jürgen Spitzmüller.
1571 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1573 * kbmap.C (read): fix error message when reading bind files
1575 2003-07-29 Angus Leeming <leeming@lyx.org>
1577 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1578 certainly does not do what it purports to do. I am doing it, and
1579 us, a favour by killing it.
1581 2003-07-28 José Matos <jamatos@lyx.org>
1583 * buffer.C (readBody, do_writeFile):
1584 * paragraph.C(readParagraph): \end_document replaces \the_end.
1586 2003-07-29 André Pönitz <poenitz@gmx.net>
1589 * BufferView_pimpl.[Ch]:
1593 * textcursor.[Ch]: remove toggleToggle & Co
1595 2003-07-28 José Matos <jamatos@fep.up.pt>
1597 * buffer.C (readParagraph):
1598 * params_func (readParToken, readParagraph):
1599 * paragraph.C (write): \layout -> \begin_layout.
1601 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * lyxlex_pimpl.C (setFile): clean up slightly.
1605 * bufferparams.h: add compressed var
1607 * buffer_funcs.C (readFile): adjust for LyXLex change
1608 (newFile): ditto + simplify
1610 * buffer.C (writeFile): handle writing of compressed files
1612 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1613 Check if the file is compressed and set a bufferparm if so.
1615 * Makefile.am (lyx_LDADD): remove explicit -lz
1617 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1619 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1620 makeDocBookFile): put the real LyX version in the first line of
1624 * version.C.in: remove lyx_docversion
1626 * tabular.C (write_attribute): add a template-based version to
1627 write enums properly
1629 2003-07-28 André Pönitz <poenitz@gmx.net>
1634 * text3.C: use doubles again for x-coordinates. They are needed.
1636 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * messages.C (getLocaleDir): use lyx_localedir()
1640 * lyxlex_pimpl.C (setFile): compress stuff
1642 * buffer.C (writeFile): add some compression stuff
1643 (do_writeFile): new func, dont call expliti close... will this
1646 * Makefile.am (lyx_LDADD): add -lz
1648 2003-07-28 José Matos <jamatos@fep.up.pt>
1650 * buffer.C: increment file format.
1651 * paragraph_funcs (readParagraph, readParToken):
1652 * paragraph.C (readParagraph): add \end_layout.
1654 2003-07-27 Angus Leeming <leeming@lyx.org>
1656 * Makefile.am: remove special casing for configure-time setting of
1657 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1659 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1660 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1662 2003-07-26 André Pönitz <poenitz@gmx.net>
1664 * paragraph_func.[Ch]:
1665 * paragraph.C (realizeFont): inline it whereever it is used
1670 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1673 2003-07-26 André Pönitz <poenitz@gmx.net>
1677 * text2.C: get rid of LyXText::need_break_row
1679 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * toc.[Ch]: put namespace toc inside namespace lyx
1683 * MenuBackend.C (expandToc2): adjust for lyx::toc
1686 * lyxfunc.C (dispatch): adjust for lyx::find
1688 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1689 lyx::find instead. Reorganize a bit.
1690 (LyXReplace): rename to replace
1691 (LyXFind): rename to find
1693 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1696 2003-07-26 André Pönitz <poenitz@gmx.net>
1698 * text.C (setHeightOfRow): restrict scope of temporary variable
1700 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1701 code (never has been used?)
1703 2003-07-27 Asger Alstrup <alstrup@local>
1705 * text.C (fill): Optimise algorithm to exploit that we can reuse
1706 the LyXFont for many characters.
1707 (setHeightOfRow): Same thing.
1708 (rowBreakPoint): Same thing.
1710 2003-07-26 Asger Alstrup <alstrup@local>
1712 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1714 * text.C (singleWidth): Spurious font copying in hot-spot
1715 singleWidth avoided. Reorder tests for arabic for efficiency.
1717 * text.C (fill): handle empty paragraphs better.
1719 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * encoding.h: add includes
1724 * lyxrc.C: remove reading of bind files
1726 * lyx_main.C (init): setup bindings and menus only if we have a
1729 * kbmap.C (read): new method. Do the actual reading of bind
1732 * converter.C (dvipdfm_options):
1735 (output): adapt PAPER_* enums.
1737 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1739 * bufferparams.h: remove paper-related enums from there
1741 * paper.h: New file. A trivial header file to hold paper-related
1742 enums. It should later expand to contain many paper-related
1745 * lyxrc.C: declare extern displayTranslator
1747 2003-07-27 José Matos <jamatos@fep.up.pt>
1749 * tabular.[Ch] (linuxdoc): add support for tables and figures
1752 2003-07-27 José Matos <jamatos@fep.up.pt>
1754 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1755 consistency in both functions.
1756 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1758 2003-07-26 Asger Alstrup <alstrup@local>
1760 * rowpainter.C (paintRows): Change algorithm to work directly on
1761 the insets rather than asking every character in the document
1762 whether its an inset.
1764 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1766 * buffer.C (openFileWrite): factorize some code
1768 2003-07-26 Angus Leeming <leeming@lyx.org>
1771 * lyx_main.[Ch]: replace occurances of system_tempdir with
1774 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1776 * rename Inset to InsetOld
1778 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1780 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1781 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1782 which I think is a bit clearer. EDIT is gone, since it was
1783 premature optimisation, and broken for mathed anyway.
1784 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1785 with cursor positioning in insets as well (math insets still do not
1786 work, but that's a different story anyway.) It mysteriously
1787 crashes sometimes with undo in the first paragraph, but I'm fairly
1788 confident that this is a compiler bug.
1790 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * paragraph.C (Paragraph): adjust for new clone return type
1794 (copyIntoMinibuffer): ditto
1796 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1798 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1799 by not having a special case, and always doing a full rebreak of
1800 the document after undo.
1802 2003-07-23 Angus Leeming <leeming@lyx.org>
1804 * factory.C (createInset): InsetExternal::setParams now takes a
1807 2003-07-23 Angus Leeming <leeming@lyx.org>
1809 * factory.C (createInset): changed interface to the external and
1810 graphics mailers' string2params functions.
1812 2003-07-23 Angus Leeming <leeming@lyx.org>
1814 * factory.C (createInset): pass a
1815 Buffer const * parameter to InsetExternalMailer's string2params.
1817 2003-07-22 John Levon <levon@movementarian.org>
1819 * Thesaurus.h: include the right aiksaurus header
1821 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * MenuBackend.C (expand): check menu shortcuts unconditionally
1825 2003-07-21 Angus Leeming <leeming@lyx.org>
1827 * factory.C (createInset): pass a
1828 buffer_path parameter to InsetGraphicsMailer's string2params.
1830 2003-07-21 Angus Leeming <leeming@lyx.org>
1832 * BufferView_pimpl.C (buffer):
1835 * lyxfunc.C (dispatch):
1836 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1837 rather than the grfx shortcut.
1839 2003-07-21 André Pönitz <poenitz@gmx.net>
1841 * rowpainter.C: remove unused variables
1844 * tabular_funcs.h: move to tabular.C
1845 * Makefile.am: adjust
1847 * tabular.[Ch]: basic optical cleaning
1849 * author.h: pass references, not values
1851 2003-07-18 André Pönitz <poenitz@gmx.net>
1859 * text3.C: two-phase drawing for InsetText and InsetTabular
1860 some float -> int changes.
1862 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1864 * lyx_main.C: fix the fix
1866 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1868 * lyx_main.C: fix a crash in batch mode if no files specified
1871 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1873 * format.[Ch] (papersize): moved to BufferParams
1874 * converter.[Ch] (dvips_options): moved to BufferParams
1875 (dvipdfm_options): moved to anon namespace
1876 * bufferparams.[Ch]: added above functions.
1878 2003-07-17 André Pönitz <poenitz@gmx.net>
1882 * text2.C: don't call inset->update() anymore
1884 * metricsinfo.[Ch]: add convenience constructor
1886 2003-07-16 André Pönitz <poenitz@gmx.net>
1891 * text2.C: replace the LyXCursor::irow_ member with
1892 on-demand computation of the value
1894 2003-07-16 John Levon <levon@movementarian.org>
1896 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1898 2003-07-15 André Pönitz <poenitz@gmx.net>
1901 * text2.C: remove no more needed refresh_row
1903 2003-07-15 André Pönitz <poenitz@gmx.net>
1908 * text3.C: refresh_status tristate -> need_update bool
1910 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1912 * lyxtext.h (init): remove reinit argument (act as if always true)
1913 * text2.C: adjust to that
1915 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1917 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1918 * text3.C: use it to delete selections in some cases
1919 (bugs 441, 673, 702, 954).
1921 2003-07-14 André Pönitz <poenitz@gmx.net>
1923 * rowpainter.[Ch]: reduce interface
1925 2003-07-14 André Pönitz <poenitz@gmx.net>
1927 * BufferView_pimpl.C:
1928 * text2.C: adjust after removing unused BufferView * argument
1930 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1932 * text2.C (init): fix a crash fired on resize
1934 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1936 * buffer.[Ch]: added new closing signal
1937 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1938 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1939 BufferView::Pimpl via the closing the signal
1941 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1943 * buffer.[Ch]: take out all bv-related from buffer
1945 * BufferView_pimpl.[Ch]: connect to new signals
1946 * CutAndPaste.C: removed useless asserts
1947 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1950 * lyxfunc.C: moved view-related funciontality from vc here
1951 * paragraph.C: removed outdated comments
1954 2003-07-10 André Pönitz <poenitz@gmx.net>
1956 * BufferView_pimpl.C:
1960 * text2.C: remove InsetText::InnerCache, clean up consequences
1962 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1964 * ispell.C: fix two typos in error messages
1966 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1968 * Extend Note inset to other forms of annotation like Comment
1969 and Greyedout. Right button click gives dialog.
1971 Files modified or added (+):
1975 * ControlNote.[Ch] +
1977 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1978 frontends/controllers
1982 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1984 * aspell.C: add missing namespace lyx::support
1986 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1988 * BufferView.[Ch] (newFile): Add
1989 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1990 * LaTeX.[Ch] (message): added this signal and use it
1991 * buffer.[Ch] (busy, message): added these signals and use them
1992 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1996 * importer.C: use buffer signals instead of direct bv calling
1997 * lyx_cb.[Ch] (ShowMessage): removed
2000 * paragraph_funcs.C:
2001 * text2.C: use buffer signals
2003 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * introduce namespace lyx::graphics
2007 2003-07-02 André Pönitz <poenitz@gmx.net>
2009 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2011 2003-07-01 André Pönitz <poenitz@gmx.net>
2018 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2019 text*.C to text_func.C
2021 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2023 * introduce namespace lyx::support
2025 2003-06-30 André Pönitz <poenitz@gmx.net>
2030 * text.C: re-enable --with-included-string
2032 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2034 * textcursor.C: add <config.h>
2036 * text.C (getWord): remove const from word_location arg
2038 * lyxvc.C (getLogFile): fix const type order
2040 * lyxtext.h: remove const from word_location arg, add arg name
2042 * lyxlayout.h: currect type on labeltype.
2044 * importer.C: correct \file
2046 * converter.C (intToFormat): use std:: on ret val, ws changes
2048 * bufferlist.h: correct \file
2050 * buffer.C (makeLinuxDocFile): fix const type order
2051 (makeDocBookFile): ditto
2052 (fillWithBibKeys): use std:: on stdlib args.
2054 * CutAndPaste.C: fix authors.
2055 (availableSelections): use std:: on return vector
2057 2003-06-27 André Pönitz <poenitz@gmx.net>
2059 * BufferView_pimpl.C:
2060 * bufferview_funcs.C:
2068 * text3.C: remove LyXCursor::row_ member
2071 * text.C: rename fullRebreak() to partialRebreak() and implement
2072 a fullRebreak() that really bereks fully
2074 * textcursor.h: new struct for cursor-related data
2076 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2078 * lyx_main.C (LyX): get full path of document loaded on the
2081 2003-06-26 André Pönitz <poenitz@gmx.net>
2083 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2084 remove unused/broken operator>,<,>=.
2086 * text.C: remove only use of broken operator<= in an Assert().
2088 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2090 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2091 moved errorlist_.clear to showErrorList
2093 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2095 * converter.C (scanLog, runLaTeX):
2096 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2097 move the bv->showErrorList call to the callers
2098 * lyxfunc.C: i.e. here...
2100 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2101 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2102 namespace, the second to...
2103 * buffer_funcs (BufferFormat, parseErrors): added
2104 * errorlist.C (ErrorList(TeXErrors const &)): removed
2106 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2108 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2110 2003-06-24 "Garst R. Reese" <reese@isn.net>
2114 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2118 * version.C.in: change docversion to 1.4
2120 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2122 * buffer.C: fix a bug just introduced
2124 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2126 * buffer.[Ch]: added the parseError signal and use it, removed
2128 * BufferView.[Ch] (addError): moved to ...
2129 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2130 to the Buffer::parseError signal to catch (guess what) parse errors
2131 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2133 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2135 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2136 ability to create a buffer and to return an existing one from
2137 the list. Moved these functions to...
2138 * buffer_funcs.[Ch]: added
2139 * BufferView.[Ch] (loadLyXFile): added
2140 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2141 job removed from bufferlist::loadLyXFile.
2142 * buffer.C (setReadOnly): make it work without view
2143 (i.e added an if (users))
2145 2003-06-19 Angus Leeming <leeming@lyx.org>
2148 * LyXAction.C (init):
2149 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2150 with LFUN_DIALOG_SHOW <name> <data>.
2152 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * CutAndPaste.C (availableSelections): small compilation fix for
2155 ancient (gcc 2.9x) compilers
2157 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2159 * text3.C (cursorNext): add tmp var
2161 * text2.C (updateCounters): for function calling out of for clause
2162 (replaceSelectionWithString): ditto
2163 (insertStringAsParagraphs): ditto
2164 (getColumnNearX): add tmp var
2165 (setCursorFromCoordinates): add tmp var
2166 (cursorDownParagraph): add tmp var
2167 (deleteEmptyParagraphMechanism): add tmp var
2169 * text.C (insertChar): add tmp var
2171 * rowpainter.C (paintDepthBar): add tmp var
2173 * CutAndPaste.C (availableSelections): potentially check all
2174 paragraphs in a cut to fill the shown strings.
2176 2003-06-18 André Pönitz <poenitz@gmx.net>
2178 * kbmap.[Ch]: use vector<> instead of list<>
2180 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2182 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2183 pasteSelection with index
2185 * text2.C (pasteSelection): modify, call pasteSelection with index
2187 * paragraph.C (asString): reimplement version with no interval to
2188 call the one with interval.
2190 * lyxtext.h: add index arg to pasteSelection
2192 * MenuBackend.C (MenuItem): handle PasteRecent
2193 (Menu::read::Menutags): add md_pasterecent
2195 (expandPasteRecent): new function
2198 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2200 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2202 (availableSelections): new function
2204 2003-06-17 Angus Leeming <leeming@lyx.org>
2206 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2208 2003-06-17 Angus Leeming <leeming@lyx.org>
2211 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2213 * lyxfunc.C (dispatch): invoke it.
2215 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2217 * iterators.C (operator++, ParPosition): reintroduce some
2218 const_cast for the benefit of older compilers.
2220 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2222 * text3.C (dispatch): do not modify clipboard when doing
2223 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2224 LFUN_DELETE_SKIP on a selection selection
2226 2003-06-16 André Pönitz <poenitz@gmx.net>
2232 * tabular.[Ch]: IU of clone() and getLabelList();
2234 2003-06-13 André Pönitz <poenitz@gmx.net>
2236 * tabular.h: compactification
2238 2003-06-12 André Pönitz <poenitz@gmx.net>
2242 * tabular_funcs.h: some renaming plus whitespace
2244 2003-06-12 André Pönitz <poenitz@gmx.net>
2247 * BufferView_pimpl.C:
2253 * toc.C: Return a Paragraph & for ParIterator::operator*()
2255 2003-06-11 John Levon <levon@movementarian.org>
2259 * ToolbarBackend.C: add "Toolbars" section and
2262 2003-06-10 Angus Leeming <leeming@lyx.org>
2265 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2267 * lyxfunc.C (dispatch): invoke it.
2269 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * main.C: protect <ios> with HAVE_IOS
2272 (main): protect sync_with_stdio with HAVE_IOS
2274 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2276 * text2.C (cutSelection): adjust
2277 (pasteSelection): adjust
2279 * messages.C: handle get of empty string
2281 * main.C (main): use sync_with_stdio(false)
2283 * lyxfunc.C (dispatch): adjust
2285 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2286 (WriteAs): remove unneeded BufferView arg.
2288 * bufferparams.h: use correct types on papersize, papersize2 and
2291 * bufferparams.C (readToken): adjust for type
2292 (writeLaTeX): add missing cases to switch.
2294 * bufferlist.C (quitWriteBuffer): adjust
2297 * buffer.C (asciiParagraph): remove some commented code.
2299 * CutAndPaste.C: remove current_view extern variable.
2300 (cutSelection): add BufferParams arg.
2301 (eraseSelection): add BufferParams arg.
2302 (pasteSelection): add Buffer const & arg
2304 2003-06-07 John Levon <levon@movementarian.org>
2307 * paragraph_funcs.C:
2308 * paragraph_pimpl.C:
2312 * paragraph.C: allow InsetERT to freely space lines,
2313 and some consolidation of code
2315 2003-06-06 José Matos <jamatos@fep.up.pt>
2317 * buffer.C (makeDocBookFile): fix bug #821
2319 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2321 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2323 2003-06-04 Angus Leeming <leeming@lyx.org>
2325 * buffer.C: bump format to 224.
2327 2003-06-05 André Pönitz <poenitz@gmx.net>
2329 * text2.C (redoParagraphs): remove two const_cast<>
2331 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2333 * ParagraphList.h: remove last remnants of NO_STD_LIST
2335 2003-06-03 Angus Leeming <leeming@lyx.org>
2337 * factory.C (createInset): small change to the way InsetExternal's params
2340 2003-06-04 André Pönitz <poenitz@gmx.net>
2342 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2344 * paragraph_pimpl.h:
2345 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2347 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2349 * undo_funcs.C: make some simple cases of undo work again
2351 2003-06-03 John Levon <levon@movementarian.org>
2353 * ispell.C: HPUX doesn't have sys/select.h
2356 2003-06-03 John Levon <levon@movementarian.org>
2358 * CutAndPaste.C: update tabular and include inset
2363 * paragraph.C: remove owningBuffer(), don't pass Buffer
2366 * factory.C: insetGraphicsParams changed
2368 2003-06-02 John Levon <levon@movementarian.org>
2374 * text3.C: remove insetparent
2376 2003-06-02 John Levon <levon@movementarian.org>
2379 * buffer.C: fix inset_iterator.end(), move out of line
2382 2003-06-01 John Levon <levon@movementarian.org>
2384 * text3.C: use a proper cut/paste when doing inset
2385 insert (from Jürgen Spitzmüller)
2387 2003-06-01 John Levon <levon@movementarian.org>
2389 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2391 2003-05-30 André Pönitz <poenitz@gmx.net>
2393 * rowpainter.C: unify second drawing phase
2395 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * trans_mgr.C: remove one case of current_view
2399 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2401 * paragraph_funcs.h: remove paragraph.h include
2403 * paragraph.h: delete NO_STD_LIST stuff
2405 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2407 * buffer.h: remove paragraph.h include
2409 * ParagraphList.C: delete file
2411 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2413 * toc.C (getTocList): adjust
2415 * paragraph_pimpl.C (validate): adjust
2417 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2419 * paragraph.C (Paragraph): adjust
2420 (getPositionOfInset): use const_iterator, adjust
2421 (bibitem): use const_iterator, adjust
2422 (setInsetOwner): adjust
2424 * iterators.C (operator++): adjust
2426 * InsetList.[Ch]: Replace selfmade iterator with standard
2427 vector::iterator also introduce const_iterator. Remove getPos,
2428 getInset and setInset from InsetTable. Adjust accordingly.
2430 * BufferView.C (lockInset): adjust
2431 (ChangeInsets): adjust
2433 * tabular.[Ch]: delete commented same_id functions
2435 2003-05-28 John Levon <levon@movementarian.org>
2437 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2439 2003-05-28 André Pönitz <poenitz@gmx.net>
2441 * metricsinfo.[Ch]: remove 'fullredraw' member
2443 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2445 * lyxtextclass.C (operator): remove caching.
2447 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * text2.C (cursorBottom): adjust
2452 (setCounter): use ParagraphList::find, adjust
2454 * text.C (workWidth): use ParagraphList::find, adjust
2456 * lyxcursor.C (LyXCursor): adjust
2458 * buffer.C (inset_iterator): adjust
2460 * ParagraphList.h: make iterator(value_type) private, make
2461 ParagraphList a friend of iterator.
2463 * ParagraphList.C (find): new function
2465 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2467 2003-05-27 André Pönitz <poenitz@gmx.net>
2469 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2471 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2473 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2475 2003-05-26 John Levon <levon@movementarian.org>
2477 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2479 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2481 * remove same_id from function signatures, adjust.
2483 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2487 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2489 * paragraph.C (Paragraph): get rid of same_ids parameter
2491 * ParagraphList.C (insert): adjust
2494 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * paragraph_funcs.C (breakParagraph): adjust
2497 (breakParagraphConservative): adjust
2499 * buffer.C (readParagraph): adjust
2501 * ParagraphList.C (insert): take a reference instead of a pointer
2504 * paragraph.[Ch] (id): new function
2506 * bufferlist.C (newFile): adjust
2508 * ParagraphList.C (ParagraphList): adjust
2510 (push_back): take a reference instead of a pointer.
2512 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2514 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2517 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2518 set else use old code.
2520 * ParagraphList.C: remove all NO_NEXT code and only compile this
2521 code of NO_STD_LIST is set.
2523 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2525 * BufferView_pimpl.C:
2535 * graphics/GraphicsConverter.C:
2536 * graphics/PreviewLoader.C: header adjustment
2538 2003-05-23 Angus Leeming <leeming@lyx.org>
2540 * LaTeXFeatures.[Ch] (useBabel): new method.
2541 * bufferparams.C (writeLaTeX): use it.
2543 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * ParagraphList.h (set): remove unused function.
2547 2003-05-23 André Pönitz <poenitz@gmx.net>
2550 * BufferView_pimpl.C:
2554 * undo_funcs.C: setUndo reworked
2556 * iterators.[Ch]: add access to topmost ParagraphList
2558 * lyxtext.[Ch] (workWidth): add a const
2560 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2562 * texrow.[Ch] (increasePos): remove function
2563 * exporter.C (export): removed unused var and outdated comment
2565 2003-05-23 Angus Leeming <leeming@lyx.org>
2567 * latexrunparams.h: rename fragile as moving_arg.
2568 * paragraph.C (simpleTeXOnePar): ditto.
2569 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2571 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2575 (textUndoOrRedo): comment out a currently unused var.
2577 * paragraph.h (NO_NEXT): enable NO_NEXT
2579 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2581 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2583 * exporter.C (Export): adjust for removeAutoInsets removal.
2585 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2587 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2589 * BufferView.[Ch] (removeAutoInsets): delete function
2591 2003-05-22 Angus Leeming <leeming@lyx.org>
2593 * latexrunparams.h: add a free_spacing variable.
2595 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2596 to pass moving_arg, as the data is stored in runparams.fragile.
2598 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2599 to Inset::latexOptional or to simpleTeXOnePar.
2601 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2602 free_spacing arg to Inset::latexOptional.
2604 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2607 2003-05-22 Angus Leeming <leeming@lyx.org>
2609 * latexrunparams.h: add fragile and use_babel variables.
2611 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2612 * buffer.C (makeLaTeXFile): store this returned value in
2613 runparams.use_babel, thus passing it to the inset::latex methods.
2615 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2616 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2618 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2619 longer has a fragile arg, as it is stored in runparams.fragile.
2621 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2622 moving_arg parameter as the data is stored in runparams.fragile.
2624 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2625 a fragile parameter as the data is stored in runparams.fragile.
2627 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2631 2003-05-22 Angus Leeming <leeming@lyx.org>
2633 * latexrunparams.h: add a 'bool nice' which defaults to false.
2635 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2636 now encapsulated within runparams.
2638 * bufferlist.C (updateIncludedTeXfiles):
2639 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2641 2003-05-22 Angus Leeming <leeming@lyx.org>
2643 * latexrunparams.h: new file containing struct LatexRunParams.
2644 * Makefile.am: add new file.
2646 * LaTeX.[Ch] (c-tor, run):
2647 * buffer.[Ch] (makeLaTeXFile):
2648 * bufferlist.[Ch] (updateIncludedTeXfiles):
2649 * converter.C (convert, scanLog):
2650 * converter.[Ch] (runLaTeX):
2651 * exporter.C (Export):
2652 * paragraph.[Ch] (simpleTeXOnePar):
2653 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2654 * paragraph_funcs.[Ch] (latexParagraphs):
2655 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2656 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2657 pass around a LatexRunParams parameter.
2659 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * paragraph.[Ch]: remove unused constructor
2663 * ParagraphList.C (erase): new function, taking two iterators
2665 2003-05-22 André Pönitz <poenitz@gmx.net>
2667 * undo_funcs.C: remove duplicated code
2669 * iterator.[Ch]: operator=
2671 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * tabular.C (SetMultiColumn): ws changes
2675 * rowpainter.C (paintFirst): get rid of a ->previous
2677 * lyx_cb.C (getPossibleLabel): parlist simplification
2679 * BufferView.C (ChangeInsets): simplify slightly.
2681 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2683 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2684 * lfuns.h: new LFUN_SPACE
2685 * lyxfunc.C: protected space has a new lfun
2686 * paragraph_funcs.C: read new space insets
2688 * factory.C: handle new space insets
2690 2003-05-22 André Pönitz <poenitz@gmx.net>
2693 * BufferView_pimpl.C:
2696 * undo_funcs.C: return a ParIterator from getParFromID.
2698 * iterators.[Ch]: add two const's
2700 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * toc.C (getTocList): adjust
2704 * iterators.[Ch]: rework for parlist
2706 * buffer.C (par_iterator_begin): adjust
2707 (par_iterator_end): adjust
2709 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2711 * BufferView.C (removeAutoInsets): adjust
2712 (ChangeInsets): adjust
2714 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2716 * text.C (top_y): fix bug 1110
2718 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2720 * errorlist.[Ch]: added
2723 * BufferView_pimpl.C:
2724 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2727 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * Makefile.am: ensure that lyx is relinked upon changes to the
2730 various "convenience" libs.
2732 2003-05-20 Angus Leeming <leeming@lyx.org>
2734 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2735 files are compiled in alphabetical order again.
2737 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2739 2003-05-19 Angus Leeming <leeming@lyx.org>
2741 * gettext.[Ch]: remove "char const * _(char const *)".
2743 2003-05-19 André Pönitz <poenitz@gmx.net>
2745 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2754 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2756 2003-05-19 André Pönitz <poenitz@gmx.net>
2760 * lyxtextclass.[Ch]:
2762 * paragraph_funcs.[Ch]:
2764 * text3.C: more insetenv work
2766 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2768 * ParagraphParameters.C (params2string): small bug fixed
2770 2003-05-16 André Pönitz <poenitz@gmx.net>
2773 * bufferview_funcs.C: patch from Kornel Benko to prevent
2774 crash when _(...) is called twice in a statement
2776 2003-05-16 André Pönitz <poenitz@gmx.net>
2783 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2785 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2787 * lyx_main.C (init): remove spurious static_cast
2789 2003-05-14 André Pönitz <poenitz@gmx.net>
2791 * BufferView.C: fix format string
2793 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2795 * BufferView.[Ch] (insertErrors): removed
2796 * BufferView.[Ch] (showErrorList): added
2797 * buffer.C (runChkTeX):
2798 * converter.C (scanLog): call showErrorList instead of inserterrors
2800 2003-05-13 André Pönitz <poenitz@gmx.net>
2802 * BufferView_pimpl.C:
2804 * bufferview_func.C:
2811 * tabular_funcs.h: tostr() from its own header
2813 * ParagraphParameters.C:
2818 * text3.C: STRCONV()
2820 2003-05-12 André Pönitz <poenitz@gmx.net>
2823 * BufferView_pimpl.C:
2827 * ParagraphParameters.C:
2831 * bufferview_funcs.C:
2844 * paragraph_funcs.C:
2848 * text3.C: boost::format -> bformat all over the place
2851 2003-05-09 André Pönitz <poenitz@gmx.net>
2853 * LColor.[Ch]: Pimpl the #include <map> away
2855 2003-05-09 John Levon <levon@movementarian.org>
2857 * bufferlist.C: never remove emergency saves
2859 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2861 * Makefile.am: better lib building
2863 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2867 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2868 (simpleTeXSpecialChars): adjust
2869 (simpleTeXSpecialChars): adjust
2870 * paragraph.C (simpleTeXOnePar): adjust
2871 * buffer.C (makeLaTeXFile): adjust
2873 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2875 * text2.C (changeDepth): parlist cleanup
2876 (getColumnNearX): ditto
2878 * rowpainter.C (getLabelFont): parlist cleanup
2880 * bufferlist.C (newFile): parlist cleanup
2882 * CutAndPaste.C (eraseSelection): parlist cleanup
2884 * BufferView_pimpl.C (trackChanges): parlist cleanup
2887 * BufferView.C (lockInset): parlist cleanup.
2888 (ChangeInsets): ditto
2890 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * CutAndPaste.h: Update file header.
2894 * CutAndPaste.C: Update file header.
2895 Store the parts cut out of the Document in a limited_stack.
2896 (copySelection): adjust
2897 (pasteSelection): new function, takes the index in the limited stack.
2898 (nrOfParagraphs): adjust
2899 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2900 simplify error inset insertion.
2901 (checkPastePossible): adjust
2903 2003-05-06 John Levon <levon@movementarian.org>
2905 * text2.C: don't cast wrap inset to float
2907 2003-05-05 André Pönitz <poenitz@gmx.net>
2910 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2912 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2913 few naked Paragraph *.
2915 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2917 * bufferparams.C: Output warning if a document with missing
2918 TeX document class is loaded
2919 * exporter.C: Disable TeX exports if the document class is missing
2922 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2923 isTeXClassAvailable()
2925 2003-05-03 John Levon <levon@movementarian.org>
2928 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2929 explicit cursor show/hide
2931 * BufferView_pimpl.h:
2932 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2933 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2935 * lyxfunc.C: hide cursor before dispatching.
2940 * text3.C: remove explicit cursor hides
2942 2003-05-02 André Pönitz <poenitz@gmx.net>
2944 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2947 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2950 * text2.C: tiny whitespace
2952 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * undo_funcs.C: almost only ws changes.
2956 * ParagraphList.C (splice): just return if pl is empty.
2958 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2960 * ParagraphList.C (splice): new function.
2962 * CutAndPaste.C (pasteSelection): use it
2964 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2966 * CutAndPaste.C (pasteSelection): remove the last next and
2967 previous from this file.
2969 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * CutAndPaste.C (pasteSelection): more clean up, user proper
2972 ParagraphList functions for pasteing.
2974 * ParagraphList.C (insert): new function, three arg insert
2976 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2978 * ParagraphList.C (insert): new function, three arg insert
2980 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2983 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2985 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2987 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2991 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2994 (copySelection): clean up a bit.
2995 (pasteSelection): use make_pair
2997 * ParagraphList.C (ParagraphList): implement copy constructor
2998 (operator=): implement, base on copy constructor.
3001 * paragraph.C (erase): return a bool
3003 * paragraph_pimpl.C (erasePos): remove function, move contents...
3004 (erase): ... here. Return a bool.
3005 (erase): call erase instead of erasePos.
3007 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3009 * ParagraphList.h: define PitPosPair
3010 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3011 ParagraphList, fix a bug on pasting multiple pars
3012 * text2.C: change interface to C&P
3014 2003-04-30 André Pönitz <poenitz@gmx.net>
3016 * undo_func.C: revert part of yesterday's patch 2
3018 2003-04-30 John Levon <levon@movementarian.org>
3020 * LColor.C: s/tabular/table/
3022 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3024 * text3.C (dispatch): do not convert iterator -> pointer
3025 * undo_funcs.C (setCursorParUndo): ditto
3026 * text_funcs.C (transposeChars): ditto
3028 * text2.C (setLayout): ws changes only
3030 * text.C (breakParagraph): do not convert iterator -> pointer
3032 (acceptChange): ditto
3033 (rejectChange): ditto
3038 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3041 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3043 * text3.C (gotoInset): YABG (yet another bad getChar)
3045 2003-04-29 André Pönitz <poenitz@gmx.net>
3047 * paragraph.h: make operator= private unimplemented as long as
3050 * ParagraphList.C: whitespace
3053 * paragraph_pimpl.[Ch]:
3054 * paragraph_funcs.C:
3056 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3059 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3061 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3063 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3064 * paragraph.[Ch] (erase):
3065 * paragraph_pimpl.[Ch] (erase): change return type and value
3066 * text2.C (cutSelection): some rework
3068 2003-04-28 John Levon <levon@movementarian.org>
3070 * bufferlist.C: changes for unsaved changes dialog
3072 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * bufferlist.C (newFile): set language (messages_) for new
3077 * buffer.C (readFile): ws changes only.
3079 2003-04-28 André Pönitz <poenitz@gmx.net>
3084 * BufferView_pimpl.C:
3085 * BufferView.C: getParFromID related ParagraphList::iterator changes
3087 2003-04-28 André Pönitz <poenitz@gmx.net>
3089 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3092 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * messages.C: remove one more localedir class variable.
3096 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3098 * messages.C (getLocaleDir): singleton generation function
3100 (Messages): add a default constructor.
3102 * main.C (main): do not setup localedir here, do not call
3105 * gettext.C (_): use it.
3106 (gettext_init): delete funciton
3108 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * gettext.C (getLyXMessages): new singleton generating function.
3112 * buffer.C (updateDocLang): adjust
3114 * Makefile.am (messages.o): add target
3115 (main.o): remove target
3117 2003-04-27 John Levon <levon@movementarian.org>
3122 * lyxvc.C: specify cancel button in Alert::prompt
3124 2003-04-26 John Levon <levon@movementarian.org>
3129 * LyXAction.C: add LFUN_INSET_SETTINGS
3131 * lyxfunc.C: don't enable tabular-feature when there's
3132 just any locking inset
3134 2003-04-26 John Levon <levon@movementarian.org>
3136 * bufferlist.C: re-add Cancel to buffer close question
3138 * lyxfunc.C: fix import UI a bit
3140 2003-04-25 John Levon <levon@movementarian.org>
3142 * gettext.C: remove the broken asserts for now
3144 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * messages.C: make case where setlocale cannot comply work better.
3148 * buffer.C (updateDocLang): new function
3149 (changeLanguage): use it
3152 * text2.C (setCounter): use B_ a bit.
3154 * lyxlayout.C (Read): be sure to trim the label strings.
3156 * messages.C (Messages): fix typo in comment
3158 * buffer.C (readFile): set message_ after file is loaded.
3159 (makeDocBookFile): remove double return
3160 (changeLanguage): reset message_ upon language change.
3161 (B_): new func, use this to get translated buffer strings.
3163 * main.C: add myself and Jean Marc as authors.
3165 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3167 * messages.[hC]: pimplify Messages, and three different pimpls to be
3168 used in different circumstances.
3170 * gettext.[Ch]: change for use with new message code.
3172 2003-04-24 André Pönitz <poenitz@gmx.net>
3174 * factory.C: support for eqref
3176 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * messages.[Ch]: add missing char
3180 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3182 * messages.[Ch]: New files
3184 2003-04-18 John Levon <levon@movementarian.org>
3188 * BufferView_pimpl.C:
3192 * text2.C: remove layout-copy/paste (bug 778)
3194 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3196 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3198 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3200 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3201 if they succeed. Act accordingly.
3203 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * text2.C (setCharFont): adjust
3206 (setCounter): adjust
3207 (insertStringAsLines): adjust
3209 * text.C (leftMargin): adjust
3210 (setHeightOfRow): adjust
3212 * rowpainter.C (paintFirst): adjust
3215 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3217 (isFirstInSequence): ditto
3218 (getEndLabel): ditto
3221 * paragraph.C (getParLanguage): comment out some hard stuff.
3223 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3225 (simpleDocBookOnePar): ditto
3226 (makeDocBookFile): use ParagraphList::iterator
3228 * CutAndPaste.C (pasteSelection): adjust
3230 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * text2.C (getFont): adjust
3233 (getLayoutFont): adjust
3234 (getLabelFont): adjust
3236 * paragraph_funcs.C (TeXOnePar): adjust
3238 * buffer.C (simpleLinuxDocOnePar): adjust
3239 (simpleDocBookOnePar): adjust
3241 * CutAndPaste.C (pasteSelection): adjust
3243 * BufferView.C (getEncoding): adjust
3245 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3247 2003-04-16 John Levon <levon@movementarian.org>
3249 * lyxfind.C: use parlist stuff for search/changes
3251 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3255 * text2.C (deleteEmptyParagraphMechanism): adjust
3257 * text2.[Ch] (ownerParagraph): delete func (both of them
3259 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3263 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * ParagraphList.C: prepare for NO_NEXT
3267 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3269 * text2.C (getFont): adjust
3270 (getLayoutFont): adjust
3271 (getLabelFont): adjust
3273 * paragraph.C (getFont): adjust
3274 (getLabelFont): adjust
3275 (getLayoutFont): adjust
3277 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3279 2003-04-15 John Levon <levon@movementarian.org>
3283 * lyx_main.C: handle Include in .ui files
3285 2003-04-15 John Levon <levon@movementarian.org>
3287 * MenuBackend.C: make the doc files length shorter
3290 * ToolbarBackend.C: handle toolbar placement flags,
3293 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3298 * paragraph_funcs.C (TeXOnePar): adjust
3300 * paragraph.C (getLabelFont): add outerfont arg, adjust
3301 (getLayoutFont): ditto
3302 (simpleTeXOnePar): adjust
3304 * paragraph_pimpl.C (realizeFont): delete func
3306 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3308 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3309 row argument, constify cur argument.
3311 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * text2.C (getFont): adjust
3314 (getLayoutFont): adjust
3315 (getLabelFont): adjust
3317 * paragraph_funcs.C (TeXOnePar): adjust
3318 (outerFont): new func...
3319 (realizeFont): ...moved out from here, changed this to facilitate
3322 * paragraph.C (getFont): take outerfont as arg, adjust
3323 (simpleTeXOnePar): add outerfont arg, adjust
3325 * buffer.C (simpleLinuxDocOnePar): adjust
3326 (simpleDocBookOnePar): adjust
3328 * CutAndPaste.C (pasteSelection): adjust
3330 * BufferView.C (getEncoding): adjust
3332 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * text2.C (setCharFont): adjust
3335 (setCounter): adjust
3337 * text.C (leftMargin): adjust
3338 (setHeightOfRow): adjust
3340 * rowpainter.C (paintFirst): adjust
3343 * paragraph_pimpl.C (realizeFont): adjust
3345 * paragraph.C (isFirstInSequence): move from here...
3346 * paragraph_funcs.C (isFirstInSequence): ...to here
3348 * paragraph.C (outerHook): move from here...
3349 * paragraph_funcs.C (outerHook): ...to here
3351 * paragraph.C (depthHook): move from here...
3352 * paragraph_funcs.C (depthHook): ...to here
3354 * paragraph.C (getEndLabel): move from here...
3355 * paragraph_funcs.C (getEndLabel): ...to here
3357 * text2.C (realizeFont): move from here...
3358 * paragraph_funcs.C (realizeFont): ...to here
3360 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3362 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3364 2003-04-14 Angus Leeming <leeming@lyx.org>
3366 * LColor.[Ch]: scrap LColor mathcursor.
3368 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * lyxlex.[Ch] (text): delete function
3371 * trans.C (Load): adjust
3372 * paragraph_funcs.C (readParToken): adjust
3374 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3376 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3377 vector<char> instead of a char[].
3379 * lyxlex_pimpl.C (getString): adjust
3381 (lex): use getString
3385 * lyxlex.C (text): use pimpl_->getString()
3389 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3391 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3392 (makeFontEntriesLayoutSpecific): temp var for par.size()
3393 (setLayout): temp var for ownerParagraphs().end()
3394 (fullRebreak): temp var for rows().end()
3395 (selectionAsString): temp var for boost::next(startpit), realize
3396 that the while really is a regular for loop.
3397 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3398 setCursor in one place.
3399 (setParagraph): temp vr for ownerParagraphs().end()
3400 (updateCounters): make the while loop a for loop
3401 (cutSelection): temp var for ownerParagraphs().end()
3402 (updateInset): make the do {} while() a regular for loop
3403 (getCursorX): use temp vars
3404 (setCurrentFont): use temp vars
3405 (getColumnNearX): use temp vars
3407 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3409 * text.C (transformChar): use temp var for getChar
3410 (computeBidiTables): use temp var for row->par()
3411 (fill): move temp vars for row->par() and pit->layout() earlier in
3413 (labelFill): use temp var for row->par()
3414 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3415 asc and desc, realize that pit never changes and that firstpit is
3416 just a duplicate and not needed. Exchange rit->par() with pit in a
3418 (breakAgain): use a temp var for boost::next(rit)
3419 (breakAgainOneRow): ditto
3420 (breakParagraph): use a temp var for rows().begin()
3421 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3422 (cursorRightOneWord): use temp var for cursor.par() and
3423 cursor.pos(), remove usage of tmpcursor.
3424 (cursorLeftOneWord): use temp var for cursor.par() and
3425 cursor.pos() only set cur at end of function.
3427 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * text.C, text2.C: exchange all usage of Paragraph::next with
3430 boost::next(ParagraphList::iterator)
3432 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3434 * text2.C (cursorTop): simplify implementation
3435 (cursorBottom): ditto
3436 (setParagraph): use ParagraphList::iterator
3437 (setCurrentFont): adjust
3438 (getColumnNearX): adjust
3439 (cursorRight): adjust
3440 (cursorLeft): remove usage of Paragraph::previous
3441 (cursorUpParagraph): ditto
3442 (deleteEmptyParagraphMechanism): slight cleanup
3444 * text.C (isBoundary): take a Paragraph const & instead of a
3446 (addressBreakPoint): ditto
3447 (leftMargin): remove usage of Paragraph::previous.
3448 (setHeightOfRow): ditto
3449 (cursorLeftOneWord): ditto
3450 (selectNextWordToSpellcheck): ditto
3453 (breakParagraph): remove one usage of Paragraph::next
3454 (redoParagraph): ditto
3455 (acceptChange): ditto
3456 (insertChar): adjust
3457 (rowBreakPoint): adjust
3459 * bufferview_funcs.C (toggleAndShow): adjust
3461 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3463 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3464 methods to access it.
3466 * text.C: Added updateRowPositions to compute all row positions.
3467 Make top_y and getRowNearY() to use the cached y position
3469 2003-04-11 John Levon <levon@movementarian.org>
3471 * text.C (rowBreakPoint): reintroduce the labelEnd
3472 checks, code copied from the row fill stuff. Deep voodoo.
3474 * text.C (fill): add a comment and debugging for the
3477 2003-04-11 John Levon <levon@movementarian.org>
3479 * text.C: make sure fullrow insets get wrapped to the next line,
3480 even when they're in a manual label
3482 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * text2.C (insertParagraph): make it take ParagraphList::iterator
3486 (setLayout): make it return ParagraphList::iterator
3487 (redoParagraphs): ditto
3489 (checkParagraph): ditto
3491 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3493 * text2.C: adjust several funcs.
3494 (realizeFont): take a ParagraphList::iterator as arg.
3495 (getLayoutFont): ditto
3496 (getLabelFont): ditto
3497 (setCharFont): ditto
3499 * text.C: adjust several funcs.
3501 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3503 * text.C (selectNextWordToSpellcheck): don't accidentally
3506 2003-04-10 John Levon <levon@movementarian.org>
3508 * ToolbarBackend.C (getIcon): special handling for
3511 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3513 * text2.C (cursorRight): a getChar assert fixed
3515 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * text2.C (getFont): change to take a ParagraphList::iterator
3518 instead of Paragraph*
3519 Adjust several functions.
3521 * text.C (transformChar): change to take a ParagraphList::iterator
3522 instead of Paragraph*
3523 (singleWidth): ditto
3524 Adjust several functions.
3526 * rowpainter.C: adjust several functions
3527 * rowpainter.h:store a ParagraphList::iterator and not a
3531 2003-04-09 John Levon <levon@movementarian.org>
3536 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3537 and the "help" bits as well
3539 2003-04-09 John Levon <levon@movementarian.org>
3542 * ToolbarBackend.C: allow multiple toolbars
3544 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * undo_funcs.C (setCursorParUndo): adjust
3548 * text_funcs.C (transposeChars): adjust
3550 * text3.C (gotoNextInset): adjust
3553 * text2.C (setLayout): adjust
3554 (changeDepth): adjust
3556 (redoParagraphs): adjust
3557 (selectionAsString): adjust
3558 (setParagraph): adjust
3559 (insertInset): adjust
3560 (cutSelection): adjust
3561 (copySelection): adjust
3562 (pasteSelection): adjust
3563 (insertStringAsLines): adjust
3564 (updateInset): adjust
3565 (setCursor): change to take a ParagraphList::iterator parameter
3566 (setCursorIntern): change to take a ParagraphList::iterator parameter
3567 (setCurrentFont): adjust
3568 (cursorLeft): adjust
3569 (cursorRight): adjust
3570 (deleteEmptyParagraphMechanism): adjust
3572 * text.C (breakParagraph): adjust
3573 (insertChar): adjust
3574 (acceptChange): adjust
3575 (rejectChange): adjust
3576 (selectNextWordToSpellcheck): adjust
3577 (changeCase): adjust
3581 * lyxfind.C (SearchForward): adjust
3582 (SearchBackward): adjust
3583 (nextChange): adjust
3585 * lyxcursor.C (par): adjust
3587 * lyxcursor.h: store a ParagraphList::iterator instead of a
3590 * lyx_cb.C (getPossibleLabel): adjust
3592 * bufferview_funcs.C (toggleAndShow): adjust
3594 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3597 * BufferView.C (removeAutoInsets): adjust
3598 (lockedInsetStoreUndo): adjust
3600 2003-04-09 John Levon <levon@movementarian.org>
3602 * ToolbarBackend.C: try icon without argument
3603 if with argument fails
3605 2003-04-08 John Levon <levon@movementarian.org>
3608 * ToolbarBackend.C: add getIcon(), handle tooltip,
3609 and change from "Icon" to "Item".
3611 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3613 * BufferView.C (lockInset): another bad getchar crunched
3615 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3617 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3620 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3622 * lyxfind.C (searchForward, searchBackwards): bug 782
3624 2003-04-07 John Levon <levon@movementarian.org>
3626 * paragraph.C: remove dead comment
3628 * text.C: remove troublesome depth-fiddling code
3629 in leftMargin() and rightMargin() (bug 1017)
3631 * text.C: fix breaking of rows in nested lists
3634 * text2.C (updateCounters): fix up depth values
3637 2003-04-07 John Levon <levon@movementarian.org>
3639 * BufferView_pimpl.C: clear message when doc finishes resizing,
3640 and after a mouse event
3642 * lyxfunc.C: clear message after exiting inset
3644 2003-04-07 John Levon <levon@movementarian.org>
3646 * bufferview_funcs.C: show math status not outside
3647 status in the statusbar
3649 2003-04-07 John Levon <levon@movementarian.org>
3651 * lyxfunc.C: note status changed after a depth change
3653 2003-04-04 Angus Leeming <leeming@lyx.org>
3655 * LaTeX.h: move AuxInfo operator==, != out of line.
3656 Remove LaTeX virtual destructor; nothing derives from it.
3657 Move operator()() out of public area and rename it startscript().
3658 Change protected for private.
3660 2003-04-04 Angus Leeming <leeming@lyx.org>
3663 * text2.C: remove unneeded #includes.
3665 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3667 * text2.C (dEPM): fix the heigth of the next row
3669 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3671 * text.C: squashed an invalid getChar requester + some ws changes
3673 2003-04-03 John Levon <levon@movementarian.org>
3675 * bufferview_funcs.h:
3676 * bufferview_funcs.C:
3679 * text2.C: make getStatus work for the env depth lfuns
3681 2003-04-03 John Levon <levon@movementarian.org>
3683 * bufferview_funcs.h:
3684 * bufferview_funcs.C:
3687 * text2.C: parlistize decDepth(), by merging it with incDepth()
3689 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * lyxrow.h: store a ParagraphList::iterator instead of a
3692 Paragraph* and adjust other class functions to suit.
3694 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3697 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3699 * text2.C (setCursor): do not anchor to cursor row for the time being
3701 2003-04-02 John Levon <levon@movementarian.org>
3708 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3710 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * paragraph.h: make ParagraphList and ParagraphList::iterator
3713 friends of Paragraph.
3715 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3717 * ParagraphList.C: Use the private next_ and previous_ from
3720 2003-04-01 John Levon <levon@movementarian.org>
3724 * Makefile.am: rename, remove defaults gunk
3727 * MenuBackend.C: remove defaults gunk
3730 * Languages.C: remove defaults gunk
3733 * lyx_main.C: error out if files couldn't be found.
3735 2003-04-02 John Levon <levon@movementarian.org>
3737 * text2.C: make incDepth() use parlist
3739 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * undo_funcs.C (firstUndoParagraph): adjust
3743 * text3.C (gotoInset): adjust
3744 (dispatch): adjust, and rewrite loop.
3746 * text2.C (init): adjust, and rewrite loop.
3747 (redoParagraphs): adjust
3748 (updateInset): adjust, and rewrite loop.
3749 (deleteEmptyParagraphMechanism): adjust
3751 * tabular.C (LyXTabular): adjust
3752 (SetMultiColumn): adjust
3755 * lyxtext.[Ch] (ownerParagraph): delete function
3756 (ownerParagraphs): new function returns a ParagraphList.
3758 * BufferView.C (removeAutoInsets): adjust
3759 (insertErrors): adjust
3760 (setCursorFromRow): adjust
3762 2003-04-01 Angus Leeming <leeming@lyx.org>
3764 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3767 2003-04-02 John Levon <levon@movementarian.org>
3773 * text_funcs.C: make transposeChars a free function
3775 * lyxrow_funcs.C: remove wrong comment
3777 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * rowpainter.C: adjust
3785 * lyxrow_funcs. [Ch]: new files
3787 * lyxrow.[Ch]: remove next and previous pointers
3788 (next,previous): remove accessor functions
3789 (isParEnd): move to lyxrow_funcs
3790 (lastPos): move to lyxrow_funcs
3791 (nextRowIsAllInset): move to lyxrow_funcs
3792 (lastPrintablePos): move to lyxrow_funcs
3793 (numberOfSeparators): move to lyxrow_funcs
3794 (numberOfHfills): move to lyxrow_funcs
3795 (numberOfLabelHfills): move to lyxrow_funcs
3796 (hfillExpansion): move to lyxrow_funcs
3800 * bufferview_funcs.C (toggleAndShow): adjust
3802 * RowList.h: Remove class RowList from file leave just a
3805 * RowList.C: delete file
3807 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3810 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * text3.C (cursorPrevious): adjust
3813 (cursorNext): adjust
3816 * text2.C (redoHeightOfParagraph): adjust
3817 (redoDrawingOfParagraph): adjust
3820 * text.C (breakParagraph): adjust
3821 (insertChar): adjust
3824 * rowpainter.C (RowPainter): adjust
3825 (leftMargin): simplify and adjust
3826 (most rowpainter functions): adjust.
3828 * rowpainter.h: store the row as RowList::iterator not as Row*
3830 * lyxcursor.C (row): taka RowList::iterator as arg
3833 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3836 2003-04-01 Angus Leeming <leeming@lyx.org>
3838 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3839 stuff like bool Bool.
3841 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3843 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3846 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3851 * lyxtext.h (rows): drop one version and leve a const variant that
3852 returns a RowList::iterator.
3854 2003-03-31 Angus Leeming <leeming@lyx.org>
3856 * text.C (fill): ensure that the signature is the same as that in the
3859 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * text2.C (redoParagraphs): adjust
3862 (updateCounters): adjust
3863 (checkParagraph): adjust
3864 (getColumnNearX): adjust and reformat a bit.
3866 * text.C (top_y): adjust
3868 (leftMargin): adjust
3869 (prepareToPrint): adjust
3871 (getRowNearY): adjust
3873 * lyxtext.h: make rowlist_ mutable.
3875 * RowList.h: add const_iterator
3876 * RowList.C: adjust for RowList::const_iterator.
3878 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3881 2003-03-31 John Levon <levon@movementarian.org>
3884 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3886 * lyx_main.C: set default fonts from using lyx_gui funcs
3888 * exporter.C: pdf_mode moved from lyxrc
3891 * lyxfunc.C: changes from above
3893 2003-03-31 John Levon <levon@movementarian.org>
3895 * lyx_main.C: fix to the last fix
3897 2003-03-31 John Levon <levon@movementarian.org>
3899 * bufferlist.C: "Load original" -> "Load Original"
3905 * format.C: more Alert cleanups
3907 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * text2.C (removeParagraph): make it take a RowList::iterator as
3911 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3912 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3914 * text.C (anchor_row): make it take a RowList::iterator as arg,
3916 (computeBidiTables): make it take a const reference to Row instead
3917 of Row pointer, adjust.
3918 (leftMargin): make it take a RowList::iterator as arg, adjust.
3919 (rowBreakPoint): adjust
3920 (breakAgainOneRow): make it take a RowList::iterator as arg,
3922 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3924 * bufferview_funcs.C (toggleAndShow): adjust
3926 2003-03-30 John Levon <levon@movementarian.org>
3930 * boost-inst.C: moved to support
3932 * several files: changes as a result
3934 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * text2.C (LyXText): adjust.
3938 (removeRow): make it take a RowList::iterator as arg, adjust.
3939 (fullRebreak): adjust
3940 (deleteEmptyParagraphMechanism): adjust
3941 (clearPaint): adjust
3944 * text.C (top_y): adjust
3945 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3946 (breakAgain): make it take a RowList::iterator as arg, adjust.
3947 (breakParagraph): adjust
3948 (insertChar): adjust
3951 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3952 need_break_row, and refresh_row.
3954 * text3.C (dispatch): adjust
3956 * text2.C (checkParagraph): adjust
3958 (setCursorFromCoordinates): adjust
3960 * text.C (top_y): adjust
3962 (getRow): make it return a RowList::iterator, adjust
3963 (getRowNearY): make it return a RowList::iterator, adjust
3965 * text2.C (init): adjust
3966 (insertRow): remove function
3967 (insertParagraph): adjust
3968 (redoParagraphs): adjust
3969 (fullRebreak): adjust
3970 (updateCounters): adjust
3972 * text.C (top_y): rewrite to use RowList iterators.
3974 (setHeightOfRow): rewrite to sue RowList iterators.
3975 (appendParagraph): adjust
3976 (breakAgain): adjust
3977 (breakAgainOneRow): adjust
3978 (breakParagraph): adjust
3980 (getRowNearY): adjust, and remove commented code.
3982 * lyxtext.h (firstRow): delete function
3983 (lastRow): delete function
3984 (rows): new function (const and non-const versions.)
3985 (insertRow): delete function
3987 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3989 2003-03-29 John Levon <levon@movementarian.org>
3991 * BufferView_pimpl.C: always update scrollbar top
3992 because pasting text when we're anchored could mean we
3993 miss an update altogether
3995 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * text2.C (init): use rowlist_.end() and not 0.
3998 (insertRow): change to take a RowList::iterator as arg, adjust
4000 (insertParagraph): change to take a RowList::iterator as arg,
4002 (redoParagraphs): remove some debug msgs.
4004 * text.C (appendParagraph): change to take a RowList::iterator
4005 arg, adjust for this.
4006 (breakAgain): add an assert
4007 (breakAgainOneRow): ditto
4009 2003-03-29 John Levon <levon@movementarian.org>
4011 * text2.C: do not clear selection after inc/decDepth
4014 2003-03-29 John Levon <levon@movementarian.org>
4017 * buffer.C: fix broken strerrors according to Lars
4019 2003-03-29 John Levon <levon@movementarian.org>
4021 * converters.C: more Alert cleanups
4023 2003-03-29 John Levon <levon@movementarian.org>
4025 * bufferview_funcs.C: remove pointless Alert
4027 * buffer.C: fix confusing error message when
4028 a template is chmoded 000
4030 2003-03-29 John Levon <levon@movementarian.org>
4034 * BufferView_pimpl.C: Alert fixes
4038 * tabular-old.C: remove unused table compat reading
4040 2003-03-29 John Levon <levon@movementarian.org>
4045 * lyx_cb.C: more Alert cleanups
4047 * lyxfunc.C: don't allow chktex if not latex document
4049 2003-03-29 John Levon <levon@movementarian.org>
4053 * buffer.C: warnings pushed down from support/,
4056 2003-03-29 John Levon <levon@movementarian.org>
4058 * lyxfunc.C: safety check for C-r (revert)
4060 2003-03-29 John Levon <levon@movementarian.org>
4063 * bufferlist.C: several UI fixes using Alert::prompt.
4064 Fix the pointless looping quit code. Fix stupid revert
4069 * lyx_cb.C: use Alert::prompt
4071 * lyx_main.C: remove a silly question
4073 * lyxfunc.C: remove a couple of silly questions,
4076 2003-03-28 John Levon <levon@movementarian.org>
4078 * text2.C: fix bug 974 (End on empty par)
4080 2003-03-28 John Levon <levon@movementarian.org>
4082 * BufferView_pimpl.C:
4084 * lfuns.h: remove do-nothing math greek lfuns
4086 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4088 * lyxgluelength.h (isValidGlueLength): add default arg on
4089 parameter 2. Remove default arg from friend in class.
4091 * lyxlength.h (isValidLength): add default arg on parameter 2.
4092 Remove default arg from friend in class.
4094 * text2.C (LyXText): adjust, initialize refresh_row.
4098 (insertParagraph): adjst
4099 (redoParagraphs): adjust
4100 (fullRebreak): adjust
4101 (updateCounters): adjust
4102 (deleteEmptyParagraphMechanism): first attempt at fixing a
4105 * text.C (top_y): adjust
4106 (setHeightOfRow): adjust
4108 (getRowNearY): adjust
4110 * lyxtext.h: include RowList.h
4111 (~LyXText): not needed anymore, deleted.
4112 (firstRow): modify for RowList
4113 (lastRow): new function
4114 Delete firstrow and lastrow class variables, add a Rowlist
4115 rowlist_ class variable.
4117 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4120 * RowList.C (insert): fix case where it == begin().
4122 2003-03-26 Angus Leeming <leeming@lyx.org>
4124 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4125 the thesaurus dialog.
4127 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4131 * RowList.[Ch]: new files
4133 * ParagraphList.C (erase): handle the case where it == begin
4136 2003-03-25 John Levon <levon@movementarian.org>
4140 * aspell.C: add new aspell support
4143 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4146 2003-03-25 Angus Leeming <leeming@lyx.org>
4149 * LyXAction.C (init): new LFUN_INSET_INSERT.
4151 * BufferView_pimpl.C (dispatch): split out part of the
4152 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4154 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4157 2003-03-25 Angus Leeming <leeming@lyx.org>
4159 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4161 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4164 * text3.C: remove useless row->height(0)
4166 2003-03-25 John Levon <levon@movementarian.org>
4170 * text3.C: rename the refreshing stuff to better names
4172 2003-03-24 John Levon <levon@movementarian.org>
4174 * BufferView_pimpl.h:
4175 * BufferView_pimpl.C: update layout choice on a mouse
4178 2003-03-23 John Levon <levon@movementarian.org>
4180 * Makefile.am: fix commandtags.h reference
4182 2003-03-22 John Levon <levon@movementarian.org>
4184 * BufferView_pimpl.C:
4189 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4191 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4194 * text.C: take the rtl methods out of line
4196 2003-03-21 André Pönitz <poenitz@gmx.net>
4198 * metricsinfo.[Ch]: new files containing structures to be passed around
4199 during the two-phase-drawing...
4201 2003-03-21 André Pönitz <poenitz@gmx.net>
4203 * lyxtextclass.C: read 'environment' tag.
4205 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4207 * text2.C (removeRow): fix bug 964
4209 2003-03-20 John Levon <levon@movementarian.org>
4213 * text2.C: paint cleanups. Inset::update() dropped font
4216 2003-03-19 John Levon <levon@movementarian.org>
4218 * lyxfunc.C: only fitcursor/markDirty if available()
4220 2003-03-19 John Levon <levon@movementarian.org>
4222 * commandtags.h: rename to ...
4224 * lfuns.h: ... this, and renumber / cleanup
4226 2003-03-19 John Levon <levon@movementarian.org>
4228 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4229 fit the cursor after an lfun
4233 * BufferView_pimpl.h:
4234 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4236 * LyXAction.C: layout-character should have ReadOnly
4238 * ParagraphParameters.C:
4240 * bufferview_funcs.C:
4247 * undo_funcs.C: changes from above
4249 2003-03-18 John Levon <levon@movementarian.org>
4251 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4252 remove it from update()
4254 * lyxfunc.C: update layout choice after an lfun
4256 * text3.C: remove extra updateLayoutChoice()s
4258 2003-03-18 John Levon <levon@movementarian.org>
4260 * text.C: top_y change means full repaint, fix
4261 a drawing bug with cursor movement
4263 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4267 * text2.C: anchor row on setCursor
4269 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4271 * lyxtext.h: remove almost all mutable keywords
4274 * text3.C: remove const keywords accordingly
4276 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4280 (TeXEnvironment): ditto
4283 2003-03-17 John Levon <levon@movementarian.org>
4285 * text.C (rowBreakPoint): remove attempt to fix displayed
4286 math insets inside a manual label
4288 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * lyxtext.h: remove BufferView* as first arg from almost all class
4292 * other files: adjust.
4294 2003-03-17 John Levon <levon@movementarian.org>
4298 * text2.C: more paint cleanups
4300 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4303 * rowpainter.C: remove "smart" background painting code
4305 2003-03-16 John Levon <levon@movementarian.org>
4310 * text3.C: add helper functions for setting refresh_row/y
4312 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4314 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4315 newline inset which *can* get inserted in the pass_thru layouts.
4316 This is primarily for literate documents.
4318 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4320 * buffer.C: increment LYX_FORMAT to 223
4322 2003-03-14 André Pönitz <poenitz@gmx.net>
4324 * textclass.h: prepare for environment handling, ws changes
4325 * lyxlayout.C: read latexheader and latexfooter tags
4327 2003-03-14 John Levon <levon@movementarian.org>
4329 * text2.C: rewrite ::status() a bit
4331 2003-03-13 John Levon <levon@movementarian.org>
4333 * lyxtext.h: add some docs
4335 2003-03-13 John Levon <levon@movementarian.org>
4340 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4342 2003-03-13 John Levon <levon@movementarian.org>
4344 * text3.C: fix appendix redrawing
4346 2003-03-13 John Levon <levon@movementarian.org>
4348 * text.C (setHeightOfRow):
4350 * rowpainter.C: make appendix mark have the text
4351 "Appendix" so the user knows what it is
4354 * LColor.C: s/appendixline/appendix/ from above
4356 2003-03-13 John Levon <levon@movementarian.org>
4358 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4360 * text.C: fix a getChar(pos) bug properly
4362 2003-03-13 Angus Leeming <leeming@lyx.org>
4365 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4366 Probably only temporary. Let's see how things pan out.
4368 * BufferView.C (unlockInset):
4369 * BufferView_pimpl.C (fitCursor):
4370 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4372 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4373 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4375 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4376 new functions that convert ParagraphParameters to and from a string.
4378 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4379 BufferView::Pimpl's dispatch.
4380 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4382 2003-03-13 André Pönitz <poenitz@gmx.net>
4386 * factory.C: make it aware of InsetEnv
4388 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * text2.C (setCursor): never ask for one past last
4391 (setCursor): add some debugging messages.
4393 * text.C (singleWidth): never ask for one past last
4394 (singleWidth): ditto
4396 (rightMargin): ditto
4397 (rowBreakPoint): ditto
4398 (setHeightOfRow): ditto
4399 (prepareToPrint): ditto
4401 * rowpainter.C (paintBackground): never ask for one past last
4402 (paintText): never ask for one past last
4404 * paragraph_pimpl.C (getChar): make the assert stricter, never
4405 allow the one past last pos to be taken
4407 * paragraph.C (getChar): ws changes only
4409 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4410 (numberOfSeparators): ditto
4411 (numberOfHfills): ditto
4413 2003-03-12 John Levon <levon@movementarian.org>
4419 * paragraph_funcs.C: fix per-buffer authorlists
4421 2003-03-12 John Levon <levon@movementarian.org>
4423 * text.C: fix newline in right address
4425 2003-03-12 Angus Leeming <leeming@lyx.org>
4427 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4428 duplicate those in LyXFunc::dispatch.
4432 * ToolbarDefaults.C:
4433 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4434 Add LFUN_FONTFREE_UPDATE.
4436 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4437 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4439 * bufferview_func.[Ch]: several new functions to facilliate
4440 transfer of data to and from the character dialog.
4442 2003-03-12 John Levon <levon@movementarian.org>
4447 * paragraph_funcs.C:
4448 * paragraph_pimpl.C:
4452 * text3.C: remove META_NEWLINE in favour of an inset
4455 * rowpainter.C: remove paintNewline (done by inset)
4457 2003-03-12 John Levon <levon@movementarian.org>
4459 * paragraph_pimpl.C: complain about bad getChar()s
4460 for a while at least
4462 2003-03-12 John Levon <levon@movementarian.org>
4465 * buffer.C: move paragraph read into a separate function,
4466 a little renaming to reflect that.
4469 * bufferparams.C: remove the author_ids map, not necessary now
4472 * factory.C: moved Buffer::readInset to here
4474 * paragraph_funcs.h:
4475 * paragraph_funcs.C: readParagraph free function moved from
4478 * tabular.C: name change
4480 2003-03-12 John Levon <levon@movementarian.org>
4483 * ParagraphParameters.C: move par params input to
4486 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4487 behave like a normal read from the stream wrt reading
4488 a line vs. a \\token
4490 2003-03-12 John Levon <levon@movementarian.org>
4493 * ParagraphParameters.h:
4494 * ParagraphParameters.C: move output code to a
4497 2003-03-12 John Levon <levon@movementarian.org>
4499 * BufferView.C (insertLyXFile):
4502 * tabular.C: use a parlist iterator for creating the
4505 2003-03-12 John Levon <levon@movementarian.org>
4507 * buffer.C: make current_change static local not
4510 2003-03-12 John Levon <levon@movementarian.org>
4512 * buffer.C: fix insertStringAsLines for change tracking
4514 2003-03-12 John Levon <levon@movementarian.org>
4521 * bufferparams.C: move author list into params. Rename some
4522 functions. Move the header reading into a separate token
4523 loop. Move the header token reading into BufferParams.
4525 2003-03-12 John Levon <levon@movementarian.org>
4527 * changes.C: put debug inside lyxerr.debugging() checks
4529 2003-03-11 André Pönitz <poenitz@gmx.net>
4531 * factory.C: make it aware of InsetHFill
4533 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4535 * buffer.C (latexParagraphs): move function from here...
4536 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4539 2003-03-10 Angus Leeming <leeming@lyx.org>
4541 * LyXAction.C (init): fix bug in poplating array with multiple entries
4542 with the same LFUN (spotted by JMarc).
4544 2003-03-10 John Levon <levon@movementarian.org>
4547 * text2.C: move getColumnNearX() near its
4550 2003-03-10 John Levon <levon@movementarian.org>
4552 * text.C: fix break before a minipage
4554 2003-03-10 John Levon <levon@movementarian.org>
4556 * text.C: fix the last commit
4558 2003-03-09 John Levon <levon@movementarian.org>
4562 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4563 bug 365 (don't break before insets unless needed). Don't
4564 return a value > last under any circumstances.
4566 2003-03-09 Angus Leeming <leeming@lyx.org>
4568 * BufferView_pimpl.C (trackChanges, dispatch): call
4569 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4571 2003-03-09 Angus Leeming <leeming@lyx.org>
4573 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4574 than Dialogs::showAboutlyx().
4576 2003-03-09 Angus Leeming <leeming@lyx.org>
4578 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4579 than Dialogs::showTabularCreate().
4581 2003-03-09 John Levon <levon@movementarian.org>
4585 * text2.C: 3rd arg to nextBreakPoint was always the same.
4588 2003-03-08 John Levon <levon@movementarian.org>
4595 * text2.C: Remove the "main" bit from the "main body"
4598 2003-03-08 John Levon <levon@movementarian.org>
4600 * text.C (leftMargin): The left margin of an empty
4601 manual label paragraph should not include the label width
4604 * text.C (prepareToPrint): don't attempt to measure hfills
4605 for empty manual label paragraphs - the answer should be 0
4607 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * CutAndPaste.C: remove commented code and reindent.
4611 2003-03-08 John Levon <levon@movementarian.org>
4614 * lyxfunc.C: move reloadBuffer()
4617 * BufferView.C: to here
4619 * lyxvc.C: add comment
4622 * vc-backend.C: call bv->reload() to avoid
4623 getStatus() check on MENURELOAD
4625 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4627 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4628 to an old format .dep file.
4630 2003-03-07 Angus Leeming <leeming@lyx.org>
4632 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4633 when the LFUN_MOUSE_RELEASE should have been handled by
4634 inset->localDispatch.
4636 2003-03-07 Angus Leeming <leeming@lyx.org>
4638 * BufferView_pimpl.C (dispatch):
4639 * LyXAction.C (init):
4640 * ToolbarDefaults.C (init):
4642 * lyxfunc.C (getStatus):
4643 remove LFUN_INSET_GRAPHICS.
4645 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4647 2003-03-07 Angus Leeming <leeming@lyx.org>
4650 * LyXAction.C (init):
4651 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4653 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4656 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4658 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4659 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4661 2003-03-07 Angus Leeming <leeming@lyx.org>
4663 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4666 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * ParagraphList.C (front): new function
4671 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4673 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4674 and top_row_offset_. removed var first_y.
4676 * text2.C (LyXText, removeRow):
4678 * BufferView_pimpl.C:
4679 use these methods instead of using first_y
4681 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * text2.C (pasteSelection): adjust for checkPastePossible
4685 * CutAndPaste.C: remove Paragraph * buf and replace with
4686 ParagraphList paragraphs.
4687 (DeleteBuffer): delete
4688 (cutSelection): change the tc type to textclass_type
4689 (copySelection): change the tc type to textclass_type
4690 (copySelection): adjust for ParagraphList
4691 (pasteSelection): change the tc type to textclass_type
4692 (pasteSelection): adjust for Paragraphlist
4693 (nrOfParagraphs): simplify for ParagraphList
4694 (checkPastePossible): simplify for ParagraphList
4695 (checkPastePossible): remove unused arg
4697 * ParagraphList.C (insert): handle the case where there are no
4700 * CutAndPaste.h: make CutAndPaste a namespace.
4702 * text3.C (dispatch): adjust
4704 * text.C (breakParagraph): add a ParagraphList as arg
4706 * paragraph_funcs.C (breakParagraph): change to take a
4707 BufferParams and a ParagraphList as args.
4708 (breakParagraphConservative): ditto
4709 (mergeParagraph): ditto
4710 (TeXDeeper): add a ParagraphList arg
4711 (TeXEnvironment): ditto
4714 * buffer.C (readLyXformat2): adjust
4715 (insertStringAsLines): adjust
4716 (latexParagraphs): adjust
4718 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4719 (cutSelection): adjust
4720 (pasteSelection): adjust
4722 * BufferView_pimpl.C (insertInset): adjust
4724 2003-03-05 Angus Leeming <leeming@lyx.org>
4727 * LyXAction.C (init):
4728 * BufferView_pimpl.C (dispatch):
4729 * lyxfunc.C (getStatus):
4730 remove LFUN_CHILD_INSERT.
4732 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4734 2003-03-05 Angus Leeming <leeming@lyx.org>
4737 * LyXAction.C (init):
4738 * src/factory.C (createInset):
4739 * lyxfunc.C (getStatus):
4740 * text3.C (dispatch):
4741 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4743 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4745 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * ParagraphList.C (insert): handle insert right before end()
4748 (erase): fix cases where it can be first or last paragraph.
4750 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4753 Paragraph::next and Paragraph::previous
4756 * text.C (breakParagraph): adjust
4758 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4759 BufferParams& as arg.
4760 (breakParagraph): use ParagraphList::insert
4761 (breakParagraphConservative): take a Buffer* instead of a
4762 BufferParams& as arg.
4763 (breakParagraphConservative): use ParagraphList::insert.
4765 * buffer.C (insertStringAsLines): un-const it
4766 (insertStringAsLines): adjust
4768 * ParagraphList.C (insert): new function
4770 * CutAndPaste.C (pasteSelection): adjust
4772 * text.C (backspace): adjust
4774 * tabular.C (SetMultiColumn): adjust
4776 * CutAndPaste.C (cutSelection): adjust
4777 (pasteSelection): adjust
4779 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4780 Buffer const * as arg
4782 * ParagraphList.C (erase): new function
4783 * paragraph_funcs.C (mergeParagraph): use it
4784 (mergeParagraph): make it take a Buffer* instead of a
4785 BufferParams* as arg
4787 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4789 (breakParagraphConservative): ditto
4791 * paragraph.h: remove the breakParagraph friend
4793 * paragraph.C (eraseIntern): new function
4794 (setChange): new function
4796 * paragraph_funcs.C (mergeParagraph): make it take a
4797 ParagraphList::iterator instead of a Paragraph *, adjust
4800 * paragraph.h: move an #endif so that the change tracking stuff
4801 also works in the NO_NEXT case.
4803 2003-03-04 Angus Leeming <leeming@lyx.org>
4806 * LyXAction.C: new LFUN_INSET_MODIFY.
4808 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4809 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4811 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * several files: ws changes only
4815 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4816 (TeXEnvironment): ditto
4819 * buffer.C (makeLaTeXFile): adjust
4820 (latexParagraphs): make it take ParagraphList::iterator as args
4822 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * buffer.C (latexParagraphs): adjust
4826 * paragraph.C (TeXOnePar): move function...
4827 (optArgInset): move function...
4828 (TeXEnvironment): move function...
4829 * paragraph_pimpl.C (TeXDeeper): move function...
4830 * paragraph_funcs.C: ...here
4832 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4834 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * buffer.C (readInset): remove compability code for old Figure and
4839 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * buffer.C: ws changes
4844 * BufferView_pimpl.C: ditto
4847 * bufferlist.h: ditto
4851 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4853 * converter.[Ch]: split into itself +
4856 * Makefile.am: += graph.[Ch] + format.[Ch]
4863 * lyxrc.C: added #include "format.h"
4865 2003-02-27 Angus Leeming <leeming@lyx.org>
4867 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4870 * factory.C (createInset): add "label" to the factory.
4872 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4873 string and do no more.
4875 2003-02-27 Angus Leeming <leeming@lyx.org>
4878 * LyXAction.C (init):
4879 * factory.C (createInset):
4880 * BufferView_pimpl.C (dispatch):
4881 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4883 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4885 * lyxfunc.C (dispatch):
4886 * text3.C (dispatch): pass name to params2string.
4888 2003-02-26 Angus Leeming <leeming@lyx.org>
4890 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4892 Rearrange the ~includes. Strip out the unnecessary ones.
4894 * factory.C (createInset): reformat.
4895 create new insets for the various LFUN_XYZ_APPLY lfuns.
4897 2003-02-26 John Levon <levon@movementarian.org>
4900 * lyxrow.C: add isParStart,isParEnd helpers
4902 * paragraph.h: make isInserted/DeletedText take refs
4904 * paragraph_funcs.h:
4905 * paragraph_funcs.C: remove #if 0'd code
4910 * text.C: use lyxrow helpers above.
4911 Move draw and paint routines to RowPainter.
4912 Make several methods use refs not pointers.
4913 Make backgroundColor() const.
4914 Add markChangeInDraw(), isInInset().
4915 Merge changeRegionCase into changeCase.
4916 Make workWidth() shouldn't-happen code into an Assert.
4919 * rowpainter.C: new class for painting a row.
4922 * vspace.C: make inPixels take a ref
4924 2003-02-26 Angus Leeming <leeming@lyx.org>
4926 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4929 2003-02-25 John Levon <levon@movementarian.org>
4931 * ispell.C: give the forked command a more accurate name
4933 2003-02-22 John Levon <levon@movementarian.org>
4936 * toc.C: make TocItem store an id not a Paragraph *
4939 2003-02-21 Angus Leeming <leeming@lyx.org>
4941 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4942 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4943 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4944 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4945 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4946 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4948 * BufferView_pimpl.C (dispatch):
4949 * LyXAction.C (init):
4950 * factory.C (createInset):
4951 * lyxfunc.C (getStatus, dispatch):
4952 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4954 2003-02-21 Angus Leeming <leeming@lyx.org>
4956 * BufferView_pimpl.C (MenuInsertLyXFile):
4957 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4958 * lyxfunc.C (menuNew, open, doImport):
4959 no longer pass a LyXView & to fileDlg.
4961 2003-02-21 Angus Leeming <leeming@lyx.org>
4963 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4964 * LyXAction.C: change, BIBKEY to BIBITEM.
4965 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4966 Change InsetBibKey to InsetBibitem.
4967 Change BIBKEY_CODE to BIBITEM_CODE.
4968 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4969 * factory.C: replace insetbib.h with insetbibitem.h.
4970 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4971 * paragraph.C: replace insetbib.h with insetbibitem.h.
4972 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4973 Change bibkey() to bibitem().
4974 * text.C: remove insetbib.h.
4975 * text2.C: replace insetbib.h with insetbibitem.h.
4976 change bibkey() to bibitem().
4977 * text3.C: remove insetbib.h.
4978 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4980 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4982 * lyxrc.C (output): enclose user email in quotes (in case there are
4985 2003-02-18 John Levon <levon@movementarian.org>
4987 * buffer.h: add std::
4989 2003-02-17 John Levon <levon@movementarian.org>
4995 * pspell.C: reworking. Especially in ispell, a large
4996 number of clean ups and bug fixes.
4998 * lyxfunc.C: fix revert to behave sensibly
5000 2003-02-17 André Pönitz <poenitz@gmx.net>
5003 * commandtags.h: new LFUN_INSERT_BIBKEY
5013 * paragraph_func.C: remove special bibkey handling
5015 2003-02-17 John Levon <levon@movementarian.org>
5017 * text.C (Delete): fix case where delete at the end of
5018 the very first paragraph would not merge the pars
5020 2003-02-17 John Levon <levon@movementarian.org>
5022 * lyxrow.C: fix lastPrintablePos()
5024 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5026 * bufferparams.C (writeLaTeX): add a std:here
5028 * buffer.C: and remove a using directive there
5030 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5032 * buffer.C (makeLaTeXFile): move the code that generates the
5035 * bufferparams.C (writeLaTeX): ... in this new method
5037 * LaTeXFeatures.C (getEncodingSet): make const
5038 (getLanguages): make const
5040 * MenuBackend.C (binding): returns the binding associated to this
5042 (add): sets the status of each item by calling getStatus. Adds
5044 (read): add support for OptSubMenu
5045 (expand): remove extra separator at the end of expanded menu
5047 2003-02-15 John Levon <levon@movementarian.org>
5050 * BufferView_pimpl.C:
5052 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5053 inset code that had no actual effect. Remove unneeded status
5056 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5058 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5061 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5063 * text.C (drawLengthMarker): also draw an arrow marker for
5064 symbolic lengths (medskip...)
5066 2003-02-14 John Levon <levon@movementarian.org>
5069 * tabular.C: better method names
5071 2003-02-14 John Levon <levon@movementarian.org>
5073 * BufferView_pimpl.C:
5078 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5079 it's a more accurate name. Remove some pointless uses.
5081 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5083 * text2.C (LyXText): change order of initilizers to shut off
5086 2003-02-14 John Levon <levon@movementarian.org>
5088 * buffer.C: use ParIterator for getParFromID()
5092 * paragraph_pimpl.h:
5093 * paragraph_pimpl.C: remove unused getParFromID()
5095 2003-02-14 John Levon <levon@movementarian.org>
5097 * buffer.C: remove some very old #if 0'd parse code
5099 2003-02-13 John Levon <levon@movementarian.org>
5103 * text2.C: move hfillExpansion(), numberOfSeparators(),
5104 rowLast(), rowLastPrintable(), numberofHfills(),
5105 numberOfLabelHfills() ...
5108 * lyxrow.C: ... to member functions here.
5113 * text.C: remove LyXText::beginningOfMainBody(), and call
5114 p->beginningOfMainBody() directly. Move the check for
5115 LABEL_MANUAL into the latter.
5122 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5128 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5129 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5131 2003-02-13 John Levon <levon@movementarian.org>
5133 * CutAndPaste.C: remove debug
5135 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5137 * paragraph.C (asString): remove two unused variables
5139 * lyxtextclass.C (readTitleType):
5141 (LyXTextClass): handle new members titletype_ and titlename_
5143 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5145 2003-02-09 John Levon <levon@movementarian.org>
5148 * buffer.C: replace hand-coded list with a map for the dep clean
5150 2003-02-08 John Levon <levon@movementarian.org>
5152 * LaTeX.C: consolidate code into showRunMessage() helper
5154 2003-02-08 John Levon <levon@movementarian.org>
5159 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5160 and pass the size in explicitly
5162 * BufferView_pimpl.h:
5163 * BufferView_pimpl.C:
5165 * BufferView.C: add getCurrentChange()
5167 * BufferView_pimpl.h:
5168 * BufferView_pimpl.C: handle change lfuns
5170 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5171 for changes. Mark pasted paragraphs as new.
5173 * support/lyxtime.h:
5174 * support/lyxtime.C:
5175 * DepTable.C: abstract time_t as lyx::time_type
5178 * LColor.C: add colours for new text, deleted text, changebars
5180 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5181 package use "usenames" option.
5185 * LyXAction.C: add change lfuns
5189 * author.C: author handling
5192 * buffer.C: add a per-buffer author list, with first entry as
5193 current author. Handle new .lyx tokens for change tracking. Output
5194 author list to .lyx file. Output dvipost stuff to .tex preamble.
5195 Bump lyx format to 222.
5198 * bufferlist.C: add setCurrentAuthor() to reset current author details
5202 * bufferparams.C: add param for tracking
5204 * bufferview_funcs.C: output change info in minibuffer
5208 * changes.C: add change-tracking structure
5211 * debug.C: add CHANGES debug flag
5214 * lyxfind.C: add code for finding the next change piece
5217 * lyxrc.C: add user_name and user_email
5220 * lyxrow.C: add a metric for the top of the text line
5223 * text.C: implement accept/rejectChange()
5226 * text.C: paint changebars. Paint new/deleted text in the chosen
5227 colours. Strike through deleted text.
5231 * paragraph_pimpl.h:
5232 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5233 in the current change to the insert functions. Rework erase to
5234 mark text as deleted, adding an eraseIntern() and a range-based
5235 erase(). Implement per-paragraph change lookup and
5238 * paragraph_funcs.C: Fixup paste for change tracking.
5240 * tabular.C: mark added row/columns as new.
5242 * text.C: fix rowLast() to never return -1. Don't allow
5243 spellchecking of deleted text. Track transpose changes. Don't
5244 allow paragraph break or merge where appropriate.
5246 * text2.C: leave cursor at end of selection after a cut.
5248 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5250 * text.C (getLengthMarkerHeight):
5251 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5252 visible on screen too.
5254 2003-02-07 John Levon <levon@movementarian.org>
5256 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5258 2003-02-05 Angus Leeming <leeming@lyx.org>
5260 * lyxserver.C (read_ready): revert my patch of 11 September last year
5261 as it sends PC cpu through the roof. Presumably this means that
5262 the lyxserver will no longer run on an Alpha...
5264 2003-01-30 Angus Leeming <leeming@lyx.org>
5266 * factory.C (createInset): create an InsetCommandParam of type "index"
5267 and use it to 'do the right thing'.
5269 * text2.C (getStringToIndex): ensure that cursor position is always
5270 reset to the reset_cursor position.
5272 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5274 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5277 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5281 * lyxfunc.C: Output messages with identical spelling, punctuation,
5284 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5286 * MenuBackend.C (expandFormats): List only viewable export formats
5289 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5292 * lyxfunc.C (getStatus): Make sure that formats other than
5293 "fax" can also be disabled
5295 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5297 * text3.C (dispatch): put the lfuns that insert insets in 3
5298 groups, and call doInsertInset with appropriate arguments.
5299 (doInsertInset): new function, that creates an inset and inserts
5300 it according to some boolean parameters.
5302 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * buffer.C (readFile): remember to pass on 'par' when calling
5305 readFile recursively.
5307 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5309 * MenuBackend.C (expandFormats): add "..." to import formats.
5311 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5313 * paragraph.C (asString): Remove XForms RTL hacks.
5315 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5316 * buffer.C: fix typo
5318 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * Makefile.am (LIBS): delete var
5321 (lyx_LDADD): add @LIBS@ here instead.
5323 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5325 * Clarify the meaning of "wheel mouse jump"
5327 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5329 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5332 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5334 * importer.C (Loaders): do not preallocate 3 elements in the
5335 vector, since one ends up with 6 elements otherwise
5337 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5339 * DepTable.C (write): write the file name as last element of the
5340 .dep file (because it may contain spaces)
5341 (read): read info in the right order
5343 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5345 * paragraph_pimpl.C (simpleTeXBlanks):
5346 (simpleTeXSpecialChars):
5347 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5349 * tabular.C (latex): add some missing case statements. Reindent.
5351 * MenuBackend.C (expandToc): remove unused variable.
5353 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5362 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5365 2003-01-05 John Levon <levon@movementarian.org>
5368 * BufferView.C: add getEncoding()
5371 * kbsequence.C: do not store last keypress
5374 * lyxfunc.C: store last keypress here instead. Pass encoding
5377 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5379 * lyx_main.C (init): remove annoying error message when following
5380 symbolic links (bug #780)
5382 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5384 * text.C (insertChar):
5385 * lyxrc.C (getDescription): remove extra spaces
5387 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5389 * lyxrc.C (getDescription): remove extra spaces
5391 2002-12-20 John Levon <levon@movementarian.org>
5393 * text3.C: hack fix for page up/down across tall rows
5395 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5397 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5400 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5402 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5403 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5404 thesaurus is not compiled in
5406 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5408 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5410 2002-12-16 Angus Leeming <leeming@lyx.org>
5413 * lyx_main.C (init): remove override_x_deadkeys stuff.
5415 2002-12-12 John Levon <levon@movementarian.org>
5417 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5418 insert. Only remove shift modifier under strict
5421 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * MenuBackend.C (expandToc): fix crash.
5425 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * MenuBackend.C (expandToc): gettext on float names.
5429 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5431 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5432 implement bool empty() [bug 490]
5434 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5438 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * several files: ws changes
5442 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * text2.C (setCounter): clean up a bit, use boost.format.
5445 (updateCounters): initialize par upon declaration.
5447 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5448 if the layout exists. We do not just store the layout any more.
5449 (SwitchLayoutsBetweenClasses): use boost.format
5451 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5453 * converter.C (convert): if from and to files are the same, use a
5454 temporary files as intermediary
5456 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5459 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5461 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5463 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5465 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * tabular.C (asciiPrintCell): use string(size, char) instead of
5470 * sgml.C (openTag): fix order of arguments to string constructor
5473 * lyxfunc.C (dispatch): use boost.format
5475 * lots of files: change "c" -> 'c'
5477 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5479 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5481 2002-11-25 Angus Leeming <leeming@lyx.org>
5483 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5485 * lyx_main.C (init): compile fix.
5487 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * lyx_cb.C (start): boost.formatify
5490 do not include <iostream>
5492 * lengthcommon.C: ws only
5494 * boost-inst.C,BoostFormat.h: add more explict instantations
5496 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * lots of files: handle USE_BOOST_FORMAT
5500 2002-11-21 John Levon <levon@movementarian.org>
5502 * pspell.C: fix compile
5504 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5506 * lyxfunc.C (dispatch): use boost::format
5510 * lyxfont.C (stateText): use boost::format
5512 * lyx_main.C (LyX): use boost::format
5514 (queryUserLyXDir): ditto
5517 (typedef boost::function): use the recommened syntax.
5519 * importer.C (Import): use boost::format
5521 * debug.C (showLevel): use boost::format
5523 * converter.C (view): use boost::format
5528 * bufferview_funcs.C (currentState): use boost::format
5530 * bufferlist.C (emergencyWrite): use boost::format
5532 * buffer.C (readLyXformat2): use boost::format
5533 (parseSingleLyXformat2Token): ditto
5535 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5537 * LaTeX.C (run): use boost::format
5539 * Chktex.C (scanLogFile): use boost::format
5541 * BufferView_pimpl.C (savePosition): use boost::format
5542 (restorePosition): ditto
5543 (MenuInsertLyXFile): ditto
5545 * BoostFormat.h: help file for explicit instation.
5547 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5549 * tabular.C (latex): Support for block alignment in fixed width
5552 2002-11-17 John Levon <levon@movementarian.org>
5554 * BufferView_pimpl.C:
5556 * lyxfunc.C: split filedialog into open/save
5558 2002-11-08 Juergen Vigna <jug@sad.it>
5560 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5561 by my last patch (hopefully).
5563 2002-11-08 John Levon <levon@movementarian.org>
5572 * toc.C: ParConstIterator, and use it (from Lars)
5574 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5576 * lyxtextclass.[Ch]: revise and add doxygen comments
5578 2002-11-07 John Levon <levon@movementarian.org>
5580 * text.C: fix progress value for spellchecker
5582 * toc.C: fix navigate menu for insetwrap inside minipage
5584 * paragraph_funcs.C: added FIXME for suspect code
5586 2002-11-07 John Levon <levon@movementarian.org>
5588 * BufferView_pimpl.C: fix redrawing of insets
5591 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5593 * text2.C (updateCounters): fix bug 668
5595 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5597 * text3.C (dispatch): Do not make the buffer dirty when moving the
5600 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5602 * vc-backend.C: STRCONV
5605 * text2.C (setCounter): STRCONV
5607 * paragraph.C (asString): STRCONV
5609 * lyxlength.C (asString): STRCONV
5610 (asLatexString): ditto
5612 * lyxgluelength.C (asString): STRCONV
5613 (asLatexString): ditto
5615 * lyxfunc.C (dispatch): STRCONV
5618 * lyxfont.C (stateText): STRCONV
5620 * importer.C (Import): STRCONV
5622 * counters.C (labelItem): STRCONV
5623 (numberLabel): ditto
5624 (numberLabel): remove unused ostringstream o
5629 * bufferview_funcs.C (currentState): STRCONV
5631 * buffer.C (readFile): STRCONV
5632 (asciiParagraph): ditto
5633 (makeLaTeXFile): ditto
5635 * Spacing.C (writeEnvirBegin): STRCONV
5637 * LaTeXFeatures.C (getLanguages): STRCONV
5638 (getPackages): ditto
5640 (getBabelOptions): ditto
5641 (getTClassPreamble): ditto
5642 (getLyXSGMLEntities): ditto
5643 (getIncludedFiles): ditto
5647 (scanAuxFile): ditto
5650 * LString.h: add the STRCONV macros
5652 * BufferView_pimpl.C (savePosition): STRCONV
5653 (restorePosition): ditto
5654 (MenuInsertLyXFile): ditto
5656 * vc-backend.C (scanMaster): change from submatch[...] to
5659 * funcrequest.C: include config.h
5661 * factory.C: include config.h
5663 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5665 * box.C: include config.h
5667 * LaTeX.C (scanAuxFile): change from submatch[...] to
5671 2002-10-25 Angus Leeming <leeming@lyx.org>
5673 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5675 * ispell.[Ch] (setError): new method.
5676 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5677 Use setError() insetead of goto END.
5679 * lyx_cb.C (AutoSave): move out child process into new class
5682 2002-10-30 John Levon <levon@movementarian.org>
5684 * text3.C: make start appendix undoable
5686 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5688 * lyxlength.C (inPixels): Fix returned value.
5690 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5693 2002-10-24 Angus Leeming <leeming@lyx.org>
5695 * lyxgluelength.h: no need to forward declare BufferParams
5696 or BufferView, so don't.
5698 2002-10-21 John Levon <levon@movementarian.org>
5700 * BufferView.C: menuUndo ->undo, redo
5702 * BufferView.h: document, remove dead, make some methods private
5704 * paragraph_funcs.h:
5705 * paragraph_funcs.C:
5706 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5711 * sgml.C: move sgml open/close tag into sgml.C
5713 * bufferview_funcs.h: unused prototype
5716 * lyxfunc.C: remove unused
5719 * text.C: remove unused
5721 2002-10-21 John Levon <levon@movementarian.org>
5725 * BufferView_pimpl.h:
5726 * BufferView_pimpl.C: fix mouse wheel handling based on
5727 patch from Darren Freeman
5729 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5731 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5733 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5735 * lyxlength.C (inPixels): Fix hanfling of negative length.
5736 Fix LyXLength::MU case.
5738 2002-10-16 John Levon <levon@movementarian.org>
5740 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5742 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5744 * converter.C (view): add support for $$i (file name) and $$p
5745 (file path) for the viewer command. If $$i is not specified, then
5746 it is appended to the command (for compatibility with old syntax)
5748 2002-10-14 Juergen Vigna <jug@sad.it>
5750 * undo_funcs.C (textHandleUndo): alter the order in which the
5751 new undopar is added to the LyXText, as we have to set first
5752 the right prev/next and then add it as otherwise the rebuild of
5753 LyXText is not correct. Also reset the cursor to the right paragraph,
5754 with this IMO we could remove the hack in "redoParagraphs()".
5756 2002-10-09 Angus Leeming <leeming@lyx.org>
5758 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5759 to turn off an optimisation if a new inset is to be inserted.
5761 2002-10-11 André Pönitz <poenitz@gmx.net>
5763 * lyxtext.h: make some functions public to allow access
5764 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5766 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5768 * text3.C (dispatch): when changing layout, avoid an infinite loop
5771 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5773 * lyxrc.C (read): treat a viewer or converter command of "none" as
5776 * MenuBackend.C (expandFormats): for an update, also allow the
5777 formats that are not viewable
5779 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5780 script if it is newer than the lyxrc.defaults in user directory
5782 2002-10-07 André Pönitz <poenitz@gmx.net>
5784 * text.C: Vitaly Lipatov's small i18n fix
5786 2002-09-25 Angus Leeming <leeming@lyx.org>
5788 * ispell.h: doxygen fix.
5790 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5792 * buffer.h (readFile): Add a new argument to the method, to allow
5793 reading of old-format templates.
5795 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5797 * toc.C (getTocList): Get TOC from InsetWrap.
5799 2002-09-16 John Levon <levon@movementarian.org>
5801 * lyxfunc.C: check tabular for cut/copy too
5803 2002-09-12 John Levon <levon@movementarian.org>
5808 * factory.C: add header
5810 * paragraph_funcs.h:
5811 * paragraph_funcs.C: cleanup
5813 2002-09-11 John Levon <levon@movementarian.org>
5815 * PrinterParams.h: odd/even default to true
5817 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5819 * PrinterParams.h: update printer parameters for new xforms dialog
5821 2002-09-11 Angus Leeming <leeming@lyx.org>
5823 * lyxserver.C (read_ready): re-write to make it more transparent
5824 and to make it work in coherent fashion under Tru64 Unix.
5826 2002-09-11 André Pönitz <poenitz@gmx.net>
5830 * text3.C: implement LFUN_WORDSEL
5832 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5834 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5835 make floatlist_ a boost::shared_ptr<FloatList>
5837 * lyxtextclass.C: include FloatList.h
5838 (LyXTextClass): initialize floatlist_
5839 (TextClassTags): add TC_NOFLOAT
5840 (Read): match "nofloat" to TC_NOFLOAT and use it.
5841 (readFloat): modify call to floatlist_
5845 * FloatList.[Ch] (FloatList): remove commented out float
5847 (erase): new function
5849 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5851 * MenuBackend.C (expandToc): fix crash when there is no document
5854 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5856 * many files: Add insetwrap.
5858 2002-09-09 John Levon <levon@movementarian.org>
5860 * text2.C: remove confusing and awkward depth wraparound
5862 2002-09-09 John Levon <levon@movementarian.org>
5864 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5867 * buffer.C: remove getIncludeonlyList()
5870 * lyxfunc.C: remove headers
5872 2002-09-09 Juergen Vigna <jug@sad.it>
5874 * text.C (getColumnNearX): fix form Michael this is most
5875 probably a cut&paste bug.
5877 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5881 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5882 references, ws changes.
5884 * text2.C (init): update counters after init
5885 (insertParagraph): no need to set counter on idividual paragraphs.
5886 (setCounter): access the counters object in the textclass object
5887 on in the buffer object.
5888 (updateCounters): ditto
5890 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5891 shared_ptr<Counters> to avoid loading counters.h in all
5893 (LyXTextClass): initialize ctrs_
5894 (TextClassTags): add TC_COUNTER, and ...
5895 (Read): use it here.
5896 (CounterTags): new tags
5897 (readCounter): new function
5898 (counters): new funtion
5899 (defaultLayoutName): return a const reference
5901 * counters.C (Counters): remove contructor
5902 (newCounter): remove a couple of unneeded statements.
5903 (newCounter): simplify a bit.
5904 (numberLabel): some small formatting changes.
5906 * buffer.[Ch]: remove all traces of counters, move the Counters
5907 object to the LyXTextClass.
5909 2002-09-06 Alain Castera <castera@in2p3.fr>
5911 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5912 package to set the horizontal alignment on fixed width columns.
5915 * lyx_sty.h: added tabularnewline macro def.
5917 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5919 2002-09-06 John Levon <levon@movementarian.org>
5921 * LyXAction.C: tooltips for sub/superscript
5923 * MenuBackend.C: a bit more verbose
5925 * lyxfunc.C: tiny clean
5927 * undo_funcs.C: document undo_frozen
5929 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * counters.C (Counters): add missing algorithm counter.
5933 * text2.C (setCounter): lookup the counter with layouts latexname
5934 instead of by section number.
5935 (setCounter): use a hackish way to lookup the correct enum
5937 a float name->type change
5938 reset enum couners with counter name directly instead of depth value.
5940 * counters.C (Counters): remove the push_backs, change to use the
5941 float type not the float name.
5942 (labelItem): remove unused string, float name->type change
5944 * counters.h: don't include vector, loose the enums and sects vectors
5946 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5949 (Read): add float->TC_FLOAT to textclassTags
5950 (Read): and handle it in the switch
5951 (readFloat): new function
5953 * FloatList.C (FloatList): comment out the hardcoded float
5956 * lyxlayout.h: ws change.
5958 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5960 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5962 2002-09-03 Angus Leeming <leeming@lyx.org>
5964 * BufferView_pimpl.h: qualified name is not allowed in member
5965 declaration: WorkArea & Pimpl::workarea() const;
5967 * factory.C: added using std::endl directive.
5969 * text3.C: added using std::find and std::vector directives.
5971 2002-08-29 André Pönitz <poenitz@gmx.net>
5974 * text2.C: remove unused member number_of_rows
5977 * BufferView2.C: remove file, move contents to...
5978 * BufferView.C: ... here
5980 * BufferView_pimpl.C:
5981 * factory.C: move more inset creation to factory
5983 * vspace.C: avoid direct usage of LyXText, ws changes
5986 don't provide direct access to WorkArea, use two simple
5987 acessors haveSelction() and workHeight() instead
5990 2002-08-29 John Levon <levon@movementarian.org>
5992 * BufferView_pimpl.C (dispatch): do not continue when
5995 2002-08-28 André Pönitz <poenitz@gmx.net>
5997 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6000 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6002 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6004 * buffer.C: increment LYX_FORMAT to 221
6006 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6007 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6009 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6011 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6013 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6015 * factory.C (createInset): use LyXTextClass::floats
6017 * MenuBackend.C (expandFloatListInsert):
6018 (expandFloatInsert):
6021 * text2.C (setCounter):
6023 * LaTeXFeatures.C (useFloat):
6024 (getFloatDefinitions):
6026 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6028 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6029 floatlist_, with accessor floats().
6031 * FloatList.h: remove global FloatList
6033 2002-08-26 André Pönitz <poenitz@gmx.net>
6035 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6039 * BufferView_pimpl.C:
6040 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6042 2002-08-25 John Levon <levon@movementarian.org>
6044 * LyXAction.C: fix margin note description
6046 2002-08-24 John Levon <levon@movementarian.org>
6050 * bufferview_funcs.C:
6052 * undo_funcs.C: cleanups
6054 * lyxfunc.C: disable CUT/COPY when no selection
6056 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6058 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6059 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6061 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6062 Add backward compatibility to "mono", "gray" and "no".
6064 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6066 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6067 (and file_format >= 200).
6069 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6071 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6073 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6075 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6077 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6079 * BufferView_pimpl.C:
6086 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6087 inset and code to make it work with the paragraph code. The inset
6088 can be anywhere in the paragraph, but will only do the expected
6089 thing in LaTeX if the layout file contains the parameter line
6091 (or more generally, a nonzero value) for that layout.
6093 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * paragraph.h: remove the declaration of undefined counters class
6098 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6100 * text2.C (setCounter): fixed enumeration mis-count as reported by
6101 Dr. Richard Hawkins.
6103 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6105 * paragraph_funcs.h: remove some unneeded includes
6107 * text.C (backspace): pasteParagraph now in global scipe
6109 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6110 (pasteSelection): ditto
6112 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6113 * paragraph_funcs.C (pasteParagraph): ... here
6115 2002-08-20 André Pönitz <poenitz@gmx.net>
6117 * commandtags.h: new LFUNs for swapping/copying table row/colums
6120 * lyxfunc.C: support for new lfuns
6122 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6125 * buffer.[Ch]: remove NO_COMPABILITY stuff
6127 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * boost.C (throw_exception): new file, with helper function for
6130 boost compiled without exceptions.
6135 * ParameterStruct.h:
6136 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6138 * bufferlist.C (emergencyWriteAll): use boost bind
6140 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6142 * text.C: include paragraph_funcs.h
6143 (breakParagraph): breakParagraph is now in global scope
6145 * paragraph_funcs.[Ch]: new files
6147 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6150 * buffer.C: include paragraph_funcs.h
6151 (insertStringAsLines): breakParagraph is now in global scope
6153 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6156 * CutAndPaste.C: include paragraph_funcs.h
6157 (cutSelection): breakParagraphConservative is now in global scope
6158 (pasteSelection): ditto
6160 * buffer.h: declare oprator== and operator!= for
6161 Buffer::inset_iterator
6163 * bufferlist.C (emergencyWrite): don't use fmt(...)
6165 * text3.C: add using std::endl
6167 * BufferView.C (moveCursorUpdate): remove default arg
6169 2002-08-20 André Pönitz <poenitz@gmx.net>
6171 * buffer.[Ch]: move inline functions to .C
6174 * BufferView_pimpl.C:
6176 * buffer.[Ch]: use improved inset_iterator
6179 * paragraph.[Ch]: write one paragraph at a time
6181 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6183 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6184 style if style is not specified.
6186 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6188 * text2.C (setCounter): when searching for right label for a
6189 caption, make sure to recurse to parent insets (so that a caption
6190 in a minipage in a figure float works) (bug #568)
6192 2002-08-20 André Pönitz <poenitz@gmx.net>
6194 * text3.C: new file for LyXText::dispatch() and helpers
6196 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6198 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6200 2002-08-19 André Pönitz <poenitz@gmx.net>
6203 * text.C: new LyXText::dispatch()
6205 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6207 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6209 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6211 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6214 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6216 * Makefile.am: use $(variables) instead of @substitutions@
6218 2002-08-15 André Pönitz <poenitz@gmx.net>
6221 * BufferView_pimpl.C: streamlining mathed <-> outer world
6225 * LyXAction.C: remove unused LFUN_MATH
6227 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6231 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * paragraph.C (Paragraph): reformat a bit
6234 (cutIntoMinibuffer): use builtin InsetList function instad of
6238 * buffer.C: include boost/bind.hpp, add using std::for_each
6239 (writeFileAscii): use ParagraphList iterators
6240 (validate): use for_each for validate traversal of paragraphs
6241 (getBibkeyList): use ParagraphList iterators
6242 (resizeInsets): use for_each to resizeInsetsLyXText for all
6244 (getParFromID): use ParagraphList iterators
6246 * BufferView2.C (lockInset): use paragraph list and iterators
6248 2002-08-14 John Levon <levon@movementarian.org>
6250 * lyxserver.C: remove spurious xforms include
6252 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6254 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6256 2002-08-13 André Pönitz <poenitz@gmx.net>
6259 * lyxfunc.C: further cleaning
6261 2002-08-13 André Pönitz <poenitz@gmx.net>
6263 * funcrequest.h: new constructor
6265 * funcrequest.C: move stuff here from .h
6268 * BufferView_pimpl.C:
6271 * lyxfunc.C: subsequent changes
6273 * lyxfunc.h: new view() member function
6275 * lyxfunc.C: subsequent changes
6277 2002-08-13 Angus Leeming <leeming@lyx.org>
6280 * BufferView_pimpl.C:
6288 changes due to the changed LyXView interface that now returns references
6289 to member variables not pointers.
6291 2002-08-13 Angus Leeming <leeming@lyx.org>
6293 * WordLangTuple (word, lang_code): return references to strings,
6298 * lyxtext.h: forward-declare WordLangTuple.
6303 * text.C: #include "WordLangTuple.h".
6306 * text.C: (selectNextWordToSpellcheck): constify return type.
6308 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6314 * paragraph_pimpl.h:
6317 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6319 Made updateCounter always count from start of buffer, and removed
6320 second argument (par).
6321 Reverted floats number display to '#'. Perhaps I'll try again when the
6322 code base is sanitized a bit.
6324 2002-08-12 Angus Leeming <leeming@lyx.org>
6326 * buffer.[Ch] (getLabelList): constify.
6328 2002-08-07 André Pönitz <poenitz@gmx.net>
6330 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6332 * funcrequest.h: extension to keep mouse (x,y) position
6334 2002-08-12 Juergen Vigna <jug@sad.it>
6336 * BufferView2.C (insertErrors): forbid undo when inserting error
6339 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6341 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6343 * ParagraphList.[Ch]: new files
6345 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6347 * BufferView2.C (lockInset): ParagraphList changes
6350 * bufferlist.C: ditto
6354 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6357 unused class variable counter_,
6359 * paragraph.[Ch] (getFirstCounter): delete unused function
6361 * counters.C: include LAssert.h
6362 (reset): add a new function with no arg, change other version to
6363 not have def. arg and to not allow empty arg.
6365 * text2.C (setCounter): remove empty arg from call to Counters::reset
6367 2002-08-11 John Levon <levon@movementarian.org>
6369 * Makefile.am: add WordLangTuple.h
6371 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6374 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6376 * insets/insettext.C: InsetList changes
6378 * graphics/GraphicsSupport.C (operator()): InsetList changes
6380 * toc.C (getTocList): InsetList changes
6382 * paragraph_pimpl.[Ch]: InsetList changes
6384 * paragraph.[Ch]: InsetList changes
6386 * buffer.C (inset_iterator): InsetList changes
6387 (setParagraph): ditto
6388 * buffer.h (inset_iterator): ditto
6389 * iterators.C (operator++): ditto
6390 * iterators.h: ditto
6392 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6394 * InsetList.[Ch]: new files, most InsetList handling moved out of
6397 * BufferView2.C (removeAutoInsets): InsetList changes
6399 (ChangeInsets): ditto
6401 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6403 * paragraph_pimpl.h (empty): new function
6405 * paragraph.[Ch] (empty): new function
6407 * other files: use the new Paragraph::empty function
6409 2002-08-09 John Levon <levon@movementarian.org>
6411 * lyxtext.h: remove unused refresh_height
6413 2002-08-09 John Levon <levon@movementarian.org>
6420 * paragraph.C: move sgml char escaping out of paragraph
6423 * paragraph.C: remove id setter
6427 * paragraph_pimpl.C: remove dead tex_code_break_column
6429 * bufferview_funcs.C: small cleanup
6431 * lyxfunc.C: remove dead proto
6433 * lyxtext.h: make some stuff private. Remove some dead stuff.
6435 * lyxgluelength.C: make as[LyX]String() readable
6437 2002-08-08 John Levon <levon@movementarian.org>
6442 * ToolbarDefaults.C:
6445 * toc.C: lyxaction cleanup
6447 2002-08-08 John Levon <levon@movementarian.org>
6449 * BufferView2.C: small cleanup
6452 * lyxfind.C: move unnecessary header into the .C
6454 2002-08-08 John Levon <levon@movementarian.org>
6456 * funcrequest.h: just tedious nonsense
6459 * lyx_main.C: cleanups
6462 * vspace.C: remove dead header lyx_main.h
6464 2002-08-07 Angus Leeming <leeming@lyx.org>
6467 * paragraph_pimpl.h:
6468 Forward declare class Counters in paragraph.h by moving the ctrs member
6469 variable into Paragraph::Pimpl.
6470 (counters): new method, returning a reference to pimpl_->ctrs.
6472 * text2.C: ensuing changes.
6474 2002-08-07 John Levon <levon@movementarian.org>
6476 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6478 * BufferView_pimpl.C: announce X selection on double/triple
6481 * lyx_main.C: use correct bool in batch dispatch
6483 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6485 2002-08-07 André Pönitz <poenitz@gmx.net>
6487 * funcrequest.h: new class to wrap a kb_action and its argument
6490 * BufferView_pimpl[Ch]:
6494 * lyxrc.C: subsequent changes
6497 2002-08-07 John Levon <levon@movementarian.org>
6499 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6500 document options change.
6502 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6507 * makefile.am: move counters functionality over from
6508 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6510 2002-08-06 John Levon <levon@movementarian.org>
6512 * WordLangTuple.h: new file for word + language code tuple
6523 * BufferView2.C: use WordLangTuple
6526 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6528 2002-08-06 John Levon <levon@movementarian.org>
6530 * lyx_main.C: fix cmdline batch handling
6532 2002-08-06 André Pönitz <poenitz@gmx.net>
6534 * lyxrc.C: set default for show_banner to true
6536 2002-08-06 John Levon <levon@movementarian.org>
6538 * pspell.C: fix a crash, and allow new aspell to work
6540 2002-08-06 John Levon <levon@movementarian.org>
6543 * kbmap.C: small cleanup
6546 * vspace.C: add const
6548 2002-08-05 John Levon <levon@movementarian.org>
6550 * LyXAction.C: back to tabular-insert
6552 2002-08-04 John Levon <levon@movementarian.org>
6555 * BufferView.C: cosmetic change
6557 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6567 * BufferView2.C: purge all "Lyx" not "LyX" strings
6570 * lyxcursor.C: attempt to add some documentation
6575 * ToolbarDefaults.C:
6576 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6577 merge with LFUN_TABULAR_INSERT
6584 * pspell.C: split up i/pspell implementations into separate
6585 files, many cleanups
6587 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6589 * text2.C: some cleanup
6591 * lyxfunc.C: don't check for isp_command == "none" any more, it
6592 didn't make any sense
6594 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6599 * makefile.am: move counters functionality over
6600 from text2.C/paragraph.[Ch] to counters.[Ch], and
6602 2002-08-02 John Levon <levon@movementarian.org>
6604 * buffer.C: s/lyxconvert/lyx2lyx/
6606 2002-08-02 Angus Leeming <leeming@lyx.org>
6608 * lyxlex.C: revert John's change as it breaks reading of the user
6611 2002-08-02 Angus Leeming <leeming@lyx.org>
6613 * importer.C (Import):
6614 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6615 changes due to LyXView::view() now returning a boost::shared_ptr.
6617 2002-08-02 John Levon <levon@movementarian.org>
6619 * lyxlex.C: small cleanup
6621 2002-08-02 John Levon <levon@movementarian.org>
6623 * text2.C (status): small cleanup, no logic change
6625 2002-08-01 John Levon <levon@movementarian.org>
6628 * buffer.C (writeFile): don't output alerts, caller
6632 * lyx_cb.C: from above
6634 * lyxfunc.C: allow to open non-existent files
6636 2002-07-31 John Levon <levon@movementarian.org>
6638 * lyxserver.C: don't let incidental errors get
6641 2002-07-30 John Levon <levon@movementarian.org>
6643 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6645 2002-07-30 John Levon <levon@movementarian.org>
6648 * lyxserver.C: remove I/O callback too
6650 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6652 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6655 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * many files: strip,frontStrip -> trim,ltrim,rtrim
6659 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * PrinterParams.h: remove extern containsOnly, and include
6662 support/lstrings.h instead.
6664 * LaTeX.C (scanAuxFile): modify because of strip changes
6666 * buffer.C (makeLaTeXFile): ditto
6667 * bufferparams.C (writeFile): ditt
6668 * lyxfont.C (stateText): ditto
6669 * lyxserver.C (read_ready): ditto
6670 * vc-backend.C (scanMaster): ditto
6672 * BufferView_pimpl.h: ws changes
6674 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6676 2002-07-26 André Pönitz <poenitz@gmx.net>
6678 * kb_sequence.C: remove unnedred usings
6680 2002-07-26 Juergen Vigna <jug@sad.it>
6682 * lyxfind.C (LyXReplace): we have to check better if the returned
6683 text is not of theLockingInset()->getLockingInset().
6685 2002-07-25 Juergen Vigna <jug@sad.it>
6687 * lyxfind.C (LyXReplace): don't replace if we don't get the
6690 * undo_funcs.C (createUndo): remove debugging code.
6692 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6694 * buffer.C (parseSingleLyXformat2Token): Use default placement
6695 when reading old floats.
6697 * FloatList.C (FloatList): Change the default placement of figure
6698 and tables to "tbp".
6700 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6702 * MenuBackend.C: using std::max
6704 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6706 * MenuBackend.C (expandToc):
6707 (expandToc2): code moved from xforms menu frontend. It is now
6708 generic and TOCs are transparent to menu frontends.
6710 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6712 * toc.C (getTocList): protect against buf=0
6714 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6715 Menu as first parameter. Now, this calls itself recursively to
6716 expand a whole tree (this will be useful for TOC handling)
6717 (expandFloatInsert): remove 'wide' version of floats
6719 * MenuBackend.h (submenuname): returns the name of the submenu.
6720 (submenu): returns the submenu itself, provided it has been
6721 created by MenuBackend::expand
6723 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6725 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6726 insets which have noFontChange == true. (bug #172)
6728 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6730 * BufferView_pimpl.C: add connection objects and use them...
6733 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6735 * MenuBackend.C (expandLastfiles):
6738 (expandFloatListInsert):
6739 (expandFloatInsert):
6740 (expand): split expand in parts
6742 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6744 * lyx_gui.C: use lyx_gui::exit()
6746 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6748 * LyXAction.C: show the failing pseudo action
6750 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6752 * buffer.C (readFile): Run the lyxconvert script in order to read
6755 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6759 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6761 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6765 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6767 2002-07-22 Herbert Voss <voss@lyx.org>
6770 * lyxlength.[Ch]: add support for the vertical lengths
6772 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6774 * toc.[Ch]: std:: fixes
6776 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6778 * lyxrc.C: do not include lyx_main.h
6780 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6786 * BufferView2.C: include "lyxlex.h"
6789 * bufferparams.h: do not #include "lyxlex.h"
6791 * lyxtextclasslist.C (Add): remove method
6792 (classlist): renamed to classlist_
6794 * paragraph_pimpl.C:
6798 * bufferview_funcs.C:
6803 * toc.C (getTocList): use BufferParams::getLyXTextClass
6805 * toc.C (getTocList): use InsetFloat::addToToc
6807 * toc.[Ch]: new files, containing helper functions to handle table
6810 * lyxfunc.C (dispatch): no need to remove spaces around command
6812 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6813 first command of the sequence; it is not very clever, but I do not
6814 have a better idea, actually
6816 * LyXAction.C (LookupFunc): make sure to remove space at the
6817 beginning and end of the command
6819 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6821 * MenuBackend.C (getMenubar): new method: return the menubar of
6823 (read): treat differently reading of menu and menubar (in
6824 particular, the menubar has no name now)
6825 (Menu::menubar): remove
6827 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6830 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6832 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6833 a bibitem inset in a RTL paragraph.
6835 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6837 * paragraph_pimpl.C: constify
6839 * BufferView_pimpl.C:
6841 * lyxfunc.C: fix dispatch in a nicer way
6843 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6845 * lyxfunc.C (dispatch):
6846 * BufferView_pimpl.C:
6847 * BufferView_pimpl.h:
6849 * BufferView.h: rename Dispatch() to dispatch()
6851 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6853 * lyxlayout.C (Read): honor DependsOn tag
6855 * lyxlayout.[Ch] (depends_on): new method
6857 * version.C.in: update lyx_docversion
6859 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6861 * paragraph.C (validate): remove from here...
6862 * paragraph_pimpl.C (validate): ... and move here
6863 (isTextAt): make it const
6865 * buffer.C (getLists): ws cleanup
6867 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6869 * language.C (read): Use iso8859-1 encoding in latex_lang
6870 (this prevents LyX from crashing when using iso10646-1 encoding).
6872 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6874 * text2.C (toggleInset): if cursor is inside an inset, close the
6875 inset and leave cursor _after_ it
6877 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6879 * lyxfunc.C: move minibuffer completion handling out of here
6881 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6883 * BufferView_pimpl.C:
6884 * LaTeX.C: fix dispatch calls
6886 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6888 * text.C (drawChars): Fix Arabic text rendering.
6890 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6894 * lyxfunc.C: remove message-push/pop
6898 * lyxfunc.C: rationalise some code by removing verboseDispatch
6899 in favour of a bool argument to dispatch()
6901 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6903 * lyx_main.C (init): make sure to read symlinks as absolute paths
6905 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6908 * lyxfunc.C: no need for commandshortcut to be a member
6910 2002-07-15 André Pönitz <poenitz@gmx.net>
6912 * converter.C: add support for $$s (scripts from lib/scripts dir)
6913 * lyx_main.C: white space
6915 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6919 * lyxrc.C: remove second exit confirmation
6921 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6926 * BufferView_pimpl.h:
6927 * BufferView_pimpl.C:
6928 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6930 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6932 * MenuBackend.C (expand): add numeric shortcuts to document menu
6934 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6936 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6938 * lyxfont.C (setLyXFamily):
6945 * buffer.C (asciiParagraph): use ascii_lowercase
6947 2002-07-15 Mike Fabian <mfabian@suse.de>
6949 * lyxlex_pimpl.C (search_kw):
6950 * lyxlex.C (getLongString):
6951 * converter.h (operator<):
6952 * converter.C (operator<):
6953 * buffer.C (parseSingleLyXformat2Token):
6955 * ToolbarDefaults.C (read):
6956 * MenuBackend.C (checkShortcuts):
6958 * LColor.C (getFromGUIName):
6959 (getFromLyXName): use the compare_ascii_no_case instead of
6960 compare_no_case, because in turkish, 'i' is not the lowercase
6961 version of 'I', and thus turkish locale breaks parsing of tags.
6963 2002-07-16 Angus Leeming <leeming@lyx.org>
6965 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6966 now takes a Buffer const & argument.
6968 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6970 * BufferView.C (resize): check there's a buffer to resize
6972 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6974 * lyxfunc.C: remove dead code
6977 * lyxserver.C: use lyx_guii::set_read_callback
6979 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6981 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6982 an inset in a RTL paragraph.
6984 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6986 * lyxfunc.C: repaint after a font size update
6988 2002-07-15 André Pönitz <poenitz@gmx.net>
6990 * lyxlength.C: inBP should be able to return negative values
6992 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6994 * lyxfunc.C: use lyx_gui::update_fonts()
6996 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6998 * lyxfunc.C: use lyx_gui::update_color()
7000 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7006 * lyxrc.C: remove file->new asks for name option, and let
7007 buffer-new take an argument
7009 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7011 * BufferView_pimpl.C: remove unneeded extra repaint()
7013 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7015 * LyXAction.C: allow command-sequence with NoBuffer
7017 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7019 2002-07-10 Angus Leeming <leeming@lyx.org>
7021 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7023 2002-07-09 Angus Leeming <leeming@lyx.org>
7025 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7027 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7029 * lengthcommon.h: whitespace
7031 * lyxfunc.C: update scrollbar after goto paragraph
7033 * lyxtext.h: factor out page break drawing, and fix it so
7034 page break/added space paints as selected nicely
7036 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7038 * BufferView_pimpl.C: add FIXMEs, clean up a little
7040 2002-07-09 André Pönitz <poenitz@gmx.net>
7042 * lyxfont.[Ch]: support for wasy symbols
7044 2002-07-08 André Pönitz <poenitz@gmx.net>
7046 * BufferView_pimpl.C: apply John's patch for #93.
7048 2002-07-05 Angus Leeming <leeming@lyx.org>
7050 * BufferView_pimpl.C (buffer): generate previews if desired.
7052 * LColor.h: add "preview" to the color enum.
7054 * LColor.C (LColor): add a corresponding entry to the items array.
7056 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7059 2002-07-05 Angus Leeming <leeming@lyx.org>
7061 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7062 The body of the code is now in the method that is passed an ostream &
7063 rather than a file name.
7064 Pass an additional only_preamble parameter, useful for the forthcoming
7067 2002-07-03 André Pönitz <poenitz@gmx.net>
7069 * lyxfunc.C: simplify getStatus() a bit for math stuff
7071 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7073 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7075 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7077 * text.C (changeRegionCase): do not change case of all the
7078 document when region ends at paragraph end (bug #461)
7080 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7082 * paragraph.C (startTeXParParams):
7083 (endTeXParParams): add \protect when necessary
7085 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7087 * BufferView_pimpl.C (workAreaExpose): remove warning
7089 2002-06-27 Angus Leeming <leeming@lyx.org>
7091 * Makefile.am: add lyxlayout_ptr_fwd.h.
7093 2002-06-26 André Pönitz <poenitz@gmx.net>
7095 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7097 2002-06-25 Angus Leeming <leeming@lyx.org>
7099 * lyxfunc.C (dispatch): Comment out the call to
7100 grfx::GCache::changeDisplay. The method no longer exists now that the
7101 pixmap generation part of the graphics loader has been moved into
7104 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7106 * text2.C: layout as layout
7108 * text.C: layout as layout
7110 * tabular.C (OldFormatRead): layout as layout
7112 * paragraph_pimpl.C (TeXDeeper): layout as layout
7113 (realizeFont): layout as layout
7115 * paragraph.C (writeFile): layout as layout
7116 (validate): layout as layout
7117 (getFont): layout as layout
7118 (getLabelFont): layout as layout
7119 (getLayoutFont): layout as layout
7120 (breakParagraph): layout as layout
7121 (stripLeadingSpaces): layout as layout
7122 (getEndLabel): layout as layout
7123 (getMaxDepthAfter): layout as layout
7124 (applyLayout): layout as layout
7125 (TeXOnePar): layout as layout
7126 (simpleTeXOnePar): layout as layout
7127 (TeXEnvironment): layout as layout
7128 (layout): layout as layout
7129 (layout): layout as layout
7131 * lyxtextclass.C (compare_name): new functor to work with
7132 shared_ptr, layout as layout
7133 (Read): layout as layout
7134 (hasLayout): layout as layout
7135 (operator): layout as layout
7136 (delete_layout): layout as layout
7137 (defaultLayout): layout as layout
7139 * lyxlayout_ptr_fwd.h: new file
7141 * lyxlayout.C (Read): layout as layout
7143 * lyx_cb.C (MenuInsertLabel): layout as layout
7145 * bufferlist.C (newFile): layout as layout
7147 * buffer.C (readLyXformat2): layout as layout
7148 (parseSingleLyXformat2Token): layout as layout
7149 (insertStringAsLines): layout as layout
7150 (asciiParagraph): layout as layout
7151 (latexParagraphs): layout as layout
7152 (makeLinuxDocFile): layout as layout
7153 (simpleLinuxDocOnePar): layout as layout
7154 (makeDocBookFile): layout as layout
7155 (simpleDocBookOnePar): layout as layout
7156 (getLists): layout as layout
7158 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7160 * CutAndPaste.C (cutSelection): layout as layout
7161 (pasteSelection): layout as layout
7162 (SwitchLayoutsBetweenClasses): layout as layout
7164 * BufferView_pimpl.C (Dispatch): layout as layout
7165 (smartQuote): layout as layout
7167 * BufferView2.C (unlockInset): layout as layout
7169 2002-06-24 André Pönitz <poenitz@gmx.net>
7171 * lyxfunc.C: fix #487
7173 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7177 * lyxfunc.C: remove display_shortcuts, show_banner
7179 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7181 * Buffer_pimpl.C: oops, update on resize
7183 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7190 * BufferView.C: use repaint()
7192 * BufferView_pimpl.h:
7193 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7194 as it's a clearer description. Remove superfluous
7197 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7199 * text.C: fix bug 488. Not ideal, but getting
7200 getWord() to work properly for the insets that
7201 matter is more difficult ...
7203 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7205 * BufferView_pimpl.C:
7208 * lyxfunc.C: remove the six million index lyxfuncs to just
7209 one, and DTRT (bug 458)
7211 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7215 * BufferView_pimpl.h:
7216 * BufferView_pimpl.C: clean up resize() stuff,
7217 and unnecessary updateScreen()s
7219 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7223 * BufferView_pimpl.h:
7224 * BufferView_pimpl.C:
7227 * minibuffer.C: remove focus management of workarea,
7228 not needed. Use screen's greyOut()
7230 2002-06-17 Herbert Voss <voss@lyx.org>
7232 * converter.C: (convert) do not post a message, when converting
7233 fails, let the calling function decide what to do in this case
7235 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7237 * lyxfunc.C: tidy up a little
7239 2002-06-16 <alstrup@diku.dk>
7241 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7242 Got rid of FORMS_H_LOCATION include. Now we are
7245 2002-06-15 LyX Development team <lyx@rilke>
7247 * buffer.[Ch] (sgmlOpenTag):
7248 (sgmlCloseTag): Added support for avoiding pernicious mixed
7249 content. Return number of lines written.
7252 (makeDocBookFile): Fixed calls to sgml*Tag.
7253 Simple white space clean.
7255 (simpleDocBookOnePar): Simple white space clean.
7257 * tabular.[Ch] (docBook): Renamed to docbook and got another
7258 argument to related with the pernicious mixed content.
7260 (docbookRow): Fixed calls for docbook inset method.
7262 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7264 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7265 so it's X11 independent.
7269 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7271 2002-06-15 Lyx Development team <lyx@electronia>
7273 * intl.h: Renamed getTrans to getTransManager.
7275 2002-06-14 Angus Leeming <leeming@lyx.org>
7277 * Makefile.am: nuke forgotten stl_string_fwd.h.
7279 2002-06-12 Angus Leeming <leeming@lyx.org>
7281 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7283 2002-06-13 Angus Leeming <leeming@lyx.org>
7286 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7288 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7290 * kbmap.C (getiso): add support for cyrillic and greek
7292 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7296 * BufferView_pimpl.h:
7297 * BufferView_pimpl.C: move bogus scrolling logic
7300 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7303 * BufferView_pimpl.C: view->resize() change
7305 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7307 * BufferView_pimpl.C: topCursorVisible
7310 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7314 * lyx_gui.C: move to frontends/
7318 * lyx_main.C: changes from above
7320 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7327 * lyx_main.C: minor tidy
7329 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7331 * BufferView_pimpl.h:
7332 * BufferView_pimpl.C:
7334 * BufferView.C: make painter() const,
7337 * BufferView2.C: use screen() accessor
7340 * lyx_main.C: some minor cleanup
7342 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7344 * BufferView_pimpl.h:
7345 * BufferView_pimpl.C: remove enter/leaveView,
7348 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7353 * BufferView_pimpl.h:
7354 * BufferView_pimpl.C: only construct screen once,
7357 * lyxrc.C: remove pointless comment
7359 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7362 * BufferView.C: remove active() and belowMouse()
7364 * BufferView_pimpl.h:
7365 * BufferView_pimpl.C: use workarea() not workarea_,
7366 and make it use a scoped_ptr instead
7368 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7370 * lyx_gui.C: add debug message on BadWindow
7372 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7374 * sp_spell.C: fdopen is not part of the C++ standard.
7376 * paragraph.C (InsetIterator): use >= instead of ==
7378 2002-06-07 Angus Leeming <leeming@lyx.org>
7380 Fixes needed to compile with Compaq cxx 6.5.
7381 * BufferView_pimpl.C:
7388 * lyxtextclasslist.C:
7393 all c-library variables have been moved into namespace std. Wrap
7394 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7399 Add a using std::abs declaration.
7401 * kbmap.h (modifier_pair):
7402 * paragraph.h (InsetTable, InsetList):
7403 * lyxfont.h (FontBits):
7404 type definition made public.
7406 * bufferlist.C (emergencyWriteAll): the compiler complains that
7407 there is more than one possible lyx::class_fun template to choose from.
7408 I re-named the void specialisation as lyx::void_class_fun.
7410 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7412 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7413 the compiler is is unable to find tostr in write_attribute.
7415 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7417 * buffer.C (sgmlError): hide #warning
7419 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * xtl/*: get rid of xtl, which is not in use anyway
7423 * LyXAction.C (init):
7424 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7425 were unimplemented xtl experimentation
7427 2002-06-04 André Pönitz <poenitz@gmx.net>
7429 * lyxfunc.C: disable array operation on simple formulae
7431 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7433 * converter.C: constify a bit
7435 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7437 * lyx_gui.C: check xforms version correctly
7439 2002-04-30 Herbert Voss <voss@lyx.org>
7441 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7444 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7446 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7447 attempt to register it with a VCS)
7449 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7451 * lyx_main.C (init): honor variables LYX_DIR_13x and
7454 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7458 * lyx_main.C: fix a crash on bad command line,
7459 and give a useful exit status on error
7461 * lyxfunc.C (doImport): allow -i lyx to work
7463 2002-03-30 André Pönitz <poenitz@gmx.net>
7465 * lyxfunc.C: mathed font changes
7467 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7482 * trans_mgr.h: srcdocs, and some minor cleanups
7484 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7486 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7487 call getFont all the time)
7489 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7491 * switch from SigC signals to boost::signals
7493 2002-05-29 André Pönitz <poenitz@gmx.net>
7495 * paragraph_pimpl.C (getChar): don't call size() too often...
7497 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7499 * paragraph_pimpl.C (insertChar): do not try to update tables when
7500 appending (pos == size())
7502 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7503 in order to reduce drastically the number of comparisons needed to
7504 parse a large document
7506 2002-05-29 André Pönitz <poenitz@gmx.net>
7512 * textclasslist.[Ch]:
7513 * sp_ispell.h: whitespace change
7515 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7517 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7518 lyxaction directly now.
7520 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7524 * lyxvc.C: remove unused headers
7526 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7533 * undo_funcs.C: some cleanups. Use shared_ptr
7534 and a template for the undo stacks.
7536 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7538 * BufferView_pimpl.h:
7539 * BufferView_pimpl.C:
7546 * text2.C: use key_state/mouse_state
7548 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7550 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7553 * chset.C: change include order
7554 (loadFile): use boost regex and get rid of LRegex and LSubstring
7556 * Makefile.am (BOOST_LIBS): new variable
7559 * LaTeX.C: change include order.
7560 (scanAuxFile): use boost regex and get rid of LRegex and
7564 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7569 * FontInfo.C: moved to frontends/xforms/
7572 * FontLoader.C: moved into frontends for GUIIzation
7577 * lyxfunc.C: changes from above
7579 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7581 * LColor.C: remove spurious X include
7583 * BufferView_pimpl.C:
7588 * text2.C: move font metrics to frontends/
7590 2002-05-24 Juergen Vigna <jug@sad.it>
7592 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7593 setting the undo_cursor.
7595 * ParagraphParameters.h: include local includes first.
7597 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7599 * BufferView_pimpl.C:
7600 * BufferView_pimpl.h:
7604 * screen.C: move WorkArea into frontends/
7610 * BufferView2.C: move LyXScreen into frontends/
7614 * lyx_gui.C: move lyxlookup into frontends/xforms/
7616 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7619 * BufferView_pimpl.C:
7629 * bufferview_funcs.C:
7642 * vc-backend.C: move LyX/XFormsView into frontends/
7644 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7656 * text2.C: move Painter to frontends/
7658 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7660 * buffer.C: comment out some some code that depend upon lyx_format
7663 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7664 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7666 * buffer.h (NO_COMPABILITY): turn off compability
7668 * ColorHandler.C: include scoped_array.hpp
7670 * font.C: Use more specific smart_ptr header.
7673 * ShareContainer.h: ditto
7677 * BufferView_pimpl.h: ditto
7678 * ColorHandler.h: ditto
7680 * kbmap.C (defkey): change call to shared_ptr::reset
7682 2002-05-21 Juergen Vigna <jug@sad.it>
7684 * buffer.C (insertErtContents): fix to insert ert asis if it is
7685 non empty. Skip it completely if it contains only whitespaces.
7687 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7689 * BufferView_pimpl.C:
7690 * BufferView2.C: clear selection on paste (bug 393)
7692 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * DepTable.C: include ctime
7696 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7698 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7700 2002-05-14 Juergen Vigna <jug@sad.it>
7702 * text.C (breakParagraph): fixed function to honor the keepempty
7703 layout in the right maner and also to permit the right breaking
7704 algorithm on empty or non empyt keepempty paragraphs.
7706 * paragraph.C (breakParagraph): we have to check also if the par
7707 is really empty (!size()) for isempty otherwise we do the wrong
7710 2002-05-10 Juergen Vigna <jug@sad.it>
7712 * buffer.[Ch] : The following are only changes to the ert
7713 compatibility read reading old LaTeX layout and font stuff and
7714 convert it to ERTInsets.
7716 * buffer.h: added isErtInset().
7718 * buffer.C (struct ErtComp): add a fromlayout bool to check
7719 if we're inside a LaTeX layout.
7720 (isErtInset): new helper function.
7721 (insertErtContents): look for other ert insets before this one
7722 and insert the contents there, so that we don't have subsequent
7723 ERT insets with nothing between them. This way we create only one
7724 inset with multiple paragraphs. Also check if we don't insert only
7725 spaces ' ' as they are ignored anyway afterwards in the .tex file
7726 so if we have only spaces we will ignore this latex part in the
7728 (parseSingleLyXformat2Token \\layout): better compatibility when
7729 reading layout-latex stuff.
7730 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7732 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7733 stuff after reading the inset only get the information back from
7736 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7738 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7740 * LaTeXFeatures.C (getBabelOptions): New method.
7742 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7744 * BufferView_pimpl.C (Dispatch): work around missing argument for
7747 2002-05-08 Juergen Vigna <jug@sad.it>
7749 * text.C (leftMargin): handle paragraph leftindent.
7751 * paragraph.C (writeFile): write the new \\leftindent tag.
7752 (validate): handle leftindent code.
7753 (TeXEnvironment): handle paragraphleftindent code again.
7755 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7757 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7758 for paragrap_extra indent code and new token \\leftindent.
7759 (latexParagraphs): handle the leftindent as environment.
7761 * ParameterStruct.h: added leftindent support.
7763 * ParagraphParameters.C (leftIndent): added support functions for
7764 the paragraph left indent.
7766 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7769 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7771 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7774 * text.C (computeBidiTables): No bidi in insetERT.
7776 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7779 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7781 * version.C.in: pre 5
7783 2002-05-02 José Matos <jamatos@fep.up.pt>
7784 * buffer.C (makeDocBookFile): white space changes, add newline to
7786 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7788 * tabular.C (docBook): fix typo.
7790 2002-05-03 Juergen Vigna <jug@sad.it>
7792 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7793 change in LyXText as we can not be sure it was not freed.
7794 (drawOneRow): remove unused code.
7796 * text.C (drawInset): redo the calculation of the need_break_row as
7797 it could have a row which was already freed.
7798 (draw): look at the return value of drawInset and return false if
7799 it also returned false.
7800 (paintRowText): look at the return value of draw and return false if
7801 it also returned false.
7803 * lyxtext.h: added bool return type to drawInset() and draw() so that
7804 if we have a change in the row so that the rowbreak has to be redone
7805 we abort drawing as it will be called again.
7807 2002-05-02 Juergen Vigna <jug@sad.it>
7809 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7810 a change in the maintext also if we're inside an inset.
7811 (Dispatch): set the cursor again after a break line and after the
7812 screen has been updated as it could be we're in a different row.
7814 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7815 to set the cursor behind the pargraph with > size().
7816 (setCursor): check also for the same paragraph when checking where
7817 to put the cursor if we have a NFR inset.
7819 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7820 parts of layout read further up as it still was in the wrong
7823 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7825 * screen.C (drawFromTo): change sine fullRebreak always return
7828 * buffer.C (parseSingleLyXformat2Token): reindent some
7830 * BufferView_pimpl.C (update): change since fullRebreak always
7832 (Dispatch): git rid of the last hardcoded "Standard"s.
7834 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7836 * text2.[Ch] (fullRebreak): make it return void now that we always
7839 2002-04-30 Juergen Vigna <jug@sad.it>
7841 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7842 ert compatibility check for "latex" layout.
7844 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7846 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7847 minipages: use col% instead of p%, and also use the current font.
7848 (makeLaTeXFile): Fix use babel condition.
7849 (parseSingleLyXformat2Token): Correct font when reading old floats.
7851 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7853 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7854 inserting list of floats.
7856 2002-04-25 Herbert Voss <voss@lyx.org>
7858 * MenuBackend.C (expand): don't add the graphics extensions to the
7861 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7863 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7864 non-existing layout, do not complain if it was the default layout
7865 of the original class (bug #342)
7867 2002-04-24 Juergen Vigna <jug@sad.it>
7869 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7870 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7872 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7874 * buffer.C (getBibkeyList): If using \bibliography, return the
7875 option field with the reference itself. Enables us to provide natbib
7876 support when using \bibliography.
7878 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7880 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7882 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7883 natbib is provided by the LaTeX class.
7885 2002-04-23 Juergen Vigna <jug@sad.it>
7887 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7890 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7892 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7896 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7897 ensuremath around textordmasculine, textordfeminine and
7900 2002-04-19 Juergen Vigna <jug@sad.it>
7902 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7903 reinitializing the buffer otherwise row-dimensions may be wrong.
7904 (update): reset also the selection cursors if they do exits otherwise
7905 their x/y positions may be wrong.
7907 * text2.C (cursorDown): don't enter the inset if we came from a row
7908 above and are one row over the inset.
7910 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7911 really leaving an inset.
7913 2002-04-18 Juergen Vigna <jug@sad.it>
7915 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7916 of the selected paragraph does not have the selected layout also if
7919 * text2.C (setLayout): fixed bug which did not change last selected
7922 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7923 changed the read and substituted \\end_float with \\end_inset!
7925 * BufferView_pimpl.C (cursorPrevious):
7926 (cursorNext): fixed to make it work with rows heigher than the work
7927 area without moving the cursor only the draw of the row.
7928 (workAreaMotionNotify): fix jumping over high rows.
7930 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7932 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7935 2002-04-16 Juergen Vigna <jug@sad.it>
7937 * text2.C (setCursor): set also the irow().
7938 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7940 (cursorDown): support for locking an inset if the x_fix value goes
7941 inside it. That way I can transverse insets too with cursor up/down.
7943 * lyxrow.h: added irow helper function same as other (i) functions.
7945 * BufferView_pimpl.C (cursorPrevious):
7946 (cursorNext): fixed for insets!
7948 2002-04-15 Juergen Vigna <jug@sad.it>
7950 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7951 position otherwise it is wrong in some cases.
7953 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7954 inside the inset before the call.
7956 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7958 * buffer.[Ch] (getBibkeyList): make it const.
7960 2002-04-12 Juergen Vigna <jug@sad.it>
7962 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7964 * text2.C (getCursorX): new helper function
7965 (setCursor): compute also ix_
7966 (setCursorFromCoordinates): set also ix.
7968 * lyxcursor.h: added ix_ and helper functions.
7970 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7972 * buffer.C (insertStringAsLines): dont break paragraph if the this
7973 paragraph is inside an inset which does not permit it!
7975 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7976 also with no chars on this paragraph.
7977 (paintRowText): only paint stuff if it's inside the workarea!
7979 * paragraph.C (breakParagraph): honor keepempty flag and break the
7980 paragraph always below not above.
7982 * BufferView2.C (unlockInset): update the paragraph layout on inset
7983 unlock as we changed paragraph in such a case.
7985 * lyxfind.C (LyXFind): clear the former selection if not found!
7987 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7988 again called in insertChar().
7990 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7991 an inset which uses the whole row!
7992 (rightMargin): ditto.
7993 (insertChar): force a rebreak if we inserted an inset!
7995 2002-03-28 Herbert Voss <voss@lyx.org>
7997 * lyxlength.[Ch]: add inBP() to get the right PS-point
7998 units (BigPoint). With inPixels we have rounding errors
8000 2002-04-11 Juergen Vigna <jug@sad.it>
8002 * text2.C (setCursorFromCoordinates): set iy to the right value.
8003 (setCursor): add check if row->previous exists!
8005 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8006 an old float_type as this was the case in the old code!
8008 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8010 * BufferView2.C (showLockedInsetCursor): use iy
8011 (fitLockedInsetCursor): ditto
8013 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8014 locked insets as there we have the right value now.
8016 * lyxcursor.C: added iy_ variable and iy functions to set to the
8017 baseline of cursor-y of the locked inset.
8019 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8020 (setCursor): fixed for insets which need a full row.
8022 * text.C (rowLastPrintable): don't ignore the last space when before
8023 an inset which needs a full row.
8024 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8025 as last character of a row when before a inset which needs a full row.
8027 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8029 * version.C.in: update date
8031 * text2.C (fullRebreak): try to always return true and see what
8034 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8036 * MenuBackend.C (expand): use Floating::listName
8038 * FloatList.C (FloatList): add listName argument to the built-in
8041 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8042 text associated with the float.
8044 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8046 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8048 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8050 * ShareContainer.h: add a couple of missing typenames.
8052 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8054 * lyxrc.C (getDescription): use _() correctly rather than N_().
8056 2002-03-28 Herbert Voss <voss@lyx.org>
8058 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8059 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8061 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8063 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8064 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8066 2002-03-29 Juergen Vigna <jug@sad.it>
8068 * lyxfunc.C (dispatch): add a missing fitCursor call.
8070 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8071 it was scrolled by a cursor move, so return the bool status.
8073 * BufferView.C (fitCursor): return the bool flag also to the outside
8074 world as this is needed.
8076 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8078 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8079 call the edit() as it is not needed (and wrong) IMO.
8080 (workAreaButtonPress): set the screen_first variable before evt.
8081 unlock the inset as this may change screen_first and then we have
8082 a wrong y position for the click!
8084 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8086 * MenuBackend.C (expand): another translation that I missed
8088 2002-03-28 Juergen Vigna <jug@sad.it>
8090 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8092 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8094 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8096 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8098 * MenuBackend.C (expand): fix export/view/update when there is no
8101 2002-03-27 Herbert Voss <voss@lyx.org>
8103 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8106 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8108 * bufferview_funcs.C (currentState): only show paragraph number
8109 for is DEVEL_VERSION is set.
8111 * lyxfunc.C (dispatch): put warning in INFO channel
8113 * MenuBackend.C (expand): translate the name of floats
8115 * FloatList.C (FloatList): mark the float names for translation
8117 * converter.C (convert): use LibScriptSearch
8119 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8121 * MenuBackend.C (defaults): fix default menu (we might as well get
8124 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8126 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8129 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8131 * lyxvc.C: reorder includes.
8133 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8135 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8138 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8140 * CutAndPaste.C: change layouts earlier on paste
8141 to avoid crashing when calling getFont()
8143 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8145 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8148 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8150 * WorkArea.C: remove 'Pending' debug message.
8152 * most files: ws cleanup
8154 * buffer.[Ch]: ws changes
8156 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8158 2002-03-21 Juergen Vigna <jug@sad.it>
8160 * tabular.C (SetMultiColumn): collapse also the contents of the
8161 cells and set the last border right. Added a Buffer const * param.
8163 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8165 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8168 2002-03-19 Juergen Vigna <jug@sad.it>
8170 * text2.C (clearSelection): reset also xsel_cache.
8172 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8173 where it needs to be called (John tells us to do so too :)
8174 (selectionLost): reset sel_cache.
8176 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8178 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8180 * text2.C (setCursorIntern): put debuging code in INSETS channel
8182 2002-03-19 André Pönitz <poenitz@gmx.net>
8184 * lyxfunc.C: tiny whitespace change
8186 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8188 * ToolbarDefaults.C (init):
8189 * LyXAction.C (init):
8191 * BufferView_pimpl.C (Dispatch):
8192 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8194 2002-03-19 Allan Rae <rae@lyx.org>
8196 * exporter.C (Export): removeAutoInsets before doing anything else.
8197 While I've just introduced a dependency on BufferView this really is
8198 the best place to clean the buffer otherwise you need to cleanup in
8199 a dozen places before calling export or cleanup in a dozen functions
8202 * converter.C (runLaTeX):
8203 (scanLog): Better handling of removeAutoInsets and screen updates.
8205 * lyxfunc.C (dispatch): small whitespace changes
8207 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8209 * WorkArea.C (C_WorkAreaEvent): return a value.
8210 (event_cb): return 1 if we handled the event, 0 otherwise.
8212 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8214 2002-03-18 Juergen Vigna <jug@sad.it>
8216 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8217 (GetAdditionalWidth): ditto.
8221 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8222 inset if we're there actually (probably not used right now but this
8223 is the direction to go for unifying code).
8224 (paste): disable code to clear the selection.
8226 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8227 inside an InsetText and move the check further up as it is in the
8230 * text2.C (pasteSelection): set a selection over the pasted text.
8232 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8234 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8235 and libgraphics to build on Cygwin.
8237 2002-03-15 Juergen Vigna <jug@sad.it>
8239 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8240 inserting an Inset into the paragraph. I know this is not the best
8241 fix but we already use current_view in CutAndPaste so we will remove
8242 all of it's using at the same time.
8244 * buffer.C (sgmlError): deactivated function till it is rewritten in
8245 the right mode, now it can create problems.
8247 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8248 before accessing it.
8250 2002-03-14 Juergen Vigna <jug@sad.it>
8252 * undo_funcs.C (textHandleUndo): do the right thing when updating
8253 the inset after the undo/redo.
8255 * text2.C (setCursor): just some testcode for #44 not ready yet.
8257 * undo_funcs.C (textHandleUndo): set the next() and previous()
8258 pointers of the paragraph to 0 before deleting otherwise we have
8259 problems with the Paragraph::[destructor].
8261 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8262 on a paragraph insertion.
8264 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8266 * buffer.C (asciiParagraph): use += operator for char append to
8269 * paragraph.C (getFontSettings): compare >= not just >
8270 (highestFontInRange): ditto
8273 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8275 * paragraph.C: change several algorithm to be more appripriate for
8276 the problem domain. This is lookip in FontList and in the InsetList.
8278 2002-03-13 André Pönitz <poenitz@gmx.net>
8281 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8283 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8288 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8290 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8292 * Painter.C (display): anon helper function, adjust code for this
8294 (pixmap): remove function.
8296 * Painter.h: remove private display variable.
8298 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8300 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8302 * WorkArea.[Ch]: remove figinset_canvas cruft.
8304 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8306 * lyxtextclass.C (operator): add one item cache optimization.
8308 * bufferlist.h: doxy changes
8310 * bufferlist.C: ws changes
8312 * DepTable.[Ch] (ext_exist): place const in the right spot.
8314 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8316 (workAreaExpose): call resizeInsets when the with BufferView changes.
8317 (Dispatch): adjust for protectedBlank removal
8318 (specialChar): call updateInset if the insert went ok.
8320 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8321 specialChar instead.
8323 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8325 * BufferView.h: doxy change
8327 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8329 * lyxtextclass.C (operator[]): remove non-const version
8330 (defaultLayout): remove non-const version
8332 2002-03-12 Juergen Vigna <jug@sad.it>
8334 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8335 did resize the LyXText too.
8337 * buffer.C (readLyXformat2): set layout information on newly allocated
8340 * tabular.C (OldFormatRead): set layout information on the paragraph.
8342 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8344 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8346 2002-03-11 Juergen Vigna <jug@sad.it>
8348 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8350 (resizeCurrentBuffer): force also the insets to resize themselfes.
8351 (moveCursorUpdate): fixed up for InsetText.
8353 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8356 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8357 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8358 value of Dialogs::tooltipsEnabled().
8359 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8361 2002-03-08 Juergen Vigna <jug@sad.it>
8363 * BufferView_pimpl.C (updateInset): update inset inside inset also
8364 if it isn't inside theLockingInset().
8366 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8368 * buffer.C (asciiParagraph): redo some of the word and line length
8370 (getLists): look for Caption instead of caption.
8372 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8374 * buffer.C (Buffer): initialize niceFile to true
8377 (makeDocBookFile): make sure niceFile is true on exit
8379 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8383 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8385 * LyXSendto.C: remove.
8386 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8387 * lyx_gui.C: remove now-redundant comment.
8388 * ColorHandler.h: remove forward declaration of class WorkArea.
8389 * lyxfunc.C: remove #include "WorkArea.h".
8391 2002-03-07 Juergen Vigna <jug@sad.it>
8393 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8394 got moved away with the DEPM and also set the inset_owner always
8395 right which before could have been omitted.
8397 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8399 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8400 wanted layout is not found.
8402 2002-03-07 Juergen Vigna <jug@sad.it>
8404 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8406 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8408 * paragraph.C (breakParagraph): use default layout not layout of
8410 (Paragraph): clear ParagraphParameters.
8412 2002-03-06 Juergen Vigna <jug@sad.it>
8414 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8415 otherwise it would not be a valid lenght. Fixed a special case in
8416 the minipage compatibility read where we end the document with a
8419 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8420 was set as it could be 0 for InsetTexts first entry.
8422 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8424 * paragraph.C (writeFile): if layout is empty write out
8425 defaultLayoutName().
8427 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8428 file without named layout we set layout to defaultLayoutName().
8430 2002-03-06 Juergen Vigna <jug@sad.it>
8432 * CutAndPaste.C (copySelection): set layout for new paragraph.
8434 * text.C (prepareToPrint): leave ERT inset left aligned
8435 (leftMargin): don't indent paragraphs inside ERT insets
8437 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8439 * paragraph.C (breakParagraph): dont call clear do the work manually
8441 * paragraph.[Ch] (clear): remove function
8443 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8445 * paragraph.C (Paragraph): dont call clear, the work has already
8448 * lyxtextclass.C (operator): assert if n is empty
8450 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8451 work manually instead.
8453 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8455 * BufferView_pimpl.C: protect selectionLost against text == 0
8457 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8459 * text.C (breakParagraph): fix a setting layout to '0' problem.
8461 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8463 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8464 final location of file, for the included files, and graphics.
8466 2002-03-05 Juergen Vigna <jug@sad.it>
8468 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8470 2002-03-04 Juergen Vigna <jug@sad.it>
8472 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8474 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8475 last column of multicolumn cells.
8476 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8478 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8480 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8481 file if it doesn't go to a temporary file.
8483 * buffer.C (sgmlOpenTag):
8484 (sgmlCloseTag): remove extra newline insertion.
8486 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8488 * text.C (getRowNearY): comment out debug msg
8490 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8492 * text2.C: first -> first_y
8494 * text.C (getRowNearY): add some attemts at a possible
8495 optimization, not working.
8497 * tabular.[Ch]: add BufferParams to several function so that newly
8498 created paragraph can be initialized to he default layotu for the
8501 * tabular-old.C (ReadOld): add buf->params to call of Init
8503 * screen.C: rename text->first to text->first_y
8505 * paragraph.C (breakParagraph): always set layout in the broken
8508 * lyxtextclass.C (Read): remove lowercase
8511 (delete_layout): ditto
8513 * lyxtext.h: rename first -> first_y
8515 * lyxlayout.C (Read): remove lowercase
8518 (obsoleted_by): ditto
8520 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8522 * buffer.C (insertErtContents): add params are to InsetERT
8523 (parseSingleLyXformat2Token): add code to check if a paragraphs
8524 layout really exist.
8525 (parseSingleLyXformat2Token): add params to several inset
8527 (asciiParagraph): remove lowercase, do the layout comparisons with
8530 * BufferView_pimpl.C (cursorNext): first -> first_y
8531 (resizeCurrentBuffer): first -> first_y
8532 (updateScrollbar): first -> first_y
8533 (scrollCB): first -> first_y
8534 (workAreaMotionNotify): first -> first_y
8535 (workAreaButtonPress): first -> first_y
8536 (checkInsetHit): first -> first_y
8537 (cursorPrevious): first -> first_y
8538 (cursorNext): first -> first_y
8539 (Dispatch): add buffer_->params to severl inset contructors
8541 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8543 * lyxlayout.C (Read): remove some debug info that I forgot.
8545 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8546 clean up the code slightly.
8547 (makeLinuxDocFile): ditto
8548 (makeDocBookFile): ditto
8550 * text2.C: layout as string
8552 * text.C: layout as string
8554 * paragraph_pimpl.C: layout as string
8556 * paragraph.[Ch]: layout as string
8558 * lyxtextclasslist.[Ch]: layout as string
8560 * lyxtextclass.[Ch]: layout as string
8562 * lyxtext.h: layout as string
8564 * lyxlayout.[Ch]: layout as string
8566 * lyx_cb.C: layout as string
8568 * bufferview_funcs.C: layout as string
8570 * bufferparams.C: layout as string
8572 * buffer.C: layout as string
8574 * LyXView.[Ch]: layout as string
8576 * LaTeXFeatures.[Ch]: layout as string
8578 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8580 * BufferView_pimpl.C: change current_layout to string, remove
8585 (workAreaButtonRelease): layout as string
8587 * BufferView2.C (unlockInset): adjust
8589 * vspace.C (asLatexCommand): use an explict temp variable.
8591 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8593 * Makefile.am: use FRONTEND_*
8595 2002-03-01 Juergen Vigna <jug@sad.it>
8597 * tabular.C (SetWidthOfMulticolCell): changed to something better
8598 I hope but still work in progress.
8599 (recalculateMulticolumnsOfColumn): renamed function from
8600 recalculateMulticolCells as it is more appropriate now.
8601 (SetWidthOfCell): calculate multicols better.
8603 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8605 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8607 * lyxfunc.C (processKeySym): print sequence also if it is
8608 `deleted' (complete)
8610 * kbsequence.C (print): print sequence even if it is deleted
8611 (complete would be a better word, actually).
8613 * lyxfunc.C (dispatch): print complete options after a prefix key
8615 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8617 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8619 * text2.C (setCharFont): eliminate setCharFont code duplication.
8621 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8623 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8624 LFUN_TABULAR_FEATURE (bug #177)
8626 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8628 * Makefile.am: remove figure.h
8630 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8632 * Bufferview_pimpl.C:
8644 * text2.C: remove #include "lyx_gui_misc.h".
8646 * LaTeX.C: added #include <cstdio>
8648 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8651 that the paragraph following this one can have.
8653 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8655 * vspace.C (asLatexCommand): fix bogus gcc warning
8657 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8659 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8661 * text2.C (setLayout): get rid of redundant code
8663 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8665 * text2.C (incDepth): make sure depth cannot be increased beyond
8668 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8670 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8671 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8673 * PainterBase.h (image):
8674 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8677 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8681 * BufferView_pimpl.C:
8682 * BufferView_pimpl.h:
8702 * sp_spell.C: remove fig inset, and the crap house of
8703 cards that follows it
8705 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8711 * nt_defines.h: move .h into support/
8713 * vms_defines.h: remove
8715 * WorkArea.C: add space in debug output
8719 * buffer.C: add WITH_WARNINGS
8723 * bufferlist.C: s/retrive/retrieve/, add docs
8734 * lyxgui.C: add ID to X error handler
8736 * lyxtestclass.c: fix typo
8738 2002-02-26 Juergen Vigna <jug@sad.it>
8740 * tabular_funcs.C (write_attribute): changed so that some default
8741 attributes are not written at all.
8742 (getTokenValue): set default values before trying to read the
8743 value so we have the return value always set as default if we don't
8744 find the token we search for.
8746 * tabular.C (Write): write bools as bools not as strings!
8748 2002-02-22 Juergen Vigna <jug@sad.it>
8750 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8751 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8753 * text.C (leftMargin): don't add an indent for paragraphs inside
8754 tabular cells (fix #208).
8756 2002-02-21 José Matos <jamatos@fep.up.pt>
8758 * tabular.C (docBook): fixed support for long tables.
8760 2002-02-20 Juergen Vigna <jug@sad.it>
8762 * text2.C (getFont): get the drawing font of the Inset if this
8763 paragraph is inside an inset (only important for InsetERT for now).
8765 * buffer.C (insertErtContents): use new lanugage params in ERT
8768 * CutAndPaste.C: commenting out seemingly uneeded code.
8770 2002-02-19 Allan Rae <rae@lyx.org>
8772 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8773 Iterators might be simple to use but they also get invalidated.
8774 (removeAutoInsets): renamed saved cursor tracking variables and added
8775 some comments to clarify what everything does.
8777 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8784 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8785 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8788 * vc-backend.h: remove #include "support/syscall.h"
8792 * converter.C: rearrange #includes in Lars' approved fashion.
8794 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8795 forward declare class Timeout in the header file.
8797 * XFormsView.C: changes due to the above.
8799 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8802 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8803 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8805 2002-02-18 José Matos <jamatos@fep.up.pt>
8807 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8810 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8812 * a lot of small ws changes
8813 * add a lot of using std::XXX
8814 * use std construcs some places where approp.
8815 * use some exisint stuff from lyxfunctional where approp.
8816 * Make file changes to use partial linking (lets test this now...)
8818 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8822 remove #include "support/syscontr.h" as it's redundant. Always has been.
8830 change Systemcalls::System to Systemcalls::Wait and
8831 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8832 No change of functionality, just reflects the stripped down Systemcalls
8835 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8837 * debug.[Ch]: add a GRAPHICS type to the enum.
8839 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8841 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8843 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8846 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8848 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8849 match the changes below.
8851 * text2.C (toggleInset): if there is not editable inset at cursor
8852 position, try to see if cursor is _inside_ a collapsable inset
8855 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8857 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8858 document menu has a nice checkbox
8860 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8862 * lyxlength.C (asLatexString): change PW to output as percent of
8865 * lengthcommon.C: change '%' to 't%'
8867 * lyxfunc.C (dispatch): a few comments from Martin
8869 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8873 * BufferView_pimpl.h:
8874 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8877 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8879 * vspace.C (inPixels): fix compiler warning
8881 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8883 * lyxfunc.C (getStatus): fix status message for disabled commands.
8885 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8887 * BufferView_pimpl.C: fix crash on close buffer
8888 during selection (#227)
8890 2002-01-27 Herbert Voss <voss@lyx.org>
8892 * buffer.C: link old Figure to new graphic inset
8894 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8896 * FontLoader.C (getFontinfo): Change the latex font names in order
8897 to match the names of type1inst.
8899 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8901 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8903 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8906 (remove_files_with_extension): ditto
8907 (remove_file): ditto
8910 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8911 document is smaller than the work area height. Do not initialize
8912 static variables to 0.
8914 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8916 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8918 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8919 LFUN_LAYOUT_PARAGRAPHS.
8921 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8922 tabular. It is possible to provide a possible cell, which will
8923 typically be the actcell from the corresponding insettabular
8925 * lyxfunc.C (getStatus): small cleanup; disable
8926 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8929 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8933 * paragraph.C (startTeXParParams):
8934 (endTeXParParams): new methods. The LaTeX code to
8935 start/end paragraph formatting
8936 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8937 empty (fixes bug #200)
8939 * vspace.C (inPixels): adapt to the change below
8940 (inPixels): [later] more cleanups (remove unused variables)
8942 * lyxlength.C (inPixels): change to use a width and a height as
8945 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8947 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8948 Replaced with \paperwidth
8950 * DepTable.C (insert): add std:: qualifier
8952 2002-01-18 Allan Rae <rae@lyx.org>
8954 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8957 * text.C (drawInset): Turned out I didn't know enough about how
8958 rebreaking worked. This fixes most of the redraw problems. I see
8959 an occasional cursor trail when a line is broken now and the cursor
8960 placement can seem out by a few pixels also after a rebreak.
8962 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8964 * buffer.C (parseSingleLyXformat2Token): update because minipage
8965 width is now a LyXLength
8967 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8969 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8972 2002-01-17 Juergen Vigna <jug@sad.it>
8974 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8976 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8977 is set correctly and the inset is updated correctly.
8979 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8981 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8982 the beginning of the loop.
8984 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8986 * lyxrc.C: improve help for use_scalable_fonts
8988 2002-01-17 Allan Rae <rae@lyx.org>
8990 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8992 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8994 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8995 make sure to set their inset_owner to the right value (bug #171)
8997 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9000 * DepTable.C: Implement mtime checking to reduce time spent doing
9003 2002-01-16 Juergen Vigna <jug@sad.it>
9005 * tabular.C (GetAdditionalHeight): one of error fixed.
9007 * lyxrc.C (output): small fix in writing use_pspell.
9009 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9011 * sp_base.h: #include LString.h
9013 2002-01-16 Allan Rae <rae@lyx.org>
9015 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9016 Can someone check this please?
9018 * text.C (drawInset): It was possible that p.row would be removed by
9019 breakAgainOneRow upsetting a few other settings. There may be another
9020 small tweak possible by setting need_break_row = 0 when p.row has been
9021 removed but I don't know enough about the logic here.
9023 2002-01-15 Allan Rae <rae@lyx.org>
9025 * text.C (insertChar): removed conditional truism.
9027 * BufferView2.C (removeAutoInsets): More tweaks.
9028 cur_par_prev could be a stray pointer. Check for trailing empty line
9029 in case last line was cur_par and only had an error inset on it.
9031 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9033 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9036 * vc-backend.C (most methods):
9037 * exporter.C (Export):
9038 * converter.C (convert):
9040 * LyXSendto.C (SendtoApplyCB):
9041 * lyxfunc.C (dispatch):
9045 * lyx_cb.C (AutoSave):
9047 * BufferView_pimpl.C (MenuInsertLyXFile):
9048 * buffer.C (runChktex): use Buffer::filePath().
9050 * buffer.h: rename filename to filename_; rename filepath to
9051 filepath_ and make it private
9052 (filePath): new method
9054 * buffer.C (writeFile): use fileName()
9057 * lyx_main.C (init): fix starting of LyX when the binary is a
9058 link from so,ewhere else.
9060 * minibuffer.C: include <cctype> for isprint
9062 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9064 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9065 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9066 name clash with InsetCollapsable's width function.
9068 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * lastfiles.C: include <iterator>
9072 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9074 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9077 * buffer.C (makeLaTeXFile): ditto.
9078 Also make loop operation more transparent.
9080 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9082 * ToolbarDefaults.C: remove trailing comma closing namespace.
9084 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9086 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9089 * trans.C (Load): comment out unused variable, allowed.
9091 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9093 * minibuffer.[Ch] (append_char): new method to recieve input from the
9094 drop-down completion browser. If a key was pressed, then recieve this
9095 char and append it to the existing string.
9096 (peek_event): modify the positioning data passed to the completion
9097 browser so that it can be placed above the minibuffer rather than below.
9098 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9100 * LyXAction.C (init): alloe error-next for readonly documents.
9102 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9105 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9107 * bufferlist.C (readFile): create the buffer _after_ checking that
9110 * lyxfunc.C (verboseDispatch): fix handling of arguments
9112 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9114 * lyxrc.C: use string::erase() instead of initializing to "".
9117 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9119 * BufferView_pimpl.h:
9120 * BufferView_pimpl.C:
9123 * text2.C: tell X when we have made a selection for copying
9125 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * BufferView_pimpl.C (MenuInsertLyXFile):
9128 * lyxfunc.C (menuNew):
9130 (doImport): add shortcuts to directory buttons
9132 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9135 * lyxfunc.C (setStatusMessage):
9136 (getStatusMessage): new methods
9137 (getStatus):use setStatusMessage instead of setErrorMessage
9138 (dispatch): when function is disabled, set error message here
9139 [instead of in getStatus previously]
9141 * BufferView_pimpl.C (workAreaButtonRelease): update
9142 toolbar/menubar here too.
9144 2002-01-13 Allan Rae <rae@lyx.org>
9146 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9147 Now seems indestructible. Remaining task is to audit all other
9148 code affected by deleteEmptyParagraphMechanism. One small quirk
9149 left is that an empty document with an error in the preamble can
9150 be made to report an error but no error box appears. I don't know
9152 (removeAutoInsets): Improved comments.
9154 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9157 * Thesaurus.C: update for Aiksaurus 0.14
9159 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9161 * text2.C (firstParagraph): removed member function, all uses
9162 replaces with ownerParagraph
9163 (redoParagraphs): here
9165 (toggleAppendix): here
9166 * BufferView2.C (insertErrors): here
9167 (setCursorFromRow): here
9169 2002-01-13 Allan Rae <rae@lyx.org>
9171 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9172 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9173 There is still a way to segfault this although you may have to do this
9174 multiple times: Have an InsetERT with an unknown command in it.
9175 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9176 <down-arrow>, <Enter> again, View->DVI, BANG!
9178 * text2.C (setCursor):
9179 (deleteEmptyParagraphMechanism):
9180 * lyxtext.h (setCursor):
9181 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9182 Making use of the return value may help fix other bugs.
9184 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9186 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9188 * LyXView.C (updateMenubar): call MenuBar::update here
9189 (updateToolbar): but not here
9190 (showState): do not update toolbar/menubar
9192 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9193 should need to care about that.
9195 * lyxfunc.C (verboseDispatch): simplify a bit
9196 (getStatus): have a version which takes a pseudoaction, and
9197 another which requires a (kb_action,string).
9199 * LyXAction.C (retrieveActionArg): make it work also when action
9200 is not a pseudo-action.
9201 (getActionName): simplify a bit
9204 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9206 * lyxfunc.C (verboseDispatch): new families of methods with
9207 several ways to specify a command and a bool to indicate whether
9208 the command name and shortcut should be displayed in minibuffer
9209 (eventually, we could extend that to a finer bitmask like
9210 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9211 (dispatch): the pristine dispatch command which just, well,
9212 dispatchs! Note it still sets its result to minibuffer; I'm not
9215 * lyxfunc.h: remove setHintMessage
9217 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9219 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * BufferView_pimpl.C (specialChar): delete new inset if we have
9222 not been able to insert it.
9224 * kbmap.C: revert to using int instead of kb_action, since all we
9225 are dealing with is pseudo-actions.
9227 * LyXAction.C (searchActionArg): change to return int instead of
9228 kb_action, since the result is a pseudoaction.
9230 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9232 * buffer.C (insertErtContents): Fix (partially) the font bug.
9234 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9236 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9237 as the other one is broken on my machine!
9239 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9242 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9244 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9246 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9247 reflect their actual use. Provide compatibility code for older lyxrc
9250 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9252 change names of popup font variables in line with the changes to lyxrc.C
9254 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9256 * buffer.C (asciiParagraph): avoid outputing a word twice after
9259 * lyxrc.C (getDescription): document that document_path and
9260 template_path can be empty.
9262 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * LaTeXFeatures.C (getMacros):
9265 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9267 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9269 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9271 (getPackages): rename feature "floats" to "float". Use an array to
9272 iterate over 'simple' features (i.e. just a \usepackage). Add
9273 handling of "amsmath" (renamed from "amsstyle").
9275 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9277 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9280 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9282 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9283 FuncStaus::FuncStatus & FuncStaus::some_method().
9285 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9287 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9288 of the func_satus stuff. Edited and massaged in various ways by
9291 * lyxfunc.C (getStatus): use FuncStatus
9293 2002-01-08 Juergen Vigna <jug@sad.it>
9295 * text.C (nextBreakPoint): use function Inset::isChar().
9297 * paragraph.C (TeXOnePar): use function
9298 Inset::forceDefaultParagraphs.
9300 * buffer.C (latexParagraphs): use function
9301 Inset::forceDefaultParagraphs.
9303 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9305 * lyx_gui.C (init): set the style of the menu popups to
9306 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9308 2002-01-07 Juergen Vigna <jug@sad.it>
9310 * text.C (setHeightOfRow): small fix
9311 (prepareToPrint): don't look at alignment if we don't have the place
9314 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9316 * box.C: New file. Move the Box methods and functions out of box.h,
9317 following Lars' suggestion.
9319 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9321 * box.h: #include "support/LOstream.h", needed for inlined function.
9324 * lyxtextclasslist.C: added some using std declarations.
9326 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9328 * box.h: make signed dimensions to allow insets wider than
9329 the screen (bug #162)
9331 * BufferView_pimpl.C: add some insetHit debug
9333 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9335 * vc-backend.C: add FIXME
9337 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9339 * lyxfunc.C (getStatus): enable code for showing math font status
9342 2002-01-07 Juergen Vigna <jug@sad.it>
9344 * text.C (nextBreakPoint): removed debug output not needed anymore.
9346 2002-01-06 Juergen Vigna <jug@sad.it>
9348 * text.C (nextBreakPoint): fixed up this function we had this bug
9349 since ever but now hopefully we break row better.
9350 (insertChar): we have to check if an inset is the next char as it
9351 could now happen that a large inset is causing a break.
9353 2002-01-05 Juergen Vigna <jug@sad.it>
9355 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9356 if it doesn't like to be drawed.
9358 2002-01-04 Juergen Vigna <jug@sad.it>
9360 * BufferView2.C (lockInset): forgot to set a cursor.
9362 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9364 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9369 * form_maths_panel.C:
9370 * form_maths_panel.h:
9371 * form_maths_panel.fd: implemented sub- and super- buttons in math
9374 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9375 (or ^ space) to be used as in TeX (req'd by André).
9377 * lyxfunc.C: Allow ^ and _ again to be used both as
9378 super/subscript (mathed) and as themselves (in text).
9380 2002-01-03 Allan Rae <rae@lyx.org>
9382 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9383 "LyX" or the filename of the current buffer if it has one. This is a
9384 modified form of John Levon's patch.
9386 * XFormsView.C (setWindowTitle): also set icon title.
9388 * LyXView.h (setWindowTitle): signature changed.
9389 * XFormsView.h (setWindowTitle): ditto.
9391 2002-01-02 Juergen Vigna <jug@sad.it>
9393 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9395 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9397 * screen.C (topCursorVisible): introduce a temp var for
9398 text->cursor.row(), handle the case where this row is null. (kindo
9401 * text2.C (setCursor): add a couple of asserts.
9403 * paragraph.h (inset_iterator): add -> operator
9405 * paragraph.[Ch] (autoDeleteInsets): remove member function
9407 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9408 cursor pos correctly and handle inset deletion by itself.
9409 (insertErrors): move iterator declaration out of for expression
9411 * lyxtextclass.C: add <algorithm>
9413 * Makefile.am: added the new files to sources, removed layout.C
9415 * layout.C: removed file
9417 * layout.h: remove LYX_DUMMY_LAYOUT
9419 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9423 * lyxtextclass.[Ch]:
9424 * lyxtextclasslist.[Ch]: new files
9426 * include order changes to a lot of files, also changes because of
9429 2001-12-27 Juergen Vigna <jug@sad.it>
9431 * buffer.C (asciiParagraph): more fixes.
9433 * tabular.C (ascii): make ascii export support export of only the
9434 data separated by a column-delimiter.
9435 (ascii): better support for ascii export.
9437 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9439 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9441 * tabular_funcs.C: use a "using std::getline" instead of the
9442 previous fix from Angus (necessary for cxx + lyxstring)
9444 2001-12-24 Juergen Vigna <jug@sad.it>
9446 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9448 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9449 problems. First check a minipage also if we have some ert-contents
9450 (not only on par->size(), second set the right depth of the paragraph
9451 on the relink to the root-paragraph-list!
9453 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9454 which then did not anymore update the main paragraphs on undo/redo!
9456 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9458 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9459 code. Support all font-changing funcs (even those which are not in
9460 menu currently). Support for reporting font settings in
9461 mathed (disabled until Andre provides a function on mathed's side).
9463 * func_status.h (toggle): small helper function to set toggle
9466 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9468 * tabular_funcs.C: getline -> std::getline
9470 2001-12-21 Juergen Vigna <jug@sad.it>
9472 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9473 accessed and could be 0 (I couldn't generate this but it seems
9476 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9479 * tabular_funcs.h: here and include iosfwd
9481 2001-12-20 Juergen Vigna <jug@sad.it>
9483 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9484 inside inset but undo_par was.
9486 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9488 * Thesaurus.C: always include <config.h> in sources.
9492 * box.h: do not include <config.h> in header files
9494 * text.C (paintLastRow): remove unused variable
9496 * text.C (transformChar):
9498 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9501 * font.C (width): rewrite to use uppercase() instead of
9504 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9506 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9508 * lyxfind.C: clean up of find failure position change
9510 2001-12-20 Juergen Vigna <jug@sad.it>
9512 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9514 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9515 (TeXRow): added to LaTeX a single tabular row.
9516 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9517 (Latex): simplified and finally good LT-h/f support.
9518 (various_functions): just small adaptions for LT-h/f support.
9520 * tabular_funcs.[hC]: added and moved here all not classfunctions
9523 2001-12-19 Juergen Vigna <jug@sad.it>
9525 * tabular.[Ch]: better support for longtabular options (not finished
9528 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9530 * text.C (paintLastRow): use the label font instead of the font of
9531 the last character to compute the size of *_BOX. This makes more
9532 sense and avoids a crash with empty paragraphs.
9533 Use Painter::rectangle to draw EMPTY_BOX.
9535 2001-12-19 Juergen Vigna <jug@sad.it>
9537 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9538 the paragraphs if the replaced paragraph is not the first one!
9539 Tried to delete not used paragraphs but does not work yet so for
9540 now it's inside #ifdef's and by default off!
9542 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9544 * MenuBackend.C: include "lyx_main.h" instead of declaring
9545 lastfiles (actually was declared as LastFiles* instead of a
9548 2001-12-17 Juergen Vigna <jug@sad.it>
9550 * tabular.C (AppendColumn): applied John's fix
9552 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9556 * BufferView_pimpl.h:
9557 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9560 * box.h: new start of class for above
9562 * lyxfunc.C: ignore space-only minibuffer dispatches.
9563 Show the command name when it doesn't exist
9565 * minibuffer.C: don't add empty lines to the history
9567 * minibuffer.C: add a space on dropdown completion
9569 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9571 * text.C: fix line above/below drawing in insets
9573 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * lyxlength.C (LyXLength): Initialize private variables.
9577 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9579 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9580 when inserting error insets.
9582 2001-12-13 Juergen Vigna <jug@sad.it>
9584 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9585 actually sometimes the before-paragraph.
9586 (setUndo): don't clear the redostack if we're not actually undoing!
9588 2001-12-06 Juergen Vigna <jug@sad.it>
9590 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9591 and fixed redoing of main paragraph, so we can use it now ;)
9593 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9595 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9600 2001-12-13 André Pönitz <poenitz@gmx.net>
9603 * undo_func.C: minor cleanup
9605 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9607 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9608 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9609 font in urw-fonts package which is marked as -urw-fontspecific and
9610 does not work (incidentally, changing the encoding in the
9611 fonts.dir of this package to -adobe-fontspecific fixes the
9614 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9615 is a crash when undoing first paragraph (Juergen, please take a
9616 look). THis does not mean the undo fix is wrong, just that it
9619 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9620 the (Paragraph*) version when needed instead of duplicating the
9623 * text.C (workWidth): use Inset::parOwner to find out where the
9624 inset has been inserted. This is a huge performance gain for large
9625 documents with lots of insets. If Inset::parOwner is not set, fall
9626 back on the brute force method
9628 * paragraph_pimpl.C (insertInset):
9629 * paragraph.C (Paragraph):
9630 (cutIntoMinibuffer): set parOwner of insets when
9631 inserting/removing them
9633 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9635 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9641 * mathed/formulabase.C:
9642 * mathed/math_cursor.[Ch]:
9643 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9646 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9648 * lyxlength.[Ch] (operator!=): new function
9650 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * text.C (workWidth): use Inset::parOwner to find out where the
9653 inset has been inserted. This is a huge performance gain for large
9654 documents with lots of insets. If Inset::parOwner is not set, fall
9655 back on the brute force method
9657 * paragraph_pimpl.C (insertInset):
9658 * paragraph.C (Paragraph):
9659 (cutIntoMinibuffer): set parOwner of insets when
9660 inserting/removing them
9662 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9664 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9666 * tabular-old.C (getTokenValue):
9667 * tabular.C (getTokenValue):
9668 (write_attribute): new versions for LyXLength
9669 (everywhere): adjust the use of widths
9671 * tabular.h: change the type of widths from string to LyXLength
9673 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9675 * paragraph.C: fixed missing line number count when exporting
9676 Environments to LaTeX file
9678 * buffer.C: added informational message for checking line numbers.
9680 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9682 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9683 paragraph, do the 'double space' part, but not the 'empty
9686 * text.C (workWidth): small optimization
9687 (getLengthMarkerHeight): use minimal size for negative lengths.
9689 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9691 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9693 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9695 2001-12-11 André Pönitz <poenitz@gmx.net>
9698 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9700 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9702 * text2.C: keep selection on a setFont()
9704 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9706 * lyx_cb.C: another bv->text misuse, from insert label
9708 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9711 * kbsequence.C: re-instate nmodifier mask
9713 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9715 * lyx_main.h: make lyxGUI private.
9717 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9719 * lyxfind.C: place the cursor correctly on failed search
9721 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * text.C (getLengthMarkerHeight): for small heights, the arrows
9724 are not always on top/bottom of the text
9725 (drawLengthMarker): smaller arrows; take the left margin in
9726 account; draw also vfills.
9728 (paintLastRow): remove special code for vfill and standard spaces,
9729 since everything is handled in drawLengthMarker now.
9731 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9733 * buffer.C (insertErtContents): try to handle font and language
9734 interaction a bit better.g
9736 * ColorHandler.C (updateColor): change the hash to cover the whole
9737 LColor enum, ws cleanup
9738 (getGCLinepars): ditto
9739 (getGCLinepars): only lookup in the linecache once.
9741 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9743 * iterators.C (operator++): Make the iterator more robust
9745 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9747 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9749 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9752 * text.C: better added space drawing
9754 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9757 * BufferView2.C: fix layout combo update on inset unlock
9759 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9761 * Makefile.am: don't compile unused files
9763 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9767 * LyXAction.C: remove old LFUN_LAYOUTNO
9769 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9771 * paragraph_pimpl.h:
9772 * paragraph_pimpl.C: isTextAt() doesn't need font param
9774 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9777 * lyxlex.C: little cleanup
9779 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9781 * BufferView_pimpl.C: fix insertAscii for insets
9783 2001-12-05 Juergen Vigna <jug@sad.it>
9785 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9786 set the right font on the "multi" paragraph paste!
9788 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * lyxlength.C: remove out-commented code.
9810 * vc-backend.C: change "while(" to "while ("
9812 * lyxlength.[Ch]: add zero function to check if length is zero or
9814 * lyxgluelength.C: use it
9816 2001-12-05 Allan Rae <rae@lyx.org>
9818 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9819 Works for 2.95.3, from what I understand of Garst's reports this should
9820 work for other g++ versions. We're screwed if the abs(int) definition
9821 changed between bugfix releases of gcc.
9823 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9825 * text.C: fix chapter label offset !
9827 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9830 * text.C: fix hfill at end of line, clean up
9832 2001-12-04 Juergen Vigna <jug@sad.it>
9834 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9835 that we force an update of the inset and it's owners if neccessary.
9837 2001-12-03 Juergen Vigna <jug@sad.it>
9839 * text.C (rowLast): simplified code
9841 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9843 * lyxfunc.C: fix show options on timeout
9845 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * screen.C (topCursorVisible): scroll half a page when the cursor
9848 reached top of bottom of screen
9850 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9852 * minibuffer.C: deactivate on loss of focus
9854 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9856 * vspace.[Ch] (operator!=): add operator.
9858 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9860 * BufferView_pimpl.C: refuse to open an inset when
9861 there's a selection.
9863 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9865 * BufferView_pimpl.C: allow to click on RHS of full row insets
9867 2001-11-30 Juergen Vigna <jug@sad.it>
9869 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9870 insets for undo reasons.
9872 2001-11-28 André Pönitz <poenitz@gmx.net>
9874 * vspace.[Ch]: cosmetical changes
9876 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9886 * kbsequence.C: part re-write of old kb code
9889 * WorkArea.C: remove Lgb_bug_find_hack
9891 2001-11-30 José Matos <jamatos@fep.up.pt>
9893 * buffer.C (makeDocBookFile): add a comment to point a hack.
9894 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9895 Fixed a double write of labels.
9897 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9900 * LaTeX.h Fixed bug in LaTeX class where it would not
9901 re-run latex if no depfiles were changed, but the .dvi was removed.
9903 2001-11-28 André Pönitz <poenitz@gmx.net>
9905 * all the files from the change on 2001/11/26:
9906 use lyx::layout_type instead of LyXTextClass::size_type
9907 use lyx::textclass_type instead of LyXTextClassList::size_type
9909 2001-11-29 Juergen Vigna <jug@sad.it>
9911 * text.C: added support for paragraph::isFreeSpacing()
9913 * buffer.C: same as above
9915 * paragraph.h: inserted isFreeSpacing() function to enable
9916 FreeSpacing inside InsetERT.
9918 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9919 of the paragraph's in the cut/copy buffer to 0!
9921 * text2.C (removeRow): remove the assert as it can!
9923 * lyxtext.h: added helper function firstRow returning firstrow and
9924 made firstrow private again.
9926 * BufferView2.C (lockInset): don't relock if we're already locked!
9928 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9930 (removeRow): added Assert::(firstrow)
9932 * debug.C: forgot to add INSETTEXT here.
9934 2001-11-28 Juergen Vigna <jug@sad.it>
9936 * sp_spell.C (initialize): changed error text to more general
9937 spellchecker command use (not only ispell!)
9939 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9941 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9943 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9945 * vspace.C: initialise lyxgluelength on failure
9947 2001-11-28 Allan Rae <rae@lyx.org>
9949 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9950 declaration & definition that looks like a function declaration.
9952 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9954 * BufferView2.C (copy):
9955 (copyEnvironment): do not clear the selection when doing a copy.
9957 * text.C (paintFirstRow): compilation fix
9959 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9961 * tabular.C (Latex): correct line count when writing latex.
9963 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9965 * paragraph_pimpl.h:
9966 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9969 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9973 * LColor.C: change vfillline->added_space
9975 * text.C: add markers and text for added space
9977 * vspace.C: fix comment
9979 2001-11-28 André Pönitz <poenitz@gmx.net>
9981 * paragraph.C: whitespace changes
9982 * all the other files from the change on 2001/11/26:
9983 change *::pos_type into lyx::pos_type
9985 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9987 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9988 language of the document when inserting error insets.
9990 2001-11-26 André Pönitz <poenitz@gmx.net>
9992 * BufferView_pimpl.[Ch]:
10000 * paragraph_pimpl.[Ch]:
10003 * text2.C: reduce header dependencies, introduce type for positions
10005 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10007 * <various>: change to use Alert.h
10009 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10011 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10012 when encountering an unknown token.
10013 (readLyXformat2): Show an error message if there were unknown tokens.
10015 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10018 * BufferView_pimpl.C:
10022 * text2.C: use par->isInset()
10024 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10026 * paragraph_pimpl.h:
10027 * paragraph_pimpl.C: cleanup
10029 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10031 * text2.C (removeRow):
10032 * text.C (setHeightOfRow): remove useless (and costly) call to
10035 2001-11-20 Allan Rae <rae@lyx.org>
10037 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10038 Now need Inset*::checkInsertChar() to return true for appropriate
10039 cases so that the characters in the minibuffer will actually be
10042 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * text.C: change the order of the includes.
10045 (workWidth): initialize it at once.
10046 (workWidth): make maxw unsigned
10047 (setHeightOfRow): remove unused variable (inset)
10048 (selectSelectedWord): remove unused variable (inset)
10049 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10051 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10054 server is not running.
10056 (closeConnection): add debug info when server is disabled.
10058 * ColorHandler.C (getGCForeground): send debug message to GUI
10061 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10063 * kbmap.C (bind): modify because return conventions of
10064 kb_sequence::parse have changed.
10066 * kbsequence.C (parse): only ignore spaces and not any stupid
10067 control character. This avoids tests like s[i] <= ' ', which are
10068 guaranteed to fail with 8bit characters and signed chars.
10069 Change return code to string::npos when there have been no error
10070 (0 was a bad idea when error is at first character)
10072 2001-11-14 José Matos <jamatos@fep.up.pt>
10075 * buffer.C (simpleDocBookOnePar): removed unused argument.
10077 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10079 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10080 insets which are part of a word. Paragraph::isLetter takes care of
10081 that now. Use Paragraph::isInset to identify insets.
10082 (selectSelectedWord): do not test for hyphenation break.
10084 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10085 that protected spaces are considered as spaces.
10087 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10090 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10093 * lyxserver.C: fix it. and small cleanup.
10095 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10097 * BufferView_pimpl.C: use inline helpers
10100 * LaTeXFeatures.C: fix typos
10103 * Spacing.C: move spacing_string into class
10105 * ToolbarDefaults.C: move stuff into namespace anon
10107 * layout.h: update enum
10109 * lyxfunc.C: use better debug
10111 * minibuffer.h: fix typo
10115 * WorkArea.C: add and use Debug::WORKAREA
10119 * text2.C: code re-organisation, inline helpers
10121 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10123 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10124 std::vector.empty().
10126 2001-11-09 Allan Rae <rae@lyx.org>
10128 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10129 '\n's after tables. Tabular and ERT inset work now makes this no
10132 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10135 * minibuffer.C: fix crash, improve drop-down completion
10137 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10140 * lyxserver.C: invalidate fd's when doing endPipe()
10142 2001-11-08 José Matos <jamatos@fep.up.pt>
10144 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10145 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10148 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10150 2001-11-07 José Matos <jamatos@fep.up.pt>
10153 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10156 * buffer.C (sgmlOpenTag):
10157 * buffer.C (sgmlCloseTag): removed debug info.
10159 * buffer.h (sgmlOpenTag):
10160 * buffer.h (sgmlCloseTag): made public.
10162 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10164 * buffer.C (saveParamsAsDefaults):
10165 * lyx_cb.C (MenuLayoutSave): remove
10167 * LyXAction.C (init):
10169 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10171 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10173 * buffer.C (setPaperStuff): removed from here...
10175 * bufferparams.C (setPaperStuff): ... and moved there.
10177 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10181 * XFormsView.C: add support for drop-down completion
10183 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10185 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10188 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10190 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10193 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10195 * lyx_main.C: change ref to known bugs
10197 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10199 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10200 to work around older babel problems.
10202 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10204 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10206 2001-10-24 Juergen Vigna <jug@sad.it>
10208 * tabular-old.C (ReadOld): below variable changes reflected.
10210 * tabular.[Ch]: added ltType struct for longtable header/footer
10211 defines and changed all instances where they are used. Added
10212 future support for double top/bottom rows.
10214 2001-10-24 José Matos <jamatos@fep.up.pt>
10216 * buffer.h (docbookHandleCaption):
10217 * buffer.C (docbookHandleCaption): removed unused function.
10218 (makeDocBookFile): moved docbook supported version to v4.1.
10220 2001-10-24 José Matos <jamatos@fep.up.pt>
10223 * tabular.C (docbookRow): new function to export docbook code of a row.
10224 (DocBook): now honors the longtable flags.
10226 2001-10-23 José Matos <jamatos@fep.up.pt>
10229 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10230 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10232 * buffer.C (makeLinuxDocFile):
10233 (makeDocBookFile): reworked the preamble, more clean, and with
10234 support for lyx defined entities. Changed the document declaration
10235 to be more XML friendly.
10237 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10238 if we need to output XML that should be done with a filter.
10240 2001-10-22 Juergen Vigna <jug@sad.it>
10242 * sp_pspell.h (class PSpell): add alive function needed in the
10243 controller to see if the spellchecker could be started.
10245 2001-10-22 Juergen Vigna <jug@sad.it>
10247 * buffer.C (insertStringAsLines): modify the font for inserting
10248 chars in certain conditions by calling checkInsertChar(font).
10250 2001-10-19 Juergen Vigna <jug@sad.it>
10252 * text.C (workWidth): use getRow instead of wrong algorithm.
10253 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10255 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10260 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10262 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10264 * text.C (workWidth): do not search for the exact row when
10265 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10266 optimization for big documents.
10268 2001-10-18 Juergen Vigna <jug@sad.it>
10270 * text.C (workWidth): new function with added Inset * parameter.
10272 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10274 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10276 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10277 change return type of getColumnNearX.
10280 * text.C (changeRegionCase): use uppercase/lowercase instead of
10283 (rightMargin): simplify code by factoring out the uses of
10288 (appendParagraph): use Paragraph::size_type
10290 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * vspace.C (asLatexString): add a missing break
10294 2001-10-15 Herbert Voss <voss@perce.de>
10296 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10298 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10300 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10303 2001-10-10 André Pönitz <poenitz@gmx.net>
10305 * lyxfunc.C: removed greek_kb_flag.
10307 2001-10-10 Herbert Voss <voss@perce.de>
10309 * lyx_main.C: delete global string help_lyxdir.
10311 2001-10-09 Herbert Voss <voss@perce.de>
10313 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10315 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10317 * lyx_main.C: added global string help_lyxdir.
10319 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10321 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10323 * lyxrc.C (set_font_norm_type): support iso8859-4
10325 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10327 * LaTeX.C (deplog): add another regex for MikTeX
10329 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10331 * lyxrc.C (set_font_norm_type): support iso8859-3
10333 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10335 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10337 * LaTeXFeatures.C: remove special case of french and index
10339 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10340 before \begin{document}). This solves several incompatibilities.
10342 2001-10-03 Garst Reese <reese@isn.net>
10344 * lyx_cb.C: change CheckTex error msg.
10346 2001-10-03 José Matos <jamatos@fep.up.pt>
10348 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10350 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10352 * .cvsignore: update
10354 * lyx_main.C (commandLineVersionInfo): use new style version info.
10356 * buffer.C (writeFile):
10358 (makeLinuxDocFile):
10359 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10361 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10363 * version.h: update to use stuff in version.C
10365 * version.C.in: new file. Contains version information determined
10366 at compile time. This is a merging of version.h and
10369 2001-10-03 Juergen Vigna <jug@sad.it>
10371 * BufferView_pimpl.C (update): don't change "dirty" status in
10374 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10376 * WorkArea.C (c-tor): re-position version string slightly.
10378 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10380 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10381 revert to previous code.
10383 WorkArea.[Ch]: (show, destroySplash): methods removed.
10385 WorkArea.C: rework code so that it's an amalgam of the codes before and
10386 after the splash screen was moved to WorkArea.
10388 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10391 * vspace.C (inPixels):
10394 * buffer.C (insertStringAsLines):
10395 (asciiParagraph): fix types to be large enough
10397 * lyxlex_pimpl.h: change member status from short to int
10399 * layout.h: fix type of endlabeltype
10402 * kbsequence.C (parse): change return type to string::size_type
10404 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10407 * Bullet.C (bulletSize):
10408 (bulletEntry): do not use short ints as parameters
10410 * BufferView2.C (insertLyXFile): change a char to an int.
10412 * WorkArea.C (WorkArea): remove unneeded floats in computation
10414 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10416 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10418 * paragraph.C (asString): Do not ignore newline/hfill chars when
10419 copying to the clipboard.
10421 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10423 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10424 after a multi-line inset.
10426 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10428 * paragraph.C (validate): Set NeedLyXFootnoteCode
10430 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10432 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10433 and decrease-error to decrease.
10435 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10437 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10438 it more readable (should be equivalent)
10440 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10442 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10444 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10446 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10447 of a cursor (row, etc.) after a character has been deleted
10448 (deleteEmptyParagraphMechanism): call the method above on _all_
10449 cursors held by the LyXText when a double space has been
10452 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10454 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10456 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10458 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10459 background. Use greyOut() and the new show() methods to toggle between
10460 the foreground and background. Add code to remove the splash after
10461 its initial showing.
10463 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10464 (create_forms): no longer call Dialogs::showSplash.
10466 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10468 * .cvsignore: add version_info.h
10470 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10472 * version_info.h.in: new file
10474 * Makefile.am: add version_info.h.in
10476 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10477 version_info.h instead of VERSION_INFO
10479 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10481 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10482 The ERT inset now returns string().
10484 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10486 * lyxtext.h, text.C (selectNextWord): renamed as
10487 selectNextWordToSpellcheck.
10489 * text.C (selectNextWordToSpellcheck): Modified to not select
10490 words inside an ERT inset.
10492 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10494 * lyx_cb.C (MenuLayoutSave): change a bit the question
10496 * sp_base.h: include <sys/types.h>
10498 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10500 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10502 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10504 * several files: fix typos in user-visible strings
10506 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10508 * text2.C (pasteSelection): do not set the selection, since it
10509 will be cleared later. Actually, the intent was to fix the way the
10510 selection was set, but I figured rmoving the code was just as good.
10512 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10514 * FontLoader.C (available): Check if font is available without
10517 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10519 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10521 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10523 * lyxrc.[Ch]: added display_graphics variable and associated code.
10525 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10527 * bufferparams.C (hasClassDefaults): new method. Returns true if
10528 the buffer parameters correspond to known class defaults
10530 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10532 * XFormsView.C (show): set minimum size to the main window.
10534 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10536 * text2.C (copySelection):
10538 * lyxfind.C (LyXReplace):
10539 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10540 LyXText::selectionAsString.
10542 * paragraph.C (asString): add "label" argument to the second form
10544 * text2.C (selectionAsString): add "label" argument and pass it to
10545 Paragraph::asString.
10547 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10549 * lyx_main.C (commandLineHelp): remove version information
10551 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10553 * lyx_main.C: add -version commandline option
10555 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * paragraph.h: make the optional constructor arg required instead.
10558 some modifications to other files because of this.
10560 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10562 * lyxserver.C (C_LyXComm_callback): make it static
10564 * lyx_main.C (error_handler): make it static
10566 * lyx_gui.C (LyX_XErrHandler): make it static
10568 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10570 * WorkArea.C: make the extern "C" methods static.
10572 * Makefile.am (lyx_LDADD): simplify
10574 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10576 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10577 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10579 * LyXAction.C (init):
10580 * lyxfunc.C (dispatch): associated code removal.
10582 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10584 * lyxfont.h (isSymbolFont): shut off warning
10586 * text.C (setHeightOfRow):
10587 (getVisibleRow): fix crash with empty paragraphs which have a
10590 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10592 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10595 2001-09-04 José Matos <jamatos@fep.up.pt>
10598 * tabular.C (docbook): rename docBook method to docbook.
10600 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10602 * Makefile.am: add dependencies to main.o.
10604 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10606 * FontLoader.C (available): Return false if !lyxrc.use_gui
10608 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10610 * FontInfo.C (query):
10611 * converter.C (view):
10612 * importer.C (Import):
10613 * exporter.C (Export): Can not -> cannot.
10615 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10617 * BufferView_pimpl.C: allow to create index inset even if
10620 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10622 * buffer.C (getLists): replace boost::tie code with an explicit pair
10623 as boost::tie can break some compilers.
10625 * iterators.h: Added a std:: declaration to the return type of
10628 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10630 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10633 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10635 * iterators.[Ch]: New files. Provide paragraph iterators.
10637 * buffer.C (changeLanguage): Use paragraph iterators.
10638 (isMultiLingual): ditto
10640 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10642 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10644 * FontLoader.C: Support for cmr font.
10646 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10648 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10649 (available): New method.
10651 * FontInfo.C (getFontname): Use scalable fonts even when
10652 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10655 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10657 * converter.C (Formats::view): reverted! Incorrect fix.
10659 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10661 * converter.C (Formats::view): only output the -paper option
10662 if the dvi viewer is xdvi, thereby fixing bug #233429.
10664 2001-08-23 Herbert Voss <voss@perce>
10666 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10668 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10670 * Spacing.h (Spacing): Set space to Default on in the default
10673 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10675 * vc-backend.h (RCS::versionString): add RCS to version
10676 (CVS::versionString): add CVS to version
10678 * vc-backend.C (scanMaster): do not add CVS to version.
10679 (scanMaster): do not add RCS to version
10681 * lyxvc.C (versionString): new method
10683 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10685 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10687 * Spacing.C (set): initialize fval
10689 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10691 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10694 2001-08-16 Juergen Vigna <jug@sad.it>
10696 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10698 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10700 * BufferView_pimpl.C:
10703 * text2.C: setParagraph takes linespacing now
10705 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10707 * LyxAction.C: add internal LFUN_CITATION_INSERT
10709 * LyXView.C: actually apply fix
10711 * bufferlist.C: fix open non-existent file
10713 * lyxfind.C: fix indentation
10715 * lyxfunc.C: remove unneeded assert, fix typo
10717 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10719 * MenuBackend.C: use "Floatname List"
10721 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10723 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10724 when converting LaTeX layout to insetERT.
10725 Generate a non-collapsed float when reading old float
10727 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10729 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10732 2001-08-13 Juergen Vigna <jug@sad.it>
10734 * text.C (fill): return 0 instead of 20 as this seems to be the more
10737 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10739 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10742 2001-08-13 Juergen Vigna <jug@sad.it>
10744 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10746 (SearchBackward): comment out the unlocking of the inset_owner this
10747 should not be needed!
10749 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10751 * Many files: Remove inherit_language, and add latex_language
10753 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10754 collapsible insets.
10756 2001-08-10 Juergen Vigna <jug@sad.it>
10758 * text.C (prepareToPrint): fixed hfill-width in draw!
10760 * BufferView2.C (selectLastWord): save the selection cursor as this
10761 now is cleared in the function LyXText::clearSelection!
10763 2001-08-08 Juergen Vigna <jug@sad.it>
10765 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10766 BACKSPACE type functions.
10768 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10769 is only cutted from the document but not put in the cut-buffer, where
10770 still the old stuff should be.
10772 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10774 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10776 * tabular.C (SetWidthOfCell): fixed special case where the width
10778 (LeftLine): handle '|' in align_special.
10780 (LeftAlreadyDrawed): ditto
10781 (SetWidthOfCell): ditto
10783 2001-08-07 Juergen Vigna <jug@sad.it>
10785 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10787 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10789 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10790 * lyxlex.[hC]: ditto
10792 2001-08-06 Juergen Vigna <jug@sad.it>
10794 * text.C (getVisibleRow): fix up row clearing a bit.
10796 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10798 * minibuffer.C: make sure the X server sees the changes in the input.
10800 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * paragraph.C (getFont): split into...
10803 (getLabelFont): this
10804 (getLayoutFont): and this
10805 * paragraph_pimpl.C (realizeFont): calling this
10807 * text2.C (getFont): split into...
10808 (getLayoutFont): this
10809 (getLabelFont): and this
10810 (realizeFont): all three calling this
10812 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10815 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10817 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10819 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10821 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10822 layouts from the Quote inset insertion.
10824 2001-08-03 Juergen Vigna <jug@sad.it>
10826 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10828 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10829 only if status not is already CHANGED_IN_DRAW (second level).
10831 * text.C (draw): don't set the need_break_row when inside an
10834 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10836 * buffer.C (parseSingleLyXformat2Token): handle more latex
10839 * bufferview_funcs.[hC]: change function names to
10840 begin with small char, adjust other files.
10842 2001-08-02 André Pönitz <poenitz@gmx.net>
10845 BufferView_pimpl.C: remove broken special code for math-greek
10847 2001-08-02 Juergen Vigna <jug@sad.it>
10849 * BufferView_pimpl.C (update): redone this function so that we
10850 update the text again if there was a CHANGE_IN_DRAW.
10852 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10853 (drawFromTo): added a new internal bool which is used by draw() and
10855 (general): some cursor drawing problems fixed.
10857 2001-08-01 Juergen Vigna <jug@sad.it>
10859 * lyxfind.C (LyXFind): fixed
10860 (SearchForward): ditto
10861 (SearchBackward): ditto
10863 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10864 spurius drawing of the cursor in the main area.
10866 * text2.C (status): small fix which could lead to a segfault!
10867 (clearSelection): remove unneeded BufferView param.
10869 2001-08-01 André Pönitz <poenitz@gmx.net>
10871 * lyxfunc.C: small change due to changed mathed interface
10873 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10875 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10877 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10879 * lyxfunc.c: fail gracefully if file doesn't exist
10884 * BufferView_pimpl.C: IsDirWriteable() proto changed
10886 * LyXView.C: fix updateWindowTitle() to store the last title
10888 2001-07-31 Juergen Vigna <jug@sad.it>
10890 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10891 the font (wrong since using of Paragraph::highestFontInRange).
10893 * paragraph.C (highestFontInRange): added a default_size parameter.
10895 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10896 (setHeightOfRow): reformat
10898 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10900 * converter.[hC] + affected files: move to (inital-char)lowercase
10903 * ParagraphParameters.C (ParagraphParameters): remove commented code
10905 * PainterBase.[Ch]: remove commented code
10907 * LaTeXFeatures.h: add "bool floats" for float.sty
10909 * LaTeXFeatures.C (LaTeXFeatures): init floats
10910 (require): handle float
10911 (getPackages): do it with floats
10913 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10915 * BufferView_pimpl.C (Dispatch): improve handling of
10916 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10918 * commandtags.h: #include lyxfont.h here temporarily to avoid
10921 * bufferlist.h: include LString.h here.
10923 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10925 * text2.C (getStringToIndex): new method.
10927 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10929 * *: Reduced header file dependencies all over.
10931 2001-07-30 Baruch Even <baruch@lyx.org>
10933 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10935 2001-07-29 Baruch Even <baruch@lyx.org>
10937 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10939 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10941 * ParameterStruct.h (endif): add a default constructor to make
10942 sure that all variables is initialized.
10944 * ParagraphParameters.C (ParagraphParameters): adjust
10946 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10948 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10949 index; also, check that there is something to index, and that it
10950 does not span over several paragraphs.
10951 (doubleClick): use WHOLE_WORD_STRICT for double click.
10953 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10955 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10958 2001-07-26 Baruch Even <baruch@lyx.org>
10960 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10961 an InsetFig figure, backwards compatible reading of old figure code.
10963 2001-07-27 Juergen Vigna <jug@sad.it>
10965 * text2.C: font.realize function adaption.
10967 * text.C (draw): add a warnings lyxerr text if needed.
10969 * layout.C: font.realize function adaption.
10971 * language.C: add inherit_language and implement it's handlings
10973 * bufferview_funcs.C (StyleReset): remove language parameter from
10974 font creation (should be language_inherit now).
10976 * bufferparams.C (writeFile): handle ignore_language.
10978 * paragraph.C (getFontSettings): the language has to be resolved
10979 otherwise we have problems in LyXFont!
10981 * lyxfont.C (lyxWriteChanges): added document_language parameter
10982 (update): removed unneeded language parameter
10984 * paragraph.C (validate): fixed wrong output of color-package when
10985 using interface colors for certain fonts in certain environments,
10986 which should not seen as that on the final output.
10988 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10990 * BufferView_pimpl.C:
10995 * LyXAction.C: add thesaurus support
10998 * lyxfind.C: add "once" parameter, for thesaurus, to not
10999 move to the next match
11001 2001-07-26 Juergen Vigna <jug@sad.it>
11003 * lyxfont.C (realize): honor ignore_language too!
11006 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11008 * text.C (draw): one place more for ignore_language to not draw
11011 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11013 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11015 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11017 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11018 the minipage conversion problem.
11020 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11022 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11025 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11027 * BufferView.h: don't forward declare WorkArea
11029 * BufferView.C: don't include WorkArea.h
11031 2001-07-25 André Pönitz <poenitz@gmx.net>
11035 * lyxfunc.C: new LFUN 'math-space'
11037 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11039 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11041 * text2.C (toggleInset): call open/close
11043 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11045 * lyxfunc.C (dispatch): add debug for the disabled case
11047 * font.C (buttonText): make similar to rectText
11049 * buffer.C (readInset): comment out parsing of insetlist and
11052 * PainterBase.C (rectText): small correction
11054 * BufferView_pimpl.C: comment out insettheorem and insetlist
11055 * LyXAction.C: ditto
11056 * commandtags.h: ditto
11058 2001-07-24 Juergen Vigna <jug@sad.it>
11060 * text.C (draw): honor the ignore_language.
11062 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11064 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11066 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11069 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11071 * lyxtext.h: remove unused (and unimplemented) methods
11073 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11075 * text.C (getVisibleRow): honor background color
11078 * Painter.h: remove default color argument for fillRectangle
11080 * text.C (backgroundColor): new method
11082 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11084 * text.C (getVisibleRow): adjust
11086 * font.[Ch] (rectText): new method, metrics
11087 (buttonText): new method, metrics
11089 * PainterBase.[hC]: make rectText and buttonText always draw and take
11092 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11094 * ToolbarDefaults.C (read):
11095 * MenuBackend.C (read): allow escaping in all strings
11097 * BufferView_pimpl.C (insertAndEditInset): new method.
11098 (Dispatch): use insertAndEditInset whenever appropriate.
11100 * BufferView_pimpl.C (insertNote): removed
11102 * BufferView_pimpl.C (smartQuote): new method, moved from
11103 BufferView; if an insetquote cannot be inserted, insert a '"'
11106 * BufferView2.C: remove insertCorrectQuote();
11108 * lyxfunc.C (getStatus): Add support for all remaingin
11109 inset-insert lfuns.
11111 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11113 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11114 command (necessary to pass " as parameter of self-insert.
11116 * text.C (selectWordWhenUnderCursor):
11117 (selectWord): add word_location parameter
11118 (selectWordWhenUnderCursor): same + remove special code for word
11120 (selectNextWord): use kind() to guess type of insetspecialchar,
11123 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11124 (insertErtContents): create ert insets as collapsed.
11125 (readInset): better compatibility code for Info inset.
11127 2001-07-20 Juergen Vigna <jug@sad.it>
11129 * lyxfunc.C (dispatch): use always LyXFind now!
11131 * text2.C (init): add a reinit flag so that the LyXText can be
11132 reinited instead of deleted and reallocated (used in InsetText).
11134 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11140 2001-07-18 Juergen Vigna <jug@sad.it>
11142 * text.C (selectNextWord): handle insets inside inset by calling
11143 always the bv->text functions so that we can go up the_locking_inset!
11145 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11146 in strange locations when inside an inset!
11148 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11149 handling to include insets.
11151 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11153 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11155 * LyXAction.C (init):
11157 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11158 LIGATURE_BREAK, since the name is so stupid.
11160 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11162 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11165 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11167 * sp_form.[Ch]: remove.
11169 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11171 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11174 * src/buffer.C (readInset): ditto.
11176 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11178 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11179 menuSeparator(), endOfSentenceDot(), ldots() and
11180 hyphenationPoint(), which are therefore removed.
11181 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11183 * LyXAction.C (init):
11184 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11186 * paragraph.C (getWord): removed.
11188 * BufferView_pimpl.C (Dispatch): use last word or selection for
11189 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11191 * lyx_main.C (queryUserLyXDir): do not ask before creating
11192 user_dir, except if it has been named explicitely.
11194 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11196 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11197 a document of zero size.
11199 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11201 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11202 approriately in the c-tor and in require().
11203 (getPackages): output the appropriate LaTeX for natbib support.
11205 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11206 variables "use_natbib" and "use_numerical_citations" when reading the
11208 (readInset): read the various natbib cite commands.
11209 (validate): white-space change.
11211 * bufferparams.[Ch]: new variables "bool use_natbib" and
11212 "bool use_numerical_citations".
11213 (writeFile): output them in the LyX file.
11215 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11217 * lyxfunc.C (getStatus): add support for all the inset insertion
11220 * text2.C (insertInset):
11221 * paragraph.C (insetAllowed):
11222 * BufferView_pimpl.C (insertInset): update to take in account the
11223 renaming of insertInsetAllowed
11225 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11227 * text2.C (getInset): new method. returns inset at cursor position.
11229 * BufferView_pimpl.C (Dispatch): changes because of this.
11231 * LyXAction.C (init): rename open-stuff to inset-toggle.
11233 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11235 * text2.C (toggleInset): renamed from openStuff; use
11238 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11240 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11242 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11244 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11246 * buffer.C (readLyXformat2): Add filename to the error dialog
11248 2001-07-18 Juergen Vigna <jug@sad.it>
11250 * tabular.C (GetCellNumber): put an assert here instead of the check!
11252 2001-07-17 Juergen Vigna <jug@sad.it>
11254 * BufferView_pimpl.C (toggleSelection): adapted too.
11256 * text.C (selectNextWord): adapted for use with insets.
11257 (selectSelectedWord): ditto
11259 2001-07-17 Juergen Vigna <jug@sad.it>
11261 * sp_spell.C (PSpell): fix initialitation order.
11263 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11265 * paragraph.C: spacing
11267 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11269 * sp_spell.C: repair language selection for pspell
11271 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11273 * lyxfunc.h: change more methods to begin with lower char.
11275 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11277 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11278 for unknown layouts.
11280 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11282 * buffer.C (readLyXformat2): Generate an error dialog if there are
11285 2001-07-16 Juergen Vigna <jug@sad.it>
11287 * sp_spell.C: always compile ISpell part.
11289 * lyxrc.C: added use_pspell entry and it's handling.
11291 2001-07-13 Juergen Vigna <jug@sad.it>
11293 * sp_spell.C: removed double includes.
11295 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11297 Consistent use of Lsstream.h:
11298 * Lsstream.h: added using std::stringstream for consistencies sake.
11300 * buffer.C: removed using std::stringstream
11302 * lyxfont.C (stateText):
11303 * paragraph.C (asString):
11304 * text.C (selectNextWord, selectSelectedWord):
11305 * text2.C (setCounter):
11306 * vspace.C (asString, asLatexString):
11307 std::ostringstream -> ostringstream.
11309 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11311 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11312 * commandtags.h: add LFUN_HELP_ABOUTLYX
11313 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11315 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11317 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11319 * lyx_gui_misc.C: remove spellchecker
11320 * lyxfunc.C: showSpellchecker
11322 * sp_ispell.h: added
11323 * sp_pspell.h: added
11324 * sp_spell.C: added
11325 * sp_form.[Ch]: removed
11326 * spellchecker.[Ch]: removed
11328 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11330 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11332 (simpleTeXSpecialChars): Simply print the input character without
11333 any special translation if pass_thru is set.
11335 * layout.h: Added bool pass_thru to layout class for being able to
11336 implement pass through of a paragraph for Literate Programming.
11338 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11339 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11340 * layout.C (Read): add "passthru" to list of layout tags and add
11341 code to set the pass_thru boolean when it is read.
11343 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * trans_decl.h: remove allowed from KmodInfo
11347 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11348 remove allowed code
11351 * paragraph_pimpl.C (erase): use boost::prior
11353 * Painter.C (text): use data() instead of c_str() when length is
11355 * WorkArea.C (putClipboard): ditto
11356 * font.h (width): ditto
11358 * BufferView2.C: use it-> instead of (*it). for iterators
11360 * paragraph_pimpl.C: ditto
11361 * paragraph.C: ditto
11362 * minibuffer.C: ditto
11363 * language.C: ditto
11365 * encoding.C: ditto
11366 * counters.C: ditto
11367 * converter.C: ditto
11369 * Variables.C: ditto
11370 * TextCache.C: ditto
11371 * MenuBackend.C: ditto
11372 * LyXAction.C: ditto
11374 * FloatList.C: ditto
11375 * DepTable.C: ditto
11376 * ColorHandler.C (LyXColorHandler): ditto
11378 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11380 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11382 * text2.C (openStuff): reintroduce this method (which had been
11383 nuked in NEW_INSETS frenzy).
11385 * lyxfunc.C (Dispatch): when an action has not been handled, use
11386 its name in the error message, not its number.
11388 * paragraph.C (inInset): change method name to begin with lowercase.
11391 * text2.C: updates because of this.
11393 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * ToolbarDefaults.C (add): add spaces in error message
11397 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11399 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11400 (readLyXformat2): rename return_par to first_par, use lyxlex's
11401 pushToken and remove the manual push handling.
11402 (parseSingleLyXformat2Token): add another ert comp. variable:
11403 in_tabular, rename return_par to first_par. handle newlines better
11405 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11407 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11409 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11411 * text2.C (getParFromID): removed
11413 * buffer.C (getParFromID): new method moved form lyxtext.
11414 * BufferView2.C (insertErrors): adjust
11415 (setCursorFromRow): adjust
11416 * BufferView_pimpl.C (restorePosition): adjust
11417 * lyxfunc.C (Dispatch): adjust
11418 * undo_funcs.C (textUndo): adjust
11420 (textHandleUndo): adjust
11421 (textHandleUndo): adjust
11423 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * buffer.C: up' the LYX_FORMAT
11427 * lyxfont.h: turn NO_LATEX on as default
11429 * buffer.C (insertErtContents): new methods of tex style compability.
11430 (parseSingleLyXformat2Token): use it several places.
11431 * tabular.C (OldFormatRead): and here
11433 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11435 * text2.C: remove some commented code.
11438 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11439 * trans.C: changes because of the above.
11441 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11443 * text2.C (setCounter): Fix counters bug with bibliography layout.
11445 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11447 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11448 own member functions
11449 (simpleTeXSpecialChars): ditto
11451 2001-07-06 Juergen Vigna <jug@sad.it>
11453 * a lot of files: changed the access to LyXText::status and the
11454 call of undo-functions.
11456 * undo.[Ch]: added a inset_id to the undo informations.
11458 * undo_funcs.[Ch]: added and moved here all undo functions.
11460 * lyxtext.h: give the status enum a weight, made status_ a private
11461 variable and made accessor functions for it, removed the whole bunch
11462 of undo-functions as they are now in their own file, make some
11463 functions publically available. Added function ownerParagraph with
11466 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11467 made InInset() a const function, added getParFromID() function.
11469 * buffer.[Ch]: added const version for inset_iterator functions,
11470 added getInsetFromID() function.
11472 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11473 changed undo functions for new version.
11475 2001-07-05 Juergen Vigna <jug@sad.it>
11477 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11478 unknow mechanism does not call the proper constructor but only this
11479 one also if I request the other!?
11481 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11485 * text2.C (LyXText): use initialization lists.
11487 * lyxtext.h (Selection): initialize set_ and mark_
11488 (init): remove method
11490 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11492 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11494 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11496 * screen.[Ch]: change method names to begin with lowercase
11498 * BufferView_pimpl.C (updateScrollbar): simplify further and
11499 hopefully make it a bit faster.
11501 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11503 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11504 calling directly xforms functions.
11506 * Painter.C (Painter):
11507 * lyx_cb.C (MenuWrite):
11508 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11511 * lyx_gui.C: remove bogus guiruntime extern declaration.
11513 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11517 (redoDrawingOfParagraph): ditto
11518 (redoParagraphs): ditto
11519 (cutSelection): don't create a object for CutAndPaste use the
11520 static method directly
11521 (pasteSelection): ditto
11523 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11526 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11528 * modifications to some other files because of this.
11530 * Makefile.am (lyx_SOURCES): add XFormsView
11532 * XFormsView.[Ch]: new files
11534 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11535 the main window. Move the gui dependent stuff to XFormsView
11537 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11539 * tabular.C (GetCellInset): update cur_cell also in the row/col
11540 version of this function.
11542 * lyxfunc.C: no need to include figure_form.h here.
11548 * lyxvc.C: no need to include forms.h here.
11550 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11552 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11554 * lyxfunc.C (Dispatch):
11556 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11557 constructor argument.
11559 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11561 * paragraph.C (Paragraph): dont't clear, and just set layout.
11562 (makeSameLayout): use params's copy contructor.
11564 * ParagraphParameters.[Ch] (makeSame): delete method
11566 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11568 * Variables.[Ch]: fix indentation, rename set to isSet
11570 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11572 * lyxfunc.C (Dispatch): fix typo
11574 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11576 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11579 * bufferlist.C: include assert.h for emergencyWrite().
11581 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11583 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11584 give up at last (bug #425202) !
11586 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11592 * spellchecker.C: strip spellchecker options and bring up
11593 preferences tab instead
11595 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11597 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11598 the istringstream constructor
11600 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11602 * paragraph.C (getLayout): fix return value
11604 * paragraph.h: do not declare getLayout as inline.
11606 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11608 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * lyxcursor.h (operator<): new func
11611 (operator>): new func
11612 (operator>=): new func
11613 (operator<=): new func
11615 * text.C (changeCase): use selection.start and selection.end
11616 (changeRegionCase): require from to be <= to. Require par to be a
11619 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11621 2001-06-27 Juergen Vigna <jug@sad.it>
11623 * text.C (cursorLeftOneWord): changed to return the cursor and added
11624 overlay with BufferView * parameter which calls this one.
11626 (selectWord): use new getWord function.
11627 (changeCase): renamed from changeWordCase as and extended to work
11628 also on selections.
11630 * lyxtext.h: added enum word_location
11632 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11633 changeCase as this operates now also on selections.
11635 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11637 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11639 * many files: send debug output to Debug::INFO instead of
11642 * converter.C (View):
11644 (Move): send debug output to Debug::FILES instead of console.
11646 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11648 * lyxfunc.C (getStatus): use func_status
11650 * func_status.h: new header, describing the results of
11651 LyXFunc::getStatus;
11653 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11656 2001-06-25 The LyX Project <jug@sad.it>
11658 * buffer.C (sgmlOpenTag):
11660 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11662 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11664 * text2.C: remove some dead code
11666 * tabular.C (GetCellInset): store the last cell checked (gotten)
11668 * tabular.h: add the helper for the speedup
11670 * lyxtext.h: remove some dead code
11672 2001-06-26 The LyX Project <Asger>
11674 * paragraph.C: Change export to LaTeX of alignment to
11675 \begin{center} and family for better roundtrip work with reLyX.
11677 * Tune the math drawing a bit.
11679 2001-06-25 The LyX Project <Asger>
11681 * LColor.C (LColor): New color for math background. New color
11684 2001-06-25 The LyX Project <jug@sad.it>
11686 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11688 * lyxfunc.C (Open):
11689 * bufferlist.C (newFile): do not restrict to files ending with
11692 * BufferView_pimpl.C (MenuInsertLyXFile):
11694 2001-06-24 The LyX Project <jug@sad.it>
11696 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11699 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11701 * lyxtext.h: rename most methods to begin with a small char.
11702 Lots of changes because of this.
11704 * paragraph.C (Paragraph): do not call fitToSize
11705 (erase): call Pimpl::erase
11706 (insertChar): call Pimpl::insertChar
11707 (insertInset): call Pipl::insertInset
11708 (breakParagraph): do not call fitToSize
11709 (breakParagraphConservative): do not call fitToSize
11710 (fitToSize): remove method
11712 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11714 2001-06-24 The LyX Project <Asger>
11716 * Fix Qt compilation^2
11718 2001-06-24 The LyX Project <jug@sad.it>
11720 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11721 depthHook(getDepth()-1).
11724 * ParagraphParameters.h:
11725 * ParameterStruct.h: change type of depth to unsigned int ==
11726 depth_type. Many adaptations to other files before of that.
11728 2001-06-24 The LyX Project <Asger>
11730 * Fix Qt compilation.
11732 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11734 * paragraph.h: renamed several methods to begin with small letter.
11735 several changes to many parts of the code because of this.
11737 2001-06-23 The LyX Project <jug@sad.it>
11739 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11740 rewritten to discard all double spaces when KeepEmpty is off
11741 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11742 to only handle newlines but not fiddle with spaces and friends.
11744 * lyxfunc.C (MenuNew): when doing 'new from template', use
11745 template_path as default directory
11747 2001-06-23 The LyX Project <Asger>
11749 * Clean-up of header file includes all over
11750 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11752 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11754 * paragraph.h: renamed from lyxparagraph.h
11756 2001-06-23 Asger <lyx@violet.home.sad.it>
11758 * Buffer.h: Removed Buffer::resize
11759 * BufferList.h: Removed BufferList::resize
11760 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11761 the document lazily when we change the width, or the font settings.
11763 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11765 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11767 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11769 * buffer.h: remove out of date comment
11771 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11774 * screen.C: fix "theoretical" GC leak
11776 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * LaTeX.C (scanAuxFile):
11779 (deplog): remove trailing \r when reading stream (useful under
11782 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11784 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11785 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11786 and BufferView::theLockingInset(Inset*), so should use them and not
11787 access bv_->text->the_locking_inset directly.
11789 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11791 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11794 * tex-defs.h: remove old unused file
11796 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11798 * BufferView_pimpl.C: fix typo, remove minibuffer message
11799 when buffer has loaded
11801 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11803 * lyxfunc.C (Dispatch): use stringstream
11804 (MenuNew): use stringstream
11805 (Open): use stringstream
11807 * importer.C (Import): use stringstream
11809 * bufferview_funcs.C (CurrentState): use stringstream
11811 * LaTeX.C (run): use stringstream
11813 * BufferView_pimpl.C (savePosition): use stringstream
11814 (restorePosition): use stringstream
11815 (MenuInsertLyXFile): use stringstream
11817 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11830 * vspace.C: removed // -*- C++ -*- as first line.
11833 * version.h: added // -*- C++ -*- as first line.
11835 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11839 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11842 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11847 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11849 * gettext.C: include LString.h even when --disable-nls is on.
11851 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11853 * converter.h (Get): changed argument type from int to
11854 FormatList::size_type to avoid unnecessary conversion.
11856 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11859 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11861 * gettext.h: include LString.h even when --disable-nls is on.
11863 2001-06-07 Juergen Vigna <jug@sad.it>
11865 * text.C (BreakAgain): subst spaces with tabs.
11867 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11868 (resizeInsetsLyXText): set force on resizeLyXText.
11870 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11872 * gettext.h (gettext_init):
11873 (locale_init): use a real definition instead of a macro
11875 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11877 * Bufferview_pimpl.C:
11879 * LColor.C: further lcolor tidies
11881 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11883 * BufferView_pimpl.C (updateScrollbar): simplify.
11885 * BufferView2.C: don't include insets/insetinfo.h, change
11886 prototype for insertInset and call the Pimpl version. let
11887 updateInset call Pimpl version.
11889 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11890 gotoInset to BufferView::Pimpl
11892 2001-06-01 Juergen Vigna <jug@sad.it>
11894 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11895 inside a LockingInset (is the update needed at all?).
11897 2001-05-31 Juergen Vigna <jug@sad.it>
11899 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11900 here not the old one otherwise how should we compare it afterwards
11903 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11908 * FontInfo.C: bring C functions into global namespace when
11911 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * LString.h: make sure config.h has been loaded before LString.h.
11915 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11916 (one for each char read by EatLine!).
11918 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11921 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11924 to the same as the par we break from
11926 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11930 * MenuBackend.C (expand): also create menu entries for wide
11931 versions of the floats.
11933 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11935 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11937 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11938 frontends/Makefile.am
11944 * tabular.C (getTokenValue): add std::
11946 * tabular-old.C (getTokenValue): add std::
11947 (getTokenValue): ditto
11948 (getTokenValue): ditto
11950 * screen.C (ToggleSelection): adjust
11952 * lyxtext.h: put selection cursors inside a Selection struct.
11954 * lyxfunc.C (moveCursorUpdate): adjust
11956 * lyxfont.C (latexWriteStartChanges): add std::
11958 * lyxfind.C: adjust
11960 * font.h: delete with(char const *, LyXFont const &)
11962 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11964 * FontInfo.C (getFontname): add std::
11966 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11967 (workAreaButtonPress): adjust
11968 (tripleClick): adjust
11970 (moveCursorUpdate): adjust
11973 * BufferView2.C (gotoInset): adjust
11975 2001-05-30 Juergen Vigna <jug@sad.it>
11977 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11978 to check pspell I add this as default as I now have new pspell
11979 libraries and they seem to use this.
11981 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * text2.C (CutSelection): make the cursor valid before the call to
11986 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11988 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11989 relied on 0 terminated strings and other horrors. Bug found due to
11990 the new assert in lyxstring!
11992 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11995 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12000 * lyxfunc.C (processKeySym): change method of getting to the
12003 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12004 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12005 * BufferView_pimpl.[Ch]: here as private methods.
12007 2001-05-28 Juergen Vigna <jug@sad.it>
12009 * text.C (SetHeightOfRow): added the update() call again as it is
12010 needed to initialize inset dimensions!
12012 2001-05-16 Juergen Vigna <jug@sad.it>
12014 * text2.C (SetCharFont): Add new function with BufferView * and
12015 bool toggleall parameters for setting insets internal fonts.
12016 (SetFont): Freeze the undo as we may change fonts in Insets and
12017 all this change should be inside only one Undo!
12019 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12020 setting font's in insets as for them we have the SetFont function!
12022 2001-05-15 Juergen Vigna <jug@sad.it>
12024 * text2.C (ClearSelection): to be sure we REALLY don't have any
12027 * tabular.C (TeXCellPreamble): fixed the left border problem for
12030 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12032 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12035 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12038 LFUN_BREAKPARAGRAPH.
12040 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12041 help test to "internal only", similar for LFUN_INSERT_URL
12043 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12044 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12045 auto_region_delete and deadkeys.
12047 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12050 * LColor.C: remove some dead entries, tidy a little
12052 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12056 (Dispatch): implement LFUN_ESCAPE
12058 * commandtags.h: add LFUN_ESCAPE
12060 * LyXAction.C (init): add entry for LFUN_ESCAPE
12062 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12063 Remove commented code.
12064 (insertNote): moved here
12065 (open_new_inset): moved here
12067 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12070 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12072 * kbmap.C (findbinding): clean it up and make it work correctly.
12074 * lyx_main.C (init): do not pass argc and argv as parameters
12076 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12078 * buffer.C: fix path for OS/2 & Win32
12082 * lyx_main.C: Added os:: class.
12084 * os2_defines.h: update
12086 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12089 better by trying again with reduced state.
12091 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12093 * lyxrc.C (read): print error about invalid key sequence only when
12094 debugging (because not all latinX keysyms are known to some X
12097 * kbsequence.C (getiso): add a few std:: qualifiers
12098 (getiso): comment out extra return statement.
12100 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12102 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12104 (Dispatch): enhance the accent inset a bit. (not perfect)
12106 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12110 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12112 * bufferlist.C (emergencyWrite): fix assert() call
12114 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12116 * text.C (InsertChar): Added trivial patch to only send the "you
12117 can not do multiple spaces this way" message once during a
12120 2001-05-08 Baruch Even <baruch@lyx.org>
12122 * Makefile.am: Changed order of libraries to get LyX to link properly
12123 with the gnome frontend.
12125 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12127 * LaTeXFeatures.h: add a std:: qualifier
12129 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * paragraph.C (String): use stringstream
12133 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * paragraph.C (writeFile): remove footflag arg
12137 * buffer.C (makeLaTeXFile): use stringstream
12138 (latexParagraphs): remove footnot gurba
12140 * LaTeXFeatures.C (getPackages): use stringstream
12141 (getMacros): likewise
12142 (getTClassPreamble): likewise
12143 (getFloatDefinitions): new method
12145 * paragraph.C (writeFile): reindent
12148 * WorkArea.h: revert the xpos + etc changes.
12150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12152 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12154 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12155 (pasteSelection): likewise
12156 * text2.C (CreateUndo): likewise
12158 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * minibuffer.C (peek_event): temporarily reduce the functionality
12161 of the minibuffer (to allow args on lfuns)
12163 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12164 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12166 * buffer.C (readInset): add compability reading of old float
12167 lists, add reading of new style float list.
12168 (readInset): avoid reevaluation of inscmd.getCmdName()
12169 (getLists): reindent
12171 * MenuBackend.C (MenuItem): implement parsing of
12172 md_floatlistinsert and md_floatinsert.
12173 (expand::LastFiles): move initalizaton of iterators out of loop,
12174 avoid reevaluation.
12175 (expand::Documents): introduce typdedef vector<string> Strings,
12177 (expand::ExportFormats): introduce typedef vector<Format const *>
12178 Formats, and use it.
12179 (expand): implement FloatListInsert and FloatInsert.
12181 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12182 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12183 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12185 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12187 (Dispatch::LFUN_FLOAT_LIST): implement
12189 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12191 * LaTeX.C (run): Fix problem with --export code.
12193 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12195 * BufferView.[Ch] (workarea): removed.
12196 (getClipboard) new method; wrapper for workarea()->getClipboard()
12198 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12201 * WorkArea.h (width, height, xpos, ypos): These methods all
12202 returned the dimensions of the work_area sub-area of WorkArea,
12203 resulting in a position error if the WorkArea were resized. Now
12204 return the dimensions of the entire WorkArea.
12206 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12208 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12210 * LaTeX.C (deplog): correct the syntax of regex reg1
12212 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * undo.C: remove !NEW_INSETS cruft
12216 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12218 * text2.C: remove !NEW_INSETS cruft
12220 * text.C: remove !NEW_INSETS cruft
12222 * tabular.C: remove !NEW_INSETS cruft
12224 * spellchecker.C: remove !NEW_INSETS cruft
12226 * lyxtext.h: remove !NEW_INSETS cruft
12228 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12230 * lyxfunc.C: remove !NEW_INSETS cruft
12232 * lyxfind.C: remove !NEW_INSETS cruft
12234 * lyx_cb.C: remove !NEW_INSETS cruft
12236 * figureForm.C: remove !NEW_INSETS cruft
12238 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12240 * buffer.[Ch]: remove !NEW_INSETS cruft
12242 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12244 * CutAndPaste.C: remove !NEW_INSETS cruft
12246 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12248 * BufferView2.C: remove !NEW_INSETS cruft
12250 * BufferView.h: remove !NEW_INSETS cruft
12252 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12254 * Lsstream.h: include LString.h before the sstream headers to
12255 fix problem with gcc 2.95.3 and lyxstring
12257 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12259 * lyx_main.C: add using directives when needed for C functions
12260 declared in std:: namespace.
12262 2001-04-27 Juergen Vigna <jug@sad.it>
12264 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12265 (SetHeightOfRow): comment out the update call should not be needed!
12267 2001-04-13 Juergen Vigna <jug@sad.it>
12269 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12270 (LyXTabular): tried to minimize operator= operations (and realized
12271 hopfully Lars wish).
12273 2001-04-27 Juergen Vigna <jug@sad.it>
12275 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12277 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12281 * buffer.C (readInset): hack to make listof algorithm work
12283 * BufferView_pimpl.C: hack to make listof algorithm work
12285 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * LyXAction.C: removed all !NEW_INSETS cruft
12288 (init): moved lfun_item in method
12290 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12292 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12294 * BufferView2.C (theLockingInset): white space.
12296 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * minibuffer.C: include <iostream>
12300 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12302 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12304 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12306 * text.[Ch] (TransposeChars): new method
12308 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * call message directly through LyXView instead of through LyXFunc
12311 * BufferView2.C: adjust
12312 * BufferView_pimpl.C: adjust
12313 * FontLoader.C: adjust
12315 * bufferview_funcs.C: adjust
12316 * converter.C: adjust
12317 * figureForm.C: adjust
12318 * importer.C: adjust
12320 * lyx_gui_misc.C: adjust
12321 * lyxfunc.C: adjust
12324 + more files in subdirs
12326 * lyxparagraph.h (size): move up int file
12329 * adjust all uses of Assert to lyx::Assert.
12331 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12332 lyxfunctional in namespace lyx
12333 * layout.C (hasLayout): ditto
12336 (delete_layout): ditto
12337 (NumberOfClass): ditto
12338 * converter.C (GetFormat): ditto
12343 * bufferlist.C (getFileNames): ditto
12344 (emergencyWriteAll): ditto
12347 * MenuBackend.C (hasSubmenu): ditto
12350 * BufferView_pimpl.C (getInsetByCode): ditto
12352 2001-04-18 Juergen Vigna <jug@sad.it>
12354 * vspace.C (asLatexString): fixed the 100% problem.
12356 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12358 * lyxfunc.C (Dispatch):
12360 * minibuffer.h: add a few std:: qualifiers
12362 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * minibuffer.[Ch]: reimplement so that commands is initiated and
12365 run from lyxfunc, simplified som handling, and made the completion
12366 and history code for complete. wip.
12368 * lyxfunc.C (processKeySym): call message
12369 (miniDispatch): new temporary method
12370 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12371 (LFUN_MESSAGE): implement
12372 (LFUN_MESSAGE_PUSH): implement
12373 (LFUN_MESSAGE_POP): implement
12374 (initMiniBuffer): the initial/defualt minibuffer message.
12376 * lyxfont.[Ch]: inline some more getters
12378 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12380 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12382 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12383 (AutoSave): use LFUN_MESSAGE
12384 (Reconfigure): ditto
12386 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12388 * figureForm.C: use LFUN_MESSAGE
12390 * converter.C (runLaTeX): use LFUN_MESSAGE
12392 * bufferview_funcs.C: use LFUN_MESSAGE
12394 (changeDepth): ditto
12396 * bufferparams.h: use boost::
12398 * bufferlist.h: inherit privately from noncopyable
12400 * bufferlist.C (loadLyXFile): remove some commented code.
12402 * buffer.C (runChktex): use LFUN_MESSAGE
12404 * ShareContainer.h: inherit privately from noncopyable
12406 * ParagraphParameters.[hC] (depth): inline it.
12408 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12410 (message): new method
12411 (messagePush): ditto
12412 (messagePop): ditto
12413 (show): init minibuffer
12414 (showState): direct call
12416 * LaTeX.[Ch]: inherit privately from noncopyable
12417 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12418 instead of WriteStatus.
12420 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12422 * BufferView_pimpl.C (buffer): don't init minibuffer
12423 (workAreaButtonPress): use LFUN_MESSAGE
12424 (workAreaButtonRelease): ditto
12425 (savePosition): ditto
12426 (restorePosition): ditto
12427 (MenuInsertLyXFile): ditto
12428 (workAreaExpose): don't init minibuffer
12429 (update): remove commented code, simplify
12431 * BufferView2.C (openStuff): use LFUN_MESSAGE
12432 (toggleFloat): ditto
12435 (copyEnvironment): ditto
12436 (pasteEnvironment): ditto
12441 (updateInset): remove some commented code
12443 * lastfiles.h: inherit privately from noncopyable
12446 * lyx_main.h: ditto
12448 * lyxlex_pimpl.h: ditto
12450 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12451 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12452 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12454 * LyXAction.h: inherit privately from noncopyable, add methods
12455 func_begin, func_end, returning iterators to the func map.
12457 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12458 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12459 (func_begin): new method
12460 (func_end): new method
12462 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12464 (copySelection): ditto
12465 (pasteSelection): ditto
12467 * BufferView.C: whitespace change
12468 * BufferView.h: inherit privately from noncopyable
12470 2001-04-16 Allan Rae <rae@lyx.org>
12472 * tabular-old.C (l_getline):
12473 * spellchecker.C (sc_check_word):
12474 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12475 an unrecognised preprocessor directive. So ensure they're wrapped.
12477 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12479 * src/exporter.C (Export): Give an error message when path to file
12482 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12484 * LaTeX.C (deplog): Always check that foundfile exists.
12486 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12489 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12491 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * tabular.[Ch] (getLabelList): implement new method
12495 * minibuffer.h: comment ouf setTiimer
12497 * minibuffer.C (ExecutingCB): constify res
12498 (peek_event): constify s
12499 (Set): constify ntext
12500 (Init): constify nicename
12502 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12504 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12505 (savePosition): use two params to Minibuffer::Set
12506 (restorePosition): ditto
12508 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12510 * lyx_main.C: include language.h
12512 * Makefile.am (lyx_main.o): add language.h
12514 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12520 * CutAndPaste.C: include gettext.h
12522 * lyxfont.h: remove old hack with ON and OFF.
12525 * lyxfont.h: do not include language.h...
12530 * bufferview_funcs.C:
12536 * paragraph.C: ... but do it here instead
12538 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12542 * tabular.C: small reformat
12544 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12547 (BreakParagraph): ditto
12548 (SetOnlyLayout): ditto
12551 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12554 * lastfiles.C: removed most using decl, add std:: where needed
12556 * buffer.C: ws changes
12558 * MenuBackend.C (class compare_format): put into anon namespace
12559 (expand): constify label, names, action, action2
12562 * text.C (SingleWidth): constify font
12563 (IsBoundary): constify rtl2
12564 (GetVisibleRow): constify ww
12566 * LaTeX.C (deplog): constify logfile
12568 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12570 (workAreaExpose): constify widthChange, heightChange
12572 * lyxrow.C (par): moved
12575 * lyxrow.h: as inlines here
12577 * lyxfont.h (shape): moved from lyxfont.C
12578 (emph): moved from lyxfont.C
12580 * lyxfont.C (LyXFont): use initialization list for all
12582 (shape): move to lyxfont.h as inline
12583 (emph): move to lyxfont.h as inline
12586 2001-04-04 Juergen Vigna <jug@sad.it>
12588 * vspace.C: had to include stdio.h for use of sscanf
12590 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12593 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12594 independent of xforms.
12596 2001-04-02 Juergen Vigna <jug@sad.it>
12598 * spellchecker.C: fixed namespace placing!
12600 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12602 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12603 the LyXParagraph * is 0.
12605 2001-03-29 Juergen Vigna <jug@sad.it>
12607 * vspace.C: added support for %, c%, p%, l%.
12608 (stringFromUnit): added helper function.
12609 (asLatexString): changed to give right results for the %-values.
12611 * buffer.C: convert the widthp in a width%.
12613 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12615 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12618 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12619 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12621 * lyx_cb.[Ch]: see above.
12623 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12627 * lyx.[Ch]: replaced by figure_form.[Ch].
12631 * lyxfunc.C: changed headers associated with above changes.
12633 2001-03-27 Juergen Vigna <jug@sad.it>
12635 * BufferView_pimpl.C: set the temporary cursor right!
12637 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12639 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12641 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12643 * LString.h: removed "using std::getline"!
12645 * BufferView_pimpl.C (Dispatch): changes due to changes in
12646 InsetInclude::Params.
12648 * buffer.C (tag_name): removed redundant break statements as they were
12649 producing lots of warnings with my compiler.
12651 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12653 * LString.h: add "using std::getline" when using the real <string>.
12655 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12657 * buffer.C: removed bitset usage.
12658 PAR_TAG moved to an anonymous name space.
12659 (tag_name): new funtion, also in the anonymous namespace.
12660 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12661 (makeDocBookFile): clean code. Completed transition from string arrays
12663 (SimpleDocBookOnePar): code clean.
12665 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12667 * tabular.C: add some comments.
12669 2001-03-22 Juergen Vigna <jug@sad.it>
12671 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12672 compatibility read a bit and fixed bug with minipage in different
12675 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12677 * buffer.C (pop_tag): removed.
12678 (push_tag): removed.
12679 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12680 array replaced with vector. Added support for CDATA sections.
12681 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12683 (makeDocBookFile): XML conformant declaration of CDATA section,
12684 fixed bug related to <emphasis> in the first paragraph char.
12685 (sgmlOpenTag): exclude empty tags.
12686 (sgmlCloseTag): ditto.
12688 * buffer.h (pop_tag): removed.
12689 (push_tag): removed.
12691 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12693 * language.h (Languages): added size_type and size().
12695 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12697 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12698 response on compability reading of minipages. One probliem is that
12699 the old usage of minipages was «flertydig»
12701 * several files here and in subdirs: don't use static at file
12702 scope use anon namespaces instead.
12704 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12706 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12707 LaTeX output. This is necessary for Literate document
12710 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12712 * buffer.C: insert hfill when needed.
12714 * tabular.C (l_getline): use string::erase, small whitespace change.
12716 * BufferView_pimpl.C: try the anon namespace.
12717 * WorkArea.C: ditto
12719 2001-03-16 Juergen Vigna <jug@sad.it>
12721 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12722 otherwise it won't open options-dialogs.
12724 * buffer.C: honor pextraWidth(p) on converting minipages.
12726 * tabular.C (l_getline): changed the functions to strip trailing \r.
12728 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12730 * BufferView_pimpl.C:
12731 * minibuffer..C: added "using SigC::slot" declaration.
12733 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12735 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12741 * paragraph.C: ditto
12743 * lyxtext.h: NO_PEXTRA
12745 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12747 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12748 * ParameterStruct.h: ditto
12749 * ParagraphParameters.h: ditto
12750 * lyxparagraph.h: ditto
12752 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12754 * buffer.C: add compability for minipage alignment.
12755 (latexParagraphs): remove unwanted pextra check.
12757 * several files: remove CXX_WORKING_NAMESPACES
12759 * buffer.C (pop_tag): tie is in namespace boost
12761 * BufferView.h: noncopyable is in namespace boost
12763 * lyx_main.h: ditto
12766 * lastfiles.h: ditto
12767 * bufferlist.h: ditto
12768 * ShareContainer.h: ditto
12770 * LyXAction.h: ditto
12773 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12775 * Merging changes from BRANCH_MVC back into HEAD.
12777 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12779 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12781 * BufferView_pimpl.C: change from intl.C
12785 * Makefile.am: move combox.*
12791 * intl.C: remove dialog (covered by prefs)
12793 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12795 * lyxfunc.C (Dispatch): removed redundant break statement.
12797 2001-03-14 Juergen Vigna <jug@sad.it>
12799 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12801 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12803 * buffer.C: add hack to fix compability reading of minipages.
12805 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12807 * buffer.C (getLists): Cleanup.
12809 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12811 * lyxfont.C (update): don't honor toggleall on font size.
12813 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12817 * Makefile.am: moved to frontends/xforms/
12821 * BufferView_pimpl.C: changes for moved mathpanel
12823 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12825 * gettext.h: fix gettext_init() in --disable-nls
12827 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12831 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12834 * lyx.h: strip external form
12836 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12838 * BufferView_pimpl.C: add comment, destroySplash()
12840 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12842 * BufferView_pimpl.C:
12846 * lyxfunc.C: use re-worked insetinclude
12848 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12850 * buffer.C: add using std::stringstream.
12852 * lyx_cb.C: readd using std::ios.
12854 * buffer.C: add using std::map.
12856 * BufferView_pimpl.C: add using std::vector.
12858 * ShareContainer.h: add std:: to swap.
12860 * buffer.h: add some typedefs
12861 * buffer.C (getLists): use them
12862 (getLists): renamed from getTocList.
12863 add a counter for the different float types and use it in the
12865 (getLists): use the same counter for the NEW_INSETS and the "non"
12868 * lyx_cb.h: remove unused items, includes, using etc.
12870 * ShareContainer.h: remove some commented code, add more comments
12871 and "documentation".
12873 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12875 * buffer.C (getTocList): make the list also when NEW_INSETS is
12878 * buffer.h: remove TocType
12880 * buffer.C (getTocList): change to return a map<string,
12881 vector<TocItem> >, implement for dynamic number of list.
12883 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12884 * text2.C (PasteSelection): adjust
12885 * CutAndPaste.C (pasteSelection): adjust
12887 * FloatList.C (FloatList): update from the new_insets branch.
12888 * Floating.[Ch]: ditto
12889 * LaTeXFeatures.C: ditto
12891 * lyxlex_pimpl.C: ditto
12893 * paragraph.C (Last): remove when NEW_INSETS is defined.
12895 * other file: changes because of the above.
12897 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12899 * lyxparagraph.h: rename next to next_, previous to previous_,
12900 make them private for NEW_INSETS. Rename Next() to next(),
12901 Previous() to previous().
12903 * other files: changes because of the above.
12905 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12908 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12911 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12913 * main.C (main): pass lyx_localedir to gettext_init().
12915 * gettext.h: remove locale_init and gettext_init macros
12917 * gettext.C (locale_init): new function
12918 (gettext_init): new function
12920 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12923 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12925 * Moved credits to frontends:
12926 * credits.[Ch]: removed
12927 * credits_form.[Ch]: removed
12928 * lyx_gui_misc.C: remove credits stuff
12931 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12933 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12935 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12936 unneeded destructor.
12938 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12939 a standalone pointer again.
12941 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12943 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12949 * ToolbarDefaults.C:
12958 * BufferView_pimpl.C: use new file dialog in GUII
12961 * lyx_cb.C: remove LayoutsCB to Toolbar
12963 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12965 * ShareContainer.h (get): add std:: qualifier
12967 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * ShareContainer.h: define a proper ShareContainer::value_type
12970 type (and use typename to please compaq cxx)
12972 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12974 * lyxparagraph.h: move serveral local vars to
12975 ParameterStruct/ParagraphParameters., use ShareContainer in
12976 FontTable., make vars in FontTable private and add getter and
12979 * paragraph.C: changes because of the above.
12981 * lyxfont.h: remove copy constructor and copy assignment. (the
12982 default ones is ok), move number inside FontBits. move inlines to
12985 * lyxfont.C: add number to initializaton of statics, move several
12986 inlines here. constify several local vars. some whitespace
12987 cleanup. Dont hide outerscope variables.
12989 * Spacing.h: add two new constructors to match the set methods.
12991 * ShareContainer.h: new file, will perhaps be moved to support
12993 * ParameterStruct.h: new file
12995 * ParagraphParameters.h: new file
12997 * ParagraphParameters.C: new file
12999 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13000 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13002 * BufferView_pimpl.C: ParagraphParameter changes.
13003 * buffer.C: Likewise.
13004 * bufferview_funcs.C: Likewise.
13005 * text.C: Likewise.
13006 * text2.C: Likewise.
13008 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * lyxfind.C (LyXReplace): do not redefine default argument in
13012 (IsStringInText): ditto
13013 (SearchForward): ditto
13014 (SearchBackward): ditto
13016 2001-03-06 Juergen Vigna <jug@sad.it>
13018 * lyxfind.C (IsStringInText): put parentes around expressions.
13020 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13022 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13024 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13026 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13028 * stl_string_fwd.h: add comment
13030 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13033 * tabular.C: remove unused DocBook methods
13039 killed DO_USE_DEFAULT_LANGUAGE
13041 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13043 * lyx_gui.C: do not include language.h.
13045 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13046 arguments in function implementation.
13048 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13050 * BufferView_pimpl.C: add <ctime>
13052 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13054 * BufferView_pimpl.C: add using std::find_if
13056 2001-02-27 José Matos <jamatos@fep.up.pt>
13058 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13061 2001-02-11 José Matos <jamatos@fep.up.pt>
13063 * buffer.C (makeDocBookFile): command styles now have a parameter as
13064 "title" by default.
13066 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13068 * layout_forms.[Ch]: removed
13069 * lyx_cb.[Ch]: out character
13070 * lyx_gui.C: out character
13071 * lyx_gui_misc.C: out character
13072 * bufferview_funcs.C: : out character,
13073 added toggleall as parameter in ToggleAndShow
13075 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13077 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13079 * text2.C (SetCurrentFont): Disable number property at boundary.
13081 2001-02-26 Juergen Vigna <jug@sad.it>
13083 * lyxfunc.C (getStatus): added a string argument override function so
13084 that this is correctly called from LyXFunc::Dispatch if it contains a
13085 do_not_use_argument which is used!
13086 (Dispatch): added check for "custom" export and call appropriate func.
13088 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13090 * lyxrc.C: Add language_command_local, language_use_babel and
13091 language_global_options.
13093 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13095 * buffer.C (makeLaTeXFile): Use language_use_babel and
13096 language_global_options.
13098 2001-02-23 Juergen Vigna <jug@sad.it>
13100 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13101 which works with LyXText and putted it inside BufferView. Here now we
13102 only call for that part the BufferView::Dispatch() function.
13104 * BufferView.C (Dispatch): added.
13106 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13107 functions which needs to use a LyXText over from LyXFunc.
13108 (MenuInsertLyXFile): added
13109 (getInsetByCode): added
13110 (moveCursorUpdate): added
13111 (static TEXT): added
13113 2001-02-22 Juergen Vigna <jug@sad.it>
13115 * BufferView_pimpl.C (update): call a status update to see if LyXText
13118 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13120 * vc-backend.C (revert): implement for CVS
13121 (getLog): implement for CVS
13123 2001-02-20 Juergen Vigna <jug@sad.it>
13125 * text2.C (ClearSelection): added BufferView param for inset_owner call
13127 * lyxfunc.C (TEXT): added this function and use it instead of
13128 directly owner->view()-text of getLyXText().
13130 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13132 * src/layout_forms.C: out preamble
13133 * src/layout_forms.h: out preamble
13134 * src/lyx_cb.C: out preamble
13135 * src/lyx_cb.h: out preamble
13136 * src/lyx_gui.C: out preamble
13137 * src/lyx_gui_misc.C: out preamble
13138 * src/lyxfunc.C: connect with guii preamble
13140 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13142 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13144 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13146 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13147 whether to run bibtex.
13149 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13151 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13153 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13155 * Makefile.am (lyx_SOURCES): removed bibforms.h
13157 * vspace.h: doxygen
13159 * text.C (GetVisibleRow): make several local vars const
13161 * tabular.C: small cleanup.
13163 * lyxserver.C (callback): use compare instead of strncmp
13165 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13166 inlines to after class or to paragraph.C
13168 * lyxfont.h: remove friend operator!=
13170 * converter.h: move friend bool operator< to non friend and after
13173 * combox.h: small cleanup
13175 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13176 to inlines after class def.
13178 * buffer.C (pop_tag): use string operations instead of strcmp
13180 * bmtable.c: doxygen, small cleanup
13182 * LaTeX.h: remove friend operator==
13184 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13196 * BufferView_pimpl.C:
13197 * BufferView.[Ch]: remove cruft
13199 2001-02-14 Juergen Vigna <jug@sad.it>
13201 * lyxfunc.C: removed #if 0 unused code
13203 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13205 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13207 * text2.C (SetSelection): added a BufferView * parameter
13209 2001-02-13 Juergen Vigna <jug@sad.it>
13211 * lyxfunc.C (Dispatch): fixed protected blank problem.
13212 * BufferView2.C (protectedBlank): added LyxText * parameter.
13214 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13215 (AppendColumn): same as above for column_info.
13217 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13218 (moveCursorUpdate): use a LyXText param for support of InsetText.
13220 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13221 (tripleClick): ditto
13223 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13225 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13227 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13229 * text2.C (SetSelection): set correct update status if inset_owner
13230 (ToggleFree): ditto
13232 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13234 * tabular.C: remove some commented code.
13236 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13238 * BufferView_pimpl.C: call hideSplash()
13240 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13243 * bibforms.h: remove
13246 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13247 add LFUN_CHILD_CREATE
13249 * counters.h: fix tiny typo
13254 * lyx.C: move splash to frontends/xforms/
13256 * lyx_gui_misc.C: move Include and Bibform to frontends
13258 * lyxvc.h: clarify comment
13260 * vspace.C: tiny housekeeping
13262 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13264 * text.C (PrepareToPrint): RTL Fix.
13266 * paragraph.C (GetUChar): New method.
13267 (String): Use GetUChar.
13269 * buffer.C (asciiParagraph): Use GetUChar.
13271 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13273 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13275 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13278 * buffer.C: rename to getLogName(), handle
13279 build log / latex log nicely
13281 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13284 * MenuBackend.h: remove support for reference menuitem type.
13286 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13288 * BufferView_pimpl.C: housekeeping
13289 * BufferView_pimpl.h:
13294 * minibuffer.h: move Timeout GUI-I
13296 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13298 * lyxrc.C (read): Update converters data-structures.
13300 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13302 * LaTeX.h (operator!=): add operator != for Aux_Info
13304 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13306 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13308 * LaTeXLog.C: deleted, useful code moved to Buffer
13311 * buffer.C: new function getLatexLogName()
13317 * lyxfunc.C: use frontends for LaTeX and VC logs
13319 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13321 * LaTeX.h: yet another std:: that Allan forgot.
13323 * Variables.C (set): renamed from isset(), because this clashes
13324 with some HP-UX macros (grr).
13326 2001-02-06 Allan Rae <rae@lyx.org>
13328 * LaTeX.h: Another bug fix. Missing std:: this time.
13330 2001-02-04 Allan Rae <rae@lyx.org>
13332 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13333 floats problem. I've left it commented out because it's not quite
13334 correct. It should also test that the current object is a table or
13335 figure inset. But I haven't gotten around to figuring out how to do
13336 that. I *think* it'll be something like: "table" == inset.type()
13338 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13341 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13343 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13344 all the citation/databases/styles in the auxilary file.
13345 (run): Rerun latex if there was a babel language error.
13347 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13349 * text.C (Backspace): Preserve the font when changing newline char
13351 (BreakParagraph): If the cursor is before a space, delete the space.
13353 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13355 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13357 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13358 new argument (code).
13359 (ChangeCitationsIfUnique): New method.
13361 * paragraph.C (GetPositionOfInset): Handle bibkey.
13363 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * BufferView_pimpl.h: change type of Position::par_pos to
13366 LyXParagraph::size_type.
13368 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13370 * BufferView_pimpl.C (savePosition, restorePosition): Write
13371 messages to minibuffer.
13373 2001-01-28 José Matos <jamatos@fep.up.pt>
13375 * buffer.C (makeDocBookFile): adds support for document language.
13376 A silly restriction on the name of LatexCommand types where removed.
13377 Added support for CDATA sections, allows to chars unescaped, used
13378 among others in code, to avoid escape < and >.
13380 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13382 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13383 saved positions instrad of a stack. Furthermore, a position is
13384 stored using paragraph id/paragraph position.
13386 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13387 Remove LFUN_REF_BACK.
13389 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13391 * converter.C (dvipdfm_options): New method.
13393 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13395 * vspace.C (isValidLength): Fix for empty input string.
13397 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13399 * LyXAction.C (init): change description of LFUN_FIGURE to
13402 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13404 * LaTeX.C: add using directive
13406 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13408 * MenuBackend.C (expand): Fix the sorting of the formats.
13410 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13412 * lyx_main.C: tiny error message fix
13414 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13416 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13417 calling fl_initialize(). This fixes the problem with ',' as
13418 decimal separator in text files.
13420 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13422 * trans.C (process): Fix the keymap bug.
13424 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13426 * LaTeX.C (scanAuxFiles): New method. Provides support for
13427 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13428 (scanLogFile) Scan for "run BibTeX" messages.
13430 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13431 OT1 font encoding. Also, load the aecompl package if the ae
13434 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13436 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13438 * texrow.C (increasePos): turn two error messages into debug
13441 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13443 * LaTeX.C (scanAux): Handle the \@input macro.
13444 (runBibTeX): Use scanAux().
13446 * language.C (latex_options_): New field.
13448 * LaTeXFeatures.C (getMacros): Add language macros.
13450 * buffer.C (makeLaTeXFile): Small fix.
13452 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13454 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13456 * text2.C: add a using directive.
13458 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13463 * lyxfunc.C: kill LyXBell.
13465 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13467 * text.C (IsBoundary): Remove the error message
13469 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13471 * lyxrc.C (setDefaults): Correct initialization value for
13474 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13476 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13479 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13480 and GotoNextNote().
13482 * src/LyXAction.C: Added reference-next.
13484 * text.C (InsertChar): Use contains instead of strchr.
13486 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13488 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13490 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13491 alignment commands (when needed).
13493 * text.C (InsertChar): Add ':' to number separator chars.