2 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
6 2003-10-23 André Pönitz <poenitz@gmx.net>
8 * RowList_fwd.h: change list<> to vector<> to gain speed
9 after suggestion from Alfredo
11 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
13 * lyxtext.h: move the bidi stuff from here...
16 * Bidi.[Ch]: ... to here
18 2003-10-23 André Pönitz <poenitz@gmx.net>
21 * text.C (isLastRow, isFirstRow): new functions
23 * paragraph.h: new width cache member
25 * rowpainter.C: replace RowList::iterator with Row & where possible
27 * lyxfunc.C: replace several view()->text with a single call
29 * toc.C: fix 'unused' warning
31 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
33 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
34 when woring with stream::pos_type
35 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
37 2003-10-22 André Pönitz <poenitz@gmx.net>
40 * text.C: use Row & instead of RowList::iterator
42 * lyxrow.h: rename end() to endpos()
48 2003-10-22 Angus Leeming <leeming@lyx.org>
50 * buffer.[Ch] (fully_loaded): new member function, returning true
51 only when the file has been loaded fully.
52 Used to prevent the premature generation of previews and by the
53 citation inset to prevent computation of the natbib-style label.
55 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
56 templates are all set up.
58 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
60 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
62 * text.C: fixed an "oops" in the "is a bit silly"
65 2003-10-21 André Pönitz <poenitz@gmx.net>
67 * FuncStatus.[Ch]: small stuff, whitespace
69 * lyxfont.[Ch]: operator<<() for debug reasons
73 * lyxtext.h: whitespace, spelling
75 * paragraph.C: naming of variables
78 * text2.C: small stuff
81 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
83 * text.C: (1) finish off the inset display() work;
84 (2) fix the "is a bit silly" bug (accessing char
87 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
89 * text.C: re-introduce display() for insets, fixing the
90 various bugs (stretch of line above, math inset
93 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * text.C (rightMargin): remove spurious semicolon
97 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
100 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
102 * text3.C: fix one crash due to wrong cursor def
104 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
106 * vc-backend.C (scanMaster): make the regex static
108 * LaTeX.C (scanAuxFile): make the regexs static
110 * text3.C (doInsertInset, dispatch, dispatch):
111 * text2.C (cursorUp, cursorDown):
112 * text.C (selectNextWordToSpellcheck):
113 * BufferView_pimpl.C (dispatch):
114 * lyxfunc.C (dispatch): localDispatch -> dispatch
116 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * lyxsocket.C: include <cerrno>
120 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
122 * lyxfunc.C (dispatch): remove textcache stuff
124 * bufferlist.C (release): remove textcache stuff
127 * TextCache.C: delete file
128 * TextCache.h: delete file
130 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
132 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
133 delete of the bv_->text.
134 (resizeCurrentBuffer): remove texcache stuff
135 (workAreaResize): ditto
137 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
139 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
142 2003-10-16 André Pönitz <poenitz@gmx.net>
149 * text3.C: speed up by storing y positions per paragraph plus per-row
150 offset instead of having a 'full' y position in the row.
152 2003-10-15 André Pönitz <poenitz@gmx.net>
156 * undo.[Ch]: make undo aware of inner insets
158 2003-10-14 Angus Leeming <leeming@lyx.org>
160 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
161 static member functions LyX::ref() and LyX::cref.
162 (lastfiles): new accessor functions for the new lastfiles_ member var.
163 (addLyXView, views_): add a new LyXView to the list of views_.
164 (updateInset): loop over all LyXViews to call their own updateInset
165 member function, returning a pointer to the Buffer owning the inset.
167 * BufferView_pimpl.C (loadLyXFile):
168 * MenuBackend.C (expandLastfiles):
169 * bufferlist.C (MenuWrite, QuitLyX):
170 lastfiles is no longer a global variable.
171 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
173 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
174 static function. Access through LyX::cref().emergencyCleanup().
176 2003-10-14 André Pönitz <poenitz@gmx.net>
178 * iterators.[Ch]: new direct access to innermost LyXText and Inset
180 * undo.[Ch]: restoring part of 'undo in insets'
183 * undo_funcs.[Ch]: merge with undo.[Ch]
185 * tabular.C: small cleansing stuff
187 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
189 * paragraph_funcs.C (readParToken): report unknown insets as error
190 boxes. Use the outer paragraph as location (also for unknown
193 * factory.C (readInset): do not abort on reading an unknown inset.
196 2003-10-13 Angus Leeming <leeming@lyx.org>
198 * lyx_main.C (LyX): remove call to setDisplayTranslator().
200 * lyxrc.C: displayTranslator is now a function,
201 declared in GraphicsTypes.h.
203 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
205 * format.C: new placeholder $$a to pass the socket address.
207 * bufferlist.[Ch]: new function getBufferFromTmp.
209 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
210 files in the temporary dir.
212 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
214 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
216 * Makefile.am: add lyxsocket.[Ch].
218 * lyx_main.C (error_handler): handle SIGPIPE.
220 2003-10-13 André Pönitz <poenitz@gmx.net>
222 * BufferView_pimpl.C:
227 * undo_funcs.[Ch]: use paroffset_type instead of
228 ParagraphList::iterators to prevent multiple conversion
229 (and get a more robust interface)
231 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
233 * lyxfunc.C (dispatch): RESULT -> dispatch_result
235 * text3.C (dispatch): ditto
237 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
239 * LaTeX.C (handleFoundFile): move the static to smaller scope,
240 move the onlyfile, use onlyfile instead of foundfile in a couple
243 * DepTable.C (update): flush the error stream a bit more
245 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
247 * lyxserver.C (callback): adjust
249 * lyxfunc.C (getStatus): add a missing brace in commented code
250 (ensureBufferClean): reindent
251 (dispatch): delete version taking a string
253 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
255 * LaTeX.C (deplog): move found file handlig from here...
256 (handleFoundFile): .. to new function here.
257 (deplog): make sure to discover several files mentioned on the
260 2003-10-10 André Pönitz <poenitz@gmx.net>
267 * text3.C: fix some of the tabular crashes
269 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
271 * MenuBackend.C (binding): put debug message into Debug::KBMAP
273 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
275 2003-10-09 André Pönitz <poenitz@gmx.net>
277 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
280 * BufferView_pimpl.C:
281 * bufferview_funcs.C:
292 * undo_funcs.C: adjust
294 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
296 * text2.C (incrementItemDepth): new function, use a backtracking
297 algorithm to discover the correct item depth.
298 (resetEnumCounterIfNeeded): new function, use a backtracking
299 algorithm to discover if counter reset is needed.
300 (setCounter): use them. Simplify a bit. Add different labels for
301 different item depths for itemize.
303 * paragraph.C (Paragraph): remove initialization of enumdepth
306 * paragraph.h: get rid of enumdepth, and use itemdepth both for
307 enumerate and itemize. Change the type of itemdepth to signed char.
309 2003-10-08 André Pönitz <poenitz@gmx.net>
311 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
316 * tabular.[Ch]: fix crash after 'row-insert'
318 2003-10-08 Angus Leeming <leeming@lyx.org>
320 Fix doxygen warnings.
322 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
323 Remove CutAndPaste:: prefix from header file declaration.
325 * LColor.h (fill): remove LColor:: prefix from declaration.
327 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
328 use lyx::depth_type rather than Paragraph::depth_type so that
329 header file and .C file match.
331 * converter.h (intToFormat): remove Converters:: prefix from declaration.
333 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
334 * aspell.C: \file aspell_local.C -> \file aspell.C
335 * gettext.C: \file gettext.C -> \file src/gettext.C
336 * gettext.h: \file gettext.h -> \file src/gettext.h
337 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
338 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
339 * text.C: \file text.C -> \file src/text.C
341 * toc.C: move comment so that doxygen is not confused.
343 2003-10-07 Angus Leeming <leeming@lyx.org>
345 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
347 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
350 * aspell_local.h: add forgotten std::string's.
352 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
359 * text3.C: The Box patch. Fancybox support, minipage, parbox
361 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
367 * ParagraphParameters.h:
377 * lyxtextclasslist.h:
381 * textcursor.h: add <string> and other small fixes to make Lars'
382 std::string patch compile with STLport.
384 2003-10-06 Angus Leeming <leeming@lyx.org>
386 * LColor.h: Add missing #include <string>.
388 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
390 * All most all file in all subdirs: Make <string> be the prefered
391 way of getting to std::string, add using declarations.
393 2003-10-06 André Pönitz <poenitz@gmx.net>
395 * metricsinfo.C: initialize LyXFont before changing attribute.
396 (fixes the 'math in \emph is upright' bug)
398 2003-10-06 André Pönitz <poenitz@gmx.net>
400 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
402 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
405 * paragraph_pimpl.C: Small fixes to build using STLport
407 2003-10-02 André Pönitz <poenitz@gmx.net>
410 * text3.C: move handling of LFUN_DEPTH *; fix #1360
412 2003-10-01 André Pönitz <poenitz@gmx.net>
414 * factory.C: assert early
416 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
418 * lyx_main.C: remove the global debug object
420 * debug.h: adjust for new debugstream
422 * debug.C: adjust for new debugstream and keep the global debug
425 2003-09-22 Angus Leeming <leeming@lyx.org>
427 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
428 of g++ which otherwise complain that the scoped_ptr destructor can't delete
429 an incomplete class LyXFont.
431 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
433 * factory.C: bug fix in branches
435 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
437 * lyxfunc.C (processKeySym): adjust
439 (dispatch): change arg name from ev to func, adjust
440 (sendDispatchMessage): ditto
442 * lyx_main.C (defaultKeyBindings): adjust keybindings
443 (deadKeyBindings): ditto
445 * kbsequence.C (addkey): return a FuncRequest
447 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
449 * kbmap.C (bind): take a FuncRequest as arg, adjust
452 (defkey): change to take a FuncRequest as arg, adjust
453 (findbinding): take a FuncRequest as arg, adjust.
455 * funcrequest.h (operator=): added
457 * funcrequest.C (FuncRequest): default kb_action changed from
458 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
460 * buffer.C (dispatch): simplify
461 (dispatch): adjust to take a FuncRequest as arg, adjust
463 * boost.C (assertion_failed): change assertion message slightly
465 * ToolbarBackend.C (read): simplify
467 * MenuBackend.C (binding): adjust call to findbinding, add a
468 message if no binding is found.
470 (expandToc): correct by adding a empty FuncRequest
472 * LyXAction.C: include <boost/assert.hpp>
473 (isPseudoAction): delete function
474 (LookupFunc): change name to...
475 (lookupFunc): this. change return type to FuncRequest.
476 (getActionName): take kb_action as arg, simplify
477 (funcHasFlag): add an assert, simplify.
479 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
481 * toc.C (action): return a FuncRequest, simplify
483 * lyxfunc.C (processKeySym): adjust
484 (getStatus): delete version that takes an int.
486 (dispatch): delete version that takes action as int
488 (sendDispatchMessage): simplify and adjust
490 * funcrequest.C (getArg): take unsigned int as arg
492 * ToolbarBackend.C (read): adjust
493 (add): delete version that takes func as a string.
494 (getIton): take a FuncRequest as arg
496 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
499 * MenuBackend.C (MenuItem): add a new construct that only takes a
500 Kind, simplify the constructor use for submenus.
502 (expandLastfiles): adjust
503 (expandDocuments): adjust
504 (expandFormats): adjust
505 (expandFloatListInsert): adjust
506 (expandFloatInsert): adjust
507 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
509 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
510 Remove class variables lyx_pseudo_map and lyx_arg_map
512 * LyXAction.C (searchActionArg): delete function
513 (getPseudoAction): delete function
514 (retrieveActionArg): delete function
515 (LookupFunc): make it return kb_action, simplify.
516 (getActionName): simplify
518 * factory.C (createInset): fix new bug
520 2003-09-19 Angus Leeming <leeming@lyx.org>
522 * CutAndPaste.C (pasteSelection): remove fudge used to set the
523 masterFilename_ parameter in the include inset.
525 * factory.C (createInset): changes due to the changes to InsetInclude.
527 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
529 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
531 2003-09-18 Angus Leeming <leeming@lyx.org>
534 * BufferView.C: pass the buffer when calling Inset::getLabelList,
535 Inset::fillWithBibKeys.
536 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
538 2003-09-18 Angus Leeming <leeming@lyx.org>
540 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
542 (ctor): pass and store a 'Buffer const &'
543 (buffer): new member function.
545 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
546 '*this' to the LaTeXFeatures ctor.
548 2003-09-18 Angus Leeming <leeming@lyx.org>
554 * text.C: rename EnumLColor as LColor_color.
556 2003-09-18 Angus Leeming <leeming@lyx.org>
558 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
559 remove #include "insets/insetbase.h" from cursor.h.
561 2003-09-18 Angus Leeming <leeming@lyx.org>
563 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
564 InsetOld_code to remove #include "inset.h".
566 * iterators.C: add #include "insets/inset.h"
568 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
570 * BufferView.C: remove more locking stuff that apparently doesn't
571 do anything sensible.
573 2003-09-16 André Pönitz <poenitz@gmx.net>
576 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
579 2003-09-16 Angus Leeming <leeming@lyx.org>
581 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
583 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
586 * paragraph.h: remove #include "lyxfont.h". Forward declare
589 2003-09-16 Angus Leeming <leeming@lyx.org>
591 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
592 of support/textutils.h.
593 (isWord): move the contents of support/textutils.h's IsWordChar here.
599 * text2.C: add #include "paragraph.h".
602 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
604 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * LaTeX.C: use namespace alias for lyx::support::os
612 2003-09-16 Angus Leeming <leeming@lyx.org>
615 * bufferview_funcs.C:
620 * text.C: add #include "LColor.h".
622 2003-09-16 Angus Leeming <leeming@lyx.org>
624 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
625 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
627 Store the FontBits::color variable as an int rather than as an
628 LColor::colorso that we can move LColor.h out of the lyxfont.h header
631 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
632 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
633 string calls together.
635 * lyxrc.C: add #include "LColor.h".
637 2003-09-15 Angus Leeming <leeming@lyx.org>
639 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
642 2003-09-15 Angus Leeming <leeming@lyx.org>
644 * LColor.h: add an EnumLColor wrapper for LColor::color.
646 * lyxfont.[Ch] (color, setColor, realColor):
647 * lyxtext.h, text.C (backgroundColor):
648 pass EnumLColor args to/from the functions, rather than LColor::color
652 * lyxtext.h: forward declare EnumLColor.
654 * lyx_main.C: add #include "LColor.h".
656 2003-09-15 Angus Leeming <leeming@lyx.org>
658 * .cvsignore: add lyx-gtk.
660 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
665 * ParagraphParameters.C
679 * vc-backend.C: remove usage of STRCONV
681 2003-09-15 Angus Leeming <leeming@lyx.org>
683 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
684 explicitly define the color passed to the painter.
686 2003-09-15 Angus Leeming <leeming@lyx.org>
688 * bufferparams.C (BufferParams): reorder member initializers to avoid
691 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
693 * CutAndPaste.C (pasteSelection): remove an outdated #warning
694 * text.C (updateRowPositions): remove an unusual nop
696 2003-09-12 André Pönitz <poenitz@gmx.net>
698 * BufferView_pimpl.C:
707 * Counters.[Ch]: finish the 'automatic counters' job
709 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
711 * aspell.C: include <boost/assert.cpp> (compile fix)
713 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
715 * boost.C (assertion_failed): use lyx::support::abort instead of
718 2003-09-10 Angus Leeming <leeming@lyx.org>
720 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
721 with their _fwd progeny.
723 2003-09-09 Angus Leeming <leeming@lyx.org>
725 134 files throughtout the source tree: replace 'using namespace abc;'
726 directives with the appropriate 'using abc::xyz;' declarations.
728 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
730 * boost.C (emergencyCleanup): moved here from LAssert.c
731 (assertion_failed): new function, called by BOOST_ASSERT
733 * several files: change Assert to BOOST_ASSERT
735 2003-09-09 Angus Leeming <leeming@lyx.org>
737 * buffer.[Ch]: Add an Impl class and move Buffer's member
738 variables into it. As a result move several header files out of
741 Add header files to lots of .C files all over the tree as a result.
743 2003-09-09 Angus Leeming <leeming@lyx.org>
745 * buffer.[Ch]: make Buffer's member variables private. Add
748 Lots of changes all over the tree as a result.
750 2003-09-08 Angus Leeming <leeming@lyx.org>
752 * graph.C: #include <config.h>.
754 2003-09-08 Angus Leeming <leeming@lyx.org>
758 * BufferView_pimpl.C:
787 * toc.C: remove redundant using directives.
789 2003-09-07 Angus Leeming <leeming@lyx.org>
791 * LaTeXFeatures.h: remove #include "support/types.h".
792 * ToolbarBackend.h: remove #include <algorithm>.
793 * changes.h: remove #include <ctime>.
794 * debug.h: remove #include <iosfwd>.
795 * graph.h: remove #include "support/std_string.h".
796 * lyx_main.h: remove #include <csignal>.
797 * lyxlex_pimpl.h: remove #include <fstream>.
798 * sgml.h: remove #include <algorithm>, <utility>.
799 * toc.h: remove #include "support/std_ostream.h".
800 Add #include <iosfwd>.
802 2003-09-07 Angus Leeming <leeming@lyx.org>
804 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
806 * converter.h: forward declare LatexRunParams.
807 * encoding.h: remove #include "lyxrc.h".
808 * lyxtext.h: remove #include "LColor.h".
809 * lyxtextclass.h: remove #include "support/types.h".
810 * trans.h: remove #include "tex-accent.h".
811 * trans_mgr.h: remove #include "tex-accent.h".
812 * insets/inset.h: remove #include "support/types.h", <vector>.
813 * insets/insetcollapsable.h: remove #include "LColor.h".
814 * insets/insetinclude.h: remove #include "dimension.h".
815 * insets/insetlatexaccent.h: remove #include "dimension.h".
816 * insets/insetoptarg.h:: remove #include "insettext.h".
817 * insets/insettext.h: remove #include "dimension.h",
818 <boost/shared_ptr.hpp>
820 * insets/renderers.h: add #include "dimension.h".
821 * insets/updatableinset.h: add #include "support/types.h".
823 * many .C files: Associated changes.
825 2003-09-06 Angus Leeming <leeming@lyx.org>
827 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
828 one, inside testInvariant.
830 * PrinterParams.C: new file.
831 * PrinterParams.[Ch]: move the function bodies out of line.
833 2003-09-06 Angus Leeming <leeming@lyx.org>
835 * ParagraphParameters.h: forward declare ParameterStruct rather than
836 including its header file.
837 (depth): moved out-of-line.
839 2003-09-06 Angus Leeming <leeming@lyx.org>
841 * BufferView_pimpl.h:
844 * lyxfunc.h: forward declare LyXKeySym rather than
845 #include "frontends/LyXKeySym.h".
847 * BufferView_pimpl.C:
850 * lyxfunc.C: associated changes.
852 2003-09-06 Angus Leeming <leeming@lyx.org>
854 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
855 As a result, can remove the #include "insets/inset.h" from BufferView.h
857 2003-09-06 Angus Leeming <leeming@lyx.org>
859 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
860 As a result, can remove the #include "insets/inset.h" from BufferView.h
862 2003-09-06 Angus Leeming <leeming@lyx.org>
868 * bufferview_funcs.C:
869 * BufferView_pimpl.C:
874 * ParagraphParameters.C:
879 * frontends/controllers/ControlDocument.C:
880 * insets/insetcaption.C: rearrange the #includes into some sort of
883 * buffer.h: remove #includes ErrorList.h, undo.h
885 2003-09-06 Angus Leeming <leeming@lyx.org>
887 * support/types.h: add a 'depth_type' typedef, used to store the
888 nesting depth of a paragraph.
891 * ParameterStruct.h: use this lyx::depth_type typedef rather than
896 * ParagraphParameters.h:
897 * sgml.h: use lyx::depth_type rather than Paragraph or
898 ParameterStruct's depth_type.
901 * paragraph_funcs.h: no need to #include paragraph.h anymore.
904 * BufferView_pimpl.C:
906 * ParagraphParameters.C:
909 * bufferview_funcs.C:
916 * frontends/LyXView.C:
917 * frontends/controllers/ControlDocument.C:
918 * frontends/controllers/ControlErrorList.C:
919 * insets/insetbibitem.C:
920 * insets/insetbranch.C:
921 * insets/insetcaption.C:
922 * insets/insetcollapsable.C:
925 * insets/insetfloat.C:
926 * insets/insetfoot.C:
927 * insets/insetfootlike.C:
928 * insets/insetnewline.C:
929 * insets/insetquotes.C:
930 * insets/insettabular.C:
931 * insets/insettext.C:
932 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
934 * frontends/controllers/ControlChanges.C: #include "changes.h".
936 2003-09-06 Angus Leeming <leeming@lyx.org>
938 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
939 than #including paragraph.h.
942 * RowList.h: deleted. Superfluous.
952 * insets/insettext.h: use ParagraphList_fwd.h rather than
955 * paragraph.h: don't forward declare ParagraphList.
958 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
959 rather than ParagraphList.h. paragraph.h is still needed for the
960 Paragraph::depth_type parameters.
962 * textcursor.h: enable it to compile stand-alone in light of the
965 * bufferview_funcs.C:
977 * frontends/controllers/ControlParagraph.C:
978 * frontends/controllers/ControlTabular.C:
979 * insets/insetmarginal.C:
980 * insets/insetminipage.C:
981 * insets/insetnote.C:
982 * insets/insetoptarg.C: add header files needed to compile again.
984 2003-09-06 Angus Leeming <leeming@lyx.org>
986 * RowList_fwd.h: new file, forward-declaring Row rather than
992 * insets/insettext.h: use it instead of RowList.h
994 * bufferview_funcs.C:
1001 * text3.C: #include "RowList.h".
1003 2003-09-05 Angus Leeming <leeming@lyx.org>
1005 * factory.C (createInset):
1006 * vspace.C (c-tor): replace sscanf call with an istringstream.
1007 * ispell.C: re-add missing HP/UX headers.
1008 * lyxserver.C: re-add missing os2 headers.
1010 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1019 * text3.C: re-add missing system headers, needed for 2.95.2.
1021 2003-09-05 Angus Leeming <leeming@lyx.org>
1023 Changes most place everywhere due to the removal of using directives
1024 from support/std_sstream.h.
1026 2003-09-05 Angus Leeming <leeming@lyx.org>
1028 Replace LString.h with support/std_string.h,
1029 Lsstream.h with support/std_sstream.h,
1030 support/LIstream.h with support/std_istream.h,
1031 support/LOstream.h with support/std_ostream.h.
1033 Changes resulting throughout the tree.
1035 2003-09-05 Angus Leeming <leeming@lyx.org>
1037 * sgml.h: ensure that the header file can be compiled stand-alone.
1038 * *.C: strip out redundant #includes. (320 in total.)
1040 2003-09-04 Angus Leeming <leeming@lyx.org>
1042 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1043 here (from getPackages).
1045 * debug.[Ch]: add a new EXTERNAL tag.
1047 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1049 * text2.C (cursorEnd): simplify
1051 (getColumnNearX): adjust
1053 * text.C (computeBidiTables): adjust
1056 * rowpainter.C (paintChars): adjust
1057 (paintSelection): adjust
1058 (paintChangeBar): adjust
1061 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1063 (numberOfSeparators): adjust
1065 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1071 * text3.C: Restricts the mouse click functionality
1072 of insets like bibtex, include, toc and floatlist to the visible
1073 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1074 up the dialogs. Cursor has to be in front of the inset (i.e.
1075 start of row) for this to function.
1077 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1079 * bufferview_funcs.C (currentState): output row information
1081 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1083 * bufferview_funcs.C (currentState): output paragraph position
1085 2003-09-04 Angus Leeming <leeming@lyx.org>
1087 * FloatList.h: move out #include "Floating.h".
1088 * LaTeX.h: move out #include "DepTable.h".
1089 * LyXAction.h: move out #include "funcrequest.h".
1090 * buffer.h: move out #include "author.h", "iterators.h".
1091 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1092 * lyx_main.h: move out #include "errorlist.h".
1093 * lyxfunc.h: move out #include "FuncStatus.h".
1094 * lyxtext: move out #include "lyxcursor.h".
1095 * paragraph_pimpl.h: move out #include "counters.h".
1097 2003-09-03 Angus Leeming <leeming@lyx.org>
1099 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1100 preamble_snippets list, enabling us to add snippets to the preamble
1101 only if the snippet was not there already.
1103 2003-09-04 Angus Leeming <leeming@lyx.org>
1105 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1107 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1112 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1114 * BranchList.C: point fix, earlier forgotten
1116 2003-09-02 Angus Leeming <leeming@lyx.org>
1118 * box.C (contains): renamed from 'contained' after a fantastic
1121 2003-09-02 John Levon <levon@movementarian.org>
1127 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1129 2003-09-02 John Levon <levon@movementarian.org>
1131 * text2.C: simplification of cursorEnd(), including partial
1134 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1136 * buffer.C (readFile): add a space
1138 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1140 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1142 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * buffer.C (readFile): new function, take a filename and a
1145 ParagraphList::iterator
1147 (readFile): adjust, make it private. don't use setStream, make
1148 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1149 always contain the filename.
1151 * BufferView.C (insertLyXFile): simplify and make it work for
1154 2003-08-30 John Levon <levon@movementarian.org>
1156 * Makefile.am: fix dist (from Kayvan)
1158 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1160 * most files: change to use const Buffer refs
1162 2003-08-27 André Pönitz <poenitz@gmx.net>
1164 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1165 on top of ownerPar().
1167 2003-08-27 John Levon <levon@movementarian.org>
1169 * funcrequest.C: properly initialise POD members
1171 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1173 * lyxtext.h (top_y): move top_y from here
1178 * BufferView_pimpl.[Ch]: to here
1179 * frontends/screen.C:
1180 * insets/insettabular.C:
1181 * insets/insettext.C: adjust
1182 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1184 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1187 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1189 2003-08-26 André Pönitz <poenitz@gmx.net>
1191 * paragraph_func.[Ch] (outerPar): new function
1194 * paragraph_funcs.C:
1195 * paragraph_funcs.h:
1196 * paragraph_pimpl.C:
1197 * text2.C: remove Inset::par_owner
1199 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1204 * text2.C: eliminates the needFullRow/display() stuff
1205 altogether, putting the logic in metrics/draw in the insets.
1207 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1209 * text2.C (redoParagraphInternal, redoParagraphs):
1210 * text.C (redoParagraph): add a call to updateRowPositions at the
1211 end of each 'metrics-like' call. Remove all others.
1212 (getRow): remove the 'y-computing' version.
1213 (getRowNearY): do not compute nor return the real y. Solve the
1214 'y < 0' problem and simplify.
1216 2003-08-22 Angus Leeming <leeming@lyx.org>
1218 * *.[Ch]: clean-up of licence and author blurbs.
1219 Also move config.h out of a few .h files and into a few .C files.
1221 2003-08-22 André Pönitz <poenitz@gmx.net>
1223 * lyxrow.[Ch]: add x_ and *fill_ members
1228 * text2.C: adjust/remove prepareToPrint() calls
1230 2003-08-22 André Pönitz <poenitz@gmx.net>
1232 * lyxrow.[Ch]: add end_ member
1234 * lyxrow_funcs.C: use LyXRow::end_
1236 * lyxtext.h (singleWidth): add LyXFont parameter
1239 * text2.C: adjust LyXText::singleWidth() calls
1241 * text.C (redoParagraph): simplify row breaking logic
1244 2003-08-19 André Pönitz <poenitz@gmx.net>
1246 * funcrequest.C: initialize button_ member
1249 * rowpainter.[Ch]: interface consolidation
1251 2003-08-18 André Pönitz <poenitz@gmx.net>
1254 * BufferView_pimpl.C:
1256 * paragraph_funcs.C:
1258 * text3.C: remove LyXScreen::draw() and fitCursor calls
1260 * BranchList.h: remove spurious semicolons
1262 * MenuBackend.C: fix branchlist related crash
1264 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1272 * bufferparams.[Ch]:
1276 * text3.C: implements the 'branch inset'
1277 idea. This allows the output of various versions of a document
1278 from a single source version, selectively outputing or suppressing
1279 output of parts of the text.
1280 This implementation contains a 'branch list editor' in a separate
1281 tab of the document settings dialog. Branches are user definable
1282 and have a "display colour" to distinguish them on-screen.
1284 ColorHandler was somewhat cleaned up.
1285 (1) make possible a dynamically growing LColor list by allowing
1286 the graphic context cache to grow along (vector);
1287 (2) eliminate an IMHO unnecessary step in colour allocation.
1289 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1291 * BufferView_pimpl.C: compile fix
1293 2003-08-15 André Pönitz <poenitz@gmx.net>
1295 * rowpainter.C: remove extra metrics calls
1297 * lyxtext.h: merge the two constructors into a single one,
1298 pass reference to owner's par list
1300 * BufferView_pimpl.C:
1304 2003-08-15 André Pönitz <poenitz@gmx.net>
1306 * lyxrow_funcs.[Ch]:
1309 * paragraph_funcs.C:
1314 * text_funcs.C: split LyXText::rowlist_ into individual
1315 Paragraph::rows_ chunks
1318 * BufferView_pimpl.[Ch]:
1321 * text3.C: remove toggleSelection()
1323 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1325 * bufferlist.C: beautify two alerts (shorter text of buttons)
1326 * buffer.C: Remove redundant ' ' from message
1328 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1329 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1330 rename VALIGN_CENTER to VALIGN_MIDDLE
1332 2003-08-11 André Pönitz <poenitz@gmx.net>
1334 * lyxtext.h (getPar):
1335 * text.C: new function
1337 2003-08-11 André Pönitz <poenitz@gmx.net>
1340 * tracer.[Ch]: remove unneeded files
1342 * InsetList.[Ch]: remove resizeInsetsLyXText()
1347 * text3.C: merge insertParagraphs() and appendParagraph()
1348 remove breakAgain(), update()
1350 * BufferView_pimpl.[Ch]:
1351 * bufferview_funcs.[Ch]:
1355 * tabular.C: adjust after text & InsetList changes.
1357 2003-08-08 André Pönitz <poenitz@gmx.net>
1359 * text.C (insertChar, backspace): replace rowlist fiddling
1360 with rebreak of full par
1363 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1364 checkParagraph, updateInset): removed
1366 2003-08-07 André Pönitz <poenitz@gmx.net>
1369 * text3.C: merge some LFUN handlers, remove dead code
1371 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1375 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1377 * text2.C (DEPM): fix part of bug 1255 and 1256
1379 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * BufferView_pimpl.C (workAreaDispatch): change to use
1382 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1383 that are no mouse related.
1385 2003-08-05 André Pönitz <poenitz@gmx.net>
1388 * BufferView_pimpl.[Ch]:
1389 * bufferview_funcs.C:
1391 * text3.C: rip out "deep update"
1393 * textcursor.[Ch] (last_sel_cursor): remove unused member
1395 2003-08-04 André Pönitz <poenitz@gmx.net>
1398 * BufferView_pimpl.[Ch]:
1399 * ParagraphParameters.C:
1400 * bufferview_funcs.C:
1406 * text3.C: replace "complicated" BufferView::update(...) calls with
1409 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1411 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1413 * Makefile.am (lyx_SOURCES): add paper.h
1415 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1417 * Makefile.am: move things around so that both lyx-qt and
1418 lyx-xforms can be built (according to --with-frontend). Then lyx
1419 is a symbolic link to lyx-[firstfrontend]
1421 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1423 * Always use std::endl with lyxerr
1425 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1427 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1429 2003-08-01 André Pönitz <poenitz@gmx.net>
1432 * BufferView_pimpl.[Ch]:
1434 * text3.C: merge BufferView::repaint() and BufferView::update()
1436 2003-08-01 José Matos <jamatos@lyx.org>
1438 * buffer.[Ch]: file_format is no longer a buffer data element.
1440 2003-08-01 André Pönitz <poenitz@gmx.net>
1445 * text2.C: make redoParagraph more independent of current cursor
1447 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1449 * text2.C: remove unneeded members
1451 2003-07-30 André Pönitz <poenitz@gmx.net>
1453 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1455 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1456 create a single function...
1458 * paragraph_funcs.C (moveItem): ... here.
1461 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1463 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1465 * LColor.[Ch]: Add comment and greyedout logical colors.
1467 2003-07-30 André Pönitz <poenitz@gmx.net>
1469 * tabular.C: don't use Assert too heavily. This crashes where it
1472 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1474 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1475 is disabled (bug 1232)
1477 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1479 * factory.C: limited 'arg' scope
1481 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1483 * factory.C: fixed Note submenu issues
1485 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1487 * factory.C: submenu for Note/Comment/Greyedout
1489 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1492 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1494 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1497 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1498 greyedout. Patch provided by Jürgen Spitzmüller.
1500 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1502 * kbmap.C (read): fix error message when reading bind files
1504 2003-07-29 Angus Leeming <leeming@lyx.org>
1506 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1507 certainly does not do what it purports to do. I am doing it, and
1508 us, a favour by killing it.
1510 2003-07-28 José Matos <jamatos@lyx.org>
1512 * buffer.C (readBody, do_writeFile):
1513 * paragraph.C(readParagraph): \end_document replaces \the_end.
1515 2003-07-29 André Pönitz <poenitz@gmx.net>
1518 * BufferView_pimpl.[Ch]:
1522 * textcursor.[Ch]: remove toggleToggle & Co
1524 2003-07-28 José Matos <jamatos@fep.up.pt>
1526 * buffer.C (readParagraph):
1527 * params_func (readParToken, readParagraph):
1528 * paragraph.C (write): \layout -> \begin_layout.
1530 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * lyxlex_pimpl.C (setFile): clean up slightly.
1534 * bufferparams.h: add compressed var
1536 * buffer_funcs.C (readFile): adjust for LyXLex change
1537 (newFile): ditto + simplify
1539 * buffer.C (writeFile): handle writing of compressed files
1541 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1542 Check if the file is compressed and set a bufferparm if so.
1544 * Makefile.am (lyx_LDADD): remove explicit -lz
1546 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1549 makeDocBookFile): put the real LyX version in the first line of
1553 * version.C.in: remove lyx_docversion
1555 * tabular.C (write_attribute): add a template-based version to
1556 write enums properly
1558 2003-07-28 André Pönitz <poenitz@gmx.net>
1563 * text3.C: use doubles again for x-coordinates. They are needed.
1565 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1567 * messages.C (getLocaleDir): use lyx_localedir()
1569 * lyxlex_pimpl.C (setFile): compress stuff
1571 * buffer.C (writeFile): add some compression stuff
1572 (do_writeFile): new func, dont call expliti close... will this
1575 * Makefile.am (lyx_LDADD): add -lz
1577 2003-07-28 José Matos <jamatos@fep.up.pt>
1579 * buffer.C: increment file format.
1580 * paragraph_funcs (readParagraph, readParToken):
1581 * paragraph.C (readParagraph): add \end_layout.
1583 2003-07-27 Angus Leeming <leeming@lyx.org>
1585 * Makefile.am: remove special casing for configure-time setting of
1586 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1588 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1589 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1591 2003-07-26 André Pönitz <poenitz@gmx.net>
1593 * paragraph_func.[Ch]:
1594 * paragraph.C (realizeFont): inline it whereever it is used
1599 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1602 2003-07-26 André Pönitz <poenitz@gmx.net>
1606 * text2.C: get rid of LyXText::need_break_row
1608 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1610 * toc.[Ch]: put namespace toc inside namespace lyx
1612 * MenuBackend.C (expandToc2): adjust for lyx::toc
1615 * lyxfunc.C (dispatch): adjust for lyx::find
1617 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1618 lyx::find instead. Reorganize a bit.
1619 (LyXReplace): rename to replace
1620 (LyXFind): rename to find
1622 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1625 2003-07-26 André Pönitz <poenitz@gmx.net>
1627 * text.C (setHeightOfRow): restrict scope of temporary variable
1629 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1630 code (never has been used?)
1632 2003-07-27 Asger Alstrup <alstrup@local>
1634 * text.C (fill): Optimise algorithm to exploit that we can reuse
1635 the LyXFont for many characters.
1636 (setHeightOfRow): Same thing.
1637 (rowBreakPoint): Same thing.
1639 2003-07-26 Asger Alstrup <alstrup@local>
1641 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1643 * text.C (singleWidth): Spurious font copying in hot-spot
1644 singleWidth avoided. Reorder tests for arabic for efficiency.
1646 * text.C (fill): handle empty paragraphs better.
1648 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1651 * encoding.h: add includes
1653 * lyxrc.C: remove reading of bind files
1655 * lyx_main.C (init): setup bindings and menus only if we have a
1658 * kbmap.C (read): new method. Do the actual reading of bind
1661 * converter.C (dvipdfm_options):
1664 (output): adapt PAPER_* enums.
1666 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1668 * bufferparams.h: remove paper-related enums from there
1670 * paper.h: New file. A trivial header file to hold paper-related
1671 enums. It should later expand to contain many paper-related
1674 * lyxrc.C: declare extern displayTranslator
1676 2003-07-27 José Matos <jamatos@fep.up.pt>
1678 * tabular.[Ch] (linuxdoc): add support for tables and figures
1681 2003-07-27 José Matos <jamatos@fep.up.pt>
1683 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1684 consistency in both functions.
1685 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1687 2003-07-26 Asger Alstrup <alstrup@local>
1689 * rowpainter.C (paintRows): Change algorithm to work directly on
1690 the insets rather than asking every character in the document
1691 whether its an inset.
1693 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1695 * buffer.C (openFileWrite): factorize some code
1697 2003-07-26 Angus Leeming <leeming@lyx.org>
1700 * lyx_main.[Ch]: replace occurances of system_tempdir with
1703 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * rename Inset to InsetOld
1707 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1709 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1710 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1711 which I think is a bit clearer. EDIT is gone, since it was
1712 premature optimisation, and broken for mathed anyway.
1713 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1714 with cursor positioning in insets as well (math insets still do not
1715 work, but that's a different story anyway.) It mysteriously
1716 crashes sometimes with undo in the first paragraph, but I'm fairly
1717 confident that this is a compiler bug.
1719 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * paragraph.C (Paragraph): adjust for new clone return type
1723 (copyIntoMinibuffer): ditto
1725 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1727 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1728 by not having a special case, and always doing a full rebreak of
1729 the document after undo.
1731 2003-07-23 Angus Leeming <leeming@lyx.org>
1733 * factory.C (createInset): InsetExternal::setParams now takes a
1736 2003-07-23 Angus Leeming <leeming@lyx.org>
1738 * factory.C (createInset): changed interface to the external and
1739 graphics mailers' string2params functions.
1741 2003-07-23 Angus Leeming <leeming@lyx.org>
1743 * factory.C (createInset): pass a
1744 Buffer const * parameter to InsetExternalMailer's string2params.
1746 2003-07-22 John Levon <levon@movementarian.org>
1748 * Thesaurus.h: include the right aiksaurus header
1750 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1752 * MenuBackend.C (expand): check menu shortcuts unconditionally
1754 2003-07-21 Angus Leeming <leeming@lyx.org>
1756 * factory.C (createInset): pass a
1757 buffer_path parameter to InsetGraphicsMailer's string2params.
1759 2003-07-21 Angus Leeming <leeming@lyx.org>
1761 * BufferView_pimpl.C (buffer):
1764 * lyxfunc.C (dispatch):
1765 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1766 rather than the grfx shortcut.
1768 2003-07-21 André Pönitz <poenitz@gmx.net>
1770 * rowpainter.C: remove unused variables
1773 * tabular_funcs.h: move to tabular.C
1774 * Makefile.am: adjust
1776 * tabular.[Ch]: basic optical cleaning
1778 * author.h: pass references, not values
1780 2003-07-18 André Pönitz <poenitz@gmx.net>
1788 * text3.C: two-phase drawing for InsetText and InsetTabular
1789 some float -> int changes.
1791 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1793 * lyx_main.C: fix the fix
1795 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1797 * lyx_main.C: fix a crash in batch mode if no files specified
1800 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1802 * format.[Ch] (papersize): moved to BufferParams
1803 * converter.[Ch] (dvips_options): moved to BufferParams
1804 (dvipdfm_options): moved to anon namespace
1805 * bufferparams.[Ch]: added above functions.
1807 2003-07-17 André Pönitz <poenitz@gmx.net>
1811 * text2.C: don't call inset->update() anymore
1813 * metricsinfo.[Ch]: add convenience constructor
1815 2003-07-16 André Pönitz <poenitz@gmx.net>
1820 * text2.C: replace the LyXCursor::irow_ member with
1821 on-demand computation of the value
1823 2003-07-16 John Levon <levon@movementarian.org>
1825 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1827 2003-07-15 André Pönitz <poenitz@gmx.net>
1830 * text2.C: remove no more needed refresh_row
1832 2003-07-15 André Pönitz <poenitz@gmx.net>
1837 * text3.C: refresh_status tristate -> need_update bool
1839 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1841 * lyxtext.h (init): remove reinit argument (act as if always true)
1842 * text2.C: adjust to that
1844 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1846 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1847 * text3.C: use it to delete selections in some cases
1848 (bugs 441, 673, 702, 954).
1850 2003-07-14 André Pönitz <poenitz@gmx.net>
1852 * rowpainter.[Ch]: reduce interface
1854 2003-07-14 André Pönitz <poenitz@gmx.net>
1856 * BufferView_pimpl.C:
1857 * text2.C: adjust after removing unused BufferView * argument
1859 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1861 * text2.C (init): fix a crash fired on resize
1863 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1865 * buffer.[Ch]: added new closing signal
1866 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1867 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1868 BufferView::Pimpl via the closing the signal
1870 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1872 * buffer.[Ch]: take out all bv-related from buffer
1874 * BufferView_pimpl.[Ch]: connect to new signals
1875 * CutAndPaste.C: removed useless asserts
1876 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1879 * lyxfunc.C: moved view-related funciontality from vc here
1880 * paragraph.C: removed outdated comments
1883 2003-07-10 André Pönitz <poenitz@gmx.net>
1885 * BufferView_pimpl.C:
1889 * text2.C: remove InsetText::InnerCache, clean up consequences
1891 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1893 * ispell.C: fix two typos in error messages
1895 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1897 * Extend Note inset to other forms of annotation like Comment
1898 and Greyedout. Right button click gives dialog.
1900 Files modified or added (+):
1904 * ControlNote.[Ch] +
1906 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1907 frontends/controllers
1911 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1913 * aspell.C: add missing namespace lyx::support
1915 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1917 * BufferView.[Ch] (newFile): Add
1918 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1919 * LaTeX.[Ch] (message): added this signal and use it
1920 * buffer.[Ch] (busy, message): added these signals and use them
1921 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1925 * importer.C: use buffer signals instead of direct bv calling
1926 * lyx_cb.[Ch] (ShowMessage): removed
1929 * paragraph_funcs.C:
1930 * text2.C: use buffer signals
1932 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * introduce namespace lyx::graphics
1936 2003-07-02 André Pönitz <poenitz@gmx.net>
1938 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1940 2003-07-01 André Pönitz <poenitz@gmx.net>
1947 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1948 text*.C to text_func.C
1950 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * introduce namespace lyx::support
1954 2003-06-30 André Pönitz <poenitz@gmx.net>
1959 * text.C: re-enable --with-included-string
1961 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1963 * textcursor.C: add <config.h>
1965 * text.C (getWord): remove const from word_location arg
1967 * lyxvc.C (getLogFile): fix const type order
1969 * lyxtext.h: remove const from word_location arg, add arg name
1971 * lyxlayout.h: currect type on labeltype.
1973 * importer.C: correct \file
1975 * converter.C (intToFormat): use std:: on ret val, ws changes
1977 * bufferlist.h: correct \file
1979 * buffer.C (makeLinuxDocFile): fix const type order
1980 (makeDocBookFile): ditto
1981 (fillWithBibKeys): use std:: on stdlib args.
1983 * CutAndPaste.C: fix authors.
1984 (availableSelections): use std:: on return vector
1986 2003-06-27 André Pönitz <poenitz@gmx.net>
1988 * BufferView_pimpl.C:
1989 * bufferview_funcs.C:
1997 * text3.C: remove LyXCursor::row_ member
2000 * text.C: rename fullRebreak() to partialRebreak() and implement
2001 a fullRebreak() that really bereks fully
2003 * textcursor.h: new struct for cursor-related data
2005 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2007 * lyx_main.C (LyX): get full path of document loaded on the
2010 2003-06-26 André Pönitz <poenitz@gmx.net>
2012 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2013 remove unused/broken operator>,<,>=.
2015 * text.C: remove only use of broken operator<= in an Assert().
2017 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2019 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2020 moved errorlist_.clear to showErrorList
2022 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2024 * converter.C (scanLog, runLaTeX):
2025 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2026 move the bv->showErrorList call to the callers
2027 * lyxfunc.C: i.e. here...
2029 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2030 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2031 namespace, the second to...
2032 * buffer_funcs (BufferFormat, parseErrors): added
2033 * errorlist.C (ErrorList(TeXErrors const &)): removed
2035 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2039 2003-06-24 "Garst R. Reese" <reese@isn.net>
2043 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2047 * version.C.in: change docversion to 1.4
2049 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2051 * buffer.C: fix a bug just introduced
2053 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2055 * buffer.[Ch]: added the parseError signal and use it, removed
2057 * BufferView.[Ch] (addError): moved to ...
2058 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2059 to the Buffer::parseError signal to catch (guess what) parse errors
2060 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2062 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2064 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2065 ability to create a buffer and to return an existing one from
2066 the list. Moved these functions to...
2067 * buffer_funcs.[Ch]: added
2068 * BufferView.[Ch] (loadLyXFile): added
2069 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2070 job removed from bufferlist::loadLyXFile.
2071 * buffer.C (setReadOnly): make it work without view
2072 (i.e added an if (users))
2074 2003-06-19 Angus Leeming <leeming@lyx.org>
2077 * LyXAction.C (init):
2078 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2079 with LFUN_DIALOG_SHOW <name> <data>.
2081 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2083 * CutAndPaste.C (availableSelections): small compilation fix for
2084 ancient (gcc 2.9x) compilers
2086 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * text3.C (cursorNext): add tmp var
2090 * text2.C (updateCounters): for function calling out of for clause
2091 (replaceSelectionWithString): ditto
2092 (insertStringAsParagraphs): ditto
2093 (getColumnNearX): add tmp var
2094 (setCursorFromCoordinates): add tmp var
2095 (cursorDownParagraph): add tmp var
2096 (deleteEmptyParagraphMechanism): add tmp var
2098 * text.C (insertChar): add tmp var
2100 * rowpainter.C (paintDepthBar): add tmp var
2102 * CutAndPaste.C (availableSelections): potentially check all
2103 paragraphs in a cut to fill the shown strings.
2105 2003-06-18 André Pönitz <poenitz@gmx.net>
2107 * kbmap.[Ch]: use vector<> instead of list<>
2109 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2111 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2112 pasteSelection with index
2114 * text2.C (pasteSelection): modify, call pasteSelection with index
2116 * paragraph.C (asString): reimplement version with no interval to
2117 call the one with interval.
2119 * lyxtext.h: add index arg to pasteSelection
2121 * MenuBackend.C (MenuItem): handle PasteRecent
2122 (Menu::read::Menutags): add md_pasterecent
2124 (expandPasteRecent): new function
2127 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2129 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2131 (availableSelections): new function
2133 2003-06-17 Angus Leeming <leeming@lyx.org>
2135 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2137 2003-06-17 Angus Leeming <leeming@lyx.org>
2140 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2142 * lyxfunc.C (dispatch): invoke it.
2144 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 * iterators.C (operator++, ParPosition): reintroduce some
2147 const_cast for the benefit of older compilers.
2149 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2151 * text3.C (dispatch): do not modify clipboard when doing
2152 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2153 LFUN_DELETE_SKIP on a selection selection
2155 2003-06-16 André Pönitz <poenitz@gmx.net>
2161 * tabular.[Ch]: IU of clone() and getLabelList();
2163 2003-06-13 André Pönitz <poenitz@gmx.net>
2165 * tabular.h: compactification
2167 2003-06-12 André Pönitz <poenitz@gmx.net>
2171 * tabular_funcs.h: some renaming plus whitespace
2173 2003-06-12 André Pönitz <poenitz@gmx.net>
2176 * BufferView_pimpl.C:
2182 * toc.C: Return a Paragraph & for ParIterator::operator*()
2184 2003-06-11 John Levon <levon@movementarian.org>
2188 * ToolbarBackend.C: add "Toolbars" section and
2191 2003-06-10 Angus Leeming <leeming@lyx.org>
2194 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2196 * lyxfunc.C (dispatch): invoke it.
2198 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * main.C: protect <ios> with HAVE_IOS
2201 (main): protect sync_with_stdio with HAVE_IOS
2203 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2205 * text2.C (cutSelection): adjust
2206 (pasteSelection): adjust
2208 * messages.C: handle get of empty string
2210 * main.C (main): use sync_with_stdio(false)
2212 * lyxfunc.C (dispatch): adjust
2214 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2215 (WriteAs): remove unneeded BufferView arg.
2217 * bufferparams.h: use correct types on papersize, papersize2 and
2220 * bufferparams.C (readToken): adjust for type
2221 (writeLaTeX): add missing cases to switch.
2223 * bufferlist.C (quitWriteBuffer): adjust
2226 * buffer.C (asciiParagraph): remove some commented code.
2228 * CutAndPaste.C: remove current_view extern variable.
2229 (cutSelection): add BufferParams arg.
2230 (eraseSelection): add BufferParams arg.
2231 (pasteSelection): add Buffer const & arg
2233 2003-06-07 John Levon <levon@movementarian.org>
2236 * paragraph_funcs.C:
2237 * paragraph_pimpl.C:
2241 * paragraph.C: allow InsetERT to freely space lines,
2242 and some consolidation of code
2244 2003-06-06 José Matos <jamatos@fep.up.pt>
2246 * buffer.C (makeDocBookFile): fix bug #821
2248 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2250 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2252 2003-06-04 Angus Leeming <leeming@lyx.org>
2254 * buffer.C: bump format to 224.
2256 2003-06-05 André Pönitz <poenitz@gmx.net>
2258 * text2.C (redoParagraphs): remove two const_cast<>
2260 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2262 * ParagraphList.h: remove last remnants of NO_STD_LIST
2264 2003-06-03 Angus Leeming <leeming@lyx.org>
2266 * factory.C (createInset): small change to the way InsetExternal's params
2269 2003-06-04 André Pönitz <poenitz@gmx.net>
2271 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2273 * paragraph_pimpl.h:
2274 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2276 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2278 * undo_funcs.C: make some simple cases of undo work again
2280 2003-06-03 John Levon <levon@movementarian.org>
2282 * ispell.C: HPUX doesn't have sys/select.h
2285 2003-06-03 John Levon <levon@movementarian.org>
2287 * CutAndPaste.C: update tabular and include inset
2292 * paragraph.C: remove owningBuffer(), don't pass Buffer
2295 * factory.C: insetGraphicsParams changed
2297 2003-06-02 John Levon <levon@movementarian.org>
2303 * text3.C: remove insetparent
2305 2003-06-02 John Levon <levon@movementarian.org>
2308 * buffer.C: fix inset_iterator.end(), move out of line
2311 2003-06-01 John Levon <levon@movementarian.org>
2313 * text3.C: use a proper cut/paste when doing inset
2314 insert (from Jürgen Spitzmüller)
2316 2003-06-01 John Levon <levon@movementarian.org>
2318 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2320 2003-05-30 André Pönitz <poenitz@gmx.net>
2322 * rowpainter.C: unify second drawing phase
2324 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * trans_mgr.C: remove one case of current_view
2328 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2330 * paragraph_funcs.h: remove paragraph.h include
2332 * paragraph.h: delete NO_STD_LIST stuff
2334 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2336 * buffer.h: remove paragraph.h include
2338 * ParagraphList.C: delete file
2340 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2342 * toc.C (getTocList): adjust
2344 * paragraph_pimpl.C (validate): adjust
2346 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2348 * paragraph.C (Paragraph): adjust
2349 (getPositionOfInset): use const_iterator, adjust
2350 (bibitem): use const_iterator, adjust
2351 (setInsetOwner): adjust
2353 * iterators.C (operator++): adjust
2355 * InsetList.[Ch]: Replace selfmade iterator with standard
2356 vector::iterator also introduce const_iterator. Remove getPos,
2357 getInset and setInset from InsetTable. Adjust accordingly.
2359 * BufferView.C (lockInset): adjust
2360 (ChangeInsets): adjust
2362 * tabular.[Ch]: delete commented same_id functions
2364 2003-05-28 John Levon <levon@movementarian.org>
2366 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2368 2003-05-28 André Pönitz <poenitz@gmx.net>
2370 * metricsinfo.[Ch]: remove 'fullredraw' member
2372 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2374 * lyxtextclass.C (operator): remove caching.
2376 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2380 * text2.C (cursorBottom): adjust
2381 (setCounter): use ParagraphList::find, adjust
2383 * text.C (workWidth): use ParagraphList::find, adjust
2385 * lyxcursor.C (LyXCursor): adjust
2387 * buffer.C (inset_iterator): adjust
2389 * ParagraphList.h: make iterator(value_type) private, make
2390 ParagraphList a friend of iterator.
2392 * ParagraphList.C (find): new function
2394 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2396 2003-05-27 André Pönitz <poenitz@gmx.net>
2398 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2400 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2402 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2404 2003-05-26 John Levon <levon@movementarian.org>
2406 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2408 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * remove same_id from function signatures, adjust.
2412 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2414 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2416 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2418 * paragraph.C (Paragraph): get rid of same_ids parameter
2420 * ParagraphList.C (insert): adjust
2423 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * paragraph_funcs.C (breakParagraph): adjust
2426 (breakParagraphConservative): adjust
2428 * buffer.C (readParagraph): adjust
2430 * ParagraphList.C (insert): take a reference instead of a pointer
2433 * paragraph.[Ch] (id): new function
2435 * bufferlist.C (newFile): adjust
2437 * ParagraphList.C (ParagraphList): adjust
2439 (push_back): take a reference instead of a pointer.
2441 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2443 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2446 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2447 set else use old code.
2449 * ParagraphList.C: remove all NO_NEXT code and only compile this
2450 code of NO_STD_LIST is set.
2452 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2454 * BufferView_pimpl.C:
2464 * graphics/GraphicsConverter.C:
2465 * graphics/PreviewLoader.C: header adjustment
2467 2003-05-23 Angus Leeming <leeming@lyx.org>
2469 * LaTeXFeatures.[Ch] (useBabel): new method.
2470 * bufferparams.C (writeLaTeX): use it.
2472 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * ParagraphList.h (set): remove unused function.
2476 2003-05-23 André Pönitz <poenitz@gmx.net>
2479 * BufferView_pimpl.C:
2483 * undo_funcs.C: setUndo reworked
2485 * iterators.[Ch]: add access to topmost ParagraphList
2487 * lyxtext.[Ch] (workWidth): add a const
2489 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2491 * texrow.[Ch] (increasePos): remove function
2492 * exporter.C (export): removed unused var and outdated comment
2494 2003-05-23 Angus Leeming <leeming@lyx.org>
2496 * latexrunparams.h: rename fragile as moving_arg.
2497 * paragraph.C (simpleTeXOnePar): ditto.
2498 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2500 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2504 (textUndoOrRedo): comment out a currently unused var.
2506 * paragraph.h (NO_NEXT): enable NO_NEXT
2508 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2510 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2512 * exporter.C (Export): adjust for removeAutoInsets removal.
2514 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2516 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2518 * BufferView.[Ch] (removeAutoInsets): delete function
2520 2003-05-22 Angus Leeming <leeming@lyx.org>
2522 * latexrunparams.h: add a free_spacing variable.
2524 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2525 to pass moving_arg, as the data is stored in runparams.fragile.
2527 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2528 to Inset::latexOptional or to simpleTeXOnePar.
2530 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2531 free_spacing arg to Inset::latexOptional.
2533 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2536 2003-05-22 Angus Leeming <leeming@lyx.org>
2538 * latexrunparams.h: add fragile and use_babel variables.
2540 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2541 * buffer.C (makeLaTeXFile): store this returned value in
2542 runparams.use_babel, thus passing it to the inset::latex methods.
2544 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2545 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2547 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2548 longer has a fragile arg, as it is stored in runparams.fragile.
2550 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2551 moving_arg parameter as the data is stored in runparams.fragile.
2553 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2554 a fragile parameter as the data is stored in runparams.fragile.
2556 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2558 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2560 2003-05-22 Angus Leeming <leeming@lyx.org>
2562 * latexrunparams.h: add a 'bool nice' which defaults to false.
2564 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2565 now encapsulated within runparams.
2567 * bufferlist.C (updateIncludedTeXfiles):
2568 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2570 2003-05-22 Angus Leeming <leeming@lyx.org>
2572 * latexrunparams.h: new file containing struct LatexRunParams.
2573 * Makefile.am: add new file.
2575 * LaTeX.[Ch] (c-tor, run):
2576 * buffer.[Ch] (makeLaTeXFile):
2577 * bufferlist.[Ch] (updateIncludedTeXfiles):
2578 * converter.C (convert, scanLog):
2579 * converter.[Ch] (runLaTeX):
2580 * exporter.C (Export):
2581 * paragraph.[Ch] (simpleTeXOnePar):
2582 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2583 * paragraph_funcs.[Ch] (latexParagraphs):
2584 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2585 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2586 pass around a LatexRunParams parameter.
2588 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * paragraph.[Ch]: remove unused constructor
2592 * ParagraphList.C (erase): new function, taking two iterators
2594 2003-05-22 André Pönitz <poenitz@gmx.net>
2596 * undo_funcs.C: remove duplicated code
2598 * iterator.[Ch]: operator=
2600 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * tabular.C (SetMultiColumn): ws changes
2604 * rowpainter.C (paintFirst): get rid of a ->previous
2606 * lyx_cb.C (getPossibleLabel): parlist simplification
2608 * BufferView.C (ChangeInsets): simplify slightly.
2610 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2612 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2613 * lfuns.h: new LFUN_SPACE
2614 * lyxfunc.C: protected space has a new lfun
2615 * paragraph_funcs.C: read new space insets
2617 * factory.C: handle new space insets
2619 2003-05-22 André Pönitz <poenitz@gmx.net>
2622 * BufferView_pimpl.C:
2625 * undo_funcs.C: return a ParIterator from getParFromID.
2627 * iterators.[Ch]: add two const's
2629 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2631 * toc.C (getTocList): adjust
2633 * iterators.[Ch]: rework for parlist
2635 * buffer.C (par_iterator_begin): adjust
2636 (par_iterator_end): adjust
2638 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2640 * BufferView.C (removeAutoInsets): adjust
2641 (ChangeInsets): adjust
2643 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2645 * text.C (top_y): fix bug 1110
2647 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2649 * errorlist.[Ch]: added
2652 * BufferView_pimpl.C:
2653 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2656 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2658 * Makefile.am: ensure that lyx is relinked upon changes to the
2659 various "convenience" libs.
2661 2003-05-20 Angus Leeming <leeming@lyx.org>
2663 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2664 files are compiled in alphabetical order again.
2666 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2668 2003-05-19 Angus Leeming <leeming@lyx.org>
2670 * gettext.[Ch]: remove "char const * _(char const *)".
2672 2003-05-19 André Pönitz <poenitz@gmx.net>
2674 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2683 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2685 2003-05-19 André Pönitz <poenitz@gmx.net>
2689 * lyxtextclass.[Ch]:
2691 * paragraph_funcs.[Ch]:
2693 * text3.C: more insetenv work
2695 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2697 * ParagraphParameters.C (params2string): small bug fixed
2699 2003-05-16 André Pönitz <poenitz@gmx.net>
2702 * bufferview_funcs.C: patch from Kornel Benko to prevent
2703 crash when _(...) is called twice in a statement
2705 2003-05-16 André Pönitz <poenitz@gmx.net>
2712 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2714 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2716 * lyx_main.C (init): remove spurious static_cast
2718 2003-05-14 André Pönitz <poenitz@gmx.net>
2720 * BufferView.C: fix format string
2722 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2724 * BufferView.[Ch] (insertErrors): removed
2725 * BufferView.[Ch] (showErrorList): added
2726 * buffer.C (runChkTeX):
2727 * converter.C (scanLog): call showErrorList instead of inserterrors
2729 2003-05-13 André Pönitz <poenitz@gmx.net>
2731 * BufferView_pimpl.C:
2733 * bufferview_func.C:
2740 * tabular_funcs.h: tostr() from its own header
2742 * ParagraphParameters.C:
2747 * text3.C: STRCONV()
2749 2003-05-12 André Pönitz <poenitz@gmx.net>
2752 * BufferView_pimpl.C:
2756 * ParagraphParameters.C:
2760 * bufferview_funcs.C:
2773 * paragraph_funcs.C:
2777 * text3.C: boost::format -> bformat all over the place
2780 2003-05-09 André Pönitz <poenitz@gmx.net>
2782 * LColor.[Ch]: Pimpl the #include <map> away
2784 2003-05-09 John Levon <levon@movementarian.org>
2786 * bufferlist.C: never remove emergency saves
2788 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * Makefile.am: better lib building
2792 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2794 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2796 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2797 (simpleTeXSpecialChars): adjust
2798 (simpleTeXSpecialChars): adjust
2799 * paragraph.C (simpleTeXOnePar): adjust
2800 * buffer.C (makeLaTeXFile): adjust
2802 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2804 * text2.C (changeDepth): parlist cleanup
2805 (getColumnNearX): ditto
2807 * rowpainter.C (getLabelFont): parlist cleanup
2809 * bufferlist.C (newFile): parlist cleanup
2811 * CutAndPaste.C (eraseSelection): parlist cleanup
2813 * BufferView_pimpl.C (trackChanges): parlist cleanup
2816 * BufferView.C (lockInset): parlist cleanup.
2817 (ChangeInsets): ditto
2819 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2821 * CutAndPaste.h: Update file header.
2823 * CutAndPaste.C: Update file header.
2824 Store the parts cut out of the Document in a limited_stack.
2825 (copySelection): adjust
2826 (pasteSelection): new function, takes the index in the limited stack.
2827 (nrOfParagraphs): adjust
2828 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2829 simplify error inset insertion.
2830 (checkPastePossible): adjust
2832 2003-05-06 John Levon <levon@movementarian.org>
2834 * text2.C: don't cast wrap inset to float
2836 2003-05-05 André Pönitz <poenitz@gmx.net>
2839 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2841 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2842 few naked Paragraph *.
2844 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2846 * bufferparams.C: Output warning if a document with missing
2847 TeX document class is loaded
2848 * exporter.C: Disable TeX exports if the document class is missing
2851 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2852 isTeXClassAvailable()
2854 2003-05-03 John Levon <levon@movementarian.org>
2857 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2858 explicit cursor show/hide
2860 * BufferView_pimpl.h:
2861 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2862 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2864 * lyxfunc.C: hide cursor before dispatching.
2869 * text3.C: remove explicit cursor hides
2871 2003-05-02 André Pönitz <poenitz@gmx.net>
2873 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2876 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2879 * text2.C: tiny whitespace
2881 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2883 * undo_funcs.C: almost only ws changes.
2885 * ParagraphList.C (splice): just return if pl is empty.
2887 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * ParagraphList.C (splice): new function.
2891 * CutAndPaste.C (pasteSelection): use it
2893 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2895 * CutAndPaste.C (pasteSelection): remove the last next and
2896 previous from this file.
2898 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * CutAndPaste.C (pasteSelection): more clean up, user proper
2901 ParagraphList functions for pasteing.
2903 * ParagraphList.C (insert): new function, three arg insert
2905 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * ParagraphList.C (insert): new function, three arg insert
2909 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2912 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2916 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2918 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2920 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2923 (copySelection): clean up a bit.
2924 (pasteSelection): use make_pair
2926 * ParagraphList.C (ParagraphList): implement copy constructor
2927 (operator=): implement, base on copy constructor.
2930 * paragraph.C (erase): return a bool
2932 * paragraph_pimpl.C (erasePos): remove function, move contents...
2933 (erase): ... here. Return a bool.
2934 (erase): call erase instead of erasePos.
2936 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2938 * ParagraphList.h: define PitPosPair
2939 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2940 ParagraphList, fix a bug on pasting multiple pars
2941 * text2.C: change interface to C&P
2943 2003-04-30 André Pönitz <poenitz@gmx.net>
2945 * undo_func.C: revert part of yesterday's patch 2
2947 2003-04-30 John Levon <levon@movementarian.org>
2949 * LColor.C: s/tabular/table/
2951 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * text3.C (dispatch): do not convert iterator -> pointer
2954 * undo_funcs.C (setCursorParUndo): ditto
2955 * text_funcs.C (transposeChars): ditto
2957 * text2.C (setLayout): ws changes only
2959 * text.C (breakParagraph): do not convert iterator -> pointer
2961 (acceptChange): ditto
2962 (rejectChange): ditto
2967 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2970 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2972 * text3.C (gotoInset): YABG (yet another bad getChar)
2974 2003-04-29 André Pönitz <poenitz@gmx.net>
2976 * paragraph.h: make operator= private unimplemented as long as
2979 * ParagraphList.C: whitespace
2982 * paragraph_pimpl.[Ch]:
2983 * paragraph_funcs.C:
2985 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2988 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2990 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2992 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2993 * paragraph.[Ch] (erase):
2994 * paragraph_pimpl.[Ch] (erase): change return type and value
2995 * text2.C (cutSelection): some rework
2997 2003-04-28 John Levon <levon@movementarian.org>
2999 * bufferlist.C: changes for unsaved changes dialog
3001 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * bufferlist.C (newFile): set language (messages_) for new
3006 * buffer.C (readFile): ws changes only.
3008 2003-04-28 André Pönitz <poenitz@gmx.net>
3013 * BufferView_pimpl.C:
3014 * BufferView.C: getParFromID related ParagraphList::iterator changes
3016 2003-04-28 André Pönitz <poenitz@gmx.net>
3018 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3021 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3023 * messages.C: remove one more localedir class variable.
3025 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3027 * messages.C (getLocaleDir): singleton generation function
3029 (Messages): add a default constructor.
3031 * main.C (main): do not setup localedir here, do not call
3034 * gettext.C (_): use it.
3035 (gettext_init): delete funciton
3037 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * gettext.C (getLyXMessages): new singleton generating function.
3041 * buffer.C (updateDocLang): adjust
3043 * Makefile.am (messages.o): add target
3044 (main.o): remove target
3046 2003-04-27 John Levon <levon@movementarian.org>
3051 * lyxvc.C: specify cancel button in Alert::prompt
3053 2003-04-26 John Levon <levon@movementarian.org>
3058 * LyXAction.C: add LFUN_INSET_SETTINGS
3060 * lyxfunc.C: don't enable tabular-feature when there's
3061 just any locking inset
3063 2003-04-26 John Levon <levon@movementarian.org>
3065 * bufferlist.C: re-add Cancel to buffer close question
3067 * lyxfunc.C: fix import UI a bit
3069 2003-04-25 John Levon <levon@movementarian.org>
3071 * gettext.C: remove the broken asserts for now
3073 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * messages.C: make case where setlocale cannot comply work better.
3077 * buffer.C (updateDocLang): new function
3078 (changeLanguage): use it
3081 * text2.C (setCounter): use B_ a bit.
3083 * lyxlayout.C (Read): be sure to trim the label strings.
3085 * messages.C (Messages): fix typo in comment
3087 * buffer.C (readFile): set message_ after file is loaded.
3088 (makeDocBookFile): remove double return
3089 (changeLanguage): reset message_ upon language change.
3090 (B_): new func, use this to get translated buffer strings.
3092 * main.C: add myself and Jean Marc as authors.
3094 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * messages.[hC]: pimplify Messages, and three different pimpls to be
3097 used in different circumstances.
3099 * gettext.[Ch]: change for use with new message code.
3101 2003-04-24 André Pönitz <poenitz@gmx.net>
3103 * factory.C: support for eqref
3105 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * messages.[Ch]: add missing char
3109 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3111 * messages.[Ch]: New files
3113 2003-04-18 John Levon <levon@movementarian.org>
3117 * BufferView_pimpl.C:
3121 * text2.C: remove layout-copy/paste (bug 778)
3123 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3125 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3127 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3129 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3130 if they succeed. Act accordingly.
3132 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * text2.C (setCharFont): adjust
3135 (setCounter): adjust
3136 (insertStringAsLines): adjust
3138 * text.C (leftMargin): adjust
3139 (setHeightOfRow): adjust
3141 * rowpainter.C (paintFirst): adjust
3144 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3146 (isFirstInSequence): ditto
3147 (getEndLabel): ditto
3150 * paragraph.C (getParLanguage): comment out some hard stuff.
3152 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3154 (simpleDocBookOnePar): ditto
3155 (makeDocBookFile): use ParagraphList::iterator
3157 * CutAndPaste.C (pasteSelection): adjust
3159 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * text2.C (getFont): adjust
3162 (getLayoutFont): adjust
3163 (getLabelFont): adjust
3165 * paragraph_funcs.C (TeXOnePar): adjust
3167 * buffer.C (simpleLinuxDocOnePar): adjust
3168 (simpleDocBookOnePar): adjust
3170 * CutAndPaste.C (pasteSelection): adjust
3172 * BufferView.C (getEncoding): adjust
3174 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3176 2003-04-16 John Levon <levon@movementarian.org>
3178 * lyxfind.C: use parlist stuff for search/changes
3180 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3184 * text2.C (deleteEmptyParagraphMechanism): adjust
3186 * text2.[Ch] (ownerParagraph): delete func (both of them
3188 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3192 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * ParagraphList.C: prepare for NO_NEXT
3196 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * text2.C (getFont): adjust
3199 (getLayoutFont): adjust
3200 (getLabelFont): adjust
3202 * paragraph.C (getFont): adjust
3203 (getLabelFont): adjust
3204 (getLayoutFont): adjust
3206 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3208 2003-04-15 John Levon <levon@movementarian.org>
3212 * lyx_main.C: handle Include in .ui files
3214 2003-04-15 John Levon <levon@movementarian.org>
3216 * MenuBackend.C: make the doc files length shorter
3219 * ToolbarBackend.C: handle toolbar placement flags,
3222 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3227 * paragraph_funcs.C (TeXOnePar): adjust
3229 * paragraph.C (getLabelFont): add outerfont arg, adjust
3230 (getLayoutFont): ditto
3231 (simpleTeXOnePar): adjust
3233 * paragraph_pimpl.C (realizeFont): delete func
3235 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3237 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3238 row argument, constify cur argument.
3240 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * text2.C (getFont): adjust
3243 (getLayoutFont): adjust
3244 (getLabelFont): adjust
3246 * paragraph_funcs.C (TeXOnePar): adjust
3247 (outerFont): new func...
3248 (realizeFont): ...moved out from here, changed this to facilitate
3251 * paragraph.C (getFont): take outerfont as arg, adjust
3252 (simpleTeXOnePar): add outerfont arg, adjust
3254 * buffer.C (simpleLinuxDocOnePar): adjust
3255 (simpleDocBookOnePar): adjust
3257 * CutAndPaste.C (pasteSelection): adjust
3259 * BufferView.C (getEncoding): adjust
3261 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * text2.C (setCharFont): adjust
3264 (setCounter): adjust
3266 * text.C (leftMargin): adjust
3267 (setHeightOfRow): adjust
3269 * rowpainter.C (paintFirst): adjust
3272 * paragraph_pimpl.C (realizeFont): adjust
3274 * paragraph.C (isFirstInSequence): move from here...
3275 * paragraph_funcs.C (isFirstInSequence): ...to here
3277 * paragraph.C (outerHook): move from here...
3278 * paragraph_funcs.C (outerHook): ...to here
3280 * paragraph.C (depthHook): move from here...
3281 * paragraph_funcs.C (depthHook): ...to here
3283 * paragraph.C (getEndLabel): move from here...
3284 * paragraph_funcs.C (getEndLabel): ...to here
3286 * text2.C (realizeFont): move from here...
3287 * paragraph_funcs.C (realizeFont): ...to here
3289 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3293 2003-04-14 Angus Leeming <leeming@lyx.org>
3295 * LColor.[Ch]: scrap LColor mathcursor.
3297 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * lyxlex.[Ch] (text): delete function
3300 * trans.C (Load): adjust
3301 * paragraph_funcs.C (readParToken): adjust
3303 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3306 vector<char> instead of a char[].
3308 * lyxlex_pimpl.C (getString): adjust
3310 (lex): use getString
3314 * lyxlex.C (text): use pimpl_->getString()
3318 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3321 (makeFontEntriesLayoutSpecific): temp var for par.size()
3322 (setLayout): temp var for ownerParagraphs().end()
3323 (fullRebreak): temp var for rows().end()
3324 (selectionAsString): temp var for boost::next(startpit), realize
3325 that the while really is a regular for loop.
3326 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3327 setCursor in one place.
3328 (setParagraph): temp vr for ownerParagraphs().end()
3329 (updateCounters): make the while loop a for loop
3330 (cutSelection): temp var for ownerParagraphs().end()
3331 (updateInset): make the do {} while() a regular for loop
3332 (getCursorX): use temp vars
3333 (setCurrentFont): use temp vars
3334 (getColumnNearX): use temp vars
3336 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * text.C (transformChar): use temp var for getChar
3339 (computeBidiTables): use temp var for row->par()
3340 (fill): move temp vars for row->par() and pit->layout() earlier in
3342 (labelFill): use temp var for row->par()
3343 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3344 asc and desc, realize that pit never changes and that firstpit is
3345 just a duplicate and not needed. Exchange rit->par() with pit in a
3347 (breakAgain): use a temp var for boost::next(rit)
3348 (breakAgainOneRow): ditto
3349 (breakParagraph): use a temp var for rows().begin()
3350 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3351 (cursorRightOneWord): use temp var for cursor.par() and
3352 cursor.pos(), remove usage of tmpcursor.
3353 (cursorLeftOneWord): use temp var for cursor.par() and
3354 cursor.pos() only set cur at end of function.
3356 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * text.C, text2.C: exchange all usage of Paragraph::next with
3359 boost::next(ParagraphList::iterator)
3361 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3363 * text2.C (cursorTop): simplify implementation
3364 (cursorBottom): ditto
3365 (setParagraph): use ParagraphList::iterator
3366 (setCurrentFont): adjust
3367 (getColumnNearX): adjust
3368 (cursorRight): adjust
3369 (cursorLeft): remove usage of Paragraph::previous
3370 (cursorUpParagraph): ditto
3371 (deleteEmptyParagraphMechanism): slight cleanup
3373 * text.C (isBoundary): take a Paragraph const & instead of a
3375 (addressBreakPoint): ditto
3376 (leftMargin): remove usage of Paragraph::previous.
3377 (setHeightOfRow): ditto
3378 (cursorLeftOneWord): ditto
3379 (selectNextWordToSpellcheck): ditto
3382 (breakParagraph): remove one usage of Paragraph::next
3383 (redoParagraph): ditto
3384 (acceptChange): ditto
3385 (insertChar): adjust
3386 (rowBreakPoint): adjust
3388 * bufferview_funcs.C (toggleAndShow): adjust
3390 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3392 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3393 methods to access it.
3395 * text.C: Added updateRowPositions to compute all row positions.
3396 Make top_y and getRowNearY() to use the cached y position
3398 2003-04-11 John Levon <levon@movementarian.org>
3400 * text.C (rowBreakPoint): reintroduce the labelEnd
3401 checks, code copied from the row fill stuff. Deep voodoo.
3403 * text.C (fill): add a comment and debugging for the
3406 2003-04-11 John Levon <levon@movementarian.org>
3408 * text.C: make sure fullrow insets get wrapped to the next line,
3409 even when they're in a manual label
3411 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * text2.C (insertParagraph): make it take ParagraphList::iterator
3415 (setLayout): make it return ParagraphList::iterator
3416 (redoParagraphs): ditto
3418 (checkParagraph): ditto
3420 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3422 * text2.C: adjust several funcs.
3423 (realizeFont): take a ParagraphList::iterator as arg.
3424 (getLayoutFont): ditto
3425 (getLabelFont): ditto
3426 (setCharFont): ditto
3428 * text.C: adjust several funcs.
3430 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3432 * text.C (selectNextWordToSpellcheck): don't accidentally
3435 2003-04-10 John Levon <levon@movementarian.org>
3437 * ToolbarBackend.C (getIcon): special handling for
3440 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3442 * text2.C (cursorRight): a getChar assert fixed
3444 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * text2.C (getFont): change to take a ParagraphList::iterator
3447 instead of Paragraph*
3448 Adjust several functions.
3450 * text.C (transformChar): change to take a ParagraphList::iterator
3451 instead of Paragraph*
3452 (singleWidth): ditto
3453 Adjust several functions.
3455 * rowpainter.C: adjust several functions
3456 * rowpainter.h:store a ParagraphList::iterator and not a
3460 2003-04-09 John Levon <levon@movementarian.org>
3465 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3466 and the "help" bits as well
3468 2003-04-09 John Levon <levon@movementarian.org>
3471 * ToolbarBackend.C: allow multiple toolbars
3473 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * undo_funcs.C (setCursorParUndo): adjust
3477 * text_funcs.C (transposeChars): adjust
3479 * text3.C (gotoNextInset): adjust
3482 * text2.C (setLayout): adjust
3483 (changeDepth): adjust
3485 (redoParagraphs): adjust
3486 (selectionAsString): adjust
3487 (setParagraph): adjust
3488 (insertInset): adjust
3489 (cutSelection): adjust
3490 (copySelection): adjust
3491 (pasteSelection): adjust
3492 (insertStringAsLines): adjust
3493 (updateInset): adjust
3494 (setCursor): change to take a ParagraphList::iterator parameter
3495 (setCursorIntern): change to take a ParagraphList::iterator parameter
3496 (setCurrentFont): adjust
3497 (cursorLeft): adjust
3498 (cursorRight): adjust
3499 (deleteEmptyParagraphMechanism): adjust
3501 * text.C (breakParagraph): adjust
3502 (insertChar): adjust
3503 (acceptChange): adjust
3504 (rejectChange): adjust
3505 (selectNextWordToSpellcheck): adjust
3506 (changeCase): adjust
3510 * lyxfind.C (SearchForward): adjust
3511 (SearchBackward): adjust
3512 (nextChange): adjust
3514 * lyxcursor.C (par): adjust
3516 * lyxcursor.h: store a ParagraphList::iterator instead of a
3519 * lyx_cb.C (getPossibleLabel): adjust
3521 * bufferview_funcs.C (toggleAndShow): adjust
3523 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3526 * BufferView.C (removeAutoInsets): adjust
3527 (lockedInsetStoreUndo): adjust
3529 2003-04-09 John Levon <levon@movementarian.org>
3531 * ToolbarBackend.C: try icon without argument
3532 if with argument fails
3534 2003-04-08 John Levon <levon@movementarian.org>
3537 * ToolbarBackend.C: add getIcon(), handle tooltip,
3538 and change from "Icon" to "Item".
3540 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3542 * BufferView.C (lockInset): another bad getchar crunched
3544 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3546 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3549 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3551 * lyxfind.C (searchForward, searchBackwards): bug 782
3553 2003-04-07 John Levon <levon@movementarian.org>
3555 * paragraph.C: remove dead comment
3557 * text.C: remove troublesome depth-fiddling code
3558 in leftMargin() and rightMargin() (bug 1017)
3560 * text.C: fix breaking of rows in nested lists
3563 * text2.C (updateCounters): fix up depth values
3566 2003-04-07 John Levon <levon@movementarian.org>
3568 * BufferView_pimpl.C: clear message when doc finishes resizing,
3569 and after a mouse event
3571 * lyxfunc.C: clear message after exiting inset
3573 2003-04-07 John Levon <levon@movementarian.org>
3575 * bufferview_funcs.C: show math status not outside
3576 status in the statusbar
3578 2003-04-07 John Levon <levon@movementarian.org>
3580 * lyxfunc.C: note status changed after a depth change
3582 2003-04-04 Angus Leeming <leeming@lyx.org>
3584 * LaTeX.h: move AuxInfo operator==, != out of line.
3585 Remove LaTeX virtual destructor; nothing derives from it.
3586 Move operator()() out of public area and rename it startscript().
3587 Change protected for private.
3589 2003-04-04 Angus Leeming <leeming@lyx.org>
3592 * text2.C: remove unneeded #includes.
3594 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3596 * text2.C (dEPM): fix the heigth of the next row
3598 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3600 * text.C: squashed an invalid getChar requester + some ws changes
3602 2003-04-03 John Levon <levon@movementarian.org>
3604 * bufferview_funcs.h:
3605 * bufferview_funcs.C:
3608 * text2.C: make getStatus work for the env depth lfuns
3610 2003-04-03 John Levon <levon@movementarian.org>
3612 * bufferview_funcs.h:
3613 * bufferview_funcs.C:
3616 * text2.C: parlistize decDepth(), by merging it with incDepth()
3618 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * lyxrow.h: store a ParagraphList::iterator instead of a
3621 Paragraph* and adjust other class functions to suit.
3623 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3626 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3628 * text2.C (setCursor): do not anchor to cursor row for the time being
3630 2003-04-02 John Levon <levon@movementarian.org>
3637 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3639 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * paragraph.h: make ParagraphList and ParagraphList::iterator
3642 friends of Paragraph.
3644 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3646 * ParagraphList.C: Use the private next_ and previous_ from
3649 2003-04-01 John Levon <levon@movementarian.org>
3653 * Makefile.am: rename, remove defaults gunk
3656 * MenuBackend.C: remove defaults gunk
3659 * Languages.C: remove defaults gunk
3662 * lyx_main.C: error out if files couldn't be found.
3664 2003-04-02 John Levon <levon@movementarian.org>
3666 * text2.C: make incDepth() use parlist
3668 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3670 * undo_funcs.C (firstUndoParagraph): adjust
3672 * text3.C (gotoInset): adjust
3673 (dispatch): adjust, and rewrite loop.
3675 * text2.C (init): adjust, and rewrite loop.
3676 (redoParagraphs): adjust
3677 (updateInset): adjust, and rewrite loop.
3678 (deleteEmptyParagraphMechanism): adjust
3680 * tabular.C (LyXTabular): adjust
3681 (SetMultiColumn): adjust
3684 * lyxtext.[Ch] (ownerParagraph): delete function
3685 (ownerParagraphs): new function returns a ParagraphList.
3687 * BufferView.C (removeAutoInsets): adjust
3688 (insertErrors): adjust
3689 (setCursorFromRow): adjust
3691 2003-04-01 Angus Leeming <leeming@lyx.org>
3693 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3696 2003-04-02 John Levon <levon@movementarian.org>
3702 * text_funcs.C: make transposeChars a free function
3704 * lyxrow_funcs.C: remove wrong comment
3706 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * rowpainter.C: adjust
3714 * lyxrow_funcs. [Ch]: new files
3716 * lyxrow.[Ch]: remove next and previous pointers
3717 (next,previous): remove accessor functions
3718 (isParEnd): move to lyxrow_funcs
3719 (lastPos): move to lyxrow_funcs
3720 (nextRowIsAllInset): move to lyxrow_funcs
3721 (lastPrintablePos): move to lyxrow_funcs
3722 (numberOfSeparators): move to lyxrow_funcs
3723 (numberOfHfills): move to lyxrow_funcs
3724 (numberOfLabelHfills): move to lyxrow_funcs
3725 (hfillExpansion): move to lyxrow_funcs
3729 * bufferview_funcs.C (toggleAndShow): adjust
3731 * RowList.h: Remove class RowList from file leave just a
3734 * RowList.C: delete file
3736 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3739 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * text3.C (cursorPrevious): adjust
3742 (cursorNext): adjust
3745 * text2.C (redoHeightOfParagraph): adjust
3746 (redoDrawingOfParagraph): adjust
3749 * text.C (breakParagraph): adjust
3750 (insertChar): adjust
3753 * rowpainter.C (RowPainter): adjust
3754 (leftMargin): simplify and adjust
3755 (most rowpainter functions): adjust.
3757 * rowpainter.h: store the row as RowList::iterator not as Row*
3759 * lyxcursor.C (row): taka RowList::iterator as arg
3762 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3765 2003-04-01 Angus Leeming <leeming@lyx.org>
3767 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3768 stuff like bool Bool.
3770 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3772 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3775 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3780 * lyxtext.h (rows): drop one version and leve a const variant that
3781 returns a RowList::iterator.
3783 2003-03-31 Angus Leeming <leeming@lyx.org>
3785 * text.C (fill): ensure that the signature is the same as that in the
3788 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * text2.C (redoParagraphs): adjust
3791 (updateCounters): adjust
3792 (checkParagraph): adjust
3793 (getColumnNearX): adjust and reformat a bit.
3795 * text.C (top_y): adjust
3797 (leftMargin): adjust
3798 (prepareToPrint): adjust
3800 (getRowNearY): adjust
3802 * lyxtext.h: make rowlist_ mutable.
3804 * RowList.h: add const_iterator
3805 * RowList.C: adjust for RowList::const_iterator.
3807 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3810 2003-03-31 John Levon <levon@movementarian.org>
3813 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3815 * lyx_main.C: set default fonts from using lyx_gui funcs
3817 * exporter.C: pdf_mode moved from lyxrc
3820 * lyxfunc.C: changes from above
3822 2003-03-31 John Levon <levon@movementarian.org>
3824 * lyx_main.C: fix to the last fix
3826 2003-03-31 John Levon <levon@movementarian.org>
3828 * bufferlist.C: "Load original" -> "Load Original"
3834 * format.C: more Alert cleanups
3836 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * text2.C (removeParagraph): make it take a RowList::iterator as
3840 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3841 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3843 * text.C (anchor_row): make it take a RowList::iterator as arg,
3845 (computeBidiTables): make it take a const reference to Row instead
3846 of Row pointer, adjust.
3847 (leftMargin): make it take a RowList::iterator as arg, adjust.
3848 (rowBreakPoint): adjust
3849 (breakAgainOneRow): make it take a RowList::iterator as arg,
3851 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3853 * bufferview_funcs.C (toggleAndShow): adjust
3855 2003-03-30 John Levon <levon@movementarian.org>
3859 * boost-inst.C: moved to support
3861 * several files: changes as a result
3863 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3865 * text2.C (LyXText): adjust.
3867 (removeRow): make it take a RowList::iterator as arg, adjust.
3868 (fullRebreak): adjust
3869 (deleteEmptyParagraphMechanism): adjust
3870 (clearPaint): adjust
3873 * text.C (top_y): adjust
3874 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3875 (breakAgain): make it take a RowList::iterator as arg, adjust.
3876 (breakParagraph): adjust
3877 (insertChar): adjust
3880 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3881 need_break_row, and refresh_row.
3883 * text3.C (dispatch): adjust
3885 * text2.C (checkParagraph): adjust
3887 (setCursorFromCoordinates): adjust
3889 * text.C (top_y): adjust
3891 (getRow): make it return a RowList::iterator, adjust
3892 (getRowNearY): make it return a RowList::iterator, adjust
3894 * text2.C (init): adjust
3895 (insertRow): remove function
3896 (insertParagraph): adjust
3897 (redoParagraphs): adjust
3898 (fullRebreak): adjust
3899 (updateCounters): adjust
3901 * text.C (top_y): rewrite to use RowList iterators.
3903 (setHeightOfRow): rewrite to sue RowList iterators.
3904 (appendParagraph): adjust
3905 (breakAgain): adjust
3906 (breakAgainOneRow): adjust
3907 (breakParagraph): adjust
3909 (getRowNearY): adjust, and remove commented code.
3911 * lyxtext.h (firstRow): delete function
3912 (lastRow): delete function
3913 (rows): new function (const and non-const versions.)
3914 (insertRow): delete function
3916 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3918 2003-03-29 John Levon <levon@movementarian.org>
3920 * BufferView_pimpl.C: always update scrollbar top
3921 because pasting text when we're anchored could mean we
3922 miss an update altogether
3924 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * text2.C (init): use rowlist_.end() and not 0.
3927 (insertRow): change to take a RowList::iterator as arg, adjust
3929 (insertParagraph): change to take a RowList::iterator as arg,
3931 (redoParagraphs): remove some debug msgs.
3933 * text.C (appendParagraph): change to take a RowList::iterator
3934 arg, adjust for this.
3935 (breakAgain): add an assert
3936 (breakAgainOneRow): ditto
3938 2003-03-29 John Levon <levon@movementarian.org>
3940 * text2.C: do not clear selection after inc/decDepth
3943 2003-03-29 John Levon <levon@movementarian.org>
3946 * buffer.C: fix broken strerrors according to Lars
3948 2003-03-29 John Levon <levon@movementarian.org>
3950 * converters.C: more Alert cleanups
3952 2003-03-29 John Levon <levon@movementarian.org>
3954 * bufferview_funcs.C: remove pointless Alert
3956 * buffer.C: fix confusing error message when
3957 a template is chmoded 000
3959 2003-03-29 John Levon <levon@movementarian.org>
3963 * BufferView_pimpl.C: Alert fixes
3967 * tabular-old.C: remove unused table compat reading
3969 2003-03-29 John Levon <levon@movementarian.org>
3974 * lyx_cb.C: more Alert cleanups
3976 * lyxfunc.C: don't allow chktex if not latex document
3978 2003-03-29 John Levon <levon@movementarian.org>
3982 * buffer.C: warnings pushed down from support/,
3985 2003-03-29 John Levon <levon@movementarian.org>
3987 * lyxfunc.C: safety check for C-r (revert)
3989 2003-03-29 John Levon <levon@movementarian.org>
3992 * bufferlist.C: several UI fixes using Alert::prompt.
3993 Fix the pointless looping quit code. Fix stupid revert
3998 * lyx_cb.C: use Alert::prompt
4000 * lyx_main.C: remove a silly question
4002 * lyxfunc.C: remove a couple of silly questions,
4005 2003-03-28 John Levon <levon@movementarian.org>
4007 * text2.C: fix bug 974 (End on empty par)
4009 2003-03-28 John Levon <levon@movementarian.org>
4011 * BufferView_pimpl.C:
4013 * lfuns.h: remove do-nothing math greek lfuns
4015 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4017 * lyxgluelength.h (isValidGlueLength): add default arg on
4018 parameter 2. Remove default arg from friend in class.
4020 * lyxlength.h (isValidLength): add default arg on parameter 2.
4021 Remove default arg from friend in class.
4023 * text2.C (LyXText): adjust, initialize refresh_row.
4027 (insertParagraph): adjst
4028 (redoParagraphs): adjust
4029 (fullRebreak): adjust
4030 (updateCounters): adjust
4031 (deleteEmptyParagraphMechanism): first attempt at fixing a
4034 * text.C (top_y): adjust
4035 (setHeightOfRow): adjust
4037 (getRowNearY): adjust
4039 * lyxtext.h: include RowList.h
4040 (~LyXText): not needed anymore, deleted.
4041 (firstRow): modify for RowList
4042 (lastRow): new function
4043 Delete firstrow and lastrow class variables, add a Rowlist
4044 rowlist_ class variable.
4046 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4049 * RowList.C (insert): fix case where it == begin().
4051 2003-03-26 Angus Leeming <leeming@lyx.org>
4053 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4054 the thesaurus dialog.
4056 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4060 * RowList.[Ch]: new files
4062 * ParagraphList.C (erase): handle the case where it == begin
4065 2003-03-25 John Levon <levon@movementarian.org>
4069 * aspell.C: add new aspell support
4072 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4075 2003-03-25 Angus Leeming <leeming@lyx.org>
4078 * LyXAction.C (init): new LFUN_INSET_INSERT.
4080 * BufferView_pimpl.C (dispatch): split out part of the
4081 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4083 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4086 2003-03-25 Angus Leeming <leeming@lyx.org>
4088 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4090 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4093 * text3.C: remove useless row->height(0)
4095 2003-03-25 John Levon <levon@movementarian.org>
4099 * text3.C: rename the refreshing stuff to better names
4101 2003-03-24 John Levon <levon@movementarian.org>
4103 * BufferView_pimpl.h:
4104 * BufferView_pimpl.C: update layout choice on a mouse
4107 2003-03-23 John Levon <levon@movementarian.org>
4109 * Makefile.am: fix commandtags.h reference
4111 2003-03-22 John Levon <levon@movementarian.org>
4113 * BufferView_pimpl.C:
4118 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4120 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4123 * text.C: take the rtl methods out of line
4125 2003-03-21 André Pönitz <poenitz@gmx.net>
4127 * metricsinfo.[Ch]: new files containing structures to be passed around
4128 during the two-phase-drawing...
4130 2003-03-21 André Pönitz <poenitz@gmx.net>
4132 * lyxtextclass.C: read 'environment' tag.
4134 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4136 * text2.C (removeRow): fix bug 964
4138 2003-03-20 John Levon <levon@movementarian.org>
4142 * text2.C: paint cleanups. Inset::update() dropped font
4145 2003-03-19 John Levon <levon@movementarian.org>
4147 * lyxfunc.C: only fitcursor/markDirty if available()
4149 2003-03-19 John Levon <levon@movementarian.org>
4151 * commandtags.h: rename to ...
4153 * lfuns.h: ... this, and renumber / cleanup
4155 2003-03-19 John Levon <levon@movementarian.org>
4157 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4158 fit the cursor after an lfun
4162 * BufferView_pimpl.h:
4163 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4165 * LyXAction.C: layout-character should have ReadOnly
4167 * ParagraphParameters.C:
4169 * bufferview_funcs.C:
4176 * undo_funcs.C: changes from above
4178 2003-03-18 John Levon <levon@movementarian.org>
4180 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4181 remove it from update()
4183 * lyxfunc.C: update layout choice after an lfun
4185 * text3.C: remove extra updateLayoutChoice()s
4187 2003-03-18 John Levon <levon@movementarian.org>
4189 * text.C: top_y change means full repaint, fix
4190 a drawing bug with cursor movement
4192 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4196 * text2.C: anchor row on setCursor
4198 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4200 * lyxtext.h: remove almost all mutable keywords
4203 * text3.C: remove const keywords accordingly
4205 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4209 (TeXEnvironment): ditto
4212 2003-03-17 John Levon <levon@movementarian.org>
4214 * text.C (rowBreakPoint): remove attempt to fix displayed
4215 math insets inside a manual label
4217 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * lyxtext.h: remove BufferView* as first arg from almost all class
4221 * other files: adjust.
4223 2003-03-17 John Levon <levon@movementarian.org>
4227 * text2.C: more paint cleanups
4229 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4232 * rowpainter.C: remove "smart" background painting code
4234 2003-03-16 John Levon <levon@movementarian.org>
4239 * text3.C: add helper functions for setting refresh_row/y
4241 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4243 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4244 newline inset which *can* get inserted in the pass_thru layouts.
4245 This is primarily for literate documents.
4247 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4249 * buffer.C: increment LYX_FORMAT to 223
4251 2003-03-14 André Pönitz <poenitz@gmx.net>
4253 * textclass.h: prepare for environment handling, ws changes
4254 * lyxlayout.C: read latexheader and latexfooter tags
4256 2003-03-14 John Levon <levon@movementarian.org>
4258 * text2.C: rewrite ::status() a bit
4260 2003-03-13 John Levon <levon@movementarian.org>
4262 * lyxtext.h: add some docs
4264 2003-03-13 John Levon <levon@movementarian.org>
4269 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4271 2003-03-13 John Levon <levon@movementarian.org>
4273 * text3.C: fix appendix redrawing
4275 2003-03-13 John Levon <levon@movementarian.org>
4277 * text.C (setHeightOfRow):
4279 * rowpainter.C: make appendix mark have the text
4280 "Appendix" so the user knows what it is
4283 * LColor.C: s/appendixline/appendix/ from above
4285 2003-03-13 John Levon <levon@movementarian.org>
4287 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4289 * text.C: fix a getChar(pos) bug properly
4291 2003-03-13 Angus Leeming <leeming@lyx.org>
4294 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4295 Probably only temporary. Let's see how things pan out.
4297 * BufferView.C (unlockInset):
4298 * BufferView_pimpl.C (fitCursor):
4299 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4301 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4302 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4304 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4305 new functions that convert ParagraphParameters to and from a string.
4307 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4308 BufferView::Pimpl's dispatch.
4309 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4311 2003-03-13 André Pönitz <poenitz@gmx.net>
4315 * factory.C: make it aware of InsetEnv
4317 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * text2.C (setCursor): never ask for one past last
4320 (setCursor): add some debugging messages.
4322 * text.C (singleWidth): never ask for one past last
4323 (singleWidth): ditto
4325 (rightMargin): ditto
4326 (rowBreakPoint): ditto
4327 (setHeightOfRow): ditto
4328 (prepareToPrint): ditto
4330 * rowpainter.C (paintBackground): never ask for one past last
4331 (paintText): never ask for one past last
4333 * paragraph_pimpl.C (getChar): make the assert stricter, never
4334 allow the one past last pos to be taken
4336 * paragraph.C (getChar): ws changes only
4338 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4339 (numberOfSeparators): ditto
4340 (numberOfHfills): ditto
4342 2003-03-12 John Levon <levon@movementarian.org>
4348 * paragraph_funcs.C: fix per-buffer authorlists
4350 2003-03-12 John Levon <levon@movementarian.org>
4352 * text.C: fix newline in right address
4354 2003-03-12 Angus Leeming <leeming@lyx.org>
4356 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4357 duplicate those in LyXFunc::dispatch.
4361 * ToolbarDefaults.C:
4362 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4363 Add LFUN_FONTFREE_UPDATE.
4365 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4366 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4368 * bufferview_func.[Ch]: several new functions to facilliate
4369 transfer of data to and from the character dialog.
4371 2003-03-12 John Levon <levon@movementarian.org>
4376 * paragraph_funcs.C:
4377 * paragraph_pimpl.C:
4381 * text3.C: remove META_NEWLINE in favour of an inset
4384 * rowpainter.C: remove paintNewline (done by inset)
4386 2003-03-12 John Levon <levon@movementarian.org>
4388 * paragraph_pimpl.C: complain about bad getChar()s
4389 for a while at least
4391 2003-03-12 John Levon <levon@movementarian.org>
4394 * buffer.C: move paragraph read into a separate function,
4395 a little renaming to reflect that.
4398 * bufferparams.C: remove the author_ids map, not necessary now
4401 * factory.C: moved Buffer::readInset to here
4403 * paragraph_funcs.h:
4404 * paragraph_funcs.C: readParagraph free function moved from
4407 * tabular.C: name change
4409 2003-03-12 John Levon <levon@movementarian.org>
4412 * ParagraphParameters.C: move par params input to
4415 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4416 behave like a normal read from the stream wrt reading
4417 a line vs. a \\token
4419 2003-03-12 John Levon <levon@movementarian.org>
4422 * ParagraphParameters.h:
4423 * ParagraphParameters.C: move output code to a
4426 2003-03-12 John Levon <levon@movementarian.org>
4428 * BufferView.C (insertLyXFile):
4431 * tabular.C: use a parlist iterator for creating the
4434 2003-03-12 John Levon <levon@movementarian.org>
4436 * buffer.C: make current_change static local not
4439 2003-03-12 John Levon <levon@movementarian.org>
4441 * buffer.C: fix insertStringAsLines for change tracking
4443 2003-03-12 John Levon <levon@movementarian.org>
4450 * bufferparams.C: move author list into params. Rename some
4451 functions. Move the header reading into a separate token
4452 loop. Move the header token reading into BufferParams.
4454 2003-03-12 John Levon <levon@movementarian.org>
4456 * changes.C: put debug inside lyxerr.debugging() checks
4458 2003-03-11 André Pönitz <poenitz@gmx.net>
4460 * factory.C: make it aware of InsetHFill
4462 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4464 * buffer.C (latexParagraphs): move function from here...
4465 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4468 2003-03-10 Angus Leeming <leeming@lyx.org>
4470 * LyXAction.C (init): fix bug in poplating array with multiple entries
4471 with the same LFUN (spotted by JMarc).
4473 2003-03-10 John Levon <levon@movementarian.org>
4476 * text2.C: move getColumnNearX() near its
4479 2003-03-10 John Levon <levon@movementarian.org>
4481 * text.C: fix break before a minipage
4483 2003-03-10 John Levon <levon@movementarian.org>
4485 * text.C: fix the last commit
4487 2003-03-09 John Levon <levon@movementarian.org>
4491 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4492 bug 365 (don't break before insets unless needed). Don't
4493 return a value > last under any circumstances.
4495 2003-03-09 Angus Leeming <leeming@lyx.org>
4497 * BufferView_pimpl.C (trackChanges, dispatch): call
4498 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4500 2003-03-09 Angus Leeming <leeming@lyx.org>
4502 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4503 than Dialogs::showAboutlyx().
4505 2003-03-09 Angus Leeming <leeming@lyx.org>
4507 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4508 than Dialogs::showTabularCreate().
4510 2003-03-09 John Levon <levon@movementarian.org>
4514 * text2.C: 3rd arg to nextBreakPoint was always the same.
4517 2003-03-08 John Levon <levon@movementarian.org>
4524 * text2.C: Remove the "main" bit from the "main body"
4527 2003-03-08 John Levon <levon@movementarian.org>
4529 * text.C (leftMargin): The left margin of an empty
4530 manual label paragraph should not include the label width
4533 * text.C (prepareToPrint): don't attempt to measure hfills
4534 for empty manual label paragraphs - the answer should be 0
4536 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * CutAndPaste.C: remove commented code and reindent.
4540 2003-03-08 John Levon <levon@movementarian.org>
4543 * lyxfunc.C: move reloadBuffer()
4546 * BufferView.C: to here
4548 * lyxvc.C: add comment
4551 * vc-backend.C: call bv->reload() to avoid
4552 getStatus() check on MENURELOAD
4554 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4556 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4557 to an old format .dep file.
4559 2003-03-07 Angus Leeming <leeming@lyx.org>
4561 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4562 when the LFUN_MOUSE_RELEASE should have been handled by
4563 inset->localDispatch.
4565 2003-03-07 Angus Leeming <leeming@lyx.org>
4567 * BufferView_pimpl.C (dispatch):
4568 * LyXAction.C (init):
4569 * ToolbarDefaults.C (init):
4571 * lyxfunc.C (getStatus):
4572 remove LFUN_INSET_GRAPHICS.
4574 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4576 2003-03-07 Angus Leeming <leeming@lyx.org>
4579 * LyXAction.C (init):
4580 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4582 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4585 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4587 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4588 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4590 2003-03-07 Angus Leeming <leeming@lyx.org>
4592 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4595 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * ParagraphList.C (front): new function
4600 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4602 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4603 and top_row_offset_. removed var first_y.
4605 * text2.C (LyXText, removeRow):
4607 * BufferView_pimpl.C:
4608 use these methods instead of using first_y
4610 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * text2.C (pasteSelection): adjust for checkPastePossible
4614 * CutAndPaste.C: remove Paragraph * buf and replace with
4615 ParagraphList paragraphs.
4616 (DeleteBuffer): delete
4617 (cutSelection): change the tc type to textclass_type
4618 (copySelection): change the tc type to textclass_type
4619 (copySelection): adjust for ParagraphList
4620 (pasteSelection): change the tc type to textclass_type
4621 (pasteSelection): adjust for Paragraphlist
4622 (nrOfParagraphs): simplify for ParagraphList
4623 (checkPastePossible): simplify for ParagraphList
4624 (checkPastePossible): remove unused arg
4626 * ParagraphList.C (insert): handle the case where there are no
4629 * CutAndPaste.h: make CutAndPaste a namespace.
4631 * text3.C (dispatch): adjust
4633 * text.C (breakParagraph): add a ParagraphList as arg
4635 * paragraph_funcs.C (breakParagraph): change to take a
4636 BufferParams and a ParagraphList as args.
4637 (breakParagraphConservative): ditto
4638 (mergeParagraph): ditto
4639 (TeXDeeper): add a ParagraphList arg
4640 (TeXEnvironment): ditto
4643 * buffer.C (readLyXformat2): adjust
4644 (insertStringAsLines): adjust
4645 (latexParagraphs): adjust
4647 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4648 (cutSelection): adjust
4649 (pasteSelection): adjust
4651 * BufferView_pimpl.C (insertInset): adjust
4653 2003-03-05 Angus Leeming <leeming@lyx.org>
4656 * LyXAction.C (init):
4657 * BufferView_pimpl.C (dispatch):
4658 * lyxfunc.C (getStatus):
4659 remove LFUN_CHILD_INSERT.
4661 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4663 2003-03-05 Angus Leeming <leeming@lyx.org>
4666 * LyXAction.C (init):
4667 * src/factory.C (createInset):
4668 * lyxfunc.C (getStatus):
4669 * text3.C (dispatch):
4670 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4672 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4674 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * ParagraphList.C (insert): handle insert right before end()
4677 (erase): fix cases where it can be first or last paragraph.
4679 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4682 Paragraph::next and Paragraph::previous
4685 * text.C (breakParagraph): adjust
4687 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4688 BufferParams& as arg.
4689 (breakParagraph): use ParagraphList::insert
4690 (breakParagraphConservative): take a Buffer* instead of a
4691 BufferParams& as arg.
4692 (breakParagraphConservative): use ParagraphList::insert.
4694 * buffer.C (insertStringAsLines): un-const it
4695 (insertStringAsLines): adjust
4697 * ParagraphList.C (insert): new function
4699 * CutAndPaste.C (pasteSelection): adjust
4701 * text.C (backspace): adjust
4703 * tabular.C (SetMultiColumn): adjust
4705 * CutAndPaste.C (cutSelection): adjust
4706 (pasteSelection): adjust
4708 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4709 Buffer const * as arg
4711 * ParagraphList.C (erase): new function
4712 * paragraph_funcs.C (mergeParagraph): use it
4713 (mergeParagraph): make it take a Buffer* instead of a
4714 BufferParams* as arg
4716 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4718 (breakParagraphConservative): ditto
4720 * paragraph.h: remove the breakParagraph friend
4722 * paragraph.C (eraseIntern): new function
4723 (setChange): new function
4725 * paragraph_funcs.C (mergeParagraph): make it take a
4726 ParagraphList::iterator instead of a Paragraph *, adjust
4729 * paragraph.h: move an #endif so that the change tracking stuff
4730 also works in the NO_NEXT case.
4732 2003-03-04 Angus Leeming <leeming@lyx.org>
4735 * LyXAction.C: new LFUN_INSET_MODIFY.
4737 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4738 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4740 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * several files: ws changes only
4744 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4745 (TeXEnvironment): ditto
4748 * buffer.C (makeLaTeXFile): adjust
4749 (latexParagraphs): make it take ParagraphList::iterator as args
4751 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * buffer.C (latexParagraphs): adjust
4755 * paragraph.C (TeXOnePar): move function...
4756 (optArgInset): move function...
4757 (TeXEnvironment): move function...
4758 * paragraph_pimpl.C (TeXDeeper): move function...
4759 * paragraph_funcs.C: ...here
4761 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4763 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4765 * buffer.C (readInset): remove compability code for old Figure and
4768 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * buffer.C: ws changes
4773 * BufferView_pimpl.C: ditto
4776 * bufferlist.h: ditto
4780 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4782 * converter.[Ch]: split into itself +
4785 * Makefile.am: += graph.[Ch] + format.[Ch]
4792 * lyxrc.C: added #include "format.h"
4794 2003-02-27 Angus Leeming <leeming@lyx.org>
4796 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4799 * factory.C (createInset): add "label" to the factory.
4801 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4802 string and do no more.
4804 2003-02-27 Angus Leeming <leeming@lyx.org>
4807 * LyXAction.C (init):
4808 * factory.C (createInset):
4809 * BufferView_pimpl.C (dispatch):
4810 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4812 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4814 * lyxfunc.C (dispatch):
4815 * text3.C (dispatch): pass name to params2string.
4817 2003-02-26 Angus Leeming <leeming@lyx.org>
4819 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4821 Rearrange the ~includes. Strip out the unnecessary ones.
4823 * factory.C (createInset): reformat.
4824 create new insets for the various LFUN_XYZ_APPLY lfuns.
4826 2003-02-26 John Levon <levon@movementarian.org>
4829 * lyxrow.C: add isParStart,isParEnd helpers
4831 * paragraph.h: make isInserted/DeletedText take refs
4833 * paragraph_funcs.h:
4834 * paragraph_funcs.C: remove #if 0'd code
4839 * text.C: use lyxrow helpers above.
4840 Move draw and paint routines to RowPainter.
4841 Make several methods use refs not pointers.
4842 Make backgroundColor() const.
4843 Add markChangeInDraw(), isInInset().
4844 Merge changeRegionCase into changeCase.
4845 Make workWidth() shouldn't-happen code into an Assert.
4848 * rowpainter.C: new class for painting a row.
4851 * vspace.C: make inPixels take a ref
4853 2003-02-26 Angus Leeming <leeming@lyx.org>
4855 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4858 2003-02-25 John Levon <levon@movementarian.org>
4860 * ispell.C: give the forked command a more accurate name
4862 2003-02-22 John Levon <levon@movementarian.org>
4865 * toc.C: make TocItem store an id not a Paragraph *
4868 2003-02-21 Angus Leeming <leeming@lyx.org>
4870 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4871 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4872 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4873 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4874 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4875 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4877 * BufferView_pimpl.C (dispatch):
4878 * LyXAction.C (init):
4879 * factory.C (createInset):
4880 * lyxfunc.C (getStatus, dispatch):
4881 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4883 2003-02-21 Angus Leeming <leeming@lyx.org>
4885 * BufferView_pimpl.C (MenuInsertLyXFile):
4886 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4887 * lyxfunc.C (menuNew, open, doImport):
4888 no longer pass a LyXView & to fileDlg.
4890 2003-02-21 Angus Leeming <leeming@lyx.org>
4892 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4893 * LyXAction.C: change, BIBKEY to BIBITEM.
4894 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4895 Change InsetBibKey to InsetBibitem.
4896 Change BIBKEY_CODE to BIBITEM_CODE.
4897 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4898 * factory.C: replace insetbib.h with insetbibitem.h.
4899 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4900 * paragraph.C: replace insetbib.h with insetbibitem.h.
4901 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4902 Change bibkey() to bibitem().
4903 * text.C: remove insetbib.h.
4904 * text2.C: replace insetbib.h with insetbibitem.h.
4905 change bibkey() to bibitem().
4906 * text3.C: remove insetbib.h.
4907 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4909 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4911 * lyxrc.C (output): enclose user email in quotes (in case there are
4914 2003-02-18 John Levon <levon@movementarian.org>
4916 * buffer.h: add std::
4918 2003-02-17 John Levon <levon@movementarian.org>
4924 * pspell.C: reworking. Especially in ispell, a large
4925 number of clean ups and bug fixes.
4927 * lyxfunc.C: fix revert to behave sensibly
4929 2003-02-17 André Pönitz <poenitz@gmx.net>
4932 * commandtags.h: new LFUN_INSERT_BIBKEY
4942 * paragraph_func.C: remove special bibkey handling
4944 2003-02-17 John Levon <levon@movementarian.org>
4946 * text.C (Delete): fix case where delete at the end of
4947 the very first paragraph would not merge the pars
4949 2003-02-17 John Levon <levon@movementarian.org>
4951 * lyxrow.C: fix lastPrintablePos()
4953 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4955 * bufferparams.C (writeLaTeX): add a std:here
4957 * buffer.C: and remove a using directive there
4959 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4961 * buffer.C (makeLaTeXFile): move the code that generates the
4964 * bufferparams.C (writeLaTeX): ... in this new method
4966 * LaTeXFeatures.C (getEncodingSet): make const
4967 (getLanguages): make const
4969 * MenuBackend.C (binding): returns the binding associated to this
4971 (add): sets the status of each item by calling getStatus. Adds
4973 (read): add support for OptSubMenu
4974 (expand): remove extra separator at the end of expanded menu
4976 2003-02-15 John Levon <levon@movementarian.org>
4979 * BufferView_pimpl.C:
4981 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4982 inset code that had no actual effect. Remove unneeded status
4985 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4987 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4990 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4992 * text.C (drawLengthMarker): also draw an arrow marker for
4993 symbolic lengths (medskip...)
4995 2003-02-14 John Levon <levon@movementarian.org>
4998 * tabular.C: better method names
5000 2003-02-14 John Levon <levon@movementarian.org>
5002 * BufferView_pimpl.C:
5007 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5008 it's a more accurate name. Remove some pointless uses.
5010 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5012 * text2.C (LyXText): change order of initilizers to shut off
5015 2003-02-14 John Levon <levon@movementarian.org>
5017 * buffer.C: use ParIterator for getParFromID()
5021 * paragraph_pimpl.h:
5022 * paragraph_pimpl.C: remove unused getParFromID()
5024 2003-02-14 John Levon <levon@movementarian.org>
5026 * buffer.C: remove some very old #if 0'd parse code
5028 2003-02-13 John Levon <levon@movementarian.org>
5032 * text2.C: move hfillExpansion(), numberOfSeparators(),
5033 rowLast(), rowLastPrintable(), numberofHfills(),
5034 numberOfLabelHfills() ...
5037 * lyxrow.C: ... to member functions here.
5042 * text.C: remove LyXText::beginningOfMainBody(), and call
5043 p->beginningOfMainBody() directly. Move the check for
5044 LABEL_MANUAL into the latter.
5051 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5057 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5058 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5060 2003-02-13 John Levon <levon@movementarian.org>
5062 * CutAndPaste.C: remove debug
5064 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5066 * paragraph.C (asString): remove two unused variables
5068 * lyxtextclass.C (readTitleType):
5070 (LyXTextClass): handle new members titletype_ and titlename_
5072 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5074 2003-02-09 John Levon <levon@movementarian.org>
5077 * buffer.C: replace hand-coded list with a map for the dep clean
5079 2003-02-08 John Levon <levon@movementarian.org>
5081 * LaTeX.C: consolidate code into showRunMessage() helper
5083 2003-02-08 John Levon <levon@movementarian.org>
5088 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5089 and pass the size in explicitly
5091 * BufferView_pimpl.h:
5092 * BufferView_pimpl.C:
5094 * BufferView.C: add getCurrentChange()
5096 * BufferView_pimpl.h:
5097 * BufferView_pimpl.C: handle change lfuns
5099 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5100 for changes. Mark pasted paragraphs as new.
5102 * support/lyxtime.h:
5103 * support/lyxtime.C:
5104 * DepTable.C: abstract time_t as lyx::time_type
5107 * LColor.C: add colours for new text, deleted text, changebars
5109 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5110 package use "usenames" option.
5114 * LyXAction.C: add change lfuns
5118 * author.C: author handling
5121 * buffer.C: add a per-buffer author list, with first entry as
5122 current author. Handle new .lyx tokens for change tracking. Output
5123 author list to .lyx file. Output dvipost stuff to .tex preamble.
5124 Bump lyx format to 222.
5127 * bufferlist.C: add setCurrentAuthor() to reset current author details
5131 * bufferparams.C: add param for tracking
5133 * bufferview_funcs.C: output change info in minibuffer
5137 * changes.C: add change-tracking structure
5140 * debug.C: add CHANGES debug flag
5143 * lyxfind.C: add code for finding the next change piece
5146 * lyxrc.C: add user_name and user_email
5149 * lyxrow.C: add a metric for the top of the text line
5152 * text.C: implement accept/rejectChange()
5155 * text.C: paint changebars. Paint new/deleted text in the chosen
5156 colours. Strike through deleted text.
5160 * paragraph_pimpl.h:
5161 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5162 in the current change to the insert functions. Rework erase to
5163 mark text as deleted, adding an eraseIntern() and a range-based
5164 erase(). Implement per-paragraph change lookup and
5167 * paragraph_funcs.C: Fixup paste for change tracking.
5169 * tabular.C: mark added row/columns as new.
5171 * text.C: fix rowLast() to never return -1. Don't allow
5172 spellchecking of deleted text. Track transpose changes. Don't
5173 allow paragraph break or merge where appropriate.
5175 * text2.C: leave cursor at end of selection after a cut.
5177 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5179 * text.C (getLengthMarkerHeight):
5180 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5181 visible on screen too.
5183 2003-02-07 John Levon <levon@movementarian.org>
5185 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5187 2003-02-05 Angus Leeming <leeming@lyx.org>
5189 * lyxserver.C (read_ready): revert my patch of 11 September last year
5190 as it sends PC cpu through the roof. Presumably this means that
5191 the lyxserver will no longer run on an Alpha...
5193 2003-01-30 Angus Leeming <leeming@lyx.org>
5195 * factory.C (createInset): create an InsetCommandParam of type "index"
5196 and use it to 'do the right thing'.
5198 * text2.C (getStringToIndex): ensure that cursor position is always
5199 reset to the reset_cursor position.
5201 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5203 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5206 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5210 * lyxfunc.C: Output messages with identical spelling, punctuation,
5213 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5215 * MenuBackend.C (expandFormats): List only viewable export formats
5218 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5221 * lyxfunc.C (getStatus): Make sure that formats other than
5222 "fax" can also be disabled
5224 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5226 * text3.C (dispatch): put the lfuns that insert insets in 3
5227 groups, and call doInsertInset with appropriate arguments.
5228 (doInsertInset): new function, that creates an inset and inserts
5229 it according to some boolean parameters.
5231 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * buffer.C (readFile): remember to pass on 'par' when calling
5234 readFile recursively.
5236 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5238 * MenuBackend.C (expandFormats): add "..." to import formats.
5240 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5242 * paragraph.C (asString): Remove XForms RTL hacks.
5244 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5245 * buffer.C: fix typo
5247 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * Makefile.am (LIBS): delete var
5250 (lyx_LDADD): add @LIBS@ here instead.
5252 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5254 * Clarify the meaning of "wheel mouse jump"
5256 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5258 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5261 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5263 * importer.C (Loaders): do not preallocate 3 elements in the
5264 vector, since one ends up with 6 elements otherwise
5266 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5268 * DepTable.C (write): write the file name as last element of the
5269 .dep file (because it may contain spaces)
5270 (read): read info in the right order
5272 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5274 * paragraph_pimpl.C (simpleTeXBlanks):
5275 (simpleTeXSpecialChars):
5276 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5278 * tabular.C (latex): add some missing case statements. Reindent.
5280 * MenuBackend.C (expandToc): remove unused variable.
5282 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5291 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5294 2003-01-05 John Levon <levon@movementarian.org>
5297 * BufferView.C: add getEncoding()
5300 * kbsequence.C: do not store last keypress
5303 * lyxfunc.C: store last keypress here instead. Pass encoding
5306 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5308 * lyx_main.C (init): remove annoying error message when following
5309 symbolic links (bug #780)
5311 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5313 * text.C (insertChar):
5314 * lyxrc.C (getDescription): remove extra spaces
5316 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5318 * lyxrc.C (getDescription): remove extra spaces
5320 2002-12-20 John Levon <levon@movementarian.org>
5322 * text3.C: hack fix for page up/down across tall rows
5324 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5326 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5329 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5331 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5332 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5333 thesaurus is not compiled in
5335 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5337 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5339 2002-12-16 Angus Leeming <leeming@lyx.org>
5342 * lyx_main.C (init): remove override_x_deadkeys stuff.
5344 2002-12-12 John Levon <levon@movementarian.org>
5346 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5347 insert. Only remove shift modifier under strict
5350 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * MenuBackend.C (expandToc): fix crash.
5354 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5356 * MenuBackend.C (expandToc): gettext on float names.
5358 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5360 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5361 implement bool empty() [bug 490]
5363 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5365 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5367 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * several files: ws changes
5371 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * text2.C (setCounter): clean up a bit, use boost.format.
5374 (updateCounters): initialize par upon declaration.
5376 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5377 if the layout exists. We do not just store the layout any more.
5378 (SwitchLayoutsBetweenClasses): use boost.format
5380 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5382 * converter.C (convert): if from and to files are the same, use a
5383 temporary files as intermediary
5385 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5388 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5390 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5392 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5394 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * tabular.C (asciiPrintCell): use string(size, char) instead of
5399 * sgml.C (openTag): fix order of arguments to string constructor
5402 * lyxfunc.C (dispatch): use boost.format
5404 * lots of files: change "c" -> 'c'
5406 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5408 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5410 2002-11-25 Angus Leeming <leeming@lyx.org>
5412 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5414 * lyx_main.C (init): compile fix.
5416 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * lyx_cb.C (start): boost.formatify
5419 do not include <iostream>
5421 * lengthcommon.C: ws only
5423 * boost-inst.C,BoostFormat.h: add more explict instantations
5425 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * lots of files: handle USE_BOOST_FORMAT
5429 2002-11-21 John Levon <levon@movementarian.org>
5431 * pspell.C: fix compile
5433 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5435 * lyxfunc.C (dispatch): use boost::format
5439 * lyxfont.C (stateText): use boost::format
5441 * lyx_main.C (LyX): use boost::format
5443 (queryUserLyXDir): ditto
5446 (typedef boost::function): use the recommened syntax.
5448 * importer.C (Import): use boost::format
5450 * debug.C (showLevel): use boost::format
5452 * converter.C (view): use boost::format
5457 * bufferview_funcs.C (currentState): use boost::format
5459 * bufferlist.C (emergencyWrite): use boost::format
5461 * buffer.C (readLyXformat2): use boost::format
5462 (parseSingleLyXformat2Token): ditto
5464 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5466 * LaTeX.C (run): use boost::format
5468 * Chktex.C (scanLogFile): use boost::format
5470 * BufferView_pimpl.C (savePosition): use boost::format
5471 (restorePosition): ditto
5472 (MenuInsertLyXFile): ditto
5474 * BoostFormat.h: help file for explicit instation.
5476 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5478 * tabular.C (latex): Support for block alignment in fixed width
5481 2002-11-17 John Levon <levon@movementarian.org>
5483 * BufferView_pimpl.C:
5485 * lyxfunc.C: split filedialog into open/save
5487 2002-11-08 Juergen Vigna <jug@sad.it>
5489 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5490 by my last patch (hopefully).
5492 2002-11-08 John Levon <levon@movementarian.org>
5501 * toc.C: ParConstIterator, and use it (from Lars)
5503 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5505 * lyxtextclass.[Ch]: revise and add doxygen comments
5507 2002-11-07 John Levon <levon@movementarian.org>
5509 * text.C: fix progress value for spellchecker
5511 * toc.C: fix navigate menu for insetwrap inside minipage
5513 * paragraph_funcs.C: added FIXME for suspect code
5515 2002-11-07 John Levon <levon@movementarian.org>
5517 * BufferView_pimpl.C: fix redrawing of insets
5520 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5522 * text2.C (updateCounters): fix bug 668
5524 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5526 * text3.C (dispatch): Do not make the buffer dirty when moving the
5529 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * vc-backend.C: STRCONV
5534 * text2.C (setCounter): STRCONV
5536 * paragraph.C (asString): STRCONV
5538 * lyxlength.C (asString): STRCONV
5539 (asLatexString): ditto
5541 * lyxgluelength.C (asString): STRCONV
5542 (asLatexString): ditto
5544 * lyxfunc.C (dispatch): STRCONV
5547 * lyxfont.C (stateText): STRCONV
5549 * importer.C (Import): STRCONV
5551 * counters.C (labelItem): STRCONV
5552 (numberLabel): ditto
5553 (numberLabel): remove unused ostringstream o
5558 * bufferview_funcs.C (currentState): STRCONV
5560 * buffer.C (readFile): STRCONV
5561 (asciiParagraph): ditto
5562 (makeLaTeXFile): ditto
5564 * Spacing.C (writeEnvirBegin): STRCONV
5566 * LaTeXFeatures.C (getLanguages): STRCONV
5567 (getPackages): ditto
5569 (getBabelOptions): ditto
5570 (getTClassPreamble): ditto
5571 (getLyXSGMLEntities): ditto
5572 (getIncludedFiles): ditto
5576 (scanAuxFile): ditto
5579 * LString.h: add the STRCONV macros
5581 * BufferView_pimpl.C (savePosition): STRCONV
5582 (restorePosition): ditto
5583 (MenuInsertLyXFile): ditto
5585 * vc-backend.C (scanMaster): change from submatch[...] to
5588 * funcrequest.C: include config.h
5590 * factory.C: include config.h
5592 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5594 * box.C: include config.h
5596 * LaTeX.C (scanAuxFile): change from submatch[...] to
5600 2002-10-25 Angus Leeming <leeming@lyx.org>
5602 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5604 * ispell.[Ch] (setError): new method.
5605 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5606 Use setError() insetead of goto END.
5608 * lyx_cb.C (AutoSave): move out child process into new class
5611 2002-10-30 John Levon <levon@movementarian.org>
5613 * text3.C: make start appendix undoable
5615 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5617 * lyxlength.C (inPixels): Fix returned value.
5619 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5622 2002-10-24 Angus Leeming <leeming@lyx.org>
5624 * lyxgluelength.h: no need to forward declare BufferParams
5625 or BufferView, so don't.
5627 2002-10-21 John Levon <levon@movementarian.org>
5629 * BufferView.C: menuUndo ->undo, redo
5631 * BufferView.h: document, remove dead, make some methods private
5633 * paragraph_funcs.h:
5634 * paragraph_funcs.C:
5635 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5640 * sgml.C: move sgml open/close tag into sgml.C
5642 * bufferview_funcs.h: unused prototype
5645 * lyxfunc.C: remove unused
5648 * text.C: remove unused
5650 2002-10-21 John Levon <levon@movementarian.org>
5654 * BufferView_pimpl.h:
5655 * BufferView_pimpl.C: fix mouse wheel handling based on
5656 patch from Darren Freeman
5658 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5660 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5662 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5664 * lyxlength.C (inPixels): Fix hanfling of negative length.
5665 Fix LyXLength::MU case.
5667 2002-10-16 John Levon <levon@movementarian.org>
5669 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5671 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5673 * converter.C (view): add support for $$i (file name) and $$p
5674 (file path) for the viewer command. If $$i is not specified, then
5675 it is appended to the command (for compatibility with old syntax)
5677 2002-10-14 Juergen Vigna <jug@sad.it>
5679 * undo_funcs.C (textHandleUndo): alter the order in which the
5680 new undopar is added to the LyXText, as we have to set first
5681 the right prev/next and then add it as otherwise the rebuild of
5682 LyXText is not correct. Also reset the cursor to the right paragraph,
5683 with this IMO we could remove the hack in "redoParagraphs()".
5685 2002-10-09 Angus Leeming <leeming@lyx.org>
5687 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5688 to turn off an optimisation if a new inset is to be inserted.
5690 2002-10-11 André Pönitz <poenitz@gmx.net>
5692 * lyxtext.h: make some functions public to allow access
5693 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5695 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5697 * text3.C (dispatch): when changing layout, avoid an infinite loop
5700 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5702 * lyxrc.C (read): treat a viewer or converter command of "none" as
5705 * MenuBackend.C (expandFormats): for an update, also allow the
5706 formats that are not viewable
5708 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5709 script if it is newer than the lyxrc.defaults in user directory
5711 2002-10-07 André Pönitz <poenitz@gmx.net>
5713 * text.C: Vitaly Lipatov's small i18n fix
5715 2002-09-25 Angus Leeming <leeming@lyx.org>
5717 * ispell.h: doxygen fix.
5719 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5721 * buffer.h (readFile): Add a new argument to the method, to allow
5722 reading of old-format templates.
5724 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5726 * toc.C (getTocList): Get TOC from InsetWrap.
5728 2002-09-16 John Levon <levon@movementarian.org>
5730 * lyxfunc.C: check tabular for cut/copy too
5732 2002-09-12 John Levon <levon@movementarian.org>
5737 * factory.C: add header
5739 * paragraph_funcs.h:
5740 * paragraph_funcs.C: cleanup
5742 2002-09-11 John Levon <levon@movementarian.org>
5744 * PrinterParams.h: odd/even default to true
5746 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5748 * PrinterParams.h: update printer parameters for new xforms dialog
5750 2002-09-11 Angus Leeming <leeming@lyx.org>
5752 * lyxserver.C (read_ready): re-write to make it more transparent
5753 and to make it work in coherent fashion under Tru64 Unix.
5755 2002-09-11 André Pönitz <poenitz@gmx.net>
5759 * text3.C: implement LFUN_WORDSEL
5761 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5764 make floatlist_ a boost::shared_ptr<FloatList>
5766 * lyxtextclass.C: include FloatList.h
5767 (LyXTextClass): initialize floatlist_
5768 (TextClassTags): add TC_NOFLOAT
5769 (Read): match "nofloat" to TC_NOFLOAT and use it.
5770 (readFloat): modify call to floatlist_
5774 * FloatList.[Ch] (FloatList): remove commented out float
5776 (erase): new function
5778 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5780 * MenuBackend.C (expandToc): fix crash when there is no document
5783 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5785 * many files: Add insetwrap.
5787 2002-09-09 John Levon <levon@movementarian.org>
5789 * text2.C: remove confusing and awkward depth wraparound
5791 2002-09-09 John Levon <levon@movementarian.org>
5793 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5796 * buffer.C: remove getIncludeonlyList()
5799 * lyxfunc.C: remove headers
5801 2002-09-09 Juergen Vigna <jug@sad.it>
5803 * text.C (getColumnNearX): fix form Michael this is most
5804 probably a cut&paste bug.
5806 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5808 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5810 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5811 references, ws changes.
5813 * text2.C (init): update counters after init
5814 (insertParagraph): no need to set counter on idividual paragraphs.
5815 (setCounter): access the counters object in the textclass object
5816 on in the buffer object.
5817 (updateCounters): ditto
5819 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5820 shared_ptr<Counters> to avoid loading counters.h in all
5822 (LyXTextClass): initialize ctrs_
5823 (TextClassTags): add TC_COUNTER, and ...
5824 (Read): use it here.
5825 (CounterTags): new tags
5826 (readCounter): new function
5827 (counters): new funtion
5828 (defaultLayoutName): return a const reference
5830 * counters.C (Counters): remove contructor
5831 (newCounter): remove a couple of unneeded statements.
5832 (newCounter): simplify a bit.
5833 (numberLabel): some small formatting changes.
5835 * buffer.[Ch]: remove all traces of counters, move the Counters
5836 object to the LyXTextClass.
5838 2002-09-06 Alain Castera <castera@in2p3.fr>
5840 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5841 package to set the horizontal alignment on fixed width columns.
5844 * lyx_sty.h: added tabularnewline macro def.
5846 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5848 2002-09-06 John Levon <levon@movementarian.org>
5850 * LyXAction.C: tooltips for sub/superscript
5852 * MenuBackend.C: a bit more verbose
5854 * lyxfunc.C: tiny clean
5856 * undo_funcs.C: document undo_frozen
5858 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * counters.C (Counters): add missing algorithm counter.
5862 * text2.C (setCounter): lookup the counter with layouts latexname
5863 instead of by section number.
5864 (setCounter): use a hackish way to lookup the correct enum
5866 a float name->type change
5867 reset enum couners with counter name directly instead of depth value.
5869 * counters.C (Counters): remove the push_backs, change to use the
5870 float type not the float name.
5871 (labelItem): remove unused string, float name->type change
5873 * counters.h: don't include vector, loose the enums and sects vectors
5875 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5878 (Read): add float->TC_FLOAT to textclassTags
5879 (Read): and handle it in the switch
5880 (readFloat): new function
5882 * FloatList.C (FloatList): comment out the hardcoded float
5885 * lyxlayout.h: ws change.
5887 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5889 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5891 2002-09-03 Angus Leeming <leeming@lyx.org>
5893 * BufferView_pimpl.h: qualified name is not allowed in member
5894 declaration: WorkArea & Pimpl::workarea() const;
5896 * factory.C: added using std::endl directive.
5898 * text3.C: added using std::find and std::vector directives.
5900 2002-08-29 André Pönitz <poenitz@gmx.net>
5903 * text2.C: remove unused member number_of_rows
5906 * BufferView2.C: remove file, move contents to...
5907 * BufferView.C: ... here
5909 * BufferView_pimpl.C:
5910 * factory.C: move more inset creation to factory
5912 * vspace.C: avoid direct usage of LyXText, ws changes
5915 don't provide direct access to WorkArea, use two simple
5916 acessors haveSelction() and workHeight() instead
5919 2002-08-29 John Levon <levon@movementarian.org>
5921 * BufferView_pimpl.C (dispatch): do not continue when
5924 2002-08-28 André Pönitz <poenitz@gmx.net>
5926 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5929 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5931 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5933 * buffer.C: increment LYX_FORMAT to 221
5935 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5936 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5938 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5940 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5942 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5944 * factory.C (createInset): use LyXTextClass::floats
5946 * MenuBackend.C (expandFloatListInsert):
5947 (expandFloatInsert):
5950 * text2.C (setCounter):
5952 * LaTeXFeatures.C (useFloat):
5953 (getFloatDefinitions):
5955 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5957 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5958 floatlist_, with accessor floats().
5960 * FloatList.h: remove global FloatList
5962 2002-08-26 André Pönitz <poenitz@gmx.net>
5964 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5968 * BufferView_pimpl.C:
5969 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5971 2002-08-25 John Levon <levon@movementarian.org>
5973 * LyXAction.C: fix margin note description
5975 2002-08-24 John Levon <levon@movementarian.org>
5979 * bufferview_funcs.C:
5981 * undo_funcs.C: cleanups
5983 * lyxfunc.C: disable CUT/COPY when no selection
5985 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5987 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5988 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5990 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5991 Add backward compatibility to "mono", "gray" and "no".
5993 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5995 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5996 (and file_format >= 200).
5998 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6000 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6002 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6004 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6006 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6008 * BufferView_pimpl.C:
6015 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6016 inset and code to make it work with the paragraph code. The inset
6017 can be anywhere in the paragraph, but will only do the expected
6018 thing in LaTeX if the layout file contains the parameter line
6020 (or more generally, a nonzero value) for that layout.
6022 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * paragraph.h: remove the declaration of undefined counters class
6027 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6029 * text2.C (setCounter): fixed enumeration mis-count as reported by
6030 Dr. Richard Hawkins.
6032 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6034 * paragraph_funcs.h: remove some unneeded includes
6036 * text.C (backspace): pasteParagraph now in global scipe
6038 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6039 (pasteSelection): ditto
6041 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6042 * paragraph_funcs.C (pasteParagraph): ... here
6044 2002-08-20 André Pönitz <poenitz@gmx.net>
6046 * commandtags.h: new LFUNs for swapping/copying table row/colums
6049 * lyxfunc.C: support for new lfuns
6051 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6054 * buffer.[Ch]: remove NO_COMPABILITY stuff
6056 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6058 * boost.C (throw_exception): new file, with helper function for
6059 boost compiled without exceptions.
6064 * ParameterStruct.h:
6065 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6067 * bufferlist.C (emergencyWriteAll): use boost bind
6069 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6071 * text.C: include paragraph_funcs.h
6072 (breakParagraph): breakParagraph is now in global scope
6074 * paragraph_funcs.[Ch]: new files
6076 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6079 * buffer.C: include paragraph_funcs.h
6080 (insertStringAsLines): breakParagraph is now in global scope
6082 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6085 * CutAndPaste.C: include paragraph_funcs.h
6086 (cutSelection): breakParagraphConservative is now in global scope
6087 (pasteSelection): ditto
6089 * buffer.h: declare oprator== and operator!= for
6090 Buffer::inset_iterator
6092 * bufferlist.C (emergencyWrite): don't use fmt(...)
6094 * text3.C: add using std::endl
6096 * BufferView.C (moveCursorUpdate): remove default arg
6098 2002-08-20 André Pönitz <poenitz@gmx.net>
6100 * buffer.[Ch]: move inline functions to .C
6103 * BufferView_pimpl.C:
6105 * buffer.[Ch]: use improved inset_iterator
6108 * paragraph.[Ch]: write one paragraph at a time
6110 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6112 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6113 style if style is not specified.
6115 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6117 * text2.C (setCounter): when searching for right label for a
6118 caption, make sure to recurse to parent insets (so that a caption
6119 in a minipage in a figure float works) (bug #568)
6121 2002-08-20 André Pönitz <poenitz@gmx.net>
6123 * text3.C: new file for LyXText::dispatch() and helpers
6125 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6127 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6129 2002-08-19 André Pönitz <poenitz@gmx.net>
6132 * text.C: new LyXText::dispatch()
6134 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6136 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6138 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6140 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6143 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6145 * Makefile.am: use $(variables) instead of @substitutions@
6147 2002-08-15 André Pönitz <poenitz@gmx.net>
6150 * BufferView_pimpl.C: streamlining mathed <-> outer world
6154 * LyXAction.C: remove unused LFUN_MATH
6156 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6160 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * paragraph.C (Paragraph): reformat a bit
6163 (cutIntoMinibuffer): use builtin InsetList function instad of
6167 * buffer.C: include boost/bind.hpp, add using std::for_each
6168 (writeFileAscii): use ParagraphList iterators
6169 (validate): use for_each for validate traversal of paragraphs
6170 (getBibkeyList): use ParagraphList iterators
6171 (resizeInsets): use for_each to resizeInsetsLyXText for all
6173 (getParFromID): use ParagraphList iterators
6175 * BufferView2.C (lockInset): use paragraph list and iterators
6177 2002-08-14 John Levon <levon@movementarian.org>
6179 * lyxserver.C: remove spurious xforms include
6181 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6183 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6185 2002-08-13 André Pönitz <poenitz@gmx.net>
6188 * lyxfunc.C: further cleaning
6190 2002-08-13 André Pönitz <poenitz@gmx.net>
6192 * funcrequest.h: new constructor
6194 * funcrequest.C: move stuff here from .h
6197 * BufferView_pimpl.C:
6200 * lyxfunc.C: subsequent changes
6202 * lyxfunc.h: new view() member function
6204 * lyxfunc.C: subsequent changes
6206 2002-08-13 Angus Leeming <leeming@lyx.org>
6209 * BufferView_pimpl.C:
6217 changes due to the changed LyXView interface that now returns references
6218 to member variables not pointers.
6220 2002-08-13 Angus Leeming <leeming@lyx.org>
6222 * WordLangTuple (word, lang_code): return references to strings,
6227 * lyxtext.h: forward-declare WordLangTuple.
6232 * text.C: #include "WordLangTuple.h".
6235 * text.C: (selectNextWordToSpellcheck): constify return type.
6237 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6243 * paragraph_pimpl.h:
6246 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6248 Made updateCounter always count from start of buffer, and removed
6249 second argument (par).
6250 Reverted floats number display to '#'. Perhaps I'll try again when the
6251 code base is sanitized a bit.
6253 2002-08-12 Angus Leeming <leeming@lyx.org>
6255 * buffer.[Ch] (getLabelList): constify.
6257 2002-08-07 André Pönitz <poenitz@gmx.net>
6259 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6261 * funcrequest.h: extension to keep mouse (x,y) position
6263 2002-08-12 Juergen Vigna <jug@sad.it>
6265 * BufferView2.C (insertErrors): forbid undo when inserting error
6268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6270 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * ParagraphList.[Ch]: new files
6274 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6276 * BufferView2.C (lockInset): ParagraphList changes
6279 * bufferlist.C: ditto
6283 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6286 unused class variable counter_,
6288 * paragraph.[Ch] (getFirstCounter): delete unused function
6290 * counters.C: include LAssert.h
6291 (reset): add a new function with no arg, change other version to
6292 not have def. arg and to not allow empty arg.
6294 * text2.C (setCounter): remove empty arg from call to Counters::reset
6296 2002-08-11 John Levon <levon@movementarian.org>
6298 * Makefile.am: add WordLangTuple.h
6300 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6303 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6305 * insets/insettext.C: InsetList changes
6307 * graphics/GraphicsSupport.C (operator()): InsetList changes
6309 * toc.C (getTocList): InsetList changes
6311 * paragraph_pimpl.[Ch]: InsetList changes
6313 * paragraph.[Ch]: InsetList changes
6315 * buffer.C (inset_iterator): InsetList changes
6316 (setParagraph): ditto
6317 * buffer.h (inset_iterator): ditto
6318 * iterators.C (operator++): ditto
6319 * iterators.h: ditto
6321 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6323 * InsetList.[Ch]: new files, most InsetList handling moved out of
6326 * BufferView2.C (removeAutoInsets): InsetList changes
6328 (ChangeInsets): ditto
6330 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * paragraph_pimpl.h (empty): new function
6334 * paragraph.[Ch] (empty): new function
6336 * other files: use the new Paragraph::empty function
6338 2002-08-09 John Levon <levon@movementarian.org>
6340 * lyxtext.h: remove unused refresh_height
6342 2002-08-09 John Levon <levon@movementarian.org>
6349 * paragraph.C: move sgml char escaping out of paragraph
6352 * paragraph.C: remove id setter
6356 * paragraph_pimpl.C: remove dead tex_code_break_column
6358 * bufferview_funcs.C: small cleanup
6360 * lyxfunc.C: remove dead proto
6362 * lyxtext.h: make some stuff private. Remove some dead stuff.
6364 * lyxgluelength.C: make as[LyX]String() readable
6366 2002-08-08 John Levon <levon@movementarian.org>
6371 * ToolbarDefaults.C:
6374 * toc.C: lyxaction cleanup
6376 2002-08-08 John Levon <levon@movementarian.org>
6378 * BufferView2.C: small cleanup
6381 * lyxfind.C: move unnecessary header into the .C
6383 2002-08-08 John Levon <levon@movementarian.org>
6385 * funcrequest.h: just tedious nonsense
6388 * lyx_main.C: cleanups
6391 * vspace.C: remove dead header lyx_main.h
6393 2002-08-07 Angus Leeming <leeming@lyx.org>
6396 * paragraph_pimpl.h:
6397 Forward declare class Counters in paragraph.h by moving the ctrs member
6398 variable into Paragraph::Pimpl.
6399 (counters): new method, returning a reference to pimpl_->ctrs.
6401 * text2.C: ensuing changes.
6403 2002-08-07 John Levon <levon@movementarian.org>
6405 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6407 * BufferView_pimpl.C: announce X selection on double/triple
6410 * lyx_main.C: use correct bool in batch dispatch
6412 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6414 2002-08-07 André Pönitz <poenitz@gmx.net>
6416 * funcrequest.h: new class to wrap a kb_action and its argument
6419 * BufferView_pimpl[Ch]:
6423 * lyxrc.C: subsequent changes
6426 2002-08-07 John Levon <levon@movementarian.org>
6428 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6429 document options change.
6431 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6436 * makefile.am: move counters functionality over from
6437 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6439 2002-08-06 John Levon <levon@movementarian.org>
6441 * WordLangTuple.h: new file for word + language code tuple
6452 * BufferView2.C: use WordLangTuple
6455 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6457 2002-08-06 John Levon <levon@movementarian.org>
6459 * lyx_main.C: fix cmdline batch handling
6461 2002-08-06 André Pönitz <poenitz@gmx.net>
6463 * lyxrc.C: set default for show_banner to true
6465 2002-08-06 John Levon <levon@movementarian.org>
6467 * pspell.C: fix a crash, and allow new aspell to work
6469 2002-08-06 John Levon <levon@movementarian.org>
6472 * kbmap.C: small cleanup
6475 * vspace.C: add const
6477 2002-08-05 John Levon <levon@movementarian.org>
6479 * LyXAction.C: back to tabular-insert
6481 2002-08-04 John Levon <levon@movementarian.org>
6484 * BufferView.C: cosmetic change
6486 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6496 * BufferView2.C: purge all "Lyx" not "LyX" strings
6499 * lyxcursor.C: attempt to add some documentation
6504 * ToolbarDefaults.C:
6505 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6506 merge with LFUN_TABULAR_INSERT
6513 * pspell.C: split up i/pspell implementations into separate
6514 files, many cleanups
6516 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6518 * text2.C: some cleanup
6520 * lyxfunc.C: don't check for isp_command == "none" any more, it
6521 didn't make any sense
6523 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6528 * makefile.am: move counters functionality over
6529 from text2.C/paragraph.[Ch] to counters.[Ch], and
6531 2002-08-02 John Levon <levon@movementarian.org>
6533 * buffer.C: s/lyxconvert/lyx2lyx/
6535 2002-08-02 Angus Leeming <leeming@lyx.org>
6537 * lyxlex.C: revert John's change as it breaks reading of the user
6540 2002-08-02 Angus Leeming <leeming@lyx.org>
6542 * importer.C (Import):
6543 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6544 changes due to LyXView::view() now returning a boost::shared_ptr.
6546 2002-08-02 John Levon <levon@movementarian.org>
6548 * lyxlex.C: small cleanup
6550 2002-08-02 John Levon <levon@movementarian.org>
6552 * text2.C (status): small cleanup, no logic change
6554 2002-08-01 John Levon <levon@movementarian.org>
6557 * buffer.C (writeFile): don't output alerts, caller
6561 * lyx_cb.C: from above
6563 * lyxfunc.C: allow to open non-existent files
6565 2002-07-31 John Levon <levon@movementarian.org>
6567 * lyxserver.C: don't let incidental errors get
6570 2002-07-30 John Levon <levon@movementarian.org>
6572 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6574 2002-07-30 John Levon <levon@movementarian.org>
6577 * lyxserver.C: remove I/O callback too
6579 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6581 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6584 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * many files: strip,frontStrip -> trim,ltrim,rtrim
6588 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6590 * PrinterParams.h: remove extern containsOnly, and include
6591 support/lstrings.h instead.
6593 * LaTeX.C (scanAuxFile): modify because of strip changes
6595 * buffer.C (makeLaTeXFile): ditto
6596 * bufferparams.C (writeFile): ditt
6597 * lyxfont.C (stateText): ditto
6598 * lyxserver.C (read_ready): ditto
6599 * vc-backend.C (scanMaster): ditto
6601 * BufferView_pimpl.h: ws changes
6603 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6605 2002-07-26 André Pönitz <poenitz@gmx.net>
6607 * kb_sequence.C: remove unnedred usings
6609 2002-07-26 Juergen Vigna <jug@sad.it>
6611 * lyxfind.C (LyXReplace): we have to check better if the returned
6612 text is not of theLockingInset()->getLockingInset().
6614 2002-07-25 Juergen Vigna <jug@sad.it>
6616 * lyxfind.C (LyXReplace): don't replace if we don't get the
6619 * undo_funcs.C (createUndo): remove debugging code.
6621 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6623 * buffer.C (parseSingleLyXformat2Token): Use default placement
6624 when reading old floats.
6626 * FloatList.C (FloatList): Change the default placement of figure
6627 and tables to "tbp".
6629 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6631 * MenuBackend.C: using std::max
6633 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6635 * MenuBackend.C (expandToc):
6636 (expandToc2): code moved from xforms menu frontend. It is now
6637 generic and TOCs are transparent to menu frontends.
6639 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6641 * toc.C (getTocList): protect against buf=0
6643 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6644 Menu as first parameter. Now, this calls itself recursively to
6645 expand a whole tree (this will be useful for TOC handling)
6646 (expandFloatInsert): remove 'wide' version of floats
6648 * MenuBackend.h (submenuname): returns the name of the submenu.
6649 (submenu): returns the submenu itself, provided it has been
6650 created by MenuBackend::expand
6652 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6654 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6655 insets which have noFontChange == true. (bug #172)
6657 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6659 * BufferView_pimpl.C: add connection objects and use them...
6662 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6664 * MenuBackend.C (expandLastfiles):
6667 (expandFloatListInsert):
6668 (expandFloatInsert):
6669 (expand): split expand in parts
6671 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6673 * lyx_gui.C: use lyx_gui::exit()
6675 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6677 * LyXAction.C: show the failing pseudo action
6679 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6681 * buffer.C (readFile): Run the lyxconvert script in order to read
6684 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6688 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6690 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6694 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6696 2002-07-22 Herbert Voss <voss@lyx.org>
6699 * lyxlength.[Ch]: add support for the vertical lengths
6701 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6703 * toc.[Ch]: std:: fixes
6705 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6707 * lyxrc.C: do not include lyx_main.h
6709 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6715 * BufferView2.C: include "lyxlex.h"
6718 * bufferparams.h: do not #include "lyxlex.h"
6720 * lyxtextclasslist.C (Add): remove method
6721 (classlist): renamed to classlist_
6723 * paragraph_pimpl.C:
6727 * bufferview_funcs.C:
6732 * toc.C (getTocList): use BufferParams::getLyXTextClass
6734 * toc.C (getTocList): use InsetFloat::addToToc
6736 * toc.[Ch]: new files, containing helper functions to handle table
6739 * lyxfunc.C (dispatch): no need to remove spaces around command
6741 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6742 first command of the sequence; it is not very clever, but I do not
6743 have a better idea, actually
6745 * LyXAction.C (LookupFunc): make sure to remove space at the
6746 beginning and end of the command
6748 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * MenuBackend.C (getMenubar): new method: return the menubar of
6752 (read): treat differently reading of menu and menubar (in
6753 particular, the menubar has no name now)
6754 (Menu::menubar): remove
6756 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6759 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6761 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6762 a bibitem inset in a RTL paragraph.
6764 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6766 * paragraph_pimpl.C: constify
6768 * BufferView_pimpl.C:
6770 * lyxfunc.C: fix dispatch in a nicer way
6772 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6774 * lyxfunc.C (dispatch):
6775 * BufferView_pimpl.C:
6776 * BufferView_pimpl.h:
6778 * BufferView.h: rename Dispatch() to dispatch()
6780 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6782 * lyxlayout.C (Read): honor DependsOn tag
6784 * lyxlayout.[Ch] (depends_on): new method
6786 * version.C.in: update lyx_docversion
6788 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6790 * paragraph.C (validate): remove from here...
6791 * paragraph_pimpl.C (validate): ... and move here
6792 (isTextAt): make it const
6794 * buffer.C (getLists): ws cleanup
6796 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6798 * language.C (read): Use iso8859-1 encoding in latex_lang
6799 (this prevents LyX from crashing when using iso10646-1 encoding).
6801 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * text2.C (toggleInset): if cursor is inside an inset, close the
6804 inset and leave cursor _after_ it
6806 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6808 * lyxfunc.C: move minibuffer completion handling out of here
6810 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6812 * BufferView_pimpl.C:
6813 * LaTeX.C: fix dispatch calls
6815 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6817 * text.C (drawChars): Fix Arabic text rendering.
6819 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6823 * lyxfunc.C: remove message-push/pop
6827 * lyxfunc.C: rationalise some code by removing verboseDispatch
6828 in favour of a bool argument to dispatch()
6830 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6832 * lyx_main.C (init): make sure to read symlinks as absolute paths
6834 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6837 * lyxfunc.C: no need for commandshortcut to be a member
6839 2002-07-15 André Pönitz <poenitz@gmx.net>
6841 * converter.C: add support for $$s (scripts from lib/scripts dir)
6842 * lyx_main.C: white space
6844 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6848 * lyxrc.C: remove second exit confirmation
6850 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6855 * BufferView_pimpl.h:
6856 * BufferView_pimpl.C:
6857 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6859 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6861 * MenuBackend.C (expand): add numeric shortcuts to document menu
6863 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6865 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6867 * lyxfont.C (setLyXFamily):
6874 * buffer.C (asciiParagraph): use ascii_lowercase
6876 2002-07-15 Mike Fabian <mfabian@suse.de>
6878 * lyxlex_pimpl.C (search_kw):
6879 * lyxlex.C (getLongString):
6880 * converter.h (operator<):
6881 * converter.C (operator<):
6882 * buffer.C (parseSingleLyXformat2Token):
6884 * ToolbarDefaults.C (read):
6885 * MenuBackend.C (checkShortcuts):
6887 * LColor.C (getFromGUIName):
6888 (getFromLyXName): use the compare_ascii_no_case instead of
6889 compare_no_case, because in turkish, 'i' is not the lowercase
6890 version of 'I', and thus turkish locale breaks parsing of tags.
6892 2002-07-16 Angus Leeming <leeming@lyx.org>
6894 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6895 now takes a Buffer const & argument.
6897 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6899 * BufferView.C (resize): check there's a buffer to resize
6901 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6903 * lyxfunc.C: remove dead code
6906 * lyxserver.C: use lyx_guii::set_read_callback
6908 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6910 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6911 an inset in a RTL paragraph.
6913 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6915 * lyxfunc.C: repaint after a font size update
6917 2002-07-15 André Pönitz <poenitz@gmx.net>
6919 * lyxlength.C: inBP should be able to return negative values
6921 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6923 * lyxfunc.C: use lyx_gui::update_fonts()
6925 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6927 * lyxfunc.C: use lyx_gui::update_color()
6929 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6935 * lyxrc.C: remove file->new asks for name option, and let
6936 buffer-new take an argument
6938 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6940 * BufferView_pimpl.C: remove unneeded extra repaint()
6942 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6944 * LyXAction.C: allow command-sequence with NoBuffer
6946 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6948 2002-07-10 Angus Leeming <leeming@lyx.org>
6950 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6952 2002-07-09 Angus Leeming <leeming@lyx.org>
6954 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6956 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6958 * lengthcommon.h: whitespace
6960 * lyxfunc.C: update scrollbar after goto paragraph
6962 * lyxtext.h: factor out page break drawing, and fix it so
6963 page break/added space paints as selected nicely
6965 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6967 * BufferView_pimpl.C: add FIXMEs, clean up a little
6969 2002-07-09 André Pönitz <poenitz@gmx.net>
6971 * lyxfont.[Ch]: support for wasy symbols
6973 2002-07-08 André Pönitz <poenitz@gmx.net>
6975 * BufferView_pimpl.C: apply John's patch for #93.
6977 2002-07-05 Angus Leeming <leeming@lyx.org>
6979 * BufferView_pimpl.C (buffer): generate previews if desired.
6981 * LColor.h: add "preview" to the color enum.
6983 * LColor.C (LColor): add a corresponding entry to the items array.
6985 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6988 2002-07-05 Angus Leeming <leeming@lyx.org>
6990 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6991 The body of the code is now in the method that is passed an ostream &
6992 rather than a file name.
6993 Pass an additional only_preamble parameter, useful for the forthcoming
6996 2002-07-03 André Pönitz <poenitz@gmx.net>
6998 * lyxfunc.C: simplify getStatus() a bit for math stuff
7000 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7002 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7004 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7006 * text.C (changeRegionCase): do not change case of all the
7007 document when region ends at paragraph end (bug #461)
7009 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7011 * paragraph.C (startTeXParParams):
7012 (endTeXParParams): add \protect when necessary
7014 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7016 * BufferView_pimpl.C (workAreaExpose): remove warning
7018 2002-06-27 Angus Leeming <leeming@lyx.org>
7020 * Makefile.am: add lyxlayout_ptr_fwd.h.
7022 2002-06-26 André Pönitz <poenitz@gmx.net>
7024 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7026 2002-06-25 Angus Leeming <leeming@lyx.org>
7028 * lyxfunc.C (dispatch): Comment out the call to
7029 grfx::GCache::changeDisplay. The method no longer exists now that the
7030 pixmap generation part of the graphics loader has been moved into
7033 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7035 * text2.C: layout as layout
7037 * text.C: layout as layout
7039 * tabular.C (OldFormatRead): layout as layout
7041 * paragraph_pimpl.C (TeXDeeper): layout as layout
7042 (realizeFont): layout as layout
7044 * paragraph.C (writeFile): layout as layout
7045 (validate): layout as layout
7046 (getFont): layout as layout
7047 (getLabelFont): layout as layout
7048 (getLayoutFont): layout as layout
7049 (breakParagraph): layout as layout
7050 (stripLeadingSpaces): layout as layout
7051 (getEndLabel): layout as layout
7052 (getMaxDepthAfter): layout as layout
7053 (applyLayout): layout as layout
7054 (TeXOnePar): layout as layout
7055 (simpleTeXOnePar): layout as layout
7056 (TeXEnvironment): layout as layout
7057 (layout): layout as layout
7058 (layout): layout as layout
7060 * lyxtextclass.C (compare_name): new functor to work with
7061 shared_ptr, layout as layout
7062 (Read): layout as layout
7063 (hasLayout): layout as layout
7064 (operator): layout as layout
7065 (delete_layout): layout as layout
7066 (defaultLayout): layout as layout
7068 * lyxlayout_ptr_fwd.h: new file
7070 * lyxlayout.C (Read): layout as layout
7072 * lyx_cb.C (MenuInsertLabel): layout as layout
7074 * bufferlist.C (newFile): layout as layout
7076 * buffer.C (readLyXformat2): layout as layout
7077 (parseSingleLyXformat2Token): layout as layout
7078 (insertStringAsLines): layout as layout
7079 (asciiParagraph): layout as layout
7080 (latexParagraphs): layout as layout
7081 (makeLinuxDocFile): layout as layout
7082 (simpleLinuxDocOnePar): layout as layout
7083 (makeDocBookFile): layout as layout
7084 (simpleDocBookOnePar): layout as layout
7085 (getLists): layout as layout
7087 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7089 * CutAndPaste.C (cutSelection): layout as layout
7090 (pasteSelection): layout as layout
7091 (SwitchLayoutsBetweenClasses): layout as layout
7093 * BufferView_pimpl.C (Dispatch): layout as layout
7094 (smartQuote): layout as layout
7096 * BufferView2.C (unlockInset): layout as layout
7098 2002-06-24 André Pönitz <poenitz@gmx.net>
7100 * lyxfunc.C: fix #487
7102 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7106 * lyxfunc.C: remove display_shortcuts, show_banner
7108 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7110 * Buffer_pimpl.C: oops, update on resize
7112 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7119 * BufferView.C: use repaint()
7121 * BufferView_pimpl.h:
7122 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7123 as it's a clearer description. Remove superfluous
7126 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7128 * text.C: fix bug 488. Not ideal, but getting
7129 getWord() to work properly for the insets that
7130 matter is more difficult ...
7132 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7134 * BufferView_pimpl.C:
7137 * lyxfunc.C: remove the six million index lyxfuncs to just
7138 one, and DTRT (bug 458)
7140 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7144 * BufferView_pimpl.h:
7145 * BufferView_pimpl.C: clean up resize() stuff,
7146 and unnecessary updateScreen()s
7148 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7152 * BufferView_pimpl.h:
7153 * BufferView_pimpl.C:
7156 * minibuffer.C: remove focus management of workarea,
7157 not needed. Use screen's greyOut()
7159 2002-06-17 Herbert Voss <voss@lyx.org>
7161 * converter.C: (convert) do not post a message, when converting
7162 fails, let the calling function decide what to do in this case
7164 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7166 * lyxfunc.C: tidy up a little
7168 2002-06-16 <alstrup@diku.dk>
7170 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7171 Got rid of FORMS_H_LOCATION include. Now we are
7174 2002-06-15 LyX Development team <lyx@rilke>
7176 * buffer.[Ch] (sgmlOpenTag):
7177 (sgmlCloseTag): Added support for avoiding pernicious mixed
7178 content. Return number of lines written.
7181 (makeDocBookFile): Fixed calls to sgml*Tag.
7182 Simple white space clean.
7184 (simpleDocBookOnePar): Simple white space clean.
7186 * tabular.[Ch] (docBook): Renamed to docbook and got another
7187 argument to related with the pernicious mixed content.
7189 (docbookRow): Fixed calls for docbook inset method.
7191 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7193 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7194 so it's X11 independent.
7198 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7200 2002-06-15 Lyx Development team <lyx@electronia>
7202 * intl.h: Renamed getTrans to getTransManager.
7204 2002-06-14 Angus Leeming <leeming@lyx.org>
7206 * Makefile.am: nuke forgotten stl_string_fwd.h.
7208 2002-06-12 Angus Leeming <leeming@lyx.org>
7210 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7212 2002-06-13 Angus Leeming <leeming@lyx.org>
7215 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7217 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7219 * kbmap.C (getiso): add support for cyrillic and greek
7221 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7225 * BufferView_pimpl.h:
7226 * BufferView_pimpl.C: move bogus scrolling logic
7229 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7232 * BufferView_pimpl.C: view->resize() change
7234 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7236 * BufferView_pimpl.C: topCursorVisible
7239 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7243 * lyx_gui.C: move to frontends/
7247 * lyx_main.C: changes from above
7249 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7256 * lyx_main.C: minor tidy
7258 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7260 * BufferView_pimpl.h:
7261 * BufferView_pimpl.C:
7263 * BufferView.C: make painter() const,
7266 * BufferView2.C: use screen() accessor
7269 * lyx_main.C: some minor cleanup
7271 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7273 * BufferView_pimpl.h:
7274 * BufferView_pimpl.C: remove enter/leaveView,
7277 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7282 * BufferView_pimpl.h:
7283 * BufferView_pimpl.C: only construct screen once,
7286 * lyxrc.C: remove pointless comment
7288 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7291 * BufferView.C: remove active() and belowMouse()
7293 * BufferView_pimpl.h:
7294 * BufferView_pimpl.C: use workarea() not workarea_,
7295 and make it use a scoped_ptr instead
7297 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7299 * lyx_gui.C: add debug message on BadWindow
7301 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7303 * sp_spell.C: fdopen is not part of the C++ standard.
7305 * paragraph.C (InsetIterator): use >= instead of ==
7307 2002-06-07 Angus Leeming <leeming@lyx.org>
7309 Fixes needed to compile with Compaq cxx 6.5.
7310 * BufferView_pimpl.C:
7317 * lyxtextclasslist.C:
7322 all c-library variables have been moved into namespace std. Wrap
7323 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7328 Add a using std::abs declaration.
7330 * kbmap.h (modifier_pair):
7331 * paragraph.h (InsetTable, InsetList):
7332 * lyxfont.h (FontBits):
7333 type definition made public.
7335 * bufferlist.C (emergencyWriteAll): the compiler complains that
7336 there is more than one possible lyx::class_fun template to choose from.
7337 I re-named the void specialisation as lyx::void_class_fun.
7339 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7341 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7342 the compiler is is unable to find tostr in write_attribute.
7344 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7346 * buffer.C (sgmlError): hide #warning
7348 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7350 * xtl/*: get rid of xtl, which is not in use anyway
7352 * LyXAction.C (init):
7353 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7354 were unimplemented xtl experimentation
7356 2002-06-04 André Pönitz <poenitz@gmx.net>
7358 * lyxfunc.C: disable array operation on simple formulae
7360 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7362 * converter.C: constify a bit
7364 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7366 * lyx_gui.C: check xforms version correctly
7368 2002-04-30 Herbert Voss <voss@lyx.org>
7370 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7373 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7375 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7376 attempt to register it with a VCS)
7378 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * lyx_main.C (init): honor variables LYX_DIR_13x and
7383 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7387 * lyx_main.C: fix a crash on bad command line,
7388 and give a useful exit status on error
7390 * lyxfunc.C (doImport): allow -i lyx to work
7392 2002-03-30 André Pönitz <poenitz@gmx.net>
7394 * lyxfunc.C: mathed font changes
7396 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7411 * trans_mgr.h: srcdocs, and some minor cleanups
7413 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7415 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7416 call getFont all the time)
7418 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7420 * switch from SigC signals to boost::signals
7422 2002-05-29 André Pönitz <poenitz@gmx.net>
7424 * paragraph_pimpl.C (getChar): don't call size() too often...
7426 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7428 * paragraph_pimpl.C (insertChar): do not try to update tables when
7429 appending (pos == size())
7431 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7432 in order to reduce drastically the number of comparisons needed to
7433 parse a large document
7435 2002-05-29 André Pönitz <poenitz@gmx.net>
7441 * textclasslist.[Ch]:
7442 * sp_ispell.h: whitespace change
7444 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7446 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7447 lyxaction directly now.
7449 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7453 * lyxvc.C: remove unused headers
7455 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7462 * undo_funcs.C: some cleanups. Use shared_ptr
7463 and a template for the undo stacks.
7465 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7467 * BufferView_pimpl.h:
7468 * BufferView_pimpl.C:
7475 * text2.C: use key_state/mouse_state
7477 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7479 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7482 * chset.C: change include order
7483 (loadFile): use boost regex and get rid of LRegex and LSubstring
7485 * Makefile.am (BOOST_LIBS): new variable
7488 * LaTeX.C: change include order.
7489 (scanAuxFile): use boost regex and get rid of LRegex and
7493 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7498 * FontInfo.C: moved to frontends/xforms/
7501 * FontLoader.C: moved into frontends for GUIIzation
7506 * lyxfunc.C: changes from above
7508 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7510 * LColor.C: remove spurious X include
7512 * BufferView_pimpl.C:
7517 * text2.C: move font metrics to frontends/
7519 2002-05-24 Juergen Vigna <jug@sad.it>
7521 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7522 setting the undo_cursor.
7524 * ParagraphParameters.h: include local includes first.
7526 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7528 * BufferView_pimpl.C:
7529 * BufferView_pimpl.h:
7533 * screen.C: move WorkArea into frontends/
7539 * BufferView2.C: move LyXScreen into frontends/
7543 * lyx_gui.C: move lyxlookup into frontends/xforms/
7545 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7548 * BufferView_pimpl.C:
7558 * bufferview_funcs.C:
7571 * vc-backend.C: move LyX/XFormsView into frontends/
7573 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7585 * text2.C: move Painter to frontends/
7587 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7589 * buffer.C: comment out some some code that depend upon lyx_format
7592 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7593 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7595 * buffer.h (NO_COMPABILITY): turn off compability
7597 * ColorHandler.C: include scoped_array.hpp
7599 * font.C: Use more specific smart_ptr header.
7602 * ShareContainer.h: ditto
7606 * BufferView_pimpl.h: ditto
7607 * ColorHandler.h: ditto
7609 * kbmap.C (defkey): change call to shared_ptr::reset
7611 2002-05-21 Juergen Vigna <jug@sad.it>
7613 * buffer.C (insertErtContents): fix to insert ert asis if it is
7614 non empty. Skip it completely if it contains only whitespaces.
7616 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7618 * BufferView_pimpl.C:
7619 * BufferView2.C: clear selection on paste (bug 393)
7621 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7623 * DepTable.C: include ctime
7625 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7627 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7629 2002-05-14 Juergen Vigna <jug@sad.it>
7631 * text.C (breakParagraph): fixed function to honor the keepempty
7632 layout in the right maner and also to permit the right breaking
7633 algorithm on empty or non empyt keepempty paragraphs.
7635 * paragraph.C (breakParagraph): we have to check also if the par
7636 is really empty (!size()) for isempty otherwise we do the wrong
7639 2002-05-10 Juergen Vigna <jug@sad.it>
7641 * buffer.[Ch] : The following are only changes to the ert
7642 compatibility read reading old LaTeX layout and font stuff and
7643 convert it to ERTInsets.
7645 * buffer.h: added isErtInset().
7647 * buffer.C (struct ErtComp): add a fromlayout bool to check
7648 if we're inside a LaTeX layout.
7649 (isErtInset): new helper function.
7650 (insertErtContents): look for other ert insets before this one
7651 and insert the contents there, so that we don't have subsequent
7652 ERT insets with nothing between them. This way we create only one
7653 inset with multiple paragraphs. Also check if we don't insert only
7654 spaces ' ' as they are ignored anyway afterwards in the .tex file
7655 so if we have only spaces we will ignore this latex part in the
7657 (parseSingleLyXformat2Token \\layout): better compatibility when
7658 reading layout-latex stuff.
7659 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7661 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7662 stuff after reading the inset only get the information back from
7665 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7667 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7669 * LaTeXFeatures.C (getBabelOptions): New method.
7671 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7673 * BufferView_pimpl.C (Dispatch): work around missing argument for
7676 2002-05-08 Juergen Vigna <jug@sad.it>
7678 * text.C (leftMargin): handle paragraph leftindent.
7680 * paragraph.C (writeFile): write the new \\leftindent tag.
7681 (validate): handle leftindent code.
7682 (TeXEnvironment): handle paragraphleftindent code again.
7684 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7686 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7687 for paragrap_extra indent code and new token \\leftindent.
7688 (latexParagraphs): handle the leftindent as environment.
7690 * ParameterStruct.h: added leftindent support.
7692 * ParagraphParameters.C (leftIndent): added support functions for
7693 the paragraph left indent.
7695 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7698 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7700 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7703 * text.C (computeBidiTables): No bidi in insetERT.
7705 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7708 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7710 * version.C.in: pre 5
7712 2002-05-02 José Matos <jamatos@fep.up.pt>
7713 * buffer.C (makeDocBookFile): white space changes, add newline to
7715 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7717 * tabular.C (docBook): fix typo.
7719 2002-05-03 Juergen Vigna <jug@sad.it>
7721 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7722 change in LyXText as we can not be sure it was not freed.
7723 (drawOneRow): remove unused code.
7725 * text.C (drawInset): redo the calculation of the need_break_row as
7726 it could have a row which was already freed.
7727 (draw): look at the return value of drawInset and return false if
7728 it also returned false.
7729 (paintRowText): look at the return value of draw and return false if
7730 it also returned false.
7732 * lyxtext.h: added bool return type to drawInset() and draw() so that
7733 if we have a change in the row so that the rowbreak has to be redone
7734 we abort drawing as it will be called again.
7736 2002-05-02 Juergen Vigna <jug@sad.it>
7738 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7739 a change in the maintext also if we're inside an inset.
7740 (Dispatch): set the cursor again after a break line and after the
7741 screen has been updated as it could be we're in a different row.
7743 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7744 to set the cursor behind the pargraph with > size().
7745 (setCursor): check also for the same paragraph when checking where
7746 to put the cursor if we have a NFR inset.
7748 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7749 parts of layout read further up as it still was in the wrong
7752 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7754 * screen.C (drawFromTo): change sine fullRebreak always return
7757 * buffer.C (parseSingleLyXformat2Token): reindent some
7759 * BufferView_pimpl.C (update): change since fullRebreak always
7761 (Dispatch): git rid of the last hardcoded "Standard"s.
7763 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7765 * text2.[Ch] (fullRebreak): make it return void now that we always
7768 2002-04-30 Juergen Vigna <jug@sad.it>
7770 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7771 ert compatibility check for "latex" layout.
7773 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7775 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7776 minipages: use col% instead of p%, and also use the current font.
7777 (makeLaTeXFile): Fix use babel condition.
7778 (parseSingleLyXformat2Token): Correct font when reading old floats.
7780 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7782 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7783 inserting list of floats.
7785 2002-04-25 Herbert Voss <voss@lyx.org>
7787 * MenuBackend.C (expand): don't add the graphics extensions to the
7790 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7792 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7793 non-existing layout, do not complain if it was the default layout
7794 of the original class (bug #342)
7796 2002-04-24 Juergen Vigna <jug@sad.it>
7798 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7799 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7801 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7803 * buffer.C (getBibkeyList): If using \bibliography, return the
7804 option field with the reference itself. Enables us to provide natbib
7805 support when using \bibliography.
7807 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7809 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7811 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7812 natbib is provided by the LaTeX class.
7814 2002-04-23 Juergen Vigna <jug@sad.it>
7816 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7819 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7821 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7823 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7825 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7826 ensuremath around textordmasculine, textordfeminine and
7829 2002-04-19 Juergen Vigna <jug@sad.it>
7831 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7832 reinitializing the buffer otherwise row-dimensions may be wrong.
7833 (update): reset also the selection cursors if they do exits otherwise
7834 their x/y positions may be wrong.
7836 * text2.C (cursorDown): don't enter the inset if we came from a row
7837 above and are one row over the inset.
7839 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7840 really leaving an inset.
7842 2002-04-18 Juergen Vigna <jug@sad.it>
7844 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7845 of the selected paragraph does not have the selected layout also if
7848 * text2.C (setLayout): fixed bug which did not change last selected
7851 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7852 changed the read and substituted \\end_float with \\end_inset!
7854 * BufferView_pimpl.C (cursorPrevious):
7855 (cursorNext): fixed to make it work with rows heigher than the work
7856 area without moving the cursor only the draw of the row.
7857 (workAreaMotionNotify): fix jumping over high rows.
7859 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7861 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7864 2002-04-16 Juergen Vigna <jug@sad.it>
7866 * text2.C (setCursor): set also the irow().
7867 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7869 (cursorDown): support for locking an inset if the x_fix value goes
7870 inside it. That way I can transverse insets too with cursor up/down.
7872 * lyxrow.h: added irow helper function same as other (i) functions.
7874 * BufferView_pimpl.C (cursorPrevious):
7875 (cursorNext): fixed for insets!
7877 2002-04-15 Juergen Vigna <jug@sad.it>
7879 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7880 position otherwise it is wrong in some cases.
7882 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7883 inside the inset before the call.
7885 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7887 * buffer.[Ch] (getBibkeyList): make it const.
7889 2002-04-12 Juergen Vigna <jug@sad.it>
7891 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7893 * text2.C (getCursorX): new helper function
7894 (setCursor): compute also ix_
7895 (setCursorFromCoordinates): set also ix.
7897 * lyxcursor.h: added ix_ and helper functions.
7899 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7901 * buffer.C (insertStringAsLines): dont break paragraph if the this
7902 paragraph is inside an inset which does not permit it!
7904 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7905 also with no chars on this paragraph.
7906 (paintRowText): only paint stuff if it's inside the workarea!
7908 * paragraph.C (breakParagraph): honor keepempty flag and break the
7909 paragraph always below not above.
7911 * BufferView2.C (unlockInset): update the paragraph layout on inset
7912 unlock as we changed paragraph in such a case.
7914 * lyxfind.C (LyXFind): clear the former selection if not found!
7916 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7917 again called in insertChar().
7919 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7920 an inset which uses the whole row!
7921 (rightMargin): ditto.
7922 (insertChar): force a rebreak if we inserted an inset!
7924 2002-03-28 Herbert Voss <voss@lyx.org>
7926 * lyxlength.[Ch]: add inBP() to get the right PS-point
7927 units (BigPoint). With inPixels we have rounding errors
7929 2002-04-11 Juergen Vigna <jug@sad.it>
7931 * text2.C (setCursorFromCoordinates): set iy to the right value.
7932 (setCursor): add check if row->previous exists!
7934 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7935 an old float_type as this was the case in the old code!
7937 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7939 * BufferView2.C (showLockedInsetCursor): use iy
7940 (fitLockedInsetCursor): ditto
7942 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7943 locked insets as there we have the right value now.
7945 * lyxcursor.C: added iy_ variable and iy functions to set to the
7946 baseline of cursor-y of the locked inset.
7948 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7949 (setCursor): fixed for insets which need a full row.
7951 * text.C (rowLastPrintable): don't ignore the last space when before
7952 an inset which needs a full row.
7953 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7954 as last character of a row when before a inset which needs a full row.
7956 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7958 * version.C.in: update date
7960 * text2.C (fullRebreak): try to always return true and see what
7963 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7965 * MenuBackend.C (expand): use Floating::listName
7967 * FloatList.C (FloatList): add listName argument to the built-in
7970 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7971 text associated with the float.
7973 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7975 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7977 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7979 * ShareContainer.h: add a couple of missing typenames.
7981 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7983 * lyxrc.C (getDescription): use _() correctly rather than N_().
7985 2002-03-28 Herbert Voss <voss@lyx.org>
7987 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7988 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7990 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7992 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7993 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7995 2002-03-29 Juergen Vigna <jug@sad.it>
7997 * lyxfunc.C (dispatch): add a missing fitCursor call.
7999 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8000 it was scrolled by a cursor move, so return the bool status.
8002 * BufferView.C (fitCursor): return the bool flag also to the outside
8003 world as this is needed.
8005 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8007 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8008 call the edit() as it is not needed (and wrong) IMO.
8009 (workAreaButtonPress): set the screen_first variable before evt.
8010 unlock the inset as this may change screen_first and then we have
8011 a wrong y position for the click!
8013 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8015 * MenuBackend.C (expand): another translation that I missed
8017 2002-03-28 Juergen Vigna <jug@sad.it>
8019 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8021 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8023 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8025 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8027 * MenuBackend.C (expand): fix export/view/update when there is no
8030 2002-03-27 Herbert Voss <voss@lyx.org>
8032 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8035 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8037 * bufferview_funcs.C (currentState): only show paragraph number
8038 for is DEVEL_VERSION is set.
8040 * lyxfunc.C (dispatch): put warning in INFO channel
8042 * MenuBackend.C (expand): translate the name of floats
8044 * FloatList.C (FloatList): mark the float names for translation
8046 * converter.C (convert): use LibScriptSearch
8048 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8050 * MenuBackend.C (defaults): fix default menu (we might as well get
8053 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8055 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8058 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8060 * lyxvc.C: reorder includes.
8062 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8064 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8067 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8069 * CutAndPaste.C: change layouts earlier on paste
8070 to avoid crashing when calling getFont()
8072 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8074 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8077 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8079 * WorkArea.C: remove 'Pending' debug message.
8081 * most files: ws cleanup
8083 * buffer.[Ch]: ws changes
8085 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8087 2002-03-21 Juergen Vigna <jug@sad.it>
8089 * tabular.C (SetMultiColumn): collapse also the contents of the
8090 cells and set the last border right. Added a Buffer const * param.
8092 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8094 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8097 2002-03-19 Juergen Vigna <jug@sad.it>
8099 * text2.C (clearSelection): reset also xsel_cache.
8101 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8102 where it needs to be called (John tells us to do so too :)
8103 (selectionLost): reset sel_cache.
8105 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8107 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8109 * text2.C (setCursorIntern): put debuging code in INSETS channel
8111 2002-03-19 André Pönitz <poenitz@gmx.net>
8113 * lyxfunc.C: tiny whitespace change
8115 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * ToolbarDefaults.C (init):
8118 * LyXAction.C (init):
8120 * BufferView_pimpl.C (Dispatch):
8121 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8123 2002-03-19 Allan Rae <rae@lyx.org>
8125 * exporter.C (Export): removeAutoInsets before doing anything else.
8126 While I've just introduced a dependency on BufferView this really is
8127 the best place to clean the buffer otherwise you need to cleanup in
8128 a dozen places before calling export or cleanup in a dozen functions
8131 * converter.C (runLaTeX):
8132 (scanLog): Better handling of removeAutoInsets and screen updates.
8134 * lyxfunc.C (dispatch): small whitespace changes
8136 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8138 * WorkArea.C (C_WorkAreaEvent): return a value.
8139 (event_cb): return 1 if we handled the event, 0 otherwise.
8141 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8143 2002-03-18 Juergen Vigna <jug@sad.it>
8145 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8146 (GetAdditionalWidth): ditto.
8150 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8151 inset if we're there actually (probably not used right now but this
8152 is the direction to go for unifying code).
8153 (paste): disable code to clear the selection.
8155 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8156 inside an InsetText and move the check further up as it is in the
8159 * text2.C (pasteSelection): set a selection over the pasted text.
8161 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8163 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8164 and libgraphics to build on Cygwin.
8166 2002-03-15 Juergen Vigna <jug@sad.it>
8168 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8169 inserting an Inset into the paragraph. I know this is not the best
8170 fix but we already use current_view in CutAndPaste so we will remove
8171 all of it's using at the same time.
8173 * buffer.C (sgmlError): deactivated function till it is rewritten in
8174 the right mode, now it can create problems.
8176 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8177 before accessing it.
8179 2002-03-14 Juergen Vigna <jug@sad.it>
8181 * undo_funcs.C (textHandleUndo): do the right thing when updating
8182 the inset after the undo/redo.
8184 * text2.C (setCursor): just some testcode for #44 not ready yet.
8186 * undo_funcs.C (textHandleUndo): set the next() and previous()
8187 pointers of the paragraph to 0 before deleting otherwise we have
8188 problems with the Paragraph::[destructor].
8190 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8191 on a paragraph insertion.
8193 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8195 * buffer.C (asciiParagraph): use += operator for char append to
8198 * paragraph.C (getFontSettings): compare >= not just >
8199 (highestFontInRange): ditto
8202 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8204 * paragraph.C: change several algorithm to be more appripriate for
8205 the problem domain. This is lookip in FontList and in the InsetList.
8207 2002-03-13 André Pönitz <poenitz@gmx.net>
8210 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8212 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8217 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8219 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8221 * Painter.C (display): anon helper function, adjust code for this
8223 (pixmap): remove function.
8225 * Painter.h: remove private display variable.
8227 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8229 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8231 * WorkArea.[Ch]: remove figinset_canvas cruft.
8233 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8235 * lyxtextclass.C (operator): add one item cache optimization.
8237 * bufferlist.h: doxy changes
8239 * bufferlist.C: ws changes
8241 * DepTable.[Ch] (ext_exist): place const in the right spot.
8243 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8245 (workAreaExpose): call resizeInsets when the with BufferView changes.
8246 (Dispatch): adjust for protectedBlank removal
8247 (specialChar): call updateInset if the insert went ok.
8249 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8250 specialChar instead.
8252 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8254 * BufferView.h: doxy change
8256 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8258 * lyxtextclass.C (operator[]): remove non-const version
8259 (defaultLayout): remove non-const version
8261 2002-03-12 Juergen Vigna <jug@sad.it>
8263 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8264 did resize the LyXText too.
8266 * buffer.C (readLyXformat2): set layout information on newly allocated
8269 * tabular.C (OldFormatRead): set layout information on the paragraph.
8271 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8273 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8275 2002-03-11 Juergen Vigna <jug@sad.it>
8277 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8279 (resizeCurrentBuffer): force also the insets to resize themselfes.
8280 (moveCursorUpdate): fixed up for InsetText.
8282 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8285 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8286 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8287 value of Dialogs::tooltipsEnabled().
8288 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8290 2002-03-08 Juergen Vigna <jug@sad.it>
8292 * BufferView_pimpl.C (updateInset): update inset inside inset also
8293 if it isn't inside theLockingInset().
8295 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8297 * buffer.C (asciiParagraph): redo some of the word and line length
8299 (getLists): look for Caption instead of caption.
8301 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8303 * buffer.C (Buffer): initialize niceFile to true
8306 (makeDocBookFile): make sure niceFile is true on exit
8308 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8310 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8312 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8314 * LyXSendto.C: remove.
8315 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8316 * lyx_gui.C: remove now-redundant comment.
8317 * ColorHandler.h: remove forward declaration of class WorkArea.
8318 * lyxfunc.C: remove #include "WorkArea.h".
8320 2002-03-07 Juergen Vigna <jug@sad.it>
8322 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8323 got moved away with the DEPM and also set the inset_owner always
8324 right which before could have been omitted.
8326 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8328 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8329 wanted layout is not found.
8331 2002-03-07 Juergen Vigna <jug@sad.it>
8333 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8335 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8337 * paragraph.C (breakParagraph): use default layout not layout of
8339 (Paragraph): clear ParagraphParameters.
8341 2002-03-06 Juergen Vigna <jug@sad.it>
8343 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8344 otherwise it would not be a valid lenght. Fixed a special case in
8345 the minipage compatibility read where we end the document with a
8348 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8349 was set as it could be 0 for InsetTexts first entry.
8351 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8353 * paragraph.C (writeFile): if layout is empty write out
8354 defaultLayoutName().
8356 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8357 file without named layout we set layout to defaultLayoutName().
8359 2002-03-06 Juergen Vigna <jug@sad.it>
8361 * CutAndPaste.C (copySelection): set layout for new paragraph.
8363 * text.C (prepareToPrint): leave ERT inset left aligned
8364 (leftMargin): don't indent paragraphs inside ERT insets
8366 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8368 * paragraph.C (breakParagraph): dont call clear do the work manually
8370 * paragraph.[Ch] (clear): remove function
8372 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8374 * paragraph.C (Paragraph): dont call clear, the work has already
8377 * lyxtextclass.C (operator): assert if n is empty
8379 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8380 work manually instead.
8382 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8384 * BufferView_pimpl.C: protect selectionLost against text == 0
8386 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8388 * text.C (breakParagraph): fix a setting layout to '0' problem.
8390 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8392 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8393 final location of file, for the included files, and graphics.
8395 2002-03-05 Juergen Vigna <jug@sad.it>
8397 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8399 2002-03-04 Juergen Vigna <jug@sad.it>
8401 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8403 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8404 last column of multicolumn cells.
8405 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8407 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8409 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8410 file if it doesn't go to a temporary file.
8412 * buffer.C (sgmlOpenTag):
8413 (sgmlCloseTag): remove extra newline insertion.
8415 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8417 * text.C (getRowNearY): comment out debug msg
8419 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8421 * text2.C: first -> first_y
8423 * text.C (getRowNearY): add some attemts at a possible
8424 optimization, not working.
8426 * tabular.[Ch]: add BufferParams to several function so that newly
8427 created paragraph can be initialized to he default layotu for the
8430 * tabular-old.C (ReadOld): add buf->params to call of Init
8432 * screen.C: rename text->first to text->first_y
8434 * paragraph.C (breakParagraph): always set layout in the broken
8437 * lyxtextclass.C (Read): remove lowercase
8440 (delete_layout): ditto
8442 * lyxtext.h: rename first -> first_y
8444 * lyxlayout.C (Read): remove lowercase
8447 (obsoleted_by): ditto
8449 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8451 * buffer.C (insertErtContents): add params are to InsetERT
8452 (parseSingleLyXformat2Token): add code to check if a paragraphs
8453 layout really exist.
8454 (parseSingleLyXformat2Token): add params to several inset
8456 (asciiParagraph): remove lowercase, do the layout comparisons with
8459 * BufferView_pimpl.C (cursorNext): first -> first_y
8460 (resizeCurrentBuffer): first -> first_y
8461 (updateScrollbar): first -> first_y
8462 (scrollCB): first -> first_y
8463 (workAreaMotionNotify): first -> first_y
8464 (workAreaButtonPress): first -> first_y
8465 (checkInsetHit): first -> first_y
8466 (cursorPrevious): first -> first_y
8467 (cursorNext): first -> first_y
8468 (Dispatch): add buffer_->params to severl inset contructors
8470 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8472 * lyxlayout.C (Read): remove some debug info that I forgot.
8474 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8475 clean up the code slightly.
8476 (makeLinuxDocFile): ditto
8477 (makeDocBookFile): ditto
8479 * text2.C: layout as string
8481 * text.C: layout as string
8483 * paragraph_pimpl.C: layout as string
8485 * paragraph.[Ch]: layout as string
8487 * lyxtextclasslist.[Ch]: layout as string
8489 * lyxtextclass.[Ch]: layout as string
8491 * lyxtext.h: layout as string
8493 * lyxlayout.[Ch]: layout as string
8495 * lyx_cb.C: layout as string
8497 * bufferview_funcs.C: layout as string
8499 * bufferparams.C: layout as string
8501 * buffer.C: layout as string
8503 * LyXView.[Ch]: layout as string
8505 * LaTeXFeatures.[Ch]: layout as string
8507 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8509 * BufferView_pimpl.C: change current_layout to string, remove
8514 (workAreaButtonRelease): layout as string
8516 * BufferView2.C (unlockInset): adjust
8518 * vspace.C (asLatexCommand): use an explict temp variable.
8520 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8522 * Makefile.am: use FRONTEND_*
8524 2002-03-01 Juergen Vigna <jug@sad.it>
8526 * tabular.C (SetWidthOfMulticolCell): changed to something better
8527 I hope but still work in progress.
8528 (recalculateMulticolumnsOfColumn): renamed function from
8529 recalculateMulticolCells as it is more appropriate now.
8530 (SetWidthOfCell): calculate multicols better.
8532 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8534 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8536 * lyxfunc.C (processKeySym): print sequence also if it is
8537 `deleted' (complete)
8539 * kbsequence.C (print): print sequence even if it is deleted
8540 (complete would be a better word, actually).
8542 * lyxfunc.C (dispatch): print complete options after a prefix key
8544 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8546 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8548 * text2.C (setCharFont): eliminate setCharFont code duplication.
8550 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8552 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8553 LFUN_TABULAR_FEATURE (bug #177)
8555 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8557 * Makefile.am: remove figure.h
8559 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8561 * Bufferview_pimpl.C:
8573 * text2.C: remove #include "lyx_gui_misc.h".
8575 * LaTeX.C: added #include <cstdio>
8577 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8579 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8580 that the paragraph following this one can have.
8582 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8584 * vspace.C (asLatexCommand): fix bogus gcc warning
8586 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8588 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8590 * text2.C (setLayout): get rid of redundant code
8592 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8594 * text2.C (incDepth): make sure depth cannot be increased beyond
8597 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8599 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8600 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8602 * PainterBase.h (image):
8603 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8606 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8610 * BufferView_pimpl.C:
8611 * BufferView_pimpl.h:
8631 * sp_spell.C: remove fig inset, and the crap house of
8632 cards that follows it
8634 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8640 * nt_defines.h: move .h into support/
8642 * vms_defines.h: remove
8644 * WorkArea.C: add space in debug output
8648 * buffer.C: add WITH_WARNINGS
8652 * bufferlist.C: s/retrive/retrieve/, add docs
8663 * lyxgui.C: add ID to X error handler
8665 * lyxtestclass.c: fix typo
8667 2002-02-26 Juergen Vigna <jug@sad.it>
8669 * tabular_funcs.C (write_attribute): changed so that some default
8670 attributes are not written at all.
8671 (getTokenValue): set default values before trying to read the
8672 value so we have the return value always set as default if we don't
8673 find the token we search for.
8675 * tabular.C (Write): write bools as bools not as strings!
8677 2002-02-22 Juergen Vigna <jug@sad.it>
8679 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8680 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8682 * text.C (leftMargin): don't add an indent for paragraphs inside
8683 tabular cells (fix #208).
8685 2002-02-21 José Matos <jamatos@fep.up.pt>
8687 * tabular.C (docBook): fixed support for long tables.
8689 2002-02-20 Juergen Vigna <jug@sad.it>
8691 * text2.C (getFont): get the drawing font of the Inset if this
8692 paragraph is inside an inset (only important for InsetERT for now).
8694 * buffer.C (insertErtContents): use new lanugage params in ERT
8697 * CutAndPaste.C: commenting out seemingly uneeded code.
8699 2002-02-19 Allan Rae <rae@lyx.org>
8701 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8702 Iterators might be simple to use but they also get invalidated.
8703 (removeAutoInsets): renamed saved cursor tracking variables and added
8704 some comments to clarify what everything does.
8706 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8713 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8714 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8717 * vc-backend.h: remove #include "support/syscall.h"
8721 * converter.C: rearrange #includes in Lars' approved fashion.
8723 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8724 forward declare class Timeout in the header file.
8726 * XFormsView.C: changes due to the above.
8728 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8731 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8732 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8734 2002-02-18 José Matos <jamatos@fep.up.pt>
8736 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8739 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8741 * a lot of small ws changes
8742 * add a lot of using std::XXX
8743 * use std construcs some places where approp.
8744 * use some exisint stuff from lyxfunctional where approp.
8745 * Make file changes to use partial linking (lets test this now...)
8747 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8751 remove #include "support/syscontr.h" as it's redundant. Always has been.
8759 change Systemcalls::System to Systemcalls::Wait and
8760 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8761 No change of functionality, just reflects the stripped down Systemcalls
8764 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8766 * debug.[Ch]: add a GRAPHICS type to the enum.
8768 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8772 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8775 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8777 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8778 match the changes below.
8780 * text2.C (toggleInset): if there is not editable inset at cursor
8781 position, try to see if cursor is _inside_ a collapsable inset
8784 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8786 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8787 document menu has a nice checkbox
8789 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * lyxlength.C (asLatexString): change PW to output as percent of
8794 * lengthcommon.C: change '%' to 't%'
8796 * lyxfunc.C (dispatch): a few comments from Martin
8798 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8802 * BufferView_pimpl.h:
8803 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8806 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8808 * vspace.C (inPixels): fix compiler warning
8810 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8812 * lyxfunc.C (getStatus): fix status message for disabled commands.
8814 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8816 * BufferView_pimpl.C: fix crash on close buffer
8817 during selection (#227)
8819 2002-01-27 Herbert Voss <voss@lyx.org>
8821 * buffer.C: link old Figure to new graphic inset
8823 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8825 * FontLoader.C (getFontinfo): Change the latex font names in order
8826 to match the names of type1inst.
8828 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8830 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8832 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8835 (remove_files_with_extension): ditto
8836 (remove_file): ditto
8839 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8840 document is smaller than the work area height. Do not initialize
8841 static variables to 0.
8843 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8845 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8847 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8848 LFUN_LAYOUT_PARAGRAPHS.
8850 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8851 tabular. It is possible to provide a possible cell, which will
8852 typically be the actcell from the corresponding insettabular
8854 * lyxfunc.C (getStatus): small cleanup; disable
8855 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8858 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8860 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8862 * paragraph.C (startTeXParParams):
8863 (endTeXParParams): new methods. The LaTeX code to
8864 start/end paragraph formatting
8865 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8866 empty (fixes bug #200)
8868 * vspace.C (inPixels): adapt to the change below
8869 (inPixels): [later] more cleanups (remove unused variables)
8871 * lyxlength.C (inPixels): change to use a width and a height as
8874 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8877 Replaced with \paperwidth
8879 * DepTable.C (insert): add std:: qualifier
8881 2002-01-18 Allan Rae <rae@lyx.org>
8883 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8886 * text.C (drawInset): Turned out I didn't know enough about how
8887 rebreaking worked. This fixes most of the redraw problems. I see
8888 an occasional cursor trail when a line is broken now and the cursor
8889 placement can seem out by a few pixels also after a rebreak.
8891 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8893 * buffer.C (parseSingleLyXformat2Token): update because minipage
8894 width is now a LyXLength
8896 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8898 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8901 2002-01-17 Juergen Vigna <jug@sad.it>
8903 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8905 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8906 is set correctly and the inset is updated correctly.
8908 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8910 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8911 the beginning of the loop.
8913 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8915 * lyxrc.C: improve help for use_scalable_fonts
8917 2002-01-17 Allan Rae <rae@lyx.org>
8919 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8921 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8923 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8924 make sure to set their inset_owner to the right value (bug #171)
8926 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8929 * DepTable.C: Implement mtime checking to reduce time spent doing
8932 2002-01-16 Juergen Vigna <jug@sad.it>
8934 * tabular.C (GetAdditionalHeight): one of error fixed.
8936 * lyxrc.C (output): small fix in writing use_pspell.
8938 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8940 * sp_base.h: #include LString.h
8942 2002-01-16 Allan Rae <rae@lyx.org>
8944 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8945 Can someone check this please?
8947 * text.C (drawInset): It was possible that p.row would be removed by
8948 breakAgainOneRow upsetting a few other settings. There may be another
8949 small tweak possible by setting need_break_row = 0 when p.row has been
8950 removed but I don't know enough about the logic here.
8952 2002-01-15 Allan Rae <rae@lyx.org>
8954 * text.C (insertChar): removed conditional truism.
8956 * BufferView2.C (removeAutoInsets): More tweaks.
8957 cur_par_prev could be a stray pointer. Check for trailing empty line
8958 in case last line was cur_par and only had an error inset on it.
8960 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8962 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8965 * vc-backend.C (most methods):
8966 * exporter.C (Export):
8967 * converter.C (convert):
8969 * LyXSendto.C (SendtoApplyCB):
8970 * lyxfunc.C (dispatch):
8974 * lyx_cb.C (AutoSave):
8976 * BufferView_pimpl.C (MenuInsertLyXFile):
8977 * buffer.C (runChktex): use Buffer::filePath().
8979 * buffer.h: rename filename to filename_; rename filepath to
8980 filepath_ and make it private
8981 (filePath): new method
8983 * buffer.C (writeFile): use fileName()
8986 * lyx_main.C (init): fix starting of LyX when the binary is a
8987 link from so,ewhere else.
8989 * minibuffer.C: include <cctype> for isprint
8991 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8993 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8994 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8995 name clash with InsetCollapsable's width function.
8997 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8999 * lastfiles.C: include <iterator>
9001 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9003 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9006 * buffer.C (makeLaTeXFile): ditto.
9007 Also make loop operation more transparent.
9009 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9011 * ToolbarDefaults.C: remove trailing comma closing namespace.
9013 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9015 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9018 * trans.C (Load): comment out unused variable, allowed.
9020 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9022 * minibuffer.[Ch] (append_char): new method to recieve input from the
9023 drop-down completion browser. If a key was pressed, then recieve this
9024 char and append it to the existing string.
9025 (peek_event): modify the positioning data passed to the completion
9026 browser so that it can be placed above the minibuffer rather than below.
9027 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9029 * LyXAction.C (init): alloe error-next for readonly documents.
9031 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9034 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9036 * bufferlist.C (readFile): create the buffer _after_ checking that
9039 * lyxfunc.C (verboseDispatch): fix handling of arguments
9041 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9043 * lyxrc.C: use string::erase() instead of initializing to "".
9046 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9048 * BufferView_pimpl.h:
9049 * BufferView_pimpl.C:
9052 * text2.C: tell X when we have made a selection for copying
9054 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9056 * BufferView_pimpl.C (MenuInsertLyXFile):
9057 * lyxfunc.C (menuNew):
9059 (doImport): add shortcuts to directory buttons
9061 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9064 * lyxfunc.C (setStatusMessage):
9065 (getStatusMessage): new methods
9066 (getStatus):use setStatusMessage instead of setErrorMessage
9067 (dispatch): when function is disabled, set error message here
9068 [instead of in getStatus previously]
9070 * BufferView_pimpl.C (workAreaButtonRelease): update
9071 toolbar/menubar here too.
9073 2002-01-13 Allan Rae <rae@lyx.org>
9075 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9076 Now seems indestructible. Remaining task is to audit all other
9077 code affected by deleteEmptyParagraphMechanism. One small quirk
9078 left is that an empty document with an error in the preamble can
9079 be made to report an error but no error box appears. I don't know
9081 (removeAutoInsets): Improved comments.
9083 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9086 * Thesaurus.C: update for Aiksaurus 0.14
9088 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9090 * text2.C (firstParagraph): removed member function, all uses
9091 replaces with ownerParagraph
9092 (redoParagraphs): here
9094 (toggleAppendix): here
9095 * BufferView2.C (insertErrors): here
9096 (setCursorFromRow): here
9098 2002-01-13 Allan Rae <rae@lyx.org>
9100 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9101 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9102 There is still a way to segfault this although you may have to do this
9103 multiple times: Have an InsetERT with an unknown command in it.
9104 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9105 <down-arrow>, <Enter> again, View->DVI, BANG!
9107 * text2.C (setCursor):
9108 (deleteEmptyParagraphMechanism):
9109 * lyxtext.h (setCursor):
9110 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9111 Making use of the return value may help fix other bugs.
9113 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9115 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9117 * LyXView.C (updateMenubar): call MenuBar::update here
9118 (updateToolbar): but not here
9119 (showState): do not update toolbar/menubar
9121 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9122 should need to care about that.
9124 * lyxfunc.C (verboseDispatch): simplify a bit
9125 (getStatus): have a version which takes a pseudoaction, and
9126 another which requires a (kb_action,string).
9128 * LyXAction.C (retrieveActionArg): make it work also when action
9129 is not a pseudo-action.
9130 (getActionName): simplify a bit
9133 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9135 * lyxfunc.C (verboseDispatch): new families of methods with
9136 several ways to specify a command and a bool to indicate whether
9137 the command name and shortcut should be displayed in minibuffer
9138 (eventually, we could extend that to a finer bitmask like
9139 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9140 (dispatch): the pristine dispatch command which just, well,
9141 dispatchs! Note it still sets its result to minibuffer; I'm not
9144 * lyxfunc.h: remove setHintMessage
9146 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9148 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * BufferView_pimpl.C (specialChar): delete new inset if we have
9151 not been able to insert it.
9153 * kbmap.C: revert to using int instead of kb_action, since all we
9154 are dealing with is pseudo-actions.
9156 * LyXAction.C (searchActionArg): change to return int instead of
9157 kb_action, since the result is a pseudoaction.
9159 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9161 * buffer.C (insertErtContents): Fix (partially) the font bug.
9163 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9165 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9166 as the other one is broken on my machine!
9168 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9171 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9173 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9175 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9176 reflect their actual use. Provide compatibility code for older lyxrc
9179 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9181 change names of popup font variables in line with the changes to lyxrc.C
9183 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9185 * buffer.C (asciiParagraph): avoid outputing a word twice after
9188 * lyxrc.C (getDescription): document that document_path and
9189 template_path can be empty.
9191 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9193 * LaTeXFeatures.C (getMacros):
9194 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9196 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9198 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9200 (getPackages): rename feature "floats" to "float". Use an array to
9201 iterate over 'simple' features (i.e. just a \usepackage). Add
9202 handling of "amsmath" (renamed from "amsstyle").
9204 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9206 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9209 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9211 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9212 FuncStaus::FuncStatus & FuncStaus::some_method().
9214 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9216 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9217 of the func_satus stuff. Edited and massaged in various ways by
9220 * lyxfunc.C (getStatus): use FuncStatus
9222 2002-01-08 Juergen Vigna <jug@sad.it>
9224 * text.C (nextBreakPoint): use function Inset::isChar().
9226 * paragraph.C (TeXOnePar): use function
9227 Inset::forceDefaultParagraphs.
9229 * buffer.C (latexParagraphs): use function
9230 Inset::forceDefaultParagraphs.
9232 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9234 * lyx_gui.C (init): set the style of the menu popups to
9235 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9237 2002-01-07 Juergen Vigna <jug@sad.it>
9239 * text.C (setHeightOfRow): small fix
9240 (prepareToPrint): don't look at alignment if we don't have the place
9243 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9245 * box.C: New file. Move the Box methods and functions out of box.h,
9246 following Lars' suggestion.
9248 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9250 * box.h: #include "support/LOstream.h", needed for inlined function.
9253 * lyxtextclasslist.C: added some using std declarations.
9255 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9257 * box.h: make signed dimensions to allow insets wider than
9258 the screen (bug #162)
9260 * BufferView_pimpl.C: add some insetHit debug
9262 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9264 * vc-backend.C: add FIXME
9266 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9268 * lyxfunc.C (getStatus): enable code for showing math font status
9271 2002-01-07 Juergen Vigna <jug@sad.it>
9273 * text.C (nextBreakPoint): removed debug output not needed anymore.
9275 2002-01-06 Juergen Vigna <jug@sad.it>
9277 * text.C (nextBreakPoint): fixed up this function we had this bug
9278 since ever but now hopefully we break row better.
9279 (insertChar): we have to check if an inset is the next char as it
9280 could now happen that a large inset is causing a break.
9282 2002-01-05 Juergen Vigna <jug@sad.it>
9284 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9285 if it doesn't like to be drawed.
9287 2002-01-04 Juergen Vigna <jug@sad.it>
9289 * BufferView2.C (lockInset): forgot to set a cursor.
9291 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9293 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9298 * form_maths_panel.C:
9299 * form_maths_panel.h:
9300 * form_maths_panel.fd: implemented sub- and super- buttons in math
9303 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9304 (or ^ space) to be used as in TeX (req'd by André).
9306 * lyxfunc.C: Allow ^ and _ again to be used both as
9307 super/subscript (mathed) and as themselves (in text).
9309 2002-01-03 Allan Rae <rae@lyx.org>
9311 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9312 "LyX" or the filename of the current buffer if it has one. This is a
9313 modified form of John Levon's patch.
9315 * XFormsView.C (setWindowTitle): also set icon title.
9317 * LyXView.h (setWindowTitle): signature changed.
9318 * XFormsView.h (setWindowTitle): ditto.
9320 2002-01-02 Juergen Vigna <jug@sad.it>
9322 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9324 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9326 * screen.C (topCursorVisible): introduce a temp var for
9327 text->cursor.row(), handle the case where this row is null. (kindo
9330 * text2.C (setCursor): add a couple of asserts.
9332 * paragraph.h (inset_iterator): add -> operator
9334 * paragraph.[Ch] (autoDeleteInsets): remove member function
9336 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9337 cursor pos correctly and handle inset deletion by itself.
9338 (insertErrors): move iterator declaration out of for expression
9340 * lyxtextclass.C: add <algorithm>
9342 * Makefile.am: added the new files to sources, removed layout.C
9344 * layout.C: removed file
9346 * layout.h: remove LYX_DUMMY_LAYOUT
9348 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9352 * lyxtextclass.[Ch]:
9353 * lyxtextclasslist.[Ch]: new files
9355 * include order changes to a lot of files, also changes because of
9358 2001-12-27 Juergen Vigna <jug@sad.it>
9360 * buffer.C (asciiParagraph): more fixes.
9362 * tabular.C (ascii): make ascii export support export of only the
9363 data separated by a column-delimiter.
9364 (ascii): better support for ascii export.
9366 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9368 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9370 * tabular_funcs.C: use a "using std::getline" instead of the
9371 previous fix from Angus (necessary for cxx + lyxstring)
9373 2001-12-24 Juergen Vigna <jug@sad.it>
9375 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9377 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9378 problems. First check a minipage also if we have some ert-contents
9379 (not only on par->size(), second set the right depth of the paragraph
9380 on the relink to the root-paragraph-list!
9382 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9383 which then did not anymore update the main paragraphs on undo/redo!
9385 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9387 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9388 code. Support all font-changing funcs (even those which are not in
9389 menu currently). Support for reporting font settings in
9390 mathed (disabled until Andre provides a function on mathed's side).
9392 * func_status.h (toggle): small helper function to set toggle
9395 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9397 * tabular_funcs.C: getline -> std::getline
9399 2001-12-21 Juergen Vigna <jug@sad.it>
9401 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9402 accessed and could be 0 (I couldn't generate this but it seems
9405 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9407 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9408 * tabular_funcs.h: here and include iosfwd
9410 2001-12-20 Juergen Vigna <jug@sad.it>
9412 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9413 inside inset but undo_par was.
9415 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9417 * Thesaurus.C: always include <config.h> in sources.
9421 * box.h: do not include <config.h> in header files
9423 * text.C (paintLastRow): remove unused variable
9425 * text.C (transformChar):
9427 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9430 * font.C (width): rewrite to use uppercase() instead of
9433 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9435 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9437 * lyxfind.C: clean up of find failure position change
9439 2001-12-20 Juergen Vigna <jug@sad.it>
9441 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9443 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9444 (TeXRow): added to LaTeX a single tabular row.
9445 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9446 (Latex): simplified and finally good LT-h/f support.
9447 (various_functions): just small adaptions for LT-h/f support.
9449 * tabular_funcs.[hC]: added and moved here all not classfunctions
9452 2001-12-19 Juergen Vigna <jug@sad.it>
9454 * tabular.[Ch]: better support for longtabular options (not finished
9457 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9459 * text.C (paintLastRow): use the label font instead of the font of
9460 the last character to compute the size of *_BOX. This makes more
9461 sense and avoids a crash with empty paragraphs.
9462 Use Painter::rectangle to draw EMPTY_BOX.
9464 2001-12-19 Juergen Vigna <jug@sad.it>
9466 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9467 the paragraphs if the replaced paragraph is not the first one!
9468 Tried to delete not used paragraphs but does not work yet so for
9469 now it's inside #ifdef's and by default off!
9471 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * MenuBackend.C: include "lyx_main.h" instead of declaring
9474 lastfiles (actually was declared as LastFiles* instead of a
9477 2001-12-17 Juergen Vigna <jug@sad.it>
9479 * tabular.C (AppendColumn): applied John's fix
9481 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9485 * BufferView_pimpl.h:
9486 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9489 * box.h: new start of class for above
9491 * lyxfunc.C: ignore space-only minibuffer dispatches.
9492 Show the command name when it doesn't exist
9494 * minibuffer.C: don't add empty lines to the history
9496 * minibuffer.C: add a space on dropdown completion
9498 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9500 * text.C: fix line above/below drawing in insets
9502 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9504 * lyxlength.C (LyXLength): Initialize private variables.
9506 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9508 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9509 when inserting error insets.
9511 2001-12-13 Juergen Vigna <jug@sad.it>
9513 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9514 actually sometimes the before-paragraph.
9515 (setUndo): don't clear the redostack if we're not actually undoing!
9517 2001-12-06 Juergen Vigna <jug@sad.it>
9519 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9520 and fixed redoing of main paragraph, so we can use it now ;)
9522 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9524 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9526 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9529 2001-12-13 André Pönitz <poenitz@gmx.net>
9532 * undo_func.C: minor cleanup
9534 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9536 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9537 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9538 font in urw-fonts package which is marked as -urw-fontspecific and
9539 does not work (incidentally, changing the encoding in the
9540 fonts.dir of this package to -adobe-fontspecific fixes the
9543 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9544 is a crash when undoing first paragraph (Juergen, please take a
9545 look). THis does not mean the undo fix is wrong, just that it
9548 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9549 the (Paragraph*) version when needed instead of duplicating the
9552 * text.C (workWidth): use Inset::parOwner to find out where the
9553 inset has been inserted. This is a huge performance gain for large
9554 documents with lots of insets. If Inset::parOwner is not set, fall
9555 back on the brute force method
9557 * paragraph_pimpl.C (insertInset):
9558 * paragraph.C (Paragraph):
9559 (cutIntoMinibuffer): set parOwner of insets when
9560 inserting/removing them
9562 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9564 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9570 * mathed/formulabase.C:
9571 * mathed/math_cursor.[Ch]:
9572 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9575 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9577 * lyxlength.[Ch] (operator!=): new function
9579 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9581 * text.C (workWidth): use Inset::parOwner to find out where the
9582 inset has been inserted. This is a huge performance gain for large
9583 documents with lots of insets. If Inset::parOwner is not set, fall
9584 back on the brute force method
9586 * paragraph_pimpl.C (insertInset):
9587 * paragraph.C (Paragraph):
9588 (cutIntoMinibuffer): set parOwner of insets when
9589 inserting/removing them
9591 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9593 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9595 * tabular-old.C (getTokenValue):
9596 * tabular.C (getTokenValue):
9597 (write_attribute): new versions for LyXLength
9598 (everywhere): adjust the use of widths
9600 * tabular.h: change the type of widths from string to LyXLength
9602 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9604 * paragraph.C: fixed missing line number count when exporting
9605 Environments to LaTeX file
9607 * buffer.C: added informational message for checking line numbers.
9609 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9611 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9612 paragraph, do the 'double space' part, but not the 'empty
9615 * text.C (workWidth): small optimization
9616 (getLengthMarkerHeight): use minimal size for negative lengths.
9618 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9620 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9622 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9624 2001-12-11 André Pönitz <poenitz@gmx.net>
9627 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9629 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9631 * text2.C: keep selection on a setFont()
9633 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9635 * lyx_cb.C: another bv->text misuse, from insert label
9637 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9640 * kbsequence.C: re-instate nmodifier mask
9642 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9644 * lyx_main.h: make lyxGUI private.
9646 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9648 * lyxfind.C: place the cursor correctly on failed search
9650 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * text.C (getLengthMarkerHeight): for small heights, the arrows
9653 are not always on top/bottom of the text
9654 (drawLengthMarker): smaller arrows; take the left margin in
9655 account; draw also vfills.
9657 (paintLastRow): remove special code for vfill and standard spaces,
9658 since everything is handled in drawLengthMarker now.
9660 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9662 * buffer.C (insertErtContents): try to handle font and language
9663 interaction a bit better.g
9665 * ColorHandler.C (updateColor): change the hash to cover the whole
9666 LColor enum, ws cleanup
9667 (getGCLinepars): ditto
9668 (getGCLinepars): only lookup in the linecache once.
9670 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9672 * iterators.C (operator++): Make the iterator more robust
9674 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9678 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9681 * text.C: better added space drawing
9683 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9686 * BufferView2.C: fix layout combo update on inset unlock
9688 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9690 * Makefile.am: don't compile unused files
9692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9696 * LyXAction.C: remove old LFUN_LAYOUTNO
9698 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9700 * paragraph_pimpl.h:
9701 * paragraph_pimpl.C: isTextAt() doesn't need font param
9703 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9706 * lyxlex.C: little cleanup
9708 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9710 * BufferView_pimpl.C: fix insertAscii for insets
9712 2001-12-05 Juergen Vigna <jug@sad.it>
9714 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9715 set the right font on the "multi" paragraph paste!
9717 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9723 * lyxlength.C: remove out-commented code.
9739 * vc-backend.C: change "while(" to "while ("
9741 * lyxlength.[Ch]: add zero function to check if length is zero or
9743 * lyxgluelength.C: use it
9745 2001-12-05 Allan Rae <rae@lyx.org>
9747 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9748 Works for 2.95.3, from what I understand of Garst's reports this should
9749 work for other g++ versions. We're screwed if the abs(int) definition
9750 changed between bugfix releases of gcc.
9752 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9754 * text.C: fix chapter label offset !
9756 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9759 * text.C: fix hfill at end of line, clean up
9761 2001-12-04 Juergen Vigna <jug@sad.it>
9763 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9764 that we force an update of the inset and it's owners if neccessary.
9766 2001-12-03 Juergen Vigna <jug@sad.it>
9768 * text.C (rowLast): simplified code
9770 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9772 * lyxfunc.C: fix show options on timeout
9774 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9776 * screen.C (topCursorVisible): scroll half a page when the cursor
9777 reached top of bottom of screen
9779 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9781 * minibuffer.C: deactivate on loss of focus
9783 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * vspace.[Ch] (operator!=): add operator.
9787 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9789 * BufferView_pimpl.C: refuse to open an inset when
9790 there's a selection.
9792 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9794 * BufferView_pimpl.C: allow to click on RHS of full row insets
9796 2001-11-30 Juergen Vigna <jug@sad.it>
9798 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9799 insets for undo reasons.
9801 2001-11-28 André Pönitz <poenitz@gmx.net>
9803 * vspace.[Ch]: cosmetical changes
9805 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9815 * kbsequence.C: part re-write of old kb code
9818 * WorkArea.C: remove Lgb_bug_find_hack
9820 2001-11-30 José Matos <jamatos@fep.up.pt>
9822 * buffer.C (makeDocBookFile): add a comment to point a hack.
9823 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9824 Fixed a double write of labels.
9826 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9829 * LaTeX.h Fixed bug in LaTeX class where it would not
9830 re-run latex if no depfiles were changed, but the .dvi was removed.
9832 2001-11-28 André Pönitz <poenitz@gmx.net>
9834 * all the files from the change on 2001/11/26:
9835 use lyx::layout_type instead of LyXTextClass::size_type
9836 use lyx::textclass_type instead of LyXTextClassList::size_type
9838 2001-11-29 Juergen Vigna <jug@sad.it>
9840 * text.C: added support for paragraph::isFreeSpacing()
9842 * buffer.C: same as above
9844 * paragraph.h: inserted isFreeSpacing() function to enable
9845 FreeSpacing inside InsetERT.
9847 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9848 of the paragraph's in the cut/copy buffer to 0!
9850 * text2.C (removeRow): remove the assert as it can!
9852 * lyxtext.h: added helper function firstRow returning firstrow and
9853 made firstrow private again.
9855 * BufferView2.C (lockInset): don't relock if we're already locked!
9857 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9859 (removeRow): added Assert::(firstrow)
9861 * debug.C: forgot to add INSETTEXT here.
9863 2001-11-28 Juergen Vigna <jug@sad.it>
9865 * sp_spell.C (initialize): changed error text to more general
9866 spellchecker command use (not only ispell!)
9868 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9870 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9872 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9874 * vspace.C: initialise lyxgluelength on failure
9876 2001-11-28 Allan Rae <rae@lyx.org>
9878 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9879 declaration & definition that looks like a function declaration.
9881 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9883 * BufferView2.C (copy):
9884 (copyEnvironment): do not clear the selection when doing a copy.
9886 * text.C (paintFirstRow): compilation fix
9888 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9890 * tabular.C (Latex): correct line count when writing latex.
9892 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9894 * paragraph_pimpl.h:
9895 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9898 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9902 * LColor.C: change vfillline->added_space
9904 * text.C: add markers and text for added space
9906 * vspace.C: fix comment
9908 2001-11-28 André Pönitz <poenitz@gmx.net>
9910 * paragraph.C: whitespace changes
9911 * all the other files from the change on 2001/11/26:
9912 change *::pos_type into lyx::pos_type
9914 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9916 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9917 language of the document when inserting error insets.
9919 2001-11-26 André Pönitz <poenitz@gmx.net>
9921 * BufferView_pimpl.[Ch]:
9929 * paragraph_pimpl.[Ch]:
9932 * text2.C: reduce header dependencies, introduce type for positions
9934 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9936 * <various>: change to use Alert.h
9938 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9940 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9941 when encountering an unknown token.
9942 (readLyXformat2): Show an error message if there were unknown tokens.
9944 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9947 * BufferView_pimpl.C:
9951 * text2.C: use par->isInset()
9953 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9955 * paragraph_pimpl.h:
9956 * paragraph_pimpl.C: cleanup
9958 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9960 * text2.C (removeRow):
9961 * text.C (setHeightOfRow): remove useless (and costly) call to
9964 2001-11-20 Allan Rae <rae@lyx.org>
9966 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9967 Now need Inset*::checkInsertChar() to return true for appropriate
9968 cases so that the characters in the minibuffer will actually be
9971 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9973 * text.C: change the order of the includes.
9974 (workWidth): initialize it at once.
9975 (workWidth): make maxw unsigned
9976 (setHeightOfRow): remove unused variable (inset)
9977 (selectSelectedWord): remove unused variable (inset)
9978 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9980 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9982 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9983 server is not running.
9985 (closeConnection): add debug info when server is disabled.
9987 * ColorHandler.C (getGCForeground): send debug message to GUI
9990 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9992 * kbmap.C (bind): modify because return conventions of
9993 kb_sequence::parse have changed.
9995 * kbsequence.C (parse): only ignore spaces and not any stupid
9996 control character. This avoids tests like s[i] <= ' ', which are
9997 guaranteed to fail with 8bit characters and signed chars.
9998 Change return code to string::npos when there have been no error
9999 (0 was a bad idea when error is at first character)
10001 2001-11-14 José Matos <jamatos@fep.up.pt>
10004 * buffer.C (simpleDocBookOnePar): removed unused argument.
10006 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10008 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10009 insets which are part of a word. Paragraph::isLetter takes care of
10010 that now. Use Paragraph::isInset to identify insets.
10011 (selectSelectedWord): do not test for hyphenation break.
10013 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10014 that protected spaces are considered as spaces.
10016 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10019 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10022 * lyxserver.C: fix it. and small cleanup.
10024 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10026 * BufferView_pimpl.C: use inline helpers
10029 * LaTeXFeatures.C: fix typos
10032 * Spacing.C: move spacing_string into class
10034 * ToolbarDefaults.C: move stuff into namespace anon
10036 * layout.h: update enum
10038 * lyxfunc.C: use better debug
10040 * minibuffer.h: fix typo
10044 * WorkArea.C: add and use Debug::WORKAREA
10048 * text2.C: code re-organisation, inline helpers
10050 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10052 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10053 std::vector.empty().
10055 2001-11-09 Allan Rae <rae@lyx.org>
10057 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10058 '\n's after tables. Tabular and ERT inset work now makes this no
10061 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10064 * minibuffer.C: fix crash, improve drop-down completion
10066 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10069 * lyxserver.C: invalidate fd's when doing endPipe()
10071 2001-11-08 José Matos <jamatos@fep.up.pt>
10073 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10074 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10077 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10079 2001-11-07 José Matos <jamatos@fep.up.pt>
10082 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10085 * buffer.C (sgmlOpenTag):
10086 * buffer.C (sgmlCloseTag): removed debug info.
10088 * buffer.h (sgmlOpenTag):
10089 * buffer.h (sgmlCloseTag): made public.
10091 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10093 * buffer.C (saveParamsAsDefaults):
10094 * lyx_cb.C (MenuLayoutSave): remove
10096 * LyXAction.C (init):
10098 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10100 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10102 * buffer.C (setPaperStuff): removed from here...
10104 * bufferparams.C (setPaperStuff): ... and moved there.
10106 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10110 * XFormsView.C: add support for drop-down completion
10112 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10114 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10117 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10119 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10122 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10124 * lyx_main.C: change ref to known bugs
10126 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10128 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10129 to work around older babel problems.
10131 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10133 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10135 2001-10-24 Juergen Vigna <jug@sad.it>
10137 * tabular-old.C (ReadOld): below variable changes reflected.
10139 * tabular.[Ch]: added ltType struct for longtable header/footer
10140 defines and changed all instances where they are used. Added
10141 future support for double top/bottom rows.
10143 2001-10-24 José Matos <jamatos@fep.up.pt>
10145 * buffer.h (docbookHandleCaption):
10146 * buffer.C (docbookHandleCaption): removed unused function.
10147 (makeDocBookFile): moved docbook supported version to v4.1.
10149 2001-10-24 José Matos <jamatos@fep.up.pt>
10152 * tabular.C (docbookRow): new function to export docbook code of a row.
10153 (DocBook): now honors the longtable flags.
10155 2001-10-23 José Matos <jamatos@fep.up.pt>
10158 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10159 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10161 * buffer.C (makeLinuxDocFile):
10162 (makeDocBookFile): reworked the preamble, more clean, and with
10163 support for lyx defined entities. Changed the document declaration
10164 to be more XML friendly.
10166 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10167 if we need to output XML that should be done with a filter.
10169 2001-10-22 Juergen Vigna <jug@sad.it>
10171 * sp_pspell.h (class PSpell): add alive function needed in the
10172 controller to see if the spellchecker could be started.
10174 2001-10-22 Juergen Vigna <jug@sad.it>
10176 * buffer.C (insertStringAsLines): modify the font for inserting
10177 chars in certain conditions by calling checkInsertChar(font).
10179 2001-10-19 Juergen Vigna <jug@sad.it>
10181 * text.C (workWidth): use getRow instead of wrong algorithm.
10182 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10184 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10189 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10191 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10193 * text.C (workWidth): do not search for the exact row when
10194 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10195 optimization for big documents.
10197 2001-10-18 Juergen Vigna <jug@sad.it>
10199 * text.C (workWidth): new function with added Inset * parameter.
10201 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10203 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10205 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10206 change return type of getColumnNearX.
10209 * text.C (changeRegionCase): use uppercase/lowercase instead of
10212 (rightMargin): simplify code by factoring out the uses of
10217 (appendParagraph): use Paragraph::size_type
10219 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * vspace.C (asLatexString): add a missing break
10223 2001-10-15 Herbert Voss <voss@perce.de>
10225 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10227 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10232 2001-10-10 André Pönitz <poenitz@gmx.net>
10234 * lyxfunc.C: removed greek_kb_flag.
10236 2001-10-10 Herbert Voss <voss@perce.de>
10238 * lyx_main.C: delete global string help_lyxdir.
10240 2001-10-09 Herbert Voss <voss@perce.de>
10242 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10244 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10246 * lyx_main.C: added global string help_lyxdir.
10248 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10250 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10252 * lyxrc.C (set_font_norm_type): support iso8859-4
10254 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10256 * LaTeX.C (deplog): add another regex for MikTeX
10258 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10260 * lyxrc.C (set_font_norm_type): support iso8859-3
10262 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10264 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10266 * LaTeXFeatures.C: remove special case of french and index
10268 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10269 before \begin{document}). This solves several incompatibilities.
10271 2001-10-03 Garst Reese <reese@isn.net>
10273 * lyx_cb.C: change CheckTex error msg.
10275 2001-10-03 José Matos <jamatos@fep.up.pt>
10277 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10279 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10281 * .cvsignore: update
10283 * lyx_main.C (commandLineVersionInfo): use new style version info.
10285 * buffer.C (writeFile):
10287 (makeLinuxDocFile):
10288 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10290 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10292 * version.h: update to use stuff in version.C
10294 * version.C.in: new file. Contains version information determined
10295 at compile time. This is a merging of version.h and
10298 2001-10-03 Juergen Vigna <jug@sad.it>
10300 * BufferView_pimpl.C (update): don't change "dirty" status in
10303 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10305 * WorkArea.C (c-tor): re-position version string slightly.
10307 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10309 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10310 revert to previous code.
10312 WorkArea.[Ch]: (show, destroySplash): methods removed.
10314 WorkArea.C: rework code so that it's an amalgam of the codes before and
10315 after the splash screen was moved to WorkArea.
10317 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10320 * vspace.C (inPixels):
10323 * buffer.C (insertStringAsLines):
10324 (asciiParagraph): fix types to be large enough
10326 * lyxlex_pimpl.h: change member status from short to int
10328 * layout.h: fix type of endlabeltype
10331 * kbsequence.C (parse): change return type to string::size_type
10333 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10336 * Bullet.C (bulletSize):
10337 (bulletEntry): do not use short ints as parameters
10339 * BufferView2.C (insertLyXFile): change a char to an int.
10341 * WorkArea.C (WorkArea): remove unneeded floats in computation
10343 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10345 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10347 * paragraph.C (asString): Do not ignore newline/hfill chars when
10348 copying to the clipboard.
10350 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10352 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10353 after a multi-line inset.
10355 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10357 * paragraph.C (validate): Set NeedLyXFootnoteCode
10359 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10361 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10362 and decrease-error to decrease.
10364 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10367 it more readable (should be equivalent)
10369 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10371 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10373 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10375 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10376 of a cursor (row, etc.) after a character has been deleted
10377 (deleteEmptyParagraphMechanism): call the method above on _all_
10378 cursors held by the LyXText when a double space has been
10381 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10383 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10385 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10387 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10388 background. Use greyOut() and the new show() methods to toggle between
10389 the foreground and background. Add code to remove the splash after
10390 its initial showing.
10392 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10393 (create_forms): no longer call Dialogs::showSplash.
10395 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10397 * .cvsignore: add version_info.h
10399 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10401 * version_info.h.in: new file
10403 * Makefile.am: add version_info.h.in
10405 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10406 version_info.h instead of VERSION_INFO
10408 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10410 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10411 The ERT inset now returns string().
10413 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10415 * lyxtext.h, text.C (selectNextWord): renamed as
10416 selectNextWordToSpellcheck.
10418 * text.C (selectNextWordToSpellcheck): Modified to not select
10419 words inside an ERT inset.
10421 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * lyx_cb.C (MenuLayoutSave): change a bit the question
10425 * sp_base.h: include <sys/types.h>
10427 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10429 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10431 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10433 * several files: fix typos in user-visible strings
10435 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10437 * text2.C (pasteSelection): do not set the selection, since it
10438 will be cleared later. Actually, the intent was to fix the way the
10439 selection was set, but I figured rmoving the code was just as good.
10441 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10443 * FontLoader.C (available): Check if font is available without
10446 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10448 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10450 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10452 * lyxrc.[Ch]: added display_graphics variable and associated code.
10454 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10456 * bufferparams.C (hasClassDefaults): new method. Returns true if
10457 the buffer parameters correspond to known class defaults
10459 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10461 * XFormsView.C (show): set minimum size to the main window.
10463 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10465 * text2.C (copySelection):
10467 * lyxfind.C (LyXReplace):
10468 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10469 LyXText::selectionAsString.
10471 * paragraph.C (asString): add "label" argument to the second form
10473 * text2.C (selectionAsString): add "label" argument and pass it to
10474 Paragraph::asString.
10476 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10478 * lyx_main.C (commandLineHelp): remove version information
10480 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10482 * lyx_main.C: add -version commandline option
10484 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * paragraph.h: make the optional constructor arg required instead.
10487 some modifications to other files because of this.
10489 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10491 * lyxserver.C (C_LyXComm_callback): make it static
10493 * lyx_main.C (error_handler): make it static
10495 * lyx_gui.C (LyX_XErrHandler): make it static
10497 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10499 * WorkArea.C: make the extern "C" methods static.
10501 * Makefile.am (lyx_LDADD): simplify
10503 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10505 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10506 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10508 * LyXAction.C (init):
10509 * lyxfunc.C (dispatch): associated code removal.
10511 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10513 * lyxfont.h (isSymbolFont): shut off warning
10515 * text.C (setHeightOfRow):
10516 (getVisibleRow): fix crash with empty paragraphs which have a
10519 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10521 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10524 2001-09-04 José Matos <jamatos@fep.up.pt>
10527 * tabular.C (docbook): rename docBook method to docbook.
10529 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10531 * Makefile.am: add dependencies to main.o.
10533 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10535 * FontLoader.C (available): Return false if !lyxrc.use_gui
10537 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10539 * FontInfo.C (query):
10540 * converter.C (view):
10541 * importer.C (Import):
10542 * exporter.C (Export): Can not -> cannot.
10544 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10546 * BufferView_pimpl.C: allow to create index inset even if
10549 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10551 * buffer.C (getLists): replace boost::tie code with an explicit pair
10552 as boost::tie can break some compilers.
10554 * iterators.h: Added a std:: declaration to the return type of
10557 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10559 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10562 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10564 * iterators.[Ch]: New files. Provide paragraph iterators.
10566 * buffer.C (changeLanguage): Use paragraph iterators.
10567 (isMultiLingual): ditto
10569 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10571 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10573 * FontLoader.C: Support for cmr font.
10575 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10577 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10578 (available): New method.
10580 * FontInfo.C (getFontname): Use scalable fonts even when
10581 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10584 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10586 * converter.C (Formats::view): reverted! Incorrect fix.
10588 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10590 * converter.C (Formats::view): only output the -paper option
10591 if the dvi viewer is xdvi, thereby fixing bug #233429.
10593 2001-08-23 Herbert Voss <voss@perce>
10595 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10597 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10599 * Spacing.h (Spacing): Set space to Default on in the default
10602 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10604 * vc-backend.h (RCS::versionString): add RCS to version
10605 (CVS::versionString): add CVS to version
10607 * vc-backend.C (scanMaster): do not add CVS to version.
10608 (scanMaster): do not add RCS to version
10610 * lyxvc.C (versionString): new method
10612 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10614 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10616 * Spacing.C (set): initialize fval
10618 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10620 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10623 2001-08-16 Juergen Vigna <jug@sad.it>
10625 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10627 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10629 * BufferView_pimpl.C:
10632 * text2.C: setParagraph takes linespacing now
10634 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10636 * LyxAction.C: add internal LFUN_CITATION_INSERT
10638 * LyXView.C: actually apply fix
10640 * bufferlist.C: fix open non-existent file
10642 * lyxfind.C: fix indentation
10644 * lyxfunc.C: remove unneeded assert, fix typo
10646 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10648 * MenuBackend.C: use "Floatname List"
10650 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10652 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10653 when converting LaTeX layout to insetERT.
10654 Generate a non-collapsed float when reading old float
10656 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10658 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10661 2001-08-13 Juergen Vigna <jug@sad.it>
10663 * text.C (fill): return 0 instead of 20 as this seems to be the more
10666 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10668 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10671 2001-08-13 Juergen Vigna <jug@sad.it>
10673 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10675 (SearchBackward): comment out the unlocking of the inset_owner this
10676 should not be needed!
10678 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10680 * Many files: Remove inherit_language, and add latex_language
10682 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10683 collapsible insets.
10685 2001-08-10 Juergen Vigna <jug@sad.it>
10687 * text.C (prepareToPrint): fixed hfill-width in draw!
10689 * BufferView2.C (selectLastWord): save the selection cursor as this
10690 now is cleared in the function LyXText::clearSelection!
10692 2001-08-08 Juergen Vigna <jug@sad.it>
10694 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10695 BACKSPACE type functions.
10697 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10698 is only cutted from the document but not put in the cut-buffer, where
10699 still the old stuff should be.
10701 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10703 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10705 * tabular.C (SetWidthOfCell): fixed special case where the width
10707 (LeftLine): handle '|' in align_special.
10709 (LeftAlreadyDrawed): ditto
10710 (SetWidthOfCell): ditto
10712 2001-08-07 Juergen Vigna <jug@sad.it>
10714 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10716 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10719 * lyxlex.[hC]: ditto
10721 2001-08-06 Juergen Vigna <jug@sad.it>
10723 * text.C (getVisibleRow): fix up row clearing a bit.
10725 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10727 * minibuffer.C: make sure the X server sees the changes in the input.
10729 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10731 * paragraph.C (getFont): split into...
10732 (getLabelFont): this
10733 (getLayoutFont): and this
10734 * paragraph_pimpl.C (realizeFont): calling this
10736 * text2.C (getFont): split into...
10737 (getLayoutFont): this
10738 (getLabelFont): and this
10739 (realizeFont): all three calling this
10741 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10744 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10746 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10748 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10750 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10751 layouts from the Quote inset insertion.
10753 2001-08-03 Juergen Vigna <jug@sad.it>
10755 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10757 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10758 only if status not is already CHANGED_IN_DRAW (second level).
10760 * text.C (draw): don't set the need_break_row when inside an
10763 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10765 * buffer.C (parseSingleLyXformat2Token): handle more latex
10768 * bufferview_funcs.[hC]: change function names to
10769 begin with small char, adjust other files.
10771 2001-08-02 André Pönitz <poenitz@gmx.net>
10774 BufferView_pimpl.C: remove broken special code for math-greek
10776 2001-08-02 Juergen Vigna <jug@sad.it>
10778 * BufferView_pimpl.C (update): redone this function so that we
10779 update the text again if there was a CHANGE_IN_DRAW.
10781 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10782 (drawFromTo): added a new internal bool which is used by draw() and
10784 (general): some cursor drawing problems fixed.
10786 2001-08-01 Juergen Vigna <jug@sad.it>
10788 * lyxfind.C (LyXFind): fixed
10789 (SearchForward): ditto
10790 (SearchBackward): ditto
10792 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10793 spurius drawing of the cursor in the main area.
10795 * text2.C (status): small fix which could lead to a segfault!
10796 (clearSelection): remove unneeded BufferView param.
10798 2001-08-01 André Pönitz <poenitz@gmx.net>
10800 * lyxfunc.C: small change due to changed mathed interface
10802 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10804 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10806 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10808 * lyxfunc.c: fail gracefully if file doesn't exist
10813 * BufferView_pimpl.C: IsDirWriteable() proto changed
10815 * LyXView.C: fix updateWindowTitle() to store the last title
10817 2001-07-31 Juergen Vigna <jug@sad.it>
10819 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10820 the font (wrong since using of Paragraph::highestFontInRange).
10822 * paragraph.C (highestFontInRange): added a default_size parameter.
10824 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10825 (setHeightOfRow): reformat
10827 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10829 * converter.[hC] + affected files: move to (inital-char)lowercase
10832 * ParagraphParameters.C (ParagraphParameters): remove commented code
10834 * PainterBase.[Ch]: remove commented code
10836 * LaTeXFeatures.h: add "bool floats" for float.sty
10838 * LaTeXFeatures.C (LaTeXFeatures): init floats
10839 (require): handle float
10840 (getPackages): do it with floats
10842 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10844 * BufferView_pimpl.C (Dispatch): improve handling of
10845 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10847 * commandtags.h: #include lyxfont.h here temporarily to avoid
10850 * bufferlist.h: include LString.h here.
10852 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10854 * text2.C (getStringToIndex): new method.
10856 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10858 * *: Reduced header file dependencies all over.
10860 2001-07-30 Baruch Even <baruch@lyx.org>
10862 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10864 2001-07-29 Baruch Even <baruch@lyx.org>
10866 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10868 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10870 * ParameterStruct.h (endif): add a default constructor to make
10871 sure that all variables is initialized.
10873 * ParagraphParameters.C (ParagraphParameters): adjust
10875 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10877 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10878 index; also, check that there is something to index, and that it
10879 does not span over several paragraphs.
10880 (doubleClick): use WHOLE_WORD_STRICT for double click.
10882 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10884 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10887 2001-07-26 Baruch Even <baruch@lyx.org>
10889 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10890 an InsetFig figure, backwards compatible reading of old figure code.
10892 2001-07-27 Juergen Vigna <jug@sad.it>
10894 * text2.C: font.realize function adaption.
10896 * text.C (draw): add a warnings lyxerr text if needed.
10898 * layout.C: font.realize function adaption.
10900 * language.C: add inherit_language and implement it's handlings
10902 * bufferview_funcs.C (StyleReset): remove language parameter from
10903 font creation (should be language_inherit now).
10905 * bufferparams.C (writeFile): handle ignore_language.
10907 * paragraph.C (getFontSettings): the language has to be resolved
10908 otherwise we have problems in LyXFont!
10910 * lyxfont.C (lyxWriteChanges): added document_language parameter
10911 (update): removed unneeded language parameter
10913 * paragraph.C (validate): fixed wrong output of color-package when
10914 using interface colors for certain fonts in certain environments,
10915 which should not seen as that on the final output.
10917 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10919 * BufferView_pimpl.C:
10924 * LyXAction.C: add thesaurus support
10927 * lyxfind.C: add "once" parameter, for thesaurus, to not
10928 move to the next match
10930 2001-07-26 Juergen Vigna <jug@sad.it>
10932 * lyxfont.C (realize): honor ignore_language too!
10935 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10937 * text.C (draw): one place more for ignore_language to not draw
10940 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10942 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10944 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10946 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10947 the minipage conversion problem.
10949 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10951 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10954 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10956 * BufferView.h: don't forward declare WorkArea
10958 * BufferView.C: don't include WorkArea.h
10960 2001-07-25 André Pönitz <poenitz@gmx.net>
10964 * lyxfunc.C: new LFUN 'math-space'
10966 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10968 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10970 * text2.C (toggleInset): call open/close
10972 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * lyxfunc.C (dispatch): add debug for the disabled case
10976 * font.C (buttonText): make similar to rectText
10978 * buffer.C (readInset): comment out parsing of insetlist and
10981 * PainterBase.C (rectText): small correction
10983 * BufferView_pimpl.C: comment out insettheorem and insetlist
10984 * LyXAction.C: ditto
10985 * commandtags.h: ditto
10987 2001-07-24 Juergen Vigna <jug@sad.it>
10989 * text.C (draw): honor the ignore_language.
10991 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10993 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10995 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10998 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11000 * lyxtext.h: remove unused (and unimplemented) methods
11002 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11004 * text.C (getVisibleRow): honor background color
11007 * Painter.h: remove default color argument for fillRectangle
11009 * text.C (backgroundColor): new method
11011 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11013 * text.C (getVisibleRow): adjust
11015 * font.[Ch] (rectText): new method, metrics
11016 (buttonText): new method, metrics
11018 * PainterBase.[hC]: make rectText and buttonText always draw and take
11021 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11023 * ToolbarDefaults.C (read):
11024 * MenuBackend.C (read): allow escaping in all strings
11026 * BufferView_pimpl.C (insertAndEditInset): new method.
11027 (Dispatch): use insertAndEditInset whenever appropriate.
11029 * BufferView_pimpl.C (insertNote): removed
11031 * BufferView_pimpl.C (smartQuote): new method, moved from
11032 BufferView; if an insetquote cannot be inserted, insert a '"'
11035 * BufferView2.C: remove insertCorrectQuote();
11037 * lyxfunc.C (getStatus): Add support for all remaingin
11038 inset-insert lfuns.
11040 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11042 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11043 command (necessary to pass " as parameter of self-insert.
11045 * text.C (selectWordWhenUnderCursor):
11046 (selectWord): add word_location parameter
11047 (selectWordWhenUnderCursor): same + remove special code for word
11049 (selectNextWord): use kind() to guess type of insetspecialchar,
11052 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11053 (insertErtContents): create ert insets as collapsed.
11054 (readInset): better compatibility code for Info inset.
11056 2001-07-20 Juergen Vigna <jug@sad.it>
11058 * lyxfunc.C (dispatch): use always LyXFind now!
11060 * text2.C (init): add a reinit flag so that the LyXText can be
11061 reinited instead of deleted and reallocated (used in InsetText).
11063 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11069 2001-07-18 Juergen Vigna <jug@sad.it>
11071 * text.C (selectNextWord): handle insets inside inset by calling
11072 always the bv->text functions so that we can go up the_locking_inset!
11074 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11075 in strange locations when inside an inset!
11077 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11078 handling to include insets.
11080 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11082 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11084 * LyXAction.C (init):
11086 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11087 LIGATURE_BREAK, since the name is so stupid.
11089 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11091 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11094 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11096 * sp_form.[Ch]: remove.
11098 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11100 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11103 * src/buffer.C (readInset): ditto.
11105 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11107 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11108 menuSeparator(), endOfSentenceDot(), ldots() and
11109 hyphenationPoint(), which are therefore removed.
11110 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11112 * LyXAction.C (init):
11113 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11115 * paragraph.C (getWord): removed.
11117 * BufferView_pimpl.C (Dispatch): use last word or selection for
11118 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11120 * lyx_main.C (queryUserLyXDir): do not ask before creating
11121 user_dir, except if it has been named explicitely.
11123 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11125 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11126 a document of zero size.
11128 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11130 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11131 approriately in the c-tor and in require().
11132 (getPackages): output the appropriate LaTeX for natbib support.
11134 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11135 variables "use_natbib" and "use_numerical_citations" when reading the
11137 (readInset): read the various natbib cite commands.
11138 (validate): white-space change.
11140 * bufferparams.[Ch]: new variables "bool use_natbib" and
11141 "bool use_numerical_citations".
11142 (writeFile): output them in the LyX file.
11144 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11146 * lyxfunc.C (getStatus): add support for all the inset insertion
11149 * text2.C (insertInset):
11150 * paragraph.C (insetAllowed):
11151 * BufferView_pimpl.C (insertInset): update to take in account the
11152 renaming of insertInsetAllowed
11154 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11156 * text2.C (getInset): new method. returns inset at cursor position.
11158 * BufferView_pimpl.C (Dispatch): changes because of this.
11160 * LyXAction.C (init): rename open-stuff to inset-toggle.
11162 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11164 * text2.C (toggleInset): renamed from openStuff; use
11167 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11169 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11171 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11173 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11175 * buffer.C (readLyXformat2): Add filename to the error dialog
11177 2001-07-18 Juergen Vigna <jug@sad.it>
11179 * tabular.C (GetCellNumber): put an assert here instead of the check!
11181 2001-07-17 Juergen Vigna <jug@sad.it>
11183 * BufferView_pimpl.C (toggleSelection): adapted too.
11185 * text.C (selectNextWord): adapted for use with insets.
11186 (selectSelectedWord): ditto
11188 2001-07-17 Juergen Vigna <jug@sad.it>
11190 * sp_spell.C (PSpell): fix initialitation order.
11192 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * paragraph.C: spacing
11196 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11198 * sp_spell.C: repair language selection for pspell
11200 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * lyxfunc.h: change more methods to begin with lower char.
11204 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11206 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11207 for unknown layouts.
11209 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11211 * buffer.C (readLyXformat2): Generate an error dialog if there are
11214 2001-07-16 Juergen Vigna <jug@sad.it>
11216 * sp_spell.C: always compile ISpell part.
11218 * lyxrc.C: added use_pspell entry and it's handling.
11220 2001-07-13 Juergen Vigna <jug@sad.it>
11222 * sp_spell.C: removed double includes.
11224 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11226 Consistent use of Lsstream.h:
11227 * Lsstream.h: added using std::stringstream for consistencies sake.
11229 * buffer.C: removed using std::stringstream
11231 * lyxfont.C (stateText):
11232 * paragraph.C (asString):
11233 * text.C (selectNextWord, selectSelectedWord):
11234 * text2.C (setCounter):
11235 * vspace.C (asString, asLatexString):
11236 std::ostringstream -> ostringstream.
11238 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11240 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11241 * commandtags.h: add LFUN_HELP_ABOUTLYX
11242 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11244 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11246 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11248 * lyx_gui_misc.C: remove spellchecker
11249 * lyxfunc.C: showSpellchecker
11251 * sp_ispell.h: added
11252 * sp_pspell.h: added
11253 * sp_spell.C: added
11254 * sp_form.[Ch]: removed
11255 * spellchecker.[Ch]: removed
11257 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11259 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11261 (simpleTeXSpecialChars): Simply print the input character without
11262 any special translation if pass_thru is set.
11264 * layout.h: Added bool pass_thru to layout class for being able to
11265 implement pass through of a paragraph for Literate Programming.
11267 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11268 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11269 * layout.C (Read): add "passthru" to list of layout tags and add
11270 code to set the pass_thru boolean when it is read.
11272 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11274 * trans_decl.h: remove allowed from KmodInfo
11276 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11277 remove allowed code
11280 * paragraph_pimpl.C (erase): use boost::prior
11282 * Painter.C (text): use data() instead of c_str() when length is
11284 * WorkArea.C (putClipboard): ditto
11285 * font.h (width): ditto
11287 * BufferView2.C: use it-> instead of (*it). for iterators
11289 * paragraph_pimpl.C: ditto
11290 * paragraph.C: ditto
11291 * minibuffer.C: ditto
11292 * language.C: ditto
11294 * encoding.C: ditto
11295 * counters.C: ditto
11296 * converter.C: ditto
11298 * Variables.C: ditto
11299 * TextCache.C: ditto
11300 * MenuBackend.C: ditto
11301 * LyXAction.C: ditto
11303 * FloatList.C: ditto
11304 * DepTable.C: ditto
11305 * ColorHandler.C (LyXColorHandler): ditto
11307 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11309 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11311 * text2.C (openStuff): reintroduce this method (which had been
11312 nuked in NEW_INSETS frenzy).
11314 * lyxfunc.C (Dispatch): when an action has not been handled, use
11315 its name in the error message, not its number.
11317 * paragraph.C (inInset): change method name to begin with lowercase.
11320 * text2.C: updates because of this.
11322 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11324 * ToolbarDefaults.C (add): add spaces in error message
11326 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11328 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11329 (readLyXformat2): rename return_par to first_par, use lyxlex's
11330 pushToken and remove the manual push handling.
11331 (parseSingleLyXformat2Token): add another ert comp. variable:
11332 in_tabular, rename return_par to first_par. handle newlines better
11334 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11336 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11338 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * text2.C (getParFromID): removed
11342 * buffer.C (getParFromID): new method moved form lyxtext.
11343 * BufferView2.C (insertErrors): adjust
11344 (setCursorFromRow): adjust
11345 * BufferView_pimpl.C (restorePosition): adjust
11346 * lyxfunc.C (Dispatch): adjust
11347 * undo_funcs.C (textUndo): adjust
11349 (textHandleUndo): adjust
11350 (textHandleUndo): adjust
11352 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * buffer.C: up' the LYX_FORMAT
11356 * lyxfont.h: turn NO_LATEX on as default
11358 * buffer.C (insertErtContents): new methods of tex style compability.
11359 (parseSingleLyXformat2Token): use it several places.
11360 * tabular.C (OldFormatRead): and here
11362 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11364 * text2.C: remove some commented code.
11367 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11368 * trans.C: changes because of the above.
11370 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11372 * text2.C (setCounter): Fix counters bug with bibliography layout.
11374 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11376 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11377 own member functions
11378 (simpleTeXSpecialChars): ditto
11380 2001-07-06 Juergen Vigna <jug@sad.it>
11382 * a lot of files: changed the access to LyXText::status and the
11383 call of undo-functions.
11385 * undo.[Ch]: added a inset_id to the undo informations.
11387 * undo_funcs.[Ch]: added and moved here all undo functions.
11389 * lyxtext.h: give the status enum a weight, made status_ a private
11390 variable and made accessor functions for it, removed the whole bunch
11391 of undo-functions as they are now in their own file, make some
11392 functions publically available. Added function ownerParagraph with
11395 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11396 made InInset() a const function, added getParFromID() function.
11398 * buffer.[Ch]: added const version for inset_iterator functions,
11399 added getInsetFromID() function.
11401 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11402 changed undo functions for new version.
11404 2001-07-05 Juergen Vigna <jug@sad.it>
11406 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11407 unknow mechanism does not call the proper constructor but only this
11408 one also if I request the other!?
11410 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11412 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11414 * text2.C (LyXText): use initialization lists.
11416 * lyxtext.h (Selection): initialize set_ and mark_
11417 (init): remove method
11419 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11421 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11423 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * screen.[Ch]: change method names to begin with lowercase
11427 * BufferView_pimpl.C (updateScrollbar): simplify further and
11428 hopefully make it a bit faster.
11430 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11432 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11433 calling directly xforms functions.
11435 * Painter.C (Painter):
11436 * lyx_cb.C (MenuWrite):
11437 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11440 * lyx_gui.C: remove bogus guiruntime extern declaration.
11442 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11446 (redoDrawingOfParagraph): ditto
11447 (redoParagraphs): ditto
11448 (cutSelection): don't create a object for CutAndPaste use the
11449 static method directly
11450 (pasteSelection): ditto
11452 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11455 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11457 * modifications to some other files because of this.
11459 * Makefile.am (lyx_SOURCES): add XFormsView
11461 * XFormsView.[Ch]: new files
11463 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11464 the main window. Move the gui dependent stuff to XFormsView
11466 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11468 * tabular.C (GetCellInset): update cur_cell also in the row/col
11469 version of this function.
11471 * lyxfunc.C: no need to include figure_form.h here.
11477 * lyxvc.C: no need to include forms.h here.
11479 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11481 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11483 * lyxfunc.C (Dispatch):
11485 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11486 constructor argument.
11488 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11490 * paragraph.C (Paragraph): dont't clear, and just set layout.
11491 (makeSameLayout): use params's copy contructor.
11493 * ParagraphParameters.[Ch] (makeSame): delete method
11495 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11497 * Variables.[Ch]: fix indentation, rename set to isSet
11499 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11501 * lyxfunc.C (Dispatch): fix typo
11503 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11505 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11508 * bufferlist.C: include assert.h for emergencyWrite().
11510 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11512 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11513 give up at last (bug #425202) !
11515 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11521 * spellchecker.C: strip spellchecker options and bring up
11522 preferences tab instead
11524 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11526 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11527 the istringstream constructor
11529 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11531 * paragraph.C (getLayout): fix return value
11533 * paragraph.h: do not declare getLayout as inline.
11535 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11537 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11539 * lyxcursor.h (operator<): new func
11540 (operator>): new func
11541 (operator>=): new func
11542 (operator<=): new func
11544 * text.C (changeCase): use selection.start and selection.end
11545 (changeRegionCase): require from to be <= to. Require par to be a
11548 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11550 2001-06-27 Juergen Vigna <jug@sad.it>
11552 * text.C (cursorLeftOneWord): changed to return the cursor and added
11553 overlay with BufferView * parameter which calls this one.
11555 (selectWord): use new getWord function.
11556 (changeCase): renamed from changeWordCase as and extended to work
11557 also on selections.
11559 * lyxtext.h: added enum word_location
11561 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11562 changeCase as this operates now also on selections.
11564 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11566 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11568 * many files: send debug output to Debug::INFO instead of
11571 * converter.C (View):
11573 (Move): send debug output to Debug::FILES instead of console.
11575 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11577 * lyxfunc.C (getStatus): use func_status
11579 * func_status.h: new header, describing the results of
11580 LyXFunc::getStatus;
11582 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11585 2001-06-25 The LyX Project <jug@sad.it>
11587 * buffer.C (sgmlOpenTag):
11589 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11591 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11593 * text2.C: remove some dead code
11595 * tabular.C (GetCellInset): store the last cell checked (gotten)
11597 * tabular.h: add the helper for the speedup
11599 * lyxtext.h: remove some dead code
11601 2001-06-26 The LyX Project <Asger>
11603 * paragraph.C: Change export to LaTeX of alignment to
11604 \begin{center} and family for better roundtrip work with reLyX.
11606 * Tune the math drawing a bit.
11608 2001-06-25 The LyX Project <Asger>
11610 * LColor.C (LColor): New color for math background. New color
11613 2001-06-25 The LyX Project <jug@sad.it>
11615 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11617 * lyxfunc.C (Open):
11618 * bufferlist.C (newFile): do not restrict to files ending with
11621 * BufferView_pimpl.C (MenuInsertLyXFile):
11623 2001-06-24 The LyX Project <jug@sad.it>
11625 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11628 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11630 * lyxtext.h: rename most methods to begin with a small char.
11631 Lots of changes because of this.
11633 * paragraph.C (Paragraph): do not call fitToSize
11634 (erase): call Pimpl::erase
11635 (insertChar): call Pimpl::insertChar
11636 (insertInset): call Pipl::insertInset
11637 (breakParagraph): do not call fitToSize
11638 (breakParagraphConservative): do not call fitToSize
11639 (fitToSize): remove method
11641 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11643 2001-06-24 The LyX Project <Asger>
11645 * Fix Qt compilation^2
11647 2001-06-24 The LyX Project <jug@sad.it>
11649 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11650 depthHook(getDepth()-1).
11653 * ParagraphParameters.h:
11654 * ParameterStruct.h: change type of depth to unsigned int ==
11655 depth_type. Many adaptations to other files before of that.
11657 2001-06-24 The LyX Project <Asger>
11659 * Fix Qt compilation.
11661 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11663 * paragraph.h: renamed several methods to begin with small letter.
11664 several changes to many parts of the code because of this.
11666 2001-06-23 The LyX Project <jug@sad.it>
11668 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11669 rewritten to discard all double spaces when KeepEmpty is off
11670 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11671 to only handle newlines but not fiddle with spaces and friends.
11673 * lyxfunc.C (MenuNew): when doing 'new from template', use
11674 template_path as default directory
11676 2001-06-23 The LyX Project <Asger>
11678 * Clean-up of header file includes all over
11679 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11681 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11683 * paragraph.h: renamed from lyxparagraph.h
11685 2001-06-23 Asger <lyx@violet.home.sad.it>
11687 * Buffer.h: Removed Buffer::resize
11688 * BufferList.h: Removed BufferList::resize
11689 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11690 the document lazily when we change the width, or the font settings.
11692 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11694 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11696 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11698 * buffer.h: remove out of date comment
11700 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11703 * screen.C: fix "theoretical" GC leak
11705 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * LaTeX.C (scanAuxFile):
11708 (deplog): remove trailing \r when reading stream (useful under
11711 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11713 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11714 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11715 and BufferView::theLockingInset(Inset*), so should use them and not
11716 access bv_->text->the_locking_inset directly.
11718 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11720 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11723 * tex-defs.h: remove old unused file
11725 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11727 * BufferView_pimpl.C: fix typo, remove minibuffer message
11728 when buffer has loaded
11730 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11732 * lyxfunc.C (Dispatch): use stringstream
11733 (MenuNew): use stringstream
11734 (Open): use stringstream
11736 * importer.C (Import): use stringstream
11738 * bufferview_funcs.C (CurrentState): use stringstream
11740 * LaTeX.C (run): use stringstream
11742 * BufferView_pimpl.C (savePosition): use stringstream
11743 (restorePosition): use stringstream
11744 (MenuInsertLyXFile): use stringstream
11746 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11759 * vspace.C: removed // -*- C++ -*- as first line.
11762 * version.h: added // -*- C++ -*- as first line.
11764 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11766 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11768 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11771 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11776 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * gettext.C: include LString.h even when --disable-nls is on.
11780 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11782 * converter.h (Get): changed argument type from int to
11783 FormatList::size_type to avoid unnecessary conversion.
11785 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11788 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11790 * gettext.h: include LString.h even when --disable-nls is on.
11792 2001-06-07 Juergen Vigna <jug@sad.it>
11794 * text.C (BreakAgain): subst spaces with tabs.
11796 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11797 (resizeInsetsLyXText): set force on resizeLyXText.
11799 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11801 * gettext.h (gettext_init):
11802 (locale_init): use a real definition instead of a macro
11804 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11806 * Bufferview_pimpl.C:
11808 * LColor.C: further lcolor tidies
11810 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * BufferView_pimpl.C (updateScrollbar): simplify.
11814 * BufferView2.C: don't include insets/insetinfo.h, change
11815 prototype for insertInset and call the Pimpl version. let
11816 updateInset call Pimpl version.
11818 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11819 gotoInset to BufferView::Pimpl
11821 2001-06-01 Juergen Vigna <jug@sad.it>
11823 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11824 inside a LockingInset (is the update needed at all?).
11826 2001-05-31 Juergen Vigna <jug@sad.it>
11828 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11829 here not the old one otherwise how should we compare it afterwards
11832 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * FontInfo.C: bring C functions into global namespace when
11840 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11842 * LString.h: make sure config.h has been loaded before LString.h.
11844 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11845 (one for each char read by EatLine!).
11847 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11850 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11853 to the same as the par we break from
11855 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11859 * MenuBackend.C (expand): also create menu entries for wide
11860 versions of the floats.
11862 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11864 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11866 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11867 frontends/Makefile.am
11873 * tabular.C (getTokenValue): add std::
11875 * tabular-old.C (getTokenValue): add std::
11876 (getTokenValue): ditto
11877 (getTokenValue): ditto
11879 * screen.C (ToggleSelection): adjust
11881 * lyxtext.h: put selection cursors inside a Selection struct.
11883 * lyxfunc.C (moveCursorUpdate): adjust
11885 * lyxfont.C (latexWriteStartChanges): add std::
11887 * lyxfind.C: adjust
11889 * font.h: delete with(char const *, LyXFont const &)
11891 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11893 * FontInfo.C (getFontname): add std::
11895 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11896 (workAreaButtonPress): adjust
11897 (tripleClick): adjust
11899 (moveCursorUpdate): adjust
11902 * BufferView2.C (gotoInset): adjust
11904 2001-05-30 Juergen Vigna <jug@sad.it>
11906 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11907 to check pspell I add this as default as I now have new pspell
11908 libraries and they seem to use this.
11910 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * text2.C (CutSelection): make the cursor valid before the call to
11915 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11917 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11918 relied on 0 terminated strings and other horrors. Bug found due to
11919 the new assert in lyxstring!
11921 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11924 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11926 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11929 * lyxfunc.C (processKeySym): change method of getting to the
11932 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11933 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11934 * BufferView_pimpl.[Ch]: here as private methods.
11936 2001-05-28 Juergen Vigna <jug@sad.it>
11938 * text.C (SetHeightOfRow): added the update() call again as it is
11939 needed to initialize inset dimensions!
11941 2001-05-16 Juergen Vigna <jug@sad.it>
11943 * text2.C (SetCharFont): Add new function with BufferView * and
11944 bool toggleall parameters for setting insets internal fonts.
11945 (SetFont): Freeze the undo as we may change fonts in Insets and
11946 all this change should be inside only one Undo!
11948 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11949 setting font's in insets as for them we have the SetFont function!
11951 2001-05-15 Juergen Vigna <jug@sad.it>
11953 * text2.C (ClearSelection): to be sure we REALLY don't have any
11956 * tabular.C (TeXCellPreamble): fixed the left border problem for
11959 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11961 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11964 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11967 LFUN_BREAKPARAGRAPH.
11969 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11970 help test to "internal only", similar for LFUN_INSERT_URL
11972 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11973 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11974 auto_region_delete and deadkeys.
11976 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11979 * LColor.C: remove some dead entries, tidy a little
11981 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11985 (Dispatch): implement LFUN_ESCAPE
11987 * commandtags.h: add LFUN_ESCAPE
11989 * LyXAction.C (init): add entry for LFUN_ESCAPE
11991 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11992 Remove commented code.
11993 (insertNote): moved here
11994 (open_new_inset): moved here
11996 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11999 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12001 * kbmap.C (findbinding): clean it up and make it work correctly.
12003 * lyx_main.C (init): do not pass argc and argv as parameters
12005 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12007 * buffer.C: fix path for OS/2 & Win32
12011 * lyx_main.C: Added os:: class.
12013 * os2_defines.h: update
12015 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12018 better by trying again with reduced state.
12020 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12022 * lyxrc.C (read): print error about invalid key sequence only when
12023 debugging (because not all latinX keysyms are known to some X
12026 * kbsequence.C (getiso): add a few std:: qualifiers
12027 (getiso): comment out extra return statement.
12029 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12031 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12033 (Dispatch): enhance the accent inset a bit. (not perfect)
12035 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12039 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12041 * bufferlist.C (emergencyWrite): fix assert() call
12043 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12045 * text.C (InsertChar): Added trivial patch to only send the "you
12046 can not do multiple spaces this way" message once during a
12049 2001-05-08 Baruch Even <baruch@lyx.org>
12051 * Makefile.am: Changed order of libraries to get LyX to link properly
12052 with the gnome frontend.
12054 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12056 * LaTeXFeatures.h: add a std:: qualifier
12058 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12060 * paragraph.C (String): use stringstream
12062 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * paragraph.C (writeFile): remove footflag arg
12066 * buffer.C (makeLaTeXFile): use stringstream
12067 (latexParagraphs): remove footnot gurba
12069 * LaTeXFeatures.C (getPackages): use stringstream
12070 (getMacros): likewise
12071 (getTClassPreamble): likewise
12072 (getFloatDefinitions): new method
12074 * paragraph.C (writeFile): reindent
12077 * WorkArea.h: revert the xpos + etc changes.
12079 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12081 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12083 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12084 (pasteSelection): likewise
12085 * text2.C (CreateUndo): likewise
12087 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * minibuffer.C (peek_event): temporarily reduce the functionality
12090 of the minibuffer (to allow args on lfuns)
12092 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12093 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12095 * buffer.C (readInset): add compability reading of old float
12096 lists, add reading of new style float list.
12097 (readInset): avoid reevaluation of inscmd.getCmdName()
12098 (getLists): reindent
12100 * MenuBackend.C (MenuItem): implement parsing of
12101 md_floatlistinsert and md_floatinsert.
12102 (expand::LastFiles): move initalizaton of iterators out of loop,
12103 avoid reevaluation.
12104 (expand::Documents): introduce typdedef vector<string> Strings,
12106 (expand::ExportFormats): introduce typedef vector<Format const *>
12107 Formats, and use it.
12108 (expand): implement FloatListInsert and FloatInsert.
12110 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12111 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12112 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12114 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12116 (Dispatch::LFUN_FLOAT_LIST): implement
12118 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12120 * LaTeX.C (run): Fix problem with --export code.
12122 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12124 * BufferView.[Ch] (workarea): removed.
12125 (getClipboard) new method; wrapper for workarea()->getClipboard()
12127 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12130 * WorkArea.h (width, height, xpos, ypos): These methods all
12131 returned the dimensions of the work_area sub-area of WorkArea,
12132 resulting in a position error if the WorkArea were resized. Now
12133 return the dimensions of the entire WorkArea.
12135 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12137 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12139 * LaTeX.C (deplog): correct the syntax of regex reg1
12141 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12143 * undo.C: remove !NEW_INSETS cruft
12145 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * text2.C: remove !NEW_INSETS cruft
12149 * text.C: remove !NEW_INSETS cruft
12151 * tabular.C: remove !NEW_INSETS cruft
12153 * spellchecker.C: remove !NEW_INSETS cruft
12155 * lyxtext.h: remove !NEW_INSETS cruft
12157 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12159 * lyxfunc.C: remove !NEW_INSETS cruft
12161 * lyxfind.C: remove !NEW_INSETS cruft
12163 * lyx_cb.C: remove !NEW_INSETS cruft
12165 * figureForm.C: remove !NEW_INSETS cruft
12167 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12169 * buffer.[Ch]: remove !NEW_INSETS cruft
12171 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12173 * CutAndPaste.C: remove !NEW_INSETS cruft
12175 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12177 * BufferView2.C: remove !NEW_INSETS cruft
12179 * BufferView.h: remove !NEW_INSETS cruft
12181 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12183 * Lsstream.h: include LString.h before the sstream headers to
12184 fix problem with gcc 2.95.3 and lyxstring
12186 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12188 * lyx_main.C: add using directives when needed for C functions
12189 declared in std:: namespace.
12191 2001-04-27 Juergen Vigna <jug@sad.it>
12193 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12194 (SetHeightOfRow): comment out the update call should not be needed!
12196 2001-04-13 Juergen Vigna <jug@sad.it>
12198 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12199 (LyXTabular): tried to minimize operator= operations (and realized
12200 hopfully Lars wish).
12202 2001-04-27 Juergen Vigna <jug@sad.it>
12204 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12206 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12210 * buffer.C (readInset): hack to make listof algorithm work
12212 * BufferView_pimpl.C: hack to make listof algorithm work
12214 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * LyXAction.C: removed all !NEW_INSETS cruft
12217 (init): moved lfun_item in method
12219 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12221 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12223 * BufferView2.C (theLockingInset): white space.
12225 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * minibuffer.C: include <iostream>
12229 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12231 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12233 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12235 * text.[Ch] (TransposeChars): new method
12237 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * call message directly through LyXView instead of through LyXFunc
12240 * BufferView2.C: adjust
12241 * BufferView_pimpl.C: adjust
12242 * FontLoader.C: adjust
12244 * bufferview_funcs.C: adjust
12245 * converter.C: adjust
12246 * figureForm.C: adjust
12247 * importer.C: adjust
12249 * lyx_gui_misc.C: adjust
12250 * lyxfunc.C: adjust
12253 + more files in subdirs
12255 * lyxparagraph.h (size): move up int file
12258 * adjust all uses of Assert to lyx::Assert.
12260 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12261 lyxfunctional in namespace lyx
12262 * layout.C (hasLayout): ditto
12265 (delete_layout): ditto
12266 (NumberOfClass): ditto
12267 * converter.C (GetFormat): ditto
12272 * bufferlist.C (getFileNames): ditto
12273 (emergencyWriteAll): ditto
12276 * MenuBackend.C (hasSubmenu): ditto
12279 * BufferView_pimpl.C (getInsetByCode): ditto
12281 2001-04-18 Juergen Vigna <jug@sad.it>
12283 * vspace.C (asLatexString): fixed the 100% problem.
12285 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * lyxfunc.C (Dispatch):
12289 * minibuffer.h: add a few std:: qualifiers
12291 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * minibuffer.[Ch]: reimplement so that commands is initiated and
12294 run from lyxfunc, simplified som handling, and made the completion
12295 and history code for complete. wip.
12297 * lyxfunc.C (processKeySym): call message
12298 (miniDispatch): new temporary method
12299 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12300 (LFUN_MESSAGE): implement
12301 (LFUN_MESSAGE_PUSH): implement
12302 (LFUN_MESSAGE_POP): implement
12303 (initMiniBuffer): the initial/defualt minibuffer message.
12305 * lyxfont.[Ch]: inline some more getters
12307 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12309 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12311 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12312 (AutoSave): use LFUN_MESSAGE
12313 (Reconfigure): ditto
12315 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12317 * figureForm.C: use LFUN_MESSAGE
12319 * converter.C (runLaTeX): use LFUN_MESSAGE
12321 * bufferview_funcs.C: use LFUN_MESSAGE
12323 (changeDepth): ditto
12325 * bufferparams.h: use boost::
12327 * bufferlist.h: inherit privately from noncopyable
12329 * bufferlist.C (loadLyXFile): remove some commented code.
12331 * buffer.C (runChktex): use LFUN_MESSAGE
12333 * ShareContainer.h: inherit privately from noncopyable
12335 * ParagraphParameters.[hC] (depth): inline it.
12337 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12339 (message): new method
12340 (messagePush): ditto
12341 (messagePop): ditto
12342 (show): init minibuffer
12343 (showState): direct call
12345 * LaTeX.[Ch]: inherit privately from noncopyable
12346 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12347 instead of WriteStatus.
12349 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12351 * BufferView_pimpl.C (buffer): don't init minibuffer
12352 (workAreaButtonPress): use LFUN_MESSAGE
12353 (workAreaButtonRelease): ditto
12354 (savePosition): ditto
12355 (restorePosition): ditto
12356 (MenuInsertLyXFile): ditto
12357 (workAreaExpose): don't init minibuffer
12358 (update): remove commented code, simplify
12360 * BufferView2.C (openStuff): use LFUN_MESSAGE
12361 (toggleFloat): ditto
12364 (copyEnvironment): ditto
12365 (pasteEnvironment): ditto
12370 (updateInset): remove some commented code
12372 * lastfiles.h: inherit privately from noncopyable
12375 * lyx_main.h: ditto
12377 * lyxlex_pimpl.h: ditto
12379 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12380 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12381 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12383 * LyXAction.h: inherit privately from noncopyable, add methods
12384 func_begin, func_end, returning iterators to the func map.
12386 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12387 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12388 (func_begin): new method
12389 (func_end): new method
12391 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12393 (copySelection): ditto
12394 (pasteSelection): ditto
12396 * BufferView.C: whitespace change
12397 * BufferView.h: inherit privately from noncopyable
12399 2001-04-16 Allan Rae <rae@lyx.org>
12401 * tabular-old.C (l_getline):
12402 * spellchecker.C (sc_check_word):
12403 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12404 an unrecognised preprocessor directive. So ensure they're wrapped.
12406 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12408 * src/exporter.C (Export): Give an error message when path to file
12411 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12413 * LaTeX.C (deplog): Always check that foundfile exists.
12415 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12418 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12420 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * tabular.[Ch] (getLabelList): implement new method
12424 * minibuffer.h: comment ouf setTiimer
12426 * minibuffer.C (ExecutingCB): constify res
12427 (peek_event): constify s
12428 (Set): constify ntext
12429 (Init): constify nicename
12431 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12433 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12434 (savePosition): use two params to Minibuffer::Set
12435 (restorePosition): ditto
12437 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * lyx_main.C: include language.h
12441 * Makefile.am (lyx_main.o): add language.h
12443 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12449 * CutAndPaste.C: include gettext.h
12451 * lyxfont.h: remove old hack with ON and OFF.
12454 * lyxfont.h: do not include language.h...
12459 * bufferview_funcs.C:
12465 * paragraph.C: ... but do it here instead
12467 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12471 * tabular.C: small reformat
12473 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12476 (BreakParagraph): ditto
12477 (SetOnlyLayout): ditto
12480 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12483 * lastfiles.C: removed most using decl, add std:: where needed
12485 * buffer.C: ws changes
12487 * MenuBackend.C (class compare_format): put into anon namespace
12488 (expand): constify label, names, action, action2
12491 * text.C (SingleWidth): constify font
12492 (IsBoundary): constify rtl2
12493 (GetVisibleRow): constify ww
12495 * LaTeX.C (deplog): constify logfile
12497 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12499 (workAreaExpose): constify widthChange, heightChange
12501 * lyxrow.C (par): moved
12504 * lyxrow.h: as inlines here
12506 * lyxfont.h (shape): moved from lyxfont.C
12507 (emph): moved from lyxfont.C
12509 * lyxfont.C (LyXFont): use initialization list for all
12511 (shape): move to lyxfont.h as inline
12512 (emph): move to lyxfont.h as inline
12515 2001-04-04 Juergen Vigna <jug@sad.it>
12517 * vspace.C: had to include stdio.h for use of sscanf
12519 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12522 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12523 independent of xforms.
12525 2001-04-02 Juergen Vigna <jug@sad.it>
12527 * spellchecker.C: fixed namespace placing!
12529 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12531 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12532 the LyXParagraph * is 0.
12534 2001-03-29 Juergen Vigna <jug@sad.it>
12536 * vspace.C: added support for %, c%, p%, l%.
12537 (stringFromUnit): added helper function.
12538 (asLatexString): changed to give right results for the %-values.
12540 * buffer.C: convert the widthp in a width%.
12542 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12544 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12547 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12548 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12550 * lyx_cb.[Ch]: see above.
12552 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12556 * lyx.[Ch]: replaced by figure_form.[Ch].
12560 * lyxfunc.C: changed headers associated with above changes.
12562 2001-03-27 Juergen Vigna <jug@sad.it>
12564 * BufferView_pimpl.C: set the temporary cursor right!
12566 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12568 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12570 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12572 * LString.h: removed "using std::getline"!
12574 * BufferView_pimpl.C (Dispatch): changes due to changes in
12575 InsetInclude::Params.
12577 * buffer.C (tag_name): removed redundant break statements as they were
12578 producing lots of warnings with my compiler.
12580 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12582 * LString.h: add "using std::getline" when using the real <string>.
12584 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12586 * buffer.C: removed bitset usage.
12587 PAR_TAG moved to an anonymous name space.
12588 (tag_name): new funtion, also in the anonymous namespace.
12589 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12590 (makeDocBookFile): clean code. Completed transition from string arrays
12592 (SimpleDocBookOnePar): code clean.
12594 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12596 * tabular.C: add some comments.
12598 2001-03-22 Juergen Vigna <jug@sad.it>
12600 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12601 compatibility read a bit and fixed bug with minipage in different
12604 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12606 * buffer.C (pop_tag): removed.
12607 (push_tag): removed.
12608 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12609 array replaced with vector. Added support for CDATA sections.
12610 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12612 (makeDocBookFile): XML conformant declaration of CDATA section,
12613 fixed bug related to <emphasis> in the first paragraph char.
12614 (sgmlOpenTag): exclude empty tags.
12615 (sgmlCloseTag): ditto.
12617 * buffer.h (pop_tag): removed.
12618 (push_tag): removed.
12620 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12622 * language.h (Languages): added size_type and size().
12624 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12626 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12627 response on compability reading of minipages. One probliem is that
12628 the old usage of minipages was «flertydig»
12630 * several files here and in subdirs: don't use static at file
12631 scope use anon namespaces instead.
12633 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12635 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12636 LaTeX output. This is necessary for Literate document
12639 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12641 * buffer.C: insert hfill when needed.
12643 * tabular.C (l_getline): use string::erase, small whitespace change.
12645 * BufferView_pimpl.C: try the anon namespace.
12646 * WorkArea.C: ditto
12648 2001-03-16 Juergen Vigna <jug@sad.it>
12650 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12651 otherwise it won't open options-dialogs.
12653 * buffer.C: honor pextraWidth(p) on converting minipages.
12655 * tabular.C (l_getline): changed the functions to strip trailing \r.
12657 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12659 * BufferView_pimpl.C:
12660 * minibuffer..C: added "using SigC::slot" declaration.
12662 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12664 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12670 * paragraph.C: ditto
12672 * lyxtext.h: NO_PEXTRA
12674 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12676 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12677 * ParameterStruct.h: ditto
12678 * ParagraphParameters.h: ditto
12679 * lyxparagraph.h: ditto
12681 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12683 * buffer.C: add compability for minipage alignment.
12684 (latexParagraphs): remove unwanted pextra check.
12686 * several files: remove CXX_WORKING_NAMESPACES
12688 * buffer.C (pop_tag): tie is in namespace boost
12690 * BufferView.h: noncopyable is in namespace boost
12692 * lyx_main.h: ditto
12695 * lastfiles.h: ditto
12696 * bufferlist.h: ditto
12697 * ShareContainer.h: ditto
12699 * LyXAction.h: ditto
12702 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12704 * Merging changes from BRANCH_MVC back into HEAD.
12706 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12708 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12710 * BufferView_pimpl.C: change from intl.C
12714 * Makefile.am: move combox.*
12720 * intl.C: remove dialog (covered by prefs)
12722 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12724 * lyxfunc.C (Dispatch): removed redundant break statement.
12726 2001-03-14 Juergen Vigna <jug@sad.it>
12728 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12730 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12732 * buffer.C: add hack to fix compability reading of minipages.
12734 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12736 * buffer.C (getLists): Cleanup.
12738 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12740 * lyxfont.C (update): don't honor toggleall on font size.
12742 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12746 * Makefile.am: moved to frontends/xforms/
12750 * BufferView_pimpl.C: changes for moved mathpanel
12752 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12754 * gettext.h: fix gettext_init() in --disable-nls
12756 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12758 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12760 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12763 * lyx.h: strip external form
12765 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12767 * BufferView_pimpl.C: add comment, destroySplash()
12769 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12771 * BufferView_pimpl.C:
12775 * lyxfunc.C: use re-worked insetinclude
12777 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12779 * buffer.C: add using std::stringstream.
12781 * lyx_cb.C: readd using std::ios.
12783 * buffer.C: add using std::map.
12785 * BufferView_pimpl.C: add using std::vector.
12787 * ShareContainer.h: add std:: to swap.
12789 * buffer.h: add some typedefs
12790 * buffer.C (getLists): use them
12791 (getLists): renamed from getTocList.
12792 add a counter for the different float types and use it in the
12794 (getLists): use the same counter for the NEW_INSETS and the "non"
12797 * lyx_cb.h: remove unused items, includes, using etc.
12799 * ShareContainer.h: remove some commented code, add more comments
12800 and "documentation".
12802 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12804 * buffer.C (getTocList): make the list also when NEW_INSETS is
12807 * buffer.h: remove TocType
12809 * buffer.C (getTocList): change to return a map<string,
12810 vector<TocItem> >, implement for dynamic number of list.
12812 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12813 * text2.C (PasteSelection): adjust
12814 * CutAndPaste.C (pasteSelection): adjust
12816 * FloatList.C (FloatList): update from the new_insets branch.
12817 * Floating.[Ch]: ditto
12818 * LaTeXFeatures.C: ditto
12820 * lyxlex_pimpl.C: ditto
12822 * paragraph.C (Last): remove when NEW_INSETS is defined.
12824 * other file: changes because of the above.
12826 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12828 * lyxparagraph.h: rename next to next_, previous to previous_,
12829 make them private for NEW_INSETS. Rename Next() to next(),
12830 Previous() to previous().
12832 * other files: changes because of the above.
12834 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12837 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12840 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12842 * main.C (main): pass lyx_localedir to gettext_init().
12844 * gettext.h: remove locale_init and gettext_init macros
12846 * gettext.C (locale_init): new function
12847 (gettext_init): new function
12849 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12852 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12854 * Moved credits to frontends:
12855 * credits.[Ch]: removed
12856 * credits_form.[Ch]: removed
12857 * lyx_gui_misc.C: remove credits stuff
12860 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12862 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12864 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12865 unneeded destructor.
12867 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12868 a standalone pointer again.
12870 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12872 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12878 * ToolbarDefaults.C:
12887 * BufferView_pimpl.C: use new file dialog in GUII
12890 * lyx_cb.C: remove LayoutsCB to Toolbar
12892 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12894 * ShareContainer.h (get): add std:: qualifier
12896 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12898 * ShareContainer.h: define a proper ShareContainer::value_type
12899 type (and use typename to please compaq cxx)
12901 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12903 * lyxparagraph.h: move serveral local vars to
12904 ParameterStruct/ParagraphParameters., use ShareContainer in
12905 FontTable., make vars in FontTable private and add getter and
12908 * paragraph.C: changes because of the above.
12910 * lyxfont.h: remove copy constructor and copy assignment. (the
12911 default ones is ok), move number inside FontBits. move inlines to
12914 * lyxfont.C: add number to initializaton of statics, move several
12915 inlines here. constify several local vars. some whitespace
12916 cleanup. Dont hide outerscope variables.
12918 * Spacing.h: add two new constructors to match the set methods.
12920 * ShareContainer.h: new file, will perhaps be moved to support
12922 * ParameterStruct.h: new file
12924 * ParagraphParameters.h: new file
12926 * ParagraphParameters.C: new file
12928 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12929 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12931 * BufferView_pimpl.C: ParagraphParameter changes.
12932 * buffer.C: Likewise.
12933 * bufferview_funcs.C: Likewise.
12934 * text.C: Likewise.
12935 * text2.C: Likewise.
12937 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12939 * lyxfind.C (LyXReplace): do not redefine default argument in
12941 (IsStringInText): ditto
12942 (SearchForward): ditto
12943 (SearchBackward): ditto
12945 2001-03-06 Juergen Vigna <jug@sad.it>
12947 * lyxfind.C (IsStringInText): put parentes around expressions.
12949 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12951 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12953 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12955 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12957 * stl_string_fwd.h: add comment
12959 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12962 * tabular.C: remove unused DocBook methods
12968 killed DO_USE_DEFAULT_LANGUAGE
12970 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12972 * lyx_gui.C: do not include language.h.
12974 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12975 arguments in function implementation.
12977 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12979 * BufferView_pimpl.C: add <ctime>
12981 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12983 * BufferView_pimpl.C: add using std::find_if
12985 2001-02-27 José Matos <jamatos@fep.up.pt>
12987 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12990 2001-02-11 José Matos <jamatos@fep.up.pt>
12992 * buffer.C (makeDocBookFile): command styles now have a parameter as
12993 "title" by default.
12995 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12997 * layout_forms.[Ch]: removed
12998 * lyx_cb.[Ch]: out character
12999 * lyx_gui.C: out character
13000 * lyx_gui_misc.C: out character
13001 * bufferview_funcs.C: : out character,
13002 added toggleall as parameter in ToggleAndShow
13004 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13006 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13008 * text2.C (SetCurrentFont): Disable number property at boundary.
13010 2001-02-26 Juergen Vigna <jug@sad.it>
13012 * lyxfunc.C (getStatus): added a string argument override function so
13013 that this is correctly called from LyXFunc::Dispatch if it contains a
13014 do_not_use_argument which is used!
13015 (Dispatch): added check for "custom" export and call appropriate func.
13017 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13019 * lyxrc.C: Add language_command_local, language_use_babel and
13020 language_global_options.
13022 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13024 * buffer.C (makeLaTeXFile): Use language_use_babel and
13025 language_global_options.
13027 2001-02-23 Juergen Vigna <jug@sad.it>
13029 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13030 which works with LyXText and putted it inside BufferView. Here now we
13031 only call for that part the BufferView::Dispatch() function.
13033 * BufferView.C (Dispatch): added.
13035 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13036 functions which needs to use a LyXText over from LyXFunc.
13037 (MenuInsertLyXFile): added
13038 (getInsetByCode): added
13039 (moveCursorUpdate): added
13040 (static TEXT): added
13042 2001-02-22 Juergen Vigna <jug@sad.it>
13044 * BufferView_pimpl.C (update): call a status update to see if LyXText
13047 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13049 * vc-backend.C (revert): implement for CVS
13050 (getLog): implement for CVS
13052 2001-02-20 Juergen Vigna <jug@sad.it>
13054 * text2.C (ClearSelection): added BufferView param for inset_owner call
13056 * lyxfunc.C (TEXT): added this function and use it instead of
13057 directly owner->view()-text of getLyXText().
13059 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13061 * src/layout_forms.C: out preamble
13062 * src/layout_forms.h: out preamble
13063 * src/lyx_cb.C: out preamble
13064 * src/lyx_cb.h: out preamble
13065 * src/lyx_gui.C: out preamble
13066 * src/lyx_gui_misc.C: out preamble
13067 * src/lyxfunc.C: connect with guii preamble
13069 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13071 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13073 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13075 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13076 whether to run bibtex.
13078 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13080 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13082 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13084 * Makefile.am (lyx_SOURCES): removed bibforms.h
13086 * vspace.h: doxygen
13088 * text.C (GetVisibleRow): make several local vars const
13090 * tabular.C: small cleanup.
13092 * lyxserver.C (callback): use compare instead of strncmp
13094 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13095 inlines to after class or to paragraph.C
13097 * lyxfont.h: remove friend operator!=
13099 * converter.h: move friend bool operator< to non friend and after
13102 * combox.h: small cleanup
13104 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13105 to inlines after class def.
13107 * buffer.C (pop_tag): use string operations instead of strcmp
13109 * bmtable.c: doxygen, small cleanup
13111 * LaTeX.h: remove friend operator==
13113 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13125 * BufferView_pimpl.C:
13126 * BufferView.[Ch]: remove cruft
13128 2001-02-14 Juergen Vigna <jug@sad.it>
13130 * lyxfunc.C: removed #if 0 unused code
13132 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13134 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13136 * text2.C (SetSelection): added a BufferView * parameter
13138 2001-02-13 Juergen Vigna <jug@sad.it>
13140 * lyxfunc.C (Dispatch): fixed protected blank problem.
13141 * BufferView2.C (protectedBlank): added LyxText * parameter.
13143 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13144 (AppendColumn): same as above for column_info.
13146 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13147 (moveCursorUpdate): use a LyXText param for support of InsetText.
13149 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13150 (tripleClick): ditto
13152 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13154 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13156 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13158 * text2.C (SetSelection): set correct update status if inset_owner
13159 (ToggleFree): ditto
13161 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13163 * tabular.C: remove some commented code.
13165 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13167 * BufferView_pimpl.C: call hideSplash()
13169 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13172 * bibforms.h: remove
13175 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13176 add LFUN_CHILD_CREATE
13178 * counters.h: fix tiny typo
13183 * lyx.C: move splash to frontends/xforms/
13185 * lyx_gui_misc.C: move Include and Bibform to frontends
13187 * lyxvc.h: clarify comment
13189 * vspace.C: tiny housekeeping
13191 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13193 * text.C (PrepareToPrint): RTL Fix.
13195 * paragraph.C (GetUChar): New method.
13196 (String): Use GetUChar.
13198 * buffer.C (asciiParagraph): Use GetUChar.
13200 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13202 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13204 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13207 * buffer.C: rename to getLogName(), handle
13208 build log / latex log nicely
13210 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13213 * MenuBackend.h: remove support for reference menuitem type.
13215 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13217 * BufferView_pimpl.C: housekeeping
13218 * BufferView_pimpl.h:
13223 * minibuffer.h: move Timeout GUI-I
13225 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13227 * lyxrc.C (read): Update converters data-structures.
13229 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13231 * LaTeX.h (operator!=): add operator != for Aux_Info
13233 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13235 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13237 * LaTeXLog.C: deleted, useful code moved to Buffer
13240 * buffer.C: new function getLatexLogName()
13246 * lyxfunc.C: use frontends for LaTeX and VC logs
13248 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13250 * LaTeX.h: yet another std:: that Allan forgot.
13252 * Variables.C (set): renamed from isset(), because this clashes
13253 with some HP-UX macros (grr).
13255 2001-02-06 Allan Rae <rae@lyx.org>
13257 * LaTeX.h: Another bug fix. Missing std:: this time.
13259 2001-02-04 Allan Rae <rae@lyx.org>
13261 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13262 floats problem. I've left it commented out because it's not quite
13263 correct. It should also test that the current object is a table or
13264 figure inset. But I haven't gotten around to figuring out how to do
13265 that. I *think* it'll be something like: "table" == inset.type()
13267 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13270 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13272 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13273 all the citation/databases/styles in the auxilary file.
13274 (run): Rerun latex if there was a babel language error.
13276 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13278 * text.C (Backspace): Preserve the font when changing newline char
13280 (BreakParagraph): If the cursor is before a space, delete the space.
13282 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13284 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13286 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13287 new argument (code).
13288 (ChangeCitationsIfUnique): New method.
13290 * paragraph.C (GetPositionOfInset): Handle bibkey.
13292 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13294 * BufferView_pimpl.h: change type of Position::par_pos to
13295 LyXParagraph::size_type.
13297 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13299 * BufferView_pimpl.C (savePosition, restorePosition): Write
13300 messages to minibuffer.
13302 2001-01-28 José Matos <jamatos@fep.up.pt>
13304 * buffer.C (makeDocBookFile): adds support for document language.
13305 A silly restriction on the name of LatexCommand types where removed.
13306 Added support for CDATA sections, allows to chars unescaped, used
13307 among others in code, to avoid escape < and >.
13309 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13311 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13312 saved positions instrad of a stack. Furthermore, a position is
13313 stored using paragraph id/paragraph position.
13315 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13316 Remove LFUN_REF_BACK.
13318 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13320 * converter.C (dvipdfm_options): New method.
13322 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13324 * vspace.C (isValidLength): Fix for empty input string.
13326 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * LyXAction.C (init): change description of LFUN_FIGURE to
13331 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13333 * LaTeX.C: add using directive
13335 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13337 * MenuBackend.C (expand): Fix the sorting of the formats.
13339 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13341 * lyx_main.C: tiny error message fix
13343 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13345 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13346 calling fl_initialize(). This fixes the problem with ',' as
13347 decimal separator in text files.
13349 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13351 * trans.C (process): Fix the keymap bug.
13353 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13355 * LaTeX.C (scanAuxFiles): New method. Provides support for
13356 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13357 (scanLogFile) Scan for "run BibTeX" messages.
13359 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13360 OT1 font encoding. Also, load the aecompl package if the ae
13363 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13365 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * texrow.C (increasePos): turn two error messages into debug
13370 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13372 * LaTeX.C (scanAux): Handle the \@input macro.
13373 (runBibTeX): Use scanAux().
13375 * language.C (latex_options_): New field.
13377 * LaTeXFeatures.C (getMacros): Add language macros.
13379 * buffer.C (makeLaTeXFile): Small fix.
13381 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13383 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13385 * text2.C: add a using directive.
13387 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13392 * lyxfunc.C: kill LyXBell.
13394 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13396 * text.C (IsBoundary): Remove the error message
13398 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13400 * lyxrc.C (setDefaults): Correct initialization value for
13403 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13405 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13408 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13409 and GotoNextNote().
13411 * src/LyXAction.C: Added reference-next.
13413 * text.C (InsertChar): Use contains instead of strchr.
13415 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13417 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13419 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13420 alignment commands (when needed).
13422 * text.C (InsertChar): Add ':' to number separator chars.