1 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3 * text.C: (1) finish off the inset display() work;
4 (2) fix the "is a bit silly" bug (accessing char
7 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
9 * text.C: re-introduce display() for insets, fixing the
10 various bugs (stretch of line above, math inset
13 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * text.C (rightMargin): remove spurious semicolon
17 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
20 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
22 * text3.C: fix one crash due to wrong cursor def
24 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
26 * vc-backend.C (scanMaster): make the regex static
28 * LaTeX.C (scanAuxFile): make the regexs static
30 * text3.C (doInsertInset, dispatch, dispatch):
31 * text2.C (cursorUp, cursorDown):
32 * text.C (selectNextWordToSpellcheck):
33 * BufferView_pimpl.C (dispatch):
34 * lyxfunc.C (dispatch): localDispatch -> dispatch
36 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * lyxsocket.C: include <cerrno>
40 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
42 * lyxfunc.C (dispatch): remove textcache stuff
44 * bufferlist.C (release): remove textcache stuff
47 * TextCache.C: delete file
48 * TextCache.h: delete file
50 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
52 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
53 delete of the bv_->text.
54 (resizeCurrentBuffer): remove texcache stuff
55 (workAreaResize): ditto
57 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
59 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
62 2003-10-16 André Pönitz <poenitz@gmx.net>
69 * text3.C: speed up by storing y positions per paragraph plus per-row
70 offset instead of having a 'full' y position in the row.
72 2003-10-15 André Pönitz <poenitz@gmx.net>
76 * undo.[Ch]: make undo aware of inner insets
78 2003-10-14 Angus Leeming <leeming@lyx.org>
80 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
81 static member functions LyX::ref() and LyX::cref.
82 (lastfiles): new accessor functions for the new lastfiles_ member var.
83 (addLyXView, views_): add a new LyXView to the list of views_.
84 (updateInset): loop over all LyXViews to call their own updateInset
85 member function, returning a pointer to the Buffer owning the inset.
87 * BufferView_pimpl.C (loadLyXFile):
88 * MenuBackend.C (expandLastfiles):
89 * bufferlist.C (MenuWrite, QuitLyX):
90 lastfiles is no longer a global variable.
91 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
93 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
94 static function. Access through LyX::cref().emergencyCleanup().
96 2003-10-14 André Pönitz <poenitz@gmx.net>
98 * iterators.[Ch]: new direct access to innermost LyXText and Inset
100 * undo.[Ch]: restoring part of 'undo in insets'
103 * undo_funcs.[Ch]: merge with undo.[Ch]
105 * tabular.C: small cleansing stuff
107 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
109 * paragraph_funcs.C (readParToken): report unknown insets as error
110 boxes. Use the outer paragraph as location (also for unknown
113 * factory.C (readInset): do not abort on reading an unknown inset.
116 2003-10-13 Angus Leeming <leeming@lyx.org>
118 * lyx_main.C (LyX): remove call to setDisplayTranslator().
120 * lyxrc.C: displayTranslator is now a function,
121 declared in GraphicsTypes.h.
123 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
125 * format.C: new placeholder $$a to pass the socket address.
127 * bufferlist.[Ch]: new function getBufferFromTmp.
129 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
130 files in the temporary dir.
132 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
134 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
136 * Makefile.am: add lyxsocket.[Ch].
138 * lyx_main.C (error_handler): handle SIGPIPE.
140 2003-10-13 André Pönitz <poenitz@gmx.net>
142 * BufferView_pimpl.C:
147 * undo_funcs.[Ch]: use paroffset_type instead of
148 ParagraphList::iterators to prevent multiple conversion
149 (and get a more robust interface)
151 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
153 * lyxfunc.C (dispatch): RESULT -> dispatch_result
155 * text3.C (dispatch): ditto
157 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
159 * LaTeX.C (handleFoundFile): move the static to smaller scope,
160 move the onlyfile, use onlyfile instead of foundfile in a couple
163 * DepTable.C (update): flush the error stream a bit more
165 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
167 * lyxserver.C (callback): adjust
169 * lyxfunc.C (getStatus): add a missing brace in commented code
170 (ensureBufferClean): reindent
171 (dispatch): delete version taking a string
173 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * LaTeX.C (deplog): move found file handlig from here...
176 (handleFoundFile): .. to new function here.
177 (deplog): make sure to discover several files mentioned on the
180 2003-10-10 André Pönitz <poenitz@gmx.net>
187 * text3.C: fix some of the tabular crashes
189 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
191 * MenuBackend.C (binding): put debug message into Debug::KBMAP
193 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
195 2003-10-09 André Pönitz <poenitz@gmx.net>
197 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
200 * BufferView_pimpl.C:
201 * bufferview_funcs.C:
212 * undo_funcs.C: adjust
214 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * text2.C (incrementItemDepth): new function, use a backtracking
217 algorithm to discover the correct item depth.
218 (resetEnumCounterIfNeeded): new function, use a backtracking
219 algorithm to discover if counter reset is needed.
220 (setCounter): use them. Simplify a bit. Add different labels for
221 different item depths for itemize.
223 * paragraph.C (Paragraph): remove initialization of enumdepth
226 * paragraph.h: get rid of enumdepth, and use itemdepth both for
227 enumerate and itemize. Change the type of itemdepth to signed char.
229 2003-10-08 André Pönitz <poenitz@gmx.net>
231 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
236 * tabular.[Ch]: fix crash after 'row-insert'
238 2003-10-08 Angus Leeming <leeming@lyx.org>
240 Fix doxygen warnings.
242 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
243 Remove CutAndPaste:: prefix from header file declaration.
245 * LColor.h (fill): remove LColor:: prefix from declaration.
247 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
248 use lyx::depth_type rather than Paragraph::depth_type so that
249 header file and .C file match.
251 * converter.h (intToFormat): remove Converters:: prefix from declaration.
253 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
254 * aspell.C: \file aspell_local.C -> \file aspell.C
255 * gettext.C: \file gettext.C -> \file src/gettext.C
256 * gettext.h: \file gettext.h -> \file src/gettext.h
257 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
258 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
259 * text.C: \file text.C -> \file src/text.C
261 * toc.C: move comment so that doxygen is not confused.
263 2003-10-07 Angus Leeming <leeming@lyx.org>
265 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
267 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
270 * aspell_local.h: add forgotten std::string's.
272 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
279 * text3.C: The Box patch. Fancybox support, minipage, parbox
281 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
287 * ParagraphParameters.h:
297 * lyxtextclasslist.h:
301 * textcursor.h: add <string> and other small fixes to make Lars'
302 std::string patch compile with STLport.
304 2003-10-06 Angus Leeming <leeming@lyx.org>
306 * LColor.h: Add missing #include <string>.
308 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
310 * All most all file in all subdirs: Make <string> be the prefered
311 way of getting to std::string, add using declarations.
313 2003-10-06 André Pönitz <poenitz@gmx.net>
315 * metricsinfo.C: initialize LyXFont before changing attribute.
316 (fixes the 'math in \emph is upright' bug)
318 2003-10-06 André Pönitz <poenitz@gmx.net>
320 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
322 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
325 * paragraph_pimpl.C: Small fixes to build using STLport
327 2003-10-02 André Pönitz <poenitz@gmx.net>
330 * text3.C: move handling of LFUN_DEPTH *; fix #1360
332 2003-10-01 André Pönitz <poenitz@gmx.net>
334 * factory.C: assert early
336 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
338 * lyx_main.C: remove the global debug object
340 * debug.h: adjust for new debugstream
342 * debug.C: adjust for new debugstream and keep the global debug
345 2003-09-22 Angus Leeming <leeming@lyx.org>
347 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
348 of g++ which otherwise complain that the scoped_ptr destructor can't delete
349 an incomplete class LyXFont.
351 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
353 * factory.C: bug fix in branches
355 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
357 * lyxfunc.C (processKeySym): adjust
359 (dispatch): change arg name from ev to func, adjust
360 (sendDispatchMessage): ditto
362 * lyx_main.C (defaultKeyBindings): adjust keybindings
363 (deadKeyBindings): ditto
365 * kbsequence.C (addkey): return a FuncRequest
367 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
369 * kbmap.C (bind): take a FuncRequest as arg, adjust
372 (defkey): change to take a FuncRequest as arg, adjust
373 (findbinding): take a FuncRequest as arg, adjust.
375 * funcrequest.h (operator=): added
377 * funcrequest.C (FuncRequest): default kb_action changed from
378 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
380 * buffer.C (dispatch): simplify
381 (dispatch): adjust to take a FuncRequest as arg, adjust
383 * boost.C (assertion_failed): change assertion message slightly
385 * ToolbarBackend.C (read): simplify
387 * MenuBackend.C (binding): adjust call to findbinding, add a
388 message if no binding is found.
390 (expandToc): correct by adding a empty FuncRequest
392 * LyXAction.C: include <boost/assert.hpp>
393 (isPseudoAction): delete function
394 (LookupFunc): change name to...
395 (lookupFunc): this. change return type to FuncRequest.
396 (getActionName): take kb_action as arg, simplify
397 (funcHasFlag): add an assert, simplify.
399 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
401 * toc.C (action): return a FuncRequest, simplify
403 * lyxfunc.C (processKeySym): adjust
404 (getStatus): delete version that takes an int.
406 (dispatch): delete version that takes action as int
408 (sendDispatchMessage): simplify and adjust
410 * funcrequest.C (getArg): take unsigned int as arg
412 * ToolbarBackend.C (read): adjust
413 (add): delete version that takes func as a string.
414 (getIton): take a FuncRequest as arg
416 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
419 * MenuBackend.C (MenuItem): add a new construct that only takes a
420 Kind, simplify the constructor use for submenus.
422 (expandLastfiles): adjust
423 (expandDocuments): adjust
424 (expandFormats): adjust
425 (expandFloatListInsert): adjust
426 (expandFloatInsert): adjust
427 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
429 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
430 Remove class variables lyx_pseudo_map and lyx_arg_map
432 * LyXAction.C (searchActionArg): delete function
433 (getPseudoAction): delete function
434 (retrieveActionArg): delete function
435 (LookupFunc): make it return kb_action, simplify.
436 (getActionName): simplify
438 * factory.C (createInset): fix new bug
440 2003-09-19 Angus Leeming <leeming@lyx.org>
442 * CutAndPaste.C (pasteSelection): remove fudge used to set the
443 masterFilename_ parameter in the include inset.
445 * factory.C (createInset): changes due to the changes to InsetInclude.
447 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
449 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
451 2003-09-18 Angus Leeming <leeming@lyx.org>
454 * BufferView.C: pass the buffer when calling Inset::getLabelList,
455 Inset::fillWithBibKeys.
456 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
458 2003-09-18 Angus Leeming <leeming@lyx.org>
460 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
462 (ctor): pass and store a 'Buffer const &'
463 (buffer): new member function.
465 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
466 '*this' to the LaTeXFeatures ctor.
468 2003-09-18 Angus Leeming <leeming@lyx.org>
474 * text.C: rename EnumLColor as LColor_color.
476 2003-09-18 Angus Leeming <leeming@lyx.org>
478 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
479 remove #include "insets/insetbase.h" from cursor.h.
481 2003-09-18 Angus Leeming <leeming@lyx.org>
483 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
484 InsetOld_code to remove #include "inset.h".
486 * iterators.C: add #include "insets/inset.h"
488 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
490 * BufferView.C: remove more locking stuff that apparently doesn't
491 do anything sensible.
493 2003-09-16 André Pönitz <poenitz@gmx.net>
496 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
499 2003-09-16 Angus Leeming <leeming@lyx.org>
501 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
503 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
506 * paragraph.h: remove #include "lyxfont.h". Forward declare
509 2003-09-16 Angus Leeming <leeming@lyx.org>
511 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
512 of support/textutils.h.
513 (isWord): move the contents of support/textutils.h's IsWordChar here.
519 * text2.C: add #include "paragraph.h".
522 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
524 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
530 * LaTeX.C: use namespace alias for lyx::support::os
532 2003-09-16 Angus Leeming <leeming@lyx.org>
535 * bufferview_funcs.C:
540 * text.C: add #include "LColor.h".
542 2003-09-16 Angus Leeming <leeming@lyx.org>
544 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
545 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
547 Store the FontBits::color variable as an int rather than as an
548 LColor::colorso that we can move LColor.h out of the lyxfont.h header
551 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
552 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
553 string calls together.
555 * lyxrc.C: add #include "LColor.h".
557 2003-09-15 Angus Leeming <leeming@lyx.org>
559 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
562 2003-09-15 Angus Leeming <leeming@lyx.org>
564 * LColor.h: add an EnumLColor wrapper for LColor::color.
566 * lyxfont.[Ch] (color, setColor, realColor):
567 * lyxtext.h, text.C (backgroundColor):
568 pass EnumLColor args to/from the functions, rather than LColor::color
572 * lyxtext.h: forward declare EnumLColor.
574 * lyx_main.C: add #include "LColor.h".
576 2003-09-15 Angus Leeming <leeming@lyx.org>
578 * .cvsignore: add lyx-gtk.
580 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * ParagraphParameters.C
599 * vc-backend.C: remove usage of STRCONV
601 2003-09-15 Angus Leeming <leeming@lyx.org>
603 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
604 explicitly define the color passed to the painter.
606 2003-09-15 Angus Leeming <leeming@lyx.org>
608 * bufferparams.C (BufferParams): reorder member initializers to avoid
611 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
613 * CutAndPaste.C (pasteSelection): remove an outdated #warning
614 * text.C (updateRowPositions): remove an unusual nop
616 2003-09-12 André Pönitz <poenitz@gmx.net>
618 * BufferView_pimpl.C:
627 * Counters.[Ch]: finish the 'automatic counters' job
629 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
631 * aspell.C: include <boost/assert.cpp> (compile fix)
633 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
635 * boost.C (assertion_failed): use lyx::support::abort instead of
638 2003-09-10 Angus Leeming <leeming@lyx.org>
640 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
641 with their _fwd progeny.
643 2003-09-09 Angus Leeming <leeming@lyx.org>
645 134 files throughtout the source tree: replace 'using namespace abc;'
646 directives with the appropriate 'using abc::xyz;' declarations.
648 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
650 * boost.C (emergencyCleanup): moved here from LAssert.c
651 (assertion_failed): new function, called by BOOST_ASSERT
653 * several files: change Assert to BOOST_ASSERT
655 2003-09-09 Angus Leeming <leeming@lyx.org>
657 * buffer.[Ch]: Add an Impl class and move Buffer's member
658 variables into it. As a result move several header files out of
661 Add header files to lots of .C files all over the tree as a result.
663 2003-09-09 Angus Leeming <leeming@lyx.org>
665 * buffer.[Ch]: make Buffer's member variables private. Add
668 Lots of changes all over the tree as a result.
670 2003-09-08 Angus Leeming <leeming@lyx.org>
672 * graph.C: #include <config.h>.
674 2003-09-08 Angus Leeming <leeming@lyx.org>
678 * BufferView_pimpl.C:
707 * toc.C: remove redundant using directives.
709 2003-09-07 Angus Leeming <leeming@lyx.org>
711 * LaTeXFeatures.h: remove #include "support/types.h".
712 * ToolbarBackend.h: remove #include <algorithm>.
713 * changes.h: remove #include <ctime>.
714 * debug.h: remove #include <iosfwd>.
715 * graph.h: remove #include "support/std_string.h".
716 * lyx_main.h: remove #include <csignal>.
717 * lyxlex_pimpl.h: remove #include <fstream>.
718 * sgml.h: remove #include <algorithm>, <utility>.
719 * toc.h: remove #include "support/std_ostream.h".
720 Add #include <iosfwd>.
722 2003-09-07 Angus Leeming <leeming@lyx.org>
724 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
726 * converter.h: forward declare LatexRunParams.
727 * encoding.h: remove #include "lyxrc.h".
728 * lyxtext.h: remove #include "LColor.h".
729 * lyxtextclass.h: remove #include "support/types.h".
730 * trans.h: remove #include "tex-accent.h".
731 * trans_mgr.h: remove #include "tex-accent.h".
732 * insets/inset.h: remove #include "support/types.h", <vector>.
733 * insets/insetcollapsable.h: remove #include "LColor.h".
734 * insets/insetinclude.h: remove #include "dimension.h".
735 * insets/insetlatexaccent.h: remove #include "dimension.h".
736 * insets/insetoptarg.h:: remove #include "insettext.h".
737 * insets/insettext.h: remove #include "dimension.h",
738 <boost/shared_ptr.hpp>
740 * insets/renderers.h: add #include "dimension.h".
741 * insets/updatableinset.h: add #include "support/types.h".
743 * many .C files: Associated changes.
745 2003-09-06 Angus Leeming <leeming@lyx.org>
747 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
748 one, inside testInvariant.
750 * PrinterParams.C: new file.
751 * PrinterParams.[Ch]: move the function bodies out of line.
753 2003-09-06 Angus Leeming <leeming@lyx.org>
755 * ParagraphParameters.h: forward declare ParameterStruct rather than
756 including its header file.
757 (depth): moved out-of-line.
759 2003-09-06 Angus Leeming <leeming@lyx.org>
761 * BufferView_pimpl.h:
764 * lyxfunc.h: forward declare LyXKeySym rather than
765 #include "frontends/LyXKeySym.h".
767 * BufferView_pimpl.C:
770 * lyxfunc.C: associated changes.
772 2003-09-06 Angus Leeming <leeming@lyx.org>
774 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
775 As a result, can remove the #include "insets/inset.h" from BufferView.h
777 2003-09-06 Angus Leeming <leeming@lyx.org>
779 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
780 As a result, can remove the #include "insets/inset.h" from BufferView.h
782 2003-09-06 Angus Leeming <leeming@lyx.org>
788 * bufferview_funcs.C:
789 * BufferView_pimpl.C:
794 * ParagraphParameters.C:
799 * frontends/controllers/ControlDocument.C:
800 * insets/insetcaption.C: rearrange the #includes into some sort of
803 * buffer.h: remove #includes ErrorList.h, undo.h
805 2003-09-06 Angus Leeming <leeming@lyx.org>
807 * support/types.h: add a 'depth_type' typedef, used to store the
808 nesting depth of a paragraph.
811 * ParameterStruct.h: use this lyx::depth_type typedef rather than
816 * ParagraphParameters.h:
817 * sgml.h: use lyx::depth_type rather than Paragraph or
818 ParameterStruct's depth_type.
821 * paragraph_funcs.h: no need to #include paragraph.h anymore.
824 * BufferView_pimpl.C:
826 * ParagraphParameters.C:
829 * bufferview_funcs.C:
836 * frontends/LyXView.C:
837 * frontends/controllers/ControlDocument.C:
838 * frontends/controllers/ControlErrorList.C:
839 * insets/insetbibitem.C:
840 * insets/insetbranch.C:
841 * insets/insetcaption.C:
842 * insets/insetcollapsable.C:
845 * insets/insetfloat.C:
846 * insets/insetfoot.C:
847 * insets/insetfootlike.C:
848 * insets/insetnewline.C:
849 * insets/insetquotes.C:
850 * insets/insettabular.C:
851 * insets/insettext.C:
852 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
854 * frontends/controllers/ControlChanges.C: #include "changes.h".
856 2003-09-06 Angus Leeming <leeming@lyx.org>
858 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
859 than #including paragraph.h.
862 * RowList.h: deleted. Superfluous.
872 * insets/insettext.h: use ParagraphList_fwd.h rather than
875 * paragraph.h: don't forward declare ParagraphList.
878 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
879 rather than ParagraphList.h. paragraph.h is still needed for the
880 Paragraph::depth_type parameters.
882 * textcursor.h: enable it to compile stand-alone in light of the
885 * bufferview_funcs.C:
897 * frontends/controllers/ControlParagraph.C:
898 * frontends/controllers/ControlTabular.C:
899 * insets/insetmarginal.C:
900 * insets/insetminipage.C:
901 * insets/insetnote.C:
902 * insets/insetoptarg.C: add header files needed to compile again.
904 2003-09-06 Angus Leeming <leeming@lyx.org>
906 * RowList_fwd.h: new file, forward-declaring Row rather than
912 * insets/insettext.h: use it instead of RowList.h
914 * bufferview_funcs.C:
921 * text3.C: #include "RowList.h".
923 2003-09-05 Angus Leeming <leeming@lyx.org>
925 * factory.C (createInset):
926 * vspace.C (c-tor): replace sscanf call with an istringstream.
927 * ispell.C: re-add missing HP/UX headers.
928 * lyxserver.C: re-add missing os2 headers.
930 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
939 * text3.C: re-add missing system headers, needed for 2.95.2.
941 2003-09-05 Angus Leeming <leeming@lyx.org>
943 Changes most place everywhere due to the removal of using directives
944 from support/std_sstream.h.
946 2003-09-05 Angus Leeming <leeming@lyx.org>
948 Replace LString.h with support/std_string.h,
949 Lsstream.h with support/std_sstream.h,
950 support/LIstream.h with support/std_istream.h,
951 support/LOstream.h with support/std_ostream.h.
953 Changes resulting throughout the tree.
955 2003-09-05 Angus Leeming <leeming@lyx.org>
957 * sgml.h: ensure that the header file can be compiled stand-alone.
958 * *.C: strip out redundant #includes. (320 in total.)
960 2003-09-04 Angus Leeming <leeming@lyx.org>
962 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
963 here (from getPackages).
965 * debug.[Ch]: add a new EXTERNAL tag.
967 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
969 * text2.C (cursorEnd): simplify
971 (getColumnNearX): adjust
973 * text.C (computeBidiTables): adjust
976 * rowpainter.C (paintChars): adjust
977 (paintSelection): adjust
978 (paintChangeBar): adjust
981 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
983 (numberOfSeparators): adjust
985 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
991 * text3.C: Restricts the mouse click functionality
992 of insets like bibtex, include, toc and floatlist to the visible
993 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
994 up the dialogs. Cursor has to be in front of the inset (i.e.
995 start of row) for this to function.
997 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
999 * bufferview_funcs.C (currentState): output row information
1001 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1003 * bufferview_funcs.C (currentState): output paragraph position
1005 2003-09-04 Angus Leeming <leeming@lyx.org>
1007 * FloatList.h: move out #include "Floating.h".
1008 * LaTeX.h: move out #include "DepTable.h".
1009 * LyXAction.h: move out #include "funcrequest.h".
1010 * buffer.h: move out #include "author.h", "iterators.h".
1011 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1012 * lyx_main.h: move out #include "errorlist.h".
1013 * lyxfunc.h: move out #include "FuncStatus.h".
1014 * lyxtext: move out #include "lyxcursor.h".
1015 * paragraph_pimpl.h: move out #include "counters.h".
1017 2003-09-03 Angus Leeming <leeming@lyx.org>
1019 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1020 preamble_snippets list, enabling us to add snippets to the preamble
1021 only if the snippet was not there already.
1023 2003-09-04 Angus Leeming <leeming@lyx.org>
1025 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1027 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1029 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1032 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1034 * BranchList.C: point fix, earlier forgotten
1036 2003-09-02 Angus Leeming <leeming@lyx.org>
1038 * box.C (contains): renamed from 'contained' after a fantastic
1041 2003-09-02 John Levon <levon@movementarian.org>
1047 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1049 2003-09-02 John Levon <levon@movementarian.org>
1051 * text2.C: simplification of cursorEnd(), including partial
1054 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1056 * buffer.C (readFile): add a space
1058 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1060 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1062 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * buffer.C (readFile): new function, take a filename and a
1065 ParagraphList::iterator
1067 (readFile): adjust, make it private. don't use setStream, make
1068 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1069 always contain the filename.
1071 * BufferView.C (insertLyXFile): simplify and make it work for
1074 2003-08-30 John Levon <levon@movementarian.org>
1076 * Makefile.am: fix dist (from Kayvan)
1078 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * most files: change to use const Buffer refs
1082 2003-08-27 André Pönitz <poenitz@gmx.net>
1084 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1085 on top of ownerPar().
1087 2003-08-27 John Levon <levon@movementarian.org>
1089 * funcrequest.C: properly initialise POD members
1091 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1093 * lyxtext.h (top_y): move top_y from here
1098 * BufferView_pimpl.[Ch]: to here
1099 * frontends/screen.C:
1100 * insets/insettabular.C:
1101 * insets/insettext.C: adjust
1102 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1104 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1107 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1109 2003-08-26 André Pönitz <poenitz@gmx.net>
1111 * paragraph_func.[Ch] (outerPar): new function
1114 * paragraph_funcs.C:
1115 * paragraph_funcs.h:
1116 * paragraph_pimpl.C:
1117 * text2.C: remove Inset::par_owner
1119 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1124 * text2.C: eliminates the needFullRow/display() stuff
1125 altogether, putting the logic in metrics/draw in the insets.
1127 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1129 * text2.C (redoParagraphInternal, redoParagraphs):
1130 * text.C (redoParagraph): add a call to updateRowPositions at the
1131 end of each 'metrics-like' call. Remove all others.
1132 (getRow): remove the 'y-computing' version.
1133 (getRowNearY): do not compute nor return the real y. Solve the
1134 'y < 0' problem and simplify.
1136 2003-08-22 Angus Leeming <leeming@lyx.org>
1138 * *.[Ch]: clean-up of licence and author blurbs.
1139 Also move config.h out of a few .h files and into a few .C files.
1141 2003-08-22 André Pönitz <poenitz@gmx.net>
1143 * lyxrow.[Ch]: add x_ and *fill_ members
1148 * text2.C: adjust/remove prepareToPrint() calls
1150 2003-08-22 André Pönitz <poenitz@gmx.net>
1152 * lyxrow.[Ch]: add end_ member
1154 * lyxrow_funcs.C: use LyXRow::end_
1156 * lyxtext.h (singleWidth): add LyXFont parameter
1159 * text2.C: adjust LyXText::singleWidth() calls
1161 * text.C (redoParagraph): simplify row breaking logic
1164 2003-08-19 André Pönitz <poenitz@gmx.net>
1166 * funcrequest.C: initialize button_ member
1169 * rowpainter.[Ch]: interface consolidation
1171 2003-08-18 André Pönitz <poenitz@gmx.net>
1174 * BufferView_pimpl.C:
1176 * paragraph_funcs.C:
1178 * text3.C: remove LyXScreen::draw() and fitCursor calls
1180 * BranchList.h: remove spurious semicolons
1182 * MenuBackend.C: fix branchlist related crash
1184 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1192 * bufferparams.[Ch]:
1196 * text3.C: implements the 'branch inset'
1197 idea. This allows the output of various versions of a document
1198 from a single source version, selectively outputing or suppressing
1199 output of parts of the text.
1200 This implementation contains a 'branch list editor' in a separate
1201 tab of the document settings dialog. Branches are user definable
1202 and have a "display colour" to distinguish them on-screen.
1204 ColorHandler was somewhat cleaned up.
1205 (1) make possible a dynamically growing LColor list by allowing
1206 the graphic context cache to grow along (vector);
1207 (2) eliminate an IMHO unnecessary step in colour allocation.
1209 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1211 * BufferView_pimpl.C: compile fix
1213 2003-08-15 André Pönitz <poenitz@gmx.net>
1215 * rowpainter.C: remove extra metrics calls
1217 * lyxtext.h: merge the two constructors into a single one,
1218 pass reference to owner's par list
1220 * BufferView_pimpl.C:
1224 2003-08-15 André Pönitz <poenitz@gmx.net>
1226 * lyxrow_funcs.[Ch]:
1229 * paragraph_funcs.C:
1234 * text_funcs.C: split LyXText::rowlist_ into individual
1235 Paragraph::rows_ chunks
1238 * BufferView_pimpl.[Ch]:
1241 * text3.C: remove toggleSelection()
1243 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1245 * bufferlist.C: beautify two alerts (shorter text of buttons)
1246 * buffer.C: Remove redundant ' ' from message
1248 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1249 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1250 rename VALIGN_CENTER to VALIGN_MIDDLE
1252 2003-08-11 André Pönitz <poenitz@gmx.net>
1254 * lyxtext.h (getPar):
1255 * text.C: new function
1257 2003-08-11 André Pönitz <poenitz@gmx.net>
1260 * tracer.[Ch]: remove unneeded files
1262 * InsetList.[Ch]: remove resizeInsetsLyXText()
1267 * text3.C: merge insertParagraphs() and appendParagraph()
1268 remove breakAgain(), update()
1270 * BufferView_pimpl.[Ch]:
1271 * bufferview_funcs.[Ch]:
1275 * tabular.C: adjust after text & InsetList changes.
1277 2003-08-08 André Pönitz <poenitz@gmx.net>
1279 * text.C (insertChar, backspace): replace rowlist fiddling
1280 with rebreak of full par
1283 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1284 checkParagraph, updateInset): removed
1286 2003-08-07 André Pönitz <poenitz@gmx.net>
1289 * text3.C: merge some LFUN handlers, remove dead code
1291 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1295 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1297 * text2.C (DEPM): fix part of bug 1255 and 1256
1299 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * BufferView_pimpl.C (workAreaDispatch): change to use
1302 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1303 that are no mouse related.
1305 2003-08-05 André Pönitz <poenitz@gmx.net>
1308 * BufferView_pimpl.[Ch]:
1309 * bufferview_funcs.C:
1311 * text3.C: rip out "deep update"
1313 * textcursor.[Ch] (last_sel_cursor): remove unused member
1315 2003-08-04 André Pönitz <poenitz@gmx.net>
1318 * BufferView_pimpl.[Ch]:
1319 * ParagraphParameters.C:
1320 * bufferview_funcs.C:
1326 * text3.C: replace "complicated" BufferView::update(...) calls with
1329 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1331 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1333 * Makefile.am (lyx_SOURCES): add paper.h
1335 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1337 * Makefile.am: move things around so that both lyx-qt and
1338 lyx-xforms can be built (according to --with-frontend). Then lyx
1339 is a symbolic link to lyx-[firstfrontend]
1341 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1343 * Always use std::endl with lyxerr
1345 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1347 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1349 2003-08-01 André Pönitz <poenitz@gmx.net>
1352 * BufferView_pimpl.[Ch]:
1354 * text3.C: merge BufferView::repaint() and BufferView::update()
1356 2003-08-01 José Matos <jamatos@lyx.org>
1358 * buffer.[Ch]: file_format is no longer a buffer data element.
1360 2003-08-01 André Pönitz <poenitz@gmx.net>
1365 * text2.C: make redoParagraph more independent of current cursor
1367 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1369 * text2.C: remove unneeded members
1371 2003-07-30 André Pönitz <poenitz@gmx.net>
1373 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1375 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1376 create a single function...
1378 * paragraph_funcs.C (moveItem): ... here.
1381 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1383 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1385 * LColor.[Ch]: Add comment and greyedout logical colors.
1387 2003-07-30 André Pönitz <poenitz@gmx.net>
1389 * tabular.C: don't use Assert too heavily. This crashes where it
1392 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1394 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1395 is disabled (bug 1232)
1397 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1399 * factory.C: limited 'arg' scope
1401 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1403 * factory.C: fixed Note submenu issues
1405 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1407 * factory.C: submenu for Note/Comment/Greyedout
1409 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1412 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1414 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1417 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1418 greyedout. Patch provided by Jürgen Spitzmüller.
1420 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1422 * kbmap.C (read): fix error message when reading bind files
1424 2003-07-29 Angus Leeming <leeming@lyx.org>
1426 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1427 certainly does not do what it purports to do. I am doing it, and
1428 us, a favour by killing it.
1430 2003-07-28 José Matos <jamatos@lyx.org>
1432 * buffer.C (readBody, do_writeFile):
1433 * paragraph.C(readParagraph): \end_document replaces \the_end.
1435 2003-07-29 André Pönitz <poenitz@gmx.net>
1438 * BufferView_pimpl.[Ch]:
1442 * textcursor.[Ch]: remove toggleToggle & Co
1444 2003-07-28 José Matos <jamatos@fep.up.pt>
1446 * buffer.C (readParagraph):
1447 * params_func (readParToken, readParagraph):
1448 * paragraph.C (write): \layout -> \begin_layout.
1450 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1452 * lyxlex_pimpl.C (setFile): clean up slightly.
1454 * bufferparams.h: add compressed var
1456 * buffer_funcs.C (readFile): adjust for LyXLex change
1457 (newFile): ditto + simplify
1459 * buffer.C (writeFile): handle writing of compressed files
1461 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1462 Check if the file is compressed and set a bufferparm if so.
1464 * Makefile.am (lyx_LDADD): remove explicit -lz
1466 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1469 makeDocBookFile): put the real LyX version in the first line of
1473 * version.C.in: remove lyx_docversion
1475 * tabular.C (write_attribute): add a template-based version to
1476 write enums properly
1478 2003-07-28 André Pönitz <poenitz@gmx.net>
1483 * text3.C: use doubles again for x-coordinates. They are needed.
1485 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * messages.C (getLocaleDir): use lyx_localedir()
1489 * lyxlex_pimpl.C (setFile): compress stuff
1491 * buffer.C (writeFile): add some compression stuff
1492 (do_writeFile): new func, dont call expliti close... will this
1495 * Makefile.am (lyx_LDADD): add -lz
1497 2003-07-28 José Matos <jamatos@fep.up.pt>
1499 * buffer.C: increment file format.
1500 * paragraph_funcs (readParagraph, readParToken):
1501 * paragraph.C (readParagraph): add \end_layout.
1503 2003-07-27 Angus Leeming <leeming@lyx.org>
1505 * Makefile.am: remove special casing for configure-time setting of
1506 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1508 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1509 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1511 2003-07-26 André Pönitz <poenitz@gmx.net>
1513 * paragraph_func.[Ch]:
1514 * paragraph.C (realizeFont): inline it whereever it is used
1519 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1522 2003-07-26 André Pönitz <poenitz@gmx.net>
1526 * text2.C: get rid of LyXText::need_break_row
1528 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1530 * toc.[Ch]: put namespace toc inside namespace lyx
1532 * MenuBackend.C (expandToc2): adjust for lyx::toc
1535 * lyxfunc.C (dispatch): adjust for lyx::find
1537 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1538 lyx::find instead. Reorganize a bit.
1539 (LyXReplace): rename to replace
1540 (LyXFind): rename to find
1542 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1545 2003-07-26 André Pönitz <poenitz@gmx.net>
1547 * text.C (setHeightOfRow): restrict scope of temporary variable
1549 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1550 code (never has been used?)
1552 2003-07-27 Asger Alstrup <alstrup@local>
1554 * text.C (fill): Optimise algorithm to exploit that we can reuse
1555 the LyXFont for many characters.
1556 (setHeightOfRow): Same thing.
1557 (rowBreakPoint): Same thing.
1559 2003-07-26 Asger Alstrup <alstrup@local>
1561 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1563 * text.C (singleWidth): Spurious font copying in hot-spot
1564 singleWidth avoided. Reorder tests for arabic for efficiency.
1566 * text.C (fill): handle empty paragraphs better.
1568 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * encoding.h: add includes
1573 * lyxrc.C: remove reading of bind files
1575 * lyx_main.C (init): setup bindings and menus only if we have a
1578 * kbmap.C (read): new method. Do the actual reading of bind
1581 * converter.C (dvipdfm_options):
1584 (output): adapt PAPER_* enums.
1586 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1588 * bufferparams.h: remove paper-related enums from there
1590 * paper.h: New file. A trivial header file to hold paper-related
1591 enums. It should later expand to contain many paper-related
1594 * lyxrc.C: declare extern displayTranslator
1596 2003-07-27 José Matos <jamatos@fep.up.pt>
1598 * tabular.[Ch] (linuxdoc): add support for tables and figures
1601 2003-07-27 José Matos <jamatos@fep.up.pt>
1603 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1604 consistency in both functions.
1605 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1607 2003-07-26 Asger Alstrup <alstrup@local>
1609 * rowpainter.C (paintRows): Change algorithm to work directly on
1610 the insets rather than asking every character in the document
1611 whether its an inset.
1613 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1615 * buffer.C (openFileWrite): factorize some code
1617 2003-07-26 Angus Leeming <leeming@lyx.org>
1620 * lyx_main.[Ch]: replace occurances of system_tempdir with
1623 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * rename Inset to InsetOld
1627 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1629 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1630 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1631 which I think is a bit clearer. EDIT is gone, since it was
1632 premature optimisation, and broken for mathed anyway.
1633 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1634 with cursor positioning in insets as well (math insets still do not
1635 work, but that's a different story anyway.) It mysteriously
1636 crashes sometimes with undo in the first paragraph, but I'm fairly
1637 confident that this is a compiler bug.
1639 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1641 * paragraph.C (Paragraph): adjust for new clone return type
1643 (copyIntoMinibuffer): ditto
1645 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1647 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1648 by not having a special case, and always doing a full rebreak of
1649 the document after undo.
1651 2003-07-23 Angus Leeming <leeming@lyx.org>
1653 * factory.C (createInset): InsetExternal::setParams now takes a
1656 2003-07-23 Angus Leeming <leeming@lyx.org>
1658 * factory.C (createInset): changed interface to the external and
1659 graphics mailers' string2params functions.
1661 2003-07-23 Angus Leeming <leeming@lyx.org>
1663 * factory.C (createInset): pass a
1664 Buffer const * parameter to InsetExternalMailer's string2params.
1666 2003-07-22 John Levon <levon@movementarian.org>
1668 * Thesaurus.h: include the right aiksaurus header
1670 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1672 * MenuBackend.C (expand): check menu shortcuts unconditionally
1674 2003-07-21 Angus Leeming <leeming@lyx.org>
1676 * factory.C (createInset): pass a
1677 buffer_path parameter to InsetGraphicsMailer's string2params.
1679 2003-07-21 Angus Leeming <leeming@lyx.org>
1681 * BufferView_pimpl.C (buffer):
1684 * lyxfunc.C (dispatch):
1685 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1686 rather than the grfx shortcut.
1688 2003-07-21 André Pönitz <poenitz@gmx.net>
1690 * rowpainter.C: remove unused variables
1693 * tabular_funcs.h: move to tabular.C
1694 * Makefile.am: adjust
1696 * tabular.[Ch]: basic optical cleaning
1698 * author.h: pass references, not values
1700 2003-07-18 André Pönitz <poenitz@gmx.net>
1708 * text3.C: two-phase drawing for InsetText and InsetTabular
1709 some float -> int changes.
1711 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1713 * lyx_main.C: fix the fix
1715 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1717 * lyx_main.C: fix a crash in batch mode if no files specified
1720 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1722 * format.[Ch] (papersize): moved to BufferParams
1723 * converter.[Ch] (dvips_options): moved to BufferParams
1724 (dvipdfm_options): moved to anon namespace
1725 * bufferparams.[Ch]: added above functions.
1727 2003-07-17 André Pönitz <poenitz@gmx.net>
1731 * text2.C: don't call inset->update() anymore
1733 * metricsinfo.[Ch]: add convenience constructor
1735 2003-07-16 André Pönitz <poenitz@gmx.net>
1740 * text2.C: replace the LyXCursor::irow_ member with
1741 on-demand computation of the value
1743 2003-07-16 John Levon <levon@movementarian.org>
1745 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1747 2003-07-15 André Pönitz <poenitz@gmx.net>
1750 * text2.C: remove no more needed refresh_row
1752 2003-07-15 André Pönitz <poenitz@gmx.net>
1757 * text3.C: refresh_status tristate -> need_update bool
1759 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1761 * lyxtext.h (init): remove reinit argument (act as if always true)
1762 * text2.C: adjust to that
1764 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1766 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1767 * text3.C: use it to delete selections in some cases
1768 (bugs 441, 673, 702, 954).
1770 2003-07-14 André Pönitz <poenitz@gmx.net>
1772 * rowpainter.[Ch]: reduce interface
1774 2003-07-14 André Pönitz <poenitz@gmx.net>
1776 * BufferView_pimpl.C:
1777 * text2.C: adjust after removing unused BufferView * argument
1779 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1781 * text2.C (init): fix a crash fired on resize
1783 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1785 * buffer.[Ch]: added new closing signal
1786 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1787 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1788 BufferView::Pimpl via the closing the signal
1790 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1792 * buffer.[Ch]: take out all bv-related from buffer
1794 * BufferView_pimpl.[Ch]: connect to new signals
1795 * CutAndPaste.C: removed useless asserts
1796 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1799 * lyxfunc.C: moved view-related funciontality from vc here
1800 * paragraph.C: removed outdated comments
1803 2003-07-10 André Pönitz <poenitz@gmx.net>
1805 * BufferView_pimpl.C:
1809 * text2.C: remove InsetText::InnerCache, clean up consequences
1811 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1813 * ispell.C: fix two typos in error messages
1815 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1817 * Extend Note inset to other forms of annotation like Comment
1818 and Greyedout. Right button click gives dialog.
1820 Files modified or added (+):
1824 * ControlNote.[Ch] +
1826 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1827 frontends/controllers
1831 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1833 * aspell.C: add missing namespace lyx::support
1835 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1837 * BufferView.[Ch] (newFile): Add
1838 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1839 * LaTeX.[Ch] (message): added this signal and use it
1840 * buffer.[Ch] (busy, message): added these signals and use them
1841 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1845 * importer.C: use buffer signals instead of direct bv calling
1846 * lyx_cb.[Ch] (ShowMessage): removed
1849 * paragraph_funcs.C:
1850 * text2.C: use buffer signals
1852 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1854 * introduce namespace lyx::graphics
1856 2003-07-02 André Pönitz <poenitz@gmx.net>
1858 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1860 2003-07-01 André Pönitz <poenitz@gmx.net>
1867 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1868 text*.C to text_func.C
1870 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1872 * introduce namespace lyx::support
1874 2003-06-30 André Pönitz <poenitz@gmx.net>
1879 * text.C: re-enable --with-included-string
1881 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * textcursor.C: add <config.h>
1885 * text.C (getWord): remove const from word_location arg
1887 * lyxvc.C (getLogFile): fix const type order
1889 * lyxtext.h: remove const from word_location arg, add arg name
1891 * lyxlayout.h: currect type on labeltype.
1893 * importer.C: correct \file
1895 * converter.C (intToFormat): use std:: on ret val, ws changes
1897 * bufferlist.h: correct \file
1899 * buffer.C (makeLinuxDocFile): fix const type order
1900 (makeDocBookFile): ditto
1901 (fillWithBibKeys): use std:: on stdlib args.
1903 * CutAndPaste.C: fix authors.
1904 (availableSelections): use std:: on return vector
1906 2003-06-27 André Pönitz <poenitz@gmx.net>
1908 * BufferView_pimpl.C:
1909 * bufferview_funcs.C:
1917 * text3.C: remove LyXCursor::row_ member
1920 * text.C: rename fullRebreak() to partialRebreak() and implement
1921 a fullRebreak() that really bereks fully
1923 * textcursor.h: new struct for cursor-related data
1925 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1927 * lyx_main.C (LyX): get full path of document loaded on the
1930 2003-06-26 André Pönitz <poenitz@gmx.net>
1932 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1933 remove unused/broken operator>,<,>=.
1935 * text.C: remove only use of broken operator<= in an Assert().
1937 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1939 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1940 moved errorlist_.clear to showErrorList
1942 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1944 * converter.C (scanLog, runLaTeX):
1945 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1946 move the bv->showErrorList call to the callers
1947 * lyxfunc.C: i.e. here...
1949 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1950 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1951 namespace, the second to...
1952 * buffer_funcs (BufferFormat, parseErrors): added
1953 * errorlist.C (ErrorList(TeXErrors const &)): removed
1955 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1957 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1959 2003-06-24 "Garst R. Reese" <reese@isn.net>
1963 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1965 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1967 * version.C.in: change docversion to 1.4
1969 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1971 * buffer.C: fix a bug just introduced
1973 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1975 * buffer.[Ch]: added the parseError signal and use it, removed
1977 * BufferView.[Ch] (addError): moved to ...
1978 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1979 to the Buffer::parseError signal to catch (guess what) parse errors
1980 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1982 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1984 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1985 ability to create a buffer and to return an existing one from
1986 the list. Moved these functions to...
1987 * buffer_funcs.[Ch]: added
1988 * BufferView.[Ch] (loadLyXFile): added
1989 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1990 job removed from bufferlist::loadLyXFile.
1991 * buffer.C (setReadOnly): make it work without view
1992 (i.e added an if (users))
1994 2003-06-19 Angus Leeming <leeming@lyx.org>
1997 * LyXAction.C (init):
1998 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1999 with LFUN_DIALOG_SHOW <name> <data>.
2001 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * CutAndPaste.C (availableSelections): small compilation fix for
2004 ancient (gcc 2.9x) compilers
2006 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * text3.C (cursorNext): add tmp var
2010 * text2.C (updateCounters): for function calling out of for clause
2011 (replaceSelectionWithString): ditto
2012 (insertStringAsParagraphs): ditto
2013 (getColumnNearX): add tmp var
2014 (setCursorFromCoordinates): add tmp var
2015 (cursorDownParagraph): add tmp var
2016 (deleteEmptyParagraphMechanism): add tmp var
2018 * text.C (insertChar): add tmp var
2020 * rowpainter.C (paintDepthBar): add tmp var
2022 * CutAndPaste.C (availableSelections): potentially check all
2023 paragraphs in a cut to fill the shown strings.
2025 2003-06-18 André Pönitz <poenitz@gmx.net>
2027 * kbmap.[Ch]: use vector<> instead of list<>
2029 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2031 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2032 pasteSelection with index
2034 * text2.C (pasteSelection): modify, call pasteSelection with index
2036 * paragraph.C (asString): reimplement version with no interval to
2037 call the one with interval.
2039 * lyxtext.h: add index arg to pasteSelection
2041 * MenuBackend.C (MenuItem): handle PasteRecent
2042 (Menu::read::Menutags): add md_pasterecent
2044 (expandPasteRecent): new function
2047 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2049 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2051 (availableSelections): new function
2053 2003-06-17 Angus Leeming <leeming@lyx.org>
2055 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2057 2003-06-17 Angus Leeming <leeming@lyx.org>
2060 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2062 * lyxfunc.C (dispatch): invoke it.
2064 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * iterators.C (operator++, ParPosition): reintroduce some
2067 const_cast for the benefit of older compilers.
2069 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * text3.C (dispatch): do not modify clipboard when doing
2072 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2073 LFUN_DELETE_SKIP on a selection selection
2075 2003-06-16 André Pönitz <poenitz@gmx.net>
2081 * tabular.[Ch]: IU of clone() and getLabelList();
2083 2003-06-13 André Pönitz <poenitz@gmx.net>
2085 * tabular.h: compactification
2087 2003-06-12 André Pönitz <poenitz@gmx.net>
2091 * tabular_funcs.h: some renaming plus whitespace
2093 2003-06-12 André Pönitz <poenitz@gmx.net>
2096 * BufferView_pimpl.C:
2102 * toc.C: Return a Paragraph & for ParIterator::operator*()
2104 2003-06-11 John Levon <levon@movementarian.org>
2108 * ToolbarBackend.C: add "Toolbars" section and
2111 2003-06-10 Angus Leeming <leeming@lyx.org>
2114 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2116 * lyxfunc.C (dispatch): invoke it.
2118 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * main.C: protect <ios> with HAVE_IOS
2121 (main): protect sync_with_stdio with HAVE_IOS
2123 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2125 * text2.C (cutSelection): adjust
2126 (pasteSelection): adjust
2128 * messages.C: handle get of empty string
2130 * main.C (main): use sync_with_stdio(false)
2132 * lyxfunc.C (dispatch): adjust
2134 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2135 (WriteAs): remove unneeded BufferView arg.
2137 * bufferparams.h: use correct types on papersize, papersize2 and
2140 * bufferparams.C (readToken): adjust for type
2141 (writeLaTeX): add missing cases to switch.
2143 * bufferlist.C (quitWriteBuffer): adjust
2146 * buffer.C (asciiParagraph): remove some commented code.
2148 * CutAndPaste.C: remove current_view extern variable.
2149 (cutSelection): add BufferParams arg.
2150 (eraseSelection): add BufferParams arg.
2151 (pasteSelection): add Buffer const & arg
2153 2003-06-07 John Levon <levon@movementarian.org>
2156 * paragraph_funcs.C:
2157 * paragraph_pimpl.C:
2161 * paragraph.C: allow InsetERT to freely space lines,
2162 and some consolidation of code
2164 2003-06-06 José Matos <jamatos@fep.up.pt>
2166 * buffer.C (makeDocBookFile): fix bug #821
2168 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2170 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2172 2003-06-04 Angus Leeming <leeming@lyx.org>
2174 * buffer.C: bump format to 224.
2176 2003-06-05 André Pönitz <poenitz@gmx.net>
2178 * text2.C (redoParagraphs): remove two const_cast<>
2180 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2182 * ParagraphList.h: remove last remnants of NO_STD_LIST
2184 2003-06-03 Angus Leeming <leeming@lyx.org>
2186 * factory.C (createInset): small change to the way InsetExternal's params
2189 2003-06-04 André Pönitz <poenitz@gmx.net>
2191 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2193 * paragraph_pimpl.h:
2194 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2196 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2198 * undo_funcs.C: make some simple cases of undo work again
2200 2003-06-03 John Levon <levon@movementarian.org>
2202 * ispell.C: HPUX doesn't have sys/select.h
2205 2003-06-03 John Levon <levon@movementarian.org>
2207 * CutAndPaste.C: update tabular and include inset
2212 * paragraph.C: remove owningBuffer(), don't pass Buffer
2215 * factory.C: insetGraphicsParams changed
2217 2003-06-02 John Levon <levon@movementarian.org>
2223 * text3.C: remove insetparent
2225 2003-06-02 John Levon <levon@movementarian.org>
2228 * buffer.C: fix inset_iterator.end(), move out of line
2231 2003-06-01 John Levon <levon@movementarian.org>
2233 * text3.C: use a proper cut/paste when doing inset
2234 insert (from Jürgen Spitzmüller)
2236 2003-06-01 John Levon <levon@movementarian.org>
2238 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2240 2003-05-30 André Pönitz <poenitz@gmx.net>
2242 * rowpainter.C: unify second drawing phase
2244 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * trans_mgr.C: remove one case of current_view
2248 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2250 * paragraph_funcs.h: remove paragraph.h include
2252 * paragraph.h: delete NO_STD_LIST stuff
2254 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2256 * buffer.h: remove paragraph.h include
2258 * ParagraphList.C: delete file
2260 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2262 * toc.C (getTocList): adjust
2264 * paragraph_pimpl.C (validate): adjust
2266 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2268 * paragraph.C (Paragraph): adjust
2269 (getPositionOfInset): use const_iterator, adjust
2270 (bibitem): use const_iterator, adjust
2271 (setInsetOwner): adjust
2273 * iterators.C (operator++): adjust
2275 * InsetList.[Ch]: Replace selfmade iterator with standard
2276 vector::iterator also introduce const_iterator. Remove getPos,
2277 getInset and setInset from InsetTable. Adjust accordingly.
2279 * BufferView.C (lockInset): adjust
2280 (ChangeInsets): adjust
2282 * tabular.[Ch]: delete commented same_id functions
2284 2003-05-28 John Levon <levon@movementarian.org>
2286 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2288 2003-05-28 André Pönitz <poenitz@gmx.net>
2290 * metricsinfo.[Ch]: remove 'fullredraw' member
2292 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2294 * lyxtextclass.C (operator): remove caching.
2296 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * text2.C (cursorBottom): adjust
2301 (setCounter): use ParagraphList::find, adjust
2303 * text.C (workWidth): use ParagraphList::find, adjust
2305 * lyxcursor.C (LyXCursor): adjust
2307 * buffer.C (inset_iterator): adjust
2309 * ParagraphList.h: make iterator(value_type) private, make
2310 ParagraphList a friend of iterator.
2312 * ParagraphList.C (find): new function
2314 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2316 2003-05-27 André Pönitz <poenitz@gmx.net>
2318 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2320 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2322 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2324 2003-05-26 John Levon <levon@movementarian.org>
2326 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2328 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2330 * remove same_id from function signatures, adjust.
2332 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2334 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2336 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2338 * paragraph.C (Paragraph): get rid of same_ids parameter
2340 * ParagraphList.C (insert): adjust
2343 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * paragraph_funcs.C (breakParagraph): adjust
2346 (breakParagraphConservative): adjust
2348 * buffer.C (readParagraph): adjust
2350 * ParagraphList.C (insert): take a reference instead of a pointer
2353 * paragraph.[Ch] (id): new function
2355 * bufferlist.C (newFile): adjust
2357 * ParagraphList.C (ParagraphList): adjust
2359 (push_back): take a reference instead of a pointer.
2361 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2363 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2366 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2367 set else use old code.
2369 * ParagraphList.C: remove all NO_NEXT code and only compile this
2370 code of NO_STD_LIST is set.
2372 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2374 * BufferView_pimpl.C:
2384 * graphics/GraphicsConverter.C:
2385 * graphics/PreviewLoader.C: header adjustment
2387 2003-05-23 Angus Leeming <leeming@lyx.org>
2389 * LaTeXFeatures.[Ch] (useBabel): new method.
2390 * bufferparams.C (writeLaTeX): use it.
2392 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * ParagraphList.h (set): remove unused function.
2396 2003-05-23 André Pönitz <poenitz@gmx.net>
2399 * BufferView_pimpl.C:
2403 * undo_funcs.C: setUndo reworked
2405 * iterators.[Ch]: add access to topmost ParagraphList
2407 * lyxtext.[Ch] (workWidth): add a const
2409 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2411 * texrow.[Ch] (increasePos): remove function
2412 * exporter.C (export): removed unused var and outdated comment
2414 2003-05-23 Angus Leeming <leeming@lyx.org>
2416 * latexrunparams.h: rename fragile as moving_arg.
2417 * paragraph.C (simpleTeXOnePar): ditto.
2418 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2420 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2422 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2424 (textUndoOrRedo): comment out a currently unused var.
2426 * paragraph.h (NO_NEXT): enable NO_NEXT
2428 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2430 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2432 * exporter.C (Export): adjust for removeAutoInsets removal.
2434 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2436 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2438 * BufferView.[Ch] (removeAutoInsets): delete function
2440 2003-05-22 Angus Leeming <leeming@lyx.org>
2442 * latexrunparams.h: add a free_spacing variable.
2444 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2445 to pass moving_arg, as the data is stored in runparams.fragile.
2447 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2448 to Inset::latexOptional or to simpleTeXOnePar.
2450 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2451 free_spacing arg to Inset::latexOptional.
2453 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2456 2003-05-22 Angus Leeming <leeming@lyx.org>
2458 * latexrunparams.h: add fragile and use_babel variables.
2460 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2461 * buffer.C (makeLaTeXFile): store this returned value in
2462 runparams.use_babel, thus passing it to the inset::latex methods.
2464 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2465 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2467 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2468 longer has a fragile arg, as it is stored in runparams.fragile.
2470 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2471 moving_arg parameter as the data is stored in runparams.fragile.
2473 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2474 a fragile parameter as the data is stored in runparams.fragile.
2476 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2480 2003-05-22 Angus Leeming <leeming@lyx.org>
2482 * latexrunparams.h: add a 'bool nice' which defaults to false.
2484 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2485 now encapsulated within runparams.
2487 * bufferlist.C (updateIncludedTeXfiles):
2488 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2490 2003-05-22 Angus Leeming <leeming@lyx.org>
2492 * latexrunparams.h: new file containing struct LatexRunParams.
2493 * Makefile.am: add new file.
2495 * LaTeX.[Ch] (c-tor, run):
2496 * buffer.[Ch] (makeLaTeXFile):
2497 * bufferlist.[Ch] (updateIncludedTeXfiles):
2498 * converter.C (convert, scanLog):
2499 * converter.[Ch] (runLaTeX):
2500 * exporter.C (Export):
2501 * paragraph.[Ch] (simpleTeXOnePar):
2502 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2503 * paragraph_funcs.[Ch] (latexParagraphs):
2504 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2505 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2506 pass around a LatexRunParams parameter.
2508 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * paragraph.[Ch]: remove unused constructor
2512 * ParagraphList.C (erase): new function, taking two iterators
2514 2003-05-22 André Pönitz <poenitz@gmx.net>
2516 * undo_funcs.C: remove duplicated code
2518 * iterator.[Ch]: operator=
2520 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2522 * tabular.C (SetMultiColumn): ws changes
2524 * rowpainter.C (paintFirst): get rid of a ->previous
2526 * lyx_cb.C (getPossibleLabel): parlist simplification
2528 * BufferView.C (ChangeInsets): simplify slightly.
2530 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2532 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2533 * lfuns.h: new LFUN_SPACE
2534 * lyxfunc.C: protected space has a new lfun
2535 * paragraph_funcs.C: read new space insets
2537 * factory.C: handle new space insets
2539 2003-05-22 André Pönitz <poenitz@gmx.net>
2542 * BufferView_pimpl.C:
2545 * undo_funcs.C: return a ParIterator from getParFromID.
2547 * iterators.[Ch]: add two const's
2549 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2551 * toc.C (getTocList): adjust
2553 * iterators.[Ch]: rework for parlist
2555 * buffer.C (par_iterator_begin): adjust
2556 (par_iterator_end): adjust
2558 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2560 * BufferView.C (removeAutoInsets): adjust
2561 (ChangeInsets): adjust
2563 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2565 * text.C (top_y): fix bug 1110
2567 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2569 * errorlist.[Ch]: added
2572 * BufferView_pimpl.C:
2573 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2576 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * Makefile.am: ensure that lyx is relinked upon changes to the
2579 various "convenience" libs.
2581 2003-05-20 Angus Leeming <leeming@lyx.org>
2583 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2584 files are compiled in alphabetical order again.
2586 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2588 2003-05-19 Angus Leeming <leeming@lyx.org>
2590 * gettext.[Ch]: remove "char const * _(char const *)".
2592 2003-05-19 André Pönitz <poenitz@gmx.net>
2594 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2603 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2605 2003-05-19 André Pönitz <poenitz@gmx.net>
2609 * lyxtextclass.[Ch]:
2611 * paragraph_funcs.[Ch]:
2613 * text3.C: more insetenv work
2615 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2617 * ParagraphParameters.C (params2string): small bug fixed
2619 2003-05-16 André Pönitz <poenitz@gmx.net>
2622 * bufferview_funcs.C: patch from Kornel Benko to prevent
2623 crash when _(...) is called twice in a statement
2625 2003-05-16 André Pönitz <poenitz@gmx.net>
2632 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2634 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2636 * lyx_main.C (init): remove spurious static_cast
2638 2003-05-14 André Pönitz <poenitz@gmx.net>
2640 * BufferView.C: fix format string
2642 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2644 * BufferView.[Ch] (insertErrors): removed
2645 * BufferView.[Ch] (showErrorList): added
2646 * buffer.C (runChkTeX):
2647 * converter.C (scanLog): call showErrorList instead of inserterrors
2649 2003-05-13 André Pönitz <poenitz@gmx.net>
2651 * BufferView_pimpl.C:
2653 * bufferview_func.C:
2660 * tabular_funcs.h: tostr() from its own header
2662 * ParagraphParameters.C:
2667 * text3.C: STRCONV()
2669 2003-05-12 André Pönitz <poenitz@gmx.net>
2672 * BufferView_pimpl.C:
2676 * ParagraphParameters.C:
2680 * bufferview_funcs.C:
2693 * paragraph_funcs.C:
2697 * text3.C: boost::format -> bformat all over the place
2700 2003-05-09 André Pönitz <poenitz@gmx.net>
2702 * LColor.[Ch]: Pimpl the #include <map> away
2704 2003-05-09 John Levon <levon@movementarian.org>
2706 * bufferlist.C: never remove emergency saves
2708 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2710 * Makefile.am: better lib building
2712 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2714 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2716 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2717 (simpleTeXSpecialChars): adjust
2718 (simpleTeXSpecialChars): adjust
2719 * paragraph.C (simpleTeXOnePar): adjust
2720 * buffer.C (makeLaTeXFile): adjust
2722 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2724 * text2.C (changeDepth): parlist cleanup
2725 (getColumnNearX): ditto
2727 * rowpainter.C (getLabelFont): parlist cleanup
2729 * bufferlist.C (newFile): parlist cleanup
2731 * CutAndPaste.C (eraseSelection): parlist cleanup
2733 * BufferView_pimpl.C (trackChanges): parlist cleanup
2736 * BufferView.C (lockInset): parlist cleanup.
2737 (ChangeInsets): ditto
2739 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2741 * CutAndPaste.h: Update file header.
2743 * CutAndPaste.C: Update file header.
2744 Store the parts cut out of the Document in a limited_stack.
2745 (copySelection): adjust
2746 (pasteSelection): new function, takes the index in the limited stack.
2747 (nrOfParagraphs): adjust
2748 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2749 simplify error inset insertion.
2750 (checkPastePossible): adjust
2752 2003-05-06 John Levon <levon@movementarian.org>
2754 * text2.C: don't cast wrap inset to float
2756 2003-05-05 André Pönitz <poenitz@gmx.net>
2759 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2761 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2762 few naked Paragraph *.
2764 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2766 * bufferparams.C: Output warning if a document with missing
2767 TeX document class is loaded
2768 * exporter.C: Disable TeX exports if the document class is missing
2771 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2772 isTeXClassAvailable()
2774 2003-05-03 John Levon <levon@movementarian.org>
2777 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2778 explicit cursor show/hide
2780 * BufferView_pimpl.h:
2781 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2782 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2784 * lyxfunc.C: hide cursor before dispatching.
2789 * text3.C: remove explicit cursor hides
2791 2003-05-02 André Pönitz <poenitz@gmx.net>
2793 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2796 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2799 * text2.C: tiny whitespace
2801 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * undo_funcs.C: almost only ws changes.
2805 * ParagraphList.C (splice): just return if pl is empty.
2807 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * ParagraphList.C (splice): new function.
2811 * CutAndPaste.C (pasteSelection): use it
2813 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * CutAndPaste.C (pasteSelection): remove the last next and
2816 previous from this file.
2818 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * CutAndPaste.C (pasteSelection): more clean up, user proper
2821 ParagraphList functions for pasteing.
2823 * ParagraphList.C (insert): new function, three arg insert
2825 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * ParagraphList.C (insert): new function, three arg insert
2829 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2832 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2836 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2838 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2840 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2842 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2843 (copySelection): clean up a bit.
2844 (pasteSelection): use make_pair
2846 * ParagraphList.C (ParagraphList): implement copy constructor
2847 (operator=): implement, base on copy constructor.
2850 * paragraph.C (erase): return a bool
2852 * paragraph_pimpl.C (erasePos): remove function, move contents...
2853 (erase): ... here. Return a bool.
2854 (erase): call erase instead of erasePos.
2856 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2858 * ParagraphList.h: define PitPosPair
2859 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2860 ParagraphList, fix a bug on pasting multiple pars
2861 * text2.C: change interface to C&P
2863 2003-04-30 André Pönitz <poenitz@gmx.net>
2865 * undo_func.C: revert part of yesterday's patch 2
2867 2003-04-30 John Levon <levon@movementarian.org>
2869 * LColor.C: s/tabular/table/
2871 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * text3.C (dispatch): do not convert iterator -> pointer
2874 * undo_funcs.C (setCursorParUndo): ditto
2875 * text_funcs.C (transposeChars): ditto
2877 * text2.C (setLayout): ws changes only
2879 * text.C (breakParagraph): do not convert iterator -> pointer
2881 (acceptChange): ditto
2882 (rejectChange): ditto
2887 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2890 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2892 * text3.C (gotoInset): YABG (yet another bad getChar)
2894 2003-04-29 André Pönitz <poenitz@gmx.net>
2896 * paragraph.h: make operator= private unimplemented as long as
2899 * ParagraphList.C: whitespace
2902 * paragraph_pimpl.[Ch]:
2903 * paragraph_funcs.C:
2905 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2908 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2910 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2912 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2913 * paragraph.[Ch] (erase):
2914 * paragraph_pimpl.[Ch] (erase): change return type and value
2915 * text2.C (cutSelection): some rework
2917 2003-04-28 John Levon <levon@movementarian.org>
2919 * bufferlist.C: changes for unsaved changes dialog
2921 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * bufferlist.C (newFile): set language (messages_) for new
2926 * buffer.C (readFile): ws changes only.
2928 2003-04-28 André Pönitz <poenitz@gmx.net>
2933 * BufferView_pimpl.C:
2934 * BufferView.C: getParFromID related ParagraphList::iterator changes
2936 2003-04-28 André Pönitz <poenitz@gmx.net>
2938 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2941 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * messages.C: remove one more localedir class variable.
2945 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * messages.C (getLocaleDir): singleton generation function
2949 (Messages): add a default constructor.
2951 * main.C (main): do not setup localedir here, do not call
2954 * gettext.C (_): use it.
2955 (gettext_init): delete funciton
2957 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2959 * gettext.C (getLyXMessages): new singleton generating function.
2961 * buffer.C (updateDocLang): adjust
2963 * Makefile.am (messages.o): add target
2964 (main.o): remove target
2966 2003-04-27 John Levon <levon@movementarian.org>
2971 * lyxvc.C: specify cancel button in Alert::prompt
2973 2003-04-26 John Levon <levon@movementarian.org>
2978 * LyXAction.C: add LFUN_INSET_SETTINGS
2980 * lyxfunc.C: don't enable tabular-feature when there's
2981 just any locking inset
2983 2003-04-26 John Levon <levon@movementarian.org>
2985 * bufferlist.C: re-add Cancel to buffer close question
2987 * lyxfunc.C: fix import UI a bit
2989 2003-04-25 John Levon <levon@movementarian.org>
2991 * gettext.C: remove the broken asserts for now
2993 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * messages.C: make case where setlocale cannot comply work better.
2997 * buffer.C (updateDocLang): new function
2998 (changeLanguage): use it
3001 * text2.C (setCounter): use B_ a bit.
3003 * lyxlayout.C (Read): be sure to trim the label strings.
3005 * messages.C (Messages): fix typo in comment
3007 * buffer.C (readFile): set message_ after file is loaded.
3008 (makeDocBookFile): remove double return
3009 (changeLanguage): reset message_ upon language change.
3010 (B_): new func, use this to get translated buffer strings.
3012 * main.C: add myself and Jean Marc as authors.
3014 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3016 * messages.[hC]: pimplify Messages, and three different pimpls to be
3017 used in different circumstances.
3019 * gettext.[Ch]: change for use with new message code.
3021 2003-04-24 André Pönitz <poenitz@gmx.net>
3023 * factory.C: support for eqref
3025 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3027 * messages.[Ch]: add missing char
3029 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3031 * messages.[Ch]: New files
3033 2003-04-18 John Levon <levon@movementarian.org>
3037 * BufferView_pimpl.C:
3041 * text2.C: remove layout-copy/paste (bug 778)
3043 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3045 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3047 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3049 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3050 if they succeed. Act accordingly.
3052 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3054 * text2.C (setCharFont): adjust
3055 (setCounter): adjust
3056 (insertStringAsLines): adjust
3058 * text.C (leftMargin): adjust
3059 (setHeightOfRow): adjust
3061 * rowpainter.C (paintFirst): adjust
3064 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3066 (isFirstInSequence): ditto
3067 (getEndLabel): ditto
3070 * paragraph.C (getParLanguage): comment out some hard stuff.
3072 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3074 (simpleDocBookOnePar): ditto
3075 (makeDocBookFile): use ParagraphList::iterator
3077 * CutAndPaste.C (pasteSelection): adjust
3079 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * text2.C (getFont): adjust
3082 (getLayoutFont): adjust
3083 (getLabelFont): adjust
3085 * paragraph_funcs.C (TeXOnePar): adjust
3087 * buffer.C (simpleLinuxDocOnePar): adjust
3088 (simpleDocBookOnePar): adjust
3090 * CutAndPaste.C (pasteSelection): adjust
3092 * BufferView.C (getEncoding): adjust
3094 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3096 2003-04-16 John Levon <levon@movementarian.org>
3098 * lyxfind.C: use parlist stuff for search/changes
3100 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3104 * text2.C (deleteEmptyParagraphMechanism): adjust
3106 * text2.[Ch] (ownerParagraph): delete func (both of them
3108 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3112 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * ParagraphList.C: prepare for NO_NEXT
3116 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * text2.C (getFont): adjust
3119 (getLayoutFont): adjust
3120 (getLabelFont): adjust
3122 * paragraph.C (getFont): adjust
3123 (getLabelFont): adjust
3124 (getLayoutFont): adjust
3126 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3128 2003-04-15 John Levon <levon@movementarian.org>
3132 * lyx_main.C: handle Include in .ui files
3134 2003-04-15 John Levon <levon@movementarian.org>
3136 * MenuBackend.C: make the doc files length shorter
3139 * ToolbarBackend.C: handle toolbar placement flags,
3142 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3147 * paragraph_funcs.C (TeXOnePar): adjust
3149 * paragraph.C (getLabelFont): add outerfont arg, adjust
3150 (getLayoutFont): ditto
3151 (simpleTeXOnePar): adjust
3153 * paragraph_pimpl.C (realizeFont): delete func
3155 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3157 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3158 row argument, constify cur argument.
3160 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * text2.C (getFont): adjust
3163 (getLayoutFont): adjust
3164 (getLabelFont): adjust
3166 * paragraph_funcs.C (TeXOnePar): adjust
3167 (outerFont): new func...
3168 (realizeFont): ...moved out from here, changed this to facilitate
3171 * paragraph.C (getFont): take outerfont as arg, adjust
3172 (simpleTeXOnePar): add outerfont arg, adjust
3174 * buffer.C (simpleLinuxDocOnePar): adjust
3175 (simpleDocBookOnePar): adjust
3177 * CutAndPaste.C (pasteSelection): adjust
3179 * BufferView.C (getEncoding): adjust
3181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * text2.C (setCharFont): adjust
3184 (setCounter): adjust
3186 * text.C (leftMargin): adjust
3187 (setHeightOfRow): adjust
3189 * rowpainter.C (paintFirst): adjust
3192 * paragraph_pimpl.C (realizeFont): adjust
3194 * paragraph.C (isFirstInSequence): move from here...
3195 * paragraph_funcs.C (isFirstInSequence): ...to here
3197 * paragraph.C (outerHook): move from here...
3198 * paragraph_funcs.C (outerHook): ...to here
3200 * paragraph.C (depthHook): move from here...
3201 * paragraph_funcs.C (depthHook): ...to here
3203 * paragraph.C (getEndLabel): move from here...
3204 * paragraph_funcs.C (getEndLabel): ...to here
3206 * text2.C (realizeFont): move from here...
3207 * paragraph_funcs.C (realizeFont): ...to here
3209 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3213 2003-04-14 Angus Leeming <leeming@lyx.org>
3215 * LColor.[Ch]: scrap LColor mathcursor.
3217 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * lyxlex.[Ch] (text): delete function
3220 * trans.C (Load): adjust
3221 * paragraph_funcs.C (readParToken): adjust
3223 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3225 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3226 vector<char> instead of a char[].
3228 * lyxlex_pimpl.C (getString): adjust
3230 (lex): use getString
3234 * lyxlex.C (text): use pimpl_->getString()
3238 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3241 (makeFontEntriesLayoutSpecific): temp var for par.size()
3242 (setLayout): temp var for ownerParagraphs().end()
3243 (fullRebreak): temp var for rows().end()
3244 (selectionAsString): temp var for boost::next(startpit), realize
3245 that the while really is a regular for loop.
3246 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3247 setCursor in one place.
3248 (setParagraph): temp vr for ownerParagraphs().end()
3249 (updateCounters): make the while loop a for loop
3250 (cutSelection): temp var for ownerParagraphs().end()
3251 (updateInset): make the do {} while() a regular for loop
3252 (getCursorX): use temp vars
3253 (setCurrentFont): use temp vars
3254 (getColumnNearX): use temp vars
3256 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * text.C (transformChar): use temp var for getChar
3259 (computeBidiTables): use temp var for row->par()
3260 (fill): move temp vars for row->par() and pit->layout() earlier in
3262 (labelFill): use temp var for row->par()
3263 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3264 asc and desc, realize that pit never changes and that firstpit is
3265 just a duplicate and not needed. Exchange rit->par() with pit in a
3267 (breakAgain): use a temp var for boost::next(rit)
3268 (breakAgainOneRow): ditto
3269 (breakParagraph): use a temp var for rows().begin()
3270 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3271 (cursorRightOneWord): use temp var for cursor.par() and
3272 cursor.pos(), remove usage of tmpcursor.
3273 (cursorLeftOneWord): use temp var for cursor.par() and
3274 cursor.pos() only set cur at end of function.
3276 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3278 * text.C, text2.C: exchange all usage of Paragraph::next with
3279 boost::next(ParagraphList::iterator)
3281 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3283 * text2.C (cursorTop): simplify implementation
3284 (cursorBottom): ditto
3285 (setParagraph): use ParagraphList::iterator
3286 (setCurrentFont): adjust
3287 (getColumnNearX): adjust
3288 (cursorRight): adjust
3289 (cursorLeft): remove usage of Paragraph::previous
3290 (cursorUpParagraph): ditto
3291 (deleteEmptyParagraphMechanism): slight cleanup
3293 * text.C (isBoundary): take a Paragraph const & instead of a
3295 (addressBreakPoint): ditto
3296 (leftMargin): remove usage of Paragraph::previous.
3297 (setHeightOfRow): ditto
3298 (cursorLeftOneWord): ditto
3299 (selectNextWordToSpellcheck): ditto
3302 (breakParagraph): remove one usage of Paragraph::next
3303 (redoParagraph): ditto
3304 (acceptChange): ditto
3305 (insertChar): adjust
3306 (rowBreakPoint): adjust
3308 * bufferview_funcs.C (toggleAndShow): adjust
3310 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3312 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3313 methods to access it.
3315 * text.C: Added updateRowPositions to compute all row positions.
3316 Make top_y and getRowNearY() to use the cached y position
3318 2003-04-11 John Levon <levon@movementarian.org>
3320 * text.C (rowBreakPoint): reintroduce the labelEnd
3321 checks, code copied from the row fill stuff. Deep voodoo.
3323 * text.C (fill): add a comment and debugging for the
3326 2003-04-11 John Levon <levon@movementarian.org>
3328 * text.C: make sure fullrow insets get wrapped to the next line,
3329 even when they're in a manual label
3331 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * text2.C (insertParagraph): make it take ParagraphList::iterator
3335 (setLayout): make it return ParagraphList::iterator
3336 (redoParagraphs): ditto
3338 (checkParagraph): ditto
3340 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3342 * text2.C: adjust several funcs.
3343 (realizeFont): take a ParagraphList::iterator as arg.
3344 (getLayoutFont): ditto
3345 (getLabelFont): ditto
3346 (setCharFont): ditto
3348 * text.C: adjust several funcs.
3350 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3352 * text.C (selectNextWordToSpellcheck): don't accidentally
3355 2003-04-10 John Levon <levon@movementarian.org>
3357 * ToolbarBackend.C (getIcon): special handling for
3360 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3362 * text2.C (cursorRight): a getChar assert fixed
3364 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * text2.C (getFont): change to take a ParagraphList::iterator
3367 instead of Paragraph*
3368 Adjust several functions.
3370 * text.C (transformChar): change to take a ParagraphList::iterator
3371 instead of Paragraph*
3372 (singleWidth): ditto
3373 Adjust several functions.
3375 * rowpainter.C: adjust several functions
3376 * rowpainter.h:store a ParagraphList::iterator and not a
3380 2003-04-09 John Levon <levon@movementarian.org>
3385 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3386 and the "help" bits as well
3388 2003-04-09 John Levon <levon@movementarian.org>
3391 * ToolbarBackend.C: allow multiple toolbars
3393 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3395 * undo_funcs.C (setCursorParUndo): adjust
3397 * text_funcs.C (transposeChars): adjust
3399 * text3.C (gotoNextInset): adjust
3402 * text2.C (setLayout): adjust
3403 (changeDepth): adjust
3405 (redoParagraphs): adjust
3406 (selectionAsString): adjust
3407 (setParagraph): adjust
3408 (insertInset): adjust
3409 (cutSelection): adjust
3410 (copySelection): adjust
3411 (pasteSelection): adjust
3412 (insertStringAsLines): adjust
3413 (updateInset): adjust
3414 (setCursor): change to take a ParagraphList::iterator parameter
3415 (setCursorIntern): change to take a ParagraphList::iterator parameter
3416 (setCurrentFont): adjust
3417 (cursorLeft): adjust
3418 (cursorRight): adjust
3419 (deleteEmptyParagraphMechanism): adjust
3421 * text.C (breakParagraph): adjust
3422 (insertChar): adjust
3423 (acceptChange): adjust
3424 (rejectChange): adjust
3425 (selectNextWordToSpellcheck): adjust
3426 (changeCase): adjust
3430 * lyxfind.C (SearchForward): adjust
3431 (SearchBackward): adjust
3432 (nextChange): adjust
3434 * lyxcursor.C (par): adjust
3436 * lyxcursor.h: store a ParagraphList::iterator instead of a
3439 * lyx_cb.C (getPossibleLabel): adjust
3441 * bufferview_funcs.C (toggleAndShow): adjust
3443 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3446 * BufferView.C (removeAutoInsets): adjust
3447 (lockedInsetStoreUndo): adjust
3449 2003-04-09 John Levon <levon@movementarian.org>
3451 * ToolbarBackend.C: try icon without argument
3452 if with argument fails
3454 2003-04-08 John Levon <levon@movementarian.org>
3457 * ToolbarBackend.C: add getIcon(), handle tooltip,
3458 and change from "Icon" to "Item".
3460 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3462 * BufferView.C (lockInset): another bad getchar crunched
3464 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3466 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3469 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3471 * lyxfind.C (searchForward, searchBackwards): bug 782
3473 2003-04-07 John Levon <levon@movementarian.org>
3475 * paragraph.C: remove dead comment
3477 * text.C: remove troublesome depth-fiddling code
3478 in leftMargin() and rightMargin() (bug 1017)
3480 * text.C: fix breaking of rows in nested lists
3483 * text2.C (updateCounters): fix up depth values
3486 2003-04-07 John Levon <levon@movementarian.org>
3488 * BufferView_pimpl.C: clear message when doc finishes resizing,
3489 and after a mouse event
3491 * lyxfunc.C: clear message after exiting inset
3493 2003-04-07 John Levon <levon@movementarian.org>
3495 * bufferview_funcs.C: show math status not outside
3496 status in the statusbar
3498 2003-04-07 John Levon <levon@movementarian.org>
3500 * lyxfunc.C: note status changed after a depth change
3502 2003-04-04 Angus Leeming <leeming@lyx.org>
3504 * LaTeX.h: move AuxInfo operator==, != out of line.
3505 Remove LaTeX virtual destructor; nothing derives from it.
3506 Move operator()() out of public area and rename it startscript().
3507 Change protected for private.
3509 2003-04-04 Angus Leeming <leeming@lyx.org>
3512 * text2.C: remove unneeded #includes.
3514 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3516 * text2.C (dEPM): fix the heigth of the next row
3518 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3520 * text.C: squashed an invalid getChar requester + some ws changes
3522 2003-04-03 John Levon <levon@movementarian.org>
3524 * bufferview_funcs.h:
3525 * bufferview_funcs.C:
3528 * text2.C: make getStatus work for the env depth lfuns
3530 2003-04-03 John Levon <levon@movementarian.org>
3532 * bufferview_funcs.h:
3533 * bufferview_funcs.C:
3536 * text2.C: parlistize decDepth(), by merging it with incDepth()
3538 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * lyxrow.h: store a ParagraphList::iterator instead of a
3541 Paragraph* and adjust other class functions to suit.
3543 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3546 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3548 * text2.C (setCursor): do not anchor to cursor row for the time being
3550 2003-04-02 John Levon <levon@movementarian.org>
3557 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3559 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * paragraph.h: make ParagraphList and ParagraphList::iterator
3562 friends of Paragraph.
3564 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3566 * ParagraphList.C: Use the private next_ and previous_ from
3569 2003-04-01 John Levon <levon@movementarian.org>
3573 * Makefile.am: rename, remove defaults gunk
3576 * MenuBackend.C: remove defaults gunk
3579 * Languages.C: remove defaults gunk
3582 * lyx_main.C: error out if files couldn't be found.
3584 2003-04-02 John Levon <levon@movementarian.org>
3586 * text2.C: make incDepth() use parlist
3588 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * undo_funcs.C (firstUndoParagraph): adjust
3592 * text3.C (gotoInset): adjust
3593 (dispatch): adjust, and rewrite loop.
3595 * text2.C (init): adjust, and rewrite loop.
3596 (redoParagraphs): adjust
3597 (updateInset): adjust, and rewrite loop.
3598 (deleteEmptyParagraphMechanism): adjust
3600 * tabular.C (LyXTabular): adjust
3601 (SetMultiColumn): adjust
3604 * lyxtext.[Ch] (ownerParagraph): delete function
3605 (ownerParagraphs): new function returns a ParagraphList.
3607 * BufferView.C (removeAutoInsets): adjust
3608 (insertErrors): adjust
3609 (setCursorFromRow): adjust
3611 2003-04-01 Angus Leeming <leeming@lyx.org>
3613 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3616 2003-04-02 John Levon <levon@movementarian.org>
3622 * text_funcs.C: make transposeChars a free function
3624 * lyxrow_funcs.C: remove wrong comment
3626 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3629 * rowpainter.C: adjust
3634 * lyxrow_funcs. [Ch]: new files
3636 * lyxrow.[Ch]: remove next and previous pointers
3637 (next,previous): remove accessor functions
3638 (isParEnd): move to lyxrow_funcs
3639 (lastPos): move to lyxrow_funcs
3640 (nextRowIsAllInset): move to lyxrow_funcs
3641 (lastPrintablePos): move to lyxrow_funcs
3642 (numberOfSeparators): move to lyxrow_funcs
3643 (numberOfHfills): move to lyxrow_funcs
3644 (numberOfLabelHfills): move to lyxrow_funcs
3645 (hfillExpansion): move to lyxrow_funcs
3649 * bufferview_funcs.C (toggleAndShow): adjust
3651 * RowList.h: Remove class RowList from file leave just a
3654 * RowList.C: delete file
3656 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3659 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * text3.C (cursorPrevious): adjust
3662 (cursorNext): adjust
3665 * text2.C (redoHeightOfParagraph): adjust
3666 (redoDrawingOfParagraph): adjust
3669 * text.C (breakParagraph): adjust
3670 (insertChar): adjust
3673 * rowpainter.C (RowPainter): adjust
3674 (leftMargin): simplify and adjust
3675 (most rowpainter functions): adjust.
3677 * rowpainter.h: store the row as RowList::iterator not as Row*
3679 * lyxcursor.C (row): taka RowList::iterator as arg
3682 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3685 2003-04-01 Angus Leeming <leeming@lyx.org>
3687 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3688 stuff like bool Bool.
3690 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3692 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3695 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3700 * lyxtext.h (rows): drop one version and leve a const variant that
3701 returns a RowList::iterator.
3703 2003-03-31 Angus Leeming <leeming@lyx.org>
3705 * text.C (fill): ensure that the signature is the same as that in the
3708 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * text2.C (redoParagraphs): adjust
3711 (updateCounters): adjust
3712 (checkParagraph): adjust
3713 (getColumnNearX): adjust and reformat a bit.
3715 * text.C (top_y): adjust
3717 (leftMargin): adjust
3718 (prepareToPrint): adjust
3720 (getRowNearY): adjust
3722 * lyxtext.h: make rowlist_ mutable.
3724 * RowList.h: add const_iterator
3725 * RowList.C: adjust for RowList::const_iterator.
3727 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3730 2003-03-31 John Levon <levon@movementarian.org>
3733 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3735 * lyx_main.C: set default fonts from using lyx_gui funcs
3737 * exporter.C: pdf_mode moved from lyxrc
3740 * lyxfunc.C: changes from above
3742 2003-03-31 John Levon <levon@movementarian.org>
3744 * lyx_main.C: fix to the last fix
3746 2003-03-31 John Levon <levon@movementarian.org>
3748 * bufferlist.C: "Load original" -> "Load Original"
3754 * format.C: more Alert cleanups
3756 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * text2.C (removeParagraph): make it take a RowList::iterator as
3760 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3761 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3763 * text.C (anchor_row): make it take a RowList::iterator as arg,
3765 (computeBidiTables): make it take a const reference to Row instead
3766 of Row pointer, adjust.
3767 (leftMargin): make it take a RowList::iterator as arg, adjust.
3768 (rowBreakPoint): adjust
3769 (breakAgainOneRow): make it take a RowList::iterator as arg,
3771 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3773 * bufferview_funcs.C (toggleAndShow): adjust
3775 2003-03-30 John Levon <levon@movementarian.org>
3779 * boost-inst.C: moved to support
3781 * several files: changes as a result
3783 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * text2.C (LyXText): adjust.
3787 (removeRow): make it take a RowList::iterator as arg, adjust.
3788 (fullRebreak): adjust
3789 (deleteEmptyParagraphMechanism): adjust
3790 (clearPaint): adjust
3793 * text.C (top_y): adjust
3794 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3795 (breakAgain): make it take a RowList::iterator as arg, adjust.
3796 (breakParagraph): adjust
3797 (insertChar): adjust
3800 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3801 need_break_row, and refresh_row.
3803 * text3.C (dispatch): adjust
3805 * text2.C (checkParagraph): adjust
3807 (setCursorFromCoordinates): adjust
3809 * text.C (top_y): adjust
3811 (getRow): make it return a RowList::iterator, adjust
3812 (getRowNearY): make it return a RowList::iterator, adjust
3814 * text2.C (init): adjust
3815 (insertRow): remove function
3816 (insertParagraph): adjust
3817 (redoParagraphs): adjust
3818 (fullRebreak): adjust
3819 (updateCounters): adjust
3821 * text.C (top_y): rewrite to use RowList iterators.
3823 (setHeightOfRow): rewrite to sue RowList iterators.
3824 (appendParagraph): adjust
3825 (breakAgain): adjust
3826 (breakAgainOneRow): adjust
3827 (breakParagraph): adjust
3829 (getRowNearY): adjust, and remove commented code.
3831 * lyxtext.h (firstRow): delete function
3832 (lastRow): delete function
3833 (rows): new function (const and non-const versions.)
3834 (insertRow): delete function
3836 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3838 2003-03-29 John Levon <levon@movementarian.org>
3840 * BufferView_pimpl.C: always update scrollbar top
3841 because pasting text when we're anchored could mean we
3842 miss an update altogether
3844 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * text2.C (init): use rowlist_.end() and not 0.
3847 (insertRow): change to take a RowList::iterator as arg, adjust
3849 (insertParagraph): change to take a RowList::iterator as arg,
3851 (redoParagraphs): remove some debug msgs.
3853 * text.C (appendParagraph): change to take a RowList::iterator
3854 arg, adjust for this.
3855 (breakAgain): add an assert
3856 (breakAgainOneRow): ditto
3858 2003-03-29 John Levon <levon@movementarian.org>
3860 * text2.C: do not clear selection after inc/decDepth
3863 2003-03-29 John Levon <levon@movementarian.org>
3866 * buffer.C: fix broken strerrors according to Lars
3868 2003-03-29 John Levon <levon@movementarian.org>
3870 * converters.C: more Alert cleanups
3872 2003-03-29 John Levon <levon@movementarian.org>
3874 * bufferview_funcs.C: remove pointless Alert
3876 * buffer.C: fix confusing error message when
3877 a template is chmoded 000
3879 2003-03-29 John Levon <levon@movementarian.org>
3883 * BufferView_pimpl.C: Alert fixes
3887 * tabular-old.C: remove unused table compat reading
3889 2003-03-29 John Levon <levon@movementarian.org>
3894 * lyx_cb.C: more Alert cleanups
3896 * lyxfunc.C: don't allow chktex if not latex document
3898 2003-03-29 John Levon <levon@movementarian.org>
3902 * buffer.C: warnings pushed down from support/,
3905 2003-03-29 John Levon <levon@movementarian.org>
3907 * lyxfunc.C: safety check for C-r (revert)
3909 2003-03-29 John Levon <levon@movementarian.org>
3912 * bufferlist.C: several UI fixes using Alert::prompt.
3913 Fix the pointless looping quit code. Fix stupid revert
3918 * lyx_cb.C: use Alert::prompt
3920 * lyx_main.C: remove a silly question
3922 * lyxfunc.C: remove a couple of silly questions,
3925 2003-03-28 John Levon <levon@movementarian.org>
3927 * text2.C: fix bug 974 (End on empty par)
3929 2003-03-28 John Levon <levon@movementarian.org>
3931 * BufferView_pimpl.C:
3933 * lfuns.h: remove do-nothing math greek lfuns
3935 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * lyxgluelength.h (isValidGlueLength): add default arg on
3938 parameter 2. Remove default arg from friend in class.
3940 * lyxlength.h (isValidLength): add default arg on parameter 2.
3941 Remove default arg from friend in class.
3943 * text2.C (LyXText): adjust, initialize refresh_row.
3947 (insertParagraph): adjst
3948 (redoParagraphs): adjust
3949 (fullRebreak): adjust
3950 (updateCounters): adjust
3951 (deleteEmptyParagraphMechanism): first attempt at fixing a
3954 * text.C (top_y): adjust
3955 (setHeightOfRow): adjust
3957 (getRowNearY): adjust
3959 * lyxtext.h: include RowList.h
3960 (~LyXText): not needed anymore, deleted.
3961 (firstRow): modify for RowList
3962 (lastRow): new function
3963 Delete firstrow and lastrow class variables, add a Rowlist
3964 rowlist_ class variable.
3966 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3969 * RowList.C (insert): fix case where it == begin().
3971 2003-03-26 Angus Leeming <leeming@lyx.org>
3973 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3974 the thesaurus dialog.
3976 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3980 * RowList.[Ch]: new files
3982 * ParagraphList.C (erase): handle the case where it == begin
3985 2003-03-25 John Levon <levon@movementarian.org>
3989 * aspell.C: add new aspell support
3992 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3995 2003-03-25 Angus Leeming <leeming@lyx.org>
3998 * LyXAction.C (init): new LFUN_INSET_INSERT.
4000 * BufferView_pimpl.C (dispatch): split out part of the
4001 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4003 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4006 2003-03-25 Angus Leeming <leeming@lyx.org>
4008 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4010 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4013 * text3.C: remove useless row->height(0)
4015 2003-03-25 John Levon <levon@movementarian.org>
4019 * text3.C: rename the refreshing stuff to better names
4021 2003-03-24 John Levon <levon@movementarian.org>
4023 * BufferView_pimpl.h:
4024 * BufferView_pimpl.C: update layout choice on a mouse
4027 2003-03-23 John Levon <levon@movementarian.org>
4029 * Makefile.am: fix commandtags.h reference
4031 2003-03-22 John Levon <levon@movementarian.org>
4033 * BufferView_pimpl.C:
4038 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4040 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4043 * text.C: take the rtl methods out of line
4045 2003-03-21 André Pönitz <poenitz@gmx.net>
4047 * metricsinfo.[Ch]: new files containing structures to be passed around
4048 during the two-phase-drawing...
4050 2003-03-21 André Pönitz <poenitz@gmx.net>
4052 * lyxtextclass.C: read 'environment' tag.
4054 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4056 * text2.C (removeRow): fix bug 964
4058 2003-03-20 John Levon <levon@movementarian.org>
4062 * text2.C: paint cleanups. Inset::update() dropped font
4065 2003-03-19 John Levon <levon@movementarian.org>
4067 * lyxfunc.C: only fitcursor/markDirty if available()
4069 2003-03-19 John Levon <levon@movementarian.org>
4071 * commandtags.h: rename to ...
4073 * lfuns.h: ... this, and renumber / cleanup
4075 2003-03-19 John Levon <levon@movementarian.org>
4077 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4078 fit the cursor after an lfun
4082 * BufferView_pimpl.h:
4083 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4085 * LyXAction.C: layout-character should have ReadOnly
4087 * ParagraphParameters.C:
4089 * bufferview_funcs.C:
4096 * undo_funcs.C: changes from above
4098 2003-03-18 John Levon <levon@movementarian.org>
4100 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4101 remove it from update()
4103 * lyxfunc.C: update layout choice after an lfun
4105 * text3.C: remove extra updateLayoutChoice()s
4107 2003-03-18 John Levon <levon@movementarian.org>
4109 * text.C: top_y change means full repaint, fix
4110 a drawing bug with cursor movement
4112 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4116 * text2.C: anchor row on setCursor
4118 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4120 * lyxtext.h: remove almost all mutable keywords
4123 * text3.C: remove const keywords accordingly
4125 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4129 (TeXEnvironment): ditto
4132 2003-03-17 John Levon <levon@movementarian.org>
4134 * text.C (rowBreakPoint): remove attempt to fix displayed
4135 math insets inside a manual label
4137 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4139 * lyxtext.h: remove BufferView* as first arg from almost all class
4141 * other files: adjust.
4143 2003-03-17 John Levon <levon@movementarian.org>
4147 * text2.C: more paint cleanups
4149 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4152 * rowpainter.C: remove "smart" background painting code
4154 2003-03-16 John Levon <levon@movementarian.org>
4159 * text3.C: add helper functions for setting refresh_row/y
4161 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4163 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4164 newline inset which *can* get inserted in the pass_thru layouts.
4165 This is primarily for literate documents.
4167 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4169 * buffer.C: increment LYX_FORMAT to 223
4171 2003-03-14 André Pönitz <poenitz@gmx.net>
4173 * textclass.h: prepare for environment handling, ws changes
4174 * lyxlayout.C: read latexheader and latexfooter tags
4176 2003-03-14 John Levon <levon@movementarian.org>
4178 * text2.C: rewrite ::status() a bit
4180 2003-03-13 John Levon <levon@movementarian.org>
4182 * lyxtext.h: add some docs
4184 2003-03-13 John Levon <levon@movementarian.org>
4189 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4191 2003-03-13 John Levon <levon@movementarian.org>
4193 * text3.C: fix appendix redrawing
4195 2003-03-13 John Levon <levon@movementarian.org>
4197 * text.C (setHeightOfRow):
4199 * rowpainter.C: make appendix mark have the text
4200 "Appendix" so the user knows what it is
4203 * LColor.C: s/appendixline/appendix/ from above
4205 2003-03-13 John Levon <levon@movementarian.org>
4207 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4209 * text.C: fix a getChar(pos) bug properly
4211 2003-03-13 Angus Leeming <leeming@lyx.org>
4214 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4215 Probably only temporary. Let's see how things pan out.
4217 * BufferView.C (unlockInset):
4218 * BufferView_pimpl.C (fitCursor):
4219 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4221 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4222 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4224 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4225 new functions that convert ParagraphParameters to and from a string.
4227 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4228 BufferView::Pimpl's dispatch.
4229 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4231 2003-03-13 André Pönitz <poenitz@gmx.net>
4235 * factory.C: make it aware of InsetEnv
4237 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * text2.C (setCursor): never ask for one past last
4240 (setCursor): add some debugging messages.
4242 * text.C (singleWidth): never ask for one past last
4243 (singleWidth): ditto
4245 (rightMargin): ditto
4246 (rowBreakPoint): ditto
4247 (setHeightOfRow): ditto
4248 (prepareToPrint): ditto
4250 * rowpainter.C (paintBackground): never ask for one past last
4251 (paintText): never ask for one past last
4253 * paragraph_pimpl.C (getChar): make the assert stricter, never
4254 allow the one past last pos to be taken
4256 * paragraph.C (getChar): ws changes only
4258 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4259 (numberOfSeparators): ditto
4260 (numberOfHfills): ditto
4262 2003-03-12 John Levon <levon@movementarian.org>
4268 * paragraph_funcs.C: fix per-buffer authorlists
4270 2003-03-12 John Levon <levon@movementarian.org>
4272 * text.C: fix newline in right address
4274 2003-03-12 Angus Leeming <leeming@lyx.org>
4276 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4277 duplicate those in LyXFunc::dispatch.
4281 * ToolbarDefaults.C:
4282 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4283 Add LFUN_FONTFREE_UPDATE.
4285 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4286 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4288 * bufferview_func.[Ch]: several new functions to facilliate
4289 transfer of data to and from the character dialog.
4291 2003-03-12 John Levon <levon@movementarian.org>
4296 * paragraph_funcs.C:
4297 * paragraph_pimpl.C:
4301 * text3.C: remove META_NEWLINE in favour of an inset
4304 * rowpainter.C: remove paintNewline (done by inset)
4306 2003-03-12 John Levon <levon@movementarian.org>
4308 * paragraph_pimpl.C: complain about bad getChar()s
4309 for a while at least
4311 2003-03-12 John Levon <levon@movementarian.org>
4314 * buffer.C: move paragraph read into a separate function,
4315 a little renaming to reflect that.
4318 * bufferparams.C: remove the author_ids map, not necessary now
4321 * factory.C: moved Buffer::readInset to here
4323 * paragraph_funcs.h:
4324 * paragraph_funcs.C: readParagraph free function moved from
4327 * tabular.C: name change
4329 2003-03-12 John Levon <levon@movementarian.org>
4332 * ParagraphParameters.C: move par params input to
4335 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4336 behave like a normal read from the stream wrt reading
4337 a line vs. a \\token
4339 2003-03-12 John Levon <levon@movementarian.org>
4342 * ParagraphParameters.h:
4343 * ParagraphParameters.C: move output code to a
4346 2003-03-12 John Levon <levon@movementarian.org>
4348 * BufferView.C (insertLyXFile):
4351 * tabular.C: use a parlist iterator for creating the
4354 2003-03-12 John Levon <levon@movementarian.org>
4356 * buffer.C: make current_change static local not
4359 2003-03-12 John Levon <levon@movementarian.org>
4361 * buffer.C: fix insertStringAsLines for change tracking
4363 2003-03-12 John Levon <levon@movementarian.org>
4370 * bufferparams.C: move author list into params. Rename some
4371 functions. Move the header reading into a separate token
4372 loop. Move the header token reading into BufferParams.
4374 2003-03-12 John Levon <levon@movementarian.org>
4376 * changes.C: put debug inside lyxerr.debugging() checks
4378 2003-03-11 André Pönitz <poenitz@gmx.net>
4380 * factory.C: make it aware of InsetHFill
4382 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4384 * buffer.C (latexParagraphs): move function from here...
4385 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4388 2003-03-10 Angus Leeming <leeming@lyx.org>
4390 * LyXAction.C (init): fix bug in poplating array with multiple entries
4391 with the same LFUN (spotted by JMarc).
4393 2003-03-10 John Levon <levon@movementarian.org>
4396 * text2.C: move getColumnNearX() near its
4399 2003-03-10 John Levon <levon@movementarian.org>
4401 * text.C: fix break before a minipage
4403 2003-03-10 John Levon <levon@movementarian.org>
4405 * text.C: fix the last commit
4407 2003-03-09 John Levon <levon@movementarian.org>
4411 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4412 bug 365 (don't break before insets unless needed). Don't
4413 return a value > last under any circumstances.
4415 2003-03-09 Angus Leeming <leeming@lyx.org>
4417 * BufferView_pimpl.C (trackChanges, dispatch): call
4418 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4420 2003-03-09 Angus Leeming <leeming@lyx.org>
4422 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4423 than Dialogs::showAboutlyx().
4425 2003-03-09 Angus Leeming <leeming@lyx.org>
4427 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4428 than Dialogs::showTabularCreate().
4430 2003-03-09 John Levon <levon@movementarian.org>
4434 * text2.C: 3rd arg to nextBreakPoint was always the same.
4437 2003-03-08 John Levon <levon@movementarian.org>
4444 * text2.C: Remove the "main" bit from the "main body"
4447 2003-03-08 John Levon <levon@movementarian.org>
4449 * text.C (leftMargin): The left margin of an empty
4450 manual label paragraph should not include the label width
4453 * text.C (prepareToPrint): don't attempt to measure hfills
4454 for empty manual label paragraphs - the answer should be 0
4456 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * CutAndPaste.C: remove commented code and reindent.
4460 2003-03-08 John Levon <levon@movementarian.org>
4463 * lyxfunc.C: move reloadBuffer()
4466 * BufferView.C: to here
4468 * lyxvc.C: add comment
4471 * vc-backend.C: call bv->reload() to avoid
4472 getStatus() check on MENURELOAD
4474 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4476 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4477 to an old format .dep file.
4479 2003-03-07 Angus Leeming <leeming@lyx.org>
4481 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4482 when the LFUN_MOUSE_RELEASE should have been handled by
4483 inset->localDispatch.
4485 2003-03-07 Angus Leeming <leeming@lyx.org>
4487 * BufferView_pimpl.C (dispatch):
4488 * LyXAction.C (init):
4489 * ToolbarDefaults.C (init):
4491 * lyxfunc.C (getStatus):
4492 remove LFUN_INSET_GRAPHICS.
4494 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4496 2003-03-07 Angus Leeming <leeming@lyx.org>
4499 * LyXAction.C (init):
4500 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4502 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4505 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4507 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4508 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4510 2003-03-07 Angus Leeming <leeming@lyx.org>
4512 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4515 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * ParagraphList.C (front): new function
4520 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4522 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4523 and top_row_offset_. removed var first_y.
4525 * text2.C (LyXText, removeRow):
4527 * BufferView_pimpl.C:
4528 use these methods instead of using first_y
4530 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * text2.C (pasteSelection): adjust for checkPastePossible
4534 * CutAndPaste.C: remove Paragraph * buf and replace with
4535 ParagraphList paragraphs.
4536 (DeleteBuffer): delete
4537 (cutSelection): change the tc type to textclass_type
4538 (copySelection): change the tc type to textclass_type
4539 (copySelection): adjust for ParagraphList
4540 (pasteSelection): change the tc type to textclass_type
4541 (pasteSelection): adjust for Paragraphlist
4542 (nrOfParagraphs): simplify for ParagraphList
4543 (checkPastePossible): simplify for ParagraphList
4544 (checkPastePossible): remove unused arg
4546 * ParagraphList.C (insert): handle the case where there are no
4549 * CutAndPaste.h: make CutAndPaste a namespace.
4551 * text3.C (dispatch): adjust
4553 * text.C (breakParagraph): add a ParagraphList as arg
4555 * paragraph_funcs.C (breakParagraph): change to take a
4556 BufferParams and a ParagraphList as args.
4557 (breakParagraphConservative): ditto
4558 (mergeParagraph): ditto
4559 (TeXDeeper): add a ParagraphList arg
4560 (TeXEnvironment): ditto
4563 * buffer.C (readLyXformat2): adjust
4564 (insertStringAsLines): adjust
4565 (latexParagraphs): adjust
4567 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4568 (cutSelection): adjust
4569 (pasteSelection): adjust
4571 * BufferView_pimpl.C (insertInset): adjust
4573 2003-03-05 Angus Leeming <leeming@lyx.org>
4576 * LyXAction.C (init):
4577 * BufferView_pimpl.C (dispatch):
4578 * lyxfunc.C (getStatus):
4579 remove LFUN_CHILD_INSERT.
4581 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4583 2003-03-05 Angus Leeming <leeming@lyx.org>
4586 * LyXAction.C (init):
4587 * src/factory.C (createInset):
4588 * lyxfunc.C (getStatus):
4589 * text3.C (dispatch):
4590 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4592 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4594 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * ParagraphList.C (insert): handle insert right before end()
4597 (erase): fix cases where it can be first or last paragraph.
4599 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4601 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4602 Paragraph::next and Paragraph::previous
4605 * text.C (breakParagraph): adjust
4607 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4608 BufferParams& as arg.
4609 (breakParagraph): use ParagraphList::insert
4610 (breakParagraphConservative): take a Buffer* instead of a
4611 BufferParams& as arg.
4612 (breakParagraphConservative): use ParagraphList::insert.
4614 * buffer.C (insertStringAsLines): un-const it
4615 (insertStringAsLines): adjust
4617 * ParagraphList.C (insert): new function
4619 * CutAndPaste.C (pasteSelection): adjust
4621 * text.C (backspace): adjust
4623 * tabular.C (SetMultiColumn): adjust
4625 * CutAndPaste.C (cutSelection): adjust
4626 (pasteSelection): adjust
4628 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4629 Buffer const * as arg
4631 * ParagraphList.C (erase): new function
4632 * paragraph_funcs.C (mergeParagraph): use it
4633 (mergeParagraph): make it take a Buffer* instead of a
4634 BufferParams* as arg
4636 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4638 (breakParagraphConservative): ditto
4640 * paragraph.h: remove the breakParagraph friend
4642 * paragraph.C (eraseIntern): new function
4643 (setChange): new function
4645 * paragraph_funcs.C (mergeParagraph): make it take a
4646 ParagraphList::iterator instead of a Paragraph *, adjust
4649 * paragraph.h: move an #endif so that the change tracking stuff
4650 also works in the NO_NEXT case.
4652 2003-03-04 Angus Leeming <leeming@lyx.org>
4655 * LyXAction.C: new LFUN_INSET_MODIFY.
4657 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4658 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4660 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * several files: ws changes only
4664 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4665 (TeXEnvironment): ditto
4668 * buffer.C (makeLaTeXFile): adjust
4669 (latexParagraphs): make it take ParagraphList::iterator as args
4671 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * buffer.C (latexParagraphs): adjust
4675 * paragraph.C (TeXOnePar): move function...
4676 (optArgInset): move function...
4677 (TeXEnvironment): move function...
4678 * paragraph_pimpl.C (TeXDeeper): move function...
4679 * paragraph_funcs.C: ...here
4681 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4683 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * buffer.C (readInset): remove compability code for old Figure and
4688 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * buffer.C: ws changes
4693 * BufferView_pimpl.C: ditto
4696 * bufferlist.h: ditto
4700 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4702 * converter.[Ch]: split into itself +
4705 * Makefile.am: += graph.[Ch] + format.[Ch]
4712 * lyxrc.C: added #include "format.h"
4714 2003-02-27 Angus Leeming <leeming@lyx.org>
4716 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4719 * factory.C (createInset): add "label" to the factory.
4721 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4722 string and do no more.
4724 2003-02-27 Angus Leeming <leeming@lyx.org>
4727 * LyXAction.C (init):
4728 * factory.C (createInset):
4729 * BufferView_pimpl.C (dispatch):
4730 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4732 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4734 * lyxfunc.C (dispatch):
4735 * text3.C (dispatch): pass name to params2string.
4737 2003-02-26 Angus Leeming <leeming@lyx.org>
4739 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4741 Rearrange the ~includes. Strip out the unnecessary ones.
4743 * factory.C (createInset): reformat.
4744 create new insets for the various LFUN_XYZ_APPLY lfuns.
4746 2003-02-26 John Levon <levon@movementarian.org>
4749 * lyxrow.C: add isParStart,isParEnd helpers
4751 * paragraph.h: make isInserted/DeletedText take refs
4753 * paragraph_funcs.h:
4754 * paragraph_funcs.C: remove #if 0'd code
4759 * text.C: use lyxrow helpers above.
4760 Move draw and paint routines to RowPainter.
4761 Make several methods use refs not pointers.
4762 Make backgroundColor() const.
4763 Add markChangeInDraw(), isInInset().
4764 Merge changeRegionCase into changeCase.
4765 Make workWidth() shouldn't-happen code into an Assert.
4768 * rowpainter.C: new class for painting a row.
4771 * vspace.C: make inPixels take a ref
4773 2003-02-26 Angus Leeming <leeming@lyx.org>
4775 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4778 2003-02-25 John Levon <levon@movementarian.org>
4780 * ispell.C: give the forked command a more accurate name
4782 2003-02-22 John Levon <levon@movementarian.org>
4785 * toc.C: make TocItem store an id not a Paragraph *
4788 2003-02-21 Angus Leeming <leeming@lyx.org>
4790 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4791 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4792 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4793 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4794 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4795 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4797 * BufferView_pimpl.C (dispatch):
4798 * LyXAction.C (init):
4799 * factory.C (createInset):
4800 * lyxfunc.C (getStatus, dispatch):
4801 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4803 2003-02-21 Angus Leeming <leeming@lyx.org>
4805 * BufferView_pimpl.C (MenuInsertLyXFile):
4806 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4807 * lyxfunc.C (menuNew, open, doImport):
4808 no longer pass a LyXView & to fileDlg.
4810 2003-02-21 Angus Leeming <leeming@lyx.org>
4812 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4813 * LyXAction.C: change, BIBKEY to BIBITEM.
4814 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4815 Change InsetBibKey to InsetBibitem.
4816 Change BIBKEY_CODE to BIBITEM_CODE.
4817 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4818 * factory.C: replace insetbib.h with insetbibitem.h.
4819 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4820 * paragraph.C: replace insetbib.h with insetbibitem.h.
4821 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4822 Change bibkey() to bibitem().
4823 * text.C: remove insetbib.h.
4824 * text2.C: replace insetbib.h with insetbibitem.h.
4825 change bibkey() to bibitem().
4826 * text3.C: remove insetbib.h.
4827 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4829 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4831 * lyxrc.C (output): enclose user email in quotes (in case there are
4834 2003-02-18 John Levon <levon@movementarian.org>
4836 * buffer.h: add std::
4838 2003-02-17 John Levon <levon@movementarian.org>
4844 * pspell.C: reworking. Especially in ispell, a large
4845 number of clean ups and bug fixes.
4847 * lyxfunc.C: fix revert to behave sensibly
4849 2003-02-17 André Pönitz <poenitz@gmx.net>
4852 * commandtags.h: new LFUN_INSERT_BIBKEY
4862 * paragraph_func.C: remove special bibkey handling
4864 2003-02-17 John Levon <levon@movementarian.org>
4866 * text.C (Delete): fix case where delete at the end of
4867 the very first paragraph would not merge the pars
4869 2003-02-17 John Levon <levon@movementarian.org>
4871 * lyxrow.C: fix lastPrintablePos()
4873 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4875 * bufferparams.C (writeLaTeX): add a std:here
4877 * buffer.C: and remove a using directive there
4879 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4881 * buffer.C (makeLaTeXFile): move the code that generates the
4884 * bufferparams.C (writeLaTeX): ... in this new method
4886 * LaTeXFeatures.C (getEncodingSet): make const
4887 (getLanguages): make const
4889 * MenuBackend.C (binding): returns the binding associated to this
4891 (add): sets the status of each item by calling getStatus. Adds
4893 (read): add support for OptSubMenu
4894 (expand): remove extra separator at the end of expanded menu
4896 2003-02-15 John Levon <levon@movementarian.org>
4899 * BufferView_pimpl.C:
4901 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4902 inset code that had no actual effect. Remove unneeded status
4905 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4910 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4912 * text.C (drawLengthMarker): also draw an arrow marker for
4913 symbolic lengths (medskip...)
4915 2003-02-14 John Levon <levon@movementarian.org>
4918 * tabular.C: better method names
4920 2003-02-14 John Levon <levon@movementarian.org>
4922 * BufferView_pimpl.C:
4927 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4928 it's a more accurate name. Remove some pointless uses.
4930 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4932 * text2.C (LyXText): change order of initilizers to shut off
4935 2003-02-14 John Levon <levon@movementarian.org>
4937 * buffer.C: use ParIterator for getParFromID()
4941 * paragraph_pimpl.h:
4942 * paragraph_pimpl.C: remove unused getParFromID()
4944 2003-02-14 John Levon <levon@movementarian.org>
4946 * buffer.C: remove some very old #if 0'd parse code
4948 2003-02-13 John Levon <levon@movementarian.org>
4952 * text2.C: move hfillExpansion(), numberOfSeparators(),
4953 rowLast(), rowLastPrintable(), numberofHfills(),
4954 numberOfLabelHfills() ...
4957 * lyxrow.C: ... to member functions here.
4962 * text.C: remove LyXText::beginningOfMainBody(), and call
4963 p->beginningOfMainBody() directly. Move the check for
4964 LABEL_MANUAL into the latter.
4971 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4977 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4978 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4980 2003-02-13 John Levon <levon@movementarian.org>
4982 * CutAndPaste.C: remove debug
4984 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4986 * paragraph.C (asString): remove two unused variables
4988 * lyxtextclass.C (readTitleType):
4990 (LyXTextClass): handle new members titletype_ and titlename_
4992 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4994 2003-02-09 John Levon <levon@movementarian.org>
4997 * buffer.C: replace hand-coded list with a map for the dep clean
4999 2003-02-08 John Levon <levon@movementarian.org>
5001 * LaTeX.C: consolidate code into showRunMessage() helper
5003 2003-02-08 John Levon <levon@movementarian.org>
5008 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5009 and pass the size in explicitly
5011 * BufferView_pimpl.h:
5012 * BufferView_pimpl.C:
5014 * BufferView.C: add getCurrentChange()
5016 * BufferView_pimpl.h:
5017 * BufferView_pimpl.C: handle change lfuns
5019 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5020 for changes. Mark pasted paragraphs as new.
5022 * support/lyxtime.h:
5023 * support/lyxtime.C:
5024 * DepTable.C: abstract time_t as lyx::time_type
5027 * LColor.C: add colours for new text, deleted text, changebars
5029 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5030 package use "usenames" option.
5034 * LyXAction.C: add change lfuns
5038 * author.C: author handling
5041 * buffer.C: add a per-buffer author list, with first entry as
5042 current author. Handle new .lyx tokens for change tracking. Output
5043 author list to .lyx file. Output dvipost stuff to .tex preamble.
5044 Bump lyx format to 222.
5047 * bufferlist.C: add setCurrentAuthor() to reset current author details
5051 * bufferparams.C: add param for tracking
5053 * bufferview_funcs.C: output change info in minibuffer
5057 * changes.C: add change-tracking structure
5060 * debug.C: add CHANGES debug flag
5063 * lyxfind.C: add code for finding the next change piece
5066 * lyxrc.C: add user_name and user_email
5069 * lyxrow.C: add a metric for the top of the text line
5072 * text.C: implement accept/rejectChange()
5075 * text.C: paint changebars. Paint new/deleted text in the chosen
5076 colours. Strike through deleted text.
5080 * paragraph_pimpl.h:
5081 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5082 in the current change to the insert functions. Rework erase to
5083 mark text as deleted, adding an eraseIntern() and a range-based
5084 erase(). Implement per-paragraph change lookup and
5087 * paragraph_funcs.C: Fixup paste for change tracking.
5089 * tabular.C: mark added row/columns as new.
5091 * text.C: fix rowLast() to never return -1. Don't allow
5092 spellchecking of deleted text. Track transpose changes. Don't
5093 allow paragraph break or merge where appropriate.
5095 * text2.C: leave cursor at end of selection after a cut.
5097 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5099 * text.C (getLengthMarkerHeight):
5100 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5101 visible on screen too.
5103 2003-02-07 John Levon <levon@movementarian.org>
5105 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5107 2003-02-05 Angus Leeming <leeming@lyx.org>
5109 * lyxserver.C (read_ready): revert my patch of 11 September last year
5110 as it sends PC cpu through the roof. Presumably this means that
5111 the lyxserver will no longer run on an Alpha...
5113 2003-01-30 Angus Leeming <leeming@lyx.org>
5115 * factory.C (createInset): create an InsetCommandParam of type "index"
5116 and use it to 'do the right thing'.
5118 * text2.C (getStringToIndex): ensure that cursor position is always
5119 reset to the reset_cursor position.
5121 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5123 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5126 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5130 * lyxfunc.C: Output messages with identical spelling, punctuation,
5133 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5135 * MenuBackend.C (expandFormats): List only viewable export formats
5138 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5141 * lyxfunc.C (getStatus): Make sure that formats other than
5142 "fax" can also be disabled
5144 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5146 * text3.C (dispatch): put the lfuns that insert insets in 3
5147 groups, and call doInsertInset with appropriate arguments.
5148 (doInsertInset): new function, that creates an inset and inserts
5149 it according to some boolean parameters.
5151 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * buffer.C (readFile): remember to pass on 'par' when calling
5154 readFile recursively.
5156 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5158 * MenuBackend.C (expandFormats): add "..." to import formats.
5160 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5162 * paragraph.C (asString): Remove XForms RTL hacks.
5164 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5165 * buffer.C: fix typo
5167 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * Makefile.am (LIBS): delete var
5170 (lyx_LDADD): add @LIBS@ here instead.
5172 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5174 * Clarify the meaning of "wheel mouse jump"
5176 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5178 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5181 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5183 * importer.C (Loaders): do not preallocate 3 elements in the
5184 vector, since one ends up with 6 elements otherwise
5186 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5188 * DepTable.C (write): write the file name as last element of the
5189 .dep file (because it may contain spaces)
5190 (read): read info in the right order
5192 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5194 * paragraph_pimpl.C (simpleTeXBlanks):
5195 (simpleTeXSpecialChars):
5196 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5198 * tabular.C (latex): add some missing case statements. Reindent.
5200 * MenuBackend.C (expandToc): remove unused variable.
5202 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5211 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5214 2003-01-05 John Levon <levon@movementarian.org>
5217 * BufferView.C: add getEncoding()
5220 * kbsequence.C: do not store last keypress
5223 * lyxfunc.C: store last keypress here instead. Pass encoding
5226 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5228 * lyx_main.C (init): remove annoying error message when following
5229 symbolic links (bug #780)
5231 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5233 * text.C (insertChar):
5234 * lyxrc.C (getDescription): remove extra spaces
5236 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5238 * lyxrc.C (getDescription): remove extra spaces
5240 2002-12-20 John Levon <levon@movementarian.org>
5242 * text3.C: hack fix for page up/down across tall rows
5244 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5246 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5249 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5251 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5252 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5253 thesaurus is not compiled in
5255 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5257 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5259 2002-12-16 Angus Leeming <leeming@lyx.org>
5262 * lyx_main.C (init): remove override_x_deadkeys stuff.
5264 2002-12-12 John Levon <levon@movementarian.org>
5266 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5267 insert. Only remove shift modifier under strict
5270 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * MenuBackend.C (expandToc): fix crash.
5274 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * MenuBackend.C (expandToc): gettext on float names.
5278 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5280 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5281 implement bool empty() [bug 490]
5283 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5285 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5287 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5289 * several files: ws changes
5291 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * text2.C (setCounter): clean up a bit, use boost.format.
5294 (updateCounters): initialize par upon declaration.
5296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5297 if the layout exists. We do not just store the layout any more.
5298 (SwitchLayoutsBetweenClasses): use boost.format
5300 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5302 * converter.C (convert): if from and to files are the same, use a
5303 temporary files as intermediary
5305 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5308 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5310 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5312 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5314 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * tabular.C (asciiPrintCell): use string(size, char) instead of
5319 * sgml.C (openTag): fix order of arguments to string constructor
5322 * lyxfunc.C (dispatch): use boost.format
5324 * lots of files: change "c" -> 'c'
5326 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5328 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5330 2002-11-25 Angus Leeming <leeming@lyx.org>
5332 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5334 * lyx_main.C (init): compile fix.
5336 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * lyx_cb.C (start): boost.formatify
5339 do not include <iostream>
5341 * lengthcommon.C: ws only
5343 * boost-inst.C,BoostFormat.h: add more explict instantations
5345 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * lots of files: handle USE_BOOST_FORMAT
5349 2002-11-21 John Levon <levon@movementarian.org>
5351 * pspell.C: fix compile
5353 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5355 * lyxfunc.C (dispatch): use boost::format
5359 * lyxfont.C (stateText): use boost::format
5361 * lyx_main.C (LyX): use boost::format
5363 (queryUserLyXDir): ditto
5366 (typedef boost::function): use the recommened syntax.
5368 * importer.C (Import): use boost::format
5370 * debug.C (showLevel): use boost::format
5372 * converter.C (view): use boost::format
5377 * bufferview_funcs.C (currentState): use boost::format
5379 * bufferlist.C (emergencyWrite): use boost::format
5381 * buffer.C (readLyXformat2): use boost::format
5382 (parseSingleLyXformat2Token): ditto
5384 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5386 * LaTeX.C (run): use boost::format
5388 * Chktex.C (scanLogFile): use boost::format
5390 * BufferView_pimpl.C (savePosition): use boost::format
5391 (restorePosition): ditto
5392 (MenuInsertLyXFile): ditto
5394 * BoostFormat.h: help file for explicit instation.
5396 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5398 * tabular.C (latex): Support for block alignment in fixed width
5401 2002-11-17 John Levon <levon@movementarian.org>
5403 * BufferView_pimpl.C:
5405 * lyxfunc.C: split filedialog into open/save
5407 2002-11-08 Juergen Vigna <jug@sad.it>
5409 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5410 by my last patch (hopefully).
5412 2002-11-08 John Levon <levon@movementarian.org>
5421 * toc.C: ParConstIterator, and use it (from Lars)
5423 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5425 * lyxtextclass.[Ch]: revise and add doxygen comments
5427 2002-11-07 John Levon <levon@movementarian.org>
5429 * text.C: fix progress value for spellchecker
5431 * toc.C: fix navigate menu for insetwrap inside minipage
5433 * paragraph_funcs.C: added FIXME for suspect code
5435 2002-11-07 John Levon <levon@movementarian.org>
5437 * BufferView_pimpl.C: fix redrawing of insets
5440 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5442 * text2.C (updateCounters): fix bug 668
5444 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5446 * text3.C (dispatch): Do not make the buffer dirty when moving the
5449 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * vc-backend.C: STRCONV
5454 * text2.C (setCounter): STRCONV
5456 * paragraph.C (asString): STRCONV
5458 * lyxlength.C (asString): STRCONV
5459 (asLatexString): ditto
5461 * lyxgluelength.C (asString): STRCONV
5462 (asLatexString): ditto
5464 * lyxfunc.C (dispatch): STRCONV
5467 * lyxfont.C (stateText): STRCONV
5469 * importer.C (Import): STRCONV
5471 * counters.C (labelItem): STRCONV
5472 (numberLabel): ditto
5473 (numberLabel): remove unused ostringstream o
5478 * bufferview_funcs.C (currentState): STRCONV
5480 * buffer.C (readFile): STRCONV
5481 (asciiParagraph): ditto
5482 (makeLaTeXFile): ditto
5484 * Spacing.C (writeEnvirBegin): STRCONV
5486 * LaTeXFeatures.C (getLanguages): STRCONV
5487 (getPackages): ditto
5489 (getBabelOptions): ditto
5490 (getTClassPreamble): ditto
5491 (getLyXSGMLEntities): ditto
5492 (getIncludedFiles): ditto
5496 (scanAuxFile): ditto
5499 * LString.h: add the STRCONV macros
5501 * BufferView_pimpl.C (savePosition): STRCONV
5502 (restorePosition): ditto
5503 (MenuInsertLyXFile): ditto
5505 * vc-backend.C (scanMaster): change from submatch[...] to
5508 * funcrequest.C: include config.h
5510 * factory.C: include config.h
5512 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5514 * box.C: include config.h
5516 * LaTeX.C (scanAuxFile): change from submatch[...] to
5520 2002-10-25 Angus Leeming <leeming@lyx.org>
5522 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5524 * ispell.[Ch] (setError): new method.
5525 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5526 Use setError() insetead of goto END.
5528 * lyx_cb.C (AutoSave): move out child process into new class
5531 2002-10-30 John Levon <levon@movementarian.org>
5533 * text3.C: make start appendix undoable
5535 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5537 * lyxlength.C (inPixels): Fix returned value.
5539 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5542 2002-10-24 Angus Leeming <leeming@lyx.org>
5544 * lyxgluelength.h: no need to forward declare BufferParams
5545 or BufferView, so don't.
5547 2002-10-21 John Levon <levon@movementarian.org>
5549 * BufferView.C: menuUndo ->undo, redo
5551 * BufferView.h: document, remove dead, make some methods private
5553 * paragraph_funcs.h:
5554 * paragraph_funcs.C:
5555 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5560 * sgml.C: move sgml open/close tag into sgml.C
5562 * bufferview_funcs.h: unused prototype
5565 * lyxfunc.C: remove unused
5568 * text.C: remove unused
5570 2002-10-21 John Levon <levon@movementarian.org>
5574 * BufferView_pimpl.h:
5575 * BufferView_pimpl.C: fix mouse wheel handling based on
5576 patch from Darren Freeman
5578 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5580 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5582 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5584 * lyxlength.C (inPixels): Fix hanfling of negative length.
5585 Fix LyXLength::MU case.
5587 2002-10-16 John Levon <levon@movementarian.org>
5589 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5591 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5593 * converter.C (view): add support for $$i (file name) and $$p
5594 (file path) for the viewer command. If $$i is not specified, then
5595 it is appended to the command (for compatibility with old syntax)
5597 2002-10-14 Juergen Vigna <jug@sad.it>
5599 * undo_funcs.C (textHandleUndo): alter the order in which the
5600 new undopar is added to the LyXText, as we have to set first
5601 the right prev/next and then add it as otherwise the rebuild of
5602 LyXText is not correct. Also reset the cursor to the right paragraph,
5603 with this IMO we could remove the hack in "redoParagraphs()".
5605 2002-10-09 Angus Leeming <leeming@lyx.org>
5607 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5608 to turn off an optimisation if a new inset is to be inserted.
5610 2002-10-11 André Pönitz <poenitz@gmx.net>
5612 * lyxtext.h: make some functions public to allow access
5613 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5615 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5617 * text3.C (dispatch): when changing layout, avoid an infinite loop
5620 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5622 * lyxrc.C (read): treat a viewer or converter command of "none" as
5625 * MenuBackend.C (expandFormats): for an update, also allow the
5626 formats that are not viewable
5628 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5629 script if it is newer than the lyxrc.defaults in user directory
5631 2002-10-07 André Pönitz <poenitz@gmx.net>
5633 * text.C: Vitaly Lipatov's small i18n fix
5635 2002-09-25 Angus Leeming <leeming@lyx.org>
5637 * ispell.h: doxygen fix.
5639 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5641 * buffer.h (readFile): Add a new argument to the method, to allow
5642 reading of old-format templates.
5644 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5646 * toc.C (getTocList): Get TOC from InsetWrap.
5648 2002-09-16 John Levon <levon@movementarian.org>
5650 * lyxfunc.C: check tabular for cut/copy too
5652 2002-09-12 John Levon <levon@movementarian.org>
5657 * factory.C: add header
5659 * paragraph_funcs.h:
5660 * paragraph_funcs.C: cleanup
5662 2002-09-11 John Levon <levon@movementarian.org>
5664 * PrinterParams.h: odd/even default to true
5666 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5668 * PrinterParams.h: update printer parameters for new xforms dialog
5670 2002-09-11 Angus Leeming <leeming@lyx.org>
5672 * lyxserver.C (read_ready): re-write to make it more transparent
5673 and to make it work in coherent fashion under Tru64 Unix.
5675 2002-09-11 André Pönitz <poenitz@gmx.net>
5679 * text3.C: implement LFUN_WORDSEL
5681 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5683 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5684 make floatlist_ a boost::shared_ptr<FloatList>
5686 * lyxtextclass.C: include FloatList.h
5687 (LyXTextClass): initialize floatlist_
5688 (TextClassTags): add TC_NOFLOAT
5689 (Read): match "nofloat" to TC_NOFLOAT and use it.
5690 (readFloat): modify call to floatlist_
5694 * FloatList.[Ch] (FloatList): remove commented out float
5696 (erase): new function
5698 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5700 * MenuBackend.C (expandToc): fix crash when there is no document
5703 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5705 * many files: Add insetwrap.
5707 2002-09-09 John Levon <levon@movementarian.org>
5709 * text2.C: remove confusing and awkward depth wraparound
5711 2002-09-09 John Levon <levon@movementarian.org>
5713 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5716 * buffer.C: remove getIncludeonlyList()
5719 * lyxfunc.C: remove headers
5721 2002-09-09 Juergen Vigna <jug@sad.it>
5723 * text.C (getColumnNearX): fix form Michael this is most
5724 probably a cut&paste bug.
5726 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5730 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5731 references, ws changes.
5733 * text2.C (init): update counters after init
5734 (insertParagraph): no need to set counter on idividual paragraphs.
5735 (setCounter): access the counters object in the textclass object
5736 on in the buffer object.
5737 (updateCounters): ditto
5739 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5740 shared_ptr<Counters> to avoid loading counters.h in all
5742 (LyXTextClass): initialize ctrs_
5743 (TextClassTags): add TC_COUNTER, and ...
5744 (Read): use it here.
5745 (CounterTags): new tags
5746 (readCounter): new function
5747 (counters): new funtion
5748 (defaultLayoutName): return a const reference
5750 * counters.C (Counters): remove contructor
5751 (newCounter): remove a couple of unneeded statements.
5752 (newCounter): simplify a bit.
5753 (numberLabel): some small formatting changes.
5755 * buffer.[Ch]: remove all traces of counters, move the Counters
5756 object to the LyXTextClass.
5758 2002-09-06 Alain Castera <castera@in2p3.fr>
5760 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5761 package to set the horizontal alignment on fixed width columns.
5764 * lyx_sty.h: added tabularnewline macro def.
5766 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5768 2002-09-06 John Levon <levon@movementarian.org>
5770 * LyXAction.C: tooltips for sub/superscript
5772 * MenuBackend.C: a bit more verbose
5774 * lyxfunc.C: tiny clean
5776 * undo_funcs.C: document undo_frozen
5778 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * counters.C (Counters): add missing algorithm counter.
5782 * text2.C (setCounter): lookup the counter with layouts latexname
5783 instead of by section number.
5784 (setCounter): use a hackish way to lookup the correct enum
5786 a float name->type change
5787 reset enum couners with counter name directly instead of depth value.
5789 * counters.C (Counters): remove the push_backs, change to use the
5790 float type not the float name.
5791 (labelItem): remove unused string, float name->type change
5793 * counters.h: don't include vector, loose the enums and sects vectors
5795 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5797 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5798 (Read): add float->TC_FLOAT to textclassTags
5799 (Read): and handle it in the switch
5800 (readFloat): new function
5802 * FloatList.C (FloatList): comment out the hardcoded float
5805 * lyxlayout.h: ws change.
5807 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5809 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5811 2002-09-03 Angus Leeming <leeming@lyx.org>
5813 * BufferView_pimpl.h: qualified name is not allowed in member
5814 declaration: WorkArea & Pimpl::workarea() const;
5816 * factory.C: added using std::endl directive.
5818 * text3.C: added using std::find and std::vector directives.
5820 2002-08-29 André Pönitz <poenitz@gmx.net>
5823 * text2.C: remove unused member number_of_rows
5826 * BufferView2.C: remove file, move contents to...
5827 * BufferView.C: ... here
5829 * BufferView_pimpl.C:
5830 * factory.C: move more inset creation to factory
5832 * vspace.C: avoid direct usage of LyXText, ws changes
5835 don't provide direct access to WorkArea, use two simple
5836 acessors haveSelction() and workHeight() instead
5839 2002-08-29 John Levon <levon@movementarian.org>
5841 * BufferView_pimpl.C (dispatch): do not continue when
5844 2002-08-28 André Pönitz <poenitz@gmx.net>
5846 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5849 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5851 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5853 * buffer.C: increment LYX_FORMAT to 221
5855 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5856 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5858 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5860 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5862 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5864 * factory.C (createInset): use LyXTextClass::floats
5866 * MenuBackend.C (expandFloatListInsert):
5867 (expandFloatInsert):
5870 * text2.C (setCounter):
5872 * LaTeXFeatures.C (useFloat):
5873 (getFloatDefinitions):
5875 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5877 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5878 floatlist_, with accessor floats().
5880 * FloatList.h: remove global FloatList
5882 2002-08-26 André Pönitz <poenitz@gmx.net>
5884 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5888 * BufferView_pimpl.C:
5889 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5891 2002-08-25 John Levon <levon@movementarian.org>
5893 * LyXAction.C: fix margin note description
5895 2002-08-24 John Levon <levon@movementarian.org>
5899 * bufferview_funcs.C:
5901 * undo_funcs.C: cleanups
5903 * lyxfunc.C: disable CUT/COPY when no selection
5905 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5907 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5908 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5910 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5911 Add backward compatibility to "mono", "gray" and "no".
5913 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5915 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5916 (and file_format >= 200).
5918 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5920 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5922 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5924 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5926 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5928 * BufferView_pimpl.C:
5935 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5936 inset and code to make it work with the paragraph code. The inset
5937 can be anywhere in the paragraph, but will only do the expected
5938 thing in LaTeX if the layout file contains the parameter line
5940 (or more generally, a nonzero value) for that layout.
5942 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5944 * paragraph.h: remove the declaration of undefined counters class
5947 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5949 * text2.C (setCounter): fixed enumeration mis-count as reported by
5950 Dr. Richard Hawkins.
5952 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5954 * paragraph_funcs.h: remove some unneeded includes
5956 * text.C (backspace): pasteParagraph now in global scipe
5958 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5959 (pasteSelection): ditto
5961 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5962 * paragraph_funcs.C (pasteParagraph): ... here
5964 2002-08-20 André Pönitz <poenitz@gmx.net>
5966 * commandtags.h: new LFUNs for swapping/copying table row/colums
5969 * lyxfunc.C: support for new lfuns
5971 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * buffer.[Ch]: remove NO_COMPABILITY stuff
5976 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * boost.C (throw_exception): new file, with helper function for
5979 boost compiled without exceptions.
5984 * ParameterStruct.h:
5985 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5987 * bufferlist.C (emergencyWriteAll): use boost bind
5989 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5991 * text.C: include paragraph_funcs.h
5992 (breakParagraph): breakParagraph is now in global scope
5994 * paragraph_funcs.[Ch]: new files
5996 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5999 * buffer.C: include paragraph_funcs.h
6000 (insertStringAsLines): breakParagraph is now in global scope
6002 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6005 * CutAndPaste.C: include paragraph_funcs.h
6006 (cutSelection): breakParagraphConservative is now in global scope
6007 (pasteSelection): ditto
6009 * buffer.h: declare oprator== and operator!= for
6010 Buffer::inset_iterator
6012 * bufferlist.C (emergencyWrite): don't use fmt(...)
6014 * text3.C: add using std::endl
6016 * BufferView.C (moveCursorUpdate): remove default arg
6018 2002-08-20 André Pönitz <poenitz@gmx.net>
6020 * buffer.[Ch]: move inline functions to .C
6023 * BufferView_pimpl.C:
6025 * buffer.[Ch]: use improved inset_iterator
6028 * paragraph.[Ch]: write one paragraph at a time
6030 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6032 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6033 style if style is not specified.
6035 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6037 * text2.C (setCounter): when searching for right label for a
6038 caption, make sure to recurse to parent insets (so that a caption
6039 in a minipage in a figure float works) (bug #568)
6041 2002-08-20 André Pönitz <poenitz@gmx.net>
6043 * text3.C: new file for LyXText::dispatch() and helpers
6045 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6047 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6049 2002-08-19 André Pönitz <poenitz@gmx.net>
6052 * text.C: new LyXText::dispatch()
6054 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6056 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6058 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6060 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6063 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6065 * Makefile.am: use $(variables) instead of @substitutions@
6067 2002-08-15 André Pönitz <poenitz@gmx.net>
6070 * BufferView_pimpl.C: streamlining mathed <-> outer world
6074 * LyXAction.C: remove unused LFUN_MATH
6076 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6080 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * paragraph.C (Paragraph): reformat a bit
6083 (cutIntoMinibuffer): use builtin InsetList function instad of
6087 * buffer.C: include boost/bind.hpp, add using std::for_each
6088 (writeFileAscii): use ParagraphList iterators
6089 (validate): use for_each for validate traversal of paragraphs
6090 (getBibkeyList): use ParagraphList iterators
6091 (resizeInsets): use for_each to resizeInsetsLyXText for all
6093 (getParFromID): use ParagraphList iterators
6095 * BufferView2.C (lockInset): use paragraph list and iterators
6097 2002-08-14 John Levon <levon@movementarian.org>
6099 * lyxserver.C: remove spurious xforms include
6101 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6103 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6105 2002-08-13 André Pönitz <poenitz@gmx.net>
6108 * lyxfunc.C: further cleaning
6110 2002-08-13 André Pönitz <poenitz@gmx.net>
6112 * funcrequest.h: new constructor
6114 * funcrequest.C: move stuff here from .h
6117 * BufferView_pimpl.C:
6120 * lyxfunc.C: subsequent changes
6122 * lyxfunc.h: new view() member function
6124 * lyxfunc.C: subsequent changes
6126 2002-08-13 Angus Leeming <leeming@lyx.org>
6129 * BufferView_pimpl.C:
6137 changes due to the changed LyXView interface that now returns references
6138 to member variables not pointers.
6140 2002-08-13 Angus Leeming <leeming@lyx.org>
6142 * WordLangTuple (word, lang_code): return references to strings,
6147 * lyxtext.h: forward-declare WordLangTuple.
6152 * text.C: #include "WordLangTuple.h".
6155 * text.C: (selectNextWordToSpellcheck): constify return type.
6157 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6163 * paragraph_pimpl.h:
6166 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6168 Made updateCounter always count from start of buffer, and removed
6169 second argument (par).
6170 Reverted floats number display to '#'. Perhaps I'll try again when the
6171 code base is sanitized a bit.
6173 2002-08-12 Angus Leeming <leeming@lyx.org>
6175 * buffer.[Ch] (getLabelList): constify.
6177 2002-08-07 André Pönitz <poenitz@gmx.net>
6179 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6181 * funcrequest.h: extension to keep mouse (x,y) position
6183 2002-08-12 Juergen Vigna <jug@sad.it>
6185 * BufferView2.C (insertErrors): forbid undo when inserting error
6188 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6190 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * ParagraphList.[Ch]: new files
6194 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6196 * BufferView2.C (lockInset): ParagraphList changes
6199 * bufferlist.C: ditto
6203 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6205 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6206 unused class variable counter_,
6208 * paragraph.[Ch] (getFirstCounter): delete unused function
6210 * counters.C: include LAssert.h
6211 (reset): add a new function with no arg, change other version to
6212 not have def. arg and to not allow empty arg.
6214 * text2.C (setCounter): remove empty arg from call to Counters::reset
6216 2002-08-11 John Levon <levon@movementarian.org>
6218 * Makefile.am: add WordLangTuple.h
6220 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6223 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6225 * insets/insettext.C: InsetList changes
6227 * graphics/GraphicsSupport.C (operator()): InsetList changes
6229 * toc.C (getTocList): InsetList changes
6231 * paragraph_pimpl.[Ch]: InsetList changes
6233 * paragraph.[Ch]: InsetList changes
6235 * buffer.C (inset_iterator): InsetList changes
6236 (setParagraph): ditto
6237 * buffer.h (inset_iterator): ditto
6238 * iterators.C (operator++): ditto
6239 * iterators.h: ditto
6241 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6243 * InsetList.[Ch]: new files, most InsetList handling moved out of
6246 * BufferView2.C (removeAutoInsets): InsetList changes
6248 (ChangeInsets): ditto
6250 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * paragraph_pimpl.h (empty): new function
6254 * paragraph.[Ch] (empty): new function
6256 * other files: use the new Paragraph::empty function
6258 2002-08-09 John Levon <levon@movementarian.org>
6260 * lyxtext.h: remove unused refresh_height
6262 2002-08-09 John Levon <levon@movementarian.org>
6269 * paragraph.C: move sgml char escaping out of paragraph
6272 * paragraph.C: remove id setter
6276 * paragraph_pimpl.C: remove dead tex_code_break_column
6278 * bufferview_funcs.C: small cleanup
6280 * lyxfunc.C: remove dead proto
6282 * lyxtext.h: make some stuff private. Remove some dead stuff.
6284 * lyxgluelength.C: make as[LyX]String() readable
6286 2002-08-08 John Levon <levon@movementarian.org>
6291 * ToolbarDefaults.C:
6294 * toc.C: lyxaction cleanup
6296 2002-08-08 John Levon <levon@movementarian.org>
6298 * BufferView2.C: small cleanup
6301 * lyxfind.C: move unnecessary header into the .C
6303 2002-08-08 John Levon <levon@movementarian.org>
6305 * funcrequest.h: just tedious nonsense
6308 * lyx_main.C: cleanups
6311 * vspace.C: remove dead header lyx_main.h
6313 2002-08-07 Angus Leeming <leeming@lyx.org>
6316 * paragraph_pimpl.h:
6317 Forward declare class Counters in paragraph.h by moving the ctrs member
6318 variable into Paragraph::Pimpl.
6319 (counters): new method, returning a reference to pimpl_->ctrs.
6321 * text2.C: ensuing changes.
6323 2002-08-07 John Levon <levon@movementarian.org>
6325 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6327 * BufferView_pimpl.C: announce X selection on double/triple
6330 * lyx_main.C: use correct bool in batch dispatch
6332 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6334 2002-08-07 André Pönitz <poenitz@gmx.net>
6336 * funcrequest.h: new class to wrap a kb_action and its argument
6339 * BufferView_pimpl[Ch]:
6343 * lyxrc.C: subsequent changes
6346 2002-08-07 John Levon <levon@movementarian.org>
6348 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6349 document options change.
6351 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6356 * makefile.am: move counters functionality over from
6357 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6359 2002-08-06 John Levon <levon@movementarian.org>
6361 * WordLangTuple.h: new file for word + language code tuple
6372 * BufferView2.C: use WordLangTuple
6375 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6377 2002-08-06 John Levon <levon@movementarian.org>
6379 * lyx_main.C: fix cmdline batch handling
6381 2002-08-06 André Pönitz <poenitz@gmx.net>
6383 * lyxrc.C: set default for show_banner to true
6385 2002-08-06 John Levon <levon@movementarian.org>
6387 * pspell.C: fix a crash, and allow new aspell to work
6389 2002-08-06 John Levon <levon@movementarian.org>
6392 * kbmap.C: small cleanup
6395 * vspace.C: add const
6397 2002-08-05 John Levon <levon@movementarian.org>
6399 * LyXAction.C: back to tabular-insert
6401 2002-08-04 John Levon <levon@movementarian.org>
6404 * BufferView.C: cosmetic change
6406 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6416 * BufferView2.C: purge all "Lyx" not "LyX" strings
6419 * lyxcursor.C: attempt to add some documentation
6424 * ToolbarDefaults.C:
6425 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6426 merge with LFUN_TABULAR_INSERT
6433 * pspell.C: split up i/pspell implementations into separate
6434 files, many cleanups
6436 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6438 * text2.C: some cleanup
6440 * lyxfunc.C: don't check for isp_command == "none" any more, it
6441 didn't make any sense
6443 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6448 * makefile.am: move counters functionality over
6449 from text2.C/paragraph.[Ch] to counters.[Ch], and
6451 2002-08-02 John Levon <levon@movementarian.org>
6453 * buffer.C: s/lyxconvert/lyx2lyx/
6455 2002-08-02 Angus Leeming <leeming@lyx.org>
6457 * lyxlex.C: revert John's change as it breaks reading of the user
6460 2002-08-02 Angus Leeming <leeming@lyx.org>
6462 * importer.C (Import):
6463 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6464 changes due to LyXView::view() now returning a boost::shared_ptr.
6466 2002-08-02 John Levon <levon@movementarian.org>
6468 * lyxlex.C: small cleanup
6470 2002-08-02 John Levon <levon@movementarian.org>
6472 * text2.C (status): small cleanup, no logic change
6474 2002-08-01 John Levon <levon@movementarian.org>
6477 * buffer.C (writeFile): don't output alerts, caller
6481 * lyx_cb.C: from above
6483 * lyxfunc.C: allow to open non-existent files
6485 2002-07-31 John Levon <levon@movementarian.org>
6487 * lyxserver.C: don't let incidental errors get
6490 2002-07-30 John Levon <levon@movementarian.org>
6492 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6494 2002-07-30 John Levon <levon@movementarian.org>
6497 * lyxserver.C: remove I/O callback too
6499 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6501 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6504 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * many files: strip,frontStrip -> trim,ltrim,rtrim
6508 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * PrinterParams.h: remove extern containsOnly, and include
6511 support/lstrings.h instead.
6513 * LaTeX.C (scanAuxFile): modify because of strip changes
6515 * buffer.C (makeLaTeXFile): ditto
6516 * bufferparams.C (writeFile): ditt
6517 * lyxfont.C (stateText): ditto
6518 * lyxserver.C (read_ready): ditto
6519 * vc-backend.C (scanMaster): ditto
6521 * BufferView_pimpl.h: ws changes
6523 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6525 2002-07-26 André Pönitz <poenitz@gmx.net>
6527 * kb_sequence.C: remove unnedred usings
6529 2002-07-26 Juergen Vigna <jug@sad.it>
6531 * lyxfind.C (LyXReplace): we have to check better if the returned
6532 text is not of theLockingInset()->getLockingInset().
6534 2002-07-25 Juergen Vigna <jug@sad.it>
6536 * lyxfind.C (LyXReplace): don't replace if we don't get the
6539 * undo_funcs.C (createUndo): remove debugging code.
6541 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6543 * buffer.C (parseSingleLyXformat2Token): Use default placement
6544 when reading old floats.
6546 * FloatList.C (FloatList): Change the default placement of figure
6547 and tables to "tbp".
6549 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6551 * MenuBackend.C: using std::max
6553 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6555 * MenuBackend.C (expandToc):
6556 (expandToc2): code moved from xforms menu frontend. It is now
6557 generic and TOCs are transparent to menu frontends.
6559 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6561 * toc.C (getTocList): protect against buf=0
6563 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6564 Menu as first parameter. Now, this calls itself recursively to
6565 expand a whole tree (this will be useful for TOC handling)
6566 (expandFloatInsert): remove 'wide' version of floats
6568 * MenuBackend.h (submenuname): returns the name of the submenu.
6569 (submenu): returns the submenu itself, provided it has been
6570 created by MenuBackend::expand
6572 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6574 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6575 insets which have noFontChange == true. (bug #172)
6577 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6579 * BufferView_pimpl.C: add connection objects and use them...
6582 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6584 * MenuBackend.C (expandLastfiles):
6587 (expandFloatListInsert):
6588 (expandFloatInsert):
6589 (expand): split expand in parts
6591 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6593 * lyx_gui.C: use lyx_gui::exit()
6595 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6597 * LyXAction.C: show the failing pseudo action
6599 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6601 * buffer.C (readFile): Run the lyxconvert script in order to read
6604 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6608 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6610 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6614 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6616 2002-07-22 Herbert Voss <voss@lyx.org>
6619 * lyxlength.[Ch]: add support for the vertical lengths
6621 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6623 * toc.[Ch]: std:: fixes
6625 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6627 * lyxrc.C: do not include lyx_main.h
6629 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6635 * BufferView2.C: include "lyxlex.h"
6638 * bufferparams.h: do not #include "lyxlex.h"
6640 * lyxtextclasslist.C (Add): remove method
6641 (classlist): renamed to classlist_
6643 * paragraph_pimpl.C:
6647 * bufferview_funcs.C:
6652 * toc.C (getTocList): use BufferParams::getLyXTextClass
6654 * toc.C (getTocList): use InsetFloat::addToToc
6656 * toc.[Ch]: new files, containing helper functions to handle table
6659 * lyxfunc.C (dispatch): no need to remove spaces around command
6661 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6662 first command of the sequence; it is not very clever, but I do not
6663 have a better idea, actually
6665 * LyXAction.C (LookupFunc): make sure to remove space at the
6666 beginning and end of the command
6668 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6670 * MenuBackend.C (getMenubar): new method: return the menubar of
6672 (read): treat differently reading of menu and menubar (in
6673 particular, the menubar has no name now)
6674 (Menu::menubar): remove
6676 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6679 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6681 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6682 a bibitem inset in a RTL paragraph.
6684 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6686 * paragraph_pimpl.C: constify
6688 * BufferView_pimpl.C:
6690 * lyxfunc.C: fix dispatch in a nicer way
6692 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6694 * lyxfunc.C (dispatch):
6695 * BufferView_pimpl.C:
6696 * BufferView_pimpl.h:
6698 * BufferView.h: rename Dispatch() to dispatch()
6700 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6702 * lyxlayout.C (Read): honor DependsOn tag
6704 * lyxlayout.[Ch] (depends_on): new method
6706 * version.C.in: update lyx_docversion
6708 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6710 * paragraph.C (validate): remove from here...
6711 * paragraph_pimpl.C (validate): ... and move here
6712 (isTextAt): make it const
6714 * buffer.C (getLists): ws cleanup
6716 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6718 * language.C (read): Use iso8859-1 encoding in latex_lang
6719 (this prevents LyX from crashing when using iso10646-1 encoding).
6721 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6723 * text2.C (toggleInset): if cursor is inside an inset, close the
6724 inset and leave cursor _after_ it
6726 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6728 * lyxfunc.C: move minibuffer completion handling out of here
6730 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6732 * BufferView_pimpl.C:
6733 * LaTeX.C: fix dispatch calls
6735 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6737 * text.C (drawChars): Fix Arabic text rendering.
6739 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6743 * lyxfunc.C: remove message-push/pop
6747 * lyxfunc.C: rationalise some code by removing verboseDispatch
6748 in favour of a bool argument to dispatch()
6750 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6752 * lyx_main.C (init): make sure to read symlinks as absolute paths
6754 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6757 * lyxfunc.C: no need for commandshortcut to be a member
6759 2002-07-15 André Pönitz <poenitz@gmx.net>
6761 * converter.C: add support for $$s (scripts from lib/scripts dir)
6762 * lyx_main.C: white space
6764 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6768 * lyxrc.C: remove second exit confirmation
6770 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6775 * BufferView_pimpl.h:
6776 * BufferView_pimpl.C:
6777 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6779 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6781 * MenuBackend.C (expand): add numeric shortcuts to document menu
6783 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6785 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6787 * lyxfont.C (setLyXFamily):
6794 * buffer.C (asciiParagraph): use ascii_lowercase
6796 2002-07-15 Mike Fabian <mfabian@suse.de>
6798 * lyxlex_pimpl.C (search_kw):
6799 * lyxlex.C (getLongString):
6800 * converter.h (operator<):
6801 * converter.C (operator<):
6802 * buffer.C (parseSingleLyXformat2Token):
6804 * ToolbarDefaults.C (read):
6805 * MenuBackend.C (checkShortcuts):
6807 * LColor.C (getFromGUIName):
6808 (getFromLyXName): use the compare_ascii_no_case instead of
6809 compare_no_case, because in turkish, 'i' is not the lowercase
6810 version of 'I', and thus turkish locale breaks parsing of tags.
6812 2002-07-16 Angus Leeming <leeming@lyx.org>
6814 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6815 now takes a Buffer const & argument.
6817 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6819 * BufferView.C (resize): check there's a buffer to resize
6821 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6823 * lyxfunc.C: remove dead code
6826 * lyxserver.C: use lyx_guii::set_read_callback
6828 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6830 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6831 an inset in a RTL paragraph.
6833 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6835 * lyxfunc.C: repaint after a font size update
6837 2002-07-15 André Pönitz <poenitz@gmx.net>
6839 * lyxlength.C: inBP should be able to return negative values
6841 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6843 * lyxfunc.C: use lyx_gui::update_fonts()
6845 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6847 * lyxfunc.C: use lyx_gui::update_color()
6849 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6855 * lyxrc.C: remove file->new asks for name option, and let
6856 buffer-new take an argument
6858 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6860 * BufferView_pimpl.C: remove unneeded extra repaint()
6862 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6864 * LyXAction.C: allow command-sequence with NoBuffer
6866 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6868 2002-07-10 Angus Leeming <leeming@lyx.org>
6870 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6872 2002-07-09 Angus Leeming <leeming@lyx.org>
6874 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6876 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6878 * lengthcommon.h: whitespace
6880 * lyxfunc.C: update scrollbar after goto paragraph
6882 * lyxtext.h: factor out page break drawing, and fix it so
6883 page break/added space paints as selected nicely
6885 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6887 * BufferView_pimpl.C: add FIXMEs, clean up a little
6889 2002-07-09 André Pönitz <poenitz@gmx.net>
6891 * lyxfont.[Ch]: support for wasy symbols
6893 2002-07-08 André Pönitz <poenitz@gmx.net>
6895 * BufferView_pimpl.C: apply John's patch for #93.
6897 2002-07-05 Angus Leeming <leeming@lyx.org>
6899 * BufferView_pimpl.C (buffer): generate previews if desired.
6901 * LColor.h: add "preview" to the color enum.
6903 * LColor.C (LColor): add a corresponding entry to the items array.
6905 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6908 2002-07-05 Angus Leeming <leeming@lyx.org>
6910 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6911 The body of the code is now in the method that is passed an ostream &
6912 rather than a file name.
6913 Pass an additional only_preamble parameter, useful for the forthcoming
6916 2002-07-03 André Pönitz <poenitz@gmx.net>
6918 * lyxfunc.C: simplify getStatus() a bit for math stuff
6920 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6922 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6924 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6926 * text.C (changeRegionCase): do not change case of all the
6927 document when region ends at paragraph end (bug #461)
6929 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6931 * paragraph.C (startTeXParParams):
6932 (endTeXParParams): add \protect when necessary
6934 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6936 * BufferView_pimpl.C (workAreaExpose): remove warning
6938 2002-06-27 Angus Leeming <leeming@lyx.org>
6940 * Makefile.am: add lyxlayout_ptr_fwd.h.
6942 2002-06-26 André Pönitz <poenitz@gmx.net>
6944 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6946 2002-06-25 Angus Leeming <leeming@lyx.org>
6948 * lyxfunc.C (dispatch): Comment out the call to
6949 grfx::GCache::changeDisplay. The method no longer exists now that the
6950 pixmap generation part of the graphics loader has been moved into
6953 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6955 * text2.C: layout as layout
6957 * text.C: layout as layout
6959 * tabular.C (OldFormatRead): layout as layout
6961 * paragraph_pimpl.C (TeXDeeper): layout as layout
6962 (realizeFont): layout as layout
6964 * paragraph.C (writeFile): layout as layout
6965 (validate): layout as layout
6966 (getFont): layout as layout
6967 (getLabelFont): layout as layout
6968 (getLayoutFont): layout as layout
6969 (breakParagraph): layout as layout
6970 (stripLeadingSpaces): layout as layout
6971 (getEndLabel): layout as layout
6972 (getMaxDepthAfter): layout as layout
6973 (applyLayout): layout as layout
6974 (TeXOnePar): layout as layout
6975 (simpleTeXOnePar): layout as layout
6976 (TeXEnvironment): layout as layout
6977 (layout): layout as layout
6978 (layout): layout as layout
6980 * lyxtextclass.C (compare_name): new functor to work with
6981 shared_ptr, layout as layout
6982 (Read): layout as layout
6983 (hasLayout): layout as layout
6984 (operator): layout as layout
6985 (delete_layout): layout as layout
6986 (defaultLayout): layout as layout
6988 * lyxlayout_ptr_fwd.h: new file
6990 * lyxlayout.C (Read): layout as layout
6992 * lyx_cb.C (MenuInsertLabel): layout as layout
6994 * bufferlist.C (newFile): layout as layout
6996 * buffer.C (readLyXformat2): layout as layout
6997 (parseSingleLyXformat2Token): layout as layout
6998 (insertStringAsLines): layout as layout
6999 (asciiParagraph): layout as layout
7000 (latexParagraphs): layout as layout
7001 (makeLinuxDocFile): layout as layout
7002 (simpleLinuxDocOnePar): layout as layout
7003 (makeDocBookFile): layout as layout
7004 (simpleDocBookOnePar): layout as layout
7005 (getLists): layout as layout
7007 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7009 * CutAndPaste.C (cutSelection): layout as layout
7010 (pasteSelection): layout as layout
7011 (SwitchLayoutsBetweenClasses): layout as layout
7013 * BufferView_pimpl.C (Dispatch): layout as layout
7014 (smartQuote): layout as layout
7016 * BufferView2.C (unlockInset): layout as layout
7018 2002-06-24 André Pönitz <poenitz@gmx.net>
7020 * lyxfunc.C: fix #487
7022 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7026 * lyxfunc.C: remove display_shortcuts, show_banner
7028 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7030 * Buffer_pimpl.C: oops, update on resize
7032 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7039 * BufferView.C: use repaint()
7041 * BufferView_pimpl.h:
7042 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7043 as it's a clearer description. Remove superfluous
7046 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7048 * text.C: fix bug 488. Not ideal, but getting
7049 getWord() to work properly for the insets that
7050 matter is more difficult ...
7052 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7054 * BufferView_pimpl.C:
7057 * lyxfunc.C: remove the six million index lyxfuncs to just
7058 one, and DTRT (bug 458)
7060 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7064 * BufferView_pimpl.h:
7065 * BufferView_pimpl.C: clean up resize() stuff,
7066 and unnecessary updateScreen()s
7068 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7072 * BufferView_pimpl.h:
7073 * BufferView_pimpl.C:
7076 * minibuffer.C: remove focus management of workarea,
7077 not needed. Use screen's greyOut()
7079 2002-06-17 Herbert Voss <voss@lyx.org>
7081 * converter.C: (convert) do not post a message, when converting
7082 fails, let the calling function decide what to do in this case
7084 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7086 * lyxfunc.C: tidy up a little
7088 2002-06-16 <alstrup@diku.dk>
7090 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7091 Got rid of FORMS_H_LOCATION include. Now we are
7094 2002-06-15 LyX Development team <lyx@rilke>
7096 * buffer.[Ch] (sgmlOpenTag):
7097 (sgmlCloseTag): Added support for avoiding pernicious mixed
7098 content. Return number of lines written.
7101 (makeDocBookFile): Fixed calls to sgml*Tag.
7102 Simple white space clean.
7104 (simpleDocBookOnePar): Simple white space clean.
7106 * tabular.[Ch] (docBook): Renamed to docbook and got another
7107 argument to related with the pernicious mixed content.
7109 (docbookRow): Fixed calls for docbook inset method.
7111 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7113 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7114 so it's X11 independent.
7118 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7120 2002-06-15 Lyx Development team <lyx@electronia>
7122 * intl.h: Renamed getTrans to getTransManager.
7124 2002-06-14 Angus Leeming <leeming@lyx.org>
7126 * Makefile.am: nuke forgotten stl_string_fwd.h.
7128 2002-06-12 Angus Leeming <leeming@lyx.org>
7130 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7132 2002-06-13 Angus Leeming <leeming@lyx.org>
7135 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7137 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7139 * kbmap.C (getiso): add support for cyrillic and greek
7141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7145 * BufferView_pimpl.h:
7146 * BufferView_pimpl.C: move bogus scrolling logic
7149 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7152 * BufferView_pimpl.C: view->resize() change
7154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7156 * BufferView_pimpl.C: topCursorVisible
7159 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7163 * lyx_gui.C: move to frontends/
7167 * lyx_main.C: changes from above
7169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7176 * lyx_main.C: minor tidy
7178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7180 * BufferView_pimpl.h:
7181 * BufferView_pimpl.C:
7183 * BufferView.C: make painter() const,
7186 * BufferView2.C: use screen() accessor
7189 * lyx_main.C: some minor cleanup
7191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7193 * BufferView_pimpl.h:
7194 * BufferView_pimpl.C: remove enter/leaveView,
7197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7202 * BufferView_pimpl.h:
7203 * BufferView_pimpl.C: only construct screen once,
7206 * lyxrc.C: remove pointless comment
7208 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7211 * BufferView.C: remove active() and belowMouse()
7213 * BufferView_pimpl.h:
7214 * BufferView_pimpl.C: use workarea() not workarea_,
7215 and make it use a scoped_ptr instead
7217 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7219 * lyx_gui.C: add debug message on BadWindow
7221 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7223 * sp_spell.C: fdopen is not part of the C++ standard.
7225 * paragraph.C (InsetIterator): use >= instead of ==
7227 2002-06-07 Angus Leeming <leeming@lyx.org>
7229 Fixes needed to compile with Compaq cxx 6.5.
7230 * BufferView_pimpl.C:
7237 * lyxtextclasslist.C:
7242 all c-library variables have been moved into namespace std. Wrap
7243 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7248 Add a using std::abs declaration.
7250 * kbmap.h (modifier_pair):
7251 * paragraph.h (InsetTable, InsetList):
7252 * lyxfont.h (FontBits):
7253 type definition made public.
7255 * bufferlist.C (emergencyWriteAll): the compiler complains that
7256 there is more than one possible lyx::class_fun template to choose from.
7257 I re-named the void specialisation as lyx::void_class_fun.
7259 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7261 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7262 the compiler is is unable to find tostr in write_attribute.
7264 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7266 * buffer.C (sgmlError): hide #warning
7268 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7270 * xtl/*: get rid of xtl, which is not in use anyway
7272 * LyXAction.C (init):
7273 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7274 were unimplemented xtl experimentation
7276 2002-06-04 André Pönitz <poenitz@gmx.net>
7278 * lyxfunc.C: disable array operation on simple formulae
7280 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7282 * converter.C: constify a bit
7284 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7286 * lyx_gui.C: check xforms version correctly
7288 2002-04-30 Herbert Voss <voss@lyx.org>
7290 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7293 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7295 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7296 attempt to register it with a VCS)
7298 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7300 * lyx_main.C (init): honor variables LYX_DIR_13x and
7303 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7307 * lyx_main.C: fix a crash on bad command line,
7308 and give a useful exit status on error
7310 * lyxfunc.C (doImport): allow -i lyx to work
7312 2002-03-30 André Pönitz <poenitz@gmx.net>
7314 * lyxfunc.C: mathed font changes
7316 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7331 * trans_mgr.h: srcdocs, and some minor cleanups
7333 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7335 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7336 call getFont all the time)
7338 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * switch from SigC signals to boost::signals
7342 2002-05-29 André Pönitz <poenitz@gmx.net>
7344 * paragraph_pimpl.C (getChar): don't call size() too often...
7346 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7348 * paragraph_pimpl.C (insertChar): do not try to update tables when
7349 appending (pos == size())
7351 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7352 in order to reduce drastically the number of comparisons needed to
7353 parse a large document
7355 2002-05-29 André Pönitz <poenitz@gmx.net>
7361 * textclasslist.[Ch]:
7362 * sp_ispell.h: whitespace change
7364 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7366 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7367 lyxaction directly now.
7369 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7373 * lyxvc.C: remove unused headers
7375 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7382 * undo_funcs.C: some cleanups. Use shared_ptr
7383 and a template for the undo stacks.
7385 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7387 * BufferView_pimpl.h:
7388 * BufferView_pimpl.C:
7395 * text2.C: use key_state/mouse_state
7397 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7399 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7402 * chset.C: change include order
7403 (loadFile): use boost regex and get rid of LRegex and LSubstring
7405 * Makefile.am (BOOST_LIBS): new variable
7408 * LaTeX.C: change include order.
7409 (scanAuxFile): use boost regex and get rid of LRegex and
7413 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7418 * FontInfo.C: moved to frontends/xforms/
7421 * FontLoader.C: moved into frontends for GUIIzation
7426 * lyxfunc.C: changes from above
7428 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7430 * LColor.C: remove spurious X include
7432 * BufferView_pimpl.C:
7437 * text2.C: move font metrics to frontends/
7439 2002-05-24 Juergen Vigna <jug@sad.it>
7441 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7442 setting the undo_cursor.
7444 * ParagraphParameters.h: include local includes first.
7446 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7448 * BufferView_pimpl.C:
7449 * BufferView_pimpl.h:
7453 * screen.C: move WorkArea into frontends/
7459 * BufferView2.C: move LyXScreen into frontends/
7463 * lyx_gui.C: move lyxlookup into frontends/xforms/
7465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7468 * BufferView_pimpl.C:
7478 * bufferview_funcs.C:
7491 * vc-backend.C: move LyX/XFormsView into frontends/
7493 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7505 * text2.C: move Painter to frontends/
7507 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7509 * buffer.C: comment out some some code that depend upon lyx_format
7512 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7513 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7515 * buffer.h (NO_COMPABILITY): turn off compability
7517 * ColorHandler.C: include scoped_array.hpp
7519 * font.C: Use more specific smart_ptr header.
7522 * ShareContainer.h: ditto
7526 * BufferView_pimpl.h: ditto
7527 * ColorHandler.h: ditto
7529 * kbmap.C (defkey): change call to shared_ptr::reset
7531 2002-05-21 Juergen Vigna <jug@sad.it>
7533 * buffer.C (insertErtContents): fix to insert ert asis if it is
7534 non empty. Skip it completely if it contains only whitespaces.
7536 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7538 * BufferView_pimpl.C:
7539 * BufferView2.C: clear selection on paste (bug 393)
7541 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7543 * DepTable.C: include ctime
7545 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7547 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7549 2002-05-14 Juergen Vigna <jug@sad.it>
7551 * text.C (breakParagraph): fixed function to honor the keepempty
7552 layout in the right maner and also to permit the right breaking
7553 algorithm on empty or non empyt keepempty paragraphs.
7555 * paragraph.C (breakParagraph): we have to check also if the par
7556 is really empty (!size()) for isempty otherwise we do the wrong
7559 2002-05-10 Juergen Vigna <jug@sad.it>
7561 * buffer.[Ch] : The following are only changes to the ert
7562 compatibility read reading old LaTeX layout and font stuff and
7563 convert it to ERTInsets.
7565 * buffer.h: added isErtInset().
7567 * buffer.C (struct ErtComp): add a fromlayout bool to check
7568 if we're inside a LaTeX layout.
7569 (isErtInset): new helper function.
7570 (insertErtContents): look for other ert insets before this one
7571 and insert the contents there, so that we don't have subsequent
7572 ERT insets with nothing between them. This way we create only one
7573 inset with multiple paragraphs. Also check if we don't insert only
7574 spaces ' ' as they are ignored anyway afterwards in the .tex file
7575 so if we have only spaces we will ignore this latex part in the
7577 (parseSingleLyXformat2Token \\layout): better compatibility when
7578 reading layout-latex stuff.
7579 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7581 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7582 stuff after reading the inset only get the information back from
7585 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7587 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7589 * LaTeXFeatures.C (getBabelOptions): New method.
7591 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7593 * BufferView_pimpl.C (Dispatch): work around missing argument for
7596 2002-05-08 Juergen Vigna <jug@sad.it>
7598 * text.C (leftMargin): handle paragraph leftindent.
7600 * paragraph.C (writeFile): write the new \\leftindent tag.
7601 (validate): handle leftindent code.
7602 (TeXEnvironment): handle paragraphleftindent code again.
7604 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7606 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7607 for paragrap_extra indent code and new token \\leftindent.
7608 (latexParagraphs): handle the leftindent as environment.
7610 * ParameterStruct.h: added leftindent support.
7612 * ParagraphParameters.C (leftIndent): added support functions for
7613 the paragraph left indent.
7615 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7618 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7620 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7623 * text.C (computeBidiTables): No bidi in insetERT.
7625 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7628 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7630 * version.C.in: pre 5
7632 2002-05-02 José Matos <jamatos@fep.up.pt>
7633 * buffer.C (makeDocBookFile): white space changes, add newline to
7635 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7637 * tabular.C (docBook): fix typo.
7639 2002-05-03 Juergen Vigna <jug@sad.it>
7641 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7642 change in LyXText as we can not be sure it was not freed.
7643 (drawOneRow): remove unused code.
7645 * text.C (drawInset): redo the calculation of the need_break_row as
7646 it could have a row which was already freed.
7647 (draw): look at the return value of drawInset and return false if
7648 it also returned false.
7649 (paintRowText): look at the return value of draw and return false if
7650 it also returned false.
7652 * lyxtext.h: added bool return type to drawInset() and draw() so that
7653 if we have a change in the row so that the rowbreak has to be redone
7654 we abort drawing as it will be called again.
7656 2002-05-02 Juergen Vigna <jug@sad.it>
7658 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7659 a change in the maintext also if we're inside an inset.
7660 (Dispatch): set the cursor again after a break line and after the
7661 screen has been updated as it could be we're in a different row.
7663 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7664 to set the cursor behind the pargraph with > size().
7665 (setCursor): check also for the same paragraph when checking where
7666 to put the cursor if we have a NFR inset.
7668 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7669 parts of layout read further up as it still was in the wrong
7672 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7674 * screen.C (drawFromTo): change sine fullRebreak always return
7677 * buffer.C (parseSingleLyXformat2Token): reindent some
7679 * BufferView_pimpl.C (update): change since fullRebreak always
7681 (Dispatch): git rid of the last hardcoded "Standard"s.
7683 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7685 * text2.[Ch] (fullRebreak): make it return void now that we always
7688 2002-04-30 Juergen Vigna <jug@sad.it>
7690 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7691 ert compatibility check for "latex" layout.
7693 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7695 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7696 minipages: use col% instead of p%, and also use the current font.
7697 (makeLaTeXFile): Fix use babel condition.
7698 (parseSingleLyXformat2Token): Correct font when reading old floats.
7700 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7702 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7703 inserting list of floats.
7705 2002-04-25 Herbert Voss <voss@lyx.org>
7707 * MenuBackend.C (expand): don't add the graphics extensions to the
7710 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7712 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7713 non-existing layout, do not complain if it was the default layout
7714 of the original class (bug #342)
7716 2002-04-24 Juergen Vigna <jug@sad.it>
7718 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7719 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7721 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7723 * buffer.C (getBibkeyList): If using \bibliography, return the
7724 option field with the reference itself. Enables us to provide natbib
7725 support when using \bibliography.
7727 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7729 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7731 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7732 natbib is provided by the LaTeX class.
7734 2002-04-23 Juergen Vigna <jug@sad.it>
7736 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7739 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7741 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7743 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7745 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7746 ensuremath around textordmasculine, textordfeminine and
7749 2002-04-19 Juergen Vigna <jug@sad.it>
7751 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7752 reinitializing the buffer otherwise row-dimensions may be wrong.
7753 (update): reset also the selection cursors if they do exits otherwise
7754 their x/y positions may be wrong.
7756 * text2.C (cursorDown): don't enter the inset if we came from a row
7757 above and are one row over the inset.
7759 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7760 really leaving an inset.
7762 2002-04-18 Juergen Vigna <jug@sad.it>
7764 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7765 of the selected paragraph does not have the selected layout also if
7768 * text2.C (setLayout): fixed bug which did not change last selected
7771 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7772 changed the read and substituted \\end_float with \\end_inset!
7774 * BufferView_pimpl.C (cursorPrevious):
7775 (cursorNext): fixed to make it work with rows heigher than the work
7776 area without moving the cursor only the draw of the row.
7777 (workAreaMotionNotify): fix jumping over high rows.
7779 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7781 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7784 2002-04-16 Juergen Vigna <jug@sad.it>
7786 * text2.C (setCursor): set also the irow().
7787 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7789 (cursorDown): support for locking an inset if the x_fix value goes
7790 inside it. That way I can transverse insets too with cursor up/down.
7792 * lyxrow.h: added irow helper function same as other (i) functions.
7794 * BufferView_pimpl.C (cursorPrevious):
7795 (cursorNext): fixed for insets!
7797 2002-04-15 Juergen Vigna <jug@sad.it>
7799 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7800 position otherwise it is wrong in some cases.
7802 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7803 inside the inset before the call.
7805 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7807 * buffer.[Ch] (getBibkeyList): make it const.
7809 2002-04-12 Juergen Vigna <jug@sad.it>
7811 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7813 * text2.C (getCursorX): new helper function
7814 (setCursor): compute also ix_
7815 (setCursorFromCoordinates): set also ix.
7817 * lyxcursor.h: added ix_ and helper functions.
7819 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7821 * buffer.C (insertStringAsLines): dont break paragraph if the this
7822 paragraph is inside an inset which does not permit it!
7824 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7825 also with no chars on this paragraph.
7826 (paintRowText): only paint stuff if it's inside the workarea!
7828 * paragraph.C (breakParagraph): honor keepempty flag and break the
7829 paragraph always below not above.
7831 * BufferView2.C (unlockInset): update the paragraph layout on inset
7832 unlock as we changed paragraph in such a case.
7834 * lyxfind.C (LyXFind): clear the former selection if not found!
7836 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7837 again called in insertChar().
7839 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7840 an inset which uses the whole row!
7841 (rightMargin): ditto.
7842 (insertChar): force a rebreak if we inserted an inset!
7844 2002-03-28 Herbert Voss <voss@lyx.org>
7846 * lyxlength.[Ch]: add inBP() to get the right PS-point
7847 units (BigPoint). With inPixels we have rounding errors
7849 2002-04-11 Juergen Vigna <jug@sad.it>
7851 * text2.C (setCursorFromCoordinates): set iy to the right value.
7852 (setCursor): add check if row->previous exists!
7854 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7855 an old float_type as this was the case in the old code!
7857 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7859 * BufferView2.C (showLockedInsetCursor): use iy
7860 (fitLockedInsetCursor): ditto
7862 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7863 locked insets as there we have the right value now.
7865 * lyxcursor.C: added iy_ variable and iy functions to set to the
7866 baseline of cursor-y of the locked inset.
7868 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7869 (setCursor): fixed for insets which need a full row.
7871 * text.C (rowLastPrintable): don't ignore the last space when before
7872 an inset which needs a full row.
7873 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7874 as last character of a row when before a inset which needs a full row.
7876 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7878 * version.C.in: update date
7880 * text2.C (fullRebreak): try to always return true and see what
7883 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7885 * MenuBackend.C (expand): use Floating::listName
7887 * FloatList.C (FloatList): add listName argument to the built-in
7890 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7891 text associated with the float.
7893 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7895 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7897 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7899 * ShareContainer.h: add a couple of missing typenames.
7901 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7903 * lyxrc.C (getDescription): use _() correctly rather than N_().
7905 2002-03-28 Herbert Voss <voss@lyx.org>
7907 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7908 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7910 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7912 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7913 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7915 2002-03-29 Juergen Vigna <jug@sad.it>
7917 * lyxfunc.C (dispatch): add a missing fitCursor call.
7919 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7920 it was scrolled by a cursor move, so return the bool status.
7922 * BufferView.C (fitCursor): return the bool flag also to the outside
7923 world as this is needed.
7925 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7927 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7928 call the edit() as it is not needed (and wrong) IMO.
7929 (workAreaButtonPress): set the screen_first variable before evt.
7930 unlock the inset as this may change screen_first and then we have
7931 a wrong y position for the click!
7933 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * MenuBackend.C (expand): another translation that I missed
7937 2002-03-28 Juergen Vigna <jug@sad.it>
7939 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7941 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7943 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7947 * MenuBackend.C (expand): fix export/view/update when there is no
7950 2002-03-27 Herbert Voss <voss@lyx.org>
7952 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7955 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7957 * bufferview_funcs.C (currentState): only show paragraph number
7958 for is DEVEL_VERSION is set.
7960 * lyxfunc.C (dispatch): put warning in INFO channel
7962 * MenuBackend.C (expand): translate the name of floats
7964 * FloatList.C (FloatList): mark the float names for translation
7966 * converter.C (convert): use LibScriptSearch
7968 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7970 * MenuBackend.C (defaults): fix default menu (we might as well get
7973 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7975 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7978 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7980 * lyxvc.C: reorder includes.
7982 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7984 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7987 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7989 * CutAndPaste.C: change layouts earlier on paste
7990 to avoid crashing when calling getFont()
7992 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7994 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7997 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7999 * WorkArea.C: remove 'Pending' debug message.
8001 * most files: ws cleanup
8003 * buffer.[Ch]: ws changes
8005 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8007 2002-03-21 Juergen Vigna <jug@sad.it>
8009 * tabular.C (SetMultiColumn): collapse also the contents of the
8010 cells and set the last border right. Added a Buffer const * param.
8012 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8014 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8017 2002-03-19 Juergen Vigna <jug@sad.it>
8019 * text2.C (clearSelection): reset also xsel_cache.
8021 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8022 where it needs to be called (John tells us to do so too :)
8023 (selectionLost): reset sel_cache.
8025 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8027 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8029 * text2.C (setCursorIntern): put debuging code in INSETS channel
8031 2002-03-19 André Pönitz <poenitz@gmx.net>
8033 * lyxfunc.C: tiny whitespace change
8035 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8037 * ToolbarDefaults.C (init):
8038 * LyXAction.C (init):
8040 * BufferView_pimpl.C (Dispatch):
8041 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8043 2002-03-19 Allan Rae <rae@lyx.org>
8045 * exporter.C (Export): removeAutoInsets before doing anything else.
8046 While I've just introduced a dependency on BufferView this really is
8047 the best place to clean the buffer otherwise you need to cleanup in
8048 a dozen places before calling export or cleanup in a dozen functions
8051 * converter.C (runLaTeX):
8052 (scanLog): Better handling of removeAutoInsets and screen updates.
8054 * lyxfunc.C (dispatch): small whitespace changes
8056 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8058 * WorkArea.C (C_WorkAreaEvent): return a value.
8059 (event_cb): return 1 if we handled the event, 0 otherwise.
8061 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8063 2002-03-18 Juergen Vigna <jug@sad.it>
8065 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8066 (GetAdditionalWidth): ditto.
8070 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8071 inset if we're there actually (probably not used right now but this
8072 is the direction to go for unifying code).
8073 (paste): disable code to clear the selection.
8075 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8076 inside an InsetText and move the check further up as it is in the
8079 * text2.C (pasteSelection): set a selection over the pasted text.
8081 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8083 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8084 and libgraphics to build on Cygwin.
8086 2002-03-15 Juergen Vigna <jug@sad.it>
8088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8089 inserting an Inset into the paragraph. I know this is not the best
8090 fix but we already use current_view in CutAndPaste so we will remove
8091 all of it's using at the same time.
8093 * buffer.C (sgmlError): deactivated function till it is rewritten in
8094 the right mode, now it can create problems.
8096 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8097 before accessing it.
8099 2002-03-14 Juergen Vigna <jug@sad.it>
8101 * undo_funcs.C (textHandleUndo): do the right thing when updating
8102 the inset after the undo/redo.
8104 * text2.C (setCursor): just some testcode for #44 not ready yet.
8106 * undo_funcs.C (textHandleUndo): set the next() and previous()
8107 pointers of the paragraph to 0 before deleting otherwise we have
8108 problems with the Paragraph::[destructor].
8110 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8111 on a paragraph insertion.
8113 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * buffer.C (asciiParagraph): use += operator for char append to
8118 * paragraph.C (getFontSettings): compare >= not just >
8119 (highestFontInRange): ditto
8122 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8124 * paragraph.C: change several algorithm to be more appripriate for
8125 the problem domain. This is lookip in FontList and in the InsetList.
8127 2002-03-13 André Pönitz <poenitz@gmx.net>
8130 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8132 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8137 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8139 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8141 * Painter.C (display): anon helper function, adjust code for this
8143 (pixmap): remove function.
8145 * Painter.h: remove private display variable.
8147 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8149 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8151 * WorkArea.[Ch]: remove figinset_canvas cruft.
8153 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8155 * lyxtextclass.C (operator): add one item cache optimization.
8157 * bufferlist.h: doxy changes
8159 * bufferlist.C: ws changes
8161 * DepTable.[Ch] (ext_exist): place const in the right spot.
8163 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8165 (workAreaExpose): call resizeInsets when the with BufferView changes.
8166 (Dispatch): adjust for protectedBlank removal
8167 (specialChar): call updateInset if the insert went ok.
8169 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8170 specialChar instead.
8172 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8174 * BufferView.h: doxy change
8176 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8178 * lyxtextclass.C (operator[]): remove non-const version
8179 (defaultLayout): remove non-const version
8181 2002-03-12 Juergen Vigna <jug@sad.it>
8183 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8184 did resize the LyXText too.
8186 * buffer.C (readLyXformat2): set layout information on newly allocated
8189 * tabular.C (OldFormatRead): set layout information on the paragraph.
8191 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8193 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8195 2002-03-11 Juergen Vigna <jug@sad.it>
8197 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8199 (resizeCurrentBuffer): force also the insets to resize themselfes.
8200 (moveCursorUpdate): fixed up for InsetText.
8202 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8205 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8206 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8207 value of Dialogs::tooltipsEnabled().
8208 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8210 2002-03-08 Juergen Vigna <jug@sad.it>
8212 * BufferView_pimpl.C (updateInset): update inset inside inset also
8213 if it isn't inside theLockingInset().
8215 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8217 * buffer.C (asciiParagraph): redo some of the word and line length
8219 (getLists): look for Caption instead of caption.
8221 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8223 * buffer.C (Buffer): initialize niceFile to true
8226 (makeDocBookFile): make sure niceFile is true on exit
8228 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8230 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8232 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8234 * LyXSendto.C: remove.
8235 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8236 * lyx_gui.C: remove now-redundant comment.
8237 * ColorHandler.h: remove forward declaration of class WorkArea.
8238 * lyxfunc.C: remove #include "WorkArea.h".
8240 2002-03-07 Juergen Vigna <jug@sad.it>
8242 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8243 got moved away with the DEPM and also set the inset_owner always
8244 right which before could have been omitted.
8246 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8248 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8249 wanted layout is not found.
8251 2002-03-07 Juergen Vigna <jug@sad.it>
8253 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8255 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8257 * paragraph.C (breakParagraph): use default layout not layout of
8259 (Paragraph): clear ParagraphParameters.
8261 2002-03-06 Juergen Vigna <jug@sad.it>
8263 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8264 otherwise it would not be a valid lenght. Fixed a special case in
8265 the minipage compatibility read where we end the document with a
8268 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8269 was set as it could be 0 for InsetTexts first entry.
8271 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8273 * paragraph.C (writeFile): if layout is empty write out
8274 defaultLayoutName().
8276 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8277 file without named layout we set layout to defaultLayoutName().
8279 2002-03-06 Juergen Vigna <jug@sad.it>
8281 * CutAndPaste.C (copySelection): set layout for new paragraph.
8283 * text.C (prepareToPrint): leave ERT inset left aligned
8284 (leftMargin): don't indent paragraphs inside ERT insets
8286 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8288 * paragraph.C (breakParagraph): dont call clear do the work manually
8290 * paragraph.[Ch] (clear): remove function
8292 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8294 * paragraph.C (Paragraph): dont call clear, the work has already
8297 * lyxtextclass.C (operator): assert if n is empty
8299 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8300 work manually instead.
8302 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8304 * BufferView_pimpl.C: protect selectionLost against text == 0
8306 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8308 * text.C (breakParagraph): fix a setting layout to '0' problem.
8310 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8312 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8313 final location of file, for the included files, and graphics.
8315 2002-03-05 Juergen Vigna <jug@sad.it>
8317 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8319 2002-03-04 Juergen Vigna <jug@sad.it>
8321 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8323 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8324 last column of multicolumn cells.
8325 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8327 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8329 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8330 file if it doesn't go to a temporary file.
8332 * buffer.C (sgmlOpenTag):
8333 (sgmlCloseTag): remove extra newline insertion.
8335 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8337 * text.C (getRowNearY): comment out debug msg
8339 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8341 * text2.C: first -> first_y
8343 * text.C (getRowNearY): add some attemts at a possible
8344 optimization, not working.
8346 * tabular.[Ch]: add BufferParams to several function so that newly
8347 created paragraph can be initialized to he default layotu for the
8350 * tabular-old.C (ReadOld): add buf->params to call of Init
8352 * screen.C: rename text->first to text->first_y
8354 * paragraph.C (breakParagraph): always set layout in the broken
8357 * lyxtextclass.C (Read): remove lowercase
8360 (delete_layout): ditto
8362 * lyxtext.h: rename first -> first_y
8364 * lyxlayout.C (Read): remove lowercase
8367 (obsoleted_by): ditto
8369 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8371 * buffer.C (insertErtContents): add params are to InsetERT
8372 (parseSingleLyXformat2Token): add code to check if a paragraphs
8373 layout really exist.
8374 (parseSingleLyXformat2Token): add params to several inset
8376 (asciiParagraph): remove lowercase, do the layout comparisons with
8379 * BufferView_pimpl.C (cursorNext): first -> first_y
8380 (resizeCurrentBuffer): first -> first_y
8381 (updateScrollbar): first -> first_y
8382 (scrollCB): first -> first_y
8383 (workAreaMotionNotify): first -> first_y
8384 (workAreaButtonPress): first -> first_y
8385 (checkInsetHit): first -> first_y
8386 (cursorPrevious): first -> first_y
8387 (cursorNext): first -> first_y
8388 (Dispatch): add buffer_->params to severl inset contructors
8390 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8392 * lyxlayout.C (Read): remove some debug info that I forgot.
8394 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8395 clean up the code slightly.
8396 (makeLinuxDocFile): ditto
8397 (makeDocBookFile): ditto
8399 * text2.C: layout as string
8401 * text.C: layout as string
8403 * paragraph_pimpl.C: layout as string
8405 * paragraph.[Ch]: layout as string
8407 * lyxtextclasslist.[Ch]: layout as string
8409 * lyxtextclass.[Ch]: layout as string
8411 * lyxtext.h: layout as string
8413 * lyxlayout.[Ch]: layout as string
8415 * lyx_cb.C: layout as string
8417 * bufferview_funcs.C: layout as string
8419 * bufferparams.C: layout as string
8421 * buffer.C: layout as string
8423 * LyXView.[Ch]: layout as string
8425 * LaTeXFeatures.[Ch]: layout as string
8427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8429 * BufferView_pimpl.C: change current_layout to string, remove
8434 (workAreaButtonRelease): layout as string
8436 * BufferView2.C (unlockInset): adjust
8438 * vspace.C (asLatexCommand): use an explict temp variable.
8440 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8442 * Makefile.am: use FRONTEND_*
8444 2002-03-01 Juergen Vigna <jug@sad.it>
8446 * tabular.C (SetWidthOfMulticolCell): changed to something better
8447 I hope but still work in progress.
8448 (recalculateMulticolumnsOfColumn): renamed function from
8449 recalculateMulticolCells as it is more appropriate now.
8450 (SetWidthOfCell): calculate multicols better.
8452 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8454 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8456 * lyxfunc.C (processKeySym): print sequence also if it is
8457 `deleted' (complete)
8459 * kbsequence.C (print): print sequence even if it is deleted
8460 (complete would be a better word, actually).
8462 * lyxfunc.C (dispatch): print complete options after a prefix key
8464 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8466 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8468 * text2.C (setCharFont): eliminate setCharFont code duplication.
8470 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8472 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8473 LFUN_TABULAR_FEATURE (bug #177)
8475 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8477 * Makefile.am: remove figure.h
8479 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8481 * Bufferview_pimpl.C:
8493 * text2.C: remove #include "lyx_gui_misc.h".
8495 * LaTeX.C: added #include <cstdio>
8497 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8499 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8500 that the paragraph following this one can have.
8502 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8504 * vspace.C (asLatexCommand): fix bogus gcc warning
8506 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8508 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8510 * text2.C (setLayout): get rid of redundant code
8512 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8514 * text2.C (incDepth): make sure depth cannot be increased beyond
8517 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8519 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8520 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8522 * PainterBase.h (image):
8523 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8526 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8530 * BufferView_pimpl.C:
8531 * BufferView_pimpl.h:
8551 * sp_spell.C: remove fig inset, and the crap house of
8552 cards that follows it
8554 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8560 * nt_defines.h: move .h into support/
8562 * vms_defines.h: remove
8564 * WorkArea.C: add space in debug output
8568 * buffer.C: add WITH_WARNINGS
8572 * bufferlist.C: s/retrive/retrieve/, add docs
8583 * lyxgui.C: add ID to X error handler
8585 * lyxtestclass.c: fix typo
8587 2002-02-26 Juergen Vigna <jug@sad.it>
8589 * tabular_funcs.C (write_attribute): changed so that some default
8590 attributes are not written at all.
8591 (getTokenValue): set default values before trying to read the
8592 value so we have the return value always set as default if we don't
8593 find the token we search for.
8595 * tabular.C (Write): write bools as bools not as strings!
8597 2002-02-22 Juergen Vigna <jug@sad.it>
8599 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8600 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8602 * text.C (leftMargin): don't add an indent for paragraphs inside
8603 tabular cells (fix #208).
8605 2002-02-21 José Matos <jamatos@fep.up.pt>
8607 * tabular.C (docBook): fixed support for long tables.
8609 2002-02-20 Juergen Vigna <jug@sad.it>
8611 * text2.C (getFont): get the drawing font of the Inset if this
8612 paragraph is inside an inset (only important for InsetERT for now).
8614 * buffer.C (insertErtContents): use new lanugage params in ERT
8617 * CutAndPaste.C: commenting out seemingly uneeded code.
8619 2002-02-19 Allan Rae <rae@lyx.org>
8621 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8622 Iterators might be simple to use but they also get invalidated.
8623 (removeAutoInsets): renamed saved cursor tracking variables and added
8624 some comments to clarify what everything does.
8626 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8633 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8634 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8637 * vc-backend.h: remove #include "support/syscall.h"
8641 * converter.C: rearrange #includes in Lars' approved fashion.
8643 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8644 forward declare class Timeout in the header file.
8646 * XFormsView.C: changes due to the above.
8648 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8651 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8652 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8654 2002-02-18 José Matos <jamatos@fep.up.pt>
8656 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8659 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8661 * a lot of small ws changes
8662 * add a lot of using std::XXX
8663 * use std construcs some places where approp.
8664 * use some exisint stuff from lyxfunctional where approp.
8665 * Make file changes to use partial linking (lets test this now...)
8667 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8671 remove #include "support/syscontr.h" as it's redundant. Always has been.
8679 change Systemcalls::System to Systemcalls::Wait and
8680 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8681 No change of functionality, just reflects the stripped down Systemcalls
8684 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8686 * debug.[Ch]: add a GRAPHICS type to the enum.
8688 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8690 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8692 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8695 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8697 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8698 match the changes below.
8700 * text2.C (toggleInset): if there is not editable inset at cursor
8701 position, try to see if cursor is _inside_ a collapsable inset
8704 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8706 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8707 document menu has a nice checkbox
8709 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8711 * lyxlength.C (asLatexString): change PW to output as percent of
8714 * lengthcommon.C: change '%' to 't%'
8716 * lyxfunc.C (dispatch): a few comments from Martin
8718 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8722 * BufferView_pimpl.h:
8723 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8726 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8728 * vspace.C (inPixels): fix compiler warning
8730 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8732 * lyxfunc.C (getStatus): fix status message for disabled commands.
8734 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8736 * BufferView_pimpl.C: fix crash on close buffer
8737 during selection (#227)
8739 2002-01-27 Herbert Voss <voss@lyx.org>
8741 * buffer.C: link old Figure to new graphic inset
8743 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8745 * FontLoader.C (getFontinfo): Change the latex font names in order
8746 to match the names of type1inst.
8748 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8750 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8752 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8755 (remove_files_with_extension): ditto
8756 (remove_file): ditto
8759 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8760 document is smaller than the work area height. Do not initialize
8761 static variables to 0.
8763 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8765 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8767 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8768 LFUN_LAYOUT_PARAGRAPHS.
8770 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8771 tabular. It is possible to provide a possible cell, which will
8772 typically be the actcell from the corresponding insettabular
8774 * lyxfunc.C (getStatus): small cleanup; disable
8775 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8778 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8780 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8782 * paragraph.C (startTeXParParams):
8783 (endTeXParParams): new methods. The LaTeX code to
8784 start/end paragraph formatting
8785 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8786 empty (fixes bug #200)
8788 * vspace.C (inPixels): adapt to the change below
8789 (inPixels): [later] more cleanups (remove unused variables)
8791 * lyxlength.C (inPixels): change to use a width and a height as
8794 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8796 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8797 Replaced with \paperwidth
8799 * DepTable.C (insert): add std:: qualifier
8801 2002-01-18 Allan Rae <rae@lyx.org>
8803 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8806 * text.C (drawInset): Turned out I didn't know enough about how
8807 rebreaking worked. This fixes most of the redraw problems. I see
8808 an occasional cursor trail when a line is broken now and the cursor
8809 placement can seem out by a few pixels also after a rebreak.
8811 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * buffer.C (parseSingleLyXformat2Token): update because minipage
8814 width is now a LyXLength
8816 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8818 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8821 2002-01-17 Juergen Vigna <jug@sad.it>
8823 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8825 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8826 is set correctly and the inset is updated correctly.
8828 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8830 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8831 the beginning of the loop.
8833 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8835 * lyxrc.C: improve help for use_scalable_fonts
8837 2002-01-17 Allan Rae <rae@lyx.org>
8839 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8841 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8843 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8844 make sure to set their inset_owner to the right value (bug #171)
8846 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8849 * DepTable.C: Implement mtime checking to reduce time spent doing
8852 2002-01-16 Juergen Vigna <jug@sad.it>
8854 * tabular.C (GetAdditionalHeight): one of error fixed.
8856 * lyxrc.C (output): small fix in writing use_pspell.
8858 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8860 * sp_base.h: #include LString.h
8862 2002-01-16 Allan Rae <rae@lyx.org>
8864 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8865 Can someone check this please?
8867 * text.C (drawInset): It was possible that p.row would be removed by
8868 breakAgainOneRow upsetting a few other settings. There may be another
8869 small tweak possible by setting need_break_row = 0 when p.row has been
8870 removed but I don't know enough about the logic here.
8872 2002-01-15 Allan Rae <rae@lyx.org>
8874 * text.C (insertChar): removed conditional truism.
8876 * BufferView2.C (removeAutoInsets): More tweaks.
8877 cur_par_prev could be a stray pointer. Check for trailing empty line
8878 in case last line was cur_par and only had an error inset on it.
8880 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8882 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8885 * vc-backend.C (most methods):
8886 * exporter.C (Export):
8887 * converter.C (convert):
8889 * LyXSendto.C (SendtoApplyCB):
8890 * lyxfunc.C (dispatch):
8894 * lyx_cb.C (AutoSave):
8896 * BufferView_pimpl.C (MenuInsertLyXFile):
8897 * buffer.C (runChktex): use Buffer::filePath().
8899 * buffer.h: rename filename to filename_; rename filepath to
8900 filepath_ and make it private
8901 (filePath): new method
8903 * buffer.C (writeFile): use fileName()
8906 * lyx_main.C (init): fix starting of LyX when the binary is a
8907 link from so,ewhere else.
8909 * minibuffer.C: include <cctype> for isprint
8911 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8913 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8914 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8915 name clash with InsetCollapsable's width function.
8917 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8919 * lastfiles.C: include <iterator>
8921 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8923 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8926 * buffer.C (makeLaTeXFile): ditto.
8927 Also make loop operation more transparent.
8929 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8931 * ToolbarDefaults.C: remove trailing comma closing namespace.
8933 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8935 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8938 * trans.C (Load): comment out unused variable, allowed.
8940 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8942 * minibuffer.[Ch] (append_char): new method to recieve input from the
8943 drop-down completion browser. If a key was pressed, then recieve this
8944 char and append it to the existing string.
8945 (peek_event): modify the positioning data passed to the completion
8946 browser so that it can be placed above the minibuffer rather than below.
8947 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * LyXAction.C (init): alloe error-next for readonly documents.
8951 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8954 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8956 * bufferlist.C (readFile): create the buffer _after_ checking that
8959 * lyxfunc.C (verboseDispatch): fix handling of arguments
8961 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8963 * lyxrc.C: use string::erase() instead of initializing to "".
8966 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8968 * BufferView_pimpl.h:
8969 * BufferView_pimpl.C:
8972 * text2.C: tell X when we have made a selection for copying
8974 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8976 * BufferView_pimpl.C (MenuInsertLyXFile):
8977 * lyxfunc.C (menuNew):
8979 (doImport): add shortcuts to directory buttons
8981 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8984 * lyxfunc.C (setStatusMessage):
8985 (getStatusMessage): new methods
8986 (getStatus):use setStatusMessage instead of setErrorMessage
8987 (dispatch): when function is disabled, set error message here
8988 [instead of in getStatus previously]
8990 * BufferView_pimpl.C (workAreaButtonRelease): update
8991 toolbar/menubar here too.
8993 2002-01-13 Allan Rae <rae@lyx.org>
8995 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8996 Now seems indestructible. Remaining task is to audit all other
8997 code affected by deleteEmptyParagraphMechanism. One small quirk
8998 left is that an empty document with an error in the preamble can
8999 be made to report an error but no error box appears. I don't know
9001 (removeAutoInsets): Improved comments.
9003 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9006 * Thesaurus.C: update for Aiksaurus 0.14
9008 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9010 * text2.C (firstParagraph): removed member function, all uses
9011 replaces with ownerParagraph
9012 (redoParagraphs): here
9014 (toggleAppendix): here
9015 * BufferView2.C (insertErrors): here
9016 (setCursorFromRow): here
9018 2002-01-13 Allan Rae <rae@lyx.org>
9020 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9021 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9022 There is still a way to segfault this although you may have to do this
9023 multiple times: Have an InsetERT with an unknown command in it.
9024 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9025 <down-arrow>, <Enter> again, View->DVI, BANG!
9027 * text2.C (setCursor):
9028 (deleteEmptyParagraphMechanism):
9029 * lyxtext.h (setCursor):
9030 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9031 Making use of the return value may help fix other bugs.
9033 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9037 * LyXView.C (updateMenubar): call MenuBar::update here
9038 (updateToolbar): but not here
9039 (showState): do not update toolbar/menubar
9041 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9042 should need to care about that.
9044 * lyxfunc.C (verboseDispatch): simplify a bit
9045 (getStatus): have a version which takes a pseudoaction, and
9046 another which requires a (kb_action,string).
9048 * LyXAction.C (retrieveActionArg): make it work also when action
9049 is not a pseudo-action.
9050 (getActionName): simplify a bit
9053 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * lyxfunc.C (verboseDispatch): new families of methods with
9056 several ways to specify a command and a bool to indicate whether
9057 the command name and shortcut should be displayed in minibuffer
9058 (eventually, we could extend that to a finer bitmask like
9059 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9060 (dispatch): the pristine dispatch command which just, well,
9061 dispatchs! Note it still sets its result to minibuffer; I'm not
9064 * lyxfunc.h: remove setHintMessage
9066 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9068 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * BufferView_pimpl.C (specialChar): delete new inset if we have
9071 not been able to insert it.
9073 * kbmap.C: revert to using int instead of kb_action, since all we
9074 are dealing with is pseudo-actions.
9076 * LyXAction.C (searchActionArg): change to return int instead of
9077 kb_action, since the result is a pseudoaction.
9079 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9081 * buffer.C (insertErtContents): Fix (partially) the font bug.
9083 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9085 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9086 as the other one is broken on my machine!
9088 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9091 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9093 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9095 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9096 reflect their actual use. Provide compatibility code for older lyxrc
9099 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9101 change names of popup font variables in line with the changes to lyxrc.C
9103 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9105 * buffer.C (asciiParagraph): avoid outputing a word twice after
9108 * lyxrc.C (getDescription): document that document_path and
9109 template_path can be empty.
9111 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9113 * LaTeXFeatures.C (getMacros):
9114 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9116 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9118 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9120 (getPackages): rename feature "floats" to "float". Use an array to
9121 iterate over 'simple' features (i.e. just a \usepackage). Add
9122 handling of "amsmath" (renamed from "amsstyle").
9124 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9126 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9129 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9131 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9132 FuncStaus::FuncStatus & FuncStaus::some_method().
9134 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9136 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9137 of the func_satus stuff. Edited and massaged in various ways by
9140 * lyxfunc.C (getStatus): use FuncStatus
9142 2002-01-08 Juergen Vigna <jug@sad.it>
9144 * text.C (nextBreakPoint): use function Inset::isChar().
9146 * paragraph.C (TeXOnePar): use function
9147 Inset::forceDefaultParagraphs.
9149 * buffer.C (latexParagraphs): use function
9150 Inset::forceDefaultParagraphs.
9152 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9154 * lyx_gui.C (init): set the style of the menu popups to
9155 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9157 2002-01-07 Juergen Vigna <jug@sad.it>
9159 * text.C (setHeightOfRow): small fix
9160 (prepareToPrint): don't look at alignment if we don't have the place
9163 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9165 * box.C: New file. Move the Box methods and functions out of box.h,
9166 following Lars' suggestion.
9168 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9170 * box.h: #include "support/LOstream.h", needed for inlined function.
9173 * lyxtextclasslist.C: added some using std declarations.
9175 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9177 * box.h: make signed dimensions to allow insets wider than
9178 the screen (bug #162)
9180 * BufferView_pimpl.C: add some insetHit debug
9182 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9184 * vc-backend.C: add FIXME
9186 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9188 * lyxfunc.C (getStatus): enable code for showing math font status
9191 2002-01-07 Juergen Vigna <jug@sad.it>
9193 * text.C (nextBreakPoint): removed debug output not needed anymore.
9195 2002-01-06 Juergen Vigna <jug@sad.it>
9197 * text.C (nextBreakPoint): fixed up this function we had this bug
9198 since ever but now hopefully we break row better.
9199 (insertChar): we have to check if an inset is the next char as it
9200 could now happen that a large inset is causing a break.
9202 2002-01-05 Juergen Vigna <jug@sad.it>
9204 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9205 if it doesn't like to be drawed.
9207 2002-01-04 Juergen Vigna <jug@sad.it>
9209 * BufferView2.C (lockInset): forgot to set a cursor.
9211 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9213 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9218 * form_maths_panel.C:
9219 * form_maths_panel.h:
9220 * form_maths_panel.fd: implemented sub- and super- buttons in math
9223 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9224 (or ^ space) to be used as in TeX (req'd by André).
9226 * lyxfunc.C: Allow ^ and _ again to be used both as
9227 super/subscript (mathed) and as themselves (in text).
9229 2002-01-03 Allan Rae <rae@lyx.org>
9231 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9232 "LyX" or the filename of the current buffer if it has one. This is a
9233 modified form of John Levon's patch.
9235 * XFormsView.C (setWindowTitle): also set icon title.
9237 * LyXView.h (setWindowTitle): signature changed.
9238 * XFormsView.h (setWindowTitle): ditto.
9240 2002-01-02 Juergen Vigna <jug@sad.it>
9242 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9244 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * screen.C (topCursorVisible): introduce a temp var for
9247 text->cursor.row(), handle the case where this row is null. (kindo
9250 * text2.C (setCursor): add a couple of asserts.
9252 * paragraph.h (inset_iterator): add -> operator
9254 * paragraph.[Ch] (autoDeleteInsets): remove member function
9256 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9257 cursor pos correctly and handle inset deletion by itself.
9258 (insertErrors): move iterator declaration out of for expression
9260 * lyxtextclass.C: add <algorithm>
9262 * Makefile.am: added the new files to sources, removed layout.C
9264 * layout.C: removed file
9266 * layout.h: remove LYX_DUMMY_LAYOUT
9268 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9272 * lyxtextclass.[Ch]:
9273 * lyxtextclasslist.[Ch]: new files
9275 * include order changes to a lot of files, also changes because of
9278 2001-12-27 Juergen Vigna <jug@sad.it>
9280 * buffer.C (asciiParagraph): more fixes.
9282 * tabular.C (ascii): make ascii export support export of only the
9283 data separated by a column-delimiter.
9284 (ascii): better support for ascii export.
9286 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9288 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9290 * tabular_funcs.C: use a "using std::getline" instead of the
9291 previous fix from Angus (necessary for cxx + lyxstring)
9293 2001-12-24 Juergen Vigna <jug@sad.it>
9295 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9297 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9298 problems. First check a minipage also if we have some ert-contents
9299 (not only on par->size(), second set the right depth of the paragraph
9300 on the relink to the root-paragraph-list!
9302 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9303 which then did not anymore update the main paragraphs on undo/redo!
9305 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9307 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9308 code. Support all font-changing funcs (even those which are not in
9309 menu currently). Support for reporting font settings in
9310 mathed (disabled until Andre provides a function on mathed's side).
9312 * func_status.h (toggle): small helper function to set toggle
9315 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9317 * tabular_funcs.C: getline -> std::getline
9319 2001-12-21 Juergen Vigna <jug@sad.it>
9321 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9322 accessed and could be 0 (I couldn't generate this but it seems
9325 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9327 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9328 * tabular_funcs.h: here and include iosfwd
9330 2001-12-20 Juergen Vigna <jug@sad.it>
9332 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9333 inside inset but undo_par was.
9335 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * Thesaurus.C: always include <config.h> in sources.
9341 * box.h: do not include <config.h> in header files
9343 * text.C (paintLastRow): remove unused variable
9345 * text.C (transformChar):
9347 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9350 * font.C (width): rewrite to use uppercase() instead of
9353 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9355 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9357 * lyxfind.C: clean up of find failure position change
9359 2001-12-20 Juergen Vigna <jug@sad.it>
9361 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9363 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9364 (TeXRow): added to LaTeX a single tabular row.
9365 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9366 (Latex): simplified and finally good LT-h/f support.
9367 (various_functions): just small adaptions for LT-h/f support.
9369 * tabular_funcs.[hC]: added and moved here all not classfunctions
9372 2001-12-19 Juergen Vigna <jug@sad.it>
9374 * tabular.[Ch]: better support for longtabular options (not finished
9377 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9379 * text.C (paintLastRow): use the label font instead of the font of
9380 the last character to compute the size of *_BOX. This makes more
9381 sense and avoids a crash with empty paragraphs.
9382 Use Painter::rectangle to draw EMPTY_BOX.
9384 2001-12-19 Juergen Vigna <jug@sad.it>
9386 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9387 the paragraphs if the replaced paragraph is not the first one!
9388 Tried to delete not used paragraphs but does not work yet so for
9389 now it's inside #ifdef's and by default off!
9391 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * MenuBackend.C: include "lyx_main.h" instead of declaring
9394 lastfiles (actually was declared as LastFiles* instead of a
9397 2001-12-17 Juergen Vigna <jug@sad.it>
9399 * tabular.C (AppendColumn): applied John's fix
9401 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9405 * BufferView_pimpl.h:
9406 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9409 * box.h: new start of class for above
9411 * lyxfunc.C: ignore space-only minibuffer dispatches.
9412 Show the command name when it doesn't exist
9414 * minibuffer.C: don't add empty lines to the history
9416 * minibuffer.C: add a space on dropdown completion
9418 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9420 * text.C: fix line above/below drawing in insets
9422 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9424 * lyxlength.C (LyXLength): Initialize private variables.
9426 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9428 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9429 when inserting error insets.
9431 2001-12-13 Juergen Vigna <jug@sad.it>
9433 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9434 actually sometimes the before-paragraph.
9435 (setUndo): don't clear the redostack if we're not actually undoing!
9437 2001-12-06 Juergen Vigna <jug@sad.it>
9439 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9440 and fixed redoing of main paragraph, so we can use it now ;)
9442 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9444 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9446 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9449 2001-12-13 André Pönitz <poenitz@gmx.net>
9452 * undo_func.C: minor cleanup
9454 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9456 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9457 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9458 font in urw-fonts package which is marked as -urw-fontspecific and
9459 does not work (incidentally, changing the encoding in the
9460 fonts.dir of this package to -adobe-fontspecific fixes the
9463 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9464 is a crash when undoing first paragraph (Juergen, please take a
9465 look). THis does not mean the undo fix is wrong, just that it
9468 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9469 the (Paragraph*) version when needed instead of duplicating the
9472 * text.C (workWidth): use Inset::parOwner to find out where the
9473 inset has been inserted. This is a huge performance gain for large
9474 documents with lots of insets. If Inset::parOwner is not set, fall
9475 back on the brute force method
9477 * paragraph_pimpl.C (insertInset):
9478 * paragraph.C (Paragraph):
9479 (cutIntoMinibuffer): set parOwner of insets when
9480 inserting/removing them
9482 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9484 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9490 * mathed/formulabase.C:
9491 * mathed/math_cursor.[Ch]:
9492 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9495 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * lyxlength.[Ch] (operator!=): new function
9499 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9501 * text.C (workWidth): use Inset::parOwner to find out where the
9502 inset has been inserted. This is a huge performance gain for large
9503 documents with lots of insets. If Inset::parOwner is not set, fall
9504 back on the brute force method
9506 * paragraph_pimpl.C (insertInset):
9507 * paragraph.C (Paragraph):
9508 (cutIntoMinibuffer): set parOwner of insets when
9509 inserting/removing them
9511 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9513 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9515 * tabular-old.C (getTokenValue):
9516 * tabular.C (getTokenValue):
9517 (write_attribute): new versions for LyXLength
9518 (everywhere): adjust the use of widths
9520 * tabular.h: change the type of widths from string to LyXLength
9522 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9524 * paragraph.C: fixed missing line number count when exporting
9525 Environments to LaTeX file
9527 * buffer.C: added informational message for checking line numbers.
9529 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9531 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9532 paragraph, do the 'double space' part, but not the 'empty
9535 * text.C (workWidth): small optimization
9536 (getLengthMarkerHeight): use minimal size for negative lengths.
9538 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9540 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9542 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9544 2001-12-11 André Pönitz <poenitz@gmx.net>
9547 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9549 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9551 * text2.C: keep selection on a setFont()
9553 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9555 * lyx_cb.C: another bv->text misuse, from insert label
9557 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9560 * kbsequence.C: re-instate nmodifier mask
9562 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9564 * lyx_main.h: make lyxGUI private.
9566 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9568 * lyxfind.C: place the cursor correctly on failed search
9570 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9572 * text.C (getLengthMarkerHeight): for small heights, the arrows
9573 are not always on top/bottom of the text
9574 (drawLengthMarker): smaller arrows; take the left margin in
9575 account; draw also vfills.
9577 (paintLastRow): remove special code for vfill and standard spaces,
9578 since everything is handled in drawLengthMarker now.
9580 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9582 * buffer.C (insertErtContents): try to handle font and language
9583 interaction a bit better.g
9585 * ColorHandler.C (updateColor): change the hash to cover the whole
9586 LColor enum, ws cleanup
9587 (getGCLinepars): ditto
9588 (getGCLinepars): only lookup in the linecache once.
9590 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9592 * iterators.C (operator++): Make the iterator more robust
9594 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9598 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9601 * text.C: better added space drawing
9603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9606 * BufferView2.C: fix layout combo update on inset unlock
9608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9610 * Makefile.am: don't compile unused files
9612 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9616 * LyXAction.C: remove old LFUN_LAYOUTNO
9618 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9620 * paragraph_pimpl.h:
9621 * paragraph_pimpl.C: isTextAt() doesn't need font param
9623 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9626 * lyxlex.C: little cleanup
9628 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9630 * BufferView_pimpl.C: fix insertAscii for insets
9632 2001-12-05 Juergen Vigna <jug@sad.it>
9634 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9635 set the right font on the "multi" paragraph paste!
9637 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9643 * lyxlength.C: remove out-commented code.
9659 * vc-backend.C: change "while(" to "while ("
9661 * lyxlength.[Ch]: add zero function to check if length is zero or
9663 * lyxgluelength.C: use it
9665 2001-12-05 Allan Rae <rae@lyx.org>
9667 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9668 Works for 2.95.3, from what I understand of Garst's reports this should
9669 work for other g++ versions. We're screwed if the abs(int) definition
9670 changed between bugfix releases of gcc.
9672 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9674 * text.C: fix chapter label offset !
9676 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9679 * text.C: fix hfill at end of line, clean up
9681 2001-12-04 Juergen Vigna <jug@sad.it>
9683 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9684 that we force an update of the inset and it's owners if neccessary.
9686 2001-12-03 Juergen Vigna <jug@sad.it>
9688 * text.C (rowLast): simplified code
9690 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9692 * lyxfunc.C: fix show options on timeout
9694 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9696 * screen.C (topCursorVisible): scroll half a page when the cursor
9697 reached top of bottom of screen
9699 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9701 * minibuffer.C: deactivate on loss of focus
9703 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9705 * vspace.[Ch] (operator!=): add operator.
9707 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9709 * BufferView_pimpl.C: refuse to open an inset when
9710 there's a selection.
9712 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9714 * BufferView_pimpl.C: allow to click on RHS of full row insets
9716 2001-11-30 Juergen Vigna <jug@sad.it>
9718 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9719 insets for undo reasons.
9721 2001-11-28 André Pönitz <poenitz@gmx.net>
9723 * vspace.[Ch]: cosmetical changes
9725 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9735 * kbsequence.C: part re-write of old kb code
9738 * WorkArea.C: remove Lgb_bug_find_hack
9740 2001-11-30 José Matos <jamatos@fep.up.pt>
9742 * buffer.C (makeDocBookFile): add a comment to point a hack.
9743 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9744 Fixed a double write of labels.
9746 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9749 * LaTeX.h Fixed bug in LaTeX class where it would not
9750 re-run latex if no depfiles were changed, but the .dvi was removed.
9752 2001-11-28 André Pönitz <poenitz@gmx.net>
9754 * all the files from the change on 2001/11/26:
9755 use lyx::layout_type instead of LyXTextClass::size_type
9756 use lyx::textclass_type instead of LyXTextClassList::size_type
9758 2001-11-29 Juergen Vigna <jug@sad.it>
9760 * text.C: added support for paragraph::isFreeSpacing()
9762 * buffer.C: same as above
9764 * paragraph.h: inserted isFreeSpacing() function to enable
9765 FreeSpacing inside InsetERT.
9767 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9768 of the paragraph's in the cut/copy buffer to 0!
9770 * text2.C (removeRow): remove the assert as it can!
9772 * lyxtext.h: added helper function firstRow returning firstrow and
9773 made firstrow private again.
9775 * BufferView2.C (lockInset): don't relock if we're already locked!
9777 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9779 (removeRow): added Assert::(firstrow)
9781 * debug.C: forgot to add INSETTEXT here.
9783 2001-11-28 Juergen Vigna <jug@sad.it>
9785 * sp_spell.C (initialize): changed error text to more general
9786 spellchecker command use (not only ispell!)
9788 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9790 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9792 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9794 * vspace.C: initialise lyxgluelength on failure
9796 2001-11-28 Allan Rae <rae@lyx.org>
9798 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9799 declaration & definition that looks like a function declaration.
9801 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9803 * BufferView2.C (copy):
9804 (copyEnvironment): do not clear the selection when doing a copy.
9806 * text.C (paintFirstRow): compilation fix
9808 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9810 * tabular.C (Latex): correct line count when writing latex.
9812 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9814 * paragraph_pimpl.h:
9815 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9818 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9822 * LColor.C: change vfillline->added_space
9824 * text.C: add markers and text for added space
9826 * vspace.C: fix comment
9828 2001-11-28 André Pönitz <poenitz@gmx.net>
9830 * paragraph.C: whitespace changes
9831 * all the other files from the change on 2001/11/26:
9832 change *::pos_type into lyx::pos_type
9834 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9836 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9837 language of the document when inserting error insets.
9839 2001-11-26 André Pönitz <poenitz@gmx.net>
9841 * BufferView_pimpl.[Ch]:
9849 * paragraph_pimpl.[Ch]:
9852 * text2.C: reduce header dependencies, introduce type for positions
9854 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9856 * <various>: change to use Alert.h
9858 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9860 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9861 when encountering an unknown token.
9862 (readLyXformat2): Show an error message if there were unknown tokens.
9864 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9867 * BufferView_pimpl.C:
9871 * text2.C: use par->isInset()
9873 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9875 * paragraph_pimpl.h:
9876 * paragraph_pimpl.C: cleanup
9878 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9880 * text2.C (removeRow):
9881 * text.C (setHeightOfRow): remove useless (and costly) call to
9884 2001-11-20 Allan Rae <rae@lyx.org>
9886 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9887 Now need Inset*::checkInsertChar() to return true for appropriate
9888 cases so that the characters in the minibuffer will actually be
9891 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * text.C: change the order of the includes.
9894 (workWidth): initialize it at once.
9895 (workWidth): make maxw unsigned
9896 (setHeightOfRow): remove unused variable (inset)
9897 (selectSelectedWord): remove unused variable (inset)
9898 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9900 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9902 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9903 server is not running.
9905 (closeConnection): add debug info when server is disabled.
9907 * ColorHandler.C (getGCForeground): send debug message to GUI
9910 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9912 * kbmap.C (bind): modify because return conventions of
9913 kb_sequence::parse have changed.
9915 * kbsequence.C (parse): only ignore spaces and not any stupid
9916 control character. This avoids tests like s[i] <= ' ', which are
9917 guaranteed to fail with 8bit characters and signed chars.
9918 Change return code to string::npos when there have been no error
9919 (0 was a bad idea when error is at first character)
9921 2001-11-14 José Matos <jamatos@fep.up.pt>
9924 * buffer.C (simpleDocBookOnePar): removed unused argument.
9926 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9929 insets which are part of a word. Paragraph::isLetter takes care of
9930 that now. Use Paragraph::isInset to identify insets.
9931 (selectSelectedWord): do not test for hyphenation break.
9933 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9934 that protected spaces are considered as spaces.
9936 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9939 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9942 * lyxserver.C: fix it. and small cleanup.
9944 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView_pimpl.C: use inline helpers
9949 * LaTeXFeatures.C: fix typos
9952 * Spacing.C: move spacing_string into class
9954 * ToolbarDefaults.C: move stuff into namespace anon
9956 * layout.h: update enum
9958 * lyxfunc.C: use better debug
9960 * minibuffer.h: fix typo
9964 * WorkArea.C: add and use Debug::WORKAREA
9968 * text2.C: code re-organisation, inline helpers
9970 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9972 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9973 std::vector.empty().
9975 2001-11-09 Allan Rae <rae@lyx.org>
9977 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9978 '\n's after tables. Tabular and ERT inset work now makes this no
9981 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9984 * minibuffer.C: fix crash, improve drop-down completion
9986 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9989 * lyxserver.C: invalidate fd's when doing endPipe()
9991 2001-11-08 José Matos <jamatos@fep.up.pt>
9993 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9994 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9997 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9999 2001-11-07 José Matos <jamatos@fep.up.pt>
10002 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10005 * buffer.C (sgmlOpenTag):
10006 * buffer.C (sgmlCloseTag): removed debug info.
10008 * buffer.h (sgmlOpenTag):
10009 * buffer.h (sgmlCloseTag): made public.
10011 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10013 * buffer.C (saveParamsAsDefaults):
10014 * lyx_cb.C (MenuLayoutSave): remove
10016 * LyXAction.C (init):
10018 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10020 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10022 * buffer.C (setPaperStuff): removed from here...
10024 * bufferparams.C (setPaperStuff): ... and moved there.
10026 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10030 * XFormsView.C: add support for drop-down completion
10032 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10034 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10037 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10039 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10042 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10044 * lyx_main.C: change ref to known bugs
10046 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10048 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10049 to work around older babel problems.
10051 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10053 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10055 2001-10-24 Juergen Vigna <jug@sad.it>
10057 * tabular-old.C (ReadOld): below variable changes reflected.
10059 * tabular.[Ch]: added ltType struct for longtable header/footer
10060 defines and changed all instances where they are used. Added
10061 future support for double top/bottom rows.
10063 2001-10-24 José Matos <jamatos@fep.up.pt>
10065 * buffer.h (docbookHandleCaption):
10066 * buffer.C (docbookHandleCaption): removed unused function.
10067 (makeDocBookFile): moved docbook supported version to v4.1.
10069 2001-10-24 José Matos <jamatos@fep.up.pt>
10072 * tabular.C (docbookRow): new function to export docbook code of a row.
10073 (DocBook): now honors the longtable flags.
10075 2001-10-23 José Matos <jamatos@fep.up.pt>
10078 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10079 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10081 * buffer.C (makeLinuxDocFile):
10082 (makeDocBookFile): reworked the preamble, more clean, and with
10083 support for lyx defined entities. Changed the document declaration
10084 to be more XML friendly.
10086 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10087 if we need to output XML that should be done with a filter.
10089 2001-10-22 Juergen Vigna <jug@sad.it>
10091 * sp_pspell.h (class PSpell): add alive function needed in the
10092 controller to see if the spellchecker could be started.
10094 2001-10-22 Juergen Vigna <jug@sad.it>
10096 * buffer.C (insertStringAsLines): modify the font for inserting
10097 chars in certain conditions by calling checkInsertChar(font).
10099 2001-10-19 Juergen Vigna <jug@sad.it>
10101 * text.C (workWidth): use getRow instead of wrong algorithm.
10102 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10104 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10109 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10111 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10113 * text.C (workWidth): do not search for the exact row when
10114 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10115 optimization for big documents.
10117 2001-10-18 Juergen Vigna <jug@sad.it>
10119 * text.C (workWidth): new function with added Inset * parameter.
10121 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10123 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10125 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10126 change return type of getColumnNearX.
10129 * text.C (changeRegionCase): use uppercase/lowercase instead of
10132 (rightMargin): simplify code by factoring out the uses of
10137 (appendParagraph): use Paragraph::size_type
10139 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10141 * vspace.C (asLatexString): add a missing break
10143 2001-10-15 Herbert Voss <voss@perce.de>
10145 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10147 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10149 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10152 2001-10-10 André Pönitz <poenitz@gmx.net>
10154 * lyxfunc.C: removed greek_kb_flag.
10156 2001-10-10 Herbert Voss <voss@perce.de>
10158 * lyx_main.C: delete global string help_lyxdir.
10160 2001-10-09 Herbert Voss <voss@perce.de>
10162 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10164 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10166 * lyx_main.C: added global string help_lyxdir.
10168 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10170 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10172 * lyxrc.C (set_font_norm_type): support iso8859-4
10174 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10176 * LaTeX.C (deplog): add another regex for MikTeX
10178 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10180 * lyxrc.C (set_font_norm_type): support iso8859-3
10182 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10186 * LaTeXFeatures.C: remove special case of french and index
10188 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10189 before \begin{document}). This solves several incompatibilities.
10191 2001-10-03 Garst Reese <reese@isn.net>
10193 * lyx_cb.C: change CheckTex error msg.
10195 2001-10-03 José Matos <jamatos@fep.up.pt>
10197 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10199 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10201 * .cvsignore: update
10203 * lyx_main.C (commandLineVersionInfo): use new style version info.
10205 * buffer.C (writeFile):
10207 (makeLinuxDocFile):
10208 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10210 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10212 * version.h: update to use stuff in version.C
10214 * version.C.in: new file. Contains version information determined
10215 at compile time. This is a merging of version.h and
10218 2001-10-03 Juergen Vigna <jug@sad.it>
10220 * BufferView_pimpl.C (update): don't change "dirty" status in
10223 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10225 * WorkArea.C (c-tor): re-position version string slightly.
10227 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10229 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10230 revert to previous code.
10232 WorkArea.[Ch]: (show, destroySplash): methods removed.
10234 WorkArea.C: rework code so that it's an amalgam of the codes before and
10235 after the splash screen was moved to WorkArea.
10237 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * vspace.C (inPixels):
10243 * buffer.C (insertStringAsLines):
10244 (asciiParagraph): fix types to be large enough
10246 * lyxlex_pimpl.h: change member status from short to int
10248 * layout.h: fix type of endlabeltype
10251 * kbsequence.C (parse): change return type to string::size_type
10253 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10256 * Bullet.C (bulletSize):
10257 (bulletEntry): do not use short ints as parameters
10259 * BufferView2.C (insertLyXFile): change a char to an int.
10261 * WorkArea.C (WorkArea): remove unneeded floats in computation
10263 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10265 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10267 * paragraph.C (asString): Do not ignore newline/hfill chars when
10268 copying to the clipboard.
10270 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10272 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10273 after a multi-line inset.
10275 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10277 * paragraph.C (validate): Set NeedLyXFootnoteCode
10279 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10281 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10282 and decrease-error to decrease.
10284 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10286 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10287 it more readable (should be equivalent)
10289 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10291 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10293 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10295 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10296 of a cursor (row, etc.) after a character has been deleted
10297 (deleteEmptyParagraphMechanism): call the method above on _all_
10298 cursors held by the LyXText when a double space has been
10301 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10303 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10305 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10307 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10308 background. Use greyOut() and the new show() methods to toggle between
10309 the foreground and background. Add code to remove the splash after
10310 its initial showing.
10312 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10313 (create_forms): no longer call Dialogs::showSplash.
10315 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10317 * .cvsignore: add version_info.h
10319 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10321 * version_info.h.in: new file
10323 * Makefile.am: add version_info.h.in
10325 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10326 version_info.h instead of VERSION_INFO
10328 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10330 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10331 The ERT inset now returns string().
10333 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10335 * lyxtext.h, text.C (selectNextWord): renamed as
10336 selectNextWordToSpellcheck.
10338 * text.C (selectNextWordToSpellcheck): Modified to not select
10339 words inside an ERT inset.
10341 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10343 * lyx_cb.C (MenuLayoutSave): change a bit the question
10345 * sp_base.h: include <sys/types.h>
10347 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10349 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10351 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10353 * several files: fix typos in user-visible strings
10355 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10357 * text2.C (pasteSelection): do not set the selection, since it
10358 will be cleared later. Actually, the intent was to fix the way the
10359 selection was set, but I figured rmoving the code was just as good.
10361 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10363 * FontLoader.C (available): Check if font is available without
10366 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10368 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10370 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10372 * lyxrc.[Ch]: added display_graphics variable and associated code.
10374 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * bufferparams.C (hasClassDefaults): new method. Returns true if
10377 the buffer parameters correspond to known class defaults
10379 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10381 * XFormsView.C (show): set minimum size to the main window.
10383 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * text2.C (copySelection):
10387 * lyxfind.C (LyXReplace):
10388 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10389 LyXText::selectionAsString.
10391 * paragraph.C (asString): add "label" argument to the second form
10393 * text2.C (selectionAsString): add "label" argument and pass it to
10394 Paragraph::asString.
10396 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10398 * lyx_main.C (commandLineHelp): remove version information
10400 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10402 * lyx_main.C: add -version commandline option
10404 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10406 * paragraph.h: make the optional constructor arg required instead.
10407 some modifications to other files because of this.
10409 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10411 * lyxserver.C (C_LyXComm_callback): make it static
10413 * lyx_main.C (error_handler): make it static
10415 * lyx_gui.C (LyX_XErrHandler): make it static
10417 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10419 * WorkArea.C: make the extern "C" methods static.
10421 * Makefile.am (lyx_LDADD): simplify
10423 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10425 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10426 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10428 * LyXAction.C (init):
10429 * lyxfunc.C (dispatch): associated code removal.
10431 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10433 * lyxfont.h (isSymbolFont): shut off warning
10435 * text.C (setHeightOfRow):
10436 (getVisibleRow): fix crash with empty paragraphs which have a
10439 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10441 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10444 2001-09-04 José Matos <jamatos@fep.up.pt>
10447 * tabular.C (docbook): rename docBook method to docbook.
10449 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10451 * Makefile.am: add dependencies to main.o.
10453 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10455 * FontLoader.C (available): Return false if !lyxrc.use_gui
10457 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10459 * FontInfo.C (query):
10460 * converter.C (view):
10461 * importer.C (Import):
10462 * exporter.C (Export): Can not -> cannot.
10464 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10466 * BufferView_pimpl.C: allow to create index inset even if
10469 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10471 * buffer.C (getLists): replace boost::tie code with an explicit pair
10472 as boost::tie can break some compilers.
10474 * iterators.h: Added a std:: declaration to the return type of
10477 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10479 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10482 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10484 * iterators.[Ch]: New files. Provide paragraph iterators.
10486 * buffer.C (changeLanguage): Use paragraph iterators.
10487 (isMultiLingual): ditto
10489 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10491 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10493 * FontLoader.C: Support for cmr font.
10495 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10497 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10498 (available): New method.
10500 * FontInfo.C (getFontname): Use scalable fonts even when
10501 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10504 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10506 * converter.C (Formats::view): reverted! Incorrect fix.
10508 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10510 * converter.C (Formats::view): only output the -paper option
10511 if the dvi viewer is xdvi, thereby fixing bug #233429.
10513 2001-08-23 Herbert Voss <voss@perce>
10515 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10517 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10519 * Spacing.h (Spacing): Set space to Default on in the default
10522 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10524 * vc-backend.h (RCS::versionString): add RCS to version
10525 (CVS::versionString): add CVS to version
10527 * vc-backend.C (scanMaster): do not add CVS to version.
10528 (scanMaster): do not add RCS to version
10530 * lyxvc.C (versionString): new method
10532 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10534 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * Spacing.C (set): initialize fval
10538 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10540 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10543 2001-08-16 Juergen Vigna <jug@sad.it>
10545 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10547 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10549 * BufferView_pimpl.C:
10552 * text2.C: setParagraph takes linespacing now
10554 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10556 * LyxAction.C: add internal LFUN_CITATION_INSERT
10558 * LyXView.C: actually apply fix
10560 * bufferlist.C: fix open non-existent file
10562 * lyxfind.C: fix indentation
10564 * lyxfunc.C: remove unneeded assert, fix typo
10566 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10568 * MenuBackend.C: use "Floatname List"
10570 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10572 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10573 when converting LaTeX layout to insetERT.
10574 Generate a non-collapsed float when reading old float
10576 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10578 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10581 2001-08-13 Juergen Vigna <jug@sad.it>
10583 * text.C (fill): return 0 instead of 20 as this seems to be the more
10586 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10588 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10591 2001-08-13 Juergen Vigna <jug@sad.it>
10593 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10595 (SearchBackward): comment out the unlocking of the inset_owner this
10596 should not be needed!
10598 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10600 * Many files: Remove inherit_language, and add latex_language
10602 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10603 collapsible insets.
10605 2001-08-10 Juergen Vigna <jug@sad.it>
10607 * text.C (prepareToPrint): fixed hfill-width in draw!
10609 * BufferView2.C (selectLastWord): save the selection cursor as this
10610 now is cleared in the function LyXText::clearSelection!
10612 2001-08-08 Juergen Vigna <jug@sad.it>
10614 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10615 BACKSPACE type functions.
10617 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10618 is only cutted from the document but not put in the cut-buffer, where
10619 still the old stuff should be.
10621 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10623 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10625 * tabular.C (SetWidthOfCell): fixed special case where the width
10627 (LeftLine): handle '|' in align_special.
10629 (LeftAlreadyDrawed): ditto
10630 (SetWidthOfCell): ditto
10632 2001-08-07 Juergen Vigna <jug@sad.it>
10634 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10636 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10638 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10639 * lyxlex.[hC]: ditto
10641 2001-08-06 Juergen Vigna <jug@sad.it>
10643 * text.C (getVisibleRow): fix up row clearing a bit.
10645 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10647 * minibuffer.C: make sure the X server sees the changes in the input.
10649 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10651 * paragraph.C (getFont): split into...
10652 (getLabelFont): this
10653 (getLayoutFont): and this
10654 * paragraph_pimpl.C (realizeFont): calling this
10656 * text2.C (getFont): split into...
10657 (getLayoutFont): this
10658 (getLabelFont): and this
10659 (realizeFont): all three calling this
10661 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10664 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10666 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10668 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10670 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10671 layouts from the Quote inset insertion.
10673 2001-08-03 Juergen Vigna <jug@sad.it>
10675 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10677 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10678 only if status not is already CHANGED_IN_DRAW (second level).
10680 * text.C (draw): don't set the need_break_row when inside an
10683 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10685 * buffer.C (parseSingleLyXformat2Token): handle more latex
10688 * bufferview_funcs.[hC]: change function names to
10689 begin with small char, adjust other files.
10691 2001-08-02 André Pönitz <poenitz@gmx.net>
10694 BufferView_pimpl.C: remove broken special code for math-greek
10696 2001-08-02 Juergen Vigna <jug@sad.it>
10698 * BufferView_pimpl.C (update): redone this function so that we
10699 update the text again if there was a CHANGE_IN_DRAW.
10701 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10702 (drawFromTo): added a new internal bool which is used by draw() and
10704 (general): some cursor drawing problems fixed.
10706 2001-08-01 Juergen Vigna <jug@sad.it>
10708 * lyxfind.C (LyXFind): fixed
10709 (SearchForward): ditto
10710 (SearchBackward): ditto
10712 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10713 spurius drawing of the cursor in the main area.
10715 * text2.C (status): small fix which could lead to a segfault!
10716 (clearSelection): remove unneeded BufferView param.
10718 2001-08-01 André Pönitz <poenitz@gmx.net>
10720 * lyxfunc.C: small change due to changed mathed interface
10722 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10724 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10726 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10728 * lyxfunc.c: fail gracefully if file doesn't exist
10733 * BufferView_pimpl.C: IsDirWriteable() proto changed
10735 * LyXView.C: fix updateWindowTitle() to store the last title
10737 2001-07-31 Juergen Vigna <jug@sad.it>
10739 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10740 the font (wrong since using of Paragraph::highestFontInRange).
10742 * paragraph.C (highestFontInRange): added a default_size parameter.
10744 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10745 (setHeightOfRow): reformat
10747 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * converter.[hC] + affected files: move to (inital-char)lowercase
10752 * ParagraphParameters.C (ParagraphParameters): remove commented code
10754 * PainterBase.[Ch]: remove commented code
10756 * LaTeXFeatures.h: add "bool floats" for float.sty
10758 * LaTeXFeatures.C (LaTeXFeatures): init floats
10759 (require): handle float
10760 (getPackages): do it with floats
10762 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10764 * BufferView_pimpl.C (Dispatch): improve handling of
10765 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10767 * commandtags.h: #include lyxfont.h here temporarily to avoid
10770 * bufferlist.h: include LString.h here.
10772 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * text2.C (getStringToIndex): new method.
10776 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10778 * *: Reduced header file dependencies all over.
10780 2001-07-30 Baruch Even <baruch@lyx.org>
10782 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10784 2001-07-29 Baruch Even <baruch@lyx.org>
10786 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10788 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10790 * ParameterStruct.h (endif): add a default constructor to make
10791 sure that all variables is initialized.
10793 * ParagraphParameters.C (ParagraphParameters): adjust
10795 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10797 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10798 index; also, check that there is something to index, and that it
10799 does not span over several paragraphs.
10800 (doubleClick): use WHOLE_WORD_STRICT for double click.
10802 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10804 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10807 2001-07-26 Baruch Even <baruch@lyx.org>
10809 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10810 an InsetFig figure, backwards compatible reading of old figure code.
10812 2001-07-27 Juergen Vigna <jug@sad.it>
10814 * text2.C: font.realize function adaption.
10816 * text.C (draw): add a warnings lyxerr text if needed.
10818 * layout.C: font.realize function adaption.
10820 * language.C: add inherit_language and implement it's handlings
10822 * bufferview_funcs.C (StyleReset): remove language parameter from
10823 font creation (should be language_inherit now).
10825 * bufferparams.C (writeFile): handle ignore_language.
10827 * paragraph.C (getFontSettings): the language has to be resolved
10828 otherwise we have problems in LyXFont!
10830 * lyxfont.C (lyxWriteChanges): added document_language parameter
10831 (update): removed unneeded language parameter
10833 * paragraph.C (validate): fixed wrong output of color-package when
10834 using interface colors for certain fonts in certain environments,
10835 which should not seen as that on the final output.
10837 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10839 * BufferView_pimpl.C:
10844 * LyXAction.C: add thesaurus support
10847 * lyxfind.C: add "once" parameter, for thesaurus, to not
10848 move to the next match
10850 2001-07-26 Juergen Vigna <jug@sad.it>
10852 * lyxfont.C (realize): honor ignore_language too!
10855 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10857 * text.C (draw): one place more for ignore_language to not draw
10860 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10862 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10864 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10866 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10867 the minipage conversion problem.
10869 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10871 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10874 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10876 * BufferView.h: don't forward declare WorkArea
10878 * BufferView.C: don't include WorkArea.h
10880 2001-07-25 André Pönitz <poenitz@gmx.net>
10884 * lyxfunc.C: new LFUN 'math-space'
10886 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10888 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10890 * text2.C (toggleInset): call open/close
10892 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * lyxfunc.C (dispatch): add debug for the disabled case
10896 * font.C (buttonText): make similar to rectText
10898 * buffer.C (readInset): comment out parsing of insetlist and
10901 * PainterBase.C (rectText): small correction
10903 * BufferView_pimpl.C: comment out insettheorem and insetlist
10904 * LyXAction.C: ditto
10905 * commandtags.h: ditto
10907 2001-07-24 Juergen Vigna <jug@sad.it>
10909 * text.C (draw): honor the ignore_language.
10911 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10913 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10915 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10918 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10920 * lyxtext.h: remove unused (and unimplemented) methods
10922 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10924 * text.C (getVisibleRow): honor background color
10927 * Painter.h: remove default color argument for fillRectangle
10929 * text.C (backgroundColor): new method
10931 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10933 * text.C (getVisibleRow): adjust
10935 * font.[Ch] (rectText): new method, metrics
10936 (buttonText): new method, metrics
10938 * PainterBase.[hC]: make rectText and buttonText always draw and take
10941 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10943 * ToolbarDefaults.C (read):
10944 * MenuBackend.C (read): allow escaping in all strings
10946 * BufferView_pimpl.C (insertAndEditInset): new method.
10947 (Dispatch): use insertAndEditInset whenever appropriate.
10949 * BufferView_pimpl.C (insertNote): removed
10951 * BufferView_pimpl.C (smartQuote): new method, moved from
10952 BufferView; if an insetquote cannot be inserted, insert a '"'
10955 * BufferView2.C: remove insertCorrectQuote();
10957 * lyxfunc.C (getStatus): Add support for all remaingin
10958 inset-insert lfuns.
10960 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10962 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10963 command (necessary to pass " as parameter of self-insert.
10965 * text.C (selectWordWhenUnderCursor):
10966 (selectWord): add word_location parameter
10967 (selectWordWhenUnderCursor): same + remove special code for word
10969 (selectNextWord): use kind() to guess type of insetspecialchar,
10972 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10973 (insertErtContents): create ert insets as collapsed.
10974 (readInset): better compatibility code for Info inset.
10976 2001-07-20 Juergen Vigna <jug@sad.it>
10978 * lyxfunc.C (dispatch): use always LyXFind now!
10980 * text2.C (init): add a reinit flag so that the LyXText can be
10981 reinited instead of deleted and reallocated (used in InsetText).
10983 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10989 2001-07-18 Juergen Vigna <jug@sad.it>
10991 * text.C (selectNextWord): handle insets inside inset by calling
10992 always the bv->text functions so that we can go up the_locking_inset!
10994 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10995 in strange locations when inside an inset!
10997 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10998 handling to include insets.
11000 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11002 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11004 * LyXAction.C (init):
11006 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11007 LIGATURE_BREAK, since the name is so stupid.
11009 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11011 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11014 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11016 * sp_form.[Ch]: remove.
11018 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11020 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11023 * src/buffer.C (readInset): ditto.
11025 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11027 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11028 menuSeparator(), endOfSentenceDot(), ldots() and
11029 hyphenationPoint(), which are therefore removed.
11030 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11032 * LyXAction.C (init):
11033 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11035 * paragraph.C (getWord): removed.
11037 * BufferView_pimpl.C (Dispatch): use last word or selection for
11038 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11040 * lyx_main.C (queryUserLyXDir): do not ask before creating
11041 user_dir, except if it has been named explicitely.
11043 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11045 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11046 a document of zero size.
11048 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11050 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11051 approriately in the c-tor and in require().
11052 (getPackages): output the appropriate LaTeX for natbib support.
11054 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11055 variables "use_natbib" and "use_numerical_citations" when reading the
11057 (readInset): read the various natbib cite commands.
11058 (validate): white-space change.
11060 * bufferparams.[Ch]: new variables "bool use_natbib" and
11061 "bool use_numerical_citations".
11062 (writeFile): output them in the LyX file.
11064 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11066 * lyxfunc.C (getStatus): add support for all the inset insertion
11069 * text2.C (insertInset):
11070 * paragraph.C (insetAllowed):
11071 * BufferView_pimpl.C (insertInset): update to take in account the
11072 renaming of insertInsetAllowed
11074 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11076 * text2.C (getInset): new method. returns inset at cursor position.
11078 * BufferView_pimpl.C (Dispatch): changes because of this.
11080 * LyXAction.C (init): rename open-stuff to inset-toggle.
11082 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11084 * text2.C (toggleInset): renamed from openStuff; use
11087 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11089 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11091 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11093 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11095 * buffer.C (readLyXformat2): Add filename to the error dialog
11097 2001-07-18 Juergen Vigna <jug@sad.it>
11099 * tabular.C (GetCellNumber): put an assert here instead of the check!
11101 2001-07-17 Juergen Vigna <jug@sad.it>
11103 * BufferView_pimpl.C (toggleSelection): adapted too.
11105 * text.C (selectNextWord): adapted for use with insets.
11106 (selectSelectedWord): ditto
11108 2001-07-17 Juergen Vigna <jug@sad.it>
11110 * sp_spell.C (PSpell): fix initialitation order.
11112 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11114 * paragraph.C: spacing
11116 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11118 * sp_spell.C: repair language selection for pspell
11120 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11122 * lyxfunc.h: change more methods to begin with lower char.
11124 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11126 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11127 for unknown layouts.
11129 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11131 * buffer.C (readLyXformat2): Generate an error dialog if there are
11134 2001-07-16 Juergen Vigna <jug@sad.it>
11136 * sp_spell.C: always compile ISpell part.
11138 * lyxrc.C: added use_pspell entry and it's handling.
11140 2001-07-13 Juergen Vigna <jug@sad.it>
11142 * sp_spell.C: removed double includes.
11144 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11146 Consistent use of Lsstream.h:
11147 * Lsstream.h: added using std::stringstream for consistencies sake.
11149 * buffer.C: removed using std::stringstream
11151 * lyxfont.C (stateText):
11152 * paragraph.C (asString):
11153 * text.C (selectNextWord, selectSelectedWord):
11154 * text2.C (setCounter):
11155 * vspace.C (asString, asLatexString):
11156 std::ostringstream -> ostringstream.
11158 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11160 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11161 * commandtags.h: add LFUN_HELP_ABOUTLYX
11162 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11164 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11166 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11168 * lyx_gui_misc.C: remove spellchecker
11169 * lyxfunc.C: showSpellchecker
11171 * sp_ispell.h: added
11172 * sp_pspell.h: added
11173 * sp_spell.C: added
11174 * sp_form.[Ch]: removed
11175 * spellchecker.[Ch]: removed
11177 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11179 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11181 (simpleTeXSpecialChars): Simply print the input character without
11182 any special translation if pass_thru is set.
11184 * layout.h: Added bool pass_thru to layout class for being able to
11185 implement pass through of a paragraph for Literate Programming.
11187 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11188 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11189 * layout.C (Read): add "passthru" to list of layout tags and add
11190 code to set the pass_thru boolean when it is read.
11192 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * trans_decl.h: remove allowed from KmodInfo
11196 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11197 remove allowed code
11200 * paragraph_pimpl.C (erase): use boost::prior
11202 * Painter.C (text): use data() instead of c_str() when length is
11204 * WorkArea.C (putClipboard): ditto
11205 * font.h (width): ditto
11207 * BufferView2.C: use it-> instead of (*it). for iterators
11209 * paragraph_pimpl.C: ditto
11210 * paragraph.C: ditto
11211 * minibuffer.C: ditto
11212 * language.C: ditto
11214 * encoding.C: ditto
11215 * counters.C: ditto
11216 * converter.C: ditto
11218 * Variables.C: ditto
11219 * TextCache.C: ditto
11220 * MenuBackend.C: ditto
11221 * LyXAction.C: ditto
11223 * FloatList.C: ditto
11224 * DepTable.C: ditto
11225 * ColorHandler.C (LyXColorHandler): ditto
11227 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11229 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11231 * text2.C (openStuff): reintroduce this method (which had been
11232 nuked in NEW_INSETS frenzy).
11234 * lyxfunc.C (Dispatch): when an action has not been handled, use
11235 its name in the error message, not its number.
11237 * paragraph.C (inInset): change method name to begin with lowercase.
11240 * text2.C: updates because of this.
11242 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11244 * ToolbarDefaults.C (add): add spaces in error message
11246 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11248 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11249 (readLyXformat2): rename return_par to first_par, use lyxlex's
11250 pushToken and remove the manual push handling.
11251 (parseSingleLyXformat2Token): add another ert comp. variable:
11252 in_tabular, rename return_par to first_par. handle newlines better
11254 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11256 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11258 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11260 * text2.C (getParFromID): removed
11262 * buffer.C (getParFromID): new method moved form lyxtext.
11263 * BufferView2.C (insertErrors): adjust
11264 (setCursorFromRow): adjust
11265 * BufferView_pimpl.C (restorePosition): adjust
11266 * lyxfunc.C (Dispatch): adjust
11267 * undo_funcs.C (textUndo): adjust
11269 (textHandleUndo): adjust
11270 (textHandleUndo): adjust
11272 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11274 * buffer.C: up' the LYX_FORMAT
11276 * lyxfont.h: turn NO_LATEX on as default
11278 * buffer.C (insertErtContents): new methods of tex style compability.
11279 (parseSingleLyXformat2Token): use it several places.
11280 * tabular.C (OldFormatRead): and here
11282 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11284 * text2.C: remove some commented code.
11287 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11288 * trans.C: changes because of the above.
11290 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11292 * text2.C (setCounter): Fix counters bug with bibliography layout.
11294 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11296 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11297 own member functions
11298 (simpleTeXSpecialChars): ditto
11300 2001-07-06 Juergen Vigna <jug@sad.it>
11302 * a lot of files: changed the access to LyXText::status and the
11303 call of undo-functions.
11305 * undo.[Ch]: added a inset_id to the undo informations.
11307 * undo_funcs.[Ch]: added and moved here all undo functions.
11309 * lyxtext.h: give the status enum a weight, made status_ a private
11310 variable and made accessor functions for it, removed the whole bunch
11311 of undo-functions as they are now in their own file, make some
11312 functions publically available. Added function ownerParagraph with
11315 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11316 made InInset() a const function, added getParFromID() function.
11318 * buffer.[Ch]: added const version for inset_iterator functions,
11319 added getInsetFromID() function.
11321 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11322 changed undo functions for new version.
11324 2001-07-05 Juergen Vigna <jug@sad.it>
11326 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11327 unknow mechanism does not call the proper constructor but only this
11328 one also if I request the other!?
11330 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11332 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11334 * text2.C (LyXText): use initialization lists.
11336 * lyxtext.h (Selection): initialize set_ and mark_
11337 (init): remove method
11339 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11341 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11343 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * screen.[Ch]: change method names to begin with lowercase
11347 * BufferView_pimpl.C (updateScrollbar): simplify further and
11348 hopefully make it a bit faster.
11350 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11352 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11353 calling directly xforms functions.
11355 * Painter.C (Painter):
11356 * lyx_cb.C (MenuWrite):
11357 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11360 * lyx_gui.C: remove bogus guiruntime extern declaration.
11362 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11364 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11366 (redoDrawingOfParagraph): ditto
11367 (redoParagraphs): ditto
11368 (cutSelection): don't create a object for CutAndPaste use the
11369 static method directly
11370 (pasteSelection): ditto
11372 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11375 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * modifications to some other files because of this.
11379 * Makefile.am (lyx_SOURCES): add XFormsView
11381 * XFormsView.[Ch]: new files
11383 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11384 the main window. Move the gui dependent stuff to XFormsView
11386 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11388 * tabular.C (GetCellInset): update cur_cell also in the row/col
11389 version of this function.
11391 * lyxfunc.C: no need to include figure_form.h here.
11397 * lyxvc.C: no need to include forms.h here.
11399 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11401 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11403 * lyxfunc.C (Dispatch):
11405 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11406 constructor argument.
11408 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11410 * paragraph.C (Paragraph): dont't clear, and just set layout.
11411 (makeSameLayout): use params's copy contructor.
11413 * ParagraphParameters.[Ch] (makeSame): delete method
11415 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11417 * Variables.[Ch]: fix indentation, rename set to isSet
11419 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11421 * lyxfunc.C (Dispatch): fix typo
11423 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11425 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11428 * bufferlist.C: include assert.h for emergencyWrite().
11430 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11432 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11433 give up at last (bug #425202) !
11435 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11441 * spellchecker.C: strip spellchecker options and bring up
11442 preferences tab instead
11444 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11446 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11447 the istringstream constructor
11449 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11451 * paragraph.C (getLayout): fix return value
11453 * paragraph.h: do not declare getLayout as inline.
11455 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11457 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11459 * lyxcursor.h (operator<): new func
11460 (operator>): new func
11461 (operator>=): new func
11462 (operator<=): new func
11464 * text.C (changeCase): use selection.start and selection.end
11465 (changeRegionCase): require from to be <= to. Require par to be a
11468 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11470 2001-06-27 Juergen Vigna <jug@sad.it>
11472 * text.C (cursorLeftOneWord): changed to return the cursor and added
11473 overlay with BufferView * parameter which calls this one.
11475 (selectWord): use new getWord function.
11476 (changeCase): renamed from changeWordCase as and extended to work
11477 also on selections.
11479 * lyxtext.h: added enum word_location
11481 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11482 changeCase as this operates now also on selections.
11484 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11486 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11488 * many files: send debug output to Debug::INFO instead of
11491 * converter.C (View):
11493 (Move): send debug output to Debug::FILES instead of console.
11495 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11497 * lyxfunc.C (getStatus): use func_status
11499 * func_status.h: new header, describing the results of
11500 LyXFunc::getStatus;
11502 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11505 2001-06-25 The LyX Project <jug@sad.it>
11507 * buffer.C (sgmlOpenTag):
11509 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11511 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * text2.C: remove some dead code
11515 * tabular.C (GetCellInset): store the last cell checked (gotten)
11517 * tabular.h: add the helper for the speedup
11519 * lyxtext.h: remove some dead code
11521 2001-06-26 The LyX Project <Asger>
11523 * paragraph.C: Change export to LaTeX of alignment to
11524 \begin{center} and family for better roundtrip work with reLyX.
11526 * Tune the math drawing a bit.
11528 2001-06-25 The LyX Project <Asger>
11530 * LColor.C (LColor): New color for math background. New color
11533 2001-06-25 The LyX Project <jug@sad.it>
11535 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11537 * lyxfunc.C (Open):
11538 * bufferlist.C (newFile): do not restrict to files ending with
11541 * BufferView_pimpl.C (MenuInsertLyXFile):
11543 2001-06-24 The LyX Project <jug@sad.it>
11545 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11548 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11550 * lyxtext.h: rename most methods to begin with a small char.
11551 Lots of changes because of this.
11553 * paragraph.C (Paragraph): do not call fitToSize
11554 (erase): call Pimpl::erase
11555 (insertChar): call Pimpl::insertChar
11556 (insertInset): call Pipl::insertInset
11557 (breakParagraph): do not call fitToSize
11558 (breakParagraphConservative): do not call fitToSize
11559 (fitToSize): remove method
11561 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11563 2001-06-24 The LyX Project <Asger>
11565 * Fix Qt compilation^2
11567 2001-06-24 The LyX Project <jug@sad.it>
11569 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11570 depthHook(getDepth()-1).
11573 * ParagraphParameters.h:
11574 * ParameterStruct.h: change type of depth to unsigned int ==
11575 depth_type. Many adaptations to other files before of that.
11577 2001-06-24 The LyX Project <Asger>
11579 * Fix Qt compilation.
11581 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * paragraph.h: renamed several methods to begin with small letter.
11584 several changes to many parts of the code because of this.
11586 2001-06-23 The LyX Project <jug@sad.it>
11588 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11589 rewritten to discard all double spaces when KeepEmpty is off
11590 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11591 to only handle newlines but not fiddle with spaces and friends.
11593 * lyxfunc.C (MenuNew): when doing 'new from template', use
11594 template_path as default directory
11596 2001-06-23 The LyX Project <Asger>
11598 * Clean-up of header file includes all over
11599 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11601 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11603 * paragraph.h: renamed from lyxparagraph.h
11605 2001-06-23 Asger <lyx@violet.home.sad.it>
11607 * Buffer.h: Removed Buffer::resize
11608 * BufferList.h: Removed BufferList::resize
11609 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11610 the document lazily when we change the width, or the font settings.
11612 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11614 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11616 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11618 * buffer.h: remove out of date comment
11620 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11623 * screen.C: fix "theoretical" GC leak
11625 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11627 * LaTeX.C (scanAuxFile):
11628 (deplog): remove trailing \r when reading stream (useful under
11631 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11633 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11634 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11635 and BufferView::theLockingInset(Inset*), so should use them and not
11636 access bv_->text->the_locking_inset directly.
11638 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11640 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11643 * tex-defs.h: remove old unused file
11645 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11647 * BufferView_pimpl.C: fix typo, remove minibuffer message
11648 when buffer has loaded
11650 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * lyxfunc.C (Dispatch): use stringstream
11653 (MenuNew): use stringstream
11654 (Open): use stringstream
11656 * importer.C (Import): use stringstream
11658 * bufferview_funcs.C (CurrentState): use stringstream
11660 * LaTeX.C (run): use stringstream
11662 * BufferView_pimpl.C (savePosition): use stringstream
11663 (restorePosition): use stringstream
11664 (MenuInsertLyXFile): use stringstream
11666 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11679 * vspace.C: removed // -*- C++ -*- as first line.
11682 * version.h: added // -*- C++ -*- as first line.
11684 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11686 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11688 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11691 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11696 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11698 * gettext.C: include LString.h even when --disable-nls is on.
11700 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11702 * converter.h (Get): changed argument type from int to
11703 FormatList::size_type to avoid unnecessary conversion.
11705 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11708 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11710 * gettext.h: include LString.h even when --disable-nls is on.
11712 2001-06-07 Juergen Vigna <jug@sad.it>
11714 * text.C (BreakAgain): subst spaces with tabs.
11716 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11717 (resizeInsetsLyXText): set force on resizeLyXText.
11719 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11721 * gettext.h (gettext_init):
11722 (locale_init): use a real definition instead of a macro
11724 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11726 * Bufferview_pimpl.C:
11728 * LColor.C: further lcolor tidies
11730 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11732 * BufferView_pimpl.C (updateScrollbar): simplify.
11734 * BufferView2.C: don't include insets/insetinfo.h, change
11735 prototype for insertInset and call the Pimpl version. let
11736 updateInset call Pimpl version.
11738 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11739 gotoInset to BufferView::Pimpl
11741 2001-06-01 Juergen Vigna <jug@sad.it>
11743 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11744 inside a LockingInset (is the update needed at all?).
11746 2001-05-31 Juergen Vigna <jug@sad.it>
11748 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11749 here not the old one otherwise how should we compare it afterwards
11752 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11757 * FontInfo.C: bring C functions into global namespace when
11760 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11762 * LString.h: make sure config.h has been loaded before LString.h.
11764 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11765 (one for each char read by EatLine!).
11767 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11770 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11772 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11773 to the same as the par we break from
11775 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11779 * MenuBackend.C (expand): also create menu entries for wide
11780 versions of the floats.
11782 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11784 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11786 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11787 frontends/Makefile.am
11793 * tabular.C (getTokenValue): add std::
11795 * tabular-old.C (getTokenValue): add std::
11796 (getTokenValue): ditto
11797 (getTokenValue): ditto
11799 * screen.C (ToggleSelection): adjust
11801 * lyxtext.h: put selection cursors inside a Selection struct.
11803 * lyxfunc.C (moveCursorUpdate): adjust
11805 * lyxfont.C (latexWriteStartChanges): add std::
11807 * lyxfind.C: adjust
11809 * font.h: delete with(char const *, LyXFont const &)
11811 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11813 * FontInfo.C (getFontname): add std::
11815 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11816 (workAreaButtonPress): adjust
11817 (tripleClick): adjust
11819 (moveCursorUpdate): adjust
11822 * BufferView2.C (gotoInset): adjust
11824 2001-05-30 Juergen Vigna <jug@sad.it>
11826 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11827 to check pspell I add this as default as I now have new pspell
11828 libraries and they seem to use this.
11830 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * text2.C (CutSelection): make the cursor valid before the call to
11835 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11838 relied on 0 terminated strings and other horrors. Bug found due to
11839 the new assert in lyxstring!
11841 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11844 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11846 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11849 * lyxfunc.C (processKeySym): change method of getting to the
11852 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11853 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11854 * BufferView_pimpl.[Ch]: here as private methods.
11856 2001-05-28 Juergen Vigna <jug@sad.it>
11858 * text.C (SetHeightOfRow): added the update() call again as it is
11859 needed to initialize inset dimensions!
11861 2001-05-16 Juergen Vigna <jug@sad.it>
11863 * text2.C (SetCharFont): Add new function with BufferView * and
11864 bool toggleall parameters for setting insets internal fonts.
11865 (SetFont): Freeze the undo as we may change fonts in Insets and
11866 all this change should be inside only one Undo!
11868 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11869 setting font's in insets as for them we have the SetFont function!
11871 2001-05-15 Juergen Vigna <jug@sad.it>
11873 * text2.C (ClearSelection): to be sure we REALLY don't have any
11876 * tabular.C (TeXCellPreamble): fixed the left border problem for
11879 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11881 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11884 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11886 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11887 LFUN_BREAKPARAGRAPH.
11889 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11890 help test to "internal only", similar for LFUN_INSERT_URL
11892 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11893 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11894 auto_region_delete and deadkeys.
11896 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11899 * LColor.C: remove some dead entries, tidy a little
11901 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11905 (Dispatch): implement LFUN_ESCAPE
11907 * commandtags.h: add LFUN_ESCAPE
11909 * LyXAction.C (init): add entry for LFUN_ESCAPE
11911 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11912 Remove commented code.
11913 (insertNote): moved here
11914 (open_new_inset): moved here
11916 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11919 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11921 * kbmap.C (findbinding): clean it up and make it work correctly.
11923 * lyx_main.C (init): do not pass argc and argv as parameters
11925 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11927 * buffer.C: fix path for OS/2 & Win32
11931 * lyx_main.C: Added os:: class.
11933 * os2_defines.h: update
11935 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11937 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11938 better by trying again with reduced state.
11940 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11942 * lyxrc.C (read): print error about invalid key sequence only when
11943 debugging (because not all latinX keysyms are known to some X
11946 * kbsequence.C (getiso): add a few std:: qualifiers
11947 (getiso): comment out extra return statement.
11949 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11953 (Dispatch): enhance the accent inset a bit. (not perfect)
11955 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11959 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11961 * bufferlist.C (emergencyWrite): fix assert() call
11963 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11965 * text.C (InsertChar): Added trivial patch to only send the "you
11966 can not do multiple spaces this way" message once during a
11969 2001-05-08 Baruch Even <baruch@lyx.org>
11971 * Makefile.am: Changed order of libraries to get LyX to link properly
11972 with the gnome frontend.
11974 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11976 * LaTeXFeatures.h: add a std:: qualifier
11978 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11980 * paragraph.C (String): use stringstream
11982 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11984 * paragraph.C (writeFile): remove footflag arg
11986 * buffer.C (makeLaTeXFile): use stringstream
11987 (latexParagraphs): remove footnot gurba
11989 * LaTeXFeatures.C (getPackages): use stringstream
11990 (getMacros): likewise
11991 (getTClassPreamble): likewise
11992 (getFloatDefinitions): new method
11994 * paragraph.C (writeFile): reindent
11997 * WorkArea.h: revert the xpos + etc changes.
11999 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12001 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12003 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12004 (pasteSelection): likewise
12005 * text2.C (CreateUndo): likewise
12007 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12009 * minibuffer.C (peek_event): temporarily reduce the functionality
12010 of the minibuffer (to allow args on lfuns)
12012 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12013 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12015 * buffer.C (readInset): add compability reading of old float
12016 lists, add reading of new style float list.
12017 (readInset): avoid reevaluation of inscmd.getCmdName()
12018 (getLists): reindent
12020 * MenuBackend.C (MenuItem): implement parsing of
12021 md_floatlistinsert and md_floatinsert.
12022 (expand::LastFiles): move initalizaton of iterators out of loop,
12023 avoid reevaluation.
12024 (expand::Documents): introduce typdedef vector<string> Strings,
12026 (expand::ExportFormats): introduce typedef vector<Format const *>
12027 Formats, and use it.
12028 (expand): implement FloatListInsert and FloatInsert.
12030 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12031 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12032 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12034 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12036 (Dispatch::LFUN_FLOAT_LIST): implement
12038 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12040 * LaTeX.C (run): Fix problem with --export code.
12042 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12044 * BufferView.[Ch] (workarea): removed.
12045 (getClipboard) new method; wrapper for workarea()->getClipboard()
12047 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12050 * WorkArea.h (width, height, xpos, ypos): These methods all
12051 returned the dimensions of the work_area sub-area of WorkArea,
12052 resulting in a position error if the WorkArea were resized. Now
12053 return the dimensions of the entire WorkArea.
12055 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12057 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12059 * LaTeX.C (deplog): correct the syntax of regex reg1
12061 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * undo.C: remove !NEW_INSETS cruft
12065 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12067 * text2.C: remove !NEW_INSETS cruft
12069 * text.C: remove !NEW_INSETS cruft
12071 * tabular.C: remove !NEW_INSETS cruft
12073 * spellchecker.C: remove !NEW_INSETS cruft
12075 * lyxtext.h: remove !NEW_INSETS cruft
12077 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12079 * lyxfunc.C: remove !NEW_INSETS cruft
12081 * lyxfind.C: remove !NEW_INSETS cruft
12083 * lyx_cb.C: remove !NEW_INSETS cruft
12085 * figureForm.C: remove !NEW_INSETS cruft
12087 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12089 * buffer.[Ch]: remove !NEW_INSETS cruft
12091 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12093 * CutAndPaste.C: remove !NEW_INSETS cruft
12095 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12097 * BufferView2.C: remove !NEW_INSETS cruft
12099 * BufferView.h: remove !NEW_INSETS cruft
12101 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12103 * Lsstream.h: include LString.h before the sstream headers to
12104 fix problem with gcc 2.95.3 and lyxstring
12106 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12108 * lyx_main.C: add using directives when needed for C functions
12109 declared in std:: namespace.
12111 2001-04-27 Juergen Vigna <jug@sad.it>
12113 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12114 (SetHeightOfRow): comment out the update call should not be needed!
12116 2001-04-13 Juergen Vigna <jug@sad.it>
12118 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12119 (LyXTabular): tried to minimize operator= operations (and realized
12120 hopfully Lars wish).
12122 2001-04-27 Juergen Vigna <jug@sad.it>
12124 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12126 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12130 * buffer.C (readInset): hack to make listof algorithm work
12132 * BufferView_pimpl.C: hack to make listof algorithm work
12134 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * LyXAction.C: removed all !NEW_INSETS cruft
12137 (init): moved lfun_item in method
12139 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12141 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12143 * BufferView2.C (theLockingInset): white space.
12145 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * minibuffer.C: include <iostream>
12149 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12151 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12153 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12155 * text.[Ch] (TransposeChars): new method
12157 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * call message directly through LyXView instead of through LyXFunc
12160 * BufferView2.C: adjust
12161 * BufferView_pimpl.C: adjust
12162 * FontLoader.C: adjust
12164 * bufferview_funcs.C: adjust
12165 * converter.C: adjust
12166 * figureForm.C: adjust
12167 * importer.C: adjust
12169 * lyx_gui_misc.C: adjust
12170 * lyxfunc.C: adjust
12173 + more files in subdirs
12175 * lyxparagraph.h (size): move up int file
12178 * adjust all uses of Assert to lyx::Assert.
12180 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12181 lyxfunctional in namespace lyx
12182 * layout.C (hasLayout): ditto
12185 (delete_layout): ditto
12186 (NumberOfClass): ditto
12187 * converter.C (GetFormat): ditto
12192 * bufferlist.C (getFileNames): ditto
12193 (emergencyWriteAll): ditto
12196 * MenuBackend.C (hasSubmenu): ditto
12199 * BufferView_pimpl.C (getInsetByCode): ditto
12201 2001-04-18 Juergen Vigna <jug@sad.it>
12203 * vspace.C (asLatexString): fixed the 100% problem.
12205 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12207 * lyxfunc.C (Dispatch):
12209 * minibuffer.h: add a few std:: qualifiers
12211 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * minibuffer.[Ch]: reimplement so that commands is initiated and
12214 run from lyxfunc, simplified som handling, and made the completion
12215 and history code for complete. wip.
12217 * lyxfunc.C (processKeySym): call message
12218 (miniDispatch): new temporary method
12219 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12220 (LFUN_MESSAGE): implement
12221 (LFUN_MESSAGE_PUSH): implement
12222 (LFUN_MESSAGE_POP): implement
12223 (initMiniBuffer): the initial/defualt minibuffer message.
12225 * lyxfont.[Ch]: inline some more getters
12227 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12229 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12231 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12232 (AutoSave): use LFUN_MESSAGE
12233 (Reconfigure): ditto
12235 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12237 * figureForm.C: use LFUN_MESSAGE
12239 * converter.C (runLaTeX): use LFUN_MESSAGE
12241 * bufferview_funcs.C: use LFUN_MESSAGE
12243 (changeDepth): ditto
12245 * bufferparams.h: use boost::
12247 * bufferlist.h: inherit privately from noncopyable
12249 * bufferlist.C (loadLyXFile): remove some commented code.
12251 * buffer.C (runChktex): use LFUN_MESSAGE
12253 * ShareContainer.h: inherit privately from noncopyable
12255 * ParagraphParameters.[hC] (depth): inline it.
12257 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12259 (message): new method
12260 (messagePush): ditto
12261 (messagePop): ditto
12262 (show): init minibuffer
12263 (showState): direct call
12265 * LaTeX.[Ch]: inherit privately from noncopyable
12266 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12267 instead of WriteStatus.
12269 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12271 * BufferView_pimpl.C (buffer): don't init minibuffer
12272 (workAreaButtonPress): use LFUN_MESSAGE
12273 (workAreaButtonRelease): ditto
12274 (savePosition): ditto
12275 (restorePosition): ditto
12276 (MenuInsertLyXFile): ditto
12277 (workAreaExpose): don't init minibuffer
12278 (update): remove commented code, simplify
12280 * BufferView2.C (openStuff): use LFUN_MESSAGE
12281 (toggleFloat): ditto
12284 (copyEnvironment): ditto
12285 (pasteEnvironment): ditto
12290 (updateInset): remove some commented code
12292 * lastfiles.h: inherit privately from noncopyable
12295 * lyx_main.h: ditto
12297 * lyxlex_pimpl.h: ditto
12299 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12300 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12301 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12303 * LyXAction.h: inherit privately from noncopyable, add methods
12304 func_begin, func_end, returning iterators to the func map.
12306 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12307 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12308 (func_begin): new method
12309 (func_end): new method
12311 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12313 (copySelection): ditto
12314 (pasteSelection): ditto
12316 * BufferView.C: whitespace change
12317 * BufferView.h: inherit privately from noncopyable
12319 2001-04-16 Allan Rae <rae@lyx.org>
12321 * tabular-old.C (l_getline):
12322 * spellchecker.C (sc_check_word):
12323 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12324 an unrecognised preprocessor directive. So ensure they're wrapped.
12326 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12328 * src/exporter.C (Export): Give an error message when path to file
12331 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12333 * LaTeX.C (deplog): Always check that foundfile exists.
12335 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12338 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12340 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12342 * tabular.[Ch] (getLabelList): implement new method
12344 * minibuffer.h: comment ouf setTiimer
12346 * minibuffer.C (ExecutingCB): constify res
12347 (peek_event): constify s
12348 (Set): constify ntext
12349 (Init): constify nicename
12351 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12353 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12354 (savePosition): use two params to Minibuffer::Set
12355 (restorePosition): ditto
12357 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12359 * lyx_main.C: include language.h
12361 * Makefile.am (lyx_main.o): add language.h
12363 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12369 * CutAndPaste.C: include gettext.h
12371 * lyxfont.h: remove old hack with ON and OFF.
12374 * lyxfont.h: do not include language.h...
12379 * bufferview_funcs.C:
12385 * paragraph.C: ... but do it here instead
12387 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12391 * tabular.C: small reformat
12393 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12396 (BreakParagraph): ditto
12397 (SetOnlyLayout): ditto
12400 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12403 * lastfiles.C: removed most using decl, add std:: where needed
12405 * buffer.C: ws changes
12407 * MenuBackend.C (class compare_format): put into anon namespace
12408 (expand): constify label, names, action, action2
12411 * text.C (SingleWidth): constify font
12412 (IsBoundary): constify rtl2
12413 (GetVisibleRow): constify ww
12415 * LaTeX.C (deplog): constify logfile
12417 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12419 (workAreaExpose): constify widthChange, heightChange
12421 * lyxrow.C (par): moved
12424 * lyxrow.h: as inlines here
12426 * lyxfont.h (shape): moved from lyxfont.C
12427 (emph): moved from lyxfont.C
12429 * lyxfont.C (LyXFont): use initialization list for all
12431 (shape): move to lyxfont.h as inline
12432 (emph): move to lyxfont.h as inline
12435 2001-04-04 Juergen Vigna <jug@sad.it>
12437 * vspace.C: had to include stdio.h for use of sscanf
12439 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12442 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12443 independent of xforms.
12445 2001-04-02 Juergen Vigna <jug@sad.it>
12447 * spellchecker.C: fixed namespace placing!
12449 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12451 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12452 the LyXParagraph * is 0.
12454 2001-03-29 Juergen Vigna <jug@sad.it>
12456 * vspace.C: added support for %, c%, p%, l%.
12457 (stringFromUnit): added helper function.
12458 (asLatexString): changed to give right results for the %-values.
12460 * buffer.C: convert the widthp in a width%.
12462 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12464 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12467 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12468 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12470 * lyx_cb.[Ch]: see above.
12472 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12476 * lyx.[Ch]: replaced by figure_form.[Ch].
12480 * lyxfunc.C: changed headers associated with above changes.
12482 2001-03-27 Juergen Vigna <jug@sad.it>
12484 * BufferView_pimpl.C: set the temporary cursor right!
12486 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12488 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12490 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12492 * LString.h: removed "using std::getline"!
12494 * BufferView_pimpl.C (Dispatch): changes due to changes in
12495 InsetInclude::Params.
12497 * buffer.C (tag_name): removed redundant break statements as they were
12498 producing lots of warnings with my compiler.
12500 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12502 * LString.h: add "using std::getline" when using the real <string>.
12504 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12506 * buffer.C: removed bitset usage.
12507 PAR_TAG moved to an anonymous name space.
12508 (tag_name): new funtion, also in the anonymous namespace.
12509 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12510 (makeDocBookFile): clean code. Completed transition from string arrays
12512 (SimpleDocBookOnePar): code clean.
12514 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12516 * tabular.C: add some comments.
12518 2001-03-22 Juergen Vigna <jug@sad.it>
12520 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12521 compatibility read a bit and fixed bug with minipage in different
12524 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12526 * buffer.C (pop_tag): removed.
12527 (push_tag): removed.
12528 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12529 array replaced with vector. Added support for CDATA sections.
12530 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12532 (makeDocBookFile): XML conformant declaration of CDATA section,
12533 fixed bug related to <emphasis> in the first paragraph char.
12534 (sgmlOpenTag): exclude empty tags.
12535 (sgmlCloseTag): ditto.
12537 * buffer.h (pop_tag): removed.
12538 (push_tag): removed.
12540 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12542 * language.h (Languages): added size_type and size().
12544 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12546 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12547 response on compability reading of minipages. One probliem is that
12548 the old usage of minipages was «flertydig»
12550 * several files here and in subdirs: don't use static at file
12551 scope use anon namespaces instead.
12553 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12555 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12556 LaTeX output. This is necessary for Literate document
12559 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12561 * buffer.C: insert hfill when needed.
12563 * tabular.C (l_getline): use string::erase, small whitespace change.
12565 * BufferView_pimpl.C: try the anon namespace.
12566 * WorkArea.C: ditto
12568 2001-03-16 Juergen Vigna <jug@sad.it>
12570 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12571 otherwise it won't open options-dialogs.
12573 * buffer.C: honor pextraWidth(p) on converting minipages.
12575 * tabular.C (l_getline): changed the functions to strip trailing \r.
12577 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12579 * BufferView_pimpl.C:
12580 * minibuffer..C: added "using SigC::slot" declaration.
12582 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12584 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12590 * paragraph.C: ditto
12592 * lyxtext.h: NO_PEXTRA
12594 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12596 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12597 * ParameterStruct.h: ditto
12598 * ParagraphParameters.h: ditto
12599 * lyxparagraph.h: ditto
12601 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12603 * buffer.C: add compability for minipage alignment.
12604 (latexParagraphs): remove unwanted pextra check.
12606 * several files: remove CXX_WORKING_NAMESPACES
12608 * buffer.C (pop_tag): tie is in namespace boost
12610 * BufferView.h: noncopyable is in namespace boost
12612 * lyx_main.h: ditto
12615 * lastfiles.h: ditto
12616 * bufferlist.h: ditto
12617 * ShareContainer.h: ditto
12619 * LyXAction.h: ditto
12622 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12624 * Merging changes from BRANCH_MVC back into HEAD.
12626 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12628 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12630 * BufferView_pimpl.C: change from intl.C
12634 * Makefile.am: move combox.*
12640 * intl.C: remove dialog (covered by prefs)
12642 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12644 * lyxfunc.C (Dispatch): removed redundant break statement.
12646 2001-03-14 Juergen Vigna <jug@sad.it>
12648 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12650 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12652 * buffer.C: add hack to fix compability reading of minipages.
12654 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12656 * buffer.C (getLists): Cleanup.
12658 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12660 * lyxfont.C (update): don't honor toggleall on font size.
12662 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12666 * Makefile.am: moved to frontends/xforms/
12670 * BufferView_pimpl.C: changes for moved mathpanel
12672 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12674 * gettext.h: fix gettext_init() in --disable-nls
12676 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12678 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12680 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12683 * lyx.h: strip external form
12685 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12687 * BufferView_pimpl.C: add comment, destroySplash()
12689 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12691 * BufferView_pimpl.C:
12695 * lyxfunc.C: use re-worked insetinclude
12697 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12699 * buffer.C: add using std::stringstream.
12701 * lyx_cb.C: readd using std::ios.
12703 * buffer.C: add using std::map.
12705 * BufferView_pimpl.C: add using std::vector.
12707 * ShareContainer.h: add std:: to swap.
12709 * buffer.h: add some typedefs
12710 * buffer.C (getLists): use them
12711 (getLists): renamed from getTocList.
12712 add a counter for the different float types and use it in the
12714 (getLists): use the same counter for the NEW_INSETS and the "non"
12717 * lyx_cb.h: remove unused items, includes, using etc.
12719 * ShareContainer.h: remove some commented code, add more comments
12720 and "documentation".
12722 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12724 * buffer.C (getTocList): make the list also when NEW_INSETS is
12727 * buffer.h: remove TocType
12729 * buffer.C (getTocList): change to return a map<string,
12730 vector<TocItem> >, implement for dynamic number of list.
12732 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12733 * text2.C (PasteSelection): adjust
12734 * CutAndPaste.C (pasteSelection): adjust
12736 * FloatList.C (FloatList): update from the new_insets branch.
12737 * Floating.[Ch]: ditto
12738 * LaTeXFeatures.C: ditto
12740 * lyxlex_pimpl.C: ditto
12742 * paragraph.C (Last): remove when NEW_INSETS is defined.
12744 * other file: changes because of the above.
12746 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12748 * lyxparagraph.h: rename next to next_, previous to previous_,
12749 make them private for NEW_INSETS. Rename Next() to next(),
12750 Previous() to previous().
12752 * other files: changes because of the above.
12754 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12757 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12760 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12762 * main.C (main): pass lyx_localedir to gettext_init().
12764 * gettext.h: remove locale_init and gettext_init macros
12766 * gettext.C (locale_init): new function
12767 (gettext_init): new function
12769 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12772 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12774 * Moved credits to frontends:
12775 * credits.[Ch]: removed
12776 * credits_form.[Ch]: removed
12777 * lyx_gui_misc.C: remove credits stuff
12780 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12782 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12784 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12785 unneeded destructor.
12787 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12788 a standalone pointer again.
12790 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12792 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12798 * ToolbarDefaults.C:
12807 * BufferView_pimpl.C: use new file dialog in GUII
12810 * lyx_cb.C: remove LayoutsCB to Toolbar
12812 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12814 * ShareContainer.h (get): add std:: qualifier
12816 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12818 * ShareContainer.h: define a proper ShareContainer::value_type
12819 type (and use typename to please compaq cxx)
12821 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12823 * lyxparagraph.h: move serveral local vars to
12824 ParameterStruct/ParagraphParameters., use ShareContainer in
12825 FontTable., make vars in FontTable private and add getter and
12828 * paragraph.C: changes because of the above.
12830 * lyxfont.h: remove copy constructor and copy assignment. (the
12831 default ones is ok), move number inside FontBits. move inlines to
12834 * lyxfont.C: add number to initializaton of statics, move several
12835 inlines here. constify several local vars. some whitespace
12836 cleanup. Dont hide outerscope variables.
12838 * Spacing.h: add two new constructors to match the set methods.
12840 * ShareContainer.h: new file, will perhaps be moved to support
12842 * ParameterStruct.h: new file
12844 * ParagraphParameters.h: new file
12846 * ParagraphParameters.C: new file
12848 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12849 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12851 * BufferView_pimpl.C: ParagraphParameter changes.
12852 * buffer.C: Likewise.
12853 * bufferview_funcs.C: Likewise.
12854 * text.C: Likewise.
12855 * text2.C: Likewise.
12857 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12859 * lyxfind.C (LyXReplace): do not redefine default argument in
12861 (IsStringInText): ditto
12862 (SearchForward): ditto
12863 (SearchBackward): ditto
12865 2001-03-06 Juergen Vigna <jug@sad.it>
12867 * lyxfind.C (IsStringInText): put parentes around expressions.
12869 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12871 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12873 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12875 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12877 * stl_string_fwd.h: add comment
12879 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12882 * tabular.C: remove unused DocBook methods
12888 killed DO_USE_DEFAULT_LANGUAGE
12890 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12892 * lyx_gui.C: do not include language.h.
12894 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12895 arguments in function implementation.
12897 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12899 * BufferView_pimpl.C: add <ctime>
12901 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12903 * BufferView_pimpl.C: add using std::find_if
12905 2001-02-27 José Matos <jamatos@fep.up.pt>
12907 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12910 2001-02-11 José Matos <jamatos@fep.up.pt>
12912 * buffer.C (makeDocBookFile): command styles now have a parameter as
12913 "title" by default.
12915 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12917 * layout_forms.[Ch]: removed
12918 * lyx_cb.[Ch]: out character
12919 * lyx_gui.C: out character
12920 * lyx_gui_misc.C: out character
12921 * bufferview_funcs.C: : out character,
12922 added toggleall as parameter in ToggleAndShow
12924 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12926 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12928 * text2.C (SetCurrentFont): Disable number property at boundary.
12930 2001-02-26 Juergen Vigna <jug@sad.it>
12932 * lyxfunc.C (getStatus): added a string argument override function so
12933 that this is correctly called from LyXFunc::Dispatch if it contains a
12934 do_not_use_argument which is used!
12935 (Dispatch): added check for "custom" export and call appropriate func.
12937 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12939 * lyxrc.C: Add language_command_local, language_use_babel and
12940 language_global_options.
12942 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12944 * buffer.C (makeLaTeXFile): Use language_use_babel and
12945 language_global_options.
12947 2001-02-23 Juergen Vigna <jug@sad.it>
12949 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12950 which works with LyXText and putted it inside BufferView. Here now we
12951 only call for that part the BufferView::Dispatch() function.
12953 * BufferView.C (Dispatch): added.
12955 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12956 functions which needs to use a LyXText over from LyXFunc.
12957 (MenuInsertLyXFile): added
12958 (getInsetByCode): added
12959 (moveCursorUpdate): added
12960 (static TEXT): added
12962 2001-02-22 Juergen Vigna <jug@sad.it>
12964 * BufferView_pimpl.C (update): call a status update to see if LyXText
12967 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12969 * vc-backend.C (revert): implement for CVS
12970 (getLog): implement for CVS
12972 2001-02-20 Juergen Vigna <jug@sad.it>
12974 * text2.C (ClearSelection): added BufferView param for inset_owner call
12976 * lyxfunc.C (TEXT): added this function and use it instead of
12977 directly owner->view()-text of getLyXText().
12979 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12981 * src/layout_forms.C: out preamble
12982 * src/layout_forms.h: out preamble
12983 * src/lyx_cb.C: out preamble
12984 * src/lyx_cb.h: out preamble
12985 * src/lyx_gui.C: out preamble
12986 * src/lyx_gui_misc.C: out preamble
12987 * src/lyxfunc.C: connect with guii preamble
12989 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12991 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12993 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12995 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12996 whether to run bibtex.
12998 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13000 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13002 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13004 * Makefile.am (lyx_SOURCES): removed bibforms.h
13006 * vspace.h: doxygen
13008 * text.C (GetVisibleRow): make several local vars const
13010 * tabular.C: small cleanup.
13012 * lyxserver.C (callback): use compare instead of strncmp
13014 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13015 inlines to after class or to paragraph.C
13017 * lyxfont.h: remove friend operator!=
13019 * converter.h: move friend bool operator< to non friend and after
13022 * combox.h: small cleanup
13024 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13025 to inlines after class def.
13027 * buffer.C (pop_tag): use string operations instead of strcmp
13029 * bmtable.c: doxygen, small cleanup
13031 * LaTeX.h: remove friend operator==
13033 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13045 * BufferView_pimpl.C:
13046 * BufferView.[Ch]: remove cruft
13048 2001-02-14 Juergen Vigna <jug@sad.it>
13050 * lyxfunc.C: removed #if 0 unused code
13052 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13054 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13056 * text2.C (SetSelection): added a BufferView * parameter
13058 2001-02-13 Juergen Vigna <jug@sad.it>
13060 * lyxfunc.C (Dispatch): fixed protected blank problem.
13061 * BufferView2.C (protectedBlank): added LyxText * parameter.
13063 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13064 (AppendColumn): same as above for column_info.
13066 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13067 (moveCursorUpdate): use a LyXText param for support of InsetText.
13069 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13070 (tripleClick): ditto
13072 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13074 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13076 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13078 * text2.C (SetSelection): set correct update status if inset_owner
13079 (ToggleFree): ditto
13081 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13083 * tabular.C: remove some commented code.
13085 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13087 * BufferView_pimpl.C: call hideSplash()
13089 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13092 * bibforms.h: remove
13095 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13096 add LFUN_CHILD_CREATE
13098 * counters.h: fix tiny typo
13103 * lyx.C: move splash to frontends/xforms/
13105 * lyx_gui_misc.C: move Include and Bibform to frontends
13107 * lyxvc.h: clarify comment
13109 * vspace.C: tiny housekeeping
13111 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13113 * text.C (PrepareToPrint): RTL Fix.
13115 * paragraph.C (GetUChar): New method.
13116 (String): Use GetUChar.
13118 * buffer.C (asciiParagraph): Use GetUChar.
13120 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13122 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13124 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13127 * buffer.C: rename to getLogName(), handle
13128 build log / latex log nicely
13130 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13133 * MenuBackend.h: remove support for reference menuitem type.
13135 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13137 * BufferView_pimpl.C: housekeeping
13138 * BufferView_pimpl.h:
13143 * minibuffer.h: move Timeout GUI-I
13145 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13147 * lyxrc.C (read): Update converters data-structures.
13149 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13151 * LaTeX.h (operator!=): add operator != for Aux_Info
13153 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13155 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13157 * LaTeXLog.C: deleted, useful code moved to Buffer
13160 * buffer.C: new function getLatexLogName()
13166 * lyxfunc.C: use frontends for LaTeX and VC logs
13168 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13170 * LaTeX.h: yet another std:: that Allan forgot.
13172 * Variables.C (set): renamed from isset(), because this clashes
13173 with some HP-UX macros (grr).
13175 2001-02-06 Allan Rae <rae@lyx.org>
13177 * LaTeX.h: Another bug fix. Missing std:: this time.
13179 2001-02-04 Allan Rae <rae@lyx.org>
13181 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13182 floats problem. I've left it commented out because it's not quite
13183 correct. It should also test that the current object is a table or
13184 figure inset. But I haven't gotten around to figuring out how to do
13185 that. I *think* it'll be something like: "table" == inset.type()
13187 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13190 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13192 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13193 all the citation/databases/styles in the auxilary file.
13194 (run): Rerun latex if there was a babel language error.
13196 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13198 * text.C (Backspace): Preserve the font when changing newline char
13200 (BreakParagraph): If the cursor is before a space, delete the space.
13202 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13204 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13206 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13207 new argument (code).
13208 (ChangeCitationsIfUnique): New method.
13210 * paragraph.C (GetPositionOfInset): Handle bibkey.
13212 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * BufferView_pimpl.h: change type of Position::par_pos to
13215 LyXParagraph::size_type.
13217 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13219 * BufferView_pimpl.C (savePosition, restorePosition): Write
13220 messages to minibuffer.
13222 2001-01-28 José Matos <jamatos@fep.up.pt>
13224 * buffer.C (makeDocBookFile): adds support for document language.
13225 A silly restriction on the name of LatexCommand types where removed.
13226 Added support for CDATA sections, allows to chars unescaped, used
13227 among others in code, to avoid escape < and >.
13229 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13231 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13232 saved positions instrad of a stack. Furthermore, a position is
13233 stored using paragraph id/paragraph position.
13235 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13236 Remove LFUN_REF_BACK.
13238 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13240 * converter.C (dvipdfm_options): New method.
13242 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13244 * vspace.C (isValidLength): Fix for empty input string.
13246 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * LyXAction.C (init): change description of LFUN_FIGURE to
13251 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * LaTeX.C: add using directive
13255 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13257 * MenuBackend.C (expand): Fix the sorting of the formats.
13259 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13261 * lyx_main.C: tiny error message fix
13263 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13265 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13266 calling fl_initialize(). This fixes the problem with ',' as
13267 decimal separator in text files.
13269 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13271 * trans.C (process): Fix the keymap bug.
13273 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13275 * LaTeX.C (scanAuxFiles): New method. Provides support for
13276 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13277 (scanLogFile) Scan for "run BibTeX" messages.
13279 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13280 OT1 font encoding. Also, load the aecompl package if the ae
13283 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13285 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13287 * texrow.C (increasePos): turn two error messages into debug
13290 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13292 * LaTeX.C (scanAux): Handle the \@input macro.
13293 (runBibTeX): Use scanAux().
13295 * language.C (latex_options_): New field.
13297 * LaTeXFeatures.C (getMacros): Add language macros.
13299 * buffer.C (makeLaTeXFile): Small fix.
13301 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13303 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13305 * text2.C: add a using directive.
13307 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13312 * lyxfunc.C: kill LyXBell.
13314 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13316 * text.C (IsBoundary): Remove the error message
13318 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13320 * lyxrc.C (setDefaults): Correct initialization value for
13323 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13325 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13328 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13329 and GotoNextNote().
13331 * src/LyXAction.C: Added reference-next.
13333 * text.C (InsertChar): Use contains instead of strchr.
13335 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13337 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13339 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13340 alignment commands (when needed).
13342 * text.C (InsertChar): Add ':' to number separator chars.