1 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
10 * text3.C: remove lastPos uses in favour of Row::endpos
12 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
14 * undo.C (performUndoOrRedo): fix two crashes by setting a
15 cursor by hand and reordering some calls. Use bv->lockInset instead
16 of inset->edit because the latter loses cursor information
18 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
20 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
22 (rowBreakPoint): fix width. change point to point + 1.
25 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
28 * lyxfunc.C: fix (at least partly) the problems
29 with the Nav menu and headers inside branch insets
32 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
34 * paragraph.C (getChar): add strong asserts
36 * lyxrow_funcs.C (lastPos): remove hideous hack
38 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
39 (fill): adjust to that (avoid an infinite loop)
41 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
43 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
45 2003-10-23 André Pönitz <poenitz@gmx.net>
47 * RowList_fwd.h: change list<> to vector<> to gain speed
48 after suggestion from Alfredo
50 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
52 * lyxtext.h: move the bidi stuff from here...
55 * Bidi.[Ch]: ... to here
57 2003-10-23 André Pönitz <poenitz@gmx.net>
60 * text.C (isLastRow, isFirstRow): new functions
62 * paragraph.h: new width cache member
64 * rowpainter.C: replace RowList::iterator with Row & where possible
66 * lyxfunc.C: replace several view()->text with a single call
68 * toc.C: fix 'unused' warning
70 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
73 when woring with stream::pos_type
74 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
76 2003-10-22 André Pönitz <poenitz@gmx.net>
79 * text.C: use Row & instead of RowList::iterator
81 * lyxrow.h: rename end() to endpos()
87 2003-10-22 Angus Leeming <leeming@lyx.org>
89 * buffer.[Ch] (fully_loaded): new member function, returning true
90 only when the file has been loaded fully.
91 Used to prevent the premature generation of previews and by the
92 citation inset to prevent computation of the natbib-style label.
94 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
95 templates are all set up.
97 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
99 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
101 * text.C: fixed an "oops" in the "is a bit silly"
104 2003-10-21 André Pönitz <poenitz@gmx.net>
106 * FuncStatus.[Ch]: small stuff, whitespace
108 * lyxfont.[Ch]: operator<<() for debug reasons
112 * lyxtext.h: whitespace, spelling
114 * paragraph.C: naming of variables
117 * text2.C: small stuff
120 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
122 * text.C: (1) finish off the inset display() work;
123 (2) fix the "is a bit silly" bug (accessing char
126 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
128 * text.C: re-introduce display() for insets, fixing the
129 various bugs (stretch of line above, math inset
132 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * text.C (rightMargin): remove spurious semicolon
136 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
139 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
141 * text3.C: fix one crash due to wrong cursor def
143 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
145 * vc-backend.C (scanMaster): make the regex static
147 * LaTeX.C (scanAuxFile): make the regexs static
149 * text3.C (doInsertInset, dispatch, dispatch):
150 * text2.C (cursorUp, cursorDown):
151 * text.C (selectNextWordToSpellcheck):
152 * BufferView_pimpl.C (dispatch):
153 * lyxfunc.C (dispatch): localDispatch -> dispatch
155 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * lyxsocket.C: include <cerrno>
159 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * lyxfunc.C (dispatch): remove textcache stuff
163 * bufferlist.C (release): remove textcache stuff
166 * TextCache.C: delete file
167 * TextCache.h: delete file
169 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
171 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
172 delete of the bv_->text.
173 (resizeCurrentBuffer): remove texcache stuff
174 (workAreaResize): ditto
176 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
178 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
181 2003-10-16 André Pönitz <poenitz@gmx.net>
188 * text3.C: speed up by storing y positions per paragraph plus per-row
189 offset instead of having a 'full' y position in the row.
191 2003-10-15 André Pönitz <poenitz@gmx.net>
195 * undo.[Ch]: make undo aware of inner insets
197 2003-10-14 Angus Leeming <leeming@lyx.org>
199 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
200 static member functions LyX::ref() and LyX::cref.
201 (lastfiles): new accessor functions for the new lastfiles_ member var.
202 (addLyXView, views_): add a new LyXView to the list of views_.
203 (updateInset): loop over all LyXViews to call their own updateInset
204 member function, returning a pointer to the Buffer owning the inset.
206 * BufferView_pimpl.C (loadLyXFile):
207 * MenuBackend.C (expandLastfiles):
208 * bufferlist.C (MenuWrite, QuitLyX):
209 lastfiles is no longer a global variable.
210 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
212 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
213 static function. Access through LyX::cref().emergencyCleanup().
215 2003-10-14 André Pönitz <poenitz@gmx.net>
217 * iterators.[Ch]: new direct access to innermost LyXText and Inset
219 * undo.[Ch]: restoring part of 'undo in insets'
222 * undo_funcs.[Ch]: merge with undo.[Ch]
224 * tabular.C: small cleansing stuff
226 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
228 * paragraph_funcs.C (readParToken): report unknown insets as error
229 boxes. Use the outer paragraph as location (also for unknown
232 * factory.C (readInset): do not abort on reading an unknown inset.
235 2003-10-13 Angus Leeming <leeming@lyx.org>
237 * lyx_main.C (LyX): remove call to setDisplayTranslator().
239 * lyxrc.C: displayTranslator is now a function,
240 declared in GraphicsTypes.h.
242 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
244 * format.C: new placeholder $$a to pass the socket address.
246 * bufferlist.[Ch]: new function getBufferFromTmp.
248 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
249 files in the temporary dir.
251 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
253 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
255 * Makefile.am: add lyxsocket.[Ch].
257 * lyx_main.C (error_handler): handle SIGPIPE.
259 2003-10-13 André Pönitz <poenitz@gmx.net>
261 * BufferView_pimpl.C:
266 * undo_funcs.[Ch]: use paroffset_type instead of
267 ParagraphList::iterators to prevent multiple conversion
268 (and get a more robust interface)
270 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * lyxfunc.C (dispatch): RESULT -> dispatch_result
274 * text3.C (dispatch): ditto
276 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
278 * LaTeX.C (handleFoundFile): move the static to smaller scope,
279 move the onlyfile, use onlyfile instead of foundfile in a couple
282 * DepTable.C (update): flush the error stream a bit more
284 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * lyxserver.C (callback): adjust
288 * lyxfunc.C (getStatus): add a missing brace in commented code
289 (ensureBufferClean): reindent
290 (dispatch): delete version taking a string
292 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
294 * LaTeX.C (deplog): move found file handlig from here...
295 (handleFoundFile): .. to new function here.
296 (deplog): make sure to discover several files mentioned on the
299 2003-10-10 André Pönitz <poenitz@gmx.net>
306 * text3.C: fix some of the tabular crashes
308 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
310 * MenuBackend.C (binding): put debug message into Debug::KBMAP
312 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
314 2003-10-09 André Pönitz <poenitz@gmx.net>
316 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
319 * BufferView_pimpl.C:
320 * bufferview_funcs.C:
331 * undo_funcs.C: adjust
333 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
335 * text2.C (incrementItemDepth): new function, use a backtracking
336 algorithm to discover the correct item depth.
337 (resetEnumCounterIfNeeded): new function, use a backtracking
338 algorithm to discover if counter reset is needed.
339 (setCounter): use them. Simplify a bit. Add different labels for
340 different item depths for itemize.
342 * paragraph.C (Paragraph): remove initialization of enumdepth
345 * paragraph.h: get rid of enumdepth, and use itemdepth both for
346 enumerate and itemize. Change the type of itemdepth to signed char.
348 2003-10-08 André Pönitz <poenitz@gmx.net>
350 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
355 * tabular.[Ch]: fix crash after 'row-insert'
357 2003-10-08 Angus Leeming <leeming@lyx.org>
359 Fix doxygen warnings.
361 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
362 Remove CutAndPaste:: prefix from header file declaration.
364 * LColor.h (fill): remove LColor:: prefix from declaration.
366 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
367 use lyx::depth_type rather than Paragraph::depth_type so that
368 header file and .C file match.
370 * converter.h (intToFormat): remove Converters:: prefix from declaration.
372 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
373 * aspell.C: \file aspell_local.C -> \file aspell.C
374 * gettext.C: \file gettext.C -> \file src/gettext.C
375 * gettext.h: \file gettext.h -> \file src/gettext.h
376 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
377 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
378 * text.C: \file text.C -> \file src/text.C
380 * toc.C: move comment so that doxygen is not confused.
382 2003-10-07 Angus Leeming <leeming@lyx.org>
384 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
386 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * aspell_local.h: add forgotten std::string's.
391 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
398 * text3.C: The Box patch. Fancybox support, minipage, parbox
400 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
406 * ParagraphParameters.h:
416 * lyxtextclasslist.h:
420 * textcursor.h: add <string> and other small fixes to make Lars'
421 std::string patch compile with STLport.
423 2003-10-06 Angus Leeming <leeming@lyx.org>
425 * LColor.h: Add missing #include <string>.
427 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
429 * All most all file in all subdirs: Make <string> be the prefered
430 way of getting to std::string, add using declarations.
432 2003-10-06 André Pönitz <poenitz@gmx.net>
434 * metricsinfo.C: initialize LyXFont before changing attribute.
435 (fixes the 'math in \emph is upright' bug)
437 2003-10-06 André Pönitz <poenitz@gmx.net>
439 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
441 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
444 * paragraph_pimpl.C: Small fixes to build using STLport
446 2003-10-02 André Pönitz <poenitz@gmx.net>
449 * text3.C: move handling of LFUN_DEPTH *; fix #1360
451 2003-10-01 André Pönitz <poenitz@gmx.net>
453 * factory.C: assert early
455 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
457 * lyx_main.C: remove the global debug object
459 * debug.h: adjust for new debugstream
461 * debug.C: adjust for new debugstream and keep the global debug
464 2003-09-22 Angus Leeming <leeming@lyx.org>
466 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
467 of g++ which otherwise complain that the scoped_ptr destructor can't delete
468 an incomplete class LyXFont.
470 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
472 * factory.C: bug fix in branches
474 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * lyxfunc.C (processKeySym): adjust
478 (dispatch): change arg name from ev to func, adjust
479 (sendDispatchMessage): ditto
481 * lyx_main.C (defaultKeyBindings): adjust keybindings
482 (deadKeyBindings): ditto
484 * kbsequence.C (addkey): return a FuncRequest
486 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
488 * kbmap.C (bind): take a FuncRequest as arg, adjust
491 (defkey): change to take a FuncRequest as arg, adjust
492 (findbinding): take a FuncRequest as arg, adjust.
494 * funcrequest.h (operator=): added
496 * funcrequest.C (FuncRequest): default kb_action changed from
497 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
499 * buffer.C (dispatch): simplify
500 (dispatch): adjust to take a FuncRequest as arg, adjust
502 * boost.C (assertion_failed): change assertion message slightly
504 * ToolbarBackend.C (read): simplify
506 * MenuBackend.C (binding): adjust call to findbinding, add a
507 message if no binding is found.
509 (expandToc): correct by adding a empty FuncRequest
511 * LyXAction.C: include <boost/assert.hpp>
512 (isPseudoAction): delete function
513 (LookupFunc): change name to...
514 (lookupFunc): this. change return type to FuncRequest.
515 (getActionName): take kb_action as arg, simplify
516 (funcHasFlag): add an assert, simplify.
518 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
520 * toc.C (action): return a FuncRequest, simplify
522 * lyxfunc.C (processKeySym): adjust
523 (getStatus): delete version that takes an int.
525 (dispatch): delete version that takes action as int
527 (sendDispatchMessage): simplify and adjust
529 * funcrequest.C (getArg): take unsigned int as arg
531 * ToolbarBackend.C (read): adjust
532 (add): delete version that takes func as a string.
533 (getIton): take a FuncRequest as arg
535 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
538 * MenuBackend.C (MenuItem): add a new construct that only takes a
539 Kind, simplify the constructor use for submenus.
541 (expandLastfiles): adjust
542 (expandDocuments): adjust
543 (expandFormats): adjust
544 (expandFloatListInsert): adjust
545 (expandFloatInsert): adjust
546 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
548 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
549 Remove class variables lyx_pseudo_map and lyx_arg_map
551 * LyXAction.C (searchActionArg): delete function
552 (getPseudoAction): delete function
553 (retrieveActionArg): delete function
554 (LookupFunc): make it return kb_action, simplify.
555 (getActionName): simplify
557 * factory.C (createInset): fix new bug
559 2003-09-19 Angus Leeming <leeming@lyx.org>
561 * CutAndPaste.C (pasteSelection): remove fudge used to set the
562 masterFilename_ parameter in the include inset.
564 * factory.C (createInset): changes due to the changes to InsetInclude.
566 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
568 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
570 2003-09-18 Angus Leeming <leeming@lyx.org>
573 * BufferView.C: pass the buffer when calling Inset::getLabelList,
574 Inset::fillWithBibKeys.
575 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
577 2003-09-18 Angus Leeming <leeming@lyx.org>
579 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
581 (ctor): pass and store a 'Buffer const &'
582 (buffer): new member function.
584 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
585 '*this' to the LaTeXFeatures ctor.
587 2003-09-18 Angus Leeming <leeming@lyx.org>
593 * text.C: rename EnumLColor as LColor_color.
595 2003-09-18 Angus Leeming <leeming@lyx.org>
597 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
598 remove #include "insets/insetbase.h" from cursor.h.
600 2003-09-18 Angus Leeming <leeming@lyx.org>
602 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
603 InsetOld_code to remove #include "inset.h".
605 * iterators.C: add #include "insets/inset.h"
607 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
609 * BufferView.C: remove more locking stuff that apparently doesn't
610 do anything sensible.
612 2003-09-16 André Pönitz <poenitz@gmx.net>
615 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
618 2003-09-16 Angus Leeming <leeming@lyx.org>
620 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
622 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
625 * paragraph.h: remove #include "lyxfont.h". Forward declare
628 2003-09-16 Angus Leeming <leeming@lyx.org>
630 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
631 of support/textutils.h.
632 (isWord): move the contents of support/textutils.h's IsWordChar here.
638 * text2.C: add #include "paragraph.h".
641 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
643 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * LaTeX.C: use namespace alias for lyx::support::os
651 2003-09-16 Angus Leeming <leeming@lyx.org>
654 * bufferview_funcs.C:
659 * text.C: add #include "LColor.h".
661 2003-09-16 Angus Leeming <leeming@lyx.org>
663 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
664 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
666 Store the FontBits::color variable as an int rather than as an
667 LColor::colorso that we can move LColor.h out of the lyxfont.h header
670 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
671 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
672 string calls together.
674 * lyxrc.C: add #include "LColor.h".
676 2003-09-15 Angus Leeming <leeming@lyx.org>
678 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
681 2003-09-15 Angus Leeming <leeming@lyx.org>
683 * LColor.h: add an EnumLColor wrapper for LColor::color.
685 * lyxfont.[Ch] (color, setColor, realColor):
686 * lyxtext.h, text.C (backgroundColor):
687 pass EnumLColor args to/from the functions, rather than LColor::color
691 * lyxtext.h: forward declare EnumLColor.
693 * lyx_main.C: add #include "LColor.h".
695 2003-09-15 Angus Leeming <leeming@lyx.org>
697 * .cvsignore: add lyx-gtk.
699 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * ParagraphParameters.C
718 * vc-backend.C: remove usage of STRCONV
720 2003-09-15 Angus Leeming <leeming@lyx.org>
722 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
723 explicitly define the color passed to the painter.
725 2003-09-15 Angus Leeming <leeming@lyx.org>
727 * bufferparams.C (BufferParams): reorder member initializers to avoid
730 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
732 * CutAndPaste.C (pasteSelection): remove an outdated #warning
733 * text.C (updateRowPositions): remove an unusual nop
735 2003-09-12 André Pönitz <poenitz@gmx.net>
737 * BufferView_pimpl.C:
746 * Counters.[Ch]: finish the 'automatic counters' job
748 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
750 * aspell.C: include <boost/assert.cpp> (compile fix)
752 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
754 * boost.C (assertion_failed): use lyx::support::abort instead of
757 2003-09-10 Angus Leeming <leeming@lyx.org>
759 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
760 with their _fwd progeny.
762 2003-09-09 Angus Leeming <leeming@lyx.org>
764 134 files throughtout the source tree: replace 'using namespace abc;'
765 directives with the appropriate 'using abc::xyz;' declarations.
767 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
769 * boost.C (emergencyCleanup): moved here from LAssert.c
770 (assertion_failed): new function, called by BOOST_ASSERT
772 * several files: change Assert to BOOST_ASSERT
774 2003-09-09 Angus Leeming <leeming@lyx.org>
776 * buffer.[Ch]: Add an Impl class and move Buffer's member
777 variables into it. As a result move several header files out of
780 Add header files to lots of .C files all over the tree as a result.
782 2003-09-09 Angus Leeming <leeming@lyx.org>
784 * buffer.[Ch]: make Buffer's member variables private. Add
787 Lots of changes all over the tree as a result.
789 2003-09-08 Angus Leeming <leeming@lyx.org>
791 * graph.C: #include <config.h>.
793 2003-09-08 Angus Leeming <leeming@lyx.org>
797 * BufferView_pimpl.C:
826 * toc.C: remove redundant using directives.
828 2003-09-07 Angus Leeming <leeming@lyx.org>
830 * LaTeXFeatures.h: remove #include "support/types.h".
831 * ToolbarBackend.h: remove #include <algorithm>.
832 * changes.h: remove #include <ctime>.
833 * debug.h: remove #include <iosfwd>.
834 * graph.h: remove #include "support/std_string.h".
835 * lyx_main.h: remove #include <csignal>.
836 * lyxlex_pimpl.h: remove #include <fstream>.
837 * sgml.h: remove #include <algorithm>, <utility>.
838 * toc.h: remove #include "support/std_ostream.h".
839 Add #include <iosfwd>.
841 2003-09-07 Angus Leeming <leeming@lyx.org>
843 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
845 * converter.h: forward declare LatexRunParams.
846 * encoding.h: remove #include "lyxrc.h".
847 * lyxtext.h: remove #include "LColor.h".
848 * lyxtextclass.h: remove #include "support/types.h".
849 * trans.h: remove #include "tex-accent.h".
850 * trans_mgr.h: remove #include "tex-accent.h".
851 * insets/inset.h: remove #include "support/types.h", <vector>.
852 * insets/insetcollapsable.h: remove #include "LColor.h".
853 * insets/insetinclude.h: remove #include "dimension.h".
854 * insets/insetlatexaccent.h: remove #include "dimension.h".
855 * insets/insetoptarg.h:: remove #include "insettext.h".
856 * insets/insettext.h: remove #include "dimension.h",
857 <boost/shared_ptr.hpp>
859 * insets/renderers.h: add #include "dimension.h".
860 * insets/updatableinset.h: add #include "support/types.h".
862 * many .C files: Associated changes.
864 2003-09-06 Angus Leeming <leeming@lyx.org>
866 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
867 one, inside testInvariant.
869 * PrinterParams.C: new file.
870 * PrinterParams.[Ch]: move the function bodies out of line.
872 2003-09-06 Angus Leeming <leeming@lyx.org>
874 * ParagraphParameters.h: forward declare ParameterStruct rather than
875 including its header file.
876 (depth): moved out-of-line.
878 2003-09-06 Angus Leeming <leeming@lyx.org>
880 * BufferView_pimpl.h:
883 * lyxfunc.h: forward declare LyXKeySym rather than
884 #include "frontends/LyXKeySym.h".
886 * BufferView_pimpl.C:
889 * lyxfunc.C: associated changes.
891 2003-09-06 Angus Leeming <leeming@lyx.org>
893 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
894 As a result, can remove the #include "insets/inset.h" from BufferView.h
896 2003-09-06 Angus Leeming <leeming@lyx.org>
898 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
899 As a result, can remove the #include "insets/inset.h" from BufferView.h
901 2003-09-06 Angus Leeming <leeming@lyx.org>
907 * bufferview_funcs.C:
908 * BufferView_pimpl.C:
913 * ParagraphParameters.C:
918 * frontends/controllers/ControlDocument.C:
919 * insets/insetcaption.C: rearrange the #includes into some sort of
922 * buffer.h: remove #includes ErrorList.h, undo.h
924 2003-09-06 Angus Leeming <leeming@lyx.org>
926 * support/types.h: add a 'depth_type' typedef, used to store the
927 nesting depth of a paragraph.
930 * ParameterStruct.h: use this lyx::depth_type typedef rather than
935 * ParagraphParameters.h:
936 * sgml.h: use lyx::depth_type rather than Paragraph or
937 ParameterStruct's depth_type.
940 * paragraph_funcs.h: no need to #include paragraph.h anymore.
943 * BufferView_pimpl.C:
945 * ParagraphParameters.C:
948 * bufferview_funcs.C:
955 * frontends/LyXView.C:
956 * frontends/controllers/ControlDocument.C:
957 * frontends/controllers/ControlErrorList.C:
958 * insets/insetbibitem.C:
959 * insets/insetbranch.C:
960 * insets/insetcaption.C:
961 * insets/insetcollapsable.C:
964 * insets/insetfloat.C:
965 * insets/insetfoot.C:
966 * insets/insetfootlike.C:
967 * insets/insetnewline.C:
968 * insets/insetquotes.C:
969 * insets/insettabular.C:
970 * insets/insettext.C:
971 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
973 * frontends/controllers/ControlChanges.C: #include "changes.h".
975 2003-09-06 Angus Leeming <leeming@lyx.org>
977 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
978 than #including paragraph.h.
981 * RowList.h: deleted. Superfluous.
991 * insets/insettext.h: use ParagraphList_fwd.h rather than
994 * paragraph.h: don't forward declare ParagraphList.
997 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
998 rather than ParagraphList.h. paragraph.h is still needed for the
999 Paragraph::depth_type parameters.
1001 * textcursor.h: enable it to compile stand-alone in light of the
1004 * bufferview_funcs.C:
1016 * frontends/controllers/ControlParagraph.C:
1017 * frontends/controllers/ControlTabular.C:
1018 * insets/insetmarginal.C:
1019 * insets/insetminipage.C:
1020 * insets/insetnote.C:
1021 * insets/insetoptarg.C: add header files needed to compile again.
1023 2003-09-06 Angus Leeming <leeming@lyx.org>
1025 * RowList_fwd.h: new file, forward-declaring Row rather than
1026 #including lyxrow.h.
1031 * insets/insettext.h: use it instead of RowList.h
1033 * bufferview_funcs.C:
1040 * text3.C: #include "RowList.h".
1042 2003-09-05 Angus Leeming <leeming@lyx.org>
1044 * factory.C (createInset):
1045 * vspace.C (c-tor): replace sscanf call with an istringstream.
1046 * ispell.C: re-add missing HP/UX headers.
1047 * lyxserver.C: re-add missing os2 headers.
1049 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1058 * text3.C: re-add missing system headers, needed for 2.95.2.
1060 2003-09-05 Angus Leeming <leeming@lyx.org>
1062 Changes most place everywhere due to the removal of using directives
1063 from support/std_sstream.h.
1065 2003-09-05 Angus Leeming <leeming@lyx.org>
1067 Replace LString.h with support/std_string.h,
1068 Lsstream.h with support/std_sstream.h,
1069 support/LIstream.h with support/std_istream.h,
1070 support/LOstream.h with support/std_ostream.h.
1072 Changes resulting throughout the tree.
1074 2003-09-05 Angus Leeming <leeming@lyx.org>
1076 * sgml.h: ensure that the header file can be compiled stand-alone.
1077 * *.C: strip out redundant #includes. (320 in total.)
1079 2003-09-04 Angus Leeming <leeming@lyx.org>
1081 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1082 here (from getPackages).
1084 * debug.[Ch]: add a new EXTERNAL tag.
1086 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1088 * text2.C (cursorEnd): simplify
1090 (getColumnNearX): adjust
1092 * text.C (computeBidiTables): adjust
1095 * rowpainter.C (paintChars): adjust
1096 (paintSelection): adjust
1097 (paintChangeBar): adjust
1100 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1102 (numberOfSeparators): adjust
1104 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1110 * text3.C: Restricts the mouse click functionality
1111 of insets like bibtex, include, toc and floatlist to the visible
1112 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1113 up the dialogs. Cursor has to be in front of the inset (i.e.
1114 start of row) for this to function.
1116 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1118 * bufferview_funcs.C (currentState): output row information
1120 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1122 * bufferview_funcs.C (currentState): output paragraph position
1124 2003-09-04 Angus Leeming <leeming@lyx.org>
1126 * FloatList.h: move out #include "Floating.h".
1127 * LaTeX.h: move out #include "DepTable.h".
1128 * LyXAction.h: move out #include "funcrequest.h".
1129 * buffer.h: move out #include "author.h", "iterators.h".
1130 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1131 * lyx_main.h: move out #include "errorlist.h".
1132 * lyxfunc.h: move out #include "FuncStatus.h".
1133 * lyxtext: move out #include "lyxcursor.h".
1134 * paragraph_pimpl.h: move out #include "counters.h".
1136 2003-09-03 Angus Leeming <leeming@lyx.org>
1138 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1139 preamble_snippets list, enabling us to add snippets to the preamble
1140 only if the snippet was not there already.
1142 2003-09-04 Angus Leeming <leeming@lyx.org>
1144 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1146 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1151 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1153 * BranchList.C: point fix, earlier forgotten
1155 2003-09-02 Angus Leeming <leeming@lyx.org>
1157 * box.C (contains): renamed from 'contained' after a fantastic
1160 2003-09-02 John Levon <levon@movementarian.org>
1166 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1168 2003-09-02 John Levon <levon@movementarian.org>
1170 * text2.C: simplification of cursorEnd(), including partial
1173 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * buffer.C (readFile): add a space
1177 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1179 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1181 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * buffer.C (readFile): new function, take a filename and a
1184 ParagraphList::iterator
1186 (readFile): adjust, make it private. don't use setStream, make
1187 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1188 always contain the filename.
1190 * BufferView.C (insertLyXFile): simplify and make it work for
1193 2003-08-30 John Levon <levon@movementarian.org>
1195 * Makefile.am: fix dist (from Kayvan)
1197 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1199 * most files: change to use const Buffer refs
1201 2003-08-27 André Pönitz <poenitz@gmx.net>
1203 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1204 on top of ownerPar().
1206 2003-08-27 John Levon <levon@movementarian.org>
1208 * funcrequest.C: properly initialise POD members
1210 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1212 * lyxtext.h (top_y): move top_y from here
1217 * BufferView_pimpl.[Ch]: to here
1218 * frontends/screen.C:
1219 * insets/insettabular.C:
1220 * insets/insettext.C: adjust
1221 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1223 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1226 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1228 2003-08-26 André Pönitz <poenitz@gmx.net>
1230 * paragraph_func.[Ch] (outerPar): new function
1233 * paragraph_funcs.C:
1234 * paragraph_funcs.h:
1235 * paragraph_pimpl.C:
1236 * text2.C: remove Inset::par_owner
1238 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1243 * text2.C: eliminates the needFullRow/display() stuff
1244 altogether, putting the logic in metrics/draw in the insets.
1246 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1248 * text2.C (redoParagraphInternal, redoParagraphs):
1249 * text.C (redoParagraph): add a call to updateRowPositions at the
1250 end of each 'metrics-like' call. Remove all others.
1251 (getRow): remove the 'y-computing' version.
1252 (getRowNearY): do not compute nor return the real y. Solve the
1253 'y < 0' problem and simplify.
1255 2003-08-22 Angus Leeming <leeming@lyx.org>
1257 * *.[Ch]: clean-up of licence and author blurbs.
1258 Also move config.h out of a few .h files and into a few .C files.
1260 2003-08-22 André Pönitz <poenitz@gmx.net>
1262 * lyxrow.[Ch]: add x_ and *fill_ members
1267 * text2.C: adjust/remove prepareToPrint() calls
1269 2003-08-22 André Pönitz <poenitz@gmx.net>
1271 * lyxrow.[Ch]: add end_ member
1273 * lyxrow_funcs.C: use LyXRow::end_
1275 * lyxtext.h (singleWidth): add LyXFont parameter
1278 * text2.C: adjust LyXText::singleWidth() calls
1280 * text.C (redoParagraph): simplify row breaking logic
1283 2003-08-19 André Pönitz <poenitz@gmx.net>
1285 * funcrequest.C: initialize button_ member
1288 * rowpainter.[Ch]: interface consolidation
1290 2003-08-18 André Pönitz <poenitz@gmx.net>
1293 * BufferView_pimpl.C:
1295 * paragraph_funcs.C:
1297 * text3.C: remove LyXScreen::draw() and fitCursor calls
1299 * BranchList.h: remove spurious semicolons
1301 * MenuBackend.C: fix branchlist related crash
1303 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1311 * bufferparams.[Ch]:
1315 * text3.C: implements the 'branch inset'
1316 idea. This allows the output of various versions of a document
1317 from a single source version, selectively outputing or suppressing
1318 output of parts of the text.
1319 This implementation contains a 'branch list editor' in a separate
1320 tab of the document settings dialog. Branches are user definable
1321 and have a "display colour" to distinguish them on-screen.
1323 ColorHandler was somewhat cleaned up.
1324 (1) make possible a dynamically growing LColor list by allowing
1325 the graphic context cache to grow along (vector);
1326 (2) eliminate an IMHO unnecessary step in colour allocation.
1328 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1330 * BufferView_pimpl.C: compile fix
1332 2003-08-15 André Pönitz <poenitz@gmx.net>
1334 * rowpainter.C: remove extra metrics calls
1336 * lyxtext.h: merge the two constructors into a single one,
1337 pass reference to owner's par list
1339 * BufferView_pimpl.C:
1343 2003-08-15 André Pönitz <poenitz@gmx.net>
1345 * lyxrow_funcs.[Ch]:
1348 * paragraph_funcs.C:
1353 * text_funcs.C: split LyXText::rowlist_ into individual
1354 Paragraph::rows_ chunks
1357 * BufferView_pimpl.[Ch]:
1360 * text3.C: remove toggleSelection()
1362 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1364 * bufferlist.C: beautify two alerts (shorter text of buttons)
1365 * buffer.C: Remove redundant ' ' from message
1367 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1368 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1369 rename VALIGN_CENTER to VALIGN_MIDDLE
1371 2003-08-11 André Pönitz <poenitz@gmx.net>
1373 * lyxtext.h (getPar):
1374 * text.C: new function
1376 2003-08-11 André Pönitz <poenitz@gmx.net>
1379 * tracer.[Ch]: remove unneeded files
1381 * InsetList.[Ch]: remove resizeInsetsLyXText()
1386 * text3.C: merge insertParagraphs() and appendParagraph()
1387 remove breakAgain(), update()
1389 * BufferView_pimpl.[Ch]:
1390 * bufferview_funcs.[Ch]:
1394 * tabular.C: adjust after text & InsetList changes.
1396 2003-08-08 André Pönitz <poenitz@gmx.net>
1398 * text.C (insertChar, backspace): replace rowlist fiddling
1399 with rebreak of full par
1402 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1403 checkParagraph, updateInset): removed
1405 2003-08-07 André Pönitz <poenitz@gmx.net>
1408 * text3.C: merge some LFUN handlers, remove dead code
1410 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1412 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1414 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1416 * text2.C (DEPM): fix part of bug 1255 and 1256
1418 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1420 * BufferView_pimpl.C (workAreaDispatch): change to use
1421 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1422 that are no mouse related.
1424 2003-08-05 André Pönitz <poenitz@gmx.net>
1427 * BufferView_pimpl.[Ch]:
1428 * bufferview_funcs.C:
1430 * text3.C: rip out "deep update"
1432 * textcursor.[Ch] (last_sel_cursor): remove unused member
1434 2003-08-04 André Pönitz <poenitz@gmx.net>
1437 * BufferView_pimpl.[Ch]:
1438 * ParagraphParameters.C:
1439 * bufferview_funcs.C:
1445 * text3.C: replace "complicated" BufferView::update(...) calls with
1448 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1450 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1452 * Makefile.am (lyx_SOURCES): add paper.h
1454 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1456 * Makefile.am: move things around so that both lyx-qt and
1457 lyx-xforms can be built (according to --with-frontend). Then lyx
1458 is a symbolic link to lyx-[firstfrontend]
1460 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1462 * Always use std::endl with lyxerr
1464 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1466 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1468 2003-08-01 André Pönitz <poenitz@gmx.net>
1471 * BufferView_pimpl.[Ch]:
1473 * text3.C: merge BufferView::repaint() and BufferView::update()
1475 2003-08-01 José Matos <jamatos@lyx.org>
1477 * buffer.[Ch]: file_format is no longer a buffer data element.
1479 2003-08-01 André Pönitz <poenitz@gmx.net>
1484 * text2.C: make redoParagraph more independent of current cursor
1486 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1488 * text2.C: remove unneeded members
1490 2003-07-30 André Pönitz <poenitz@gmx.net>
1492 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1494 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1495 create a single function...
1497 * paragraph_funcs.C (moveItem): ... here.
1500 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1502 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1504 * LColor.[Ch]: Add comment and greyedout logical colors.
1506 2003-07-30 André Pönitz <poenitz@gmx.net>
1508 * tabular.C: don't use Assert too heavily. This crashes where it
1511 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1513 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1514 is disabled (bug 1232)
1516 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1518 * factory.C: limited 'arg' scope
1520 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1522 * factory.C: fixed Note submenu issues
1524 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1526 * factory.C: submenu for Note/Comment/Greyedout
1528 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1531 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1533 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1536 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1537 greyedout. Patch provided by Jürgen Spitzmüller.
1539 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * kbmap.C (read): fix error message when reading bind files
1543 2003-07-29 Angus Leeming <leeming@lyx.org>
1545 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1546 certainly does not do what it purports to do. I am doing it, and
1547 us, a favour by killing it.
1549 2003-07-28 José Matos <jamatos@lyx.org>
1551 * buffer.C (readBody, do_writeFile):
1552 * paragraph.C(readParagraph): \end_document replaces \the_end.
1554 2003-07-29 André Pönitz <poenitz@gmx.net>
1557 * BufferView_pimpl.[Ch]:
1561 * textcursor.[Ch]: remove toggleToggle & Co
1563 2003-07-28 José Matos <jamatos@fep.up.pt>
1565 * buffer.C (readParagraph):
1566 * params_func (readParToken, readParagraph):
1567 * paragraph.C (write): \layout -> \begin_layout.
1569 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * lyxlex_pimpl.C (setFile): clean up slightly.
1573 * bufferparams.h: add compressed var
1575 * buffer_funcs.C (readFile): adjust for LyXLex change
1576 (newFile): ditto + simplify
1578 * buffer.C (writeFile): handle writing of compressed files
1580 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1581 Check if the file is compressed and set a bufferparm if so.
1583 * Makefile.am (lyx_LDADD): remove explicit -lz
1585 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1587 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1588 makeDocBookFile): put the real LyX version in the first line of
1592 * version.C.in: remove lyx_docversion
1594 * tabular.C (write_attribute): add a template-based version to
1595 write enums properly
1597 2003-07-28 André Pönitz <poenitz@gmx.net>
1602 * text3.C: use doubles again for x-coordinates. They are needed.
1604 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * messages.C (getLocaleDir): use lyx_localedir()
1608 * lyxlex_pimpl.C (setFile): compress stuff
1610 * buffer.C (writeFile): add some compression stuff
1611 (do_writeFile): new func, dont call expliti close... will this
1614 * Makefile.am (lyx_LDADD): add -lz
1616 2003-07-28 José Matos <jamatos@fep.up.pt>
1618 * buffer.C: increment file format.
1619 * paragraph_funcs (readParagraph, readParToken):
1620 * paragraph.C (readParagraph): add \end_layout.
1622 2003-07-27 Angus Leeming <leeming@lyx.org>
1624 * Makefile.am: remove special casing for configure-time setting of
1625 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1627 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1628 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1630 2003-07-26 André Pönitz <poenitz@gmx.net>
1632 * paragraph_func.[Ch]:
1633 * paragraph.C (realizeFont): inline it whereever it is used
1638 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1641 2003-07-26 André Pönitz <poenitz@gmx.net>
1645 * text2.C: get rid of LyXText::need_break_row
1647 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1649 * toc.[Ch]: put namespace toc inside namespace lyx
1651 * MenuBackend.C (expandToc2): adjust for lyx::toc
1654 * lyxfunc.C (dispatch): adjust for lyx::find
1656 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1657 lyx::find instead. Reorganize a bit.
1658 (LyXReplace): rename to replace
1659 (LyXFind): rename to find
1661 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1664 2003-07-26 André Pönitz <poenitz@gmx.net>
1666 * text.C (setHeightOfRow): restrict scope of temporary variable
1668 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1669 code (never has been used?)
1671 2003-07-27 Asger Alstrup <alstrup@local>
1673 * text.C (fill): Optimise algorithm to exploit that we can reuse
1674 the LyXFont for many characters.
1675 (setHeightOfRow): Same thing.
1676 (rowBreakPoint): Same thing.
1678 2003-07-26 Asger Alstrup <alstrup@local>
1680 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1682 * text.C (singleWidth): Spurious font copying in hot-spot
1683 singleWidth avoided. Reorder tests for arabic for efficiency.
1685 * text.C (fill): handle empty paragraphs better.
1687 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * encoding.h: add includes
1692 * lyxrc.C: remove reading of bind files
1694 * lyx_main.C (init): setup bindings and menus only if we have a
1697 * kbmap.C (read): new method. Do the actual reading of bind
1700 * converter.C (dvipdfm_options):
1703 (output): adapt PAPER_* enums.
1705 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1707 * bufferparams.h: remove paper-related enums from there
1709 * paper.h: New file. A trivial header file to hold paper-related
1710 enums. It should later expand to contain many paper-related
1713 * lyxrc.C: declare extern displayTranslator
1715 2003-07-27 José Matos <jamatos@fep.up.pt>
1717 * tabular.[Ch] (linuxdoc): add support for tables and figures
1720 2003-07-27 José Matos <jamatos@fep.up.pt>
1722 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1723 consistency in both functions.
1724 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1726 2003-07-26 Asger Alstrup <alstrup@local>
1728 * rowpainter.C (paintRows): Change algorithm to work directly on
1729 the insets rather than asking every character in the document
1730 whether its an inset.
1732 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1734 * buffer.C (openFileWrite): factorize some code
1736 2003-07-26 Angus Leeming <leeming@lyx.org>
1739 * lyx_main.[Ch]: replace occurances of system_tempdir with
1742 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1744 * rename Inset to InsetOld
1746 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1748 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1749 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1750 which I think is a bit clearer. EDIT is gone, since it was
1751 premature optimisation, and broken for mathed anyway.
1752 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1753 with cursor positioning in insets as well (math insets still do not
1754 work, but that's a different story anyway.) It mysteriously
1755 crashes sometimes with undo in the first paragraph, but I'm fairly
1756 confident that this is a compiler bug.
1758 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1760 * paragraph.C (Paragraph): adjust for new clone return type
1762 (copyIntoMinibuffer): ditto
1764 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1766 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1767 by not having a special case, and always doing a full rebreak of
1768 the document after undo.
1770 2003-07-23 Angus Leeming <leeming@lyx.org>
1772 * factory.C (createInset): InsetExternal::setParams now takes a
1775 2003-07-23 Angus Leeming <leeming@lyx.org>
1777 * factory.C (createInset): changed interface to the external and
1778 graphics mailers' string2params functions.
1780 2003-07-23 Angus Leeming <leeming@lyx.org>
1782 * factory.C (createInset): pass a
1783 Buffer const * parameter to InsetExternalMailer's string2params.
1785 2003-07-22 John Levon <levon@movementarian.org>
1787 * Thesaurus.h: include the right aiksaurus header
1789 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1791 * MenuBackend.C (expand): check menu shortcuts unconditionally
1793 2003-07-21 Angus Leeming <leeming@lyx.org>
1795 * factory.C (createInset): pass a
1796 buffer_path parameter to InsetGraphicsMailer's string2params.
1798 2003-07-21 Angus Leeming <leeming@lyx.org>
1800 * BufferView_pimpl.C (buffer):
1803 * lyxfunc.C (dispatch):
1804 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1805 rather than the grfx shortcut.
1807 2003-07-21 André Pönitz <poenitz@gmx.net>
1809 * rowpainter.C: remove unused variables
1812 * tabular_funcs.h: move to tabular.C
1813 * Makefile.am: adjust
1815 * tabular.[Ch]: basic optical cleaning
1817 * author.h: pass references, not values
1819 2003-07-18 André Pönitz <poenitz@gmx.net>
1827 * text3.C: two-phase drawing for InsetText and InsetTabular
1828 some float -> int changes.
1830 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1832 * lyx_main.C: fix the fix
1834 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1836 * lyx_main.C: fix a crash in batch mode if no files specified
1839 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1841 * format.[Ch] (papersize): moved to BufferParams
1842 * converter.[Ch] (dvips_options): moved to BufferParams
1843 (dvipdfm_options): moved to anon namespace
1844 * bufferparams.[Ch]: added above functions.
1846 2003-07-17 André Pönitz <poenitz@gmx.net>
1850 * text2.C: don't call inset->update() anymore
1852 * metricsinfo.[Ch]: add convenience constructor
1854 2003-07-16 André Pönitz <poenitz@gmx.net>
1859 * text2.C: replace the LyXCursor::irow_ member with
1860 on-demand computation of the value
1862 2003-07-16 John Levon <levon@movementarian.org>
1864 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1866 2003-07-15 André Pönitz <poenitz@gmx.net>
1869 * text2.C: remove no more needed refresh_row
1871 2003-07-15 André Pönitz <poenitz@gmx.net>
1876 * text3.C: refresh_status tristate -> need_update bool
1878 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1880 * lyxtext.h (init): remove reinit argument (act as if always true)
1881 * text2.C: adjust to that
1883 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1885 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1886 * text3.C: use it to delete selections in some cases
1887 (bugs 441, 673, 702, 954).
1889 2003-07-14 André Pönitz <poenitz@gmx.net>
1891 * rowpainter.[Ch]: reduce interface
1893 2003-07-14 André Pönitz <poenitz@gmx.net>
1895 * BufferView_pimpl.C:
1896 * text2.C: adjust after removing unused BufferView * argument
1898 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1900 * text2.C (init): fix a crash fired on resize
1902 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1904 * buffer.[Ch]: added new closing signal
1905 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1906 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1907 BufferView::Pimpl via the closing the signal
1909 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1911 * buffer.[Ch]: take out all bv-related from buffer
1913 * BufferView_pimpl.[Ch]: connect to new signals
1914 * CutAndPaste.C: removed useless asserts
1915 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1918 * lyxfunc.C: moved view-related funciontality from vc here
1919 * paragraph.C: removed outdated comments
1922 2003-07-10 André Pönitz <poenitz@gmx.net>
1924 * BufferView_pimpl.C:
1928 * text2.C: remove InsetText::InnerCache, clean up consequences
1930 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1932 * ispell.C: fix two typos in error messages
1934 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1936 * Extend Note inset to other forms of annotation like Comment
1937 and Greyedout. Right button click gives dialog.
1939 Files modified or added (+):
1943 * ControlNote.[Ch] +
1945 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1946 frontends/controllers
1950 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1952 * aspell.C: add missing namespace lyx::support
1954 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1956 * BufferView.[Ch] (newFile): Add
1957 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1958 * LaTeX.[Ch] (message): added this signal and use it
1959 * buffer.[Ch] (busy, message): added these signals and use them
1960 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1964 * importer.C: use buffer signals instead of direct bv calling
1965 * lyx_cb.[Ch] (ShowMessage): removed
1968 * paragraph_funcs.C:
1969 * text2.C: use buffer signals
1971 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * introduce namespace lyx::graphics
1975 2003-07-02 André Pönitz <poenitz@gmx.net>
1977 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1979 2003-07-01 André Pönitz <poenitz@gmx.net>
1986 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1987 text*.C to text_func.C
1989 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1991 * introduce namespace lyx::support
1993 2003-06-30 André Pönitz <poenitz@gmx.net>
1998 * text.C: re-enable --with-included-string
2000 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2002 * textcursor.C: add <config.h>
2004 * text.C (getWord): remove const from word_location arg
2006 * lyxvc.C (getLogFile): fix const type order
2008 * lyxtext.h: remove const from word_location arg, add arg name
2010 * lyxlayout.h: currect type on labeltype.
2012 * importer.C: correct \file
2014 * converter.C (intToFormat): use std:: on ret val, ws changes
2016 * bufferlist.h: correct \file
2018 * buffer.C (makeLinuxDocFile): fix const type order
2019 (makeDocBookFile): ditto
2020 (fillWithBibKeys): use std:: on stdlib args.
2022 * CutAndPaste.C: fix authors.
2023 (availableSelections): use std:: on return vector
2025 2003-06-27 André Pönitz <poenitz@gmx.net>
2027 * BufferView_pimpl.C:
2028 * bufferview_funcs.C:
2036 * text3.C: remove LyXCursor::row_ member
2039 * text.C: rename fullRebreak() to partialRebreak() and implement
2040 a fullRebreak() that really bereks fully
2042 * textcursor.h: new struct for cursor-related data
2044 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2046 * lyx_main.C (LyX): get full path of document loaded on the
2049 2003-06-26 André Pönitz <poenitz@gmx.net>
2051 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2052 remove unused/broken operator>,<,>=.
2054 * text.C: remove only use of broken operator<= in an Assert().
2056 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2058 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2059 moved errorlist_.clear to showErrorList
2061 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2063 * converter.C (scanLog, runLaTeX):
2064 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2065 move the bv->showErrorList call to the callers
2066 * lyxfunc.C: i.e. here...
2068 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2069 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2070 namespace, the second to...
2071 * buffer_funcs (BufferFormat, parseErrors): added
2072 * errorlist.C (ErrorList(TeXErrors const &)): removed
2074 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2078 2003-06-24 "Garst R. Reese" <reese@isn.net>
2082 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2086 * version.C.in: change docversion to 1.4
2088 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2090 * buffer.C: fix a bug just introduced
2092 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2094 * buffer.[Ch]: added the parseError signal and use it, removed
2096 * BufferView.[Ch] (addError): moved to ...
2097 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2098 to the Buffer::parseError signal to catch (guess what) parse errors
2099 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2101 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2103 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2104 ability to create a buffer and to return an existing one from
2105 the list. Moved these functions to...
2106 * buffer_funcs.[Ch]: added
2107 * BufferView.[Ch] (loadLyXFile): added
2108 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2109 job removed from bufferlist::loadLyXFile.
2110 * buffer.C (setReadOnly): make it work without view
2111 (i.e added an if (users))
2113 2003-06-19 Angus Leeming <leeming@lyx.org>
2116 * LyXAction.C (init):
2117 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2118 with LFUN_DIALOG_SHOW <name> <data>.
2120 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2122 * CutAndPaste.C (availableSelections): small compilation fix for
2123 ancient (gcc 2.9x) compilers
2125 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * text3.C (cursorNext): add tmp var
2129 * text2.C (updateCounters): for function calling out of for clause
2130 (replaceSelectionWithString): ditto
2131 (insertStringAsParagraphs): ditto
2132 (getColumnNearX): add tmp var
2133 (setCursorFromCoordinates): add tmp var
2134 (cursorDownParagraph): add tmp var
2135 (deleteEmptyParagraphMechanism): add tmp var
2137 * text.C (insertChar): add tmp var
2139 * rowpainter.C (paintDepthBar): add tmp var
2141 * CutAndPaste.C (availableSelections): potentially check all
2142 paragraphs in a cut to fill the shown strings.
2144 2003-06-18 André Pönitz <poenitz@gmx.net>
2146 * kbmap.[Ch]: use vector<> instead of list<>
2148 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2150 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2151 pasteSelection with index
2153 * text2.C (pasteSelection): modify, call pasteSelection with index
2155 * paragraph.C (asString): reimplement version with no interval to
2156 call the one with interval.
2158 * lyxtext.h: add index arg to pasteSelection
2160 * MenuBackend.C (MenuItem): handle PasteRecent
2161 (Menu::read::Menutags): add md_pasterecent
2163 (expandPasteRecent): new function
2166 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2168 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2170 (availableSelections): new function
2172 2003-06-17 Angus Leeming <leeming@lyx.org>
2174 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2176 2003-06-17 Angus Leeming <leeming@lyx.org>
2179 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2181 * lyxfunc.C (dispatch): invoke it.
2183 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * iterators.C (operator++, ParPosition): reintroduce some
2186 const_cast for the benefit of older compilers.
2188 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2190 * text3.C (dispatch): do not modify clipboard when doing
2191 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2192 LFUN_DELETE_SKIP on a selection selection
2194 2003-06-16 André Pönitz <poenitz@gmx.net>
2200 * tabular.[Ch]: IU of clone() and getLabelList();
2202 2003-06-13 André Pönitz <poenitz@gmx.net>
2204 * tabular.h: compactification
2206 2003-06-12 André Pönitz <poenitz@gmx.net>
2210 * tabular_funcs.h: some renaming plus whitespace
2212 2003-06-12 André Pönitz <poenitz@gmx.net>
2215 * BufferView_pimpl.C:
2221 * toc.C: Return a Paragraph & for ParIterator::operator*()
2223 2003-06-11 John Levon <levon@movementarian.org>
2227 * ToolbarBackend.C: add "Toolbars" section and
2230 2003-06-10 Angus Leeming <leeming@lyx.org>
2233 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2235 * lyxfunc.C (dispatch): invoke it.
2237 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * main.C: protect <ios> with HAVE_IOS
2240 (main): protect sync_with_stdio with HAVE_IOS
2242 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2244 * text2.C (cutSelection): adjust
2245 (pasteSelection): adjust
2247 * messages.C: handle get of empty string
2249 * main.C (main): use sync_with_stdio(false)
2251 * lyxfunc.C (dispatch): adjust
2253 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2254 (WriteAs): remove unneeded BufferView arg.
2256 * bufferparams.h: use correct types on papersize, papersize2 and
2259 * bufferparams.C (readToken): adjust for type
2260 (writeLaTeX): add missing cases to switch.
2262 * bufferlist.C (quitWriteBuffer): adjust
2265 * buffer.C (asciiParagraph): remove some commented code.
2267 * CutAndPaste.C: remove current_view extern variable.
2268 (cutSelection): add BufferParams arg.
2269 (eraseSelection): add BufferParams arg.
2270 (pasteSelection): add Buffer const & arg
2272 2003-06-07 John Levon <levon@movementarian.org>
2275 * paragraph_funcs.C:
2276 * paragraph_pimpl.C:
2280 * paragraph.C: allow InsetERT to freely space lines,
2281 and some consolidation of code
2283 2003-06-06 José Matos <jamatos@fep.up.pt>
2285 * buffer.C (makeDocBookFile): fix bug #821
2287 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2289 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2291 2003-06-04 Angus Leeming <leeming@lyx.org>
2293 * buffer.C: bump format to 224.
2295 2003-06-05 André Pönitz <poenitz@gmx.net>
2297 * text2.C (redoParagraphs): remove two const_cast<>
2299 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2301 * ParagraphList.h: remove last remnants of NO_STD_LIST
2303 2003-06-03 Angus Leeming <leeming@lyx.org>
2305 * factory.C (createInset): small change to the way InsetExternal's params
2308 2003-06-04 André Pönitz <poenitz@gmx.net>
2310 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2312 * paragraph_pimpl.h:
2313 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2315 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2317 * undo_funcs.C: make some simple cases of undo work again
2319 2003-06-03 John Levon <levon@movementarian.org>
2321 * ispell.C: HPUX doesn't have sys/select.h
2324 2003-06-03 John Levon <levon@movementarian.org>
2326 * CutAndPaste.C: update tabular and include inset
2331 * paragraph.C: remove owningBuffer(), don't pass Buffer
2334 * factory.C: insetGraphicsParams changed
2336 2003-06-02 John Levon <levon@movementarian.org>
2342 * text3.C: remove insetparent
2344 2003-06-02 John Levon <levon@movementarian.org>
2347 * buffer.C: fix inset_iterator.end(), move out of line
2350 2003-06-01 John Levon <levon@movementarian.org>
2352 * text3.C: use a proper cut/paste when doing inset
2353 insert (from Jürgen Spitzmüller)
2355 2003-06-01 John Levon <levon@movementarian.org>
2357 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2359 2003-05-30 André Pönitz <poenitz@gmx.net>
2361 * rowpainter.C: unify second drawing phase
2363 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * trans_mgr.C: remove one case of current_view
2367 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2369 * paragraph_funcs.h: remove paragraph.h include
2371 * paragraph.h: delete NO_STD_LIST stuff
2373 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2375 * buffer.h: remove paragraph.h include
2377 * ParagraphList.C: delete file
2379 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2381 * toc.C (getTocList): adjust
2383 * paragraph_pimpl.C (validate): adjust
2385 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2387 * paragraph.C (Paragraph): adjust
2388 (getPositionOfInset): use const_iterator, adjust
2389 (bibitem): use const_iterator, adjust
2390 (setInsetOwner): adjust
2392 * iterators.C (operator++): adjust
2394 * InsetList.[Ch]: Replace selfmade iterator with standard
2395 vector::iterator also introduce const_iterator. Remove getPos,
2396 getInset and setInset from InsetTable. Adjust accordingly.
2398 * BufferView.C (lockInset): adjust
2399 (ChangeInsets): adjust
2401 * tabular.[Ch]: delete commented same_id functions
2403 2003-05-28 John Levon <levon@movementarian.org>
2405 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2407 2003-05-28 André Pönitz <poenitz@gmx.net>
2409 * metricsinfo.[Ch]: remove 'fullredraw' member
2411 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2413 * lyxtextclass.C (operator): remove caching.
2415 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * text2.C (cursorBottom): adjust
2420 (setCounter): use ParagraphList::find, adjust
2422 * text.C (workWidth): use ParagraphList::find, adjust
2424 * lyxcursor.C (LyXCursor): adjust
2426 * buffer.C (inset_iterator): adjust
2428 * ParagraphList.h: make iterator(value_type) private, make
2429 ParagraphList a friend of iterator.
2431 * ParagraphList.C (find): new function
2433 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2435 2003-05-27 André Pönitz <poenitz@gmx.net>
2437 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2439 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2441 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2443 2003-05-26 John Levon <levon@movementarian.org>
2445 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2447 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2449 * remove same_id from function signatures, adjust.
2451 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2453 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2455 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2457 * paragraph.C (Paragraph): get rid of same_ids parameter
2459 * ParagraphList.C (insert): adjust
2462 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2464 * paragraph_funcs.C (breakParagraph): adjust
2465 (breakParagraphConservative): adjust
2467 * buffer.C (readParagraph): adjust
2469 * ParagraphList.C (insert): take a reference instead of a pointer
2472 * paragraph.[Ch] (id): new function
2474 * bufferlist.C (newFile): adjust
2476 * ParagraphList.C (ParagraphList): adjust
2478 (push_back): take a reference instead of a pointer.
2480 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2482 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2485 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2486 set else use old code.
2488 * ParagraphList.C: remove all NO_NEXT code and only compile this
2489 code of NO_STD_LIST is set.
2491 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2493 * BufferView_pimpl.C:
2503 * graphics/GraphicsConverter.C:
2504 * graphics/PreviewLoader.C: header adjustment
2506 2003-05-23 Angus Leeming <leeming@lyx.org>
2508 * LaTeXFeatures.[Ch] (useBabel): new method.
2509 * bufferparams.C (writeLaTeX): use it.
2511 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * ParagraphList.h (set): remove unused function.
2515 2003-05-23 André Pönitz <poenitz@gmx.net>
2518 * BufferView_pimpl.C:
2522 * undo_funcs.C: setUndo reworked
2524 * iterators.[Ch]: add access to topmost ParagraphList
2526 * lyxtext.[Ch] (workWidth): add a const
2528 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2530 * texrow.[Ch] (increasePos): remove function
2531 * exporter.C (export): removed unused var and outdated comment
2533 2003-05-23 Angus Leeming <leeming@lyx.org>
2535 * latexrunparams.h: rename fragile as moving_arg.
2536 * paragraph.C (simpleTeXOnePar): ditto.
2537 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2539 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2541 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2543 (textUndoOrRedo): comment out a currently unused var.
2545 * paragraph.h (NO_NEXT): enable NO_NEXT
2547 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2549 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2551 * exporter.C (Export): adjust for removeAutoInsets removal.
2553 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2555 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2557 * BufferView.[Ch] (removeAutoInsets): delete function
2559 2003-05-22 Angus Leeming <leeming@lyx.org>
2561 * latexrunparams.h: add a free_spacing variable.
2563 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2564 to pass moving_arg, as the data is stored in runparams.fragile.
2566 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2567 to Inset::latexOptional or to simpleTeXOnePar.
2569 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2570 free_spacing arg to Inset::latexOptional.
2572 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2575 2003-05-22 Angus Leeming <leeming@lyx.org>
2577 * latexrunparams.h: add fragile and use_babel variables.
2579 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2580 * buffer.C (makeLaTeXFile): store this returned value in
2581 runparams.use_babel, thus passing it to the inset::latex methods.
2583 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2584 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2586 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2587 longer has a fragile arg, as it is stored in runparams.fragile.
2589 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2590 moving_arg parameter as the data is stored in runparams.fragile.
2592 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2593 a fragile parameter as the data is stored in runparams.fragile.
2595 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2597 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2599 2003-05-22 Angus Leeming <leeming@lyx.org>
2601 * latexrunparams.h: add a 'bool nice' which defaults to false.
2603 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2604 now encapsulated within runparams.
2606 * bufferlist.C (updateIncludedTeXfiles):
2607 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2609 2003-05-22 Angus Leeming <leeming@lyx.org>
2611 * latexrunparams.h: new file containing struct LatexRunParams.
2612 * Makefile.am: add new file.
2614 * LaTeX.[Ch] (c-tor, run):
2615 * buffer.[Ch] (makeLaTeXFile):
2616 * bufferlist.[Ch] (updateIncludedTeXfiles):
2617 * converter.C (convert, scanLog):
2618 * converter.[Ch] (runLaTeX):
2619 * exporter.C (Export):
2620 * paragraph.[Ch] (simpleTeXOnePar):
2621 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2622 * paragraph_funcs.[Ch] (latexParagraphs):
2623 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2624 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2625 pass around a LatexRunParams parameter.
2627 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * paragraph.[Ch]: remove unused constructor
2631 * ParagraphList.C (erase): new function, taking two iterators
2633 2003-05-22 André Pönitz <poenitz@gmx.net>
2635 * undo_funcs.C: remove duplicated code
2637 * iterator.[Ch]: operator=
2639 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * tabular.C (SetMultiColumn): ws changes
2643 * rowpainter.C (paintFirst): get rid of a ->previous
2645 * lyx_cb.C (getPossibleLabel): parlist simplification
2647 * BufferView.C (ChangeInsets): simplify slightly.
2649 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2651 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2652 * lfuns.h: new LFUN_SPACE
2653 * lyxfunc.C: protected space has a new lfun
2654 * paragraph_funcs.C: read new space insets
2656 * factory.C: handle new space insets
2658 2003-05-22 André Pönitz <poenitz@gmx.net>
2661 * BufferView_pimpl.C:
2664 * undo_funcs.C: return a ParIterator from getParFromID.
2666 * iterators.[Ch]: add two const's
2668 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2670 * toc.C (getTocList): adjust
2672 * iterators.[Ch]: rework for parlist
2674 * buffer.C (par_iterator_begin): adjust
2675 (par_iterator_end): adjust
2677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2679 * BufferView.C (removeAutoInsets): adjust
2680 (ChangeInsets): adjust
2682 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2684 * text.C (top_y): fix bug 1110
2686 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2688 * errorlist.[Ch]: added
2691 * BufferView_pimpl.C:
2692 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2695 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * Makefile.am: ensure that lyx is relinked upon changes to the
2698 various "convenience" libs.
2700 2003-05-20 Angus Leeming <leeming@lyx.org>
2702 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2703 files are compiled in alphabetical order again.
2705 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2707 2003-05-19 Angus Leeming <leeming@lyx.org>
2709 * gettext.[Ch]: remove "char const * _(char const *)".
2711 2003-05-19 André Pönitz <poenitz@gmx.net>
2713 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2722 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2724 2003-05-19 André Pönitz <poenitz@gmx.net>
2728 * lyxtextclass.[Ch]:
2730 * paragraph_funcs.[Ch]:
2732 * text3.C: more insetenv work
2734 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2736 * ParagraphParameters.C (params2string): small bug fixed
2738 2003-05-16 André Pönitz <poenitz@gmx.net>
2741 * bufferview_funcs.C: patch from Kornel Benko to prevent
2742 crash when _(...) is called twice in a statement
2744 2003-05-16 André Pönitz <poenitz@gmx.net>
2751 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2753 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2755 * lyx_main.C (init): remove spurious static_cast
2757 2003-05-14 André Pönitz <poenitz@gmx.net>
2759 * BufferView.C: fix format string
2761 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2763 * BufferView.[Ch] (insertErrors): removed
2764 * BufferView.[Ch] (showErrorList): added
2765 * buffer.C (runChkTeX):
2766 * converter.C (scanLog): call showErrorList instead of inserterrors
2768 2003-05-13 André Pönitz <poenitz@gmx.net>
2770 * BufferView_pimpl.C:
2772 * bufferview_func.C:
2779 * tabular_funcs.h: tostr() from its own header
2781 * ParagraphParameters.C:
2786 * text3.C: STRCONV()
2788 2003-05-12 André Pönitz <poenitz@gmx.net>
2791 * BufferView_pimpl.C:
2795 * ParagraphParameters.C:
2799 * bufferview_funcs.C:
2812 * paragraph_funcs.C:
2816 * text3.C: boost::format -> bformat all over the place
2819 2003-05-09 André Pönitz <poenitz@gmx.net>
2821 * LColor.[Ch]: Pimpl the #include <map> away
2823 2003-05-09 John Levon <levon@movementarian.org>
2825 * bufferlist.C: never remove emergency saves
2827 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * Makefile.am: better lib building
2831 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2835 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2836 (simpleTeXSpecialChars): adjust
2837 (simpleTeXSpecialChars): adjust
2838 * paragraph.C (simpleTeXOnePar): adjust
2839 * buffer.C (makeLaTeXFile): adjust
2841 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2843 * text2.C (changeDepth): parlist cleanup
2844 (getColumnNearX): ditto
2846 * rowpainter.C (getLabelFont): parlist cleanup
2848 * bufferlist.C (newFile): parlist cleanup
2850 * CutAndPaste.C (eraseSelection): parlist cleanup
2852 * BufferView_pimpl.C (trackChanges): parlist cleanup
2855 * BufferView.C (lockInset): parlist cleanup.
2856 (ChangeInsets): ditto
2858 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * CutAndPaste.h: Update file header.
2862 * CutAndPaste.C: Update file header.
2863 Store the parts cut out of the Document in a limited_stack.
2864 (copySelection): adjust
2865 (pasteSelection): new function, takes the index in the limited stack.
2866 (nrOfParagraphs): adjust
2867 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2868 simplify error inset insertion.
2869 (checkPastePossible): adjust
2871 2003-05-06 John Levon <levon@movementarian.org>
2873 * text2.C: don't cast wrap inset to float
2875 2003-05-05 André Pönitz <poenitz@gmx.net>
2878 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2880 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2881 few naked Paragraph *.
2883 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2885 * bufferparams.C: Output warning if a document with missing
2886 TeX document class is loaded
2887 * exporter.C: Disable TeX exports if the document class is missing
2890 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2891 isTeXClassAvailable()
2893 2003-05-03 John Levon <levon@movementarian.org>
2896 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2897 explicit cursor show/hide
2899 * BufferView_pimpl.h:
2900 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2901 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2903 * lyxfunc.C: hide cursor before dispatching.
2908 * text3.C: remove explicit cursor hides
2910 2003-05-02 André Pönitz <poenitz@gmx.net>
2912 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2915 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2918 * text2.C: tiny whitespace
2920 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * undo_funcs.C: almost only ws changes.
2924 * ParagraphList.C (splice): just return if pl is empty.
2926 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * ParagraphList.C (splice): new function.
2930 * CutAndPaste.C (pasteSelection): use it
2932 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2934 * CutAndPaste.C (pasteSelection): remove the last next and
2935 previous from this file.
2937 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * CutAndPaste.C (pasteSelection): more clean up, user proper
2940 ParagraphList functions for pasteing.
2942 * ParagraphList.C (insert): new function, three arg insert
2944 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * ParagraphList.C (insert): new function, three arg insert
2948 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2951 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2955 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2959 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2961 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2962 (copySelection): clean up a bit.
2963 (pasteSelection): use make_pair
2965 * ParagraphList.C (ParagraphList): implement copy constructor
2966 (operator=): implement, base on copy constructor.
2969 * paragraph.C (erase): return a bool
2971 * paragraph_pimpl.C (erasePos): remove function, move contents...
2972 (erase): ... here. Return a bool.
2973 (erase): call erase instead of erasePos.
2975 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2977 * ParagraphList.h: define PitPosPair
2978 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2979 ParagraphList, fix a bug on pasting multiple pars
2980 * text2.C: change interface to C&P
2982 2003-04-30 André Pönitz <poenitz@gmx.net>
2984 * undo_func.C: revert part of yesterday's patch 2
2986 2003-04-30 John Levon <levon@movementarian.org>
2988 * LColor.C: s/tabular/table/
2990 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2992 * text3.C (dispatch): do not convert iterator -> pointer
2993 * undo_funcs.C (setCursorParUndo): ditto
2994 * text_funcs.C (transposeChars): ditto
2996 * text2.C (setLayout): ws changes only
2998 * text.C (breakParagraph): do not convert iterator -> pointer
3000 (acceptChange): ditto
3001 (rejectChange): ditto
3006 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3009 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3011 * text3.C (gotoInset): YABG (yet another bad getChar)
3013 2003-04-29 André Pönitz <poenitz@gmx.net>
3015 * paragraph.h: make operator= private unimplemented as long as
3018 * ParagraphList.C: whitespace
3021 * paragraph_pimpl.[Ch]:
3022 * paragraph_funcs.C:
3024 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3027 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3029 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3031 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3032 * paragraph.[Ch] (erase):
3033 * paragraph_pimpl.[Ch] (erase): change return type and value
3034 * text2.C (cutSelection): some rework
3036 2003-04-28 John Levon <levon@movementarian.org>
3038 * bufferlist.C: changes for unsaved changes dialog
3040 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3042 * bufferlist.C (newFile): set language (messages_) for new
3045 * buffer.C (readFile): ws changes only.
3047 2003-04-28 André Pönitz <poenitz@gmx.net>
3052 * BufferView_pimpl.C:
3053 * BufferView.C: getParFromID related ParagraphList::iterator changes
3055 2003-04-28 André Pönitz <poenitz@gmx.net>
3057 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3060 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * messages.C: remove one more localedir class variable.
3064 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * messages.C (getLocaleDir): singleton generation function
3068 (Messages): add a default constructor.
3070 * main.C (main): do not setup localedir here, do not call
3073 * gettext.C (_): use it.
3074 (gettext_init): delete funciton
3076 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * gettext.C (getLyXMessages): new singleton generating function.
3080 * buffer.C (updateDocLang): adjust
3082 * Makefile.am (messages.o): add target
3083 (main.o): remove target
3085 2003-04-27 John Levon <levon@movementarian.org>
3090 * lyxvc.C: specify cancel button in Alert::prompt
3092 2003-04-26 John Levon <levon@movementarian.org>
3097 * LyXAction.C: add LFUN_INSET_SETTINGS
3099 * lyxfunc.C: don't enable tabular-feature when there's
3100 just any locking inset
3102 2003-04-26 John Levon <levon@movementarian.org>
3104 * bufferlist.C: re-add Cancel to buffer close question
3106 * lyxfunc.C: fix import UI a bit
3108 2003-04-25 John Levon <levon@movementarian.org>
3110 * gettext.C: remove the broken asserts for now
3112 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * messages.C: make case where setlocale cannot comply work better.
3116 * buffer.C (updateDocLang): new function
3117 (changeLanguage): use it
3120 * text2.C (setCounter): use B_ a bit.
3122 * lyxlayout.C (Read): be sure to trim the label strings.
3124 * messages.C (Messages): fix typo in comment
3126 * buffer.C (readFile): set message_ after file is loaded.
3127 (makeDocBookFile): remove double return
3128 (changeLanguage): reset message_ upon language change.
3129 (B_): new func, use this to get translated buffer strings.
3131 * main.C: add myself and Jean Marc as authors.
3133 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * messages.[hC]: pimplify Messages, and three different pimpls to be
3136 used in different circumstances.
3138 * gettext.[Ch]: change for use with new message code.
3140 2003-04-24 André Pönitz <poenitz@gmx.net>
3142 * factory.C: support for eqref
3144 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * messages.[Ch]: add missing char
3148 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3150 * messages.[Ch]: New files
3152 2003-04-18 John Levon <levon@movementarian.org>
3156 * BufferView_pimpl.C:
3160 * text2.C: remove layout-copy/paste (bug 778)
3162 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3164 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3166 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3168 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3169 if they succeed. Act accordingly.
3171 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * text2.C (setCharFont): adjust
3174 (setCounter): adjust
3175 (insertStringAsLines): adjust
3177 * text.C (leftMargin): adjust
3178 (setHeightOfRow): adjust
3180 * rowpainter.C (paintFirst): adjust
3183 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3185 (isFirstInSequence): ditto
3186 (getEndLabel): ditto
3189 * paragraph.C (getParLanguage): comment out some hard stuff.
3191 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3193 (simpleDocBookOnePar): ditto
3194 (makeDocBookFile): use ParagraphList::iterator
3196 * CutAndPaste.C (pasteSelection): adjust
3198 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * text2.C (getFont): adjust
3201 (getLayoutFont): adjust
3202 (getLabelFont): adjust
3204 * paragraph_funcs.C (TeXOnePar): adjust
3206 * buffer.C (simpleLinuxDocOnePar): adjust
3207 (simpleDocBookOnePar): adjust
3209 * CutAndPaste.C (pasteSelection): adjust
3211 * BufferView.C (getEncoding): adjust
3213 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3215 2003-04-16 John Levon <levon@movementarian.org>
3217 * lyxfind.C: use parlist stuff for search/changes
3219 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3221 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3223 * text2.C (deleteEmptyParagraphMechanism): adjust
3225 * text2.[Ch] (ownerParagraph): delete func (both of them
3227 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3229 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3231 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * ParagraphList.C: prepare for NO_NEXT
3235 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3237 * text2.C (getFont): adjust
3238 (getLayoutFont): adjust
3239 (getLabelFont): adjust
3241 * paragraph.C (getFont): adjust
3242 (getLabelFont): adjust
3243 (getLayoutFont): adjust
3245 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3247 2003-04-15 John Levon <levon@movementarian.org>
3251 * lyx_main.C: handle Include in .ui files
3253 2003-04-15 John Levon <levon@movementarian.org>
3255 * MenuBackend.C: make the doc files length shorter
3258 * ToolbarBackend.C: handle toolbar placement flags,
3261 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3266 * paragraph_funcs.C (TeXOnePar): adjust
3268 * paragraph.C (getLabelFont): add outerfont arg, adjust
3269 (getLayoutFont): ditto
3270 (simpleTeXOnePar): adjust
3272 * paragraph_pimpl.C (realizeFont): delete func
3274 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3276 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3277 row argument, constify cur argument.
3279 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3281 * text2.C (getFont): adjust
3282 (getLayoutFont): adjust
3283 (getLabelFont): adjust
3285 * paragraph_funcs.C (TeXOnePar): adjust
3286 (outerFont): new func...
3287 (realizeFont): ...moved out from here, changed this to facilitate
3290 * paragraph.C (getFont): take outerfont as arg, adjust
3291 (simpleTeXOnePar): add outerfont arg, adjust
3293 * buffer.C (simpleLinuxDocOnePar): adjust
3294 (simpleDocBookOnePar): adjust
3296 * CutAndPaste.C (pasteSelection): adjust
3298 * BufferView.C (getEncoding): adjust
3300 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3302 * text2.C (setCharFont): adjust
3303 (setCounter): adjust
3305 * text.C (leftMargin): adjust
3306 (setHeightOfRow): adjust
3308 * rowpainter.C (paintFirst): adjust
3311 * paragraph_pimpl.C (realizeFont): adjust
3313 * paragraph.C (isFirstInSequence): move from here...
3314 * paragraph_funcs.C (isFirstInSequence): ...to here
3316 * paragraph.C (outerHook): move from here...
3317 * paragraph_funcs.C (outerHook): ...to here
3319 * paragraph.C (depthHook): move from here...
3320 * paragraph_funcs.C (depthHook): ...to here
3322 * paragraph.C (getEndLabel): move from here...
3323 * paragraph_funcs.C (getEndLabel): ...to here
3325 * text2.C (realizeFont): move from here...
3326 * paragraph_funcs.C (realizeFont): ...to here
3328 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3332 2003-04-14 Angus Leeming <leeming@lyx.org>
3334 * LColor.[Ch]: scrap LColor mathcursor.
3336 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * lyxlex.[Ch] (text): delete function
3339 * trans.C (Load): adjust
3340 * paragraph_funcs.C (readParToken): adjust
3342 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3344 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3345 vector<char> instead of a char[].
3347 * lyxlex_pimpl.C (getString): adjust
3349 (lex): use getString
3353 * lyxlex.C (text): use pimpl_->getString()
3357 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3360 (makeFontEntriesLayoutSpecific): temp var for par.size()
3361 (setLayout): temp var for ownerParagraphs().end()
3362 (fullRebreak): temp var for rows().end()
3363 (selectionAsString): temp var for boost::next(startpit), realize
3364 that the while really is a regular for loop.
3365 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3366 setCursor in one place.
3367 (setParagraph): temp vr for ownerParagraphs().end()
3368 (updateCounters): make the while loop a for loop
3369 (cutSelection): temp var for ownerParagraphs().end()
3370 (updateInset): make the do {} while() a regular for loop
3371 (getCursorX): use temp vars
3372 (setCurrentFont): use temp vars
3373 (getColumnNearX): use temp vars
3375 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * text.C (transformChar): use temp var for getChar
3378 (computeBidiTables): use temp var for row->par()
3379 (fill): move temp vars for row->par() and pit->layout() earlier in
3381 (labelFill): use temp var for row->par()
3382 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3383 asc and desc, realize that pit never changes and that firstpit is
3384 just a duplicate and not needed. Exchange rit->par() with pit in a
3386 (breakAgain): use a temp var for boost::next(rit)
3387 (breakAgainOneRow): ditto
3388 (breakParagraph): use a temp var for rows().begin()
3389 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3390 (cursorRightOneWord): use temp var for cursor.par() and
3391 cursor.pos(), remove usage of tmpcursor.
3392 (cursorLeftOneWord): use temp var for cursor.par() and
3393 cursor.pos() only set cur at end of function.
3395 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3397 * text.C, text2.C: exchange all usage of Paragraph::next with
3398 boost::next(ParagraphList::iterator)
3400 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3402 * text2.C (cursorTop): simplify implementation
3403 (cursorBottom): ditto
3404 (setParagraph): use ParagraphList::iterator
3405 (setCurrentFont): adjust
3406 (getColumnNearX): adjust
3407 (cursorRight): adjust
3408 (cursorLeft): remove usage of Paragraph::previous
3409 (cursorUpParagraph): ditto
3410 (deleteEmptyParagraphMechanism): slight cleanup
3412 * text.C (isBoundary): take a Paragraph const & instead of a
3414 (addressBreakPoint): ditto
3415 (leftMargin): remove usage of Paragraph::previous.
3416 (setHeightOfRow): ditto
3417 (cursorLeftOneWord): ditto
3418 (selectNextWordToSpellcheck): ditto
3421 (breakParagraph): remove one usage of Paragraph::next
3422 (redoParagraph): ditto
3423 (acceptChange): ditto
3424 (insertChar): adjust
3425 (rowBreakPoint): adjust
3427 * bufferview_funcs.C (toggleAndShow): adjust
3429 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3431 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3432 methods to access it.
3434 * text.C: Added updateRowPositions to compute all row positions.
3435 Make top_y and getRowNearY() to use the cached y position
3437 2003-04-11 John Levon <levon@movementarian.org>
3439 * text.C (rowBreakPoint): reintroduce the labelEnd
3440 checks, code copied from the row fill stuff. Deep voodoo.
3442 * text.C (fill): add a comment and debugging for the
3445 2003-04-11 John Levon <levon@movementarian.org>
3447 * text.C: make sure fullrow insets get wrapped to the next line,
3448 even when they're in a manual label
3450 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * text2.C (insertParagraph): make it take ParagraphList::iterator
3454 (setLayout): make it return ParagraphList::iterator
3455 (redoParagraphs): ditto
3457 (checkParagraph): ditto
3459 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3461 * text2.C: adjust several funcs.
3462 (realizeFont): take a ParagraphList::iterator as arg.
3463 (getLayoutFont): ditto
3464 (getLabelFont): ditto
3465 (setCharFont): ditto
3467 * text.C: adjust several funcs.
3469 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3471 * text.C (selectNextWordToSpellcheck): don't accidentally
3474 2003-04-10 John Levon <levon@movementarian.org>
3476 * ToolbarBackend.C (getIcon): special handling for
3479 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3481 * text2.C (cursorRight): a getChar assert fixed
3483 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * text2.C (getFont): change to take a ParagraphList::iterator
3486 instead of Paragraph*
3487 Adjust several functions.
3489 * text.C (transformChar): change to take a ParagraphList::iterator
3490 instead of Paragraph*
3491 (singleWidth): ditto
3492 Adjust several functions.
3494 * rowpainter.C: adjust several functions
3495 * rowpainter.h:store a ParagraphList::iterator and not a
3499 2003-04-09 John Levon <levon@movementarian.org>
3504 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3505 and the "help" bits as well
3507 2003-04-09 John Levon <levon@movementarian.org>
3510 * ToolbarBackend.C: allow multiple toolbars
3512 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * undo_funcs.C (setCursorParUndo): adjust
3516 * text_funcs.C (transposeChars): adjust
3518 * text3.C (gotoNextInset): adjust
3521 * text2.C (setLayout): adjust
3522 (changeDepth): adjust
3524 (redoParagraphs): adjust
3525 (selectionAsString): adjust
3526 (setParagraph): adjust
3527 (insertInset): adjust
3528 (cutSelection): adjust
3529 (copySelection): adjust
3530 (pasteSelection): adjust
3531 (insertStringAsLines): adjust
3532 (updateInset): adjust
3533 (setCursor): change to take a ParagraphList::iterator parameter
3534 (setCursorIntern): change to take a ParagraphList::iterator parameter
3535 (setCurrentFont): adjust
3536 (cursorLeft): adjust
3537 (cursorRight): adjust
3538 (deleteEmptyParagraphMechanism): adjust
3540 * text.C (breakParagraph): adjust
3541 (insertChar): adjust
3542 (acceptChange): adjust
3543 (rejectChange): adjust
3544 (selectNextWordToSpellcheck): adjust
3545 (changeCase): adjust
3549 * lyxfind.C (SearchForward): adjust
3550 (SearchBackward): adjust
3551 (nextChange): adjust
3553 * lyxcursor.C (par): adjust
3555 * lyxcursor.h: store a ParagraphList::iterator instead of a
3558 * lyx_cb.C (getPossibleLabel): adjust
3560 * bufferview_funcs.C (toggleAndShow): adjust
3562 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3565 * BufferView.C (removeAutoInsets): adjust
3566 (lockedInsetStoreUndo): adjust
3568 2003-04-09 John Levon <levon@movementarian.org>
3570 * ToolbarBackend.C: try icon without argument
3571 if with argument fails
3573 2003-04-08 John Levon <levon@movementarian.org>
3576 * ToolbarBackend.C: add getIcon(), handle tooltip,
3577 and change from "Icon" to "Item".
3579 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3581 * BufferView.C (lockInset): another bad getchar crunched
3583 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3585 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3588 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3590 * lyxfind.C (searchForward, searchBackwards): bug 782
3592 2003-04-07 John Levon <levon@movementarian.org>
3594 * paragraph.C: remove dead comment
3596 * text.C: remove troublesome depth-fiddling code
3597 in leftMargin() and rightMargin() (bug 1017)
3599 * text.C: fix breaking of rows in nested lists
3602 * text2.C (updateCounters): fix up depth values
3605 2003-04-07 John Levon <levon@movementarian.org>
3607 * BufferView_pimpl.C: clear message when doc finishes resizing,
3608 and after a mouse event
3610 * lyxfunc.C: clear message after exiting inset
3612 2003-04-07 John Levon <levon@movementarian.org>
3614 * bufferview_funcs.C: show math status not outside
3615 status in the statusbar
3617 2003-04-07 John Levon <levon@movementarian.org>
3619 * lyxfunc.C: note status changed after a depth change
3621 2003-04-04 Angus Leeming <leeming@lyx.org>
3623 * LaTeX.h: move AuxInfo operator==, != out of line.
3624 Remove LaTeX virtual destructor; nothing derives from it.
3625 Move operator()() out of public area and rename it startscript().
3626 Change protected for private.
3628 2003-04-04 Angus Leeming <leeming@lyx.org>
3631 * text2.C: remove unneeded #includes.
3633 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3635 * text2.C (dEPM): fix the heigth of the next row
3637 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3639 * text.C: squashed an invalid getChar requester + some ws changes
3641 2003-04-03 John Levon <levon@movementarian.org>
3643 * bufferview_funcs.h:
3644 * bufferview_funcs.C:
3647 * text2.C: make getStatus work for the env depth lfuns
3649 2003-04-03 John Levon <levon@movementarian.org>
3651 * bufferview_funcs.h:
3652 * bufferview_funcs.C:
3655 * text2.C: parlistize decDepth(), by merging it with incDepth()
3657 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * lyxrow.h: store a ParagraphList::iterator instead of a
3660 Paragraph* and adjust other class functions to suit.
3662 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3665 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3667 * text2.C (setCursor): do not anchor to cursor row for the time being
3669 2003-04-02 John Levon <levon@movementarian.org>
3676 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3678 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * paragraph.h: make ParagraphList and ParagraphList::iterator
3681 friends of Paragraph.
3683 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3685 * ParagraphList.C: Use the private next_ and previous_ from
3688 2003-04-01 John Levon <levon@movementarian.org>
3692 * Makefile.am: rename, remove defaults gunk
3695 * MenuBackend.C: remove defaults gunk
3698 * Languages.C: remove defaults gunk
3701 * lyx_main.C: error out if files couldn't be found.
3703 2003-04-02 John Levon <levon@movementarian.org>
3705 * text2.C: make incDepth() use parlist
3707 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * undo_funcs.C (firstUndoParagraph): adjust
3711 * text3.C (gotoInset): adjust
3712 (dispatch): adjust, and rewrite loop.
3714 * text2.C (init): adjust, and rewrite loop.
3715 (redoParagraphs): adjust
3716 (updateInset): adjust, and rewrite loop.
3717 (deleteEmptyParagraphMechanism): adjust
3719 * tabular.C (LyXTabular): adjust
3720 (SetMultiColumn): adjust
3723 * lyxtext.[Ch] (ownerParagraph): delete function
3724 (ownerParagraphs): new function returns a ParagraphList.
3726 * BufferView.C (removeAutoInsets): adjust
3727 (insertErrors): adjust
3728 (setCursorFromRow): adjust
3730 2003-04-01 Angus Leeming <leeming@lyx.org>
3732 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3735 2003-04-02 John Levon <levon@movementarian.org>
3741 * text_funcs.C: make transposeChars a free function
3743 * lyxrow_funcs.C: remove wrong comment
3745 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3748 * rowpainter.C: adjust
3753 * lyxrow_funcs. [Ch]: new files
3755 * lyxrow.[Ch]: remove next and previous pointers
3756 (next,previous): remove accessor functions
3757 (isParEnd): move to lyxrow_funcs
3758 (lastPos): move to lyxrow_funcs
3759 (nextRowIsAllInset): move to lyxrow_funcs
3760 (lastPrintablePos): move to lyxrow_funcs
3761 (numberOfSeparators): move to lyxrow_funcs
3762 (numberOfHfills): move to lyxrow_funcs
3763 (numberOfLabelHfills): move to lyxrow_funcs
3764 (hfillExpansion): move to lyxrow_funcs
3768 * bufferview_funcs.C (toggleAndShow): adjust
3770 * RowList.h: Remove class RowList from file leave just a
3773 * RowList.C: delete file
3775 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3778 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * text3.C (cursorPrevious): adjust
3781 (cursorNext): adjust
3784 * text2.C (redoHeightOfParagraph): adjust
3785 (redoDrawingOfParagraph): adjust
3788 * text.C (breakParagraph): adjust
3789 (insertChar): adjust
3792 * rowpainter.C (RowPainter): adjust
3793 (leftMargin): simplify and adjust
3794 (most rowpainter functions): adjust.
3796 * rowpainter.h: store the row as RowList::iterator not as Row*
3798 * lyxcursor.C (row): taka RowList::iterator as arg
3801 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3804 2003-04-01 Angus Leeming <leeming@lyx.org>
3806 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3807 stuff like bool Bool.
3809 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3811 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3814 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3819 * lyxtext.h (rows): drop one version and leve a const variant that
3820 returns a RowList::iterator.
3822 2003-03-31 Angus Leeming <leeming@lyx.org>
3824 * text.C (fill): ensure that the signature is the same as that in the
3827 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * text2.C (redoParagraphs): adjust
3830 (updateCounters): adjust
3831 (checkParagraph): adjust
3832 (getColumnNearX): adjust and reformat a bit.
3834 * text.C (top_y): adjust
3836 (leftMargin): adjust
3837 (prepareToPrint): adjust
3839 (getRowNearY): adjust
3841 * lyxtext.h: make rowlist_ mutable.
3843 * RowList.h: add const_iterator
3844 * RowList.C: adjust for RowList::const_iterator.
3846 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3849 2003-03-31 John Levon <levon@movementarian.org>
3852 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3854 * lyx_main.C: set default fonts from using lyx_gui funcs
3856 * exporter.C: pdf_mode moved from lyxrc
3859 * lyxfunc.C: changes from above
3861 2003-03-31 John Levon <levon@movementarian.org>
3863 * lyx_main.C: fix to the last fix
3865 2003-03-31 John Levon <levon@movementarian.org>
3867 * bufferlist.C: "Load original" -> "Load Original"
3873 * format.C: more Alert cleanups
3875 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * text2.C (removeParagraph): make it take a RowList::iterator as
3879 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3880 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3882 * text.C (anchor_row): make it take a RowList::iterator as arg,
3884 (computeBidiTables): make it take a const reference to Row instead
3885 of Row pointer, adjust.
3886 (leftMargin): make it take a RowList::iterator as arg, adjust.
3887 (rowBreakPoint): adjust
3888 (breakAgainOneRow): make it take a RowList::iterator as arg,
3890 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3892 * bufferview_funcs.C (toggleAndShow): adjust
3894 2003-03-30 John Levon <levon@movementarian.org>
3898 * boost-inst.C: moved to support
3900 * several files: changes as a result
3902 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3904 * text2.C (LyXText): adjust.
3906 (removeRow): make it take a RowList::iterator as arg, adjust.
3907 (fullRebreak): adjust
3908 (deleteEmptyParagraphMechanism): adjust
3909 (clearPaint): adjust
3912 * text.C (top_y): adjust
3913 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3914 (breakAgain): make it take a RowList::iterator as arg, adjust.
3915 (breakParagraph): adjust
3916 (insertChar): adjust
3919 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3920 need_break_row, and refresh_row.
3922 * text3.C (dispatch): adjust
3924 * text2.C (checkParagraph): adjust
3926 (setCursorFromCoordinates): adjust
3928 * text.C (top_y): adjust
3930 (getRow): make it return a RowList::iterator, adjust
3931 (getRowNearY): make it return a RowList::iterator, adjust
3933 * text2.C (init): adjust
3934 (insertRow): remove function
3935 (insertParagraph): adjust
3936 (redoParagraphs): adjust
3937 (fullRebreak): adjust
3938 (updateCounters): adjust
3940 * text.C (top_y): rewrite to use RowList iterators.
3942 (setHeightOfRow): rewrite to sue RowList iterators.
3943 (appendParagraph): adjust
3944 (breakAgain): adjust
3945 (breakAgainOneRow): adjust
3946 (breakParagraph): adjust
3948 (getRowNearY): adjust, and remove commented code.
3950 * lyxtext.h (firstRow): delete function
3951 (lastRow): delete function
3952 (rows): new function (const and non-const versions.)
3953 (insertRow): delete function
3955 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3957 2003-03-29 John Levon <levon@movementarian.org>
3959 * BufferView_pimpl.C: always update scrollbar top
3960 because pasting text when we're anchored could mean we
3961 miss an update altogether
3963 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * text2.C (init): use rowlist_.end() and not 0.
3966 (insertRow): change to take a RowList::iterator as arg, adjust
3968 (insertParagraph): change to take a RowList::iterator as arg,
3970 (redoParagraphs): remove some debug msgs.
3972 * text.C (appendParagraph): change to take a RowList::iterator
3973 arg, adjust for this.
3974 (breakAgain): add an assert
3975 (breakAgainOneRow): ditto
3977 2003-03-29 John Levon <levon@movementarian.org>
3979 * text2.C: do not clear selection after inc/decDepth
3982 2003-03-29 John Levon <levon@movementarian.org>
3985 * buffer.C: fix broken strerrors according to Lars
3987 2003-03-29 John Levon <levon@movementarian.org>
3989 * converters.C: more Alert cleanups
3991 2003-03-29 John Levon <levon@movementarian.org>
3993 * bufferview_funcs.C: remove pointless Alert
3995 * buffer.C: fix confusing error message when
3996 a template is chmoded 000
3998 2003-03-29 John Levon <levon@movementarian.org>
4002 * BufferView_pimpl.C: Alert fixes
4006 * tabular-old.C: remove unused table compat reading
4008 2003-03-29 John Levon <levon@movementarian.org>
4013 * lyx_cb.C: more Alert cleanups
4015 * lyxfunc.C: don't allow chktex if not latex document
4017 2003-03-29 John Levon <levon@movementarian.org>
4021 * buffer.C: warnings pushed down from support/,
4024 2003-03-29 John Levon <levon@movementarian.org>
4026 * lyxfunc.C: safety check for C-r (revert)
4028 2003-03-29 John Levon <levon@movementarian.org>
4031 * bufferlist.C: several UI fixes using Alert::prompt.
4032 Fix the pointless looping quit code. Fix stupid revert
4037 * lyx_cb.C: use Alert::prompt
4039 * lyx_main.C: remove a silly question
4041 * lyxfunc.C: remove a couple of silly questions,
4044 2003-03-28 John Levon <levon@movementarian.org>
4046 * text2.C: fix bug 974 (End on empty par)
4048 2003-03-28 John Levon <levon@movementarian.org>
4050 * BufferView_pimpl.C:
4052 * lfuns.h: remove do-nothing math greek lfuns
4054 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * lyxgluelength.h (isValidGlueLength): add default arg on
4057 parameter 2. Remove default arg from friend in class.
4059 * lyxlength.h (isValidLength): add default arg on parameter 2.
4060 Remove default arg from friend in class.
4062 * text2.C (LyXText): adjust, initialize refresh_row.
4066 (insertParagraph): adjst
4067 (redoParagraphs): adjust
4068 (fullRebreak): adjust
4069 (updateCounters): adjust
4070 (deleteEmptyParagraphMechanism): first attempt at fixing a
4073 * text.C (top_y): adjust
4074 (setHeightOfRow): adjust
4076 (getRowNearY): adjust
4078 * lyxtext.h: include RowList.h
4079 (~LyXText): not needed anymore, deleted.
4080 (firstRow): modify for RowList
4081 (lastRow): new function
4082 Delete firstrow and lastrow class variables, add a Rowlist
4083 rowlist_ class variable.
4085 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4088 * RowList.C (insert): fix case where it == begin().
4090 2003-03-26 Angus Leeming <leeming@lyx.org>
4092 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4093 the thesaurus dialog.
4095 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4099 * RowList.[Ch]: new files
4101 * ParagraphList.C (erase): handle the case where it == begin
4104 2003-03-25 John Levon <levon@movementarian.org>
4108 * aspell.C: add new aspell support
4111 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4114 2003-03-25 Angus Leeming <leeming@lyx.org>
4117 * LyXAction.C (init): new LFUN_INSET_INSERT.
4119 * BufferView_pimpl.C (dispatch): split out part of the
4120 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4122 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4125 2003-03-25 Angus Leeming <leeming@lyx.org>
4127 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4129 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4132 * text3.C: remove useless row->height(0)
4134 2003-03-25 John Levon <levon@movementarian.org>
4138 * text3.C: rename the refreshing stuff to better names
4140 2003-03-24 John Levon <levon@movementarian.org>
4142 * BufferView_pimpl.h:
4143 * BufferView_pimpl.C: update layout choice on a mouse
4146 2003-03-23 John Levon <levon@movementarian.org>
4148 * Makefile.am: fix commandtags.h reference
4150 2003-03-22 John Levon <levon@movementarian.org>
4152 * BufferView_pimpl.C:
4157 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4159 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4162 * text.C: take the rtl methods out of line
4164 2003-03-21 André Pönitz <poenitz@gmx.net>
4166 * metricsinfo.[Ch]: new files containing structures to be passed around
4167 during the two-phase-drawing...
4169 2003-03-21 André Pönitz <poenitz@gmx.net>
4171 * lyxtextclass.C: read 'environment' tag.
4173 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4175 * text2.C (removeRow): fix bug 964
4177 2003-03-20 John Levon <levon@movementarian.org>
4181 * text2.C: paint cleanups. Inset::update() dropped font
4184 2003-03-19 John Levon <levon@movementarian.org>
4186 * lyxfunc.C: only fitcursor/markDirty if available()
4188 2003-03-19 John Levon <levon@movementarian.org>
4190 * commandtags.h: rename to ...
4192 * lfuns.h: ... this, and renumber / cleanup
4194 2003-03-19 John Levon <levon@movementarian.org>
4196 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4197 fit the cursor after an lfun
4201 * BufferView_pimpl.h:
4202 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4204 * LyXAction.C: layout-character should have ReadOnly
4206 * ParagraphParameters.C:
4208 * bufferview_funcs.C:
4215 * undo_funcs.C: changes from above
4217 2003-03-18 John Levon <levon@movementarian.org>
4219 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4220 remove it from update()
4222 * lyxfunc.C: update layout choice after an lfun
4224 * text3.C: remove extra updateLayoutChoice()s
4226 2003-03-18 John Levon <levon@movementarian.org>
4228 * text.C: top_y change means full repaint, fix
4229 a drawing bug with cursor movement
4231 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4235 * text2.C: anchor row on setCursor
4237 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4239 * lyxtext.h: remove almost all mutable keywords
4242 * text3.C: remove const keywords accordingly
4244 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4248 (TeXEnvironment): ditto
4251 2003-03-17 John Levon <levon@movementarian.org>
4253 * text.C (rowBreakPoint): remove attempt to fix displayed
4254 math insets inside a manual label
4256 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * lyxtext.h: remove BufferView* as first arg from almost all class
4260 * other files: adjust.
4262 2003-03-17 John Levon <levon@movementarian.org>
4266 * text2.C: more paint cleanups
4268 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4271 * rowpainter.C: remove "smart" background painting code
4273 2003-03-16 John Levon <levon@movementarian.org>
4278 * text3.C: add helper functions for setting refresh_row/y
4280 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4282 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4283 newline inset which *can* get inserted in the pass_thru layouts.
4284 This is primarily for literate documents.
4286 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4288 * buffer.C: increment LYX_FORMAT to 223
4290 2003-03-14 André Pönitz <poenitz@gmx.net>
4292 * textclass.h: prepare for environment handling, ws changes
4293 * lyxlayout.C: read latexheader and latexfooter tags
4295 2003-03-14 John Levon <levon@movementarian.org>
4297 * text2.C: rewrite ::status() a bit
4299 2003-03-13 John Levon <levon@movementarian.org>
4301 * lyxtext.h: add some docs
4303 2003-03-13 John Levon <levon@movementarian.org>
4308 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4310 2003-03-13 John Levon <levon@movementarian.org>
4312 * text3.C: fix appendix redrawing
4314 2003-03-13 John Levon <levon@movementarian.org>
4316 * text.C (setHeightOfRow):
4318 * rowpainter.C: make appendix mark have the text
4319 "Appendix" so the user knows what it is
4322 * LColor.C: s/appendixline/appendix/ from above
4324 2003-03-13 John Levon <levon@movementarian.org>
4326 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4328 * text.C: fix a getChar(pos) bug properly
4330 2003-03-13 Angus Leeming <leeming@lyx.org>
4333 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4334 Probably only temporary. Let's see how things pan out.
4336 * BufferView.C (unlockInset):
4337 * BufferView_pimpl.C (fitCursor):
4338 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4340 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4341 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4343 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4344 new functions that convert ParagraphParameters to and from a string.
4346 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4347 BufferView::Pimpl's dispatch.
4348 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4350 2003-03-13 André Pönitz <poenitz@gmx.net>
4354 * factory.C: make it aware of InsetEnv
4356 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * text2.C (setCursor): never ask for one past last
4359 (setCursor): add some debugging messages.
4361 * text.C (singleWidth): never ask for one past last
4362 (singleWidth): ditto
4364 (rightMargin): ditto
4365 (rowBreakPoint): ditto
4366 (setHeightOfRow): ditto
4367 (prepareToPrint): ditto
4369 * rowpainter.C (paintBackground): never ask for one past last
4370 (paintText): never ask for one past last
4372 * paragraph_pimpl.C (getChar): make the assert stricter, never
4373 allow the one past last pos to be taken
4375 * paragraph.C (getChar): ws changes only
4377 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4378 (numberOfSeparators): ditto
4379 (numberOfHfills): ditto
4381 2003-03-12 John Levon <levon@movementarian.org>
4387 * paragraph_funcs.C: fix per-buffer authorlists
4389 2003-03-12 John Levon <levon@movementarian.org>
4391 * text.C: fix newline in right address
4393 2003-03-12 Angus Leeming <leeming@lyx.org>
4395 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4396 duplicate those in LyXFunc::dispatch.
4400 * ToolbarDefaults.C:
4401 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4402 Add LFUN_FONTFREE_UPDATE.
4404 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4405 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4407 * bufferview_func.[Ch]: several new functions to facilliate
4408 transfer of data to and from the character dialog.
4410 2003-03-12 John Levon <levon@movementarian.org>
4415 * paragraph_funcs.C:
4416 * paragraph_pimpl.C:
4420 * text3.C: remove META_NEWLINE in favour of an inset
4423 * rowpainter.C: remove paintNewline (done by inset)
4425 2003-03-12 John Levon <levon@movementarian.org>
4427 * paragraph_pimpl.C: complain about bad getChar()s
4428 for a while at least
4430 2003-03-12 John Levon <levon@movementarian.org>
4433 * buffer.C: move paragraph read into a separate function,
4434 a little renaming to reflect that.
4437 * bufferparams.C: remove the author_ids map, not necessary now
4440 * factory.C: moved Buffer::readInset to here
4442 * paragraph_funcs.h:
4443 * paragraph_funcs.C: readParagraph free function moved from
4446 * tabular.C: name change
4448 2003-03-12 John Levon <levon@movementarian.org>
4451 * ParagraphParameters.C: move par params input to
4454 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4455 behave like a normal read from the stream wrt reading
4456 a line vs. a \\token
4458 2003-03-12 John Levon <levon@movementarian.org>
4461 * ParagraphParameters.h:
4462 * ParagraphParameters.C: move output code to a
4465 2003-03-12 John Levon <levon@movementarian.org>
4467 * BufferView.C (insertLyXFile):
4470 * tabular.C: use a parlist iterator for creating the
4473 2003-03-12 John Levon <levon@movementarian.org>
4475 * buffer.C: make current_change static local not
4478 2003-03-12 John Levon <levon@movementarian.org>
4480 * buffer.C: fix insertStringAsLines for change tracking
4482 2003-03-12 John Levon <levon@movementarian.org>
4489 * bufferparams.C: move author list into params. Rename some
4490 functions. Move the header reading into a separate token
4491 loop. Move the header token reading into BufferParams.
4493 2003-03-12 John Levon <levon@movementarian.org>
4495 * changes.C: put debug inside lyxerr.debugging() checks
4497 2003-03-11 André Pönitz <poenitz@gmx.net>
4499 * factory.C: make it aware of InsetHFill
4501 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4503 * buffer.C (latexParagraphs): move function from here...
4504 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4507 2003-03-10 Angus Leeming <leeming@lyx.org>
4509 * LyXAction.C (init): fix bug in poplating array with multiple entries
4510 with the same LFUN (spotted by JMarc).
4512 2003-03-10 John Levon <levon@movementarian.org>
4515 * text2.C: move getColumnNearX() near its
4518 2003-03-10 John Levon <levon@movementarian.org>
4520 * text.C: fix break before a minipage
4522 2003-03-10 John Levon <levon@movementarian.org>
4524 * text.C: fix the last commit
4526 2003-03-09 John Levon <levon@movementarian.org>
4530 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4531 bug 365 (don't break before insets unless needed). Don't
4532 return a value > last under any circumstances.
4534 2003-03-09 Angus Leeming <leeming@lyx.org>
4536 * BufferView_pimpl.C (trackChanges, dispatch): call
4537 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4539 2003-03-09 Angus Leeming <leeming@lyx.org>
4541 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4542 than Dialogs::showAboutlyx().
4544 2003-03-09 Angus Leeming <leeming@lyx.org>
4546 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4547 than Dialogs::showTabularCreate().
4549 2003-03-09 John Levon <levon@movementarian.org>
4553 * text2.C: 3rd arg to nextBreakPoint was always the same.
4556 2003-03-08 John Levon <levon@movementarian.org>
4563 * text2.C: Remove the "main" bit from the "main body"
4566 2003-03-08 John Levon <levon@movementarian.org>
4568 * text.C (leftMargin): The left margin of an empty
4569 manual label paragraph should not include the label width
4572 * text.C (prepareToPrint): don't attempt to measure hfills
4573 for empty manual label paragraphs - the answer should be 0
4575 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * CutAndPaste.C: remove commented code and reindent.
4579 2003-03-08 John Levon <levon@movementarian.org>
4582 * lyxfunc.C: move reloadBuffer()
4585 * BufferView.C: to here
4587 * lyxvc.C: add comment
4590 * vc-backend.C: call bv->reload() to avoid
4591 getStatus() check on MENURELOAD
4593 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4595 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4596 to an old format .dep file.
4598 2003-03-07 Angus Leeming <leeming@lyx.org>
4600 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4601 when the LFUN_MOUSE_RELEASE should have been handled by
4602 inset->localDispatch.
4604 2003-03-07 Angus Leeming <leeming@lyx.org>
4606 * BufferView_pimpl.C (dispatch):
4607 * LyXAction.C (init):
4608 * ToolbarDefaults.C (init):
4610 * lyxfunc.C (getStatus):
4611 remove LFUN_INSET_GRAPHICS.
4613 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4615 2003-03-07 Angus Leeming <leeming@lyx.org>
4618 * LyXAction.C (init):
4619 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4621 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4624 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4626 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4627 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4629 2003-03-07 Angus Leeming <leeming@lyx.org>
4631 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4634 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4636 * ParagraphList.C (front): new function
4639 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4641 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4642 and top_row_offset_. removed var first_y.
4644 * text2.C (LyXText, removeRow):
4646 * BufferView_pimpl.C:
4647 use these methods instead of using first_y
4649 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * text2.C (pasteSelection): adjust for checkPastePossible
4653 * CutAndPaste.C: remove Paragraph * buf and replace with
4654 ParagraphList paragraphs.
4655 (DeleteBuffer): delete
4656 (cutSelection): change the tc type to textclass_type
4657 (copySelection): change the tc type to textclass_type
4658 (copySelection): adjust for ParagraphList
4659 (pasteSelection): change the tc type to textclass_type
4660 (pasteSelection): adjust for Paragraphlist
4661 (nrOfParagraphs): simplify for ParagraphList
4662 (checkPastePossible): simplify for ParagraphList
4663 (checkPastePossible): remove unused arg
4665 * ParagraphList.C (insert): handle the case where there are no
4668 * CutAndPaste.h: make CutAndPaste a namespace.
4670 * text3.C (dispatch): adjust
4672 * text.C (breakParagraph): add a ParagraphList as arg
4674 * paragraph_funcs.C (breakParagraph): change to take a
4675 BufferParams and a ParagraphList as args.
4676 (breakParagraphConservative): ditto
4677 (mergeParagraph): ditto
4678 (TeXDeeper): add a ParagraphList arg
4679 (TeXEnvironment): ditto
4682 * buffer.C (readLyXformat2): adjust
4683 (insertStringAsLines): adjust
4684 (latexParagraphs): adjust
4686 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4687 (cutSelection): adjust
4688 (pasteSelection): adjust
4690 * BufferView_pimpl.C (insertInset): adjust
4692 2003-03-05 Angus Leeming <leeming@lyx.org>
4695 * LyXAction.C (init):
4696 * BufferView_pimpl.C (dispatch):
4697 * lyxfunc.C (getStatus):
4698 remove LFUN_CHILD_INSERT.
4700 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4702 2003-03-05 Angus Leeming <leeming@lyx.org>
4705 * LyXAction.C (init):
4706 * src/factory.C (createInset):
4707 * lyxfunc.C (getStatus):
4708 * text3.C (dispatch):
4709 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4711 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4713 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * ParagraphList.C (insert): handle insert right before end()
4716 (erase): fix cases where it can be first or last paragraph.
4718 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4721 Paragraph::next and Paragraph::previous
4724 * text.C (breakParagraph): adjust
4726 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4727 BufferParams& as arg.
4728 (breakParagraph): use ParagraphList::insert
4729 (breakParagraphConservative): take a Buffer* instead of a
4730 BufferParams& as arg.
4731 (breakParagraphConservative): use ParagraphList::insert.
4733 * buffer.C (insertStringAsLines): un-const it
4734 (insertStringAsLines): adjust
4736 * ParagraphList.C (insert): new function
4738 * CutAndPaste.C (pasteSelection): adjust
4740 * text.C (backspace): adjust
4742 * tabular.C (SetMultiColumn): adjust
4744 * CutAndPaste.C (cutSelection): adjust
4745 (pasteSelection): adjust
4747 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4748 Buffer const * as arg
4750 * ParagraphList.C (erase): new function
4751 * paragraph_funcs.C (mergeParagraph): use it
4752 (mergeParagraph): make it take a Buffer* instead of a
4753 BufferParams* as arg
4755 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4757 (breakParagraphConservative): ditto
4759 * paragraph.h: remove the breakParagraph friend
4761 * paragraph.C (eraseIntern): new function
4762 (setChange): new function
4764 * paragraph_funcs.C (mergeParagraph): make it take a
4765 ParagraphList::iterator instead of a Paragraph *, adjust
4768 * paragraph.h: move an #endif so that the change tracking stuff
4769 also works in the NO_NEXT case.
4771 2003-03-04 Angus Leeming <leeming@lyx.org>
4774 * LyXAction.C: new LFUN_INSET_MODIFY.
4776 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4777 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4779 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * several files: ws changes only
4783 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4784 (TeXEnvironment): ditto
4787 * buffer.C (makeLaTeXFile): adjust
4788 (latexParagraphs): make it take ParagraphList::iterator as args
4790 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * buffer.C (latexParagraphs): adjust
4794 * paragraph.C (TeXOnePar): move function...
4795 (optArgInset): move function...
4796 (TeXEnvironment): move function...
4797 * paragraph_pimpl.C (TeXDeeper): move function...
4798 * paragraph_funcs.C: ...here
4800 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4802 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * buffer.C (readInset): remove compability code for old Figure and
4807 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * buffer.C: ws changes
4812 * BufferView_pimpl.C: ditto
4815 * bufferlist.h: ditto
4819 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4821 * converter.[Ch]: split into itself +
4824 * Makefile.am: += graph.[Ch] + format.[Ch]
4831 * lyxrc.C: added #include "format.h"
4833 2003-02-27 Angus Leeming <leeming@lyx.org>
4835 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4838 * factory.C (createInset): add "label" to the factory.
4840 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4841 string and do no more.
4843 2003-02-27 Angus Leeming <leeming@lyx.org>
4846 * LyXAction.C (init):
4847 * factory.C (createInset):
4848 * BufferView_pimpl.C (dispatch):
4849 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4851 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4853 * lyxfunc.C (dispatch):
4854 * text3.C (dispatch): pass name to params2string.
4856 2003-02-26 Angus Leeming <leeming@lyx.org>
4858 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4860 Rearrange the ~includes. Strip out the unnecessary ones.
4862 * factory.C (createInset): reformat.
4863 create new insets for the various LFUN_XYZ_APPLY lfuns.
4865 2003-02-26 John Levon <levon@movementarian.org>
4868 * lyxrow.C: add isParStart,isParEnd helpers
4870 * paragraph.h: make isInserted/DeletedText take refs
4872 * paragraph_funcs.h:
4873 * paragraph_funcs.C: remove #if 0'd code
4878 * text.C: use lyxrow helpers above.
4879 Move draw and paint routines to RowPainter.
4880 Make several methods use refs not pointers.
4881 Make backgroundColor() const.
4882 Add markChangeInDraw(), isInInset().
4883 Merge changeRegionCase into changeCase.
4884 Make workWidth() shouldn't-happen code into an Assert.
4887 * rowpainter.C: new class for painting a row.
4890 * vspace.C: make inPixels take a ref
4892 2003-02-26 Angus Leeming <leeming@lyx.org>
4894 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4897 2003-02-25 John Levon <levon@movementarian.org>
4899 * ispell.C: give the forked command a more accurate name
4901 2003-02-22 John Levon <levon@movementarian.org>
4904 * toc.C: make TocItem store an id not a Paragraph *
4907 2003-02-21 Angus Leeming <leeming@lyx.org>
4909 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4910 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4911 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4912 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4913 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4914 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4916 * BufferView_pimpl.C (dispatch):
4917 * LyXAction.C (init):
4918 * factory.C (createInset):
4919 * lyxfunc.C (getStatus, dispatch):
4920 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4922 2003-02-21 Angus Leeming <leeming@lyx.org>
4924 * BufferView_pimpl.C (MenuInsertLyXFile):
4925 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4926 * lyxfunc.C (menuNew, open, doImport):
4927 no longer pass a LyXView & to fileDlg.
4929 2003-02-21 Angus Leeming <leeming@lyx.org>
4931 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4932 * LyXAction.C: change, BIBKEY to BIBITEM.
4933 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4934 Change InsetBibKey to InsetBibitem.
4935 Change BIBKEY_CODE to BIBITEM_CODE.
4936 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4937 * factory.C: replace insetbib.h with insetbibitem.h.
4938 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4939 * paragraph.C: replace insetbib.h with insetbibitem.h.
4940 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4941 Change bibkey() to bibitem().
4942 * text.C: remove insetbib.h.
4943 * text2.C: replace insetbib.h with insetbibitem.h.
4944 change bibkey() to bibitem().
4945 * text3.C: remove insetbib.h.
4946 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4948 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4950 * lyxrc.C (output): enclose user email in quotes (in case there are
4953 2003-02-18 John Levon <levon@movementarian.org>
4955 * buffer.h: add std::
4957 2003-02-17 John Levon <levon@movementarian.org>
4963 * pspell.C: reworking. Especially in ispell, a large
4964 number of clean ups and bug fixes.
4966 * lyxfunc.C: fix revert to behave sensibly
4968 2003-02-17 André Pönitz <poenitz@gmx.net>
4971 * commandtags.h: new LFUN_INSERT_BIBKEY
4981 * paragraph_func.C: remove special bibkey handling
4983 2003-02-17 John Levon <levon@movementarian.org>
4985 * text.C (Delete): fix case where delete at the end of
4986 the very first paragraph would not merge the pars
4988 2003-02-17 John Levon <levon@movementarian.org>
4990 * lyxrow.C: fix lastPrintablePos()
4992 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4994 * bufferparams.C (writeLaTeX): add a std:here
4996 * buffer.C: and remove a using directive there
4998 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * buffer.C (makeLaTeXFile): move the code that generates the
5003 * bufferparams.C (writeLaTeX): ... in this new method
5005 * LaTeXFeatures.C (getEncodingSet): make const
5006 (getLanguages): make const
5008 * MenuBackend.C (binding): returns the binding associated to this
5010 (add): sets the status of each item by calling getStatus. Adds
5012 (read): add support for OptSubMenu
5013 (expand): remove extra separator at the end of expanded menu
5015 2003-02-15 John Levon <levon@movementarian.org>
5018 * BufferView_pimpl.C:
5020 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5021 inset code that had no actual effect. Remove unneeded status
5024 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5026 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5029 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5031 * text.C (drawLengthMarker): also draw an arrow marker for
5032 symbolic lengths (medskip...)
5034 2003-02-14 John Levon <levon@movementarian.org>
5037 * tabular.C: better method names
5039 2003-02-14 John Levon <levon@movementarian.org>
5041 * BufferView_pimpl.C:
5046 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5047 it's a more accurate name. Remove some pointless uses.
5049 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5051 * text2.C (LyXText): change order of initilizers to shut off
5054 2003-02-14 John Levon <levon@movementarian.org>
5056 * buffer.C: use ParIterator for getParFromID()
5060 * paragraph_pimpl.h:
5061 * paragraph_pimpl.C: remove unused getParFromID()
5063 2003-02-14 John Levon <levon@movementarian.org>
5065 * buffer.C: remove some very old #if 0'd parse code
5067 2003-02-13 John Levon <levon@movementarian.org>
5071 * text2.C: move hfillExpansion(), numberOfSeparators(),
5072 rowLast(), rowLastPrintable(), numberofHfills(),
5073 numberOfLabelHfills() ...
5076 * lyxrow.C: ... to member functions here.
5081 * text.C: remove LyXText::beginningOfMainBody(), and call
5082 p->beginningOfMainBody() directly. Move the check for
5083 LABEL_MANUAL into the latter.
5090 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5096 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5097 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5099 2003-02-13 John Levon <levon@movementarian.org>
5101 * CutAndPaste.C: remove debug
5103 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5105 * paragraph.C (asString): remove two unused variables
5107 * lyxtextclass.C (readTitleType):
5109 (LyXTextClass): handle new members titletype_ and titlename_
5111 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5113 2003-02-09 John Levon <levon@movementarian.org>
5116 * buffer.C: replace hand-coded list with a map for the dep clean
5118 2003-02-08 John Levon <levon@movementarian.org>
5120 * LaTeX.C: consolidate code into showRunMessage() helper
5122 2003-02-08 John Levon <levon@movementarian.org>
5127 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5128 and pass the size in explicitly
5130 * BufferView_pimpl.h:
5131 * BufferView_pimpl.C:
5133 * BufferView.C: add getCurrentChange()
5135 * BufferView_pimpl.h:
5136 * BufferView_pimpl.C: handle change lfuns
5138 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5139 for changes. Mark pasted paragraphs as new.
5141 * support/lyxtime.h:
5142 * support/lyxtime.C:
5143 * DepTable.C: abstract time_t as lyx::time_type
5146 * LColor.C: add colours for new text, deleted text, changebars
5148 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5149 package use "usenames" option.
5153 * LyXAction.C: add change lfuns
5157 * author.C: author handling
5160 * buffer.C: add a per-buffer author list, with first entry as
5161 current author. Handle new .lyx tokens for change tracking. Output
5162 author list to .lyx file. Output dvipost stuff to .tex preamble.
5163 Bump lyx format to 222.
5166 * bufferlist.C: add setCurrentAuthor() to reset current author details
5170 * bufferparams.C: add param for tracking
5172 * bufferview_funcs.C: output change info in minibuffer
5176 * changes.C: add change-tracking structure
5179 * debug.C: add CHANGES debug flag
5182 * lyxfind.C: add code for finding the next change piece
5185 * lyxrc.C: add user_name and user_email
5188 * lyxrow.C: add a metric for the top of the text line
5191 * text.C: implement accept/rejectChange()
5194 * text.C: paint changebars. Paint new/deleted text in the chosen
5195 colours. Strike through deleted text.
5199 * paragraph_pimpl.h:
5200 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5201 in the current change to the insert functions. Rework erase to
5202 mark text as deleted, adding an eraseIntern() and a range-based
5203 erase(). Implement per-paragraph change lookup and
5206 * paragraph_funcs.C: Fixup paste for change tracking.
5208 * tabular.C: mark added row/columns as new.
5210 * text.C: fix rowLast() to never return -1. Don't allow
5211 spellchecking of deleted text. Track transpose changes. Don't
5212 allow paragraph break or merge where appropriate.
5214 * text2.C: leave cursor at end of selection after a cut.
5216 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5218 * text.C (getLengthMarkerHeight):
5219 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5220 visible on screen too.
5222 2003-02-07 John Levon <levon@movementarian.org>
5224 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5226 2003-02-05 Angus Leeming <leeming@lyx.org>
5228 * lyxserver.C (read_ready): revert my patch of 11 September last year
5229 as it sends PC cpu through the roof. Presumably this means that
5230 the lyxserver will no longer run on an Alpha...
5232 2003-01-30 Angus Leeming <leeming@lyx.org>
5234 * factory.C (createInset): create an InsetCommandParam of type "index"
5235 and use it to 'do the right thing'.
5237 * text2.C (getStringToIndex): ensure that cursor position is always
5238 reset to the reset_cursor position.
5240 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5242 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5245 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5249 * lyxfunc.C: Output messages with identical spelling, punctuation,
5252 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5254 * MenuBackend.C (expandFormats): List only viewable export formats
5257 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5260 * lyxfunc.C (getStatus): Make sure that formats other than
5261 "fax" can also be disabled
5263 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5265 * text3.C (dispatch): put the lfuns that insert insets in 3
5266 groups, and call doInsertInset with appropriate arguments.
5267 (doInsertInset): new function, that creates an inset and inserts
5268 it according to some boolean parameters.
5270 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * buffer.C (readFile): remember to pass on 'par' when calling
5273 readFile recursively.
5275 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5277 * MenuBackend.C (expandFormats): add "..." to import formats.
5279 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5281 * paragraph.C (asString): Remove XForms RTL hacks.
5283 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5284 * buffer.C: fix typo
5286 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * Makefile.am (LIBS): delete var
5289 (lyx_LDADD): add @LIBS@ here instead.
5291 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5293 * Clarify the meaning of "wheel mouse jump"
5295 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5297 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5300 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5302 * importer.C (Loaders): do not preallocate 3 elements in the
5303 vector, since one ends up with 6 elements otherwise
5305 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5307 * DepTable.C (write): write the file name as last element of the
5308 .dep file (because it may contain spaces)
5309 (read): read info in the right order
5311 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5313 * paragraph_pimpl.C (simpleTeXBlanks):
5314 (simpleTeXSpecialChars):
5315 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5317 * tabular.C (latex): add some missing case statements. Reindent.
5319 * MenuBackend.C (expandToc): remove unused variable.
5321 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5330 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5333 2003-01-05 John Levon <levon@movementarian.org>
5336 * BufferView.C: add getEncoding()
5339 * kbsequence.C: do not store last keypress
5342 * lyxfunc.C: store last keypress here instead. Pass encoding
5345 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5347 * lyx_main.C (init): remove annoying error message when following
5348 symbolic links (bug #780)
5350 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5352 * text.C (insertChar):
5353 * lyxrc.C (getDescription): remove extra spaces
5355 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5357 * lyxrc.C (getDescription): remove extra spaces
5359 2002-12-20 John Levon <levon@movementarian.org>
5361 * text3.C: hack fix for page up/down across tall rows
5363 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5365 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5368 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5370 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5371 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5372 thesaurus is not compiled in
5374 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5376 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5378 2002-12-16 Angus Leeming <leeming@lyx.org>
5381 * lyx_main.C (init): remove override_x_deadkeys stuff.
5383 2002-12-12 John Levon <levon@movementarian.org>
5385 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5386 insert. Only remove shift modifier under strict
5389 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * MenuBackend.C (expandToc): fix crash.
5393 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * MenuBackend.C (expandToc): gettext on float names.
5397 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5399 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5400 implement bool empty() [bug 490]
5402 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5406 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5408 * several files: ws changes
5410 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * text2.C (setCounter): clean up a bit, use boost.format.
5413 (updateCounters): initialize par upon declaration.
5415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5416 if the layout exists. We do not just store the layout any more.
5417 (SwitchLayoutsBetweenClasses): use boost.format
5419 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5421 * converter.C (convert): if from and to files are the same, use a
5422 temporary files as intermediary
5424 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5427 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5429 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5431 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5433 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * tabular.C (asciiPrintCell): use string(size, char) instead of
5438 * sgml.C (openTag): fix order of arguments to string constructor
5441 * lyxfunc.C (dispatch): use boost.format
5443 * lots of files: change "c" -> 'c'
5445 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5447 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5449 2002-11-25 Angus Leeming <leeming@lyx.org>
5451 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5453 * lyx_main.C (init): compile fix.
5455 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5457 * lyx_cb.C (start): boost.formatify
5458 do not include <iostream>
5460 * lengthcommon.C: ws only
5462 * boost-inst.C,BoostFormat.h: add more explict instantations
5464 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5466 * lots of files: handle USE_BOOST_FORMAT
5468 2002-11-21 John Levon <levon@movementarian.org>
5470 * pspell.C: fix compile
5472 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5474 * lyxfunc.C (dispatch): use boost::format
5478 * lyxfont.C (stateText): use boost::format
5480 * lyx_main.C (LyX): use boost::format
5482 (queryUserLyXDir): ditto
5485 (typedef boost::function): use the recommened syntax.
5487 * importer.C (Import): use boost::format
5489 * debug.C (showLevel): use boost::format
5491 * converter.C (view): use boost::format
5496 * bufferview_funcs.C (currentState): use boost::format
5498 * bufferlist.C (emergencyWrite): use boost::format
5500 * buffer.C (readLyXformat2): use boost::format
5501 (parseSingleLyXformat2Token): ditto
5503 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5505 * LaTeX.C (run): use boost::format
5507 * Chktex.C (scanLogFile): use boost::format
5509 * BufferView_pimpl.C (savePosition): use boost::format
5510 (restorePosition): ditto
5511 (MenuInsertLyXFile): ditto
5513 * BoostFormat.h: help file for explicit instation.
5515 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5517 * tabular.C (latex): Support for block alignment in fixed width
5520 2002-11-17 John Levon <levon@movementarian.org>
5522 * BufferView_pimpl.C:
5524 * lyxfunc.C: split filedialog into open/save
5526 2002-11-08 Juergen Vigna <jug@sad.it>
5528 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5529 by my last patch (hopefully).
5531 2002-11-08 John Levon <levon@movementarian.org>
5540 * toc.C: ParConstIterator, and use it (from Lars)
5542 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5544 * lyxtextclass.[Ch]: revise and add doxygen comments
5546 2002-11-07 John Levon <levon@movementarian.org>
5548 * text.C: fix progress value for spellchecker
5550 * toc.C: fix navigate menu for insetwrap inside minipage
5552 * paragraph_funcs.C: added FIXME for suspect code
5554 2002-11-07 John Levon <levon@movementarian.org>
5556 * BufferView_pimpl.C: fix redrawing of insets
5559 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5561 * text2.C (updateCounters): fix bug 668
5563 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5565 * text3.C (dispatch): Do not make the buffer dirty when moving the
5568 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * vc-backend.C: STRCONV
5573 * text2.C (setCounter): STRCONV
5575 * paragraph.C (asString): STRCONV
5577 * lyxlength.C (asString): STRCONV
5578 (asLatexString): ditto
5580 * lyxgluelength.C (asString): STRCONV
5581 (asLatexString): ditto
5583 * lyxfunc.C (dispatch): STRCONV
5586 * lyxfont.C (stateText): STRCONV
5588 * importer.C (Import): STRCONV
5590 * counters.C (labelItem): STRCONV
5591 (numberLabel): ditto
5592 (numberLabel): remove unused ostringstream o
5597 * bufferview_funcs.C (currentState): STRCONV
5599 * buffer.C (readFile): STRCONV
5600 (asciiParagraph): ditto
5601 (makeLaTeXFile): ditto
5603 * Spacing.C (writeEnvirBegin): STRCONV
5605 * LaTeXFeatures.C (getLanguages): STRCONV
5606 (getPackages): ditto
5608 (getBabelOptions): ditto
5609 (getTClassPreamble): ditto
5610 (getLyXSGMLEntities): ditto
5611 (getIncludedFiles): ditto
5615 (scanAuxFile): ditto
5618 * LString.h: add the STRCONV macros
5620 * BufferView_pimpl.C (savePosition): STRCONV
5621 (restorePosition): ditto
5622 (MenuInsertLyXFile): ditto
5624 * vc-backend.C (scanMaster): change from submatch[...] to
5627 * funcrequest.C: include config.h
5629 * factory.C: include config.h
5631 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5633 * box.C: include config.h
5635 * LaTeX.C (scanAuxFile): change from submatch[...] to
5639 2002-10-25 Angus Leeming <leeming@lyx.org>
5641 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5643 * ispell.[Ch] (setError): new method.
5644 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5645 Use setError() insetead of goto END.
5647 * lyx_cb.C (AutoSave): move out child process into new class
5650 2002-10-30 John Levon <levon@movementarian.org>
5652 * text3.C: make start appendix undoable
5654 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5656 * lyxlength.C (inPixels): Fix returned value.
5658 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5661 2002-10-24 Angus Leeming <leeming@lyx.org>
5663 * lyxgluelength.h: no need to forward declare BufferParams
5664 or BufferView, so don't.
5666 2002-10-21 John Levon <levon@movementarian.org>
5668 * BufferView.C: menuUndo ->undo, redo
5670 * BufferView.h: document, remove dead, make some methods private
5672 * paragraph_funcs.h:
5673 * paragraph_funcs.C:
5674 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5679 * sgml.C: move sgml open/close tag into sgml.C
5681 * bufferview_funcs.h: unused prototype
5684 * lyxfunc.C: remove unused
5687 * text.C: remove unused
5689 2002-10-21 John Levon <levon@movementarian.org>
5693 * BufferView_pimpl.h:
5694 * BufferView_pimpl.C: fix mouse wheel handling based on
5695 patch from Darren Freeman
5697 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5699 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5701 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5703 * lyxlength.C (inPixels): Fix hanfling of negative length.
5704 Fix LyXLength::MU case.
5706 2002-10-16 John Levon <levon@movementarian.org>
5708 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5710 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5712 * converter.C (view): add support for $$i (file name) and $$p
5713 (file path) for the viewer command. If $$i is not specified, then
5714 it is appended to the command (for compatibility with old syntax)
5716 2002-10-14 Juergen Vigna <jug@sad.it>
5718 * undo_funcs.C (textHandleUndo): alter the order in which the
5719 new undopar is added to the LyXText, as we have to set first
5720 the right prev/next and then add it as otherwise the rebuild of
5721 LyXText is not correct. Also reset the cursor to the right paragraph,
5722 with this IMO we could remove the hack in "redoParagraphs()".
5724 2002-10-09 Angus Leeming <leeming@lyx.org>
5726 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5727 to turn off an optimisation if a new inset is to be inserted.
5729 2002-10-11 André Pönitz <poenitz@gmx.net>
5731 * lyxtext.h: make some functions public to allow access
5732 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5734 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5736 * text3.C (dispatch): when changing layout, avoid an infinite loop
5739 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5741 * lyxrc.C (read): treat a viewer or converter command of "none" as
5744 * MenuBackend.C (expandFormats): for an update, also allow the
5745 formats that are not viewable
5747 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5748 script if it is newer than the lyxrc.defaults in user directory
5750 2002-10-07 André Pönitz <poenitz@gmx.net>
5752 * text.C: Vitaly Lipatov's small i18n fix
5754 2002-09-25 Angus Leeming <leeming@lyx.org>
5756 * ispell.h: doxygen fix.
5758 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5760 * buffer.h (readFile): Add a new argument to the method, to allow
5761 reading of old-format templates.
5763 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5765 * toc.C (getTocList): Get TOC from InsetWrap.
5767 2002-09-16 John Levon <levon@movementarian.org>
5769 * lyxfunc.C: check tabular for cut/copy too
5771 2002-09-12 John Levon <levon@movementarian.org>
5776 * factory.C: add header
5778 * paragraph_funcs.h:
5779 * paragraph_funcs.C: cleanup
5781 2002-09-11 John Levon <levon@movementarian.org>
5783 * PrinterParams.h: odd/even default to true
5785 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5787 * PrinterParams.h: update printer parameters for new xforms dialog
5789 2002-09-11 Angus Leeming <leeming@lyx.org>
5791 * lyxserver.C (read_ready): re-write to make it more transparent
5792 and to make it work in coherent fashion under Tru64 Unix.
5794 2002-09-11 André Pönitz <poenitz@gmx.net>
5798 * text3.C: implement LFUN_WORDSEL
5800 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5802 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5803 make floatlist_ a boost::shared_ptr<FloatList>
5805 * lyxtextclass.C: include FloatList.h
5806 (LyXTextClass): initialize floatlist_
5807 (TextClassTags): add TC_NOFLOAT
5808 (Read): match "nofloat" to TC_NOFLOAT and use it.
5809 (readFloat): modify call to floatlist_
5813 * FloatList.[Ch] (FloatList): remove commented out float
5815 (erase): new function
5817 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5819 * MenuBackend.C (expandToc): fix crash when there is no document
5822 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5824 * many files: Add insetwrap.
5826 2002-09-09 John Levon <levon@movementarian.org>
5828 * text2.C: remove confusing and awkward depth wraparound
5830 2002-09-09 John Levon <levon@movementarian.org>
5832 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5835 * buffer.C: remove getIncludeonlyList()
5838 * lyxfunc.C: remove headers
5840 2002-09-09 Juergen Vigna <jug@sad.it>
5842 * text.C (getColumnNearX): fix form Michael this is most
5843 probably a cut&paste bug.
5845 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5849 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5850 references, ws changes.
5852 * text2.C (init): update counters after init
5853 (insertParagraph): no need to set counter on idividual paragraphs.
5854 (setCounter): access the counters object in the textclass object
5855 on in the buffer object.
5856 (updateCounters): ditto
5858 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5859 shared_ptr<Counters> to avoid loading counters.h in all
5861 (LyXTextClass): initialize ctrs_
5862 (TextClassTags): add TC_COUNTER, and ...
5863 (Read): use it here.
5864 (CounterTags): new tags
5865 (readCounter): new function
5866 (counters): new funtion
5867 (defaultLayoutName): return a const reference
5869 * counters.C (Counters): remove contructor
5870 (newCounter): remove a couple of unneeded statements.
5871 (newCounter): simplify a bit.
5872 (numberLabel): some small formatting changes.
5874 * buffer.[Ch]: remove all traces of counters, move the Counters
5875 object to the LyXTextClass.
5877 2002-09-06 Alain Castera <castera@in2p3.fr>
5879 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5880 package to set the horizontal alignment on fixed width columns.
5883 * lyx_sty.h: added tabularnewline macro def.
5885 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5887 2002-09-06 John Levon <levon@movementarian.org>
5889 * LyXAction.C: tooltips for sub/superscript
5891 * MenuBackend.C: a bit more verbose
5893 * lyxfunc.C: tiny clean
5895 * undo_funcs.C: document undo_frozen
5897 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5899 * counters.C (Counters): add missing algorithm counter.
5901 * text2.C (setCounter): lookup the counter with layouts latexname
5902 instead of by section number.
5903 (setCounter): use a hackish way to lookup the correct enum
5905 a float name->type change
5906 reset enum couners with counter name directly instead of depth value.
5908 * counters.C (Counters): remove the push_backs, change to use the
5909 float type not the float name.
5910 (labelItem): remove unused string, float name->type change
5912 * counters.h: don't include vector, loose the enums and sects vectors
5914 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5916 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5917 (Read): add float->TC_FLOAT to textclassTags
5918 (Read): and handle it in the switch
5919 (readFloat): new function
5921 * FloatList.C (FloatList): comment out the hardcoded float
5924 * lyxlayout.h: ws change.
5926 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5928 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5930 2002-09-03 Angus Leeming <leeming@lyx.org>
5932 * BufferView_pimpl.h: qualified name is not allowed in member
5933 declaration: WorkArea & Pimpl::workarea() const;
5935 * factory.C: added using std::endl directive.
5937 * text3.C: added using std::find and std::vector directives.
5939 2002-08-29 André Pönitz <poenitz@gmx.net>
5942 * text2.C: remove unused member number_of_rows
5945 * BufferView2.C: remove file, move contents to...
5946 * BufferView.C: ... here
5948 * BufferView_pimpl.C:
5949 * factory.C: move more inset creation to factory
5951 * vspace.C: avoid direct usage of LyXText, ws changes
5954 don't provide direct access to WorkArea, use two simple
5955 acessors haveSelction() and workHeight() instead
5958 2002-08-29 John Levon <levon@movementarian.org>
5960 * BufferView_pimpl.C (dispatch): do not continue when
5963 2002-08-28 André Pönitz <poenitz@gmx.net>
5965 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5968 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5970 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5972 * buffer.C: increment LYX_FORMAT to 221
5974 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5975 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5977 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5979 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5981 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5983 * factory.C (createInset): use LyXTextClass::floats
5985 * MenuBackend.C (expandFloatListInsert):
5986 (expandFloatInsert):
5989 * text2.C (setCounter):
5991 * LaTeXFeatures.C (useFloat):
5992 (getFloatDefinitions):
5994 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5996 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5997 floatlist_, with accessor floats().
5999 * FloatList.h: remove global FloatList
6001 2002-08-26 André Pönitz <poenitz@gmx.net>
6003 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6007 * BufferView_pimpl.C:
6008 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6010 2002-08-25 John Levon <levon@movementarian.org>
6012 * LyXAction.C: fix margin note description
6014 2002-08-24 John Levon <levon@movementarian.org>
6018 * bufferview_funcs.C:
6020 * undo_funcs.C: cleanups
6022 * lyxfunc.C: disable CUT/COPY when no selection
6024 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6026 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6027 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6029 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6030 Add backward compatibility to "mono", "gray" and "no".
6032 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6034 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6035 (and file_format >= 200).
6037 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6039 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6041 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6043 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6045 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6047 * BufferView_pimpl.C:
6054 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6055 inset and code to make it work with the paragraph code. The inset
6056 can be anywhere in the paragraph, but will only do the expected
6057 thing in LaTeX if the layout file contains the parameter line
6059 (or more generally, a nonzero value) for that layout.
6061 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * paragraph.h: remove the declaration of undefined counters class
6066 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6068 * text2.C (setCounter): fixed enumeration mis-count as reported by
6069 Dr. Richard Hawkins.
6071 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6073 * paragraph_funcs.h: remove some unneeded includes
6075 * text.C (backspace): pasteParagraph now in global scipe
6077 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6078 (pasteSelection): ditto
6080 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6081 * paragraph_funcs.C (pasteParagraph): ... here
6083 2002-08-20 André Pönitz <poenitz@gmx.net>
6085 * commandtags.h: new LFUNs for swapping/copying table row/colums
6088 * lyxfunc.C: support for new lfuns
6090 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * buffer.[Ch]: remove NO_COMPABILITY stuff
6095 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * boost.C (throw_exception): new file, with helper function for
6098 boost compiled without exceptions.
6103 * ParameterStruct.h:
6104 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6106 * bufferlist.C (emergencyWriteAll): use boost bind
6108 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6110 * text.C: include paragraph_funcs.h
6111 (breakParagraph): breakParagraph is now in global scope
6113 * paragraph_funcs.[Ch]: new files
6115 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6118 * buffer.C: include paragraph_funcs.h
6119 (insertStringAsLines): breakParagraph is now in global scope
6121 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6124 * CutAndPaste.C: include paragraph_funcs.h
6125 (cutSelection): breakParagraphConservative is now in global scope
6126 (pasteSelection): ditto
6128 * buffer.h: declare oprator== and operator!= for
6129 Buffer::inset_iterator
6131 * bufferlist.C (emergencyWrite): don't use fmt(...)
6133 * text3.C: add using std::endl
6135 * BufferView.C (moveCursorUpdate): remove default arg
6137 2002-08-20 André Pönitz <poenitz@gmx.net>
6139 * buffer.[Ch]: move inline functions to .C
6142 * BufferView_pimpl.C:
6144 * buffer.[Ch]: use improved inset_iterator
6147 * paragraph.[Ch]: write one paragraph at a time
6149 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6151 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6152 style if style is not specified.
6154 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6156 * text2.C (setCounter): when searching for right label for a
6157 caption, make sure to recurse to parent insets (so that a caption
6158 in a minipage in a figure float works) (bug #568)
6160 2002-08-20 André Pönitz <poenitz@gmx.net>
6162 * text3.C: new file for LyXText::dispatch() and helpers
6164 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6166 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6168 2002-08-19 André Pönitz <poenitz@gmx.net>
6171 * text.C: new LyXText::dispatch()
6173 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6175 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6177 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6179 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6182 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6184 * Makefile.am: use $(variables) instead of @substitutions@
6186 2002-08-15 André Pönitz <poenitz@gmx.net>
6189 * BufferView_pimpl.C: streamlining mathed <-> outer world
6193 * LyXAction.C: remove unused LFUN_MATH
6195 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6199 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6201 * paragraph.C (Paragraph): reformat a bit
6202 (cutIntoMinibuffer): use builtin InsetList function instad of
6206 * buffer.C: include boost/bind.hpp, add using std::for_each
6207 (writeFileAscii): use ParagraphList iterators
6208 (validate): use for_each for validate traversal of paragraphs
6209 (getBibkeyList): use ParagraphList iterators
6210 (resizeInsets): use for_each to resizeInsetsLyXText for all
6212 (getParFromID): use ParagraphList iterators
6214 * BufferView2.C (lockInset): use paragraph list and iterators
6216 2002-08-14 John Levon <levon@movementarian.org>
6218 * lyxserver.C: remove spurious xforms include
6220 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6222 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6224 2002-08-13 André Pönitz <poenitz@gmx.net>
6227 * lyxfunc.C: further cleaning
6229 2002-08-13 André Pönitz <poenitz@gmx.net>
6231 * funcrequest.h: new constructor
6233 * funcrequest.C: move stuff here from .h
6236 * BufferView_pimpl.C:
6239 * lyxfunc.C: subsequent changes
6241 * lyxfunc.h: new view() member function
6243 * lyxfunc.C: subsequent changes
6245 2002-08-13 Angus Leeming <leeming@lyx.org>
6248 * BufferView_pimpl.C:
6256 changes due to the changed LyXView interface that now returns references
6257 to member variables not pointers.
6259 2002-08-13 Angus Leeming <leeming@lyx.org>
6261 * WordLangTuple (word, lang_code): return references to strings,
6266 * lyxtext.h: forward-declare WordLangTuple.
6271 * text.C: #include "WordLangTuple.h".
6274 * text.C: (selectNextWordToSpellcheck): constify return type.
6276 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6282 * paragraph_pimpl.h:
6285 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6287 Made updateCounter always count from start of buffer, and removed
6288 second argument (par).
6289 Reverted floats number display to '#'. Perhaps I'll try again when the
6290 code base is sanitized a bit.
6292 2002-08-12 Angus Leeming <leeming@lyx.org>
6294 * buffer.[Ch] (getLabelList): constify.
6296 2002-08-07 André Pönitz <poenitz@gmx.net>
6298 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6300 * funcrequest.h: extension to keep mouse (x,y) position
6302 2002-08-12 Juergen Vigna <jug@sad.it>
6304 * BufferView2.C (insertErrors): forbid undo when inserting error
6307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6309 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * ParagraphList.[Ch]: new files
6313 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6315 * BufferView2.C (lockInset): ParagraphList changes
6318 * bufferlist.C: ditto
6322 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6324 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6325 unused class variable counter_,
6327 * paragraph.[Ch] (getFirstCounter): delete unused function
6329 * counters.C: include LAssert.h
6330 (reset): add a new function with no arg, change other version to
6331 not have def. arg and to not allow empty arg.
6333 * text2.C (setCounter): remove empty arg from call to Counters::reset
6335 2002-08-11 John Levon <levon@movementarian.org>
6337 * Makefile.am: add WordLangTuple.h
6339 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6341 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6342 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6344 * insets/insettext.C: InsetList changes
6346 * graphics/GraphicsSupport.C (operator()): InsetList changes
6348 * toc.C (getTocList): InsetList changes
6350 * paragraph_pimpl.[Ch]: InsetList changes
6352 * paragraph.[Ch]: InsetList changes
6354 * buffer.C (inset_iterator): InsetList changes
6355 (setParagraph): ditto
6356 * buffer.h (inset_iterator): ditto
6357 * iterators.C (operator++): ditto
6358 * iterators.h: ditto
6360 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6362 * InsetList.[Ch]: new files, most InsetList handling moved out of
6365 * BufferView2.C (removeAutoInsets): InsetList changes
6367 (ChangeInsets): ditto
6369 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * paragraph_pimpl.h (empty): new function
6373 * paragraph.[Ch] (empty): new function
6375 * other files: use the new Paragraph::empty function
6377 2002-08-09 John Levon <levon@movementarian.org>
6379 * lyxtext.h: remove unused refresh_height
6381 2002-08-09 John Levon <levon@movementarian.org>
6388 * paragraph.C: move sgml char escaping out of paragraph
6391 * paragraph.C: remove id setter
6395 * paragraph_pimpl.C: remove dead tex_code_break_column
6397 * bufferview_funcs.C: small cleanup
6399 * lyxfunc.C: remove dead proto
6401 * lyxtext.h: make some stuff private. Remove some dead stuff.
6403 * lyxgluelength.C: make as[LyX]String() readable
6405 2002-08-08 John Levon <levon@movementarian.org>
6410 * ToolbarDefaults.C:
6413 * toc.C: lyxaction cleanup
6415 2002-08-08 John Levon <levon@movementarian.org>
6417 * BufferView2.C: small cleanup
6420 * lyxfind.C: move unnecessary header into the .C
6422 2002-08-08 John Levon <levon@movementarian.org>
6424 * funcrequest.h: just tedious nonsense
6427 * lyx_main.C: cleanups
6430 * vspace.C: remove dead header lyx_main.h
6432 2002-08-07 Angus Leeming <leeming@lyx.org>
6435 * paragraph_pimpl.h:
6436 Forward declare class Counters in paragraph.h by moving the ctrs member
6437 variable into Paragraph::Pimpl.
6438 (counters): new method, returning a reference to pimpl_->ctrs.
6440 * text2.C: ensuing changes.
6442 2002-08-07 John Levon <levon@movementarian.org>
6444 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6446 * BufferView_pimpl.C: announce X selection on double/triple
6449 * lyx_main.C: use correct bool in batch dispatch
6451 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6453 2002-08-07 André Pönitz <poenitz@gmx.net>
6455 * funcrequest.h: new class to wrap a kb_action and its argument
6458 * BufferView_pimpl[Ch]:
6462 * lyxrc.C: subsequent changes
6465 2002-08-07 John Levon <levon@movementarian.org>
6467 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6468 document options change.
6470 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6475 * makefile.am: move counters functionality over from
6476 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6478 2002-08-06 John Levon <levon@movementarian.org>
6480 * WordLangTuple.h: new file for word + language code tuple
6491 * BufferView2.C: use WordLangTuple
6494 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6496 2002-08-06 John Levon <levon@movementarian.org>
6498 * lyx_main.C: fix cmdline batch handling
6500 2002-08-06 André Pönitz <poenitz@gmx.net>
6502 * lyxrc.C: set default for show_banner to true
6504 2002-08-06 John Levon <levon@movementarian.org>
6506 * pspell.C: fix a crash, and allow new aspell to work
6508 2002-08-06 John Levon <levon@movementarian.org>
6511 * kbmap.C: small cleanup
6514 * vspace.C: add const
6516 2002-08-05 John Levon <levon@movementarian.org>
6518 * LyXAction.C: back to tabular-insert
6520 2002-08-04 John Levon <levon@movementarian.org>
6523 * BufferView.C: cosmetic change
6525 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6535 * BufferView2.C: purge all "Lyx" not "LyX" strings
6538 * lyxcursor.C: attempt to add some documentation
6543 * ToolbarDefaults.C:
6544 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6545 merge with LFUN_TABULAR_INSERT
6552 * pspell.C: split up i/pspell implementations into separate
6553 files, many cleanups
6555 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6557 * text2.C: some cleanup
6559 * lyxfunc.C: don't check for isp_command == "none" any more, it
6560 didn't make any sense
6562 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6567 * makefile.am: move counters functionality over
6568 from text2.C/paragraph.[Ch] to counters.[Ch], and
6570 2002-08-02 John Levon <levon@movementarian.org>
6572 * buffer.C: s/lyxconvert/lyx2lyx/
6574 2002-08-02 Angus Leeming <leeming@lyx.org>
6576 * lyxlex.C: revert John's change as it breaks reading of the user
6579 2002-08-02 Angus Leeming <leeming@lyx.org>
6581 * importer.C (Import):
6582 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6583 changes due to LyXView::view() now returning a boost::shared_ptr.
6585 2002-08-02 John Levon <levon@movementarian.org>
6587 * lyxlex.C: small cleanup
6589 2002-08-02 John Levon <levon@movementarian.org>
6591 * text2.C (status): small cleanup, no logic change
6593 2002-08-01 John Levon <levon@movementarian.org>
6596 * buffer.C (writeFile): don't output alerts, caller
6600 * lyx_cb.C: from above
6602 * lyxfunc.C: allow to open non-existent files
6604 2002-07-31 John Levon <levon@movementarian.org>
6606 * lyxserver.C: don't let incidental errors get
6609 2002-07-30 John Levon <levon@movementarian.org>
6611 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6613 2002-07-30 John Levon <levon@movementarian.org>
6616 * lyxserver.C: remove I/O callback too
6618 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6620 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6623 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * many files: strip,frontStrip -> trim,ltrim,rtrim
6627 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * PrinterParams.h: remove extern containsOnly, and include
6630 support/lstrings.h instead.
6632 * LaTeX.C (scanAuxFile): modify because of strip changes
6634 * buffer.C (makeLaTeXFile): ditto
6635 * bufferparams.C (writeFile): ditt
6636 * lyxfont.C (stateText): ditto
6637 * lyxserver.C (read_ready): ditto
6638 * vc-backend.C (scanMaster): ditto
6640 * BufferView_pimpl.h: ws changes
6642 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6644 2002-07-26 André Pönitz <poenitz@gmx.net>
6646 * kb_sequence.C: remove unnedred usings
6648 2002-07-26 Juergen Vigna <jug@sad.it>
6650 * lyxfind.C (LyXReplace): we have to check better if the returned
6651 text is not of theLockingInset()->getLockingInset().
6653 2002-07-25 Juergen Vigna <jug@sad.it>
6655 * lyxfind.C (LyXReplace): don't replace if we don't get the
6658 * undo_funcs.C (createUndo): remove debugging code.
6660 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6662 * buffer.C (parseSingleLyXformat2Token): Use default placement
6663 when reading old floats.
6665 * FloatList.C (FloatList): Change the default placement of figure
6666 and tables to "tbp".
6668 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6670 * MenuBackend.C: using std::max
6672 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6674 * MenuBackend.C (expandToc):
6675 (expandToc2): code moved from xforms menu frontend. It is now
6676 generic and TOCs are transparent to menu frontends.
6678 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6680 * toc.C (getTocList): protect against buf=0
6682 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6683 Menu as first parameter. Now, this calls itself recursively to
6684 expand a whole tree (this will be useful for TOC handling)
6685 (expandFloatInsert): remove 'wide' version of floats
6687 * MenuBackend.h (submenuname): returns the name of the submenu.
6688 (submenu): returns the submenu itself, provided it has been
6689 created by MenuBackend::expand
6691 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6693 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6694 insets which have noFontChange == true. (bug #172)
6696 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6698 * BufferView_pimpl.C: add connection objects and use them...
6701 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6703 * MenuBackend.C (expandLastfiles):
6706 (expandFloatListInsert):
6707 (expandFloatInsert):
6708 (expand): split expand in parts
6710 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6712 * lyx_gui.C: use lyx_gui::exit()
6714 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6716 * LyXAction.C: show the failing pseudo action
6718 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6720 * buffer.C (readFile): Run the lyxconvert script in order to read
6723 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6727 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6729 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6733 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6735 2002-07-22 Herbert Voss <voss@lyx.org>
6738 * lyxlength.[Ch]: add support for the vertical lengths
6740 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6742 * toc.[Ch]: std:: fixes
6744 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6746 * lyxrc.C: do not include lyx_main.h
6748 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6754 * BufferView2.C: include "lyxlex.h"
6757 * bufferparams.h: do not #include "lyxlex.h"
6759 * lyxtextclasslist.C (Add): remove method
6760 (classlist): renamed to classlist_
6762 * paragraph_pimpl.C:
6766 * bufferview_funcs.C:
6771 * toc.C (getTocList): use BufferParams::getLyXTextClass
6773 * toc.C (getTocList): use InsetFloat::addToToc
6775 * toc.[Ch]: new files, containing helper functions to handle table
6778 * lyxfunc.C (dispatch): no need to remove spaces around command
6780 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6781 first command of the sequence; it is not very clever, but I do not
6782 have a better idea, actually
6784 * LyXAction.C (LookupFunc): make sure to remove space at the
6785 beginning and end of the command
6787 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6789 * MenuBackend.C (getMenubar): new method: return the menubar of
6791 (read): treat differently reading of menu and menubar (in
6792 particular, the menubar has no name now)
6793 (Menu::menubar): remove
6795 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6798 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6800 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6801 a bibitem inset in a RTL paragraph.
6803 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6805 * paragraph_pimpl.C: constify
6807 * BufferView_pimpl.C:
6809 * lyxfunc.C: fix dispatch in a nicer way
6811 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6813 * lyxfunc.C (dispatch):
6814 * BufferView_pimpl.C:
6815 * BufferView_pimpl.h:
6817 * BufferView.h: rename Dispatch() to dispatch()
6819 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6821 * lyxlayout.C (Read): honor DependsOn tag
6823 * lyxlayout.[Ch] (depends_on): new method
6825 * version.C.in: update lyx_docversion
6827 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6829 * paragraph.C (validate): remove from here...
6830 * paragraph_pimpl.C (validate): ... and move here
6831 (isTextAt): make it const
6833 * buffer.C (getLists): ws cleanup
6835 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6837 * language.C (read): Use iso8859-1 encoding in latex_lang
6838 (this prevents LyX from crashing when using iso10646-1 encoding).
6840 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6842 * text2.C (toggleInset): if cursor is inside an inset, close the
6843 inset and leave cursor _after_ it
6845 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6847 * lyxfunc.C: move minibuffer completion handling out of here
6849 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6851 * BufferView_pimpl.C:
6852 * LaTeX.C: fix dispatch calls
6854 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6856 * text.C (drawChars): Fix Arabic text rendering.
6858 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6862 * lyxfunc.C: remove message-push/pop
6866 * lyxfunc.C: rationalise some code by removing verboseDispatch
6867 in favour of a bool argument to dispatch()
6869 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6871 * lyx_main.C (init): make sure to read symlinks as absolute paths
6873 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6876 * lyxfunc.C: no need for commandshortcut to be a member
6878 2002-07-15 André Pönitz <poenitz@gmx.net>
6880 * converter.C: add support for $$s (scripts from lib/scripts dir)
6881 * lyx_main.C: white space
6883 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6887 * lyxrc.C: remove second exit confirmation
6889 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6894 * BufferView_pimpl.h:
6895 * BufferView_pimpl.C:
6896 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6898 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6900 * MenuBackend.C (expand): add numeric shortcuts to document menu
6902 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6904 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6906 * lyxfont.C (setLyXFamily):
6913 * buffer.C (asciiParagraph): use ascii_lowercase
6915 2002-07-15 Mike Fabian <mfabian@suse.de>
6917 * lyxlex_pimpl.C (search_kw):
6918 * lyxlex.C (getLongString):
6919 * converter.h (operator<):
6920 * converter.C (operator<):
6921 * buffer.C (parseSingleLyXformat2Token):
6923 * ToolbarDefaults.C (read):
6924 * MenuBackend.C (checkShortcuts):
6926 * LColor.C (getFromGUIName):
6927 (getFromLyXName): use the compare_ascii_no_case instead of
6928 compare_no_case, because in turkish, 'i' is not the lowercase
6929 version of 'I', and thus turkish locale breaks parsing of tags.
6931 2002-07-16 Angus Leeming <leeming@lyx.org>
6933 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6934 now takes a Buffer const & argument.
6936 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6938 * BufferView.C (resize): check there's a buffer to resize
6940 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6942 * lyxfunc.C: remove dead code
6945 * lyxserver.C: use lyx_guii::set_read_callback
6947 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6949 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6950 an inset in a RTL paragraph.
6952 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6954 * lyxfunc.C: repaint after a font size update
6956 2002-07-15 André Pönitz <poenitz@gmx.net>
6958 * lyxlength.C: inBP should be able to return negative values
6960 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6962 * lyxfunc.C: use lyx_gui::update_fonts()
6964 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6966 * lyxfunc.C: use lyx_gui::update_color()
6968 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6974 * lyxrc.C: remove file->new asks for name option, and let
6975 buffer-new take an argument
6977 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6979 * BufferView_pimpl.C: remove unneeded extra repaint()
6981 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6983 * LyXAction.C: allow command-sequence with NoBuffer
6985 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6987 2002-07-10 Angus Leeming <leeming@lyx.org>
6989 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6991 2002-07-09 Angus Leeming <leeming@lyx.org>
6993 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6995 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6997 * lengthcommon.h: whitespace
6999 * lyxfunc.C: update scrollbar after goto paragraph
7001 * lyxtext.h: factor out page break drawing, and fix it so
7002 page break/added space paints as selected nicely
7004 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7006 * BufferView_pimpl.C: add FIXMEs, clean up a little
7008 2002-07-09 André Pönitz <poenitz@gmx.net>
7010 * lyxfont.[Ch]: support for wasy symbols
7012 2002-07-08 André Pönitz <poenitz@gmx.net>
7014 * BufferView_pimpl.C: apply John's patch for #93.
7016 2002-07-05 Angus Leeming <leeming@lyx.org>
7018 * BufferView_pimpl.C (buffer): generate previews if desired.
7020 * LColor.h: add "preview" to the color enum.
7022 * LColor.C (LColor): add a corresponding entry to the items array.
7024 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7027 2002-07-05 Angus Leeming <leeming@lyx.org>
7029 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7030 The body of the code is now in the method that is passed an ostream &
7031 rather than a file name.
7032 Pass an additional only_preamble parameter, useful for the forthcoming
7035 2002-07-03 André Pönitz <poenitz@gmx.net>
7037 * lyxfunc.C: simplify getStatus() a bit for math stuff
7039 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7041 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7043 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7045 * text.C (changeRegionCase): do not change case of all the
7046 document when region ends at paragraph end (bug #461)
7048 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7050 * paragraph.C (startTeXParParams):
7051 (endTeXParParams): add \protect when necessary
7053 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7055 * BufferView_pimpl.C (workAreaExpose): remove warning
7057 2002-06-27 Angus Leeming <leeming@lyx.org>
7059 * Makefile.am: add lyxlayout_ptr_fwd.h.
7061 2002-06-26 André Pönitz <poenitz@gmx.net>
7063 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7065 2002-06-25 Angus Leeming <leeming@lyx.org>
7067 * lyxfunc.C (dispatch): Comment out the call to
7068 grfx::GCache::changeDisplay. The method no longer exists now that the
7069 pixmap generation part of the graphics loader has been moved into
7072 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * text2.C: layout as layout
7076 * text.C: layout as layout
7078 * tabular.C (OldFormatRead): layout as layout
7080 * paragraph_pimpl.C (TeXDeeper): layout as layout
7081 (realizeFont): layout as layout
7083 * paragraph.C (writeFile): layout as layout
7084 (validate): layout as layout
7085 (getFont): layout as layout
7086 (getLabelFont): layout as layout
7087 (getLayoutFont): layout as layout
7088 (breakParagraph): layout as layout
7089 (stripLeadingSpaces): layout as layout
7090 (getEndLabel): layout as layout
7091 (getMaxDepthAfter): layout as layout
7092 (applyLayout): layout as layout
7093 (TeXOnePar): layout as layout
7094 (simpleTeXOnePar): layout as layout
7095 (TeXEnvironment): layout as layout
7096 (layout): layout as layout
7097 (layout): layout as layout
7099 * lyxtextclass.C (compare_name): new functor to work with
7100 shared_ptr, layout as layout
7101 (Read): layout as layout
7102 (hasLayout): layout as layout
7103 (operator): layout as layout
7104 (delete_layout): layout as layout
7105 (defaultLayout): layout as layout
7107 * lyxlayout_ptr_fwd.h: new file
7109 * lyxlayout.C (Read): layout as layout
7111 * lyx_cb.C (MenuInsertLabel): layout as layout
7113 * bufferlist.C (newFile): layout as layout
7115 * buffer.C (readLyXformat2): layout as layout
7116 (parseSingleLyXformat2Token): layout as layout
7117 (insertStringAsLines): layout as layout
7118 (asciiParagraph): layout as layout
7119 (latexParagraphs): layout as layout
7120 (makeLinuxDocFile): layout as layout
7121 (simpleLinuxDocOnePar): layout as layout
7122 (makeDocBookFile): layout as layout
7123 (simpleDocBookOnePar): layout as layout
7124 (getLists): layout as layout
7126 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7128 * CutAndPaste.C (cutSelection): layout as layout
7129 (pasteSelection): layout as layout
7130 (SwitchLayoutsBetweenClasses): layout as layout
7132 * BufferView_pimpl.C (Dispatch): layout as layout
7133 (smartQuote): layout as layout
7135 * BufferView2.C (unlockInset): layout as layout
7137 2002-06-24 André Pönitz <poenitz@gmx.net>
7139 * lyxfunc.C: fix #487
7141 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7145 * lyxfunc.C: remove display_shortcuts, show_banner
7147 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7149 * Buffer_pimpl.C: oops, update on resize
7151 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7158 * BufferView.C: use repaint()
7160 * BufferView_pimpl.h:
7161 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7162 as it's a clearer description. Remove superfluous
7165 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7167 * text.C: fix bug 488. Not ideal, but getting
7168 getWord() to work properly for the insets that
7169 matter is more difficult ...
7171 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7173 * BufferView_pimpl.C:
7176 * lyxfunc.C: remove the six million index lyxfuncs to just
7177 one, and DTRT (bug 458)
7179 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7183 * BufferView_pimpl.h:
7184 * BufferView_pimpl.C: clean up resize() stuff,
7185 and unnecessary updateScreen()s
7187 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7191 * BufferView_pimpl.h:
7192 * BufferView_pimpl.C:
7195 * minibuffer.C: remove focus management of workarea,
7196 not needed. Use screen's greyOut()
7198 2002-06-17 Herbert Voss <voss@lyx.org>
7200 * converter.C: (convert) do not post a message, when converting
7201 fails, let the calling function decide what to do in this case
7203 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7205 * lyxfunc.C: tidy up a little
7207 2002-06-16 <alstrup@diku.dk>
7209 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7210 Got rid of FORMS_H_LOCATION include. Now we are
7213 2002-06-15 LyX Development team <lyx@rilke>
7215 * buffer.[Ch] (sgmlOpenTag):
7216 (sgmlCloseTag): Added support for avoiding pernicious mixed
7217 content. Return number of lines written.
7220 (makeDocBookFile): Fixed calls to sgml*Tag.
7221 Simple white space clean.
7223 (simpleDocBookOnePar): Simple white space clean.
7225 * tabular.[Ch] (docBook): Renamed to docbook and got another
7226 argument to related with the pernicious mixed content.
7228 (docbookRow): Fixed calls for docbook inset method.
7230 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7232 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7233 so it's X11 independent.
7237 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7239 2002-06-15 Lyx Development team <lyx@electronia>
7241 * intl.h: Renamed getTrans to getTransManager.
7243 2002-06-14 Angus Leeming <leeming@lyx.org>
7245 * Makefile.am: nuke forgotten stl_string_fwd.h.
7247 2002-06-12 Angus Leeming <leeming@lyx.org>
7249 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7251 2002-06-13 Angus Leeming <leeming@lyx.org>
7254 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7256 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7258 * kbmap.C (getiso): add support for cyrillic and greek
7260 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7264 * BufferView_pimpl.h:
7265 * BufferView_pimpl.C: move bogus scrolling logic
7268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7271 * BufferView_pimpl.C: view->resize() change
7273 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7275 * BufferView_pimpl.C: topCursorVisible
7278 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7282 * lyx_gui.C: move to frontends/
7286 * lyx_main.C: changes from above
7288 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7295 * lyx_main.C: minor tidy
7297 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7299 * BufferView_pimpl.h:
7300 * BufferView_pimpl.C:
7302 * BufferView.C: make painter() const,
7305 * BufferView2.C: use screen() accessor
7308 * lyx_main.C: some minor cleanup
7310 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7312 * BufferView_pimpl.h:
7313 * BufferView_pimpl.C: remove enter/leaveView,
7316 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7321 * BufferView_pimpl.h:
7322 * BufferView_pimpl.C: only construct screen once,
7325 * lyxrc.C: remove pointless comment
7327 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7330 * BufferView.C: remove active() and belowMouse()
7332 * BufferView_pimpl.h:
7333 * BufferView_pimpl.C: use workarea() not workarea_,
7334 and make it use a scoped_ptr instead
7336 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7338 * lyx_gui.C: add debug message on BadWindow
7340 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7342 * sp_spell.C: fdopen is not part of the C++ standard.
7344 * paragraph.C (InsetIterator): use >= instead of ==
7346 2002-06-07 Angus Leeming <leeming@lyx.org>
7348 Fixes needed to compile with Compaq cxx 6.5.
7349 * BufferView_pimpl.C:
7356 * lyxtextclasslist.C:
7361 all c-library variables have been moved into namespace std. Wrap
7362 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7367 Add a using std::abs declaration.
7369 * kbmap.h (modifier_pair):
7370 * paragraph.h (InsetTable, InsetList):
7371 * lyxfont.h (FontBits):
7372 type definition made public.
7374 * bufferlist.C (emergencyWriteAll): the compiler complains that
7375 there is more than one possible lyx::class_fun template to choose from.
7376 I re-named the void specialisation as lyx::void_class_fun.
7378 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7380 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7381 the compiler is is unable to find tostr in write_attribute.
7383 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7385 * buffer.C (sgmlError): hide #warning
7387 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7389 * xtl/*: get rid of xtl, which is not in use anyway
7391 * LyXAction.C (init):
7392 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7393 were unimplemented xtl experimentation
7395 2002-06-04 André Pönitz <poenitz@gmx.net>
7397 * lyxfunc.C: disable array operation on simple formulae
7399 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7401 * converter.C: constify a bit
7403 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7405 * lyx_gui.C: check xforms version correctly
7407 2002-04-30 Herbert Voss <voss@lyx.org>
7409 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7412 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7414 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7415 attempt to register it with a VCS)
7417 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7419 * lyx_main.C (init): honor variables LYX_DIR_13x and
7422 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7426 * lyx_main.C: fix a crash on bad command line,
7427 and give a useful exit status on error
7429 * lyxfunc.C (doImport): allow -i lyx to work
7431 2002-03-30 André Pönitz <poenitz@gmx.net>
7433 * lyxfunc.C: mathed font changes
7435 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7450 * trans_mgr.h: srcdocs, and some minor cleanups
7452 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7454 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7455 call getFont all the time)
7457 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7459 * switch from SigC signals to boost::signals
7461 2002-05-29 André Pönitz <poenitz@gmx.net>
7463 * paragraph_pimpl.C (getChar): don't call size() too often...
7465 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7467 * paragraph_pimpl.C (insertChar): do not try to update tables when
7468 appending (pos == size())
7470 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7471 in order to reduce drastically the number of comparisons needed to
7472 parse a large document
7474 2002-05-29 André Pönitz <poenitz@gmx.net>
7480 * textclasslist.[Ch]:
7481 * sp_ispell.h: whitespace change
7483 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7485 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7486 lyxaction directly now.
7488 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7492 * lyxvc.C: remove unused headers
7494 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7501 * undo_funcs.C: some cleanups. Use shared_ptr
7502 and a template for the undo stacks.
7504 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7506 * BufferView_pimpl.h:
7507 * BufferView_pimpl.C:
7514 * text2.C: use key_state/mouse_state
7516 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7518 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7521 * chset.C: change include order
7522 (loadFile): use boost regex and get rid of LRegex and LSubstring
7524 * Makefile.am (BOOST_LIBS): new variable
7527 * LaTeX.C: change include order.
7528 (scanAuxFile): use boost regex and get rid of LRegex and
7532 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7537 * FontInfo.C: moved to frontends/xforms/
7540 * FontLoader.C: moved into frontends for GUIIzation
7545 * lyxfunc.C: changes from above
7547 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7549 * LColor.C: remove spurious X include
7551 * BufferView_pimpl.C:
7556 * text2.C: move font metrics to frontends/
7558 2002-05-24 Juergen Vigna <jug@sad.it>
7560 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7561 setting the undo_cursor.
7563 * ParagraphParameters.h: include local includes first.
7565 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7567 * BufferView_pimpl.C:
7568 * BufferView_pimpl.h:
7572 * screen.C: move WorkArea into frontends/
7578 * BufferView2.C: move LyXScreen into frontends/
7582 * lyx_gui.C: move lyxlookup into frontends/xforms/
7584 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7587 * BufferView_pimpl.C:
7597 * bufferview_funcs.C:
7610 * vc-backend.C: move LyX/XFormsView into frontends/
7612 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7624 * text2.C: move Painter to frontends/
7626 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7628 * buffer.C: comment out some some code that depend upon lyx_format
7631 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7632 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7634 * buffer.h (NO_COMPABILITY): turn off compability
7636 * ColorHandler.C: include scoped_array.hpp
7638 * font.C: Use more specific smart_ptr header.
7641 * ShareContainer.h: ditto
7645 * BufferView_pimpl.h: ditto
7646 * ColorHandler.h: ditto
7648 * kbmap.C (defkey): change call to shared_ptr::reset
7650 2002-05-21 Juergen Vigna <jug@sad.it>
7652 * buffer.C (insertErtContents): fix to insert ert asis if it is
7653 non empty. Skip it completely if it contains only whitespaces.
7655 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7657 * BufferView_pimpl.C:
7658 * BufferView2.C: clear selection on paste (bug 393)
7660 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7662 * DepTable.C: include ctime
7664 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7666 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7668 2002-05-14 Juergen Vigna <jug@sad.it>
7670 * text.C (breakParagraph): fixed function to honor the keepempty
7671 layout in the right maner and also to permit the right breaking
7672 algorithm on empty or non empyt keepempty paragraphs.
7674 * paragraph.C (breakParagraph): we have to check also if the par
7675 is really empty (!size()) for isempty otherwise we do the wrong
7678 2002-05-10 Juergen Vigna <jug@sad.it>
7680 * buffer.[Ch] : The following are only changes to the ert
7681 compatibility read reading old LaTeX layout and font stuff and
7682 convert it to ERTInsets.
7684 * buffer.h: added isErtInset().
7686 * buffer.C (struct ErtComp): add a fromlayout bool to check
7687 if we're inside a LaTeX layout.
7688 (isErtInset): new helper function.
7689 (insertErtContents): look for other ert insets before this one
7690 and insert the contents there, so that we don't have subsequent
7691 ERT insets with nothing between them. This way we create only one
7692 inset with multiple paragraphs. Also check if we don't insert only
7693 spaces ' ' as they are ignored anyway afterwards in the .tex file
7694 so if we have only spaces we will ignore this latex part in the
7696 (parseSingleLyXformat2Token \\layout): better compatibility when
7697 reading layout-latex stuff.
7698 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7700 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7701 stuff after reading the inset only get the information back from
7704 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7706 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7708 * LaTeXFeatures.C (getBabelOptions): New method.
7710 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7712 * BufferView_pimpl.C (Dispatch): work around missing argument for
7715 2002-05-08 Juergen Vigna <jug@sad.it>
7717 * text.C (leftMargin): handle paragraph leftindent.
7719 * paragraph.C (writeFile): write the new \\leftindent tag.
7720 (validate): handle leftindent code.
7721 (TeXEnvironment): handle paragraphleftindent code again.
7723 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7725 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7726 for paragrap_extra indent code and new token \\leftindent.
7727 (latexParagraphs): handle the leftindent as environment.
7729 * ParameterStruct.h: added leftindent support.
7731 * ParagraphParameters.C (leftIndent): added support functions for
7732 the paragraph left indent.
7734 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7737 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7739 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7742 * text.C (computeBidiTables): No bidi in insetERT.
7744 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7747 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7749 * version.C.in: pre 5
7751 2002-05-02 José Matos <jamatos@fep.up.pt>
7752 * buffer.C (makeDocBookFile): white space changes, add newline to
7754 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7756 * tabular.C (docBook): fix typo.
7758 2002-05-03 Juergen Vigna <jug@sad.it>
7760 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7761 change in LyXText as we can not be sure it was not freed.
7762 (drawOneRow): remove unused code.
7764 * text.C (drawInset): redo the calculation of the need_break_row as
7765 it could have a row which was already freed.
7766 (draw): look at the return value of drawInset and return false if
7767 it also returned false.
7768 (paintRowText): look at the return value of draw and return false if
7769 it also returned false.
7771 * lyxtext.h: added bool return type to drawInset() and draw() so that
7772 if we have a change in the row so that the rowbreak has to be redone
7773 we abort drawing as it will be called again.
7775 2002-05-02 Juergen Vigna <jug@sad.it>
7777 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7778 a change in the maintext also if we're inside an inset.
7779 (Dispatch): set the cursor again after a break line and after the
7780 screen has been updated as it could be we're in a different row.
7782 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7783 to set the cursor behind the pargraph with > size().
7784 (setCursor): check also for the same paragraph when checking where
7785 to put the cursor if we have a NFR inset.
7787 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7788 parts of layout read further up as it still was in the wrong
7791 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7793 * screen.C (drawFromTo): change sine fullRebreak always return
7796 * buffer.C (parseSingleLyXformat2Token): reindent some
7798 * BufferView_pimpl.C (update): change since fullRebreak always
7800 (Dispatch): git rid of the last hardcoded "Standard"s.
7802 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7804 * text2.[Ch] (fullRebreak): make it return void now that we always
7807 2002-04-30 Juergen Vigna <jug@sad.it>
7809 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7810 ert compatibility check for "latex" layout.
7812 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7814 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7815 minipages: use col% instead of p%, and also use the current font.
7816 (makeLaTeXFile): Fix use babel condition.
7817 (parseSingleLyXformat2Token): Correct font when reading old floats.
7819 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7821 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7822 inserting list of floats.
7824 2002-04-25 Herbert Voss <voss@lyx.org>
7826 * MenuBackend.C (expand): don't add the graphics extensions to the
7829 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7832 non-existing layout, do not complain if it was the default layout
7833 of the original class (bug #342)
7835 2002-04-24 Juergen Vigna <jug@sad.it>
7837 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7838 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7840 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7842 * buffer.C (getBibkeyList): If using \bibliography, return the
7843 option field with the reference itself. Enables us to provide natbib
7844 support when using \bibliography.
7846 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7848 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7850 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7851 natbib is provided by the LaTeX class.
7853 2002-04-23 Juergen Vigna <jug@sad.it>
7855 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7858 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7860 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7862 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7864 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7865 ensuremath around textordmasculine, textordfeminine and
7868 2002-04-19 Juergen Vigna <jug@sad.it>
7870 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7871 reinitializing the buffer otherwise row-dimensions may be wrong.
7872 (update): reset also the selection cursors if they do exits otherwise
7873 their x/y positions may be wrong.
7875 * text2.C (cursorDown): don't enter the inset if we came from a row
7876 above and are one row over the inset.
7878 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7879 really leaving an inset.
7881 2002-04-18 Juergen Vigna <jug@sad.it>
7883 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7884 of the selected paragraph does not have the selected layout also if
7887 * text2.C (setLayout): fixed bug which did not change last selected
7890 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7891 changed the read and substituted \\end_float with \\end_inset!
7893 * BufferView_pimpl.C (cursorPrevious):
7894 (cursorNext): fixed to make it work with rows heigher than the work
7895 area without moving the cursor only the draw of the row.
7896 (workAreaMotionNotify): fix jumping over high rows.
7898 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7900 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7903 2002-04-16 Juergen Vigna <jug@sad.it>
7905 * text2.C (setCursor): set also the irow().
7906 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7908 (cursorDown): support for locking an inset if the x_fix value goes
7909 inside it. That way I can transverse insets too with cursor up/down.
7911 * lyxrow.h: added irow helper function same as other (i) functions.
7913 * BufferView_pimpl.C (cursorPrevious):
7914 (cursorNext): fixed for insets!
7916 2002-04-15 Juergen Vigna <jug@sad.it>
7918 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7919 position otherwise it is wrong in some cases.
7921 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7922 inside the inset before the call.
7924 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7926 * buffer.[Ch] (getBibkeyList): make it const.
7928 2002-04-12 Juergen Vigna <jug@sad.it>
7930 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7932 * text2.C (getCursorX): new helper function
7933 (setCursor): compute also ix_
7934 (setCursorFromCoordinates): set also ix.
7936 * lyxcursor.h: added ix_ and helper functions.
7938 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7940 * buffer.C (insertStringAsLines): dont break paragraph if the this
7941 paragraph is inside an inset which does not permit it!
7943 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7944 also with no chars on this paragraph.
7945 (paintRowText): only paint stuff if it's inside the workarea!
7947 * paragraph.C (breakParagraph): honor keepempty flag and break the
7948 paragraph always below not above.
7950 * BufferView2.C (unlockInset): update the paragraph layout on inset
7951 unlock as we changed paragraph in such a case.
7953 * lyxfind.C (LyXFind): clear the former selection if not found!
7955 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7956 again called in insertChar().
7958 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7959 an inset which uses the whole row!
7960 (rightMargin): ditto.
7961 (insertChar): force a rebreak if we inserted an inset!
7963 2002-03-28 Herbert Voss <voss@lyx.org>
7965 * lyxlength.[Ch]: add inBP() to get the right PS-point
7966 units (BigPoint). With inPixels we have rounding errors
7968 2002-04-11 Juergen Vigna <jug@sad.it>
7970 * text2.C (setCursorFromCoordinates): set iy to the right value.
7971 (setCursor): add check if row->previous exists!
7973 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7974 an old float_type as this was the case in the old code!
7976 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7978 * BufferView2.C (showLockedInsetCursor): use iy
7979 (fitLockedInsetCursor): ditto
7981 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7982 locked insets as there we have the right value now.
7984 * lyxcursor.C: added iy_ variable and iy functions to set to the
7985 baseline of cursor-y of the locked inset.
7987 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7988 (setCursor): fixed for insets which need a full row.
7990 * text.C (rowLastPrintable): don't ignore the last space when before
7991 an inset which needs a full row.
7992 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7993 as last character of a row when before a inset which needs a full row.
7995 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * version.C.in: update date
7999 * text2.C (fullRebreak): try to always return true and see what
8002 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8004 * MenuBackend.C (expand): use Floating::listName
8006 * FloatList.C (FloatList): add listName argument to the built-in
8009 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8010 text associated with the float.
8012 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8014 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8016 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8018 * ShareContainer.h: add a couple of missing typenames.
8020 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8022 * lyxrc.C (getDescription): use _() correctly rather than N_().
8024 2002-03-28 Herbert Voss <voss@lyx.org>
8026 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8027 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8029 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8031 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8032 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8034 2002-03-29 Juergen Vigna <jug@sad.it>
8036 * lyxfunc.C (dispatch): add a missing fitCursor call.
8038 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8039 it was scrolled by a cursor move, so return the bool status.
8041 * BufferView.C (fitCursor): return the bool flag also to the outside
8042 world as this is needed.
8044 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8046 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8047 call the edit() as it is not needed (and wrong) IMO.
8048 (workAreaButtonPress): set the screen_first variable before evt.
8049 unlock the inset as this may change screen_first and then we have
8050 a wrong y position for the click!
8052 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8054 * MenuBackend.C (expand): another translation that I missed
8056 2002-03-28 Juergen Vigna <jug@sad.it>
8058 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8060 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8062 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8064 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8066 * MenuBackend.C (expand): fix export/view/update when there is no
8069 2002-03-27 Herbert Voss <voss@lyx.org>
8071 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8074 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8076 * bufferview_funcs.C (currentState): only show paragraph number
8077 for is DEVEL_VERSION is set.
8079 * lyxfunc.C (dispatch): put warning in INFO channel
8081 * MenuBackend.C (expand): translate the name of floats
8083 * FloatList.C (FloatList): mark the float names for translation
8085 * converter.C (convert): use LibScriptSearch
8087 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8089 * MenuBackend.C (defaults): fix default menu (we might as well get
8092 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8094 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8097 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8099 * lyxvc.C: reorder includes.
8101 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8103 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8106 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8108 * CutAndPaste.C: change layouts earlier on paste
8109 to avoid crashing when calling getFont()
8111 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8113 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8116 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8118 * WorkArea.C: remove 'Pending' debug message.
8120 * most files: ws cleanup
8122 * buffer.[Ch]: ws changes
8124 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8126 2002-03-21 Juergen Vigna <jug@sad.it>
8128 * tabular.C (SetMultiColumn): collapse also the contents of the
8129 cells and set the last border right. Added a Buffer const * param.
8131 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8133 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8136 2002-03-19 Juergen Vigna <jug@sad.it>
8138 * text2.C (clearSelection): reset also xsel_cache.
8140 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8141 where it needs to be called (John tells us to do so too :)
8142 (selectionLost): reset sel_cache.
8144 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8146 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * text2.C (setCursorIntern): put debuging code in INSETS channel
8150 2002-03-19 André Pönitz <poenitz@gmx.net>
8152 * lyxfunc.C: tiny whitespace change
8154 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8156 * ToolbarDefaults.C (init):
8157 * LyXAction.C (init):
8159 * BufferView_pimpl.C (Dispatch):
8160 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8162 2002-03-19 Allan Rae <rae@lyx.org>
8164 * exporter.C (Export): removeAutoInsets before doing anything else.
8165 While I've just introduced a dependency on BufferView this really is
8166 the best place to clean the buffer otherwise you need to cleanup in
8167 a dozen places before calling export or cleanup in a dozen functions
8170 * converter.C (runLaTeX):
8171 (scanLog): Better handling of removeAutoInsets and screen updates.
8173 * lyxfunc.C (dispatch): small whitespace changes
8175 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8177 * WorkArea.C (C_WorkAreaEvent): return a value.
8178 (event_cb): return 1 if we handled the event, 0 otherwise.
8180 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8182 2002-03-18 Juergen Vigna <jug@sad.it>
8184 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8185 (GetAdditionalWidth): ditto.
8189 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8190 inset if we're there actually (probably not used right now but this
8191 is the direction to go for unifying code).
8192 (paste): disable code to clear the selection.
8194 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8195 inside an InsetText and move the check further up as it is in the
8198 * text2.C (pasteSelection): set a selection over the pasted text.
8200 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8202 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8203 and libgraphics to build on Cygwin.
8205 2002-03-15 Juergen Vigna <jug@sad.it>
8207 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8208 inserting an Inset into the paragraph. I know this is not the best
8209 fix but we already use current_view in CutAndPaste so we will remove
8210 all of it's using at the same time.
8212 * buffer.C (sgmlError): deactivated function till it is rewritten in
8213 the right mode, now it can create problems.
8215 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8216 before accessing it.
8218 2002-03-14 Juergen Vigna <jug@sad.it>
8220 * undo_funcs.C (textHandleUndo): do the right thing when updating
8221 the inset after the undo/redo.
8223 * text2.C (setCursor): just some testcode for #44 not ready yet.
8225 * undo_funcs.C (textHandleUndo): set the next() and previous()
8226 pointers of the paragraph to 0 before deleting otherwise we have
8227 problems with the Paragraph::[destructor].
8229 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8230 on a paragraph insertion.
8232 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8234 * buffer.C (asciiParagraph): use += operator for char append to
8237 * paragraph.C (getFontSettings): compare >= not just >
8238 (highestFontInRange): ditto
8241 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8243 * paragraph.C: change several algorithm to be more appripriate for
8244 the problem domain. This is lookip in FontList and in the InsetList.
8246 2002-03-13 André Pönitz <poenitz@gmx.net>
8249 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8251 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8256 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8258 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8260 * Painter.C (display): anon helper function, adjust code for this
8262 (pixmap): remove function.
8264 * Painter.h: remove private display variable.
8266 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8268 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8270 * WorkArea.[Ch]: remove figinset_canvas cruft.
8272 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8274 * lyxtextclass.C (operator): add one item cache optimization.
8276 * bufferlist.h: doxy changes
8278 * bufferlist.C: ws changes
8280 * DepTable.[Ch] (ext_exist): place const in the right spot.
8282 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8284 (workAreaExpose): call resizeInsets when the with BufferView changes.
8285 (Dispatch): adjust for protectedBlank removal
8286 (specialChar): call updateInset if the insert went ok.
8288 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8289 specialChar instead.
8291 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8293 * BufferView.h: doxy change
8295 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8297 * lyxtextclass.C (operator[]): remove non-const version
8298 (defaultLayout): remove non-const version
8300 2002-03-12 Juergen Vigna <jug@sad.it>
8302 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8303 did resize the LyXText too.
8305 * buffer.C (readLyXformat2): set layout information on newly allocated
8308 * tabular.C (OldFormatRead): set layout information on the paragraph.
8310 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8312 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8314 2002-03-11 Juergen Vigna <jug@sad.it>
8316 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8318 (resizeCurrentBuffer): force also the insets to resize themselfes.
8319 (moveCursorUpdate): fixed up for InsetText.
8321 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8324 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8325 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8326 value of Dialogs::tooltipsEnabled().
8327 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8329 2002-03-08 Juergen Vigna <jug@sad.it>
8331 * BufferView_pimpl.C (updateInset): update inset inside inset also
8332 if it isn't inside theLockingInset().
8334 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * buffer.C (asciiParagraph): redo some of the word and line length
8338 (getLists): look for Caption instead of caption.
8340 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8342 * buffer.C (Buffer): initialize niceFile to true
8345 (makeDocBookFile): make sure niceFile is true on exit
8347 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8349 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8351 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8353 * LyXSendto.C: remove.
8354 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8355 * lyx_gui.C: remove now-redundant comment.
8356 * ColorHandler.h: remove forward declaration of class WorkArea.
8357 * lyxfunc.C: remove #include "WorkArea.h".
8359 2002-03-07 Juergen Vigna <jug@sad.it>
8361 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8362 got moved away with the DEPM and also set the inset_owner always
8363 right which before could have been omitted.
8365 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8367 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8368 wanted layout is not found.
8370 2002-03-07 Juergen Vigna <jug@sad.it>
8372 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8374 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8376 * paragraph.C (breakParagraph): use default layout not layout of
8378 (Paragraph): clear ParagraphParameters.
8380 2002-03-06 Juergen Vigna <jug@sad.it>
8382 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8383 otherwise it would not be a valid lenght. Fixed a special case in
8384 the minipage compatibility read where we end the document with a
8387 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8388 was set as it could be 0 for InsetTexts first entry.
8390 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8392 * paragraph.C (writeFile): if layout is empty write out
8393 defaultLayoutName().
8395 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8396 file without named layout we set layout to defaultLayoutName().
8398 2002-03-06 Juergen Vigna <jug@sad.it>
8400 * CutAndPaste.C (copySelection): set layout for new paragraph.
8402 * text.C (prepareToPrint): leave ERT inset left aligned
8403 (leftMargin): don't indent paragraphs inside ERT insets
8405 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8407 * paragraph.C (breakParagraph): dont call clear do the work manually
8409 * paragraph.[Ch] (clear): remove function
8411 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8413 * paragraph.C (Paragraph): dont call clear, the work has already
8416 * lyxtextclass.C (operator): assert if n is empty
8418 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8419 work manually instead.
8421 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8423 * BufferView_pimpl.C: protect selectionLost against text == 0
8425 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8427 * text.C (breakParagraph): fix a setting layout to '0' problem.
8429 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8431 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8432 final location of file, for the included files, and graphics.
8434 2002-03-05 Juergen Vigna <jug@sad.it>
8436 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8438 2002-03-04 Juergen Vigna <jug@sad.it>
8440 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8442 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8443 last column of multicolumn cells.
8444 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8446 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8448 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8449 file if it doesn't go to a temporary file.
8451 * buffer.C (sgmlOpenTag):
8452 (sgmlCloseTag): remove extra newline insertion.
8454 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8456 * text.C (getRowNearY): comment out debug msg
8458 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8460 * text2.C: first -> first_y
8462 * text.C (getRowNearY): add some attemts at a possible
8463 optimization, not working.
8465 * tabular.[Ch]: add BufferParams to several function so that newly
8466 created paragraph can be initialized to he default layotu for the
8469 * tabular-old.C (ReadOld): add buf->params to call of Init
8471 * screen.C: rename text->first to text->first_y
8473 * paragraph.C (breakParagraph): always set layout in the broken
8476 * lyxtextclass.C (Read): remove lowercase
8479 (delete_layout): ditto
8481 * lyxtext.h: rename first -> first_y
8483 * lyxlayout.C (Read): remove lowercase
8486 (obsoleted_by): ditto
8488 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8490 * buffer.C (insertErtContents): add params are to InsetERT
8491 (parseSingleLyXformat2Token): add code to check if a paragraphs
8492 layout really exist.
8493 (parseSingleLyXformat2Token): add params to several inset
8495 (asciiParagraph): remove lowercase, do the layout comparisons with
8498 * BufferView_pimpl.C (cursorNext): first -> first_y
8499 (resizeCurrentBuffer): first -> first_y
8500 (updateScrollbar): first -> first_y
8501 (scrollCB): first -> first_y
8502 (workAreaMotionNotify): first -> first_y
8503 (workAreaButtonPress): first -> first_y
8504 (checkInsetHit): first -> first_y
8505 (cursorPrevious): first -> first_y
8506 (cursorNext): first -> first_y
8507 (Dispatch): add buffer_->params to severl inset contructors
8509 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8511 * lyxlayout.C (Read): remove some debug info that I forgot.
8513 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8514 clean up the code slightly.
8515 (makeLinuxDocFile): ditto
8516 (makeDocBookFile): ditto
8518 * text2.C: layout as string
8520 * text.C: layout as string
8522 * paragraph_pimpl.C: layout as string
8524 * paragraph.[Ch]: layout as string
8526 * lyxtextclasslist.[Ch]: layout as string
8528 * lyxtextclass.[Ch]: layout as string
8530 * lyxtext.h: layout as string
8532 * lyxlayout.[Ch]: layout as string
8534 * lyx_cb.C: layout as string
8536 * bufferview_funcs.C: layout as string
8538 * bufferparams.C: layout as string
8540 * buffer.C: layout as string
8542 * LyXView.[Ch]: layout as string
8544 * LaTeXFeatures.[Ch]: layout as string
8546 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8548 * BufferView_pimpl.C: change current_layout to string, remove
8553 (workAreaButtonRelease): layout as string
8555 * BufferView2.C (unlockInset): adjust
8557 * vspace.C (asLatexCommand): use an explict temp variable.
8559 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8561 * Makefile.am: use FRONTEND_*
8563 2002-03-01 Juergen Vigna <jug@sad.it>
8565 * tabular.C (SetWidthOfMulticolCell): changed to something better
8566 I hope but still work in progress.
8567 (recalculateMulticolumnsOfColumn): renamed function from
8568 recalculateMulticolCells as it is more appropriate now.
8569 (SetWidthOfCell): calculate multicols better.
8571 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8573 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8575 * lyxfunc.C (processKeySym): print sequence also if it is
8576 `deleted' (complete)
8578 * kbsequence.C (print): print sequence even if it is deleted
8579 (complete would be a better word, actually).
8581 * lyxfunc.C (dispatch): print complete options after a prefix key
8583 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8585 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8587 * text2.C (setCharFont): eliminate setCharFont code duplication.
8589 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8591 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8592 LFUN_TABULAR_FEATURE (bug #177)
8594 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8596 * Makefile.am: remove figure.h
8598 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8600 * Bufferview_pimpl.C:
8612 * text2.C: remove #include "lyx_gui_misc.h".
8614 * LaTeX.C: added #include <cstdio>
8616 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8618 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8619 that the paragraph following this one can have.
8621 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8623 * vspace.C (asLatexCommand): fix bogus gcc warning
8625 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8627 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8629 * text2.C (setLayout): get rid of redundant code
8631 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8633 * text2.C (incDepth): make sure depth cannot be increased beyond
8636 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8638 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8639 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8641 * PainterBase.h (image):
8642 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8645 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8649 * BufferView_pimpl.C:
8650 * BufferView_pimpl.h:
8670 * sp_spell.C: remove fig inset, and the crap house of
8671 cards that follows it
8673 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8679 * nt_defines.h: move .h into support/
8681 * vms_defines.h: remove
8683 * WorkArea.C: add space in debug output
8687 * buffer.C: add WITH_WARNINGS
8691 * bufferlist.C: s/retrive/retrieve/, add docs
8702 * lyxgui.C: add ID to X error handler
8704 * lyxtestclass.c: fix typo
8706 2002-02-26 Juergen Vigna <jug@sad.it>
8708 * tabular_funcs.C (write_attribute): changed so that some default
8709 attributes are not written at all.
8710 (getTokenValue): set default values before trying to read the
8711 value so we have the return value always set as default if we don't
8712 find the token we search for.
8714 * tabular.C (Write): write bools as bools not as strings!
8716 2002-02-22 Juergen Vigna <jug@sad.it>
8718 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8719 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8721 * text.C (leftMargin): don't add an indent for paragraphs inside
8722 tabular cells (fix #208).
8724 2002-02-21 José Matos <jamatos@fep.up.pt>
8726 * tabular.C (docBook): fixed support for long tables.
8728 2002-02-20 Juergen Vigna <jug@sad.it>
8730 * text2.C (getFont): get the drawing font of the Inset if this
8731 paragraph is inside an inset (only important for InsetERT for now).
8733 * buffer.C (insertErtContents): use new lanugage params in ERT
8736 * CutAndPaste.C: commenting out seemingly uneeded code.
8738 2002-02-19 Allan Rae <rae@lyx.org>
8740 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8741 Iterators might be simple to use but they also get invalidated.
8742 (removeAutoInsets): renamed saved cursor tracking variables and added
8743 some comments to clarify what everything does.
8745 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8752 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8753 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8756 * vc-backend.h: remove #include "support/syscall.h"
8760 * converter.C: rearrange #includes in Lars' approved fashion.
8762 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8763 forward declare class Timeout in the header file.
8765 * XFormsView.C: changes due to the above.
8767 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8770 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8771 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8773 2002-02-18 José Matos <jamatos@fep.up.pt>
8775 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8778 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8780 * a lot of small ws changes
8781 * add a lot of using std::XXX
8782 * use std construcs some places where approp.
8783 * use some exisint stuff from lyxfunctional where approp.
8784 * Make file changes to use partial linking (lets test this now...)
8786 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8790 remove #include "support/syscontr.h" as it's redundant. Always has been.
8798 change Systemcalls::System to Systemcalls::Wait and
8799 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8800 No change of functionality, just reflects the stripped down Systemcalls
8803 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8805 * debug.[Ch]: add a GRAPHICS type to the enum.
8807 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8809 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8811 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8814 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8817 match the changes below.
8819 * text2.C (toggleInset): if there is not editable inset at cursor
8820 position, try to see if cursor is _inside_ a collapsable inset
8823 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8825 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8826 document menu has a nice checkbox
8828 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8830 * lyxlength.C (asLatexString): change PW to output as percent of
8833 * lengthcommon.C: change '%' to 't%'
8835 * lyxfunc.C (dispatch): a few comments from Martin
8837 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8841 * BufferView_pimpl.h:
8842 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8845 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8847 * vspace.C (inPixels): fix compiler warning
8849 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8851 * lyxfunc.C (getStatus): fix status message for disabled commands.
8853 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8855 * BufferView_pimpl.C: fix crash on close buffer
8856 during selection (#227)
8858 2002-01-27 Herbert Voss <voss@lyx.org>
8860 * buffer.C: link old Figure to new graphic inset
8862 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8864 * FontLoader.C (getFontinfo): Change the latex font names in order
8865 to match the names of type1inst.
8867 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8869 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8871 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8874 (remove_files_with_extension): ditto
8875 (remove_file): ditto
8878 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8879 document is smaller than the work area height. Do not initialize
8880 static variables to 0.
8882 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8886 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8887 LFUN_LAYOUT_PARAGRAPHS.
8889 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8890 tabular. It is possible to provide a possible cell, which will
8891 typically be the actcell from the corresponding insettabular
8893 * lyxfunc.C (getStatus): small cleanup; disable
8894 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8897 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8899 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8901 * paragraph.C (startTeXParParams):
8902 (endTeXParParams): new methods. The LaTeX code to
8903 start/end paragraph formatting
8904 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8905 empty (fixes bug #200)
8907 * vspace.C (inPixels): adapt to the change below
8908 (inPixels): [later] more cleanups (remove unused variables)
8910 * lyxlength.C (inPixels): change to use a width and a height as
8913 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8915 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8916 Replaced with \paperwidth
8918 * DepTable.C (insert): add std:: qualifier
8920 2002-01-18 Allan Rae <rae@lyx.org>
8922 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8925 * text.C (drawInset): Turned out I didn't know enough about how
8926 rebreaking worked. This fixes most of the redraw problems. I see
8927 an occasional cursor trail when a line is broken now and the cursor
8928 placement can seem out by a few pixels also after a rebreak.
8930 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8932 * buffer.C (parseSingleLyXformat2Token): update because minipage
8933 width is now a LyXLength
8935 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8937 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8940 2002-01-17 Juergen Vigna <jug@sad.it>
8942 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8944 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8945 is set correctly and the inset is updated correctly.
8947 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8949 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8950 the beginning of the loop.
8952 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8954 * lyxrc.C: improve help for use_scalable_fonts
8956 2002-01-17 Allan Rae <rae@lyx.org>
8958 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8960 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8962 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8963 make sure to set their inset_owner to the right value (bug #171)
8965 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8968 * DepTable.C: Implement mtime checking to reduce time spent doing
8971 2002-01-16 Juergen Vigna <jug@sad.it>
8973 * tabular.C (GetAdditionalHeight): one of error fixed.
8975 * lyxrc.C (output): small fix in writing use_pspell.
8977 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8979 * sp_base.h: #include LString.h
8981 2002-01-16 Allan Rae <rae@lyx.org>
8983 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8984 Can someone check this please?
8986 * text.C (drawInset): It was possible that p.row would be removed by
8987 breakAgainOneRow upsetting a few other settings. There may be another
8988 small tweak possible by setting need_break_row = 0 when p.row has been
8989 removed but I don't know enough about the logic here.
8991 2002-01-15 Allan Rae <rae@lyx.org>
8993 * text.C (insertChar): removed conditional truism.
8995 * BufferView2.C (removeAutoInsets): More tweaks.
8996 cur_par_prev could be a stray pointer. Check for trailing empty line
8997 in case last line was cur_par and only had an error inset on it.
8999 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9004 * vc-backend.C (most methods):
9005 * exporter.C (Export):
9006 * converter.C (convert):
9008 * LyXSendto.C (SendtoApplyCB):
9009 * lyxfunc.C (dispatch):
9013 * lyx_cb.C (AutoSave):
9015 * BufferView_pimpl.C (MenuInsertLyXFile):
9016 * buffer.C (runChktex): use Buffer::filePath().
9018 * buffer.h: rename filename to filename_; rename filepath to
9019 filepath_ and make it private
9020 (filePath): new method
9022 * buffer.C (writeFile): use fileName()
9025 * lyx_main.C (init): fix starting of LyX when the binary is a
9026 link from so,ewhere else.
9028 * minibuffer.C: include <cctype> for isprint
9030 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9032 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9033 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9034 name clash with InsetCollapsable's width function.
9036 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9038 * lastfiles.C: include <iterator>
9040 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9042 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9045 * buffer.C (makeLaTeXFile): ditto.
9046 Also make loop operation more transparent.
9048 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9050 * ToolbarDefaults.C: remove trailing comma closing namespace.
9052 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9054 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9057 * trans.C (Load): comment out unused variable, allowed.
9059 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9061 * minibuffer.[Ch] (append_char): new method to recieve input from the
9062 drop-down completion browser. If a key was pressed, then recieve this
9063 char and append it to the existing string.
9064 (peek_event): modify the positioning data passed to the completion
9065 browser so that it can be placed above the minibuffer rather than below.
9066 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9068 * LyXAction.C (init): alloe error-next for readonly documents.
9070 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9073 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9075 * bufferlist.C (readFile): create the buffer _after_ checking that
9078 * lyxfunc.C (verboseDispatch): fix handling of arguments
9080 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9082 * lyxrc.C: use string::erase() instead of initializing to "".
9085 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9087 * BufferView_pimpl.h:
9088 * BufferView_pimpl.C:
9091 * text2.C: tell X when we have made a selection for copying
9093 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9095 * BufferView_pimpl.C (MenuInsertLyXFile):
9096 * lyxfunc.C (menuNew):
9098 (doImport): add shortcuts to directory buttons
9100 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9103 * lyxfunc.C (setStatusMessage):
9104 (getStatusMessage): new methods
9105 (getStatus):use setStatusMessage instead of setErrorMessage
9106 (dispatch): when function is disabled, set error message here
9107 [instead of in getStatus previously]
9109 * BufferView_pimpl.C (workAreaButtonRelease): update
9110 toolbar/menubar here too.
9112 2002-01-13 Allan Rae <rae@lyx.org>
9114 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9115 Now seems indestructible. Remaining task is to audit all other
9116 code affected by deleteEmptyParagraphMechanism. One small quirk
9117 left is that an empty document with an error in the preamble can
9118 be made to report an error but no error box appears. I don't know
9120 (removeAutoInsets): Improved comments.
9122 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9125 * Thesaurus.C: update for Aiksaurus 0.14
9127 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9129 * text2.C (firstParagraph): removed member function, all uses
9130 replaces with ownerParagraph
9131 (redoParagraphs): here
9133 (toggleAppendix): here
9134 * BufferView2.C (insertErrors): here
9135 (setCursorFromRow): here
9137 2002-01-13 Allan Rae <rae@lyx.org>
9139 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9140 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9141 There is still a way to segfault this although you may have to do this
9142 multiple times: Have an InsetERT with an unknown command in it.
9143 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9144 <down-arrow>, <Enter> again, View->DVI, BANG!
9146 * text2.C (setCursor):
9147 (deleteEmptyParagraphMechanism):
9148 * lyxtext.h (setCursor):
9149 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9150 Making use of the return value may help fix other bugs.
9152 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9154 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9156 * LyXView.C (updateMenubar): call MenuBar::update here
9157 (updateToolbar): but not here
9158 (showState): do not update toolbar/menubar
9160 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9161 should need to care about that.
9163 * lyxfunc.C (verboseDispatch): simplify a bit
9164 (getStatus): have a version which takes a pseudoaction, and
9165 another which requires a (kb_action,string).
9167 * LyXAction.C (retrieveActionArg): make it work also when action
9168 is not a pseudo-action.
9169 (getActionName): simplify a bit
9172 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9174 * lyxfunc.C (verboseDispatch): new families of methods with
9175 several ways to specify a command and a bool to indicate whether
9176 the command name and shortcut should be displayed in minibuffer
9177 (eventually, we could extend that to a finer bitmask like
9178 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9179 (dispatch): the pristine dispatch command which just, well,
9180 dispatchs! Note it still sets its result to minibuffer; I'm not
9183 * lyxfunc.h: remove setHintMessage
9185 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9187 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9189 * BufferView_pimpl.C (specialChar): delete new inset if we have
9190 not been able to insert it.
9192 * kbmap.C: revert to using int instead of kb_action, since all we
9193 are dealing with is pseudo-actions.
9195 * LyXAction.C (searchActionArg): change to return int instead of
9196 kb_action, since the result is a pseudoaction.
9198 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9200 * buffer.C (insertErtContents): Fix (partially) the font bug.
9202 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9204 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9205 as the other one is broken on my machine!
9207 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9210 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9212 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9214 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9215 reflect their actual use. Provide compatibility code for older lyxrc
9218 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9220 change names of popup font variables in line with the changes to lyxrc.C
9222 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * buffer.C (asciiParagraph): avoid outputing a word twice after
9227 * lyxrc.C (getDescription): document that document_path and
9228 template_path can be empty.
9230 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * LaTeXFeatures.C (getMacros):
9233 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9235 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9237 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9239 (getPackages): rename feature "floats" to "float". Use an array to
9240 iterate over 'simple' features (i.e. just a \usepackage). Add
9241 handling of "amsmath" (renamed from "amsstyle").
9243 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9245 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9248 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9250 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9251 FuncStaus::FuncStatus & FuncStaus::some_method().
9253 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9255 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9256 of the func_satus stuff. Edited and massaged in various ways by
9259 * lyxfunc.C (getStatus): use FuncStatus
9261 2002-01-08 Juergen Vigna <jug@sad.it>
9263 * text.C (nextBreakPoint): use function Inset::isChar().
9265 * paragraph.C (TeXOnePar): use function
9266 Inset::forceDefaultParagraphs.
9268 * buffer.C (latexParagraphs): use function
9269 Inset::forceDefaultParagraphs.
9271 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9273 * lyx_gui.C (init): set the style of the menu popups to
9274 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9276 2002-01-07 Juergen Vigna <jug@sad.it>
9278 * text.C (setHeightOfRow): small fix
9279 (prepareToPrint): don't look at alignment if we don't have the place
9282 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9284 * box.C: New file. Move the Box methods and functions out of box.h,
9285 following Lars' suggestion.
9287 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9289 * box.h: #include "support/LOstream.h", needed for inlined function.
9292 * lyxtextclasslist.C: added some using std declarations.
9294 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9296 * box.h: make signed dimensions to allow insets wider than
9297 the screen (bug #162)
9299 * BufferView_pimpl.C: add some insetHit debug
9301 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9303 * vc-backend.C: add FIXME
9305 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9307 * lyxfunc.C (getStatus): enable code for showing math font status
9310 2002-01-07 Juergen Vigna <jug@sad.it>
9312 * text.C (nextBreakPoint): removed debug output not needed anymore.
9314 2002-01-06 Juergen Vigna <jug@sad.it>
9316 * text.C (nextBreakPoint): fixed up this function we had this bug
9317 since ever but now hopefully we break row better.
9318 (insertChar): we have to check if an inset is the next char as it
9319 could now happen that a large inset is causing a break.
9321 2002-01-05 Juergen Vigna <jug@sad.it>
9323 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9324 if it doesn't like to be drawed.
9326 2002-01-04 Juergen Vigna <jug@sad.it>
9328 * BufferView2.C (lockInset): forgot to set a cursor.
9330 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9332 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9337 * form_maths_panel.C:
9338 * form_maths_panel.h:
9339 * form_maths_panel.fd: implemented sub- and super- buttons in math
9342 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9343 (or ^ space) to be used as in TeX (req'd by André).
9345 * lyxfunc.C: Allow ^ and _ again to be used both as
9346 super/subscript (mathed) and as themselves (in text).
9348 2002-01-03 Allan Rae <rae@lyx.org>
9350 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9351 "LyX" or the filename of the current buffer if it has one. This is a
9352 modified form of John Levon's patch.
9354 * XFormsView.C (setWindowTitle): also set icon title.
9356 * LyXView.h (setWindowTitle): signature changed.
9357 * XFormsView.h (setWindowTitle): ditto.
9359 2002-01-02 Juergen Vigna <jug@sad.it>
9361 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9363 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9365 * screen.C (topCursorVisible): introduce a temp var for
9366 text->cursor.row(), handle the case where this row is null. (kindo
9369 * text2.C (setCursor): add a couple of asserts.
9371 * paragraph.h (inset_iterator): add -> operator
9373 * paragraph.[Ch] (autoDeleteInsets): remove member function
9375 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9376 cursor pos correctly and handle inset deletion by itself.
9377 (insertErrors): move iterator declaration out of for expression
9379 * lyxtextclass.C: add <algorithm>
9381 * Makefile.am: added the new files to sources, removed layout.C
9383 * layout.C: removed file
9385 * layout.h: remove LYX_DUMMY_LAYOUT
9387 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9391 * lyxtextclass.[Ch]:
9392 * lyxtextclasslist.[Ch]: new files
9394 * include order changes to a lot of files, also changes because of
9397 2001-12-27 Juergen Vigna <jug@sad.it>
9399 * buffer.C (asciiParagraph): more fixes.
9401 * tabular.C (ascii): make ascii export support export of only the
9402 data separated by a column-delimiter.
9403 (ascii): better support for ascii export.
9405 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9407 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9409 * tabular_funcs.C: use a "using std::getline" instead of the
9410 previous fix from Angus (necessary for cxx + lyxstring)
9412 2001-12-24 Juergen Vigna <jug@sad.it>
9414 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9416 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9417 problems. First check a minipage also if we have some ert-contents
9418 (not only on par->size(), second set the right depth of the paragraph
9419 on the relink to the root-paragraph-list!
9421 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9422 which then did not anymore update the main paragraphs on undo/redo!
9424 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9426 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9427 code. Support all font-changing funcs (even those which are not in
9428 menu currently). Support for reporting font settings in
9429 mathed (disabled until Andre provides a function on mathed's side).
9431 * func_status.h (toggle): small helper function to set toggle
9434 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9436 * tabular_funcs.C: getline -> std::getline
9438 2001-12-21 Juergen Vigna <jug@sad.it>
9440 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9441 accessed and could be 0 (I couldn't generate this but it seems
9444 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9446 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9447 * tabular_funcs.h: here and include iosfwd
9449 2001-12-20 Juergen Vigna <jug@sad.it>
9451 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9452 inside inset but undo_par was.
9454 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9456 * Thesaurus.C: always include <config.h> in sources.
9460 * box.h: do not include <config.h> in header files
9462 * text.C (paintLastRow): remove unused variable
9464 * text.C (transformChar):
9466 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9469 * font.C (width): rewrite to use uppercase() instead of
9472 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9474 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9476 * lyxfind.C: clean up of find failure position change
9478 2001-12-20 Juergen Vigna <jug@sad.it>
9480 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9482 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9483 (TeXRow): added to LaTeX a single tabular row.
9484 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9485 (Latex): simplified and finally good LT-h/f support.
9486 (various_functions): just small adaptions for LT-h/f support.
9488 * tabular_funcs.[hC]: added and moved here all not classfunctions
9491 2001-12-19 Juergen Vigna <jug@sad.it>
9493 * tabular.[Ch]: better support for longtabular options (not finished
9496 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * text.C (paintLastRow): use the label font instead of the font of
9499 the last character to compute the size of *_BOX. This makes more
9500 sense and avoids a crash with empty paragraphs.
9501 Use Painter::rectangle to draw EMPTY_BOX.
9503 2001-12-19 Juergen Vigna <jug@sad.it>
9505 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9506 the paragraphs if the replaced paragraph is not the first one!
9507 Tried to delete not used paragraphs but does not work yet so for
9508 now it's inside #ifdef's and by default off!
9510 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9512 * MenuBackend.C: include "lyx_main.h" instead of declaring
9513 lastfiles (actually was declared as LastFiles* instead of a
9516 2001-12-17 Juergen Vigna <jug@sad.it>
9518 * tabular.C (AppendColumn): applied John's fix
9520 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9524 * BufferView_pimpl.h:
9525 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9528 * box.h: new start of class for above
9530 * lyxfunc.C: ignore space-only minibuffer dispatches.
9531 Show the command name when it doesn't exist
9533 * minibuffer.C: don't add empty lines to the history
9535 * minibuffer.C: add a space on dropdown completion
9537 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9539 * text.C: fix line above/below drawing in insets
9541 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9543 * lyxlength.C (LyXLength): Initialize private variables.
9545 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9547 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9548 when inserting error insets.
9550 2001-12-13 Juergen Vigna <jug@sad.it>
9552 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9553 actually sometimes the before-paragraph.
9554 (setUndo): don't clear the redostack if we're not actually undoing!
9556 2001-12-06 Juergen Vigna <jug@sad.it>
9558 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9559 and fixed redoing of main paragraph, so we can use it now ;)
9561 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9563 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9568 2001-12-13 André Pönitz <poenitz@gmx.net>
9571 * undo_func.C: minor cleanup
9573 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9575 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9576 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9577 font in urw-fonts package which is marked as -urw-fontspecific and
9578 does not work (incidentally, changing the encoding in the
9579 fonts.dir of this package to -adobe-fontspecific fixes the
9582 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9583 is a crash when undoing first paragraph (Juergen, please take a
9584 look). THis does not mean the undo fix is wrong, just that it
9587 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9588 the (Paragraph*) version when needed instead of duplicating the
9591 * text.C (workWidth): use Inset::parOwner to find out where the
9592 inset has been inserted. This is a huge performance gain for large
9593 documents with lots of insets. If Inset::parOwner is not set, fall
9594 back on the brute force method
9596 * paragraph_pimpl.C (insertInset):
9597 * paragraph.C (Paragraph):
9598 (cutIntoMinibuffer): set parOwner of insets when
9599 inserting/removing them
9601 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9603 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9609 * mathed/formulabase.C:
9610 * mathed/math_cursor.[Ch]:
9611 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9614 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9616 * lyxlength.[Ch] (operator!=): new function
9618 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * text.C (workWidth): use Inset::parOwner to find out where the
9621 inset has been inserted. This is a huge performance gain for large
9622 documents with lots of insets. If Inset::parOwner is not set, fall
9623 back on the brute force method
9625 * paragraph_pimpl.C (insertInset):
9626 * paragraph.C (Paragraph):
9627 (cutIntoMinibuffer): set parOwner of insets when
9628 inserting/removing them
9630 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9632 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9634 * tabular-old.C (getTokenValue):
9635 * tabular.C (getTokenValue):
9636 (write_attribute): new versions for LyXLength
9637 (everywhere): adjust the use of widths
9639 * tabular.h: change the type of widths from string to LyXLength
9641 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9643 * paragraph.C: fixed missing line number count when exporting
9644 Environments to LaTeX file
9646 * buffer.C: added informational message for checking line numbers.
9648 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9650 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9651 paragraph, do the 'double space' part, but not the 'empty
9654 * text.C (workWidth): small optimization
9655 (getLengthMarkerHeight): use minimal size for negative lengths.
9657 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9659 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9661 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9663 2001-12-11 André Pönitz <poenitz@gmx.net>
9666 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9668 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9670 * text2.C: keep selection on a setFont()
9672 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9674 * lyx_cb.C: another bv->text misuse, from insert label
9676 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9679 * kbsequence.C: re-instate nmodifier mask
9681 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9683 * lyx_main.h: make lyxGUI private.
9685 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9687 * lyxfind.C: place the cursor correctly on failed search
9689 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9691 * text.C (getLengthMarkerHeight): for small heights, the arrows
9692 are not always on top/bottom of the text
9693 (drawLengthMarker): smaller arrows; take the left margin in
9694 account; draw also vfills.
9696 (paintLastRow): remove special code for vfill and standard spaces,
9697 since everything is handled in drawLengthMarker now.
9699 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9701 * buffer.C (insertErtContents): try to handle font and language
9702 interaction a bit better.g
9704 * ColorHandler.C (updateColor): change the hash to cover the whole
9705 LColor enum, ws cleanup
9706 (getGCLinepars): ditto
9707 (getGCLinepars): only lookup in the linecache once.
9709 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9711 * iterators.C (operator++): Make the iterator more robust
9713 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9715 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9717 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9720 * text.C: better added space drawing
9722 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9725 * BufferView2.C: fix layout combo update on inset unlock
9727 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9729 * Makefile.am: don't compile unused files
9731 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9735 * LyXAction.C: remove old LFUN_LAYOUTNO
9737 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9739 * paragraph_pimpl.h:
9740 * paragraph_pimpl.C: isTextAt() doesn't need font param
9742 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9745 * lyxlex.C: little cleanup
9747 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9749 * BufferView_pimpl.C: fix insertAscii for insets
9751 2001-12-05 Juergen Vigna <jug@sad.it>
9753 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9754 set the right font on the "multi" paragraph paste!
9756 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9762 * lyxlength.C: remove out-commented code.
9778 * vc-backend.C: change "while(" to "while ("
9780 * lyxlength.[Ch]: add zero function to check if length is zero or
9782 * lyxgluelength.C: use it
9784 2001-12-05 Allan Rae <rae@lyx.org>
9786 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9787 Works for 2.95.3, from what I understand of Garst's reports this should
9788 work for other g++ versions. We're screwed if the abs(int) definition
9789 changed between bugfix releases of gcc.
9791 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9793 * text.C: fix chapter label offset !
9795 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9798 * text.C: fix hfill at end of line, clean up
9800 2001-12-04 Juergen Vigna <jug@sad.it>
9802 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9803 that we force an update of the inset and it's owners if neccessary.
9805 2001-12-03 Juergen Vigna <jug@sad.it>
9807 * text.C (rowLast): simplified code
9809 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9811 * lyxfunc.C: fix show options on timeout
9813 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * screen.C (topCursorVisible): scroll half a page when the cursor
9816 reached top of bottom of screen
9818 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9820 * minibuffer.C: deactivate on loss of focus
9822 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9824 * vspace.[Ch] (operator!=): add operator.
9826 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9828 * BufferView_pimpl.C: refuse to open an inset when
9829 there's a selection.
9831 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9833 * BufferView_pimpl.C: allow to click on RHS of full row insets
9835 2001-11-30 Juergen Vigna <jug@sad.it>
9837 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9838 insets for undo reasons.
9840 2001-11-28 André Pönitz <poenitz@gmx.net>
9842 * vspace.[Ch]: cosmetical changes
9844 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9854 * kbsequence.C: part re-write of old kb code
9857 * WorkArea.C: remove Lgb_bug_find_hack
9859 2001-11-30 José Matos <jamatos@fep.up.pt>
9861 * buffer.C (makeDocBookFile): add a comment to point a hack.
9862 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9863 Fixed a double write of labels.
9865 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9868 * LaTeX.h Fixed bug in LaTeX class where it would not
9869 re-run latex if no depfiles were changed, but the .dvi was removed.
9871 2001-11-28 André Pönitz <poenitz@gmx.net>
9873 * all the files from the change on 2001/11/26:
9874 use lyx::layout_type instead of LyXTextClass::size_type
9875 use lyx::textclass_type instead of LyXTextClassList::size_type
9877 2001-11-29 Juergen Vigna <jug@sad.it>
9879 * text.C: added support for paragraph::isFreeSpacing()
9881 * buffer.C: same as above
9883 * paragraph.h: inserted isFreeSpacing() function to enable
9884 FreeSpacing inside InsetERT.
9886 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9887 of the paragraph's in the cut/copy buffer to 0!
9889 * text2.C (removeRow): remove the assert as it can!
9891 * lyxtext.h: added helper function firstRow returning firstrow and
9892 made firstrow private again.
9894 * BufferView2.C (lockInset): don't relock if we're already locked!
9896 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9898 (removeRow): added Assert::(firstrow)
9900 * debug.C: forgot to add INSETTEXT here.
9902 2001-11-28 Juergen Vigna <jug@sad.it>
9904 * sp_spell.C (initialize): changed error text to more general
9905 spellchecker command use (not only ispell!)
9907 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9909 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9911 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9913 * vspace.C: initialise lyxgluelength on failure
9915 2001-11-28 Allan Rae <rae@lyx.org>
9917 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9918 declaration & definition that looks like a function declaration.
9920 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9922 * BufferView2.C (copy):
9923 (copyEnvironment): do not clear the selection when doing a copy.
9925 * text.C (paintFirstRow): compilation fix
9927 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9929 * tabular.C (Latex): correct line count when writing latex.
9931 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9933 * paragraph_pimpl.h:
9934 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9937 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9941 * LColor.C: change vfillline->added_space
9943 * text.C: add markers and text for added space
9945 * vspace.C: fix comment
9947 2001-11-28 André Pönitz <poenitz@gmx.net>
9949 * paragraph.C: whitespace changes
9950 * all the other files from the change on 2001/11/26:
9951 change *::pos_type into lyx::pos_type
9953 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9955 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9956 language of the document when inserting error insets.
9958 2001-11-26 André Pönitz <poenitz@gmx.net>
9960 * BufferView_pimpl.[Ch]:
9968 * paragraph_pimpl.[Ch]:
9971 * text2.C: reduce header dependencies, introduce type for positions
9973 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9975 * <various>: change to use Alert.h
9977 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9979 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9980 when encountering an unknown token.
9981 (readLyXformat2): Show an error message if there were unknown tokens.
9983 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9986 * BufferView_pimpl.C:
9990 * text2.C: use par->isInset()
9992 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9994 * paragraph_pimpl.h:
9995 * paragraph_pimpl.C: cleanup
9997 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * text2.C (removeRow):
10000 * text.C (setHeightOfRow): remove useless (and costly) call to
10003 2001-11-20 Allan Rae <rae@lyx.org>
10005 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10006 Now need Inset*::checkInsertChar() to return true for appropriate
10007 cases so that the characters in the minibuffer will actually be
10010 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * text.C: change the order of the includes.
10013 (workWidth): initialize it at once.
10014 (workWidth): make maxw unsigned
10015 (setHeightOfRow): remove unused variable (inset)
10016 (selectSelectedWord): remove unused variable (inset)
10017 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10019 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10021 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10022 server is not running.
10024 (closeConnection): add debug info when server is disabled.
10026 * ColorHandler.C (getGCForeground): send debug message to GUI
10029 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10031 * kbmap.C (bind): modify because return conventions of
10032 kb_sequence::parse have changed.
10034 * kbsequence.C (parse): only ignore spaces and not any stupid
10035 control character. This avoids tests like s[i] <= ' ', which are
10036 guaranteed to fail with 8bit characters and signed chars.
10037 Change return code to string::npos when there have been no error
10038 (0 was a bad idea when error is at first character)
10040 2001-11-14 José Matos <jamatos@fep.up.pt>
10043 * buffer.C (simpleDocBookOnePar): removed unused argument.
10045 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10047 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10048 insets which are part of a word. Paragraph::isLetter takes care of
10049 that now. Use Paragraph::isInset to identify insets.
10050 (selectSelectedWord): do not test for hyphenation break.
10052 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10053 that protected spaces are considered as spaces.
10055 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10058 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10061 * lyxserver.C: fix it. and small cleanup.
10063 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10065 * BufferView_pimpl.C: use inline helpers
10068 * LaTeXFeatures.C: fix typos
10071 * Spacing.C: move spacing_string into class
10073 * ToolbarDefaults.C: move stuff into namespace anon
10075 * layout.h: update enum
10077 * lyxfunc.C: use better debug
10079 * minibuffer.h: fix typo
10083 * WorkArea.C: add and use Debug::WORKAREA
10087 * text2.C: code re-organisation, inline helpers
10089 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10091 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10092 std::vector.empty().
10094 2001-11-09 Allan Rae <rae@lyx.org>
10096 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10097 '\n's after tables. Tabular and ERT inset work now makes this no
10100 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10103 * minibuffer.C: fix crash, improve drop-down completion
10105 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10108 * lyxserver.C: invalidate fd's when doing endPipe()
10110 2001-11-08 José Matos <jamatos@fep.up.pt>
10112 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10113 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10116 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10118 2001-11-07 José Matos <jamatos@fep.up.pt>
10121 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10124 * buffer.C (sgmlOpenTag):
10125 * buffer.C (sgmlCloseTag): removed debug info.
10127 * buffer.h (sgmlOpenTag):
10128 * buffer.h (sgmlCloseTag): made public.
10130 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10132 * buffer.C (saveParamsAsDefaults):
10133 * lyx_cb.C (MenuLayoutSave): remove
10135 * LyXAction.C (init):
10137 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10139 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10141 * buffer.C (setPaperStuff): removed from here...
10143 * bufferparams.C (setPaperStuff): ... and moved there.
10145 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10149 * XFormsView.C: add support for drop-down completion
10151 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10153 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10156 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10158 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10161 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10163 * lyx_main.C: change ref to known bugs
10165 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10167 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10168 to work around older babel problems.
10170 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10172 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10174 2001-10-24 Juergen Vigna <jug@sad.it>
10176 * tabular-old.C (ReadOld): below variable changes reflected.
10178 * tabular.[Ch]: added ltType struct for longtable header/footer
10179 defines and changed all instances where they are used. Added
10180 future support for double top/bottom rows.
10182 2001-10-24 José Matos <jamatos@fep.up.pt>
10184 * buffer.h (docbookHandleCaption):
10185 * buffer.C (docbookHandleCaption): removed unused function.
10186 (makeDocBookFile): moved docbook supported version to v4.1.
10188 2001-10-24 José Matos <jamatos@fep.up.pt>
10191 * tabular.C (docbookRow): new function to export docbook code of a row.
10192 (DocBook): now honors the longtable flags.
10194 2001-10-23 José Matos <jamatos@fep.up.pt>
10197 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10198 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10200 * buffer.C (makeLinuxDocFile):
10201 (makeDocBookFile): reworked the preamble, more clean, and with
10202 support for lyx defined entities. Changed the document declaration
10203 to be more XML friendly.
10205 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10206 if we need to output XML that should be done with a filter.
10208 2001-10-22 Juergen Vigna <jug@sad.it>
10210 * sp_pspell.h (class PSpell): add alive function needed in the
10211 controller to see if the spellchecker could be started.
10213 2001-10-22 Juergen Vigna <jug@sad.it>
10215 * buffer.C (insertStringAsLines): modify the font for inserting
10216 chars in certain conditions by calling checkInsertChar(font).
10218 2001-10-19 Juergen Vigna <jug@sad.it>
10220 * text.C (workWidth): use getRow instead of wrong algorithm.
10221 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10223 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10228 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10230 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10232 * text.C (workWidth): do not search for the exact row when
10233 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10234 optimization for big documents.
10236 2001-10-18 Juergen Vigna <jug@sad.it>
10238 * text.C (workWidth): new function with added Inset * parameter.
10240 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10242 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10244 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10245 change return type of getColumnNearX.
10248 * text.C (changeRegionCase): use uppercase/lowercase instead of
10251 (rightMargin): simplify code by factoring out the uses of
10256 (appendParagraph): use Paragraph::size_type
10258 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10260 * vspace.C (asLatexString): add a missing break
10262 2001-10-15 Herbert Voss <voss@perce.de>
10264 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10266 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10268 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10271 2001-10-10 André Pönitz <poenitz@gmx.net>
10273 * lyxfunc.C: removed greek_kb_flag.
10275 2001-10-10 Herbert Voss <voss@perce.de>
10277 * lyx_main.C: delete global string help_lyxdir.
10279 2001-10-09 Herbert Voss <voss@perce.de>
10281 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10283 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10285 * lyx_main.C: added global string help_lyxdir.
10287 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10289 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10291 * lyxrc.C (set_font_norm_type): support iso8859-4
10293 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10295 * LaTeX.C (deplog): add another regex for MikTeX
10297 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10299 * lyxrc.C (set_font_norm_type): support iso8859-3
10301 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10303 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10305 * LaTeXFeatures.C: remove special case of french and index
10307 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10308 before \begin{document}). This solves several incompatibilities.
10310 2001-10-03 Garst Reese <reese@isn.net>
10312 * lyx_cb.C: change CheckTex error msg.
10314 2001-10-03 José Matos <jamatos@fep.up.pt>
10316 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10318 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10320 * .cvsignore: update
10322 * lyx_main.C (commandLineVersionInfo): use new style version info.
10324 * buffer.C (writeFile):
10326 (makeLinuxDocFile):
10327 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10329 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10331 * version.h: update to use stuff in version.C
10333 * version.C.in: new file. Contains version information determined
10334 at compile time. This is a merging of version.h and
10337 2001-10-03 Juergen Vigna <jug@sad.it>
10339 * BufferView_pimpl.C (update): don't change "dirty" status in
10342 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10344 * WorkArea.C (c-tor): re-position version string slightly.
10346 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10348 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10349 revert to previous code.
10351 WorkArea.[Ch]: (show, destroySplash): methods removed.
10353 WorkArea.C: rework code so that it's an amalgam of the codes before and
10354 after the splash screen was moved to WorkArea.
10356 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * vspace.C (inPixels):
10362 * buffer.C (insertStringAsLines):
10363 (asciiParagraph): fix types to be large enough
10365 * lyxlex_pimpl.h: change member status from short to int
10367 * layout.h: fix type of endlabeltype
10370 * kbsequence.C (parse): change return type to string::size_type
10372 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10375 * Bullet.C (bulletSize):
10376 (bulletEntry): do not use short ints as parameters
10378 * BufferView2.C (insertLyXFile): change a char to an int.
10380 * WorkArea.C (WorkArea): remove unneeded floats in computation
10382 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10384 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10386 * paragraph.C (asString): Do not ignore newline/hfill chars when
10387 copying to the clipboard.
10389 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10391 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10392 after a multi-line inset.
10394 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10396 * paragraph.C (validate): Set NeedLyXFootnoteCode
10398 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10400 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10401 and decrease-error to decrease.
10403 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10405 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10406 it more readable (should be equivalent)
10408 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10410 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10412 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10414 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10415 of a cursor (row, etc.) after a character has been deleted
10416 (deleteEmptyParagraphMechanism): call the method above on _all_
10417 cursors held by the LyXText when a double space has been
10420 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10422 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10424 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10426 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10427 background. Use greyOut() and the new show() methods to toggle between
10428 the foreground and background. Add code to remove the splash after
10429 its initial showing.
10431 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10432 (create_forms): no longer call Dialogs::showSplash.
10434 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10436 * .cvsignore: add version_info.h
10438 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10440 * version_info.h.in: new file
10442 * Makefile.am: add version_info.h.in
10444 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10445 version_info.h instead of VERSION_INFO
10447 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10449 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10450 The ERT inset now returns string().
10452 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10454 * lyxtext.h, text.C (selectNextWord): renamed as
10455 selectNextWordToSpellcheck.
10457 * text.C (selectNextWordToSpellcheck): Modified to not select
10458 words inside an ERT inset.
10460 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10462 * lyx_cb.C (MenuLayoutSave): change a bit the question
10464 * sp_base.h: include <sys/types.h>
10466 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10468 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10470 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10472 * several files: fix typos in user-visible strings
10474 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10476 * text2.C (pasteSelection): do not set the selection, since it
10477 will be cleared later. Actually, the intent was to fix the way the
10478 selection was set, but I figured rmoving the code was just as good.
10480 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10482 * FontLoader.C (available): Check if font is available without
10485 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10487 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10489 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10491 * lyxrc.[Ch]: added display_graphics variable and associated code.
10493 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10495 * bufferparams.C (hasClassDefaults): new method. Returns true if
10496 the buffer parameters correspond to known class defaults
10498 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10500 * XFormsView.C (show): set minimum size to the main window.
10502 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10504 * text2.C (copySelection):
10506 * lyxfind.C (LyXReplace):
10507 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10508 LyXText::selectionAsString.
10510 * paragraph.C (asString): add "label" argument to the second form
10512 * text2.C (selectionAsString): add "label" argument and pass it to
10513 Paragraph::asString.
10515 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10517 * lyx_main.C (commandLineHelp): remove version information
10519 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10521 * lyx_main.C: add -version commandline option
10523 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10525 * paragraph.h: make the optional constructor arg required instead.
10526 some modifications to other files because of this.
10528 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10530 * lyxserver.C (C_LyXComm_callback): make it static
10532 * lyx_main.C (error_handler): make it static
10534 * lyx_gui.C (LyX_XErrHandler): make it static
10536 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10538 * WorkArea.C: make the extern "C" methods static.
10540 * Makefile.am (lyx_LDADD): simplify
10542 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10544 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10545 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10547 * LyXAction.C (init):
10548 * lyxfunc.C (dispatch): associated code removal.
10550 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * lyxfont.h (isSymbolFont): shut off warning
10554 * text.C (setHeightOfRow):
10555 (getVisibleRow): fix crash with empty paragraphs which have a
10558 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10560 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10563 2001-09-04 José Matos <jamatos@fep.up.pt>
10566 * tabular.C (docbook): rename docBook method to docbook.
10568 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10570 * Makefile.am: add dependencies to main.o.
10572 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10574 * FontLoader.C (available): Return false if !lyxrc.use_gui
10576 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10578 * FontInfo.C (query):
10579 * converter.C (view):
10580 * importer.C (Import):
10581 * exporter.C (Export): Can not -> cannot.
10583 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10585 * BufferView_pimpl.C: allow to create index inset even if
10588 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10590 * buffer.C (getLists): replace boost::tie code with an explicit pair
10591 as boost::tie can break some compilers.
10593 * iterators.h: Added a std:: declaration to the return type of
10596 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10598 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10601 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10603 * iterators.[Ch]: New files. Provide paragraph iterators.
10605 * buffer.C (changeLanguage): Use paragraph iterators.
10606 (isMultiLingual): ditto
10608 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10610 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10612 * FontLoader.C: Support for cmr font.
10614 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10616 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10617 (available): New method.
10619 * FontInfo.C (getFontname): Use scalable fonts even when
10620 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10623 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10625 * converter.C (Formats::view): reverted! Incorrect fix.
10627 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10629 * converter.C (Formats::view): only output the -paper option
10630 if the dvi viewer is xdvi, thereby fixing bug #233429.
10632 2001-08-23 Herbert Voss <voss@perce>
10634 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10636 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10638 * Spacing.h (Spacing): Set space to Default on in the default
10641 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * vc-backend.h (RCS::versionString): add RCS to version
10644 (CVS::versionString): add CVS to version
10646 * vc-backend.C (scanMaster): do not add CVS to version.
10647 (scanMaster): do not add RCS to version
10649 * lyxvc.C (versionString): new method
10651 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10653 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10655 * Spacing.C (set): initialize fval
10657 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10659 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10662 2001-08-16 Juergen Vigna <jug@sad.it>
10664 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10666 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10668 * BufferView_pimpl.C:
10671 * text2.C: setParagraph takes linespacing now
10673 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10675 * LyxAction.C: add internal LFUN_CITATION_INSERT
10677 * LyXView.C: actually apply fix
10679 * bufferlist.C: fix open non-existent file
10681 * lyxfind.C: fix indentation
10683 * lyxfunc.C: remove unneeded assert, fix typo
10685 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10687 * MenuBackend.C: use "Floatname List"
10689 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10691 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10692 when converting LaTeX layout to insetERT.
10693 Generate a non-collapsed float when reading old float
10695 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10697 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10700 2001-08-13 Juergen Vigna <jug@sad.it>
10702 * text.C (fill): return 0 instead of 20 as this seems to be the more
10705 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10707 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10710 2001-08-13 Juergen Vigna <jug@sad.it>
10712 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10714 (SearchBackward): comment out the unlocking of the inset_owner this
10715 should not be needed!
10717 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10719 * Many files: Remove inherit_language, and add latex_language
10721 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10722 collapsible insets.
10724 2001-08-10 Juergen Vigna <jug@sad.it>
10726 * text.C (prepareToPrint): fixed hfill-width in draw!
10728 * BufferView2.C (selectLastWord): save the selection cursor as this
10729 now is cleared in the function LyXText::clearSelection!
10731 2001-08-08 Juergen Vigna <jug@sad.it>
10733 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10734 BACKSPACE type functions.
10736 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10737 is only cutted from the document but not put in the cut-buffer, where
10738 still the old stuff should be.
10740 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10742 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10744 * tabular.C (SetWidthOfCell): fixed special case where the width
10746 (LeftLine): handle '|' in align_special.
10748 (LeftAlreadyDrawed): ditto
10749 (SetWidthOfCell): ditto
10751 2001-08-07 Juergen Vigna <jug@sad.it>
10753 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10755 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10758 * lyxlex.[hC]: ditto
10760 2001-08-06 Juergen Vigna <jug@sad.it>
10762 * text.C (getVisibleRow): fix up row clearing a bit.
10764 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * minibuffer.C: make sure the X server sees the changes in the input.
10768 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10770 * paragraph.C (getFont): split into...
10771 (getLabelFont): this
10772 (getLayoutFont): and this
10773 * paragraph_pimpl.C (realizeFont): calling this
10775 * text2.C (getFont): split into...
10776 (getLayoutFont): this
10777 (getLabelFont): and this
10778 (realizeFont): all three calling this
10780 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10783 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10787 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10789 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10790 layouts from the Quote inset insertion.
10792 2001-08-03 Juergen Vigna <jug@sad.it>
10794 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10796 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10797 only if status not is already CHANGED_IN_DRAW (second level).
10799 * text.C (draw): don't set the need_break_row when inside an
10802 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * buffer.C (parseSingleLyXformat2Token): handle more latex
10807 * bufferview_funcs.[hC]: change function names to
10808 begin with small char, adjust other files.
10810 2001-08-02 André Pönitz <poenitz@gmx.net>
10813 BufferView_pimpl.C: remove broken special code for math-greek
10815 2001-08-02 Juergen Vigna <jug@sad.it>
10817 * BufferView_pimpl.C (update): redone this function so that we
10818 update the text again if there was a CHANGE_IN_DRAW.
10820 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10821 (drawFromTo): added a new internal bool which is used by draw() and
10823 (general): some cursor drawing problems fixed.
10825 2001-08-01 Juergen Vigna <jug@sad.it>
10827 * lyxfind.C (LyXFind): fixed
10828 (SearchForward): ditto
10829 (SearchBackward): ditto
10831 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10832 spurius drawing of the cursor in the main area.
10834 * text2.C (status): small fix which could lead to a segfault!
10835 (clearSelection): remove unneeded BufferView param.
10837 2001-08-01 André Pönitz <poenitz@gmx.net>
10839 * lyxfunc.C: small change due to changed mathed interface
10841 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10843 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10845 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10847 * lyxfunc.c: fail gracefully if file doesn't exist
10852 * BufferView_pimpl.C: IsDirWriteable() proto changed
10854 * LyXView.C: fix updateWindowTitle() to store the last title
10856 2001-07-31 Juergen Vigna <jug@sad.it>
10858 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10859 the font (wrong since using of Paragraph::highestFontInRange).
10861 * paragraph.C (highestFontInRange): added a default_size parameter.
10863 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10864 (setHeightOfRow): reformat
10866 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10868 * converter.[hC] + affected files: move to (inital-char)lowercase
10871 * ParagraphParameters.C (ParagraphParameters): remove commented code
10873 * PainterBase.[Ch]: remove commented code
10875 * LaTeXFeatures.h: add "bool floats" for float.sty
10877 * LaTeXFeatures.C (LaTeXFeatures): init floats
10878 (require): handle float
10879 (getPackages): do it with floats
10881 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10883 * BufferView_pimpl.C (Dispatch): improve handling of
10884 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10886 * commandtags.h: #include lyxfont.h here temporarily to avoid
10889 * bufferlist.h: include LString.h here.
10891 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10893 * text2.C (getStringToIndex): new method.
10895 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10897 * *: Reduced header file dependencies all over.
10899 2001-07-30 Baruch Even <baruch@lyx.org>
10901 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10903 2001-07-29 Baruch Even <baruch@lyx.org>
10905 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10907 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10909 * ParameterStruct.h (endif): add a default constructor to make
10910 sure that all variables is initialized.
10912 * ParagraphParameters.C (ParagraphParameters): adjust
10914 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10916 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10917 index; also, check that there is something to index, and that it
10918 does not span over several paragraphs.
10919 (doubleClick): use WHOLE_WORD_STRICT for double click.
10921 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10923 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10926 2001-07-26 Baruch Even <baruch@lyx.org>
10928 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10929 an InsetFig figure, backwards compatible reading of old figure code.
10931 2001-07-27 Juergen Vigna <jug@sad.it>
10933 * text2.C: font.realize function adaption.
10935 * text.C (draw): add a warnings lyxerr text if needed.
10937 * layout.C: font.realize function adaption.
10939 * language.C: add inherit_language and implement it's handlings
10941 * bufferview_funcs.C (StyleReset): remove language parameter from
10942 font creation (should be language_inherit now).
10944 * bufferparams.C (writeFile): handle ignore_language.
10946 * paragraph.C (getFontSettings): the language has to be resolved
10947 otherwise we have problems in LyXFont!
10949 * lyxfont.C (lyxWriteChanges): added document_language parameter
10950 (update): removed unneeded language parameter
10952 * paragraph.C (validate): fixed wrong output of color-package when
10953 using interface colors for certain fonts in certain environments,
10954 which should not seen as that on the final output.
10956 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10958 * BufferView_pimpl.C:
10963 * LyXAction.C: add thesaurus support
10966 * lyxfind.C: add "once" parameter, for thesaurus, to not
10967 move to the next match
10969 2001-07-26 Juergen Vigna <jug@sad.it>
10971 * lyxfont.C (realize): honor ignore_language too!
10974 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10976 * text.C (draw): one place more for ignore_language to not draw
10979 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10981 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10983 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10985 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10986 the minipage conversion problem.
10988 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10990 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10993 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * BufferView.h: don't forward declare WorkArea
10997 * BufferView.C: don't include WorkArea.h
10999 2001-07-25 André Pönitz <poenitz@gmx.net>
11003 * lyxfunc.C: new LFUN 'math-space'
11005 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11007 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11009 * text2.C (toggleInset): call open/close
11011 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11013 * lyxfunc.C (dispatch): add debug for the disabled case
11015 * font.C (buttonText): make similar to rectText
11017 * buffer.C (readInset): comment out parsing of insetlist and
11020 * PainterBase.C (rectText): small correction
11022 * BufferView_pimpl.C: comment out insettheorem and insetlist
11023 * LyXAction.C: ditto
11024 * commandtags.h: ditto
11026 2001-07-24 Juergen Vigna <jug@sad.it>
11028 * text.C (draw): honor the ignore_language.
11030 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11032 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11034 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11037 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11039 * lyxtext.h: remove unused (and unimplemented) methods
11041 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11043 * text.C (getVisibleRow): honor background color
11046 * Painter.h: remove default color argument for fillRectangle
11048 * text.C (backgroundColor): new method
11050 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11052 * text.C (getVisibleRow): adjust
11054 * font.[Ch] (rectText): new method, metrics
11055 (buttonText): new method, metrics
11057 * PainterBase.[hC]: make rectText and buttonText always draw and take
11060 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11062 * ToolbarDefaults.C (read):
11063 * MenuBackend.C (read): allow escaping in all strings
11065 * BufferView_pimpl.C (insertAndEditInset): new method.
11066 (Dispatch): use insertAndEditInset whenever appropriate.
11068 * BufferView_pimpl.C (insertNote): removed
11070 * BufferView_pimpl.C (smartQuote): new method, moved from
11071 BufferView; if an insetquote cannot be inserted, insert a '"'
11074 * BufferView2.C: remove insertCorrectQuote();
11076 * lyxfunc.C (getStatus): Add support for all remaingin
11077 inset-insert lfuns.
11079 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11081 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11082 command (necessary to pass " as parameter of self-insert.
11084 * text.C (selectWordWhenUnderCursor):
11085 (selectWord): add word_location parameter
11086 (selectWordWhenUnderCursor): same + remove special code for word
11088 (selectNextWord): use kind() to guess type of insetspecialchar,
11091 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11092 (insertErtContents): create ert insets as collapsed.
11093 (readInset): better compatibility code for Info inset.
11095 2001-07-20 Juergen Vigna <jug@sad.it>
11097 * lyxfunc.C (dispatch): use always LyXFind now!
11099 * text2.C (init): add a reinit flag so that the LyXText can be
11100 reinited instead of deleted and reallocated (used in InsetText).
11102 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11108 2001-07-18 Juergen Vigna <jug@sad.it>
11110 * text.C (selectNextWord): handle insets inside inset by calling
11111 always the bv->text functions so that we can go up the_locking_inset!
11113 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11114 in strange locations when inside an inset!
11116 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11117 handling to include insets.
11119 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11121 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11123 * LyXAction.C (init):
11125 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11126 LIGATURE_BREAK, since the name is so stupid.
11128 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11130 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11133 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11135 * sp_form.[Ch]: remove.
11137 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11139 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11142 * src/buffer.C (readInset): ditto.
11144 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11146 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11147 menuSeparator(), endOfSentenceDot(), ldots() and
11148 hyphenationPoint(), which are therefore removed.
11149 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11151 * LyXAction.C (init):
11152 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11154 * paragraph.C (getWord): removed.
11156 * BufferView_pimpl.C (Dispatch): use last word or selection for
11157 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11159 * lyx_main.C (queryUserLyXDir): do not ask before creating
11160 user_dir, except if it has been named explicitely.
11162 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11164 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11165 a document of zero size.
11167 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11169 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11170 approriately in the c-tor and in require().
11171 (getPackages): output the appropriate LaTeX for natbib support.
11173 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11174 variables "use_natbib" and "use_numerical_citations" when reading the
11176 (readInset): read the various natbib cite commands.
11177 (validate): white-space change.
11179 * bufferparams.[Ch]: new variables "bool use_natbib" and
11180 "bool use_numerical_citations".
11181 (writeFile): output them in the LyX file.
11183 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11185 * lyxfunc.C (getStatus): add support for all the inset insertion
11188 * text2.C (insertInset):
11189 * paragraph.C (insetAllowed):
11190 * BufferView_pimpl.C (insertInset): update to take in account the
11191 renaming of insertInsetAllowed
11193 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11195 * text2.C (getInset): new method. returns inset at cursor position.
11197 * BufferView_pimpl.C (Dispatch): changes because of this.
11199 * LyXAction.C (init): rename open-stuff to inset-toggle.
11201 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11203 * text2.C (toggleInset): renamed from openStuff; use
11206 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11208 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11210 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11212 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11214 * buffer.C (readLyXformat2): Add filename to the error dialog
11216 2001-07-18 Juergen Vigna <jug@sad.it>
11218 * tabular.C (GetCellNumber): put an assert here instead of the check!
11220 2001-07-17 Juergen Vigna <jug@sad.it>
11222 * BufferView_pimpl.C (toggleSelection): adapted too.
11224 * text.C (selectNextWord): adapted for use with insets.
11225 (selectSelectedWord): ditto
11227 2001-07-17 Juergen Vigna <jug@sad.it>
11229 * sp_spell.C (PSpell): fix initialitation order.
11231 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11233 * paragraph.C: spacing
11235 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11237 * sp_spell.C: repair language selection for pspell
11239 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11241 * lyxfunc.h: change more methods to begin with lower char.
11243 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11245 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11246 for unknown layouts.
11248 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11250 * buffer.C (readLyXformat2): Generate an error dialog if there are
11253 2001-07-16 Juergen Vigna <jug@sad.it>
11255 * sp_spell.C: always compile ISpell part.
11257 * lyxrc.C: added use_pspell entry and it's handling.
11259 2001-07-13 Juergen Vigna <jug@sad.it>
11261 * sp_spell.C: removed double includes.
11263 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11265 Consistent use of Lsstream.h:
11266 * Lsstream.h: added using std::stringstream for consistencies sake.
11268 * buffer.C: removed using std::stringstream
11270 * lyxfont.C (stateText):
11271 * paragraph.C (asString):
11272 * text.C (selectNextWord, selectSelectedWord):
11273 * text2.C (setCounter):
11274 * vspace.C (asString, asLatexString):
11275 std::ostringstream -> ostringstream.
11277 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11279 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11280 * commandtags.h: add LFUN_HELP_ABOUTLYX
11281 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11283 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11285 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11287 * lyx_gui_misc.C: remove spellchecker
11288 * lyxfunc.C: showSpellchecker
11290 * sp_ispell.h: added
11291 * sp_pspell.h: added
11292 * sp_spell.C: added
11293 * sp_form.[Ch]: removed
11294 * spellchecker.[Ch]: removed
11296 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11298 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11300 (simpleTeXSpecialChars): Simply print the input character without
11301 any special translation if pass_thru is set.
11303 * layout.h: Added bool pass_thru to layout class for being able to
11304 implement pass through of a paragraph for Literate Programming.
11306 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11307 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11308 * layout.C (Read): add "passthru" to list of layout tags and add
11309 code to set the pass_thru boolean when it is read.
11311 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11313 * trans_decl.h: remove allowed from KmodInfo
11315 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11316 remove allowed code
11319 * paragraph_pimpl.C (erase): use boost::prior
11321 * Painter.C (text): use data() instead of c_str() when length is
11323 * WorkArea.C (putClipboard): ditto
11324 * font.h (width): ditto
11326 * BufferView2.C: use it-> instead of (*it). for iterators
11328 * paragraph_pimpl.C: ditto
11329 * paragraph.C: ditto
11330 * minibuffer.C: ditto
11331 * language.C: ditto
11333 * encoding.C: ditto
11334 * counters.C: ditto
11335 * converter.C: ditto
11337 * Variables.C: ditto
11338 * TextCache.C: ditto
11339 * MenuBackend.C: ditto
11340 * LyXAction.C: ditto
11342 * FloatList.C: ditto
11343 * DepTable.C: ditto
11344 * ColorHandler.C (LyXColorHandler): ditto
11346 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11348 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11350 * text2.C (openStuff): reintroduce this method (which had been
11351 nuked in NEW_INSETS frenzy).
11353 * lyxfunc.C (Dispatch): when an action has not been handled, use
11354 its name in the error message, not its number.
11356 * paragraph.C (inInset): change method name to begin with lowercase.
11359 * text2.C: updates because of this.
11361 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11363 * ToolbarDefaults.C (add): add spaces in error message
11365 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11367 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11368 (readLyXformat2): rename return_par to first_par, use lyxlex's
11369 pushToken and remove the manual push handling.
11370 (parseSingleLyXformat2Token): add another ert comp. variable:
11371 in_tabular, rename return_par to first_par. handle newlines better
11373 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11375 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11377 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11379 * text2.C (getParFromID): removed
11381 * buffer.C (getParFromID): new method moved form lyxtext.
11382 * BufferView2.C (insertErrors): adjust
11383 (setCursorFromRow): adjust
11384 * BufferView_pimpl.C (restorePosition): adjust
11385 * lyxfunc.C (Dispatch): adjust
11386 * undo_funcs.C (textUndo): adjust
11388 (textHandleUndo): adjust
11389 (textHandleUndo): adjust
11391 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11393 * buffer.C: up' the LYX_FORMAT
11395 * lyxfont.h: turn NO_LATEX on as default
11397 * buffer.C (insertErtContents): new methods of tex style compability.
11398 (parseSingleLyXformat2Token): use it several places.
11399 * tabular.C (OldFormatRead): and here
11401 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11403 * text2.C: remove some commented code.
11406 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11407 * trans.C: changes because of the above.
11409 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11411 * text2.C (setCounter): Fix counters bug with bibliography layout.
11413 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11416 own member functions
11417 (simpleTeXSpecialChars): ditto
11419 2001-07-06 Juergen Vigna <jug@sad.it>
11421 * a lot of files: changed the access to LyXText::status and the
11422 call of undo-functions.
11424 * undo.[Ch]: added a inset_id to the undo informations.
11426 * undo_funcs.[Ch]: added and moved here all undo functions.
11428 * lyxtext.h: give the status enum a weight, made status_ a private
11429 variable and made accessor functions for it, removed the whole bunch
11430 of undo-functions as they are now in their own file, make some
11431 functions publically available. Added function ownerParagraph with
11434 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11435 made InInset() a const function, added getParFromID() function.
11437 * buffer.[Ch]: added const version for inset_iterator functions,
11438 added getInsetFromID() function.
11440 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11441 changed undo functions for new version.
11443 2001-07-05 Juergen Vigna <jug@sad.it>
11445 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11446 unknow mechanism does not call the proper constructor but only this
11447 one also if I request the other!?
11449 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11453 * text2.C (LyXText): use initialization lists.
11455 * lyxtext.h (Selection): initialize set_ and mark_
11456 (init): remove method
11458 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11460 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11462 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11464 * screen.[Ch]: change method names to begin with lowercase
11466 * BufferView_pimpl.C (updateScrollbar): simplify further and
11467 hopefully make it a bit faster.
11469 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11471 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11472 calling directly xforms functions.
11474 * Painter.C (Painter):
11475 * lyx_cb.C (MenuWrite):
11476 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11479 * lyx_gui.C: remove bogus guiruntime extern declaration.
11481 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11485 (redoDrawingOfParagraph): ditto
11486 (redoParagraphs): ditto
11487 (cutSelection): don't create a object for CutAndPaste use the
11488 static method directly
11489 (pasteSelection): ditto
11491 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11494 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11496 * modifications to some other files because of this.
11498 * Makefile.am (lyx_SOURCES): add XFormsView
11500 * XFormsView.[Ch]: new files
11502 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11503 the main window. Move the gui dependent stuff to XFormsView
11505 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11507 * tabular.C (GetCellInset): update cur_cell also in the row/col
11508 version of this function.
11510 * lyxfunc.C: no need to include figure_form.h here.
11516 * lyxvc.C: no need to include forms.h here.
11518 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11522 * lyxfunc.C (Dispatch):
11524 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11525 constructor argument.
11527 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * paragraph.C (Paragraph): dont't clear, and just set layout.
11530 (makeSameLayout): use params's copy contructor.
11532 * ParagraphParameters.[Ch] (makeSame): delete method
11534 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11536 * Variables.[Ch]: fix indentation, rename set to isSet
11538 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11540 * lyxfunc.C (Dispatch): fix typo
11542 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11544 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11547 * bufferlist.C: include assert.h for emergencyWrite().
11549 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11551 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11552 give up at last (bug #425202) !
11554 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11560 * spellchecker.C: strip spellchecker options and bring up
11561 preferences tab instead
11563 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11565 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11566 the istringstream constructor
11568 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * paragraph.C (getLayout): fix return value
11572 * paragraph.h: do not declare getLayout as inline.
11574 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11576 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * lyxcursor.h (operator<): new func
11579 (operator>): new func
11580 (operator>=): new func
11581 (operator<=): new func
11583 * text.C (changeCase): use selection.start and selection.end
11584 (changeRegionCase): require from to be <= to. Require par to be a
11587 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11589 2001-06-27 Juergen Vigna <jug@sad.it>
11591 * text.C (cursorLeftOneWord): changed to return the cursor and added
11592 overlay with BufferView * parameter which calls this one.
11594 (selectWord): use new getWord function.
11595 (changeCase): renamed from changeWordCase as and extended to work
11596 also on selections.
11598 * lyxtext.h: added enum word_location
11600 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11601 changeCase as this operates now also on selections.
11603 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11605 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11607 * many files: send debug output to Debug::INFO instead of
11610 * converter.C (View):
11612 (Move): send debug output to Debug::FILES instead of console.
11614 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11616 * lyxfunc.C (getStatus): use func_status
11618 * func_status.h: new header, describing the results of
11619 LyXFunc::getStatus;
11621 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11624 2001-06-25 The LyX Project <jug@sad.it>
11626 * buffer.C (sgmlOpenTag):
11628 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11630 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11632 * text2.C: remove some dead code
11634 * tabular.C (GetCellInset): store the last cell checked (gotten)
11636 * tabular.h: add the helper for the speedup
11638 * lyxtext.h: remove some dead code
11640 2001-06-26 The LyX Project <Asger>
11642 * paragraph.C: Change export to LaTeX of alignment to
11643 \begin{center} and family for better roundtrip work with reLyX.
11645 * Tune the math drawing a bit.
11647 2001-06-25 The LyX Project <Asger>
11649 * LColor.C (LColor): New color for math background. New color
11652 2001-06-25 The LyX Project <jug@sad.it>
11654 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11656 * lyxfunc.C (Open):
11657 * bufferlist.C (newFile): do not restrict to files ending with
11660 * BufferView_pimpl.C (MenuInsertLyXFile):
11662 2001-06-24 The LyX Project <jug@sad.it>
11664 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11667 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11669 * lyxtext.h: rename most methods to begin with a small char.
11670 Lots of changes because of this.
11672 * paragraph.C (Paragraph): do not call fitToSize
11673 (erase): call Pimpl::erase
11674 (insertChar): call Pimpl::insertChar
11675 (insertInset): call Pipl::insertInset
11676 (breakParagraph): do not call fitToSize
11677 (breakParagraphConservative): do not call fitToSize
11678 (fitToSize): remove method
11680 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11682 2001-06-24 The LyX Project <Asger>
11684 * Fix Qt compilation^2
11686 2001-06-24 The LyX Project <jug@sad.it>
11688 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11689 depthHook(getDepth()-1).
11692 * ParagraphParameters.h:
11693 * ParameterStruct.h: change type of depth to unsigned int ==
11694 depth_type. Many adaptations to other files before of that.
11696 2001-06-24 The LyX Project <Asger>
11698 * Fix Qt compilation.
11700 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * paragraph.h: renamed several methods to begin with small letter.
11703 several changes to many parts of the code because of this.
11705 2001-06-23 The LyX Project <jug@sad.it>
11707 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11708 rewritten to discard all double spaces when KeepEmpty is off
11709 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11710 to only handle newlines but not fiddle with spaces and friends.
11712 * lyxfunc.C (MenuNew): when doing 'new from template', use
11713 template_path as default directory
11715 2001-06-23 The LyX Project <Asger>
11717 * Clean-up of header file includes all over
11718 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11720 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11722 * paragraph.h: renamed from lyxparagraph.h
11724 2001-06-23 Asger <lyx@violet.home.sad.it>
11726 * Buffer.h: Removed Buffer::resize
11727 * BufferList.h: Removed BufferList::resize
11728 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11729 the document lazily when we change the width, or the font settings.
11731 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11733 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11735 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11737 * buffer.h: remove out of date comment
11739 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11742 * screen.C: fix "theoretical" GC leak
11744 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11746 * LaTeX.C (scanAuxFile):
11747 (deplog): remove trailing \r when reading stream (useful under
11750 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11752 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11753 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11754 and BufferView::theLockingInset(Inset*), so should use them and not
11755 access bv_->text->the_locking_inset directly.
11757 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11759 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11762 * tex-defs.h: remove old unused file
11764 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11766 * BufferView_pimpl.C: fix typo, remove minibuffer message
11767 when buffer has loaded
11769 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11771 * lyxfunc.C (Dispatch): use stringstream
11772 (MenuNew): use stringstream
11773 (Open): use stringstream
11775 * importer.C (Import): use stringstream
11777 * bufferview_funcs.C (CurrentState): use stringstream
11779 * LaTeX.C (run): use stringstream
11781 * BufferView_pimpl.C (savePosition): use stringstream
11782 (restorePosition): use stringstream
11783 (MenuInsertLyXFile): use stringstream
11785 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11798 * vspace.C: removed // -*- C++ -*- as first line.
11801 * version.h: added // -*- C++ -*- as first line.
11803 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11805 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11807 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11810 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11815 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11817 * gettext.C: include LString.h even when --disable-nls is on.
11819 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11821 * converter.h (Get): changed argument type from int to
11822 FormatList::size_type to avoid unnecessary conversion.
11824 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11827 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11829 * gettext.h: include LString.h even when --disable-nls is on.
11831 2001-06-07 Juergen Vigna <jug@sad.it>
11833 * text.C (BreakAgain): subst spaces with tabs.
11835 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11836 (resizeInsetsLyXText): set force on resizeLyXText.
11838 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11840 * gettext.h (gettext_init):
11841 (locale_init): use a real definition instead of a macro
11843 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11845 * Bufferview_pimpl.C:
11847 * LColor.C: further lcolor tidies
11849 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * BufferView_pimpl.C (updateScrollbar): simplify.
11853 * BufferView2.C: don't include insets/insetinfo.h, change
11854 prototype for insertInset and call the Pimpl version. let
11855 updateInset call Pimpl version.
11857 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11858 gotoInset to BufferView::Pimpl
11860 2001-06-01 Juergen Vigna <jug@sad.it>
11862 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11863 inside a LockingInset (is the update needed at all?).
11865 2001-05-31 Juergen Vigna <jug@sad.it>
11867 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11868 here not the old one otherwise how should we compare it afterwards
11871 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11876 * FontInfo.C: bring C functions into global namespace when
11879 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11881 * LString.h: make sure config.h has been loaded before LString.h.
11883 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11884 (one for each char read by EatLine!).
11886 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11889 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11891 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11892 to the same as the par we break from
11894 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11898 * MenuBackend.C (expand): also create menu entries for wide
11899 versions of the floats.
11901 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11903 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11905 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11906 frontends/Makefile.am
11912 * tabular.C (getTokenValue): add std::
11914 * tabular-old.C (getTokenValue): add std::
11915 (getTokenValue): ditto
11916 (getTokenValue): ditto
11918 * screen.C (ToggleSelection): adjust
11920 * lyxtext.h: put selection cursors inside a Selection struct.
11922 * lyxfunc.C (moveCursorUpdate): adjust
11924 * lyxfont.C (latexWriteStartChanges): add std::
11926 * lyxfind.C: adjust
11928 * font.h: delete with(char const *, LyXFont const &)
11930 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11932 * FontInfo.C (getFontname): add std::
11934 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11935 (workAreaButtonPress): adjust
11936 (tripleClick): adjust
11938 (moveCursorUpdate): adjust
11941 * BufferView2.C (gotoInset): adjust
11943 2001-05-30 Juergen Vigna <jug@sad.it>
11945 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11946 to check pspell I add this as default as I now have new pspell
11947 libraries and they seem to use this.
11949 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * text2.C (CutSelection): make the cursor valid before the call to
11954 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11956 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11957 relied on 0 terminated strings and other horrors. Bug found due to
11958 the new assert in lyxstring!
11960 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11963 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11965 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11968 * lyxfunc.C (processKeySym): change method of getting to the
11971 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11972 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11973 * BufferView_pimpl.[Ch]: here as private methods.
11975 2001-05-28 Juergen Vigna <jug@sad.it>
11977 * text.C (SetHeightOfRow): added the update() call again as it is
11978 needed to initialize inset dimensions!
11980 2001-05-16 Juergen Vigna <jug@sad.it>
11982 * text2.C (SetCharFont): Add new function with BufferView * and
11983 bool toggleall parameters for setting insets internal fonts.
11984 (SetFont): Freeze the undo as we may change fonts in Insets and
11985 all this change should be inside only one Undo!
11987 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11988 setting font's in insets as for them we have the SetFont function!
11990 2001-05-15 Juergen Vigna <jug@sad.it>
11992 * text2.C (ClearSelection): to be sure we REALLY don't have any
11995 * tabular.C (TeXCellPreamble): fixed the left border problem for
11998 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12000 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12003 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12006 LFUN_BREAKPARAGRAPH.
12008 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12009 help test to "internal only", similar for LFUN_INSERT_URL
12011 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12012 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12013 auto_region_delete and deadkeys.
12015 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12018 * LColor.C: remove some dead entries, tidy a little
12020 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12024 (Dispatch): implement LFUN_ESCAPE
12026 * commandtags.h: add LFUN_ESCAPE
12028 * LyXAction.C (init): add entry for LFUN_ESCAPE
12030 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12031 Remove commented code.
12032 (insertNote): moved here
12033 (open_new_inset): moved here
12035 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12038 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12040 * kbmap.C (findbinding): clean it up and make it work correctly.
12042 * lyx_main.C (init): do not pass argc and argv as parameters
12044 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12046 * buffer.C: fix path for OS/2 & Win32
12050 * lyx_main.C: Added os:: class.
12052 * os2_defines.h: update
12054 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12056 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12057 better by trying again with reduced state.
12059 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12061 * lyxrc.C (read): print error about invalid key sequence only when
12062 debugging (because not all latinX keysyms are known to some X
12065 * kbsequence.C (getiso): add a few std:: qualifiers
12066 (getiso): comment out extra return statement.
12068 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12070 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12072 (Dispatch): enhance the accent inset a bit. (not perfect)
12074 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12076 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12078 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12080 * bufferlist.C (emergencyWrite): fix assert() call
12082 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12084 * text.C (InsertChar): Added trivial patch to only send the "you
12085 can not do multiple spaces this way" message once during a
12088 2001-05-08 Baruch Even <baruch@lyx.org>
12090 * Makefile.am: Changed order of libraries to get LyX to link properly
12091 with the gnome frontend.
12093 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * LaTeXFeatures.h: add a std:: qualifier
12097 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * paragraph.C (String): use stringstream
12101 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * paragraph.C (writeFile): remove footflag arg
12105 * buffer.C (makeLaTeXFile): use stringstream
12106 (latexParagraphs): remove footnot gurba
12108 * LaTeXFeatures.C (getPackages): use stringstream
12109 (getMacros): likewise
12110 (getTClassPreamble): likewise
12111 (getFloatDefinitions): new method
12113 * paragraph.C (writeFile): reindent
12116 * WorkArea.h: revert the xpos + etc changes.
12118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12120 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12122 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12123 (pasteSelection): likewise
12124 * text2.C (CreateUndo): likewise
12126 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * minibuffer.C (peek_event): temporarily reduce the functionality
12129 of the minibuffer (to allow args on lfuns)
12131 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12132 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12134 * buffer.C (readInset): add compability reading of old float
12135 lists, add reading of new style float list.
12136 (readInset): avoid reevaluation of inscmd.getCmdName()
12137 (getLists): reindent
12139 * MenuBackend.C (MenuItem): implement parsing of
12140 md_floatlistinsert and md_floatinsert.
12141 (expand::LastFiles): move initalizaton of iterators out of loop,
12142 avoid reevaluation.
12143 (expand::Documents): introduce typdedef vector<string> Strings,
12145 (expand::ExportFormats): introduce typedef vector<Format const *>
12146 Formats, and use it.
12147 (expand): implement FloatListInsert and FloatInsert.
12149 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12150 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12151 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12153 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12155 (Dispatch::LFUN_FLOAT_LIST): implement
12157 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12159 * LaTeX.C (run): Fix problem with --export code.
12161 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12163 * BufferView.[Ch] (workarea): removed.
12164 (getClipboard) new method; wrapper for workarea()->getClipboard()
12166 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12169 * WorkArea.h (width, height, xpos, ypos): These methods all
12170 returned the dimensions of the work_area sub-area of WorkArea,
12171 resulting in a position error if the WorkArea were resized. Now
12172 return the dimensions of the entire WorkArea.
12174 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12176 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12178 * LaTeX.C (deplog): correct the syntax of regex reg1
12180 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12182 * undo.C: remove !NEW_INSETS cruft
12184 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * text2.C: remove !NEW_INSETS cruft
12188 * text.C: remove !NEW_INSETS cruft
12190 * tabular.C: remove !NEW_INSETS cruft
12192 * spellchecker.C: remove !NEW_INSETS cruft
12194 * lyxtext.h: remove !NEW_INSETS cruft
12196 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12198 * lyxfunc.C: remove !NEW_INSETS cruft
12200 * lyxfind.C: remove !NEW_INSETS cruft
12202 * lyx_cb.C: remove !NEW_INSETS cruft
12204 * figureForm.C: remove !NEW_INSETS cruft
12206 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12208 * buffer.[Ch]: remove !NEW_INSETS cruft
12210 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12212 * CutAndPaste.C: remove !NEW_INSETS cruft
12214 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12216 * BufferView2.C: remove !NEW_INSETS cruft
12218 * BufferView.h: remove !NEW_INSETS cruft
12220 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12222 * Lsstream.h: include LString.h before the sstream headers to
12223 fix problem with gcc 2.95.3 and lyxstring
12225 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12227 * lyx_main.C: add using directives when needed for C functions
12228 declared in std:: namespace.
12230 2001-04-27 Juergen Vigna <jug@sad.it>
12232 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12233 (SetHeightOfRow): comment out the update call should not be needed!
12235 2001-04-13 Juergen Vigna <jug@sad.it>
12237 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12238 (LyXTabular): tried to minimize operator= operations (and realized
12239 hopfully Lars wish).
12241 2001-04-27 Juergen Vigna <jug@sad.it>
12243 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12245 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12249 * buffer.C (readInset): hack to make listof algorithm work
12251 * BufferView_pimpl.C: hack to make listof algorithm work
12253 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * LyXAction.C: removed all !NEW_INSETS cruft
12256 (init): moved lfun_item in method
12258 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12260 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12262 * BufferView2.C (theLockingInset): white space.
12264 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12266 * minibuffer.C: include <iostream>
12268 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12270 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12272 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12274 * text.[Ch] (TransposeChars): new method
12276 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * call message directly through LyXView instead of through LyXFunc
12279 * BufferView2.C: adjust
12280 * BufferView_pimpl.C: adjust
12281 * FontLoader.C: adjust
12283 * bufferview_funcs.C: adjust
12284 * converter.C: adjust
12285 * figureForm.C: adjust
12286 * importer.C: adjust
12288 * lyx_gui_misc.C: adjust
12289 * lyxfunc.C: adjust
12292 + more files in subdirs
12294 * lyxparagraph.h (size): move up int file
12297 * adjust all uses of Assert to lyx::Assert.
12299 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12300 lyxfunctional in namespace lyx
12301 * layout.C (hasLayout): ditto
12304 (delete_layout): ditto
12305 (NumberOfClass): ditto
12306 * converter.C (GetFormat): ditto
12311 * bufferlist.C (getFileNames): ditto
12312 (emergencyWriteAll): ditto
12315 * MenuBackend.C (hasSubmenu): ditto
12318 * BufferView_pimpl.C (getInsetByCode): ditto
12320 2001-04-18 Juergen Vigna <jug@sad.it>
12322 * vspace.C (asLatexString): fixed the 100% problem.
12324 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12326 * lyxfunc.C (Dispatch):
12328 * minibuffer.h: add a few std:: qualifiers
12330 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * minibuffer.[Ch]: reimplement so that commands is initiated and
12333 run from lyxfunc, simplified som handling, and made the completion
12334 and history code for complete. wip.
12336 * lyxfunc.C (processKeySym): call message
12337 (miniDispatch): new temporary method
12338 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12339 (LFUN_MESSAGE): implement
12340 (LFUN_MESSAGE_PUSH): implement
12341 (LFUN_MESSAGE_POP): implement
12342 (initMiniBuffer): the initial/defualt minibuffer message.
12344 * lyxfont.[Ch]: inline some more getters
12346 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12348 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12350 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12351 (AutoSave): use LFUN_MESSAGE
12352 (Reconfigure): ditto
12354 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12356 * figureForm.C: use LFUN_MESSAGE
12358 * converter.C (runLaTeX): use LFUN_MESSAGE
12360 * bufferview_funcs.C: use LFUN_MESSAGE
12362 (changeDepth): ditto
12364 * bufferparams.h: use boost::
12366 * bufferlist.h: inherit privately from noncopyable
12368 * bufferlist.C (loadLyXFile): remove some commented code.
12370 * buffer.C (runChktex): use LFUN_MESSAGE
12372 * ShareContainer.h: inherit privately from noncopyable
12374 * ParagraphParameters.[hC] (depth): inline it.
12376 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12378 (message): new method
12379 (messagePush): ditto
12380 (messagePop): ditto
12381 (show): init minibuffer
12382 (showState): direct call
12384 * LaTeX.[Ch]: inherit privately from noncopyable
12385 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12386 instead of WriteStatus.
12388 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12390 * BufferView_pimpl.C (buffer): don't init minibuffer
12391 (workAreaButtonPress): use LFUN_MESSAGE
12392 (workAreaButtonRelease): ditto
12393 (savePosition): ditto
12394 (restorePosition): ditto
12395 (MenuInsertLyXFile): ditto
12396 (workAreaExpose): don't init minibuffer
12397 (update): remove commented code, simplify
12399 * BufferView2.C (openStuff): use LFUN_MESSAGE
12400 (toggleFloat): ditto
12403 (copyEnvironment): ditto
12404 (pasteEnvironment): ditto
12409 (updateInset): remove some commented code
12411 * lastfiles.h: inherit privately from noncopyable
12414 * lyx_main.h: ditto
12416 * lyxlex_pimpl.h: ditto
12418 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12419 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12420 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12422 * LyXAction.h: inherit privately from noncopyable, add methods
12423 func_begin, func_end, returning iterators to the func map.
12425 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12426 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12427 (func_begin): new method
12428 (func_end): new method
12430 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12432 (copySelection): ditto
12433 (pasteSelection): ditto
12435 * BufferView.C: whitespace change
12436 * BufferView.h: inherit privately from noncopyable
12438 2001-04-16 Allan Rae <rae@lyx.org>
12440 * tabular-old.C (l_getline):
12441 * spellchecker.C (sc_check_word):
12442 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12443 an unrecognised preprocessor directive. So ensure they're wrapped.
12445 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12447 * src/exporter.C (Export): Give an error message when path to file
12450 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12452 * LaTeX.C (deplog): Always check that foundfile exists.
12454 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12457 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12459 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12461 * tabular.[Ch] (getLabelList): implement new method
12463 * minibuffer.h: comment ouf setTiimer
12465 * minibuffer.C (ExecutingCB): constify res
12466 (peek_event): constify s
12467 (Set): constify ntext
12468 (Init): constify nicename
12470 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12472 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12473 (savePosition): use two params to Minibuffer::Set
12474 (restorePosition): ditto
12476 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12478 * lyx_main.C: include language.h
12480 * Makefile.am (lyx_main.o): add language.h
12482 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12488 * CutAndPaste.C: include gettext.h
12490 * lyxfont.h: remove old hack with ON and OFF.
12493 * lyxfont.h: do not include language.h...
12498 * bufferview_funcs.C:
12504 * paragraph.C: ... but do it here instead
12506 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12510 * tabular.C: small reformat
12512 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12515 (BreakParagraph): ditto
12516 (SetOnlyLayout): ditto
12519 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12522 * lastfiles.C: removed most using decl, add std:: where needed
12524 * buffer.C: ws changes
12526 * MenuBackend.C (class compare_format): put into anon namespace
12527 (expand): constify label, names, action, action2
12530 * text.C (SingleWidth): constify font
12531 (IsBoundary): constify rtl2
12532 (GetVisibleRow): constify ww
12534 * LaTeX.C (deplog): constify logfile
12536 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12538 (workAreaExpose): constify widthChange, heightChange
12540 * lyxrow.C (par): moved
12543 * lyxrow.h: as inlines here
12545 * lyxfont.h (shape): moved from lyxfont.C
12546 (emph): moved from lyxfont.C
12548 * lyxfont.C (LyXFont): use initialization list for all
12550 (shape): move to lyxfont.h as inline
12551 (emph): move to lyxfont.h as inline
12554 2001-04-04 Juergen Vigna <jug@sad.it>
12556 * vspace.C: had to include stdio.h for use of sscanf
12558 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12561 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12562 independent of xforms.
12564 2001-04-02 Juergen Vigna <jug@sad.it>
12566 * spellchecker.C: fixed namespace placing!
12568 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12570 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12571 the LyXParagraph * is 0.
12573 2001-03-29 Juergen Vigna <jug@sad.it>
12575 * vspace.C: added support for %, c%, p%, l%.
12576 (stringFromUnit): added helper function.
12577 (asLatexString): changed to give right results for the %-values.
12579 * buffer.C: convert the widthp in a width%.
12581 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12583 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12586 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12587 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12589 * lyx_cb.[Ch]: see above.
12591 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12595 * lyx.[Ch]: replaced by figure_form.[Ch].
12599 * lyxfunc.C: changed headers associated with above changes.
12601 2001-03-27 Juergen Vigna <jug@sad.it>
12603 * BufferView_pimpl.C: set the temporary cursor right!
12605 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12607 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12609 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12611 * LString.h: removed "using std::getline"!
12613 * BufferView_pimpl.C (Dispatch): changes due to changes in
12614 InsetInclude::Params.
12616 * buffer.C (tag_name): removed redundant break statements as they were
12617 producing lots of warnings with my compiler.
12619 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12621 * LString.h: add "using std::getline" when using the real <string>.
12623 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12625 * buffer.C: removed bitset usage.
12626 PAR_TAG moved to an anonymous name space.
12627 (tag_name): new funtion, also in the anonymous namespace.
12628 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12629 (makeDocBookFile): clean code. Completed transition from string arrays
12631 (SimpleDocBookOnePar): code clean.
12633 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12635 * tabular.C: add some comments.
12637 2001-03-22 Juergen Vigna <jug@sad.it>
12639 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12640 compatibility read a bit and fixed bug with minipage in different
12643 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12645 * buffer.C (pop_tag): removed.
12646 (push_tag): removed.
12647 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12648 array replaced with vector. Added support for CDATA sections.
12649 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12651 (makeDocBookFile): XML conformant declaration of CDATA section,
12652 fixed bug related to <emphasis> in the first paragraph char.
12653 (sgmlOpenTag): exclude empty tags.
12654 (sgmlCloseTag): ditto.
12656 * buffer.h (pop_tag): removed.
12657 (push_tag): removed.
12659 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12661 * language.h (Languages): added size_type and size().
12663 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12665 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12666 response on compability reading of minipages. One probliem is that
12667 the old usage of minipages was «flertydig»
12669 * several files here and in subdirs: don't use static at file
12670 scope use anon namespaces instead.
12672 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12674 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12675 LaTeX output. This is necessary for Literate document
12678 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12680 * buffer.C: insert hfill when needed.
12682 * tabular.C (l_getline): use string::erase, small whitespace change.
12684 * BufferView_pimpl.C: try the anon namespace.
12685 * WorkArea.C: ditto
12687 2001-03-16 Juergen Vigna <jug@sad.it>
12689 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12690 otherwise it won't open options-dialogs.
12692 * buffer.C: honor pextraWidth(p) on converting minipages.
12694 * tabular.C (l_getline): changed the functions to strip trailing \r.
12696 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12698 * BufferView_pimpl.C:
12699 * minibuffer..C: added "using SigC::slot" declaration.
12701 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12703 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12709 * paragraph.C: ditto
12711 * lyxtext.h: NO_PEXTRA
12713 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12715 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12716 * ParameterStruct.h: ditto
12717 * ParagraphParameters.h: ditto
12718 * lyxparagraph.h: ditto
12720 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12722 * buffer.C: add compability for minipage alignment.
12723 (latexParagraphs): remove unwanted pextra check.
12725 * several files: remove CXX_WORKING_NAMESPACES
12727 * buffer.C (pop_tag): tie is in namespace boost
12729 * BufferView.h: noncopyable is in namespace boost
12731 * lyx_main.h: ditto
12734 * lastfiles.h: ditto
12735 * bufferlist.h: ditto
12736 * ShareContainer.h: ditto
12738 * LyXAction.h: ditto
12741 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12743 * Merging changes from BRANCH_MVC back into HEAD.
12745 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12747 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12749 * BufferView_pimpl.C: change from intl.C
12753 * Makefile.am: move combox.*
12759 * intl.C: remove dialog (covered by prefs)
12761 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12763 * lyxfunc.C (Dispatch): removed redundant break statement.
12765 2001-03-14 Juergen Vigna <jug@sad.it>
12767 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12769 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12771 * buffer.C: add hack to fix compability reading of minipages.
12773 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12775 * buffer.C (getLists): Cleanup.
12777 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12779 * lyxfont.C (update): don't honor toggleall on font size.
12781 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12785 * Makefile.am: moved to frontends/xforms/
12789 * BufferView_pimpl.C: changes for moved mathpanel
12791 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12793 * gettext.h: fix gettext_init() in --disable-nls
12795 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12797 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12799 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12802 * lyx.h: strip external form
12804 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12806 * BufferView_pimpl.C: add comment, destroySplash()
12808 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12810 * BufferView_pimpl.C:
12814 * lyxfunc.C: use re-worked insetinclude
12816 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12818 * buffer.C: add using std::stringstream.
12820 * lyx_cb.C: readd using std::ios.
12822 * buffer.C: add using std::map.
12824 * BufferView_pimpl.C: add using std::vector.
12826 * ShareContainer.h: add std:: to swap.
12828 * buffer.h: add some typedefs
12829 * buffer.C (getLists): use them
12830 (getLists): renamed from getTocList.
12831 add a counter for the different float types and use it in the
12833 (getLists): use the same counter for the NEW_INSETS and the "non"
12836 * lyx_cb.h: remove unused items, includes, using etc.
12838 * ShareContainer.h: remove some commented code, add more comments
12839 and "documentation".
12841 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12843 * buffer.C (getTocList): make the list also when NEW_INSETS is
12846 * buffer.h: remove TocType
12848 * buffer.C (getTocList): change to return a map<string,
12849 vector<TocItem> >, implement for dynamic number of list.
12851 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12852 * text2.C (PasteSelection): adjust
12853 * CutAndPaste.C (pasteSelection): adjust
12855 * FloatList.C (FloatList): update from the new_insets branch.
12856 * Floating.[Ch]: ditto
12857 * LaTeXFeatures.C: ditto
12859 * lyxlex_pimpl.C: ditto
12861 * paragraph.C (Last): remove when NEW_INSETS is defined.
12863 * other file: changes because of the above.
12865 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12867 * lyxparagraph.h: rename next to next_, previous to previous_,
12868 make them private for NEW_INSETS. Rename Next() to next(),
12869 Previous() to previous().
12871 * other files: changes because of the above.
12873 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12876 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12879 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12881 * main.C (main): pass lyx_localedir to gettext_init().
12883 * gettext.h: remove locale_init and gettext_init macros
12885 * gettext.C (locale_init): new function
12886 (gettext_init): new function
12888 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12891 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12893 * Moved credits to frontends:
12894 * credits.[Ch]: removed
12895 * credits_form.[Ch]: removed
12896 * lyx_gui_misc.C: remove credits stuff
12899 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12901 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12903 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12904 unneeded destructor.
12906 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12907 a standalone pointer again.
12909 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12911 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12917 * ToolbarDefaults.C:
12926 * BufferView_pimpl.C: use new file dialog in GUII
12929 * lyx_cb.C: remove LayoutsCB to Toolbar
12931 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12933 * ShareContainer.h (get): add std:: qualifier
12935 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12937 * ShareContainer.h: define a proper ShareContainer::value_type
12938 type (and use typename to please compaq cxx)
12940 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12942 * lyxparagraph.h: move serveral local vars to
12943 ParameterStruct/ParagraphParameters., use ShareContainer in
12944 FontTable., make vars in FontTable private and add getter and
12947 * paragraph.C: changes because of the above.
12949 * lyxfont.h: remove copy constructor and copy assignment. (the
12950 default ones is ok), move number inside FontBits. move inlines to
12953 * lyxfont.C: add number to initializaton of statics, move several
12954 inlines here. constify several local vars. some whitespace
12955 cleanup. Dont hide outerscope variables.
12957 * Spacing.h: add two new constructors to match the set methods.
12959 * ShareContainer.h: new file, will perhaps be moved to support
12961 * ParameterStruct.h: new file
12963 * ParagraphParameters.h: new file
12965 * ParagraphParameters.C: new file
12967 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12968 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12970 * BufferView_pimpl.C: ParagraphParameter changes.
12971 * buffer.C: Likewise.
12972 * bufferview_funcs.C: Likewise.
12973 * text.C: Likewise.
12974 * text2.C: Likewise.
12976 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12978 * lyxfind.C (LyXReplace): do not redefine default argument in
12980 (IsStringInText): ditto
12981 (SearchForward): ditto
12982 (SearchBackward): ditto
12984 2001-03-06 Juergen Vigna <jug@sad.it>
12986 * lyxfind.C (IsStringInText): put parentes around expressions.
12988 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12990 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12992 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12994 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12996 * stl_string_fwd.h: add comment
12998 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13001 * tabular.C: remove unused DocBook methods
13007 killed DO_USE_DEFAULT_LANGUAGE
13009 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13011 * lyx_gui.C: do not include language.h.
13013 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13014 arguments in function implementation.
13016 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13018 * BufferView_pimpl.C: add <ctime>
13020 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13022 * BufferView_pimpl.C: add using std::find_if
13024 2001-02-27 José Matos <jamatos@fep.up.pt>
13026 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13029 2001-02-11 José Matos <jamatos@fep.up.pt>
13031 * buffer.C (makeDocBookFile): command styles now have a parameter as
13032 "title" by default.
13034 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13036 * layout_forms.[Ch]: removed
13037 * lyx_cb.[Ch]: out character
13038 * lyx_gui.C: out character
13039 * lyx_gui_misc.C: out character
13040 * bufferview_funcs.C: : out character,
13041 added toggleall as parameter in ToggleAndShow
13043 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13045 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13047 * text2.C (SetCurrentFont): Disable number property at boundary.
13049 2001-02-26 Juergen Vigna <jug@sad.it>
13051 * lyxfunc.C (getStatus): added a string argument override function so
13052 that this is correctly called from LyXFunc::Dispatch if it contains a
13053 do_not_use_argument which is used!
13054 (Dispatch): added check for "custom" export and call appropriate func.
13056 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13058 * lyxrc.C: Add language_command_local, language_use_babel and
13059 language_global_options.
13061 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13063 * buffer.C (makeLaTeXFile): Use language_use_babel and
13064 language_global_options.
13066 2001-02-23 Juergen Vigna <jug@sad.it>
13068 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13069 which works with LyXText and putted it inside BufferView. Here now we
13070 only call for that part the BufferView::Dispatch() function.
13072 * BufferView.C (Dispatch): added.
13074 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13075 functions which needs to use a LyXText over from LyXFunc.
13076 (MenuInsertLyXFile): added
13077 (getInsetByCode): added
13078 (moveCursorUpdate): added
13079 (static TEXT): added
13081 2001-02-22 Juergen Vigna <jug@sad.it>
13083 * BufferView_pimpl.C (update): call a status update to see if LyXText
13086 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13088 * vc-backend.C (revert): implement for CVS
13089 (getLog): implement for CVS
13091 2001-02-20 Juergen Vigna <jug@sad.it>
13093 * text2.C (ClearSelection): added BufferView param for inset_owner call
13095 * lyxfunc.C (TEXT): added this function and use it instead of
13096 directly owner->view()-text of getLyXText().
13098 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13100 * src/layout_forms.C: out preamble
13101 * src/layout_forms.h: out preamble
13102 * src/lyx_cb.C: out preamble
13103 * src/lyx_cb.h: out preamble
13104 * src/lyx_gui.C: out preamble
13105 * src/lyx_gui_misc.C: out preamble
13106 * src/lyxfunc.C: connect with guii preamble
13108 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13110 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13112 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13114 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13115 whether to run bibtex.
13117 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13119 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13121 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13123 * Makefile.am (lyx_SOURCES): removed bibforms.h
13125 * vspace.h: doxygen
13127 * text.C (GetVisibleRow): make several local vars const
13129 * tabular.C: small cleanup.
13131 * lyxserver.C (callback): use compare instead of strncmp
13133 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13134 inlines to after class or to paragraph.C
13136 * lyxfont.h: remove friend operator!=
13138 * converter.h: move friend bool operator< to non friend and after
13141 * combox.h: small cleanup
13143 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13144 to inlines after class def.
13146 * buffer.C (pop_tag): use string operations instead of strcmp
13148 * bmtable.c: doxygen, small cleanup
13150 * LaTeX.h: remove friend operator==
13152 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13164 * BufferView_pimpl.C:
13165 * BufferView.[Ch]: remove cruft
13167 2001-02-14 Juergen Vigna <jug@sad.it>
13169 * lyxfunc.C: removed #if 0 unused code
13171 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13173 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13175 * text2.C (SetSelection): added a BufferView * parameter
13177 2001-02-13 Juergen Vigna <jug@sad.it>
13179 * lyxfunc.C (Dispatch): fixed protected blank problem.
13180 * BufferView2.C (protectedBlank): added LyxText * parameter.
13182 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13183 (AppendColumn): same as above for column_info.
13185 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13186 (moveCursorUpdate): use a LyXText param for support of InsetText.
13188 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13189 (tripleClick): ditto
13191 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13193 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13195 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13197 * text2.C (SetSelection): set correct update status if inset_owner
13198 (ToggleFree): ditto
13200 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13202 * tabular.C: remove some commented code.
13204 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13206 * BufferView_pimpl.C: call hideSplash()
13208 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13211 * bibforms.h: remove
13214 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13215 add LFUN_CHILD_CREATE
13217 * counters.h: fix tiny typo
13222 * lyx.C: move splash to frontends/xforms/
13224 * lyx_gui_misc.C: move Include and Bibform to frontends
13226 * lyxvc.h: clarify comment
13228 * vspace.C: tiny housekeeping
13230 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13232 * text.C (PrepareToPrint): RTL Fix.
13234 * paragraph.C (GetUChar): New method.
13235 (String): Use GetUChar.
13237 * buffer.C (asciiParagraph): Use GetUChar.
13239 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13241 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13243 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13246 * buffer.C: rename to getLogName(), handle
13247 build log / latex log nicely
13249 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13252 * MenuBackend.h: remove support for reference menuitem type.
13254 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13256 * BufferView_pimpl.C: housekeeping
13257 * BufferView_pimpl.h:
13262 * minibuffer.h: move Timeout GUI-I
13264 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13266 * lyxrc.C (read): Update converters data-structures.
13268 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13270 * LaTeX.h (operator!=): add operator != for Aux_Info
13272 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13274 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13276 * LaTeXLog.C: deleted, useful code moved to Buffer
13279 * buffer.C: new function getLatexLogName()
13285 * lyxfunc.C: use frontends for LaTeX and VC logs
13287 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13289 * LaTeX.h: yet another std:: that Allan forgot.
13291 * Variables.C (set): renamed from isset(), because this clashes
13292 with some HP-UX macros (grr).
13294 2001-02-06 Allan Rae <rae@lyx.org>
13296 * LaTeX.h: Another bug fix. Missing std:: this time.
13298 2001-02-04 Allan Rae <rae@lyx.org>
13300 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13301 floats problem. I've left it commented out because it's not quite
13302 correct. It should also test that the current object is a table or
13303 figure inset. But I haven't gotten around to figuring out how to do
13304 that. I *think* it'll be something like: "table" == inset.type()
13306 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13309 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13311 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13312 all the citation/databases/styles in the auxilary file.
13313 (run): Rerun latex if there was a babel language error.
13315 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13317 * text.C (Backspace): Preserve the font when changing newline char
13319 (BreakParagraph): If the cursor is before a space, delete the space.
13321 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13323 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13325 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13326 new argument (code).
13327 (ChangeCitationsIfUnique): New method.
13329 * paragraph.C (GetPositionOfInset): Handle bibkey.
13331 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13333 * BufferView_pimpl.h: change type of Position::par_pos to
13334 LyXParagraph::size_type.
13336 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13338 * BufferView_pimpl.C (savePosition, restorePosition): Write
13339 messages to minibuffer.
13341 2001-01-28 José Matos <jamatos@fep.up.pt>
13343 * buffer.C (makeDocBookFile): adds support for document language.
13344 A silly restriction on the name of LatexCommand types where removed.
13345 Added support for CDATA sections, allows to chars unescaped, used
13346 among others in code, to avoid escape < and >.
13348 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13350 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13351 saved positions instrad of a stack. Furthermore, a position is
13352 stored using paragraph id/paragraph position.
13354 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13355 Remove LFUN_REF_BACK.
13357 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13359 * converter.C (dvipdfm_options): New method.
13361 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13363 * vspace.C (isValidLength): Fix for empty input string.
13365 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * LyXAction.C (init): change description of LFUN_FIGURE to
13370 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13372 * LaTeX.C: add using directive
13374 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13376 * MenuBackend.C (expand): Fix the sorting of the formats.
13378 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13380 * lyx_main.C: tiny error message fix
13382 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13384 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13385 calling fl_initialize(). This fixes the problem with ',' as
13386 decimal separator in text files.
13388 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13390 * trans.C (process): Fix the keymap bug.
13392 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13394 * LaTeX.C (scanAuxFiles): New method. Provides support for
13395 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13396 (scanLogFile) Scan for "run BibTeX" messages.
13398 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13399 OT1 font encoding. Also, load the aecompl package if the ae
13402 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13404 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13406 * texrow.C (increasePos): turn two error messages into debug
13409 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13411 * LaTeX.C (scanAux): Handle the \@input macro.
13412 (runBibTeX): Use scanAux().
13414 * language.C (latex_options_): New field.
13416 * LaTeXFeatures.C (getMacros): Add language macros.
13418 * buffer.C (makeLaTeXFile): Small fix.
13420 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13422 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13424 * text2.C: add a using directive.
13426 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13431 * lyxfunc.C: kill LyXBell.
13433 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13435 * text.C (IsBoundary): Remove the error message
13437 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13439 * lyxrc.C (setDefaults): Correct initialization value for
13442 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13444 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13447 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13448 and GotoNextNote().
13450 * src/LyXAction.C: Added reference-next.
13452 * text.C (InsertChar): Use contains instead of strchr.
13454 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13456 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13458 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13459 alignment commands (when needed).
13461 * text.C (InsertChar): Add ':' to number separator chars.