2 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4 * PosIterator.C (distance, advance): new
5 * bufferview_funcs.[Ch] (put_selection_at): new
6 * iterators.[Ch] (lockPath): new
8 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
10 * iterators.[Ch] (asPosIterator): added
11 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
12 * PosIterator.[Ch]: added
14 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
18 * cursor.C (dispatch):
19 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
21 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
22 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
23 contructor, add a class function dispatched. Remove operator>=
25 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
27 * debug.C: only use the default constructor for debugstream
30 * main.C (main): include debug.h and setup the lyxerr streambuf
33 2003-10-31 José Matos <jamatos@lyx.org>
35 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
37 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
38 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
39 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
40 * paragraph_pimpl.C (simpleTeXSpecialC):
41 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
42 add LatexRunParams argument.
44 * exporter.C (Export): change call accordingly.
46 * latexrunparams.h: add new member to take care of the other backends.
47 2003-10-30 José Matos <jamatos@lyx.org>
49 * buffer.C (makeLinuxDocFile, makeDocBookFile):
50 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
51 factorise code for paragraph output.
53 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
56 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
59 * lyxfunc.C (dispatch):
60 * cursor.C (dispatch):
61 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
63 * dispatchresult.h: make the dispatch_result_t ctor explicit
65 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
68 * buffer.C: small refactoring of docbook stuff
70 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
75 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
77 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
78 operator dispatch_result_t, and operators for == != and >=
80 * cursor.C (dispatch): adjust for operator dispatch_result_t
81 removal. comment out call to update
83 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
85 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
93 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
96 * dispatchresult.h: new file, DispatchResult broken out of
99 * Makefile.am (lyx_SOURCES): add dispatchresult.h
101 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
103 * text.C (rowBreakPoint): put a hack inside #if 0
105 2003-10-28 André Pönitz <poenitz@gmx.net>
112 * text2.C: general cleanup (lots of small stuff)
114 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
116 * text2.C (cursorEnd): simple fix to the "end key goes to one
117 before the end on last row" bug
119 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
121 * text.C (backspace): fix the "zombie characters"
123 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
125 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
127 2003-10-27 André Pönitz <poenitz@gmx.net>
129 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
131 * factory.C: handle new InsetPagebreak, InsetLine
133 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
134 and move handling into new InsetPagebreak, InsetLine
136 * BufferView_pimpl.C:
138 * ParagraphParameters.C:
151 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
160 * text3.C: remove lastPos uses in favour of Row::endpos
162 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
164 * undo.C (performUndoOrRedo): fix two crashes by setting a
165 cursor by hand and reordering some calls. Use bv->lockInset instead
166 of inset->edit because the latter loses cursor information
168 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
170 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
172 (rowBreakPoint): fix width. change point to point + 1.
175 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
178 * lyxfunc.C: fix (at least partly) the problems
179 with the Nav menu and headers inside branch insets
182 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
184 * paragraph.C (getChar): add strong asserts
186 * lyxrow_funcs.C (lastPos): remove hideous hack
188 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
189 (fill): adjust to that (avoid an infinite loop)
191 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
193 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
195 2003-10-23 André Pönitz <poenitz@gmx.net>
197 * RowList_fwd.h: change list<> to vector<> to gain speed
198 after suggestion from Alfredo
200 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
202 * lyxtext.h: move the bidi stuff from here...
205 * Bidi.[Ch]: ... to here
207 2003-10-23 André Pönitz <poenitz@gmx.net>
210 * text.C (isLastRow, isFirstRow): new functions
212 * paragraph.h: new width cache member
214 * rowpainter.C: replace RowList::iterator with Row & where possible
216 * lyxfunc.C: replace several view()->text with a single call
218 * toc.C: fix 'unused' warning
220 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
222 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
223 when woring with stream::pos_type
224 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
226 2003-10-22 André Pönitz <poenitz@gmx.net>
229 * text.C: use Row & instead of RowList::iterator
231 * lyxrow.h: rename end() to endpos()
237 2003-10-22 Angus Leeming <leeming@lyx.org>
239 * buffer.[Ch] (fully_loaded): new member function, returning true
240 only when the file has been loaded fully.
241 Used to prevent the premature generation of previews and by the
242 citation inset to prevent computation of the natbib-style label.
244 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
245 templates are all set up.
247 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
249 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
251 * text.C: fixed an "oops" in the "is a bit silly"
254 2003-10-21 André Pönitz <poenitz@gmx.net>
256 * FuncStatus.[Ch]: small stuff, whitespace
258 * lyxfont.[Ch]: operator<<() for debug reasons
262 * lyxtext.h: whitespace, spelling
264 * paragraph.C: naming of variables
267 * text2.C: small stuff
270 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
272 * text.C: (1) finish off the inset display() work;
273 (2) fix the "is a bit silly" bug (accessing char
276 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
278 * text.C: re-introduce display() for insets, fixing the
279 various bugs (stretch of line above, math inset
282 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * text.C (rightMargin): remove spurious semicolon
286 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
289 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
291 * text3.C: fix one crash due to wrong cursor def
293 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
295 * vc-backend.C (scanMaster): make the regex static
297 * LaTeX.C (scanAuxFile): make the regexs static
299 * text3.C (doInsertInset, dispatch, dispatch):
300 * text2.C (cursorUp, cursorDown):
301 * text.C (selectNextWordToSpellcheck):
302 * BufferView_pimpl.C (dispatch):
303 * lyxfunc.C (dispatch): localDispatch -> dispatch
305 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * lyxsocket.C: include <cerrno>
309 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * lyxfunc.C (dispatch): remove textcache stuff
313 * bufferlist.C (release): remove textcache stuff
316 * TextCache.C: delete file
317 * TextCache.h: delete file
319 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
321 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
322 delete of the bv_->text.
323 (resizeCurrentBuffer): remove texcache stuff
324 (workAreaResize): ditto
326 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
331 2003-10-16 André Pönitz <poenitz@gmx.net>
338 * text3.C: speed up by storing y positions per paragraph plus per-row
339 offset instead of having a 'full' y position in the row.
341 2003-10-15 André Pönitz <poenitz@gmx.net>
345 * undo.[Ch]: make undo aware of inner insets
347 2003-10-14 Angus Leeming <leeming@lyx.org>
349 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
350 static member functions LyX::ref() and LyX::cref.
351 (lastfiles): new accessor functions for the new lastfiles_ member var.
352 (addLyXView, views_): add a new LyXView to the list of views_.
353 (updateInset): loop over all LyXViews to call their own updateInset
354 member function, returning a pointer to the Buffer owning the inset.
356 * BufferView_pimpl.C (loadLyXFile):
357 * MenuBackend.C (expandLastfiles):
358 * bufferlist.C (MenuWrite, QuitLyX):
359 lastfiles is no longer a global variable.
360 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
362 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
363 static function. Access through LyX::cref().emergencyCleanup().
365 2003-10-14 André Pönitz <poenitz@gmx.net>
367 * iterators.[Ch]: new direct access to innermost LyXText and Inset
369 * undo.[Ch]: restoring part of 'undo in insets'
372 * undo_funcs.[Ch]: merge with undo.[Ch]
374 * tabular.C: small cleansing stuff
376 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
378 * paragraph_funcs.C (readParToken): report unknown insets as error
379 boxes. Use the outer paragraph as location (also for unknown
382 * factory.C (readInset): do not abort on reading an unknown inset.
385 2003-10-13 Angus Leeming <leeming@lyx.org>
387 * lyx_main.C (LyX): remove call to setDisplayTranslator().
389 * lyxrc.C: displayTranslator is now a function,
390 declared in GraphicsTypes.h.
392 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
394 * format.C: new placeholder $$a to pass the socket address.
396 * bufferlist.[Ch]: new function getBufferFromTmp.
398 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
399 files in the temporary dir.
401 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
403 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
405 * Makefile.am: add lyxsocket.[Ch].
407 * lyx_main.C (error_handler): handle SIGPIPE.
409 2003-10-13 André Pönitz <poenitz@gmx.net>
411 * BufferView_pimpl.C:
416 * undo_funcs.[Ch]: use paroffset_type instead of
417 ParagraphList::iterators to prevent multiple conversion
418 (and get a more robust interface)
420 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * lyxfunc.C (dispatch): RESULT -> dispatch_result
424 * text3.C (dispatch): ditto
426 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
428 * LaTeX.C (handleFoundFile): move the static to smaller scope,
429 move the onlyfile, use onlyfile instead of foundfile in a couple
432 * DepTable.C (update): flush the error stream a bit more
434 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
436 * lyxserver.C (callback): adjust
438 * lyxfunc.C (getStatus): add a missing brace in commented code
439 (ensureBufferClean): reindent
440 (dispatch): delete version taking a string
442 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
444 * LaTeX.C (deplog): move found file handlig from here...
445 (handleFoundFile): .. to new function here.
446 (deplog): make sure to discover several files mentioned on the
449 2003-10-10 André Pönitz <poenitz@gmx.net>
456 * text3.C: fix some of the tabular crashes
458 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
460 * MenuBackend.C (binding): put debug message into Debug::KBMAP
462 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
464 2003-10-09 André Pönitz <poenitz@gmx.net>
466 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
469 * BufferView_pimpl.C:
470 * bufferview_funcs.C:
481 * undo_funcs.C: adjust
483 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
485 * text2.C (incrementItemDepth): new function, use a backtracking
486 algorithm to discover the correct item depth.
487 (resetEnumCounterIfNeeded): new function, use a backtracking
488 algorithm to discover if counter reset is needed.
489 (setCounter): use them. Simplify a bit. Add different labels for
490 different item depths for itemize.
492 * paragraph.C (Paragraph): remove initialization of enumdepth
495 * paragraph.h: get rid of enumdepth, and use itemdepth both for
496 enumerate and itemize. Change the type of itemdepth to signed char.
498 2003-10-08 André Pönitz <poenitz@gmx.net>
500 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
505 * tabular.[Ch]: fix crash after 'row-insert'
507 2003-10-08 Angus Leeming <leeming@lyx.org>
509 Fix doxygen warnings.
511 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
512 Remove CutAndPaste:: prefix from header file declaration.
514 * LColor.h (fill): remove LColor:: prefix from declaration.
516 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
517 use lyx::depth_type rather than Paragraph::depth_type so that
518 header file and .C file match.
520 * converter.h (intToFormat): remove Converters:: prefix from declaration.
522 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
523 * aspell.C: \file aspell_local.C -> \file aspell.C
524 * gettext.C: \file gettext.C -> \file src/gettext.C
525 * gettext.h: \file gettext.h -> \file src/gettext.h
526 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
527 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
528 * text.C: \file text.C -> \file src/text.C
530 * toc.C: move comment so that doxygen is not confused.
532 2003-10-07 Angus Leeming <leeming@lyx.org>
534 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
536 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
539 * aspell_local.h: add forgotten std::string's.
541 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
548 * text3.C: The Box patch. Fancybox support, minipage, parbox
550 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
556 * ParagraphParameters.h:
566 * lyxtextclasslist.h:
570 * textcursor.h: add <string> and other small fixes to make Lars'
571 std::string patch compile with STLport.
573 2003-10-06 Angus Leeming <leeming@lyx.org>
575 * LColor.h: Add missing #include <string>.
577 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * All most all file in all subdirs: Make <string> be the prefered
580 way of getting to std::string, add using declarations.
582 2003-10-06 André Pönitz <poenitz@gmx.net>
584 * metricsinfo.C: initialize LyXFont before changing attribute.
585 (fixes the 'math in \emph is upright' bug)
587 2003-10-06 André Pönitz <poenitz@gmx.net>
589 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
591 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
594 * paragraph_pimpl.C: Small fixes to build using STLport
596 2003-10-02 André Pönitz <poenitz@gmx.net>
599 * text3.C: move handling of LFUN_DEPTH *; fix #1360
601 2003-10-01 André Pönitz <poenitz@gmx.net>
603 * factory.C: assert early
605 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * lyx_main.C: remove the global debug object
609 * debug.h: adjust for new debugstream
611 * debug.C: adjust for new debugstream and keep the global debug
614 2003-09-22 Angus Leeming <leeming@lyx.org>
616 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
617 of g++ which otherwise complain that the scoped_ptr destructor can't delete
618 an incomplete class LyXFont.
620 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
622 * factory.C: bug fix in branches
624 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
626 * lyxfunc.C (processKeySym): adjust
628 (dispatch): change arg name from ev to func, adjust
629 (sendDispatchMessage): ditto
631 * lyx_main.C (defaultKeyBindings): adjust keybindings
632 (deadKeyBindings): ditto
634 * kbsequence.C (addkey): return a FuncRequest
636 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
638 * kbmap.C (bind): take a FuncRequest as arg, adjust
641 (defkey): change to take a FuncRequest as arg, adjust
642 (findbinding): take a FuncRequest as arg, adjust.
644 * funcrequest.h (operator=): added
646 * funcrequest.C (FuncRequest): default kb_action changed from
647 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
649 * buffer.C (dispatch): simplify
650 (dispatch): adjust to take a FuncRequest as arg, adjust
652 * boost.C (assertion_failed): change assertion message slightly
654 * ToolbarBackend.C (read): simplify
656 * MenuBackend.C (binding): adjust call to findbinding, add a
657 message if no binding is found.
659 (expandToc): correct by adding a empty FuncRequest
661 * LyXAction.C: include <boost/assert.hpp>
662 (isPseudoAction): delete function
663 (LookupFunc): change name to...
664 (lookupFunc): this. change return type to FuncRequest.
665 (getActionName): take kb_action as arg, simplify
666 (funcHasFlag): add an assert, simplify.
668 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
670 * toc.C (action): return a FuncRequest, simplify
672 * lyxfunc.C (processKeySym): adjust
673 (getStatus): delete version that takes an int.
675 (dispatch): delete version that takes action as int
677 (sendDispatchMessage): simplify and adjust
679 * funcrequest.C (getArg): take unsigned int as arg
681 * ToolbarBackend.C (read): adjust
682 (add): delete version that takes func as a string.
683 (getIton): take a FuncRequest as arg
685 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
688 * MenuBackend.C (MenuItem): add a new construct that only takes a
689 Kind, simplify the constructor use for submenus.
691 (expandLastfiles): adjust
692 (expandDocuments): adjust
693 (expandFormats): adjust
694 (expandFloatListInsert): adjust
695 (expandFloatInsert): adjust
696 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
698 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
699 Remove class variables lyx_pseudo_map and lyx_arg_map
701 * LyXAction.C (searchActionArg): delete function
702 (getPseudoAction): delete function
703 (retrieveActionArg): delete function
704 (LookupFunc): make it return kb_action, simplify.
705 (getActionName): simplify
707 * factory.C (createInset): fix new bug
709 2003-09-19 Angus Leeming <leeming@lyx.org>
711 * CutAndPaste.C (pasteSelection): remove fudge used to set the
712 masterFilename_ parameter in the include inset.
714 * factory.C (createInset): changes due to the changes to InsetInclude.
716 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
718 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
720 2003-09-18 Angus Leeming <leeming@lyx.org>
723 * BufferView.C: pass the buffer when calling Inset::getLabelList,
724 Inset::fillWithBibKeys.
725 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
727 2003-09-18 Angus Leeming <leeming@lyx.org>
729 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
731 (ctor): pass and store a 'Buffer const &'
732 (buffer): new member function.
734 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
735 '*this' to the LaTeXFeatures ctor.
737 2003-09-18 Angus Leeming <leeming@lyx.org>
743 * text.C: rename EnumLColor as LColor_color.
745 2003-09-18 Angus Leeming <leeming@lyx.org>
747 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
748 remove #include "insets/insetbase.h" from cursor.h.
750 2003-09-18 Angus Leeming <leeming@lyx.org>
752 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
753 InsetOld_code to remove #include "inset.h".
755 * iterators.C: add #include "insets/inset.h"
757 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
759 * BufferView.C: remove more locking stuff that apparently doesn't
760 do anything sensible.
762 2003-09-16 André Pönitz <poenitz@gmx.net>
765 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
768 2003-09-16 Angus Leeming <leeming@lyx.org>
770 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
772 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
775 * paragraph.h: remove #include "lyxfont.h". Forward declare
778 2003-09-16 Angus Leeming <leeming@lyx.org>
780 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
781 of support/textutils.h.
782 (isWord): move the contents of support/textutils.h's IsWordChar here.
788 * text2.C: add #include "paragraph.h".
791 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
793 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * LaTeX.C: use namespace alias for lyx::support::os
801 2003-09-16 Angus Leeming <leeming@lyx.org>
804 * bufferview_funcs.C:
809 * text.C: add #include "LColor.h".
811 2003-09-16 Angus Leeming <leeming@lyx.org>
813 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
814 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
816 Store the FontBits::color variable as an int rather than as an
817 LColor::colorso that we can move LColor.h out of the lyxfont.h header
820 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
821 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
822 string calls together.
824 * lyxrc.C: add #include "LColor.h".
826 2003-09-15 Angus Leeming <leeming@lyx.org>
828 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
831 2003-09-15 Angus Leeming <leeming@lyx.org>
833 * LColor.h: add an EnumLColor wrapper for LColor::color.
835 * lyxfont.[Ch] (color, setColor, realColor):
836 * lyxtext.h, text.C (backgroundColor):
837 pass EnumLColor args to/from the functions, rather than LColor::color
841 * lyxtext.h: forward declare EnumLColor.
843 * lyx_main.C: add #include "LColor.h".
845 2003-09-15 Angus Leeming <leeming@lyx.org>
847 * .cvsignore: add lyx-gtk.
849 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
854 * ParagraphParameters.C
868 * vc-backend.C: remove usage of STRCONV
870 2003-09-15 Angus Leeming <leeming@lyx.org>
872 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
873 explicitly define the color passed to the painter.
875 2003-09-15 Angus Leeming <leeming@lyx.org>
877 * bufferparams.C (BufferParams): reorder member initializers to avoid
880 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
882 * CutAndPaste.C (pasteSelection): remove an outdated #warning
883 * text.C (updateRowPositions): remove an unusual nop
885 2003-09-12 André Pönitz <poenitz@gmx.net>
887 * BufferView_pimpl.C:
896 * Counters.[Ch]: finish the 'automatic counters' job
898 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
900 * aspell.C: include <boost/assert.cpp> (compile fix)
902 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
904 * boost.C (assertion_failed): use lyx::support::abort instead of
907 2003-09-10 Angus Leeming <leeming@lyx.org>
909 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
910 with their _fwd progeny.
912 2003-09-09 Angus Leeming <leeming@lyx.org>
914 134 files throughtout the source tree: replace 'using namespace abc;'
915 directives with the appropriate 'using abc::xyz;' declarations.
917 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
919 * boost.C (emergencyCleanup): moved here from LAssert.c
920 (assertion_failed): new function, called by BOOST_ASSERT
922 * several files: change Assert to BOOST_ASSERT
924 2003-09-09 Angus Leeming <leeming@lyx.org>
926 * buffer.[Ch]: Add an Impl class and move Buffer's member
927 variables into it. As a result move several header files out of
930 Add header files to lots of .C files all over the tree as a result.
932 2003-09-09 Angus Leeming <leeming@lyx.org>
934 * buffer.[Ch]: make Buffer's member variables private. Add
937 Lots of changes all over the tree as a result.
939 2003-09-08 Angus Leeming <leeming@lyx.org>
941 * graph.C: #include <config.h>.
943 2003-09-08 Angus Leeming <leeming@lyx.org>
947 * BufferView_pimpl.C:
976 * toc.C: remove redundant using directives.
978 2003-09-07 Angus Leeming <leeming@lyx.org>
980 * LaTeXFeatures.h: remove #include "support/types.h".
981 * ToolbarBackend.h: remove #include <algorithm>.
982 * changes.h: remove #include <ctime>.
983 * debug.h: remove #include <iosfwd>.
984 * graph.h: remove #include "support/std_string.h".
985 * lyx_main.h: remove #include <csignal>.
986 * lyxlex_pimpl.h: remove #include <fstream>.
987 * sgml.h: remove #include <algorithm>, <utility>.
988 * toc.h: remove #include "support/std_ostream.h".
989 Add #include <iosfwd>.
991 2003-09-07 Angus Leeming <leeming@lyx.org>
993 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
995 * converter.h: forward declare LatexRunParams.
996 * encoding.h: remove #include "lyxrc.h".
997 * lyxtext.h: remove #include "LColor.h".
998 * lyxtextclass.h: remove #include "support/types.h".
999 * trans.h: remove #include "tex-accent.h".
1000 * trans_mgr.h: remove #include "tex-accent.h".
1001 * insets/inset.h: remove #include "support/types.h", <vector>.
1002 * insets/insetcollapsable.h: remove #include "LColor.h".
1003 * insets/insetinclude.h: remove #include "dimension.h".
1004 * insets/insetlatexaccent.h: remove #include "dimension.h".
1005 * insets/insetoptarg.h:: remove #include "insettext.h".
1006 * insets/insettext.h: remove #include "dimension.h",
1007 <boost/shared_ptr.hpp>
1009 * insets/renderers.h: add #include "dimension.h".
1010 * insets/updatableinset.h: add #include "support/types.h".
1012 * many .C files: Associated changes.
1014 2003-09-06 Angus Leeming <leeming@lyx.org>
1016 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1017 one, inside testInvariant.
1019 * PrinterParams.C: new file.
1020 * PrinterParams.[Ch]: move the function bodies out of line.
1022 2003-09-06 Angus Leeming <leeming@lyx.org>
1024 * ParagraphParameters.h: forward declare ParameterStruct rather than
1025 including its header file.
1026 (depth): moved out-of-line.
1028 2003-09-06 Angus Leeming <leeming@lyx.org>
1030 * BufferView_pimpl.h:
1033 * lyxfunc.h: forward declare LyXKeySym rather than
1034 #include "frontends/LyXKeySym.h".
1036 * BufferView_pimpl.C:
1039 * lyxfunc.C: associated changes.
1041 2003-09-06 Angus Leeming <leeming@lyx.org>
1043 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1044 As a result, can remove the #include "insets/inset.h" from BufferView.h
1046 2003-09-06 Angus Leeming <leeming@lyx.org>
1048 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1049 As a result, can remove the #include "insets/inset.h" from BufferView.h
1051 2003-09-06 Angus Leeming <leeming@lyx.org>
1057 * bufferview_funcs.C:
1058 * BufferView_pimpl.C:
1063 * ParagraphParameters.C:
1068 * frontends/controllers/ControlDocument.C:
1069 * insets/insetcaption.C: rearrange the #includes into some sort of
1072 * buffer.h: remove #includes ErrorList.h, undo.h
1074 2003-09-06 Angus Leeming <leeming@lyx.org>
1076 * support/types.h: add a 'depth_type' typedef, used to store the
1077 nesting depth of a paragraph.
1080 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1081 defining explicitly.
1084 * paragraph_funcs.h:
1085 * ParagraphParameters.h:
1086 * sgml.h: use lyx::depth_type rather than Paragraph or
1087 ParameterStruct's depth_type.
1090 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1093 * BufferView_pimpl.C:
1095 * ParagraphParameters.C:
1098 * bufferview_funcs.C:
1105 * frontends/LyXView.C:
1106 * frontends/controllers/ControlDocument.C:
1107 * frontends/controllers/ControlErrorList.C:
1108 * insets/insetbibitem.C:
1109 * insets/insetbranch.C:
1110 * insets/insetcaption.C:
1111 * insets/insetcollapsable.C:
1112 * insets/insetenv.C:
1113 * insets/insetert.C:
1114 * insets/insetfloat.C:
1115 * insets/insetfoot.C:
1116 * insets/insetfootlike.C:
1117 * insets/insetnewline.C:
1118 * insets/insetquotes.C:
1119 * insets/insettabular.C:
1120 * insets/insettext.C:
1121 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1123 * frontends/controllers/ControlChanges.C: #include "changes.h".
1125 2003-09-06 Angus Leeming <leeming@lyx.org>
1127 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1128 than #including paragraph.h.
1131 * RowList.h: deleted. Superfluous.
1141 * insets/insettext.h: use ParagraphList_fwd.h rather than
1144 * paragraph.h: don't forward declare ParagraphList.
1147 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1148 rather than ParagraphList.h. paragraph.h is still needed for the
1149 Paragraph::depth_type parameters.
1151 * textcursor.h: enable it to compile stand-alone in light of the
1154 * bufferview_funcs.C:
1166 * frontends/controllers/ControlParagraph.C:
1167 * frontends/controllers/ControlTabular.C:
1168 * insets/insetmarginal.C:
1169 * insets/insetminipage.C:
1170 * insets/insetnote.C:
1171 * insets/insetoptarg.C: add header files needed to compile again.
1173 2003-09-06 Angus Leeming <leeming@lyx.org>
1175 * RowList_fwd.h: new file, forward-declaring Row rather than
1176 #including lyxrow.h.
1181 * insets/insettext.h: use it instead of RowList.h
1183 * bufferview_funcs.C:
1190 * text3.C: #include "RowList.h".
1192 2003-09-05 Angus Leeming <leeming@lyx.org>
1194 * factory.C (createInset):
1195 * vspace.C (c-tor): replace sscanf call with an istringstream.
1196 * ispell.C: re-add missing HP/UX headers.
1197 * lyxserver.C: re-add missing os2 headers.
1199 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1208 * text3.C: re-add missing system headers, needed for 2.95.2.
1210 2003-09-05 Angus Leeming <leeming@lyx.org>
1212 Changes most place everywhere due to the removal of using directives
1213 from support/std_sstream.h.
1215 2003-09-05 Angus Leeming <leeming@lyx.org>
1217 Replace LString.h with support/std_string.h,
1218 Lsstream.h with support/std_sstream.h,
1219 support/LIstream.h with support/std_istream.h,
1220 support/LOstream.h with support/std_ostream.h.
1222 Changes resulting throughout the tree.
1224 2003-09-05 Angus Leeming <leeming@lyx.org>
1226 * sgml.h: ensure that the header file can be compiled stand-alone.
1227 * *.C: strip out redundant #includes. (320 in total.)
1229 2003-09-04 Angus Leeming <leeming@lyx.org>
1231 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1232 here (from getPackages).
1234 * debug.[Ch]: add a new EXTERNAL tag.
1236 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1238 * text2.C (cursorEnd): simplify
1240 (getColumnNearX): adjust
1242 * text.C (computeBidiTables): adjust
1245 * rowpainter.C (paintChars): adjust
1246 (paintSelection): adjust
1247 (paintChangeBar): adjust
1250 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1252 (numberOfSeparators): adjust
1254 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1260 * text3.C: Restricts the mouse click functionality
1261 of insets like bibtex, include, toc and floatlist to the visible
1262 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1263 up the dialogs. Cursor has to be in front of the inset (i.e.
1264 start of row) for this to function.
1266 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1268 * bufferview_funcs.C (currentState): output row information
1270 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1272 * bufferview_funcs.C (currentState): output paragraph position
1274 2003-09-04 Angus Leeming <leeming@lyx.org>
1276 * FloatList.h: move out #include "Floating.h".
1277 * LaTeX.h: move out #include "DepTable.h".
1278 * LyXAction.h: move out #include "funcrequest.h".
1279 * buffer.h: move out #include "author.h", "iterators.h".
1280 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1281 * lyx_main.h: move out #include "errorlist.h".
1282 * lyxfunc.h: move out #include "FuncStatus.h".
1283 * lyxtext: move out #include "lyxcursor.h".
1284 * paragraph_pimpl.h: move out #include "counters.h".
1286 2003-09-03 Angus Leeming <leeming@lyx.org>
1288 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1289 preamble_snippets list, enabling us to add snippets to the preamble
1290 only if the snippet was not there already.
1292 2003-09-04 Angus Leeming <leeming@lyx.org>
1294 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1296 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1298 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1301 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1303 * BranchList.C: point fix, earlier forgotten
1305 2003-09-02 Angus Leeming <leeming@lyx.org>
1307 * box.C (contains): renamed from 'contained' after a fantastic
1310 2003-09-02 John Levon <levon@movementarian.org>
1316 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1318 2003-09-02 John Levon <levon@movementarian.org>
1320 * text2.C: simplification of cursorEnd(), including partial
1323 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * buffer.C (readFile): add a space
1327 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1329 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1331 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * buffer.C (readFile): new function, take a filename and a
1334 ParagraphList::iterator
1336 (readFile): adjust, make it private. don't use setStream, make
1337 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1338 always contain the filename.
1340 * BufferView.C (insertLyXFile): simplify and make it work for
1343 2003-08-30 John Levon <levon@movementarian.org>
1345 * Makefile.am: fix dist (from Kayvan)
1347 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * most files: change to use const Buffer refs
1351 2003-08-27 André Pönitz <poenitz@gmx.net>
1353 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1354 on top of ownerPar().
1356 2003-08-27 John Levon <levon@movementarian.org>
1358 * funcrequest.C: properly initialise POD members
1360 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1362 * lyxtext.h (top_y): move top_y from here
1367 * BufferView_pimpl.[Ch]: to here
1368 * frontends/screen.C:
1369 * insets/insettabular.C:
1370 * insets/insettext.C: adjust
1371 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1373 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1376 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1378 2003-08-26 André Pönitz <poenitz@gmx.net>
1380 * paragraph_func.[Ch] (outerPar): new function
1383 * paragraph_funcs.C:
1384 * paragraph_funcs.h:
1385 * paragraph_pimpl.C:
1386 * text2.C: remove Inset::par_owner
1388 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1393 * text2.C: eliminates the needFullRow/display() stuff
1394 altogether, putting the logic in metrics/draw in the insets.
1396 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1398 * text2.C (redoParagraphInternal, redoParagraphs):
1399 * text.C (redoParagraph): add a call to updateRowPositions at the
1400 end of each 'metrics-like' call. Remove all others.
1401 (getRow): remove the 'y-computing' version.
1402 (getRowNearY): do not compute nor return the real y. Solve the
1403 'y < 0' problem and simplify.
1405 2003-08-22 Angus Leeming <leeming@lyx.org>
1407 * *.[Ch]: clean-up of licence and author blurbs.
1408 Also move config.h out of a few .h files and into a few .C files.
1410 2003-08-22 André Pönitz <poenitz@gmx.net>
1412 * lyxrow.[Ch]: add x_ and *fill_ members
1417 * text2.C: adjust/remove prepareToPrint() calls
1419 2003-08-22 André Pönitz <poenitz@gmx.net>
1421 * lyxrow.[Ch]: add end_ member
1423 * lyxrow_funcs.C: use LyXRow::end_
1425 * lyxtext.h (singleWidth): add LyXFont parameter
1428 * text2.C: adjust LyXText::singleWidth() calls
1430 * text.C (redoParagraph): simplify row breaking logic
1433 2003-08-19 André Pönitz <poenitz@gmx.net>
1435 * funcrequest.C: initialize button_ member
1438 * rowpainter.[Ch]: interface consolidation
1440 2003-08-18 André Pönitz <poenitz@gmx.net>
1443 * BufferView_pimpl.C:
1445 * paragraph_funcs.C:
1447 * text3.C: remove LyXScreen::draw() and fitCursor calls
1449 * BranchList.h: remove spurious semicolons
1451 * MenuBackend.C: fix branchlist related crash
1453 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1461 * bufferparams.[Ch]:
1465 * text3.C: implements the 'branch inset'
1466 idea. This allows the output of various versions of a document
1467 from a single source version, selectively outputing or suppressing
1468 output of parts of the text.
1469 This implementation contains a 'branch list editor' in a separate
1470 tab of the document settings dialog. Branches are user definable
1471 and have a "display colour" to distinguish them on-screen.
1473 ColorHandler was somewhat cleaned up.
1474 (1) make possible a dynamically growing LColor list by allowing
1475 the graphic context cache to grow along (vector);
1476 (2) eliminate an IMHO unnecessary step in colour allocation.
1478 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1480 * BufferView_pimpl.C: compile fix
1482 2003-08-15 André Pönitz <poenitz@gmx.net>
1484 * rowpainter.C: remove extra metrics calls
1486 * lyxtext.h: merge the two constructors into a single one,
1487 pass reference to owner's par list
1489 * BufferView_pimpl.C:
1493 2003-08-15 André Pönitz <poenitz@gmx.net>
1495 * lyxrow_funcs.[Ch]:
1498 * paragraph_funcs.C:
1503 * text_funcs.C: split LyXText::rowlist_ into individual
1504 Paragraph::rows_ chunks
1507 * BufferView_pimpl.[Ch]:
1510 * text3.C: remove toggleSelection()
1512 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1514 * bufferlist.C: beautify two alerts (shorter text of buttons)
1515 * buffer.C: Remove redundant ' ' from message
1517 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1518 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1519 rename VALIGN_CENTER to VALIGN_MIDDLE
1521 2003-08-11 André Pönitz <poenitz@gmx.net>
1523 * lyxtext.h (getPar):
1524 * text.C: new function
1526 2003-08-11 André Pönitz <poenitz@gmx.net>
1529 * tracer.[Ch]: remove unneeded files
1531 * InsetList.[Ch]: remove resizeInsetsLyXText()
1536 * text3.C: merge insertParagraphs() and appendParagraph()
1537 remove breakAgain(), update()
1539 * BufferView_pimpl.[Ch]:
1540 * bufferview_funcs.[Ch]:
1544 * tabular.C: adjust after text & InsetList changes.
1546 2003-08-08 André Pönitz <poenitz@gmx.net>
1548 * text.C (insertChar, backspace): replace rowlist fiddling
1549 with rebreak of full par
1552 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1553 checkParagraph, updateInset): removed
1555 2003-08-07 André Pönitz <poenitz@gmx.net>
1558 * text3.C: merge some LFUN handlers, remove dead code
1560 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1564 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1566 * text2.C (DEPM): fix part of bug 1255 and 1256
1568 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * BufferView_pimpl.C (workAreaDispatch): change to use
1571 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1572 that are no mouse related.
1574 2003-08-05 André Pönitz <poenitz@gmx.net>
1577 * BufferView_pimpl.[Ch]:
1578 * bufferview_funcs.C:
1580 * text3.C: rip out "deep update"
1582 * textcursor.[Ch] (last_sel_cursor): remove unused member
1584 2003-08-04 André Pönitz <poenitz@gmx.net>
1587 * BufferView_pimpl.[Ch]:
1588 * ParagraphParameters.C:
1589 * bufferview_funcs.C:
1595 * text3.C: replace "complicated" BufferView::update(...) calls with
1598 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1600 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1602 * Makefile.am (lyx_SOURCES): add paper.h
1604 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1606 * Makefile.am: move things around so that both lyx-qt and
1607 lyx-xforms can be built (according to --with-frontend). Then lyx
1608 is a symbolic link to lyx-[firstfrontend]
1610 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1612 * Always use std::endl with lyxerr
1614 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1616 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1618 2003-08-01 André Pönitz <poenitz@gmx.net>
1621 * BufferView_pimpl.[Ch]:
1623 * text3.C: merge BufferView::repaint() and BufferView::update()
1625 2003-08-01 José Matos <jamatos@lyx.org>
1627 * buffer.[Ch]: file_format is no longer a buffer data element.
1629 2003-08-01 André Pönitz <poenitz@gmx.net>
1634 * text2.C: make redoParagraph more independent of current cursor
1636 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1638 * text2.C: remove unneeded members
1640 2003-07-30 André Pönitz <poenitz@gmx.net>
1642 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1644 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1645 create a single function...
1647 * paragraph_funcs.C (moveItem): ... here.
1650 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1652 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1654 * LColor.[Ch]: Add comment and greyedout logical colors.
1656 2003-07-30 André Pönitz <poenitz@gmx.net>
1658 * tabular.C: don't use Assert too heavily. This crashes where it
1661 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1663 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1664 is disabled (bug 1232)
1666 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1668 * factory.C: limited 'arg' scope
1670 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1672 * factory.C: fixed Note submenu issues
1674 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1676 * factory.C: submenu for Note/Comment/Greyedout
1678 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1681 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1683 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1686 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1687 greyedout. Patch provided by Jürgen Spitzmüller.
1689 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * kbmap.C (read): fix error message when reading bind files
1693 2003-07-29 Angus Leeming <leeming@lyx.org>
1695 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1696 certainly does not do what it purports to do. I am doing it, and
1697 us, a favour by killing it.
1699 2003-07-28 José Matos <jamatos@lyx.org>
1701 * buffer.C (readBody, do_writeFile):
1702 * paragraph.C(readParagraph): \end_document replaces \the_end.
1704 2003-07-29 André Pönitz <poenitz@gmx.net>
1707 * BufferView_pimpl.[Ch]:
1711 * textcursor.[Ch]: remove toggleToggle & Co
1713 2003-07-28 José Matos <jamatos@fep.up.pt>
1715 * buffer.C (readParagraph):
1716 * params_func (readParToken, readParagraph):
1717 * paragraph.C (write): \layout -> \begin_layout.
1719 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * lyxlex_pimpl.C (setFile): clean up slightly.
1723 * bufferparams.h: add compressed var
1725 * buffer_funcs.C (readFile): adjust for LyXLex change
1726 (newFile): ditto + simplify
1728 * buffer.C (writeFile): handle writing of compressed files
1730 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1731 Check if the file is compressed and set a bufferparm if so.
1733 * Makefile.am (lyx_LDADD): remove explicit -lz
1735 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1737 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1738 makeDocBookFile): put the real LyX version in the first line of
1742 * version.C.in: remove lyx_docversion
1744 * tabular.C (write_attribute): add a template-based version to
1745 write enums properly
1747 2003-07-28 André Pönitz <poenitz@gmx.net>
1752 * text3.C: use doubles again for x-coordinates. They are needed.
1754 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1756 * messages.C (getLocaleDir): use lyx_localedir()
1758 * lyxlex_pimpl.C (setFile): compress stuff
1760 * buffer.C (writeFile): add some compression stuff
1761 (do_writeFile): new func, dont call expliti close... will this
1764 * Makefile.am (lyx_LDADD): add -lz
1766 2003-07-28 José Matos <jamatos@fep.up.pt>
1768 * buffer.C: increment file format.
1769 * paragraph_funcs (readParagraph, readParToken):
1770 * paragraph.C (readParagraph): add \end_layout.
1772 2003-07-27 Angus Leeming <leeming@lyx.org>
1774 * Makefile.am: remove special casing for configure-time setting of
1775 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1777 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1778 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1780 2003-07-26 André Pönitz <poenitz@gmx.net>
1782 * paragraph_func.[Ch]:
1783 * paragraph.C (realizeFont): inline it whereever it is used
1788 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1791 2003-07-26 André Pönitz <poenitz@gmx.net>
1795 * text2.C: get rid of LyXText::need_break_row
1797 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * toc.[Ch]: put namespace toc inside namespace lyx
1801 * MenuBackend.C (expandToc2): adjust for lyx::toc
1804 * lyxfunc.C (dispatch): adjust for lyx::find
1806 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1807 lyx::find instead. Reorganize a bit.
1808 (LyXReplace): rename to replace
1809 (LyXFind): rename to find
1811 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1814 2003-07-26 André Pönitz <poenitz@gmx.net>
1816 * text.C (setHeightOfRow): restrict scope of temporary variable
1818 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1819 code (never has been used?)
1821 2003-07-27 Asger Alstrup <alstrup@local>
1823 * text.C (fill): Optimise algorithm to exploit that we can reuse
1824 the LyXFont for many characters.
1825 (setHeightOfRow): Same thing.
1826 (rowBreakPoint): Same thing.
1828 2003-07-26 Asger Alstrup <alstrup@local>
1830 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1832 * text.C (singleWidth): Spurious font copying in hot-spot
1833 singleWidth avoided. Reorder tests for arabic for efficiency.
1835 * text.C (fill): handle empty paragraphs better.
1837 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1840 * encoding.h: add includes
1842 * lyxrc.C: remove reading of bind files
1844 * lyx_main.C (init): setup bindings and menus only if we have a
1847 * kbmap.C (read): new method. Do the actual reading of bind
1850 * converter.C (dvipdfm_options):
1853 (output): adapt PAPER_* enums.
1855 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1857 * bufferparams.h: remove paper-related enums from there
1859 * paper.h: New file. A trivial header file to hold paper-related
1860 enums. It should later expand to contain many paper-related
1863 * lyxrc.C: declare extern displayTranslator
1865 2003-07-27 José Matos <jamatos@fep.up.pt>
1867 * tabular.[Ch] (linuxdoc): add support for tables and figures
1870 2003-07-27 José Matos <jamatos@fep.up.pt>
1872 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1873 consistency in both functions.
1874 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1876 2003-07-26 Asger Alstrup <alstrup@local>
1878 * rowpainter.C (paintRows): Change algorithm to work directly on
1879 the insets rather than asking every character in the document
1880 whether its an inset.
1882 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1884 * buffer.C (openFileWrite): factorize some code
1886 2003-07-26 Angus Leeming <leeming@lyx.org>
1889 * lyx_main.[Ch]: replace occurances of system_tempdir with
1892 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1894 * rename Inset to InsetOld
1896 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1898 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1899 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1900 which I think is a bit clearer. EDIT is gone, since it was
1901 premature optimisation, and broken for mathed anyway.
1902 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1903 with cursor positioning in insets as well (math insets still do not
1904 work, but that's a different story anyway.) It mysteriously
1905 crashes sometimes with undo in the first paragraph, but I'm fairly
1906 confident that this is a compiler bug.
1908 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * paragraph.C (Paragraph): adjust for new clone return type
1912 (copyIntoMinibuffer): ditto
1914 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1916 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1917 by not having a special case, and always doing a full rebreak of
1918 the document after undo.
1920 2003-07-23 Angus Leeming <leeming@lyx.org>
1922 * factory.C (createInset): InsetExternal::setParams now takes a
1925 2003-07-23 Angus Leeming <leeming@lyx.org>
1927 * factory.C (createInset): changed interface to the external and
1928 graphics mailers' string2params functions.
1930 2003-07-23 Angus Leeming <leeming@lyx.org>
1932 * factory.C (createInset): pass a
1933 Buffer const * parameter to InsetExternalMailer's string2params.
1935 2003-07-22 John Levon <levon@movementarian.org>
1937 * Thesaurus.h: include the right aiksaurus header
1939 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1941 * MenuBackend.C (expand): check menu shortcuts unconditionally
1943 2003-07-21 Angus Leeming <leeming@lyx.org>
1945 * factory.C (createInset): pass a
1946 buffer_path parameter to InsetGraphicsMailer's string2params.
1948 2003-07-21 Angus Leeming <leeming@lyx.org>
1950 * BufferView_pimpl.C (buffer):
1953 * lyxfunc.C (dispatch):
1954 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1955 rather than the grfx shortcut.
1957 2003-07-21 André Pönitz <poenitz@gmx.net>
1959 * rowpainter.C: remove unused variables
1962 * tabular_funcs.h: move to tabular.C
1963 * Makefile.am: adjust
1965 * tabular.[Ch]: basic optical cleaning
1967 * author.h: pass references, not values
1969 2003-07-18 André Pönitz <poenitz@gmx.net>
1977 * text3.C: two-phase drawing for InsetText and InsetTabular
1978 some float -> int changes.
1980 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1982 * lyx_main.C: fix the fix
1984 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1986 * lyx_main.C: fix a crash in batch mode if no files specified
1989 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1991 * format.[Ch] (papersize): moved to BufferParams
1992 * converter.[Ch] (dvips_options): moved to BufferParams
1993 (dvipdfm_options): moved to anon namespace
1994 * bufferparams.[Ch]: added above functions.
1996 2003-07-17 André Pönitz <poenitz@gmx.net>
2000 * text2.C: don't call inset->update() anymore
2002 * metricsinfo.[Ch]: add convenience constructor
2004 2003-07-16 André Pönitz <poenitz@gmx.net>
2009 * text2.C: replace the LyXCursor::irow_ member with
2010 on-demand computation of the value
2012 2003-07-16 John Levon <levon@movementarian.org>
2014 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2016 2003-07-15 André Pönitz <poenitz@gmx.net>
2019 * text2.C: remove no more needed refresh_row
2021 2003-07-15 André Pönitz <poenitz@gmx.net>
2026 * text3.C: refresh_status tristate -> need_update bool
2028 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2030 * lyxtext.h (init): remove reinit argument (act as if always true)
2031 * text2.C: adjust to that
2033 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2035 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2036 * text3.C: use it to delete selections in some cases
2037 (bugs 441, 673, 702, 954).
2039 2003-07-14 André Pönitz <poenitz@gmx.net>
2041 * rowpainter.[Ch]: reduce interface
2043 2003-07-14 André Pönitz <poenitz@gmx.net>
2045 * BufferView_pimpl.C:
2046 * text2.C: adjust after removing unused BufferView * argument
2048 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2050 * text2.C (init): fix a crash fired on resize
2052 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2054 * buffer.[Ch]: added new closing signal
2055 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2056 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2057 BufferView::Pimpl via the closing the signal
2059 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2061 * buffer.[Ch]: take out all bv-related from buffer
2063 * BufferView_pimpl.[Ch]: connect to new signals
2064 * CutAndPaste.C: removed useless asserts
2065 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2068 * lyxfunc.C: moved view-related funciontality from vc here
2069 * paragraph.C: removed outdated comments
2072 2003-07-10 André Pönitz <poenitz@gmx.net>
2074 * BufferView_pimpl.C:
2078 * text2.C: remove InsetText::InnerCache, clean up consequences
2080 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2082 * ispell.C: fix two typos in error messages
2084 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2086 * Extend Note inset to other forms of annotation like Comment
2087 and Greyedout. Right button click gives dialog.
2089 Files modified or added (+):
2093 * ControlNote.[Ch] +
2095 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2096 frontends/controllers
2100 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2102 * aspell.C: add missing namespace lyx::support
2104 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2106 * BufferView.[Ch] (newFile): Add
2107 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2108 * LaTeX.[Ch] (message): added this signal and use it
2109 * buffer.[Ch] (busy, message): added these signals and use them
2110 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2114 * importer.C: use buffer signals instead of direct bv calling
2115 * lyx_cb.[Ch] (ShowMessage): removed
2118 * paragraph_funcs.C:
2119 * text2.C: use buffer signals
2121 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2123 * introduce namespace lyx::graphics
2125 2003-07-02 André Pönitz <poenitz@gmx.net>
2127 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2129 2003-07-01 André Pönitz <poenitz@gmx.net>
2136 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2137 text*.C to text_func.C
2139 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * introduce namespace lyx::support
2143 2003-06-30 André Pönitz <poenitz@gmx.net>
2148 * text.C: re-enable --with-included-string
2150 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * textcursor.C: add <config.h>
2154 * text.C (getWord): remove const from word_location arg
2156 * lyxvc.C (getLogFile): fix const type order
2158 * lyxtext.h: remove const from word_location arg, add arg name
2160 * lyxlayout.h: currect type on labeltype.
2162 * importer.C: correct \file
2164 * converter.C (intToFormat): use std:: on ret val, ws changes
2166 * bufferlist.h: correct \file
2168 * buffer.C (makeLinuxDocFile): fix const type order
2169 (makeDocBookFile): ditto
2170 (fillWithBibKeys): use std:: on stdlib args.
2172 * CutAndPaste.C: fix authors.
2173 (availableSelections): use std:: on return vector
2175 2003-06-27 André Pönitz <poenitz@gmx.net>
2177 * BufferView_pimpl.C:
2178 * bufferview_funcs.C:
2186 * text3.C: remove LyXCursor::row_ member
2189 * text.C: rename fullRebreak() to partialRebreak() and implement
2190 a fullRebreak() that really bereks fully
2192 * textcursor.h: new struct for cursor-related data
2194 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2196 * lyx_main.C (LyX): get full path of document loaded on the
2199 2003-06-26 André Pönitz <poenitz@gmx.net>
2201 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2202 remove unused/broken operator>,<,>=.
2204 * text.C: remove only use of broken operator<= in an Assert().
2206 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2208 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2209 moved errorlist_.clear to showErrorList
2211 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2213 * converter.C (scanLog, runLaTeX):
2214 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2215 move the bv->showErrorList call to the callers
2216 * lyxfunc.C: i.e. here...
2218 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2219 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2220 namespace, the second to...
2221 * buffer_funcs (BufferFormat, parseErrors): added
2222 * errorlist.C (ErrorList(TeXErrors const &)): removed
2224 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2226 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2228 2003-06-24 "Garst R. Reese" <reese@isn.net>
2232 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2236 * version.C.in: change docversion to 1.4
2238 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2240 * buffer.C: fix a bug just introduced
2242 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2244 * buffer.[Ch]: added the parseError signal and use it, removed
2246 * BufferView.[Ch] (addError): moved to ...
2247 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2248 to the Buffer::parseError signal to catch (guess what) parse errors
2249 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2251 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2253 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2254 ability to create a buffer and to return an existing one from
2255 the list. Moved these functions to...
2256 * buffer_funcs.[Ch]: added
2257 * BufferView.[Ch] (loadLyXFile): added
2258 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2259 job removed from bufferlist::loadLyXFile.
2260 * buffer.C (setReadOnly): make it work without view
2261 (i.e added an if (users))
2263 2003-06-19 Angus Leeming <leeming@lyx.org>
2266 * LyXAction.C (init):
2267 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2268 with LFUN_DIALOG_SHOW <name> <data>.
2270 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2272 * CutAndPaste.C (availableSelections): small compilation fix for
2273 ancient (gcc 2.9x) compilers
2275 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * text3.C (cursorNext): add tmp var
2279 * text2.C (updateCounters): for function calling out of for clause
2280 (replaceSelectionWithString): ditto
2281 (insertStringAsParagraphs): ditto
2282 (getColumnNearX): add tmp var
2283 (setCursorFromCoordinates): add tmp var
2284 (cursorDownParagraph): add tmp var
2285 (deleteEmptyParagraphMechanism): add tmp var
2287 * text.C (insertChar): add tmp var
2289 * rowpainter.C (paintDepthBar): add tmp var
2291 * CutAndPaste.C (availableSelections): potentially check all
2292 paragraphs in a cut to fill the shown strings.
2294 2003-06-18 André Pönitz <poenitz@gmx.net>
2296 * kbmap.[Ch]: use vector<> instead of list<>
2298 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2300 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2301 pasteSelection with index
2303 * text2.C (pasteSelection): modify, call pasteSelection with index
2305 * paragraph.C (asString): reimplement version with no interval to
2306 call the one with interval.
2308 * lyxtext.h: add index arg to pasteSelection
2310 * MenuBackend.C (MenuItem): handle PasteRecent
2311 (Menu::read::Menutags): add md_pasterecent
2313 (expandPasteRecent): new function
2316 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2318 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2320 (availableSelections): new function
2322 2003-06-17 Angus Leeming <leeming@lyx.org>
2324 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2326 2003-06-17 Angus Leeming <leeming@lyx.org>
2329 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2331 * lyxfunc.C (dispatch): invoke it.
2333 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2335 * iterators.C (operator++, ParPosition): reintroduce some
2336 const_cast for the benefit of older compilers.
2338 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2340 * text3.C (dispatch): do not modify clipboard when doing
2341 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2342 LFUN_DELETE_SKIP on a selection selection
2344 2003-06-16 André Pönitz <poenitz@gmx.net>
2350 * tabular.[Ch]: IU of clone() and getLabelList();
2352 2003-06-13 André Pönitz <poenitz@gmx.net>
2354 * tabular.h: compactification
2356 2003-06-12 André Pönitz <poenitz@gmx.net>
2360 * tabular_funcs.h: some renaming plus whitespace
2362 2003-06-12 André Pönitz <poenitz@gmx.net>
2365 * BufferView_pimpl.C:
2371 * toc.C: Return a Paragraph & for ParIterator::operator*()
2373 2003-06-11 John Levon <levon@movementarian.org>
2377 * ToolbarBackend.C: add "Toolbars" section and
2380 2003-06-10 Angus Leeming <leeming@lyx.org>
2383 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2385 * lyxfunc.C (dispatch): invoke it.
2387 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2389 * main.C: protect <ios> with HAVE_IOS
2390 (main): protect sync_with_stdio with HAVE_IOS
2392 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2394 * text2.C (cutSelection): adjust
2395 (pasteSelection): adjust
2397 * messages.C: handle get of empty string
2399 * main.C (main): use sync_with_stdio(false)
2401 * lyxfunc.C (dispatch): adjust
2403 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2404 (WriteAs): remove unneeded BufferView arg.
2406 * bufferparams.h: use correct types on papersize, papersize2 and
2409 * bufferparams.C (readToken): adjust for type
2410 (writeLaTeX): add missing cases to switch.
2412 * bufferlist.C (quitWriteBuffer): adjust
2415 * buffer.C (asciiParagraph): remove some commented code.
2417 * CutAndPaste.C: remove current_view extern variable.
2418 (cutSelection): add BufferParams arg.
2419 (eraseSelection): add BufferParams arg.
2420 (pasteSelection): add Buffer const & arg
2422 2003-06-07 John Levon <levon@movementarian.org>
2425 * paragraph_funcs.C:
2426 * paragraph_pimpl.C:
2430 * paragraph.C: allow InsetERT to freely space lines,
2431 and some consolidation of code
2433 2003-06-06 José Matos <jamatos@fep.up.pt>
2435 * buffer.C (makeDocBookFile): fix bug #821
2437 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2439 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2441 2003-06-04 Angus Leeming <leeming@lyx.org>
2443 * buffer.C: bump format to 224.
2445 2003-06-05 André Pönitz <poenitz@gmx.net>
2447 * text2.C (redoParagraphs): remove two const_cast<>
2449 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2451 * ParagraphList.h: remove last remnants of NO_STD_LIST
2453 2003-06-03 Angus Leeming <leeming@lyx.org>
2455 * factory.C (createInset): small change to the way InsetExternal's params
2458 2003-06-04 André Pönitz <poenitz@gmx.net>
2460 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2462 * paragraph_pimpl.h:
2463 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2465 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2467 * undo_funcs.C: make some simple cases of undo work again
2469 2003-06-03 John Levon <levon@movementarian.org>
2471 * ispell.C: HPUX doesn't have sys/select.h
2474 2003-06-03 John Levon <levon@movementarian.org>
2476 * CutAndPaste.C: update tabular and include inset
2481 * paragraph.C: remove owningBuffer(), don't pass Buffer
2484 * factory.C: insetGraphicsParams changed
2486 2003-06-02 John Levon <levon@movementarian.org>
2492 * text3.C: remove insetparent
2494 2003-06-02 John Levon <levon@movementarian.org>
2497 * buffer.C: fix inset_iterator.end(), move out of line
2500 2003-06-01 John Levon <levon@movementarian.org>
2502 * text3.C: use a proper cut/paste when doing inset
2503 insert (from Jürgen Spitzmüller)
2505 2003-06-01 John Levon <levon@movementarian.org>
2507 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2509 2003-05-30 André Pönitz <poenitz@gmx.net>
2511 * rowpainter.C: unify second drawing phase
2513 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * trans_mgr.C: remove one case of current_view
2517 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2519 * paragraph_funcs.h: remove paragraph.h include
2521 * paragraph.h: delete NO_STD_LIST stuff
2523 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2525 * buffer.h: remove paragraph.h include
2527 * ParagraphList.C: delete file
2529 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2531 * toc.C (getTocList): adjust
2533 * paragraph_pimpl.C (validate): adjust
2535 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2537 * paragraph.C (Paragraph): adjust
2538 (getPositionOfInset): use const_iterator, adjust
2539 (bibitem): use const_iterator, adjust
2540 (setInsetOwner): adjust
2542 * iterators.C (operator++): adjust
2544 * InsetList.[Ch]: Replace selfmade iterator with standard
2545 vector::iterator also introduce const_iterator. Remove getPos,
2546 getInset and setInset from InsetTable. Adjust accordingly.
2548 * BufferView.C (lockInset): adjust
2549 (ChangeInsets): adjust
2551 * tabular.[Ch]: delete commented same_id functions
2553 2003-05-28 John Levon <levon@movementarian.org>
2555 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2557 2003-05-28 André Pönitz <poenitz@gmx.net>
2559 * metricsinfo.[Ch]: remove 'fullredraw' member
2561 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2563 * lyxtextclass.C (operator): remove caching.
2565 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2569 * text2.C (cursorBottom): adjust
2570 (setCounter): use ParagraphList::find, adjust
2572 * text.C (workWidth): use ParagraphList::find, adjust
2574 * lyxcursor.C (LyXCursor): adjust
2576 * buffer.C (inset_iterator): adjust
2578 * ParagraphList.h: make iterator(value_type) private, make
2579 ParagraphList a friend of iterator.
2581 * ParagraphList.C (find): new function
2583 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2585 2003-05-27 André Pönitz <poenitz@gmx.net>
2587 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2589 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2591 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2593 2003-05-26 John Levon <levon@movementarian.org>
2595 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2597 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * remove same_id from function signatures, adjust.
2601 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2605 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2607 * paragraph.C (Paragraph): get rid of same_ids parameter
2609 * ParagraphList.C (insert): adjust
2612 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2614 * paragraph_funcs.C (breakParagraph): adjust
2615 (breakParagraphConservative): adjust
2617 * buffer.C (readParagraph): adjust
2619 * ParagraphList.C (insert): take a reference instead of a pointer
2622 * paragraph.[Ch] (id): new function
2624 * bufferlist.C (newFile): adjust
2626 * ParagraphList.C (ParagraphList): adjust
2628 (push_back): take a reference instead of a pointer.
2630 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2632 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2635 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2636 set else use old code.
2638 * ParagraphList.C: remove all NO_NEXT code and only compile this
2639 code of NO_STD_LIST is set.
2641 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2643 * BufferView_pimpl.C:
2653 * graphics/GraphicsConverter.C:
2654 * graphics/PreviewLoader.C: header adjustment
2656 2003-05-23 Angus Leeming <leeming@lyx.org>
2658 * LaTeXFeatures.[Ch] (useBabel): new method.
2659 * bufferparams.C (writeLaTeX): use it.
2661 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * ParagraphList.h (set): remove unused function.
2665 2003-05-23 André Pönitz <poenitz@gmx.net>
2668 * BufferView_pimpl.C:
2672 * undo_funcs.C: setUndo reworked
2674 * iterators.[Ch]: add access to topmost ParagraphList
2676 * lyxtext.[Ch] (workWidth): add a const
2678 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2680 * texrow.[Ch] (increasePos): remove function
2681 * exporter.C (export): removed unused var and outdated comment
2683 2003-05-23 Angus Leeming <leeming@lyx.org>
2685 * latexrunparams.h: rename fragile as moving_arg.
2686 * paragraph.C (simpleTeXOnePar): ditto.
2687 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2689 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2691 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2693 (textUndoOrRedo): comment out a currently unused var.
2695 * paragraph.h (NO_NEXT): enable NO_NEXT
2697 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2699 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2701 * exporter.C (Export): adjust for removeAutoInsets removal.
2703 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2705 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2707 * BufferView.[Ch] (removeAutoInsets): delete function
2709 2003-05-22 Angus Leeming <leeming@lyx.org>
2711 * latexrunparams.h: add a free_spacing variable.
2713 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2714 to pass moving_arg, as the data is stored in runparams.fragile.
2716 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2717 to Inset::latexOptional or to simpleTeXOnePar.
2719 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2720 free_spacing arg to Inset::latexOptional.
2722 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2725 2003-05-22 Angus Leeming <leeming@lyx.org>
2727 * latexrunparams.h: add fragile and use_babel variables.
2729 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2730 * buffer.C (makeLaTeXFile): store this returned value in
2731 runparams.use_babel, thus passing it to the inset::latex methods.
2733 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2734 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2736 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2737 longer has a fragile arg, as it is stored in runparams.fragile.
2739 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2740 moving_arg parameter as the data is stored in runparams.fragile.
2742 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2743 a fragile parameter as the data is stored in runparams.fragile.
2745 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2749 2003-05-22 Angus Leeming <leeming@lyx.org>
2751 * latexrunparams.h: add a 'bool nice' which defaults to false.
2753 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2754 now encapsulated within runparams.
2756 * bufferlist.C (updateIncludedTeXfiles):
2757 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2759 2003-05-22 Angus Leeming <leeming@lyx.org>
2761 * latexrunparams.h: new file containing struct LatexRunParams.
2762 * Makefile.am: add new file.
2764 * LaTeX.[Ch] (c-tor, run):
2765 * buffer.[Ch] (makeLaTeXFile):
2766 * bufferlist.[Ch] (updateIncludedTeXfiles):
2767 * converter.C (convert, scanLog):
2768 * converter.[Ch] (runLaTeX):
2769 * exporter.C (Export):
2770 * paragraph.[Ch] (simpleTeXOnePar):
2771 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2772 * paragraph_funcs.[Ch] (latexParagraphs):
2773 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2774 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2775 pass around a LatexRunParams parameter.
2777 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * paragraph.[Ch]: remove unused constructor
2781 * ParagraphList.C (erase): new function, taking two iterators
2783 2003-05-22 André Pönitz <poenitz@gmx.net>
2785 * undo_funcs.C: remove duplicated code
2787 * iterator.[Ch]: operator=
2789 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2791 * tabular.C (SetMultiColumn): ws changes
2793 * rowpainter.C (paintFirst): get rid of a ->previous
2795 * lyx_cb.C (getPossibleLabel): parlist simplification
2797 * BufferView.C (ChangeInsets): simplify slightly.
2799 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2801 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2802 * lfuns.h: new LFUN_SPACE
2803 * lyxfunc.C: protected space has a new lfun
2804 * paragraph_funcs.C: read new space insets
2806 * factory.C: handle new space insets
2808 2003-05-22 André Pönitz <poenitz@gmx.net>
2811 * BufferView_pimpl.C:
2814 * undo_funcs.C: return a ParIterator from getParFromID.
2816 * iterators.[Ch]: add two const's
2818 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * toc.C (getTocList): adjust
2822 * iterators.[Ch]: rework for parlist
2824 * buffer.C (par_iterator_begin): adjust
2825 (par_iterator_end): adjust
2827 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2829 * BufferView.C (removeAutoInsets): adjust
2830 (ChangeInsets): adjust
2832 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2834 * text.C (top_y): fix bug 1110
2836 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2838 * errorlist.[Ch]: added
2841 * BufferView_pimpl.C:
2842 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2845 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * Makefile.am: ensure that lyx is relinked upon changes to the
2848 various "convenience" libs.
2850 2003-05-20 Angus Leeming <leeming@lyx.org>
2852 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2853 files are compiled in alphabetical order again.
2855 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2857 2003-05-19 Angus Leeming <leeming@lyx.org>
2859 * gettext.[Ch]: remove "char const * _(char const *)".
2861 2003-05-19 André Pönitz <poenitz@gmx.net>
2863 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2872 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2874 2003-05-19 André Pönitz <poenitz@gmx.net>
2878 * lyxtextclass.[Ch]:
2880 * paragraph_funcs.[Ch]:
2882 * text3.C: more insetenv work
2884 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2886 * ParagraphParameters.C (params2string): small bug fixed
2888 2003-05-16 André Pönitz <poenitz@gmx.net>
2891 * bufferview_funcs.C: patch from Kornel Benko to prevent
2892 crash when _(...) is called twice in a statement
2894 2003-05-16 André Pönitz <poenitz@gmx.net>
2901 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2903 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2905 * lyx_main.C (init): remove spurious static_cast
2907 2003-05-14 André Pönitz <poenitz@gmx.net>
2909 * BufferView.C: fix format string
2911 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2913 * BufferView.[Ch] (insertErrors): removed
2914 * BufferView.[Ch] (showErrorList): added
2915 * buffer.C (runChkTeX):
2916 * converter.C (scanLog): call showErrorList instead of inserterrors
2918 2003-05-13 André Pönitz <poenitz@gmx.net>
2920 * BufferView_pimpl.C:
2922 * bufferview_func.C:
2929 * tabular_funcs.h: tostr() from its own header
2931 * ParagraphParameters.C:
2936 * text3.C: STRCONV()
2938 2003-05-12 André Pönitz <poenitz@gmx.net>
2941 * BufferView_pimpl.C:
2945 * ParagraphParameters.C:
2949 * bufferview_funcs.C:
2962 * paragraph_funcs.C:
2966 * text3.C: boost::format -> bformat all over the place
2969 2003-05-09 André Pönitz <poenitz@gmx.net>
2971 * LColor.[Ch]: Pimpl the #include <map> away
2973 2003-05-09 John Levon <levon@movementarian.org>
2975 * bufferlist.C: never remove emergency saves
2977 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * Makefile.am: better lib building
2981 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2985 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2986 (simpleTeXSpecialChars): adjust
2987 (simpleTeXSpecialChars): adjust
2988 * paragraph.C (simpleTeXOnePar): adjust
2989 * buffer.C (makeLaTeXFile): adjust
2991 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2993 * text2.C (changeDepth): parlist cleanup
2994 (getColumnNearX): ditto
2996 * rowpainter.C (getLabelFont): parlist cleanup
2998 * bufferlist.C (newFile): parlist cleanup
3000 * CutAndPaste.C (eraseSelection): parlist cleanup
3002 * BufferView_pimpl.C (trackChanges): parlist cleanup
3005 * BufferView.C (lockInset): parlist cleanup.
3006 (ChangeInsets): ditto
3008 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * CutAndPaste.h: Update file header.
3012 * CutAndPaste.C: Update file header.
3013 Store the parts cut out of the Document in a limited_stack.
3014 (copySelection): adjust
3015 (pasteSelection): new function, takes the index in the limited stack.
3016 (nrOfParagraphs): adjust
3017 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3018 simplify error inset insertion.
3019 (checkPastePossible): adjust
3021 2003-05-06 John Levon <levon@movementarian.org>
3023 * text2.C: don't cast wrap inset to float
3025 2003-05-05 André Pönitz <poenitz@gmx.net>
3028 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3030 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3031 few naked Paragraph *.
3033 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3035 * bufferparams.C: Output warning if a document with missing
3036 TeX document class is loaded
3037 * exporter.C: Disable TeX exports if the document class is missing
3040 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3041 isTeXClassAvailable()
3043 2003-05-03 John Levon <levon@movementarian.org>
3046 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3047 explicit cursor show/hide
3049 * BufferView_pimpl.h:
3050 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3051 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3053 * lyxfunc.C: hide cursor before dispatching.
3058 * text3.C: remove explicit cursor hides
3060 2003-05-02 André Pönitz <poenitz@gmx.net>
3062 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3065 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3068 * text2.C: tiny whitespace
3070 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * undo_funcs.C: almost only ws changes.
3074 * ParagraphList.C (splice): just return if pl is empty.
3076 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * ParagraphList.C (splice): new function.
3080 * CutAndPaste.C (pasteSelection): use it
3082 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3084 * CutAndPaste.C (pasteSelection): remove the last next and
3085 previous from this file.
3087 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * CutAndPaste.C (pasteSelection): more clean up, user proper
3090 ParagraphList functions for pasteing.
3092 * ParagraphList.C (insert): new function, three arg insert
3094 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * ParagraphList.C (insert): new function, three arg insert
3098 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3101 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3105 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3109 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3112 (copySelection): clean up a bit.
3113 (pasteSelection): use make_pair
3115 * ParagraphList.C (ParagraphList): implement copy constructor
3116 (operator=): implement, base on copy constructor.
3119 * paragraph.C (erase): return a bool
3121 * paragraph_pimpl.C (erasePos): remove function, move contents...
3122 (erase): ... here. Return a bool.
3123 (erase): call erase instead of erasePos.
3125 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3127 * ParagraphList.h: define PitPosPair
3128 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3129 ParagraphList, fix a bug on pasting multiple pars
3130 * text2.C: change interface to C&P
3132 2003-04-30 André Pönitz <poenitz@gmx.net>
3134 * undo_func.C: revert part of yesterday's patch 2
3136 2003-04-30 John Levon <levon@movementarian.org>
3138 * LColor.C: s/tabular/table/
3140 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * text3.C (dispatch): do not convert iterator -> pointer
3143 * undo_funcs.C (setCursorParUndo): ditto
3144 * text_funcs.C (transposeChars): ditto
3146 * text2.C (setLayout): ws changes only
3148 * text.C (breakParagraph): do not convert iterator -> pointer
3150 (acceptChange): ditto
3151 (rejectChange): ditto
3156 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3159 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3161 * text3.C (gotoInset): YABG (yet another bad getChar)
3163 2003-04-29 André Pönitz <poenitz@gmx.net>
3165 * paragraph.h: make operator= private unimplemented as long as
3168 * ParagraphList.C: whitespace
3171 * paragraph_pimpl.[Ch]:
3172 * paragraph_funcs.C:
3174 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3177 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3179 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3181 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3182 * paragraph.[Ch] (erase):
3183 * paragraph_pimpl.[Ch] (erase): change return type and value
3184 * text2.C (cutSelection): some rework
3186 2003-04-28 John Levon <levon@movementarian.org>
3188 * bufferlist.C: changes for unsaved changes dialog
3190 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * bufferlist.C (newFile): set language (messages_) for new
3195 * buffer.C (readFile): ws changes only.
3197 2003-04-28 André Pönitz <poenitz@gmx.net>
3202 * BufferView_pimpl.C:
3203 * BufferView.C: getParFromID related ParagraphList::iterator changes
3205 2003-04-28 André Pönitz <poenitz@gmx.net>
3207 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3210 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3212 * messages.C: remove one more localedir class variable.
3214 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * messages.C (getLocaleDir): singleton generation function
3218 (Messages): add a default constructor.
3220 * main.C (main): do not setup localedir here, do not call
3223 * gettext.C (_): use it.
3224 (gettext_init): delete funciton
3226 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * gettext.C (getLyXMessages): new singleton generating function.
3230 * buffer.C (updateDocLang): adjust
3232 * Makefile.am (messages.o): add target
3233 (main.o): remove target
3235 2003-04-27 John Levon <levon@movementarian.org>
3240 * lyxvc.C: specify cancel button in Alert::prompt
3242 2003-04-26 John Levon <levon@movementarian.org>
3247 * LyXAction.C: add LFUN_INSET_SETTINGS
3249 * lyxfunc.C: don't enable tabular-feature when there's
3250 just any locking inset
3252 2003-04-26 John Levon <levon@movementarian.org>
3254 * bufferlist.C: re-add Cancel to buffer close question
3256 * lyxfunc.C: fix import UI a bit
3258 2003-04-25 John Levon <levon@movementarian.org>
3260 * gettext.C: remove the broken asserts for now
3262 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * messages.C: make case where setlocale cannot comply work better.
3266 * buffer.C (updateDocLang): new function
3267 (changeLanguage): use it
3270 * text2.C (setCounter): use B_ a bit.
3272 * lyxlayout.C (Read): be sure to trim the label strings.
3274 * messages.C (Messages): fix typo in comment
3276 * buffer.C (readFile): set message_ after file is loaded.
3277 (makeDocBookFile): remove double return
3278 (changeLanguage): reset message_ upon language change.
3279 (B_): new func, use this to get translated buffer strings.
3281 * main.C: add myself and Jean Marc as authors.
3283 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * messages.[hC]: pimplify Messages, and three different pimpls to be
3286 used in different circumstances.
3288 * gettext.[Ch]: change for use with new message code.
3290 2003-04-24 André Pönitz <poenitz@gmx.net>
3292 * factory.C: support for eqref
3294 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3296 * messages.[Ch]: add missing char
3298 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3300 * messages.[Ch]: New files
3302 2003-04-18 John Levon <levon@movementarian.org>
3306 * BufferView_pimpl.C:
3310 * text2.C: remove layout-copy/paste (bug 778)
3312 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3314 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3316 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3318 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3319 if they succeed. Act accordingly.
3321 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * text2.C (setCharFont): adjust
3324 (setCounter): adjust
3325 (insertStringAsLines): adjust
3327 * text.C (leftMargin): adjust
3328 (setHeightOfRow): adjust
3330 * rowpainter.C (paintFirst): adjust
3333 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3335 (isFirstInSequence): ditto
3336 (getEndLabel): ditto
3339 * paragraph.C (getParLanguage): comment out some hard stuff.
3341 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3343 (simpleDocBookOnePar): ditto
3344 (makeDocBookFile): use ParagraphList::iterator
3346 * CutAndPaste.C (pasteSelection): adjust
3348 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * text2.C (getFont): adjust
3351 (getLayoutFont): adjust
3352 (getLabelFont): adjust
3354 * paragraph_funcs.C (TeXOnePar): adjust
3356 * buffer.C (simpleLinuxDocOnePar): adjust
3357 (simpleDocBookOnePar): adjust
3359 * CutAndPaste.C (pasteSelection): adjust
3361 * BufferView.C (getEncoding): adjust
3363 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3365 2003-04-16 John Levon <levon@movementarian.org>
3367 * lyxfind.C: use parlist stuff for search/changes
3369 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3373 * text2.C (deleteEmptyParagraphMechanism): adjust
3375 * text2.[Ch] (ownerParagraph): delete func (both of them
3377 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3381 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3383 * ParagraphList.C: prepare for NO_NEXT
3385 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * text2.C (getFont): adjust
3388 (getLayoutFont): adjust
3389 (getLabelFont): adjust
3391 * paragraph.C (getFont): adjust
3392 (getLabelFont): adjust
3393 (getLayoutFont): adjust
3395 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3397 2003-04-15 John Levon <levon@movementarian.org>
3401 * lyx_main.C: handle Include in .ui files
3403 2003-04-15 John Levon <levon@movementarian.org>
3405 * MenuBackend.C: make the doc files length shorter
3408 * ToolbarBackend.C: handle toolbar placement flags,
3411 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3416 * paragraph_funcs.C (TeXOnePar): adjust
3418 * paragraph.C (getLabelFont): add outerfont arg, adjust
3419 (getLayoutFont): ditto
3420 (simpleTeXOnePar): adjust
3422 * paragraph_pimpl.C (realizeFont): delete func
3424 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3426 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3427 row argument, constify cur argument.
3429 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * text2.C (getFont): adjust
3432 (getLayoutFont): adjust
3433 (getLabelFont): adjust
3435 * paragraph_funcs.C (TeXOnePar): adjust
3436 (outerFont): new func...
3437 (realizeFont): ...moved out from here, changed this to facilitate
3440 * paragraph.C (getFont): take outerfont as arg, adjust
3441 (simpleTeXOnePar): add outerfont arg, adjust
3443 * buffer.C (simpleLinuxDocOnePar): adjust
3444 (simpleDocBookOnePar): adjust
3446 * CutAndPaste.C (pasteSelection): adjust
3448 * BufferView.C (getEncoding): adjust
3450 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * text2.C (setCharFont): adjust
3453 (setCounter): adjust
3455 * text.C (leftMargin): adjust
3456 (setHeightOfRow): adjust
3458 * rowpainter.C (paintFirst): adjust
3461 * paragraph_pimpl.C (realizeFont): adjust
3463 * paragraph.C (isFirstInSequence): move from here...
3464 * paragraph_funcs.C (isFirstInSequence): ...to here
3466 * paragraph.C (outerHook): move from here...
3467 * paragraph_funcs.C (outerHook): ...to here
3469 * paragraph.C (depthHook): move from here...
3470 * paragraph_funcs.C (depthHook): ...to here
3472 * paragraph.C (getEndLabel): move from here...
3473 * paragraph_funcs.C (getEndLabel): ...to here
3475 * text2.C (realizeFont): move from here...
3476 * paragraph_funcs.C (realizeFont): ...to here
3478 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3482 2003-04-14 Angus Leeming <leeming@lyx.org>
3484 * LColor.[Ch]: scrap LColor mathcursor.
3486 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3488 * lyxlex.[Ch] (text): delete function
3489 * trans.C (Load): adjust
3490 * paragraph_funcs.C (readParToken): adjust
3492 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3495 vector<char> instead of a char[].
3497 * lyxlex_pimpl.C (getString): adjust
3499 (lex): use getString
3503 * lyxlex.C (text): use pimpl_->getString()
3507 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3510 (makeFontEntriesLayoutSpecific): temp var for par.size()
3511 (setLayout): temp var for ownerParagraphs().end()
3512 (fullRebreak): temp var for rows().end()
3513 (selectionAsString): temp var for boost::next(startpit), realize
3514 that the while really is a regular for loop.
3515 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3516 setCursor in one place.
3517 (setParagraph): temp vr for ownerParagraphs().end()
3518 (updateCounters): make the while loop a for loop
3519 (cutSelection): temp var for ownerParagraphs().end()
3520 (updateInset): make the do {} while() a regular for loop
3521 (getCursorX): use temp vars
3522 (setCurrentFont): use temp vars
3523 (getColumnNearX): use temp vars
3525 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * text.C (transformChar): use temp var for getChar
3528 (computeBidiTables): use temp var for row->par()
3529 (fill): move temp vars for row->par() and pit->layout() earlier in
3531 (labelFill): use temp var for row->par()
3532 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3533 asc and desc, realize that pit never changes and that firstpit is
3534 just a duplicate and not needed. Exchange rit->par() with pit in a
3536 (breakAgain): use a temp var for boost::next(rit)
3537 (breakAgainOneRow): ditto
3538 (breakParagraph): use a temp var for rows().begin()
3539 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3540 (cursorRightOneWord): use temp var for cursor.par() and
3541 cursor.pos(), remove usage of tmpcursor.
3542 (cursorLeftOneWord): use temp var for cursor.par() and
3543 cursor.pos() only set cur at end of function.
3545 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3547 * text.C, text2.C: exchange all usage of Paragraph::next with
3548 boost::next(ParagraphList::iterator)
3550 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3552 * text2.C (cursorTop): simplify implementation
3553 (cursorBottom): ditto
3554 (setParagraph): use ParagraphList::iterator
3555 (setCurrentFont): adjust
3556 (getColumnNearX): adjust
3557 (cursorRight): adjust
3558 (cursorLeft): remove usage of Paragraph::previous
3559 (cursorUpParagraph): ditto
3560 (deleteEmptyParagraphMechanism): slight cleanup
3562 * text.C (isBoundary): take a Paragraph const & instead of a
3564 (addressBreakPoint): ditto
3565 (leftMargin): remove usage of Paragraph::previous.
3566 (setHeightOfRow): ditto
3567 (cursorLeftOneWord): ditto
3568 (selectNextWordToSpellcheck): ditto
3571 (breakParagraph): remove one usage of Paragraph::next
3572 (redoParagraph): ditto
3573 (acceptChange): ditto
3574 (insertChar): adjust
3575 (rowBreakPoint): adjust
3577 * bufferview_funcs.C (toggleAndShow): adjust
3579 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3581 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3582 methods to access it.
3584 * text.C: Added updateRowPositions to compute all row positions.
3585 Make top_y and getRowNearY() to use the cached y position
3587 2003-04-11 John Levon <levon@movementarian.org>
3589 * text.C (rowBreakPoint): reintroduce the labelEnd
3590 checks, code copied from the row fill stuff. Deep voodoo.
3592 * text.C (fill): add a comment and debugging for the
3595 2003-04-11 John Levon <levon@movementarian.org>
3597 * text.C: make sure fullrow insets get wrapped to the next line,
3598 even when they're in a manual label
3600 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * text2.C (insertParagraph): make it take ParagraphList::iterator
3604 (setLayout): make it return ParagraphList::iterator
3605 (redoParagraphs): ditto
3607 (checkParagraph): ditto
3609 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3611 * text2.C: adjust several funcs.
3612 (realizeFont): take a ParagraphList::iterator as arg.
3613 (getLayoutFont): ditto
3614 (getLabelFont): ditto
3615 (setCharFont): ditto
3617 * text.C: adjust several funcs.
3619 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3621 * text.C (selectNextWordToSpellcheck): don't accidentally
3624 2003-04-10 John Levon <levon@movementarian.org>
3626 * ToolbarBackend.C (getIcon): special handling for
3629 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3631 * text2.C (cursorRight): a getChar assert fixed
3633 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * text2.C (getFont): change to take a ParagraphList::iterator
3636 instead of Paragraph*
3637 Adjust several functions.
3639 * text.C (transformChar): change to take a ParagraphList::iterator
3640 instead of Paragraph*
3641 (singleWidth): ditto
3642 Adjust several functions.
3644 * rowpainter.C: adjust several functions
3645 * rowpainter.h:store a ParagraphList::iterator and not a
3649 2003-04-09 John Levon <levon@movementarian.org>
3654 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3655 and the "help" bits as well
3657 2003-04-09 John Levon <levon@movementarian.org>
3660 * ToolbarBackend.C: allow multiple toolbars
3662 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * undo_funcs.C (setCursorParUndo): adjust
3666 * text_funcs.C (transposeChars): adjust
3668 * text3.C (gotoNextInset): adjust
3671 * text2.C (setLayout): adjust
3672 (changeDepth): adjust
3674 (redoParagraphs): adjust
3675 (selectionAsString): adjust
3676 (setParagraph): adjust
3677 (insertInset): adjust
3678 (cutSelection): adjust
3679 (copySelection): adjust
3680 (pasteSelection): adjust
3681 (insertStringAsLines): adjust
3682 (updateInset): adjust
3683 (setCursor): change to take a ParagraphList::iterator parameter
3684 (setCursorIntern): change to take a ParagraphList::iterator parameter
3685 (setCurrentFont): adjust
3686 (cursorLeft): adjust
3687 (cursorRight): adjust
3688 (deleteEmptyParagraphMechanism): adjust
3690 * text.C (breakParagraph): adjust
3691 (insertChar): adjust
3692 (acceptChange): adjust
3693 (rejectChange): adjust
3694 (selectNextWordToSpellcheck): adjust
3695 (changeCase): adjust
3699 * lyxfind.C (SearchForward): adjust
3700 (SearchBackward): adjust
3701 (nextChange): adjust
3703 * lyxcursor.C (par): adjust
3705 * lyxcursor.h: store a ParagraphList::iterator instead of a
3708 * lyx_cb.C (getPossibleLabel): adjust
3710 * bufferview_funcs.C (toggleAndShow): adjust
3712 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3715 * BufferView.C (removeAutoInsets): adjust
3716 (lockedInsetStoreUndo): adjust
3718 2003-04-09 John Levon <levon@movementarian.org>
3720 * ToolbarBackend.C: try icon without argument
3721 if with argument fails
3723 2003-04-08 John Levon <levon@movementarian.org>
3726 * ToolbarBackend.C: add getIcon(), handle tooltip,
3727 and change from "Icon" to "Item".
3729 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3731 * BufferView.C (lockInset): another bad getchar crunched
3733 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3735 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3738 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3740 * lyxfind.C (searchForward, searchBackwards): bug 782
3742 2003-04-07 John Levon <levon@movementarian.org>
3744 * paragraph.C: remove dead comment
3746 * text.C: remove troublesome depth-fiddling code
3747 in leftMargin() and rightMargin() (bug 1017)
3749 * text.C: fix breaking of rows in nested lists
3752 * text2.C (updateCounters): fix up depth values
3755 2003-04-07 John Levon <levon@movementarian.org>
3757 * BufferView_pimpl.C: clear message when doc finishes resizing,
3758 and after a mouse event
3760 * lyxfunc.C: clear message after exiting inset
3762 2003-04-07 John Levon <levon@movementarian.org>
3764 * bufferview_funcs.C: show math status not outside
3765 status in the statusbar
3767 2003-04-07 John Levon <levon@movementarian.org>
3769 * lyxfunc.C: note status changed after a depth change
3771 2003-04-04 Angus Leeming <leeming@lyx.org>
3773 * LaTeX.h: move AuxInfo operator==, != out of line.
3774 Remove LaTeX virtual destructor; nothing derives from it.
3775 Move operator()() out of public area and rename it startscript().
3776 Change protected for private.
3778 2003-04-04 Angus Leeming <leeming@lyx.org>
3781 * text2.C: remove unneeded #includes.
3783 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3785 * text2.C (dEPM): fix the heigth of the next row
3787 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3789 * text.C: squashed an invalid getChar requester + some ws changes
3791 2003-04-03 John Levon <levon@movementarian.org>
3793 * bufferview_funcs.h:
3794 * bufferview_funcs.C:
3797 * text2.C: make getStatus work for the env depth lfuns
3799 2003-04-03 John Levon <levon@movementarian.org>
3801 * bufferview_funcs.h:
3802 * bufferview_funcs.C:
3805 * text2.C: parlistize decDepth(), by merging it with incDepth()
3807 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3809 * lyxrow.h: store a ParagraphList::iterator instead of a
3810 Paragraph* and adjust other class functions to suit.
3812 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3815 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3817 * text2.C (setCursor): do not anchor to cursor row for the time being
3819 2003-04-02 John Levon <levon@movementarian.org>
3826 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3828 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * paragraph.h: make ParagraphList and ParagraphList::iterator
3831 friends of Paragraph.
3833 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3835 * ParagraphList.C: Use the private next_ and previous_ from
3838 2003-04-01 John Levon <levon@movementarian.org>
3842 * Makefile.am: rename, remove defaults gunk
3845 * MenuBackend.C: remove defaults gunk
3848 * Languages.C: remove defaults gunk
3851 * lyx_main.C: error out if files couldn't be found.
3853 2003-04-02 John Levon <levon@movementarian.org>
3855 * text2.C: make incDepth() use parlist
3857 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * undo_funcs.C (firstUndoParagraph): adjust
3861 * text3.C (gotoInset): adjust
3862 (dispatch): adjust, and rewrite loop.
3864 * text2.C (init): adjust, and rewrite loop.
3865 (redoParagraphs): adjust
3866 (updateInset): adjust, and rewrite loop.
3867 (deleteEmptyParagraphMechanism): adjust
3869 * tabular.C (LyXTabular): adjust
3870 (SetMultiColumn): adjust
3873 * lyxtext.[Ch] (ownerParagraph): delete function
3874 (ownerParagraphs): new function returns a ParagraphList.
3876 * BufferView.C (removeAutoInsets): adjust
3877 (insertErrors): adjust
3878 (setCursorFromRow): adjust
3880 2003-04-01 Angus Leeming <leeming@lyx.org>
3882 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3885 2003-04-02 John Levon <levon@movementarian.org>
3891 * text_funcs.C: make transposeChars a free function
3893 * lyxrow_funcs.C: remove wrong comment
3895 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * rowpainter.C: adjust
3903 * lyxrow_funcs. [Ch]: new files
3905 * lyxrow.[Ch]: remove next and previous pointers
3906 (next,previous): remove accessor functions
3907 (isParEnd): move to lyxrow_funcs
3908 (lastPos): move to lyxrow_funcs
3909 (nextRowIsAllInset): move to lyxrow_funcs
3910 (lastPrintablePos): move to lyxrow_funcs
3911 (numberOfSeparators): move to lyxrow_funcs
3912 (numberOfHfills): move to lyxrow_funcs
3913 (numberOfLabelHfills): move to lyxrow_funcs
3914 (hfillExpansion): move to lyxrow_funcs
3918 * bufferview_funcs.C (toggleAndShow): adjust
3920 * RowList.h: Remove class RowList from file leave just a
3923 * RowList.C: delete file
3925 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3928 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * text3.C (cursorPrevious): adjust
3931 (cursorNext): adjust
3934 * text2.C (redoHeightOfParagraph): adjust
3935 (redoDrawingOfParagraph): adjust
3938 * text.C (breakParagraph): adjust
3939 (insertChar): adjust
3942 * rowpainter.C (RowPainter): adjust
3943 (leftMargin): simplify and adjust
3944 (most rowpainter functions): adjust.
3946 * rowpainter.h: store the row as RowList::iterator not as Row*
3948 * lyxcursor.C (row): taka RowList::iterator as arg
3951 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3954 2003-04-01 Angus Leeming <leeming@lyx.org>
3956 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3957 stuff like bool Bool.
3959 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3961 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3964 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3969 * lyxtext.h (rows): drop one version and leve a const variant that
3970 returns a RowList::iterator.
3972 2003-03-31 Angus Leeming <leeming@lyx.org>
3974 * text.C (fill): ensure that the signature is the same as that in the
3977 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * text2.C (redoParagraphs): adjust
3980 (updateCounters): adjust
3981 (checkParagraph): adjust
3982 (getColumnNearX): adjust and reformat a bit.
3984 * text.C (top_y): adjust
3986 (leftMargin): adjust
3987 (prepareToPrint): adjust
3989 (getRowNearY): adjust
3991 * lyxtext.h: make rowlist_ mutable.
3993 * RowList.h: add const_iterator
3994 * RowList.C: adjust for RowList::const_iterator.
3996 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3999 2003-03-31 John Levon <levon@movementarian.org>
4002 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4004 * lyx_main.C: set default fonts from using lyx_gui funcs
4006 * exporter.C: pdf_mode moved from lyxrc
4009 * lyxfunc.C: changes from above
4011 2003-03-31 John Levon <levon@movementarian.org>
4013 * lyx_main.C: fix to the last fix
4015 2003-03-31 John Levon <levon@movementarian.org>
4017 * bufferlist.C: "Load original" -> "Load Original"
4023 * format.C: more Alert cleanups
4025 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * text2.C (removeParagraph): make it take a RowList::iterator as
4029 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4030 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4032 * text.C (anchor_row): make it take a RowList::iterator as arg,
4034 (computeBidiTables): make it take a const reference to Row instead
4035 of Row pointer, adjust.
4036 (leftMargin): make it take a RowList::iterator as arg, adjust.
4037 (rowBreakPoint): adjust
4038 (breakAgainOneRow): make it take a RowList::iterator as arg,
4040 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4042 * bufferview_funcs.C (toggleAndShow): adjust
4044 2003-03-30 John Levon <levon@movementarian.org>
4048 * boost-inst.C: moved to support
4050 * several files: changes as a result
4052 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * text2.C (LyXText): adjust.
4056 (removeRow): make it take a RowList::iterator as arg, adjust.
4057 (fullRebreak): adjust
4058 (deleteEmptyParagraphMechanism): adjust
4059 (clearPaint): adjust
4062 * text.C (top_y): adjust
4063 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4064 (breakAgain): make it take a RowList::iterator as arg, adjust.
4065 (breakParagraph): adjust
4066 (insertChar): adjust
4069 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4070 need_break_row, and refresh_row.
4072 * text3.C (dispatch): adjust
4074 * text2.C (checkParagraph): adjust
4076 (setCursorFromCoordinates): adjust
4078 * text.C (top_y): adjust
4080 (getRow): make it return a RowList::iterator, adjust
4081 (getRowNearY): make it return a RowList::iterator, adjust
4083 * text2.C (init): adjust
4084 (insertRow): remove function
4085 (insertParagraph): adjust
4086 (redoParagraphs): adjust
4087 (fullRebreak): adjust
4088 (updateCounters): adjust
4090 * text.C (top_y): rewrite to use RowList iterators.
4092 (setHeightOfRow): rewrite to sue RowList iterators.
4093 (appendParagraph): adjust
4094 (breakAgain): adjust
4095 (breakAgainOneRow): adjust
4096 (breakParagraph): adjust
4098 (getRowNearY): adjust, and remove commented code.
4100 * lyxtext.h (firstRow): delete function
4101 (lastRow): delete function
4102 (rows): new function (const and non-const versions.)
4103 (insertRow): delete function
4105 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4107 2003-03-29 John Levon <levon@movementarian.org>
4109 * BufferView_pimpl.C: always update scrollbar top
4110 because pasting text when we're anchored could mean we
4111 miss an update altogether
4113 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * text2.C (init): use rowlist_.end() and not 0.
4116 (insertRow): change to take a RowList::iterator as arg, adjust
4118 (insertParagraph): change to take a RowList::iterator as arg,
4120 (redoParagraphs): remove some debug msgs.
4122 * text.C (appendParagraph): change to take a RowList::iterator
4123 arg, adjust for this.
4124 (breakAgain): add an assert
4125 (breakAgainOneRow): ditto
4127 2003-03-29 John Levon <levon@movementarian.org>
4129 * text2.C: do not clear selection after inc/decDepth
4132 2003-03-29 John Levon <levon@movementarian.org>
4135 * buffer.C: fix broken strerrors according to Lars
4137 2003-03-29 John Levon <levon@movementarian.org>
4139 * converters.C: more Alert cleanups
4141 2003-03-29 John Levon <levon@movementarian.org>
4143 * bufferview_funcs.C: remove pointless Alert
4145 * buffer.C: fix confusing error message when
4146 a template is chmoded 000
4148 2003-03-29 John Levon <levon@movementarian.org>
4152 * BufferView_pimpl.C: Alert fixes
4156 * tabular-old.C: remove unused table compat reading
4158 2003-03-29 John Levon <levon@movementarian.org>
4163 * lyx_cb.C: more Alert cleanups
4165 * lyxfunc.C: don't allow chktex if not latex document
4167 2003-03-29 John Levon <levon@movementarian.org>
4171 * buffer.C: warnings pushed down from support/,
4174 2003-03-29 John Levon <levon@movementarian.org>
4176 * lyxfunc.C: safety check for C-r (revert)
4178 2003-03-29 John Levon <levon@movementarian.org>
4181 * bufferlist.C: several UI fixes using Alert::prompt.
4182 Fix the pointless looping quit code. Fix stupid revert
4187 * lyx_cb.C: use Alert::prompt
4189 * lyx_main.C: remove a silly question
4191 * lyxfunc.C: remove a couple of silly questions,
4194 2003-03-28 John Levon <levon@movementarian.org>
4196 * text2.C: fix bug 974 (End on empty par)
4198 2003-03-28 John Levon <levon@movementarian.org>
4200 * BufferView_pimpl.C:
4202 * lfuns.h: remove do-nothing math greek lfuns
4204 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * lyxgluelength.h (isValidGlueLength): add default arg on
4207 parameter 2. Remove default arg from friend in class.
4209 * lyxlength.h (isValidLength): add default arg on parameter 2.
4210 Remove default arg from friend in class.
4212 * text2.C (LyXText): adjust, initialize refresh_row.
4216 (insertParagraph): adjst
4217 (redoParagraphs): adjust
4218 (fullRebreak): adjust
4219 (updateCounters): adjust
4220 (deleteEmptyParagraphMechanism): first attempt at fixing a
4223 * text.C (top_y): adjust
4224 (setHeightOfRow): adjust
4226 (getRowNearY): adjust
4228 * lyxtext.h: include RowList.h
4229 (~LyXText): not needed anymore, deleted.
4230 (firstRow): modify for RowList
4231 (lastRow): new function
4232 Delete firstrow and lastrow class variables, add a Rowlist
4233 rowlist_ class variable.
4235 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4238 * RowList.C (insert): fix case where it == begin().
4240 2003-03-26 Angus Leeming <leeming@lyx.org>
4242 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4243 the thesaurus dialog.
4245 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4249 * RowList.[Ch]: new files
4251 * ParagraphList.C (erase): handle the case where it == begin
4254 2003-03-25 John Levon <levon@movementarian.org>
4258 * aspell.C: add new aspell support
4261 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4264 2003-03-25 Angus Leeming <leeming@lyx.org>
4267 * LyXAction.C (init): new LFUN_INSET_INSERT.
4269 * BufferView_pimpl.C (dispatch): split out part of the
4270 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4272 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4275 2003-03-25 Angus Leeming <leeming@lyx.org>
4277 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4279 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4282 * text3.C: remove useless row->height(0)
4284 2003-03-25 John Levon <levon@movementarian.org>
4288 * text3.C: rename the refreshing stuff to better names
4290 2003-03-24 John Levon <levon@movementarian.org>
4292 * BufferView_pimpl.h:
4293 * BufferView_pimpl.C: update layout choice on a mouse
4296 2003-03-23 John Levon <levon@movementarian.org>
4298 * Makefile.am: fix commandtags.h reference
4300 2003-03-22 John Levon <levon@movementarian.org>
4302 * BufferView_pimpl.C:
4307 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4309 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4312 * text.C: take the rtl methods out of line
4314 2003-03-21 André Pönitz <poenitz@gmx.net>
4316 * metricsinfo.[Ch]: new files containing structures to be passed around
4317 during the two-phase-drawing...
4319 2003-03-21 André Pönitz <poenitz@gmx.net>
4321 * lyxtextclass.C: read 'environment' tag.
4323 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4325 * text2.C (removeRow): fix bug 964
4327 2003-03-20 John Levon <levon@movementarian.org>
4331 * text2.C: paint cleanups. Inset::update() dropped font
4334 2003-03-19 John Levon <levon@movementarian.org>
4336 * lyxfunc.C: only fitcursor/markDirty if available()
4338 2003-03-19 John Levon <levon@movementarian.org>
4340 * commandtags.h: rename to ...
4342 * lfuns.h: ... this, and renumber / cleanup
4344 2003-03-19 John Levon <levon@movementarian.org>
4346 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4347 fit the cursor after an lfun
4351 * BufferView_pimpl.h:
4352 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4354 * LyXAction.C: layout-character should have ReadOnly
4356 * ParagraphParameters.C:
4358 * bufferview_funcs.C:
4365 * undo_funcs.C: changes from above
4367 2003-03-18 John Levon <levon@movementarian.org>
4369 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4370 remove it from update()
4372 * lyxfunc.C: update layout choice after an lfun
4374 * text3.C: remove extra updateLayoutChoice()s
4376 2003-03-18 John Levon <levon@movementarian.org>
4378 * text.C: top_y change means full repaint, fix
4379 a drawing bug with cursor movement
4381 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4385 * text2.C: anchor row on setCursor
4387 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4389 * lyxtext.h: remove almost all mutable keywords
4392 * text3.C: remove const keywords accordingly
4394 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4398 (TeXEnvironment): ditto
4401 2003-03-17 John Levon <levon@movementarian.org>
4403 * text.C (rowBreakPoint): remove attempt to fix displayed
4404 math insets inside a manual label
4406 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * lyxtext.h: remove BufferView* as first arg from almost all class
4410 * other files: adjust.
4412 2003-03-17 John Levon <levon@movementarian.org>
4416 * text2.C: more paint cleanups
4418 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4421 * rowpainter.C: remove "smart" background painting code
4423 2003-03-16 John Levon <levon@movementarian.org>
4428 * text3.C: add helper functions for setting refresh_row/y
4430 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4432 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4433 newline inset which *can* get inserted in the pass_thru layouts.
4434 This is primarily for literate documents.
4436 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4438 * buffer.C: increment LYX_FORMAT to 223
4440 2003-03-14 André Pönitz <poenitz@gmx.net>
4442 * textclass.h: prepare for environment handling, ws changes
4443 * lyxlayout.C: read latexheader and latexfooter tags
4445 2003-03-14 John Levon <levon@movementarian.org>
4447 * text2.C: rewrite ::status() a bit
4449 2003-03-13 John Levon <levon@movementarian.org>
4451 * lyxtext.h: add some docs
4453 2003-03-13 John Levon <levon@movementarian.org>
4458 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4460 2003-03-13 John Levon <levon@movementarian.org>
4462 * text3.C: fix appendix redrawing
4464 2003-03-13 John Levon <levon@movementarian.org>
4466 * text.C (setHeightOfRow):
4468 * rowpainter.C: make appendix mark have the text
4469 "Appendix" so the user knows what it is
4472 * LColor.C: s/appendixline/appendix/ from above
4474 2003-03-13 John Levon <levon@movementarian.org>
4476 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4478 * text.C: fix a getChar(pos) bug properly
4480 2003-03-13 Angus Leeming <leeming@lyx.org>
4483 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4484 Probably only temporary. Let's see how things pan out.
4486 * BufferView.C (unlockInset):
4487 * BufferView_pimpl.C (fitCursor):
4488 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4490 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4491 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4493 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4494 new functions that convert ParagraphParameters to and from a string.
4496 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4497 BufferView::Pimpl's dispatch.
4498 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4500 2003-03-13 André Pönitz <poenitz@gmx.net>
4504 * factory.C: make it aware of InsetEnv
4506 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * text2.C (setCursor): never ask for one past last
4509 (setCursor): add some debugging messages.
4511 * text.C (singleWidth): never ask for one past last
4512 (singleWidth): ditto
4514 (rightMargin): ditto
4515 (rowBreakPoint): ditto
4516 (setHeightOfRow): ditto
4517 (prepareToPrint): ditto
4519 * rowpainter.C (paintBackground): never ask for one past last
4520 (paintText): never ask for one past last
4522 * paragraph_pimpl.C (getChar): make the assert stricter, never
4523 allow the one past last pos to be taken
4525 * paragraph.C (getChar): ws changes only
4527 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4528 (numberOfSeparators): ditto
4529 (numberOfHfills): ditto
4531 2003-03-12 John Levon <levon@movementarian.org>
4537 * paragraph_funcs.C: fix per-buffer authorlists
4539 2003-03-12 John Levon <levon@movementarian.org>
4541 * text.C: fix newline in right address
4543 2003-03-12 Angus Leeming <leeming@lyx.org>
4545 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4546 duplicate those in LyXFunc::dispatch.
4550 * ToolbarDefaults.C:
4551 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4552 Add LFUN_FONTFREE_UPDATE.
4554 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4555 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4557 * bufferview_func.[Ch]: several new functions to facilliate
4558 transfer of data to and from the character dialog.
4560 2003-03-12 John Levon <levon@movementarian.org>
4565 * paragraph_funcs.C:
4566 * paragraph_pimpl.C:
4570 * text3.C: remove META_NEWLINE in favour of an inset
4573 * rowpainter.C: remove paintNewline (done by inset)
4575 2003-03-12 John Levon <levon@movementarian.org>
4577 * paragraph_pimpl.C: complain about bad getChar()s
4578 for a while at least
4580 2003-03-12 John Levon <levon@movementarian.org>
4583 * buffer.C: move paragraph read into a separate function,
4584 a little renaming to reflect that.
4587 * bufferparams.C: remove the author_ids map, not necessary now
4590 * factory.C: moved Buffer::readInset to here
4592 * paragraph_funcs.h:
4593 * paragraph_funcs.C: readParagraph free function moved from
4596 * tabular.C: name change
4598 2003-03-12 John Levon <levon@movementarian.org>
4601 * ParagraphParameters.C: move par params input to
4604 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4605 behave like a normal read from the stream wrt reading
4606 a line vs. a \\token
4608 2003-03-12 John Levon <levon@movementarian.org>
4611 * ParagraphParameters.h:
4612 * ParagraphParameters.C: move output code to a
4615 2003-03-12 John Levon <levon@movementarian.org>
4617 * BufferView.C (insertLyXFile):
4620 * tabular.C: use a parlist iterator for creating the
4623 2003-03-12 John Levon <levon@movementarian.org>
4625 * buffer.C: make current_change static local not
4628 2003-03-12 John Levon <levon@movementarian.org>
4630 * buffer.C: fix insertStringAsLines for change tracking
4632 2003-03-12 John Levon <levon@movementarian.org>
4639 * bufferparams.C: move author list into params. Rename some
4640 functions. Move the header reading into a separate token
4641 loop. Move the header token reading into BufferParams.
4643 2003-03-12 John Levon <levon@movementarian.org>
4645 * changes.C: put debug inside lyxerr.debugging() checks
4647 2003-03-11 André Pönitz <poenitz@gmx.net>
4649 * factory.C: make it aware of InsetHFill
4651 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4653 * buffer.C (latexParagraphs): move function from here...
4654 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4657 2003-03-10 Angus Leeming <leeming@lyx.org>
4659 * LyXAction.C (init): fix bug in poplating array with multiple entries
4660 with the same LFUN (spotted by JMarc).
4662 2003-03-10 John Levon <levon@movementarian.org>
4665 * text2.C: move getColumnNearX() near its
4668 2003-03-10 John Levon <levon@movementarian.org>
4670 * text.C: fix break before a minipage
4672 2003-03-10 John Levon <levon@movementarian.org>
4674 * text.C: fix the last commit
4676 2003-03-09 John Levon <levon@movementarian.org>
4680 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4681 bug 365 (don't break before insets unless needed). Don't
4682 return a value > last under any circumstances.
4684 2003-03-09 Angus Leeming <leeming@lyx.org>
4686 * BufferView_pimpl.C (trackChanges, dispatch): call
4687 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4689 2003-03-09 Angus Leeming <leeming@lyx.org>
4691 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4692 than Dialogs::showAboutlyx().
4694 2003-03-09 Angus Leeming <leeming@lyx.org>
4696 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4697 than Dialogs::showTabularCreate().
4699 2003-03-09 John Levon <levon@movementarian.org>
4703 * text2.C: 3rd arg to nextBreakPoint was always the same.
4706 2003-03-08 John Levon <levon@movementarian.org>
4713 * text2.C: Remove the "main" bit from the "main body"
4716 2003-03-08 John Levon <levon@movementarian.org>
4718 * text.C (leftMargin): The left margin of an empty
4719 manual label paragraph should not include the label width
4722 * text.C (prepareToPrint): don't attempt to measure hfills
4723 for empty manual label paragraphs - the answer should be 0
4725 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * CutAndPaste.C: remove commented code and reindent.
4729 2003-03-08 John Levon <levon@movementarian.org>
4732 * lyxfunc.C: move reloadBuffer()
4735 * BufferView.C: to here
4737 * lyxvc.C: add comment
4740 * vc-backend.C: call bv->reload() to avoid
4741 getStatus() check on MENURELOAD
4743 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4745 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4746 to an old format .dep file.
4748 2003-03-07 Angus Leeming <leeming@lyx.org>
4750 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4751 when the LFUN_MOUSE_RELEASE should have been handled by
4752 inset->localDispatch.
4754 2003-03-07 Angus Leeming <leeming@lyx.org>
4756 * BufferView_pimpl.C (dispatch):
4757 * LyXAction.C (init):
4758 * ToolbarDefaults.C (init):
4760 * lyxfunc.C (getStatus):
4761 remove LFUN_INSET_GRAPHICS.
4763 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4765 2003-03-07 Angus Leeming <leeming@lyx.org>
4768 * LyXAction.C (init):
4769 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4771 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4774 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4776 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4777 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4779 2003-03-07 Angus Leeming <leeming@lyx.org>
4781 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4784 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * ParagraphList.C (front): new function
4789 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4791 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4792 and top_row_offset_. removed var first_y.
4794 * text2.C (LyXText, removeRow):
4796 * BufferView_pimpl.C:
4797 use these methods instead of using first_y
4799 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * text2.C (pasteSelection): adjust for checkPastePossible
4803 * CutAndPaste.C: remove Paragraph * buf and replace with
4804 ParagraphList paragraphs.
4805 (DeleteBuffer): delete
4806 (cutSelection): change the tc type to textclass_type
4807 (copySelection): change the tc type to textclass_type
4808 (copySelection): adjust for ParagraphList
4809 (pasteSelection): change the tc type to textclass_type
4810 (pasteSelection): adjust for Paragraphlist
4811 (nrOfParagraphs): simplify for ParagraphList
4812 (checkPastePossible): simplify for ParagraphList
4813 (checkPastePossible): remove unused arg
4815 * ParagraphList.C (insert): handle the case where there are no
4818 * CutAndPaste.h: make CutAndPaste a namespace.
4820 * text3.C (dispatch): adjust
4822 * text.C (breakParagraph): add a ParagraphList as arg
4824 * paragraph_funcs.C (breakParagraph): change to take a
4825 BufferParams and a ParagraphList as args.
4826 (breakParagraphConservative): ditto
4827 (mergeParagraph): ditto
4828 (TeXDeeper): add a ParagraphList arg
4829 (TeXEnvironment): ditto
4832 * buffer.C (readLyXformat2): adjust
4833 (insertStringAsLines): adjust
4834 (latexParagraphs): adjust
4836 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4837 (cutSelection): adjust
4838 (pasteSelection): adjust
4840 * BufferView_pimpl.C (insertInset): adjust
4842 2003-03-05 Angus Leeming <leeming@lyx.org>
4845 * LyXAction.C (init):
4846 * BufferView_pimpl.C (dispatch):
4847 * lyxfunc.C (getStatus):
4848 remove LFUN_CHILD_INSERT.
4850 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4852 2003-03-05 Angus Leeming <leeming@lyx.org>
4855 * LyXAction.C (init):
4856 * src/factory.C (createInset):
4857 * lyxfunc.C (getStatus):
4858 * text3.C (dispatch):
4859 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4861 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4863 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * ParagraphList.C (insert): handle insert right before end()
4866 (erase): fix cases where it can be first or last paragraph.
4868 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4870 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4871 Paragraph::next and Paragraph::previous
4874 * text.C (breakParagraph): adjust
4876 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4877 BufferParams& as arg.
4878 (breakParagraph): use ParagraphList::insert
4879 (breakParagraphConservative): take a Buffer* instead of a
4880 BufferParams& as arg.
4881 (breakParagraphConservative): use ParagraphList::insert.
4883 * buffer.C (insertStringAsLines): un-const it
4884 (insertStringAsLines): adjust
4886 * ParagraphList.C (insert): new function
4888 * CutAndPaste.C (pasteSelection): adjust
4890 * text.C (backspace): adjust
4892 * tabular.C (SetMultiColumn): adjust
4894 * CutAndPaste.C (cutSelection): adjust
4895 (pasteSelection): adjust
4897 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4898 Buffer const * as arg
4900 * ParagraphList.C (erase): new function
4901 * paragraph_funcs.C (mergeParagraph): use it
4902 (mergeParagraph): make it take a Buffer* instead of a
4903 BufferParams* as arg
4905 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4907 (breakParagraphConservative): ditto
4909 * paragraph.h: remove the breakParagraph friend
4911 * paragraph.C (eraseIntern): new function
4912 (setChange): new function
4914 * paragraph_funcs.C (mergeParagraph): make it take a
4915 ParagraphList::iterator instead of a Paragraph *, adjust
4918 * paragraph.h: move an #endif so that the change tracking stuff
4919 also works in the NO_NEXT case.
4921 2003-03-04 Angus Leeming <leeming@lyx.org>
4924 * LyXAction.C: new LFUN_INSET_MODIFY.
4926 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4927 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4929 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * several files: ws changes only
4933 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4934 (TeXEnvironment): ditto
4937 * buffer.C (makeLaTeXFile): adjust
4938 (latexParagraphs): make it take ParagraphList::iterator as args
4940 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * buffer.C (latexParagraphs): adjust
4944 * paragraph.C (TeXOnePar): move function...
4945 (optArgInset): move function...
4946 (TeXEnvironment): move function...
4947 * paragraph_pimpl.C (TeXDeeper): move function...
4948 * paragraph_funcs.C: ...here
4950 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4952 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4954 * buffer.C (readInset): remove compability code for old Figure and
4957 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * buffer.C: ws changes
4962 * BufferView_pimpl.C: ditto
4965 * bufferlist.h: ditto
4969 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4971 * converter.[Ch]: split into itself +
4974 * Makefile.am: += graph.[Ch] + format.[Ch]
4981 * lyxrc.C: added #include "format.h"
4983 2003-02-27 Angus Leeming <leeming@lyx.org>
4985 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4988 * factory.C (createInset): add "label" to the factory.
4990 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4991 string and do no more.
4993 2003-02-27 Angus Leeming <leeming@lyx.org>
4996 * LyXAction.C (init):
4997 * factory.C (createInset):
4998 * BufferView_pimpl.C (dispatch):
4999 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5001 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5003 * lyxfunc.C (dispatch):
5004 * text3.C (dispatch): pass name to params2string.
5006 2003-02-26 Angus Leeming <leeming@lyx.org>
5008 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5010 Rearrange the ~includes. Strip out the unnecessary ones.
5012 * factory.C (createInset): reformat.
5013 create new insets for the various LFUN_XYZ_APPLY lfuns.
5015 2003-02-26 John Levon <levon@movementarian.org>
5018 * lyxrow.C: add isParStart,isParEnd helpers
5020 * paragraph.h: make isInserted/DeletedText take refs
5022 * paragraph_funcs.h:
5023 * paragraph_funcs.C: remove #if 0'd code
5028 * text.C: use lyxrow helpers above.
5029 Move draw and paint routines to RowPainter.
5030 Make several methods use refs not pointers.
5031 Make backgroundColor() const.
5032 Add markChangeInDraw(), isInInset().
5033 Merge changeRegionCase into changeCase.
5034 Make workWidth() shouldn't-happen code into an Assert.
5037 * rowpainter.C: new class for painting a row.
5040 * vspace.C: make inPixels take a ref
5042 2003-02-26 Angus Leeming <leeming@lyx.org>
5044 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5047 2003-02-25 John Levon <levon@movementarian.org>
5049 * ispell.C: give the forked command a more accurate name
5051 2003-02-22 John Levon <levon@movementarian.org>
5054 * toc.C: make TocItem store an id not a Paragraph *
5057 2003-02-21 Angus Leeming <leeming@lyx.org>
5059 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5060 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5061 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5062 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5063 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5064 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5066 * BufferView_pimpl.C (dispatch):
5067 * LyXAction.C (init):
5068 * factory.C (createInset):
5069 * lyxfunc.C (getStatus, dispatch):
5070 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5072 2003-02-21 Angus Leeming <leeming@lyx.org>
5074 * BufferView_pimpl.C (MenuInsertLyXFile):
5075 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5076 * lyxfunc.C (menuNew, open, doImport):
5077 no longer pass a LyXView & to fileDlg.
5079 2003-02-21 Angus Leeming <leeming@lyx.org>
5081 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5082 * LyXAction.C: change, BIBKEY to BIBITEM.
5083 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5084 Change InsetBibKey to InsetBibitem.
5085 Change BIBKEY_CODE to BIBITEM_CODE.
5086 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5087 * factory.C: replace insetbib.h with insetbibitem.h.
5088 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5089 * paragraph.C: replace insetbib.h with insetbibitem.h.
5090 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5091 Change bibkey() to bibitem().
5092 * text.C: remove insetbib.h.
5093 * text2.C: replace insetbib.h with insetbibitem.h.
5094 change bibkey() to bibitem().
5095 * text3.C: remove insetbib.h.
5096 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5098 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5100 * lyxrc.C (output): enclose user email in quotes (in case there are
5103 2003-02-18 John Levon <levon@movementarian.org>
5105 * buffer.h: add std::
5107 2003-02-17 John Levon <levon@movementarian.org>
5113 * pspell.C: reworking. Especially in ispell, a large
5114 number of clean ups and bug fixes.
5116 * lyxfunc.C: fix revert to behave sensibly
5118 2003-02-17 André Pönitz <poenitz@gmx.net>
5121 * commandtags.h: new LFUN_INSERT_BIBKEY
5131 * paragraph_func.C: remove special bibkey handling
5133 2003-02-17 John Levon <levon@movementarian.org>
5135 * text.C (Delete): fix case where delete at the end of
5136 the very first paragraph would not merge the pars
5138 2003-02-17 John Levon <levon@movementarian.org>
5140 * lyxrow.C: fix lastPrintablePos()
5142 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5144 * bufferparams.C (writeLaTeX): add a std:here
5146 * buffer.C: and remove a using directive there
5148 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5150 * buffer.C (makeLaTeXFile): move the code that generates the
5153 * bufferparams.C (writeLaTeX): ... in this new method
5155 * LaTeXFeatures.C (getEncodingSet): make const
5156 (getLanguages): make const
5158 * MenuBackend.C (binding): returns the binding associated to this
5160 (add): sets the status of each item by calling getStatus. Adds
5162 (read): add support for OptSubMenu
5163 (expand): remove extra separator at the end of expanded menu
5165 2003-02-15 John Levon <levon@movementarian.org>
5168 * BufferView_pimpl.C:
5170 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5171 inset code that had no actual effect. Remove unneeded status
5174 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5176 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5179 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5181 * text.C (drawLengthMarker): also draw an arrow marker for
5182 symbolic lengths (medskip...)
5184 2003-02-14 John Levon <levon@movementarian.org>
5187 * tabular.C: better method names
5189 2003-02-14 John Levon <levon@movementarian.org>
5191 * BufferView_pimpl.C:
5196 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5197 it's a more accurate name. Remove some pointless uses.
5199 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5201 * text2.C (LyXText): change order of initilizers to shut off
5204 2003-02-14 John Levon <levon@movementarian.org>
5206 * buffer.C: use ParIterator for getParFromID()
5210 * paragraph_pimpl.h:
5211 * paragraph_pimpl.C: remove unused getParFromID()
5213 2003-02-14 John Levon <levon@movementarian.org>
5215 * buffer.C: remove some very old #if 0'd parse code
5217 2003-02-13 John Levon <levon@movementarian.org>
5221 * text2.C: move hfillExpansion(), numberOfSeparators(),
5222 rowLast(), rowLastPrintable(), numberofHfills(),
5223 numberOfLabelHfills() ...
5226 * lyxrow.C: ... to member functions here.
5231 * text.C: remove LyXText::beginningOfMainBody(), and call
5232 p->beginningOfMainBody() directly. Move the check for
5233 LABEL_MANUAL into the latter.
5240 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5246 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5247 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5249 2003-02-13 John Levon <levon@movementarian.org>
5251 * CutAndPaste.C: remove debug
5253 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5255 * paragraph.C (asString): remove two unused variables
5257 * lyxtextclass.C (readTitleType):
5259 (LyXTextClass): handle new members titletype_ and titlename_
5261 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5263 2003-02-09 John Levon <levon@movementarian.org>
5266 * buffer.C: replace hand-coded list with a map for the dep clean
5268 2003-02-08 John Levon <levon@movementarian.org>
5270 * LaTeX.C: consolidate code into showRunMessage() helper
5272 2003-02-08 John Levon <levon@movementarian.org>
5277 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5278 and pass the size in explicitly
5280 * BufferView_pimpl.h:
5281 * BufferView_pimpl.C:
5283 * BufferView.C: add getCurrentChange()
5285 * BufferView_pimpl.h:
5286 * BufferView_pimpl.C: handle change lfuns
5288 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5289 for changes. Mark pasted paragraphs as new.
5291 * support/lyxtime.h:
5292 * support/lyxtime.C:
5293 * DepTable.C: abstract time_t as lyx::time_type
5296 * LColor.C: add colours for new text, deleted text, changebars
5298 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5299 package use "usenames" option.
5303 * LyXAction.C: add change lfuns
5307 * author.C: author handling
5310 * buffer.C: add a per-buffer author list, with first entry as
5311 current author. Handle new .lyx tokens for change tracking. Output
5312 author list to .lyx file. Output dvipost stuff to .tex preamble.
5313 Bump lyx format to 222.
5316 * bufferlist.C: add setCurrentAuthor() to reset current author details
5320 * bufferparams.C: add param for tracking
5322 * bufferview_funcs.C: output change info in minibuffer
5326 * changes.C: add change-tracking structure
5329 * debug.C: add CHANGES debug flag
5332 * lyxfind.C: add code for finding the next change piece
5335 * lyxrc.C: add user_name and user_email
5338 * lyxrow.C: add a metric for the top of the text line
5341 * text.C: implement accept/rejectChange()
5344 * text.C: paint changebars. Paint new/deleted text in the chosen
5345 colours. Strike through deleted text.
5349 * paragraph_pimpl.h:
5350 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5351 in the current change to the insert functions. Rework erase to
5352 mark text as deleted, adding an eraseIntern() and a range-based
5353 erase(). Implement per-paragraph change lookup and
5356 * paragraph_funcs.C: Fixup paste for change tracking.
5358 * tabular.C: mark added row/columns as new.
5360 * text.C: fix rowLast() to never return -1. Don't allow
5361 spellchecking of deleted text. Track transpose changes. Don't
5362 allow paragraph break or merge where appropriate.
5364 * text2.C: leave cursor at end of selection after a cut.
5366 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5368 * text.C (getLengthMarkerHeight):
5369 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5370 visible on screen too.
5372 2003-02-07 John Levon <levon@movementarian.org>
5374 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5376 2003-02-05 Angus Leeming <leeming@lyx.org>
5378 * lyxserver.C (read_ready): revert my patch of 11 September last year
5379 as it sends PC cpu through the roof. Presumably this means that
5380 the lyxserver will no longer run on an Alpha...
5382 2003-01-30 Angus Leeming <leeming@lyx.org>
5384 * factory.C (createInset): create an InsetCommandParam of type "index"
5385 and use it to 'do the right thing'.
5387 * text2.C (getStringToIndex): ensure that cursor position is always
5388 reset to the reset_cursor position.
5390 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5392 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5395 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5399 * lyxfunc.C: Output messages with identical spelling, punctuation,
5402 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5404 * MenuBackend.C (expandFormats): List only viewable export formats
5407 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5410 * lyxfunc.C (getStatus): Make sure that formats other than
5411 "fax" can also be disabled
5413 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5415 * text3.C (dispatch): put the lfuns that insert insets in 3
5416 groups, and call doInsertInset with appropriate arguments.
5417 (doInsertInset): new function, that creates an inset and inserts
5418 it according to some boolean parameters.
5420 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * buffer.C (readFile): remember to pass on 'par' when calling
5423 readFile recursively.
5425 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5427 * MenuBackend.C (expandFormats): add "..." to import formats.
5429 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5431 * paragraph.C (asString): Remove XForms RTL hacks.
5433 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5434 * buffer.C: fix typo
5436 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5438 * Makefile.am (LIBS): delete var
5439 (lyx_LDADD): add @LIBS@ here instead.
5441 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5443 * Clarify the meaning of "wheel mouse jump"
5445 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5447 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5450 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5452 * importer.C (Loaders): do not preallocate 3 elements in the
5453 vector, since one ends up with 6 elements otherwise
5455 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5457 * DepTable.C (write): write the file name as last element of the
5458 .dep file (because it may contain spaces)
5459 (read): read info in the right order
5461 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5463 * paragraph_pimpl.C (simpleTeXBlanks):
5464 (simpleTeXSpecialChars):
5465 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5467 * tabular.C (latex): add some missing case statements. Reindent.
5469 * MenuBackend.C (expandToc): remove unused variable.
5471 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5480 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5483 2003-01-05 John Levon <levon@movementarian.org>
5486 * BufferView.C: add getEncoding()
5489 * kbsequence.C: do not store last keypress
5492 * lyxfunc.C: store last keypress here instead. Pass encoding
5495 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5497 * lyx_main.C (init): remove annoying error message when following
5498 symbolic links (bug #780)
5500 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5502 * text.C (insertChar):
5503 * lyxrc.C (getDescription): remove extra spaces
5505 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5507 * lyxrc.C (getDescription): remove extra spaces
5509 2002-12-20 John Levon <levon@movementarian.org>
5511 * text3.C: hack fix for page up/down across tall rows
5513 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5515 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5518 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5520 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5521 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5522 thesaurus is not compiled in
5524 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5526 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5528 2002-12-16 Angus Leeming <leeming@lyx.org>
5531 * lyx_main.C (init): remove override_x_deadkeys stuff.
5533 2002-12-12 John Levon <levon@movementarian.org>
5535 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5536 insert. Only remove shift modifier under strict
5539 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * MenuBackend.C (expandToc): fix crash.
5543 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * MenuBackend.C (expandToc): gettext on float names.
5547 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5549 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5550 implement bool empty() [bug 490]
5552 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5554 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5556 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * several files: ws changes
5560 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * text2.C (setCounter): clean up a bit, use boost.format.
5563 (updateCounters): initialize par upon declaration.
5565 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5566 if the layout exists. We do not just store the layout any more.
5567 (SwitchLayoutsBetweenClasses): use boost.format
5569 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5571 * converter.C (convert): if from and to files are the same, use a
5572 temporary files as intermediary
5574 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5577 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5579 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5581 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5583 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * tabular.C (asciiPrintCell): use string(size, char) instead of
5588 * sgml.C (openTag): fix order of arguments to string constructor
5591 * lyxfunc.C (dispatch): use boost.format
5593 * lots of files: change "c" -> 'c'
5595 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5597 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5599 2002-11-25 Angus Leeming <leeming@lyx.org>
5601 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5603 * lyx_main.C (init): compile fix.
5605 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * lyx_cb.C (start): boost.formatify
5608 do not include <iostream>
5610 * lengthcommon.C: ws only
5612 * boost-inst.C,BoostFormat.h: add more explict instantations
5614 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * lots of files: handle USE_BOOST_FORMAT
5618 2002-11-21 John Levon <levon@movementarian.org>
5620 * pspell.C: fix compile
5622 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5624 * lyxfunc.C (dispatch): use boost::format
5628 * lyxfont.C (stateText): use boost::format
5630 * lyx_main.C (LyX): use boost::format
5632 (queryUserLyXDir): ditto
5635 (typedef boost::function): use the recommened syntax.
5637 * importer.C (Import): use boost::format
5639 * debug.C (showLevel): use boost::format
5641 * converter.C (view): use boost::format
5646 * bufferview_funcs.C (currentState): use boost::format
5648 * bufferlist.C (emergencyWrite): use boost::format
5650 * buffer.C (readLyXformat2): use boost::format
5651 (parseSingleLyXformat2Token): ditto
5653 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5655 * LaTeX.C (run): use boost::format
5657 * Chktex.C (scanLogFile): use boost::format
5659 * BufferView_pimpl.C (savePosition): use boost::format
5660 (restorePosition): ditto
5661 (MenuInsertLyXFile): ditto
5663 * BoostFormat.h: help file for explicit instation.
5665 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5667 * tabular.C (latex): Support for block alignment in fixed width
5670 2002-11-17 John Levon <levon@movementarian.org>
5672 * BufferView_pimpl.C:
5674 * lyxfunc.C: split filedialog into open/save
5676 2002-11-08 Juergen Vigna <jug@sad.it>
5678 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5679 by my last patch (hopefully).
5681 2002-11-08 John Levon <levon@movementarian.org>
5690 * toc.C: ParConstIterator, and use it (from Lars)
5692 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5694 * lyxtextclass.[Ch]: revise and add doxygen comments
5696 2002-11-07 John Levon <levon@movementarian.org>
5698 * text.C: fix progress value for spellchecker
5700 * toc.C: fix navigate menu for insetwrap inside minipage
5702 * paragraph_funcs.C: added FIXME for suspect code
5704 2002-11-07 John Levon <levon@movementarian.org>
5706 * BufferView_pimpl.C: fix redrawing of insets
5709 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5711 * text2.C (updateCounters): fix bug 668
5713 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5715 * text3.C (dispatch): Do not make the buffer dirty when moving the
5718 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * vc-backend.C: STRCONV
5723 * text2.C (setCounter): STRCONV
5725 * paragraph.C (asString): STRCONV
5727 * lyxlength.C (asString): STRCONV
5728 (asLatexString): ditto
5730 * lyxgluelength.C (asString): STRCONV
5731 (asLatexString): ditto
5733 * lyxfunc.C (dispatch): STRCONV
5736 * lyxfont.C (stateText): STRCONV
5738 * importer.C (Import): STRCONV
5740 * counters.C (labelItem): STRCONV
5741 (numberLabel): ditto
5742 (numberLabel): remove unused ostringstream o
5747 * bufferview_funcs.C (currentState): STRCONV
5749 * buffer.C (readFile): STRCONV
5750 (asciiParagraph): ditto
5751 (makeLaTeXFile): ditto
5753 * Spacing.C (writeEnvirBegin): STRCONV
5755 * LaTeXFeatures.C (getLanguages): STRCONV
5756 (getPackages): ditto
5758 (getBabelOptions): ditto
5759 (getTClassPreamble): ditto
5760 (getLyXSGMLEntities): ditto
5761 (getIncludedFiles): ditto
5765 (scanAuxFile): ditto
5768 * LString.h: add the STRCONV macros
5770 * BufferView_pimpl.C (savePosition): STRCONV
5771 (restorePosition): ditto
5772 (MenuInsertLyXFile): ditto
5774 * vc-backend.C (scanMaster): change from submatch[...] to
5777 * funcrequest.C: include config.h
5779 * factory.C: include config.h
5781 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5783 * box.C: include config.h
5785 * LaTeX.C (scanAuxFile): change from submatch[...] to
5789 2002-10-25 Angus Leeming <leeming@lyx.org>
5791 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5793 * ispell.[Ch] (setError): new method.
5794 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5795 Use setError() insetead of goto END.
5797 * lyx_cb.C (AutoSave): move out child process into new class
5800 2002-10-30 John Levon <levon@movementarian.org>
5802 * text3.C: make start appendix undoable
5804 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5806 * lyxlength.C (inPixels): Fix returned value.
5808 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5811 2002-10-24 Angus Leeming <leeming@lyx.org>
5813 * lyxgluelength.h: no need to forward declare BufferParams
5814 or BufferView, so don't.
5816 2002-10-21 John Levon <levon@movementarian.org>
5818 * BufferView.C: menuUndo ->undo, redo
5820 * BufferView.h: document, remove dead, make some methods private
5822 * paragraph_funcs.h:
5823 * paragraph_funcs.C:
5824 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5829 * sgml.C: move sgml open/close tag into sgml.C
5831 * bufferview_funcs.h: unused prototype
5834 * lyxfunc.C: remove unused
5837 * text.C: remove unused
5839 2002-10-21 John Levon <levon@movementarian.org>
5843 * BufferView_pimpl.h:
5844 * BufferView_pimpl.C: fix mouse wheel handling based on
5845 patch from Darren Freeman
5847 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5849 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5851 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5853 * lyxlength.C (inPixels): Fix hanfling of negative length.
5854 Fix LyXLength::MU case.
5856 2002-10-16 John Levon <levon@movementarian.org>
5858 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5860 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5862 * converter.C (view): add support for $$i (file name) and $$p
5863 (file path) for the viewer command. If $$i is not specified, then
5864 it is appended to the command (for compatibility with old syntax)
5866 2002-10-14 Juergen Vigna <jug@sad.it>
5868 * undo_funcs.C (textHandleUndo): alter the order in which the
5869 new undopar is added to the LyXText, as we have to set first
5870 the right prev/next and then add it as otherwise the rebuild of
5871 LyXText is not correct. Also reset the cursor to the right paragraph,
5872 with this IMO we could remove the hack in "redoParagraphs()".
5874 2002-10-09 Angus Leeming <leeming@lyx.org>
5876 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5877 to turn off an optimisation if a new inset is to be inserted.
5879 2002-10-11 André Pönitz <poenitz@gmx.net>
5881 * lyxtext.h: make some functions public to allow access
5882 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5884 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5886 * text3.C (dispatch): when changing layout, avoid an infinite loop
5889 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5891 * lyxrc.C (read): treat a viewer or converter command of "none" as
5894 * MenuBackend.C (expandFormats): for an update, also allow the
5895 formats that are not viewable
5897 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5898 script if it is newer than the lyxrc.defaults in user directory
5900 2002-10-07 André Pönitz <poenitz@gmx.net>
5902 * text.C: Vitaly Lipatov's small i18n fix
5904 2002-09-25 Angus Leeming <leeming@lyx.org>
5906 * ispell.h: doxygen fix.
5908 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5910 * buffer.h (readFile): Add a new argument to the method, to allow
5911 reading of old-format templates.
5913 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5915 * toc.C (getTocList): Get TOC from InsetWrap.
5917 2002-09-16 John Levon <levon@movementarian.org>
5919 * lyxfunc.C: check tabular for cut/copy too
5921 2002-09-12 John Levon <levon@movementarian.org>
5926 * factory.C: add header
5928 * paragraph_funcs.h:
5929 * paragraph_funcs.C: cleanup
5931 2002-09-11 John Levon <levon@movementarian.org>
5933 * PrinterParams.h: odd/even default to true
5935 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5937 * PrinterParams.h: update printer parameters for new xforms dialog
5939 2002-09-11 Angus Leeming <leeming@lyx.org>
5941 * lyxserver.C (read_ready): re-write to make it more transparent
5942 and to make it work in coherent fashion under Tru64 Unix.
5944 2002-09-11 André Pönitz <poenitz@gmx.net>
5948 * text3.C: implement LFUN_WORDSEL
5950 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5953 make floatlist_ a boost::shared_ptr<FloatList>
5955 * lyxtextclass.C: include FloatList.h
5956 (LyXTextClass): initialize floatlist_
5957 (TextClassTags): add TC_NOFLOAT
5958 (Read): match "nofloat" to TC_NOFLOAT and use it.
5959 (readFloat): modify call to floatlist_
5963 * FloatList.[Ch] (FloatList): remove commented out float
5965 (erase): new function
5967 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5969 * MenuBackend.C (expandToc): fix crash when there is no document
5972 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5974 * many files: Add insetwrap.
5976 2002-09-09 John Levon <levon@movementarian.org>
5978 * text2.C: remove confusing and awkward depth wraparound
5980 2002-09-09 John Levon <levon@movementarian.org>
5982 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5985 * buffer.C: remove getIncludeonlyList()
5988 * lyxfunc.C: remove headers
5990 2002-09-09 Juergen Vigna <jug@sad.it>
5992 * text.C (getColumnNearX): fix form Michael this is most
5993 probably a cut&paste bug.
5995 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5999 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6000 references, ws changes.
6002 * text2.C (init): update counters after init
6003 (insertParagraph): no need to set counter on idividual paragraphs.
6004 (setCounter): access the counters object in the textclass object
6005 on in the buffer object.
6006 (updateCounters): ditto
6008 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6009 shared_ptr<Counters> to avoid loading counters.h in all
6011 (LyXTextClass): initialize ctrs_
6012 (TextClassTags): add TC_COUNTER, and ...
6013 (Read): use it here.
6014 (CounterTags): new tags
6015 (readCounter): new function
6016 (counters): new funtion
6017 (defaultLayoutName): return a const reference
6019 * counters.C (Counters): remove contructor
6020 (newCounter): remove a couple of unneeded statements.
6021 (newCounter): simplify a bit.
6022 (numberLabel): some small formatting changes.
6024 * buffer.[Ch]: remove all traces of counters, move the Counters
6025 object to the LyXTextClass.
6027 2002-09-06 Alain Castera <castera@in2p3.fr>
6029 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6030 package to set the horizontal alignment on fixed width columns.
6033 * lyx_sty.h: added tabularnewline macro def.
6035 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6037 2002-09-06 John Levon <levon@movementarian.org>
6039 * LyXAction.C: tooltips for sub/superscript
6041 * MenuBackend.C: a bit more verbose
6043 * lyxfunc.C: tiny clean
6045 * undo_funcs.C: document undo_frozen
6047 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * counters.C (Counters): add missing algorithm counter.
6051 * text2.C (setCounter): lookup the counter with layouts latexname
6052 instead of by section number.
6053 (setCounter): use a hackish way to lookup the correct enum
6055 a float name->type change
6056 reset enum couners with counter name directly instead of depth value.
6058 * counters.C (Counters): remove the push_backs, change to use the
6059 float type not the float name.
6060 (labelItem): remove unused string, float name->type change
6062 * counters.h: don't include vector, loose the enums and sects vectors
6064 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6067 (Read): add float->TC_FLOAT to textclassTags
6068 (Read): and handle it in the switch
6069 (readFloat): new function
6071 * FloatList.C (FloatList): comment out the hardcoded float
6074 * lyxlayout.h: ws change.
6076 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6078 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6080 2002-09-03 Angus Leeming <leeming@lyx.org>
6082 * BufferView_pimpl.h: qualified name is not allowed in member
6083 declaration: WorkArea & Pimpl::workarea() const;
6085 * factory.C: added using std::endl directive.
6087 * text3.C: added using std::find and std::vector directives.
6089 2002-08-29 André Pönitz <poenitz@gmx.net>
6092 * text2.C: remove unused member number_of_rows
6095 * BufferView2.C: remove file, move contents to...
6096 * BufferView.C: ... here
6098 * BufferView_pimpl.C:
6099 * factory.C: move more inset creation to factory
6101 * vspace.C: avoid direct usage of LyXText, ws changes
6104 don't provide direct access to WorkArea, use two simple
6105 acessors haveSelction() and workHeight() instead
6108 2002-08-29 John Levon <levon@movementarian.org>
6110 * BufferView_pimpl.C (dispatch): do not continue when
6113 2002-08-28 André Pönitz <poenitz@gmx.net>
6115 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6118 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6120 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6122 * buffer.C: increment LYX_FORMAT to 221
6124 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6125 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6127 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6129 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6131 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6133 * factory.C (createInset): use LyXTextClass::floats
6135 * MenuBackend.C (expandFloatListInsert):
6136 (expandFloatInsert):
6139 * text2.C (setCounter):
6141 * LaTeXFeatures.C (useFloat):
6142 (getFloatDefinitions):
6144 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6146 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6147 floatlist_, with accessor floats().
6149 * FloatList.h: remove global FloatList
6151 2002-08-26 André Pönitz <poenitz@gmx.net>
6153 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6157 * BufferView_pimpl.C:
6158 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6160 2002-08-25 John Levon <levon@movementarian.org>
6162 * LyXAction.C: fix margin note description
6164 2002-08-24 John Levon <levon@movementarian.org>
6168 * bufferview_funcs.C:
6170 * undo_funcs.C: cleanups
6172 * lyxfunc.C: disable CUT/COPY when no selection
6174 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6176 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6177 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6179 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6180 Add backward compatibility to "mono", "gray" and "no".
6182 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6184 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6185 (and file_format >= 200).
6187 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6189 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6191 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6193 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6195 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6197 * BufferView_pimpl.C:
6204 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6205 inset and code to make it work with the paragraph code. The inset
6206 can be anywhere in the paragraph, but will only do the expected
6207 thing in LaTeX if the layout file contains the parameter line
6209 (or more generally, a nonzero value) for that layout.
6211 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * paragraph.h: remove the declaration of undefined counters class
6216 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6218 * text2.C (setCounter): fixed enumeration mis-count as reported by
6219 Dr. Richard Hawkins.
6221 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6223 * paragraph_funcs.h: remove some unneeded includes
6225 * text.C (backspace): pasteParagraph now in global scipe
6227 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6228 (pasteSelection): ditto
6230 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6231 * paragraph_funcs.C (pasteParagraph): ... here
6233 2002-08-20 André Pönitz <poenitz@gmx.net>
6235 * commandtags.h: new LFUNs for swapping/copying table row/colums
6238 * lyxfunc.C: support for new lfuns
6240 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * buffer.[Ch]: remove NO_COMPABILITY stuff
6245 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * boost.C (throw_exception): new file, with helper function for
6248 boost compiled without exceptions.
6253 * ParameterStruct.h:
6254 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6256 * bufferlist.C (emergencyWriteAll): use boost bind
6258 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6260 * text.C: include paragraph_funcs.h
6261 (breakParagraph): breakParagraph is now in global scope
6263 * paragraph_funcs.[Ch]: new files
6265 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6268 * buffer.C: include paragraph_funcs.h
6269 (insertStringAsLines): breakParagraph is now in global scope
6271 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6274 * CutAndPaste.C: include paragraph_funcs.h
6275 (cutSelection): breakParagraphConservative is now in global scope
6276 (pasteSelection): ditto
6278 * buffer.h: declare oprator== and operator!= for
6279 Buffer::inset_iterator
6281 * bufferlist.C (emergencyWrite): don't use fmt(...)
6283 * text3.C: add using std::endl
6285 * BufferView.C (moveCursorUpdate): remove default arg
6287 2002-08-20 André Pönitz <poenitz@gmx.net>
6289 * buffer.[Ch]: move inline functions to .C
6292 * BufferView_pimpl.C:
6294 * buffer.[Ch]: use improved inset_iterator
6297 * paragraph.[Ch]: write one paragraph at a time
6299 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6301 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6302 style if style is not specified.
6304 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6306 * text2.C (setCounter): when searching for right label for a
6307 caption, make sure to recurse to parent insets (so that a caption
6308 in a minipage in a figure float works) (bug #568)
6310 2002-08-20 André Pönitz <poenitz@gmx.net>
6312 * text3.C: new file for LyXText::dispatch() and helpers
6314 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6316 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6318 2002-08-19 André Pönitz <poenitz@gmx.net>
6321 * text.C: new LyXText::dispatch()
6323 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6325 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6327 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6329 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6332 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6334 * Makefile.am: use $(variables) instead of @substitutions@
6336 2002-08-15 André Pönitz <poenitz@gmx.net>
6339 * BufferView_pimpl.C: streamlining mathed <-> outer world
6343 * LyXAction.C: remove unused LFUN_MATH
6345 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6349 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6351 * paragraph.C (Paragraph): reformat a bit
6352 (cutIntoMinibuffer): use builtin InsetList function instad of
6356 * buffer.C: include boost/bind.hpp, add using std::for_each
6357 (writeFileAscii): use ParagraphList iterators
6358 (validate): use for_each for validate traversal of paragraphs
6359 (getBibkeyList): use ParagraphList iterators
6360 (resizeInsets): use for_each to resizeInsetsLyXText for all
6362 (getParFromID): use ParagraphList iterators
6364 * BufferView2.C (lockInset): use paragraph list and iterators
6366 2002-08-14 John Levon <levon@movementarian.org>
6368 * lyxserver.C: remove spurious xforms include
6370 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6372 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6374 2002-08-13 André Pönitz <poenitz@gmx.net>
6377 * lyxfunc.C: further cleaning
6379 2002-08-13 André Pönitz <poenitz@gmx.net>
6381 * funcrequest.h: new constructor
6383 * funcrequest.C: move stuff here from .h
6386 * BufferView_pimpl.C:
6389 * lyxfunc.C: subsequent changes
6391 * lyxfunc.h: new view() member function
6393 * lyxfunc.C: subsequent changes
6395 2002-08-13 Angus Leeming <leeming@lyx.org>
6398 * BufferView_pimpl.C:
6406 changes due to the changed LyXView interface that now returns references
6407 to member variables not pointers.
6409 2002-08-13 Angus Leeming <leeming@lyx.org>
6411 * WordLangTuple (word, lang_code): return references to strings,
6416 * lyxtext.h: forward-declare WordLangTuple.
6421 * text.C: #include "WordLangTuple.h".
6424 * text.C: (selectNextWordToSpellcheck): constify return type.
6426 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6432 * paragraph_pimpl.h:
6435 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6437 Made updateCounter always count from start of buffer, and removed
6438 second argument (par).
6439 Reverted floats number display to '#'. Perhaps I'll try again when the
6440 code base is sanitized a bit.
6442 2002-08-12 Angus Leeming <leeming@lyx.org>
6444 * buffer.[Ch] (getLabelList): constify.
6446 2002-08-07 André Pönitz <poenitz@gmx.net>
6448 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6450 * funcrequest.h: extension to keep mouse (x,y) position
6452 2002-08-12 Juergen Vigna <jug@sad.it>
6454 * BufferView2.C (insertErrors): forbid undo when inserting error
6457 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6459 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6461 * ParagraphList.[Ch]: new files
6463 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6465 * BufferView2.C (lockInset): ParagraphList changes
6468 * bufferlist.C: ditto
6472 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6474 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6475 unused class variable counter_,
6477 * paragraph.[Ch] (getFirstCounter): delete unused function
6479 * counters.C: include LAssert.h
6480 (reset): add a new function with no arg, change other version to
6481 not have def. arg and to not allow empty arg.
6483 * text2.C (setCounter): remove empty arg from call to Counters::reset
6485 2002-08-11 John Levon <levon@movementarian.org>
6487 * Makefile.am: add WordLangTuple.h
6489 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6492 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6494 * insets/insettext.C: InsetList changes
6496 * graphics/GraphicsSupport.C (operator()): InsetList changes
6498 * toc.C (getTocList): InsetList changes
6500 * paragraph_pimpl.[Ch]: InsetList changes
6502 * paragraph.[Ch]: InsetList changes
6504 * buffer.C (inset_iterator): InsetList changes
6505 (setParagraph): ditto
6506 * buffer.h (inset_iterator): ditto
6507 * iterators.C (operator++): ditto
6508 * iterators.h: ditto
6510 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6512 * InsetList.[Ch]: new files, most InsetList handling moved out of
6515 * BufferView2.C (removeAutoInsets): InsetList changes
6517 (ChangeInsets): ditto
6519 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * paragraph_pimpl.h (empty): new function
6523 * paragraph.[Ch] (empty): new function
6525 * other files: use the new Paragraph::empty function
6527 2002-08-09 John Levon <levon@movementarian.org>
6529 * lyxtext.h: remove unused refresh_height
6531 2002-08-09 John Levon <levon@movementarian.org>
6538 * paragraph.C: move sgml char escaping out of paragraph
6541 * paragraph.C: remove id setter
6545 * paragraph_pimpl.C: remove dead tex_code_break_column
6547 * bufferview_funcs.C: small cleanup
6549 * lyxfunc.C: remove dead proto
6551 * lyxtext.h: make some stuff private. Remove some dead stuff.
6553 * lyxgluelength.C: make as[LyX]String() readable
6555 2002-08-08 John Levon <levon@movementarian.org>
6560 * ToolbarDefaults.C:
6563 * toc.C: lyxaction cleanup
6565 2002-08-08 John Levon <levon@movementarian.org>
6567 * BufferView2.C: small cleanup
6570 * lyxfind.C: move unnecessary header into the .C
6572 2002-08-08 John Levon <levon@movementarian.org>
6574 * funcrequest.h: just tedious nonsense
6577 * lyx_main.C: cleanups
6580 * vspace.C: remove dead header lyx_main.h
6582 2002-08-07 Angus Leeming <leeming@lyx.org>
6585 * paragraph_pimpl.h:
6586 Forward declare class Counters in paragraph.h by moving the ctrs member
6587 variable into Paragraph::Pimpl.
6588 (counters): new method, returning a reference to pimpl_->ctrs.
6590 * text2.C: ensuing changes.
6592 2002-08-07 John Levon <levon@movementarian.org>
6594 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6596 * BufferView_pimpl.C: announce X selection on double/triple
6599 * lyx_main.C: use correct bool in batch dispatch
6601 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6603 2002-08-07 André Pönitz <poenitz@gmx.net>
6605 * funcrequest.h: new class to wrap a kb_action and its argument
6608 * BufferView_pimpl[Ch]:
6612 * lyxrc.C: subsequent changes
6615 2002-08-07 John Levon <levon@movementarian.org>
6617 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6618 document options change.
6620 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6625 * makefile.am: move counters functionality over from
6626 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6628 2002-08-06 John Levon <levon@movementarian.org>
6630 * WordLangTuple.h: new file for word + language code tuple
6641 * BufferView2.C: use WordLangTuple
6644 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6646 2002-08-06 John Levon <levon@movementarian.org>
6648 * lyx_main.C: fix cmdline batch handling
6650 2002-08-06 André Pönitz <poenitz@gmx.net>
6652 * lyxrc.C: set default for show_banner to true
6654 2002-08-06 John Levon <levon@movementarian.org>
6656 * pspell.C: fix a crash, and allow new aspell to work
6658 2002-08-06 John Levon <levon@movementarian.org>
6661 * kbmap.C: small cleanup
6664 * vspace.C: add const
6666 2002-08-05 John Levon <levon@movementarian.org>
6668 * LyXAction.C: back to tabular-insert
6670 2002-08-04 John Levon <levon@movementarian.org>
6673 * BufferView.C: cosmetic change
6675 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6685 * BufferView2.C: purge all "Lyx" not "LyX" strings
6688 * lyxcursor.C: attempt to add some documentation
6693 * ToolbarDefaults.C:
6694 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6695 merge with LFUN_TABULAR_INSERT
6702 * pspell.C: split up i/pspell implementations into separate
6703 files, many cleanups
6705 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6707 * text2.C: some cleanup
6709 * lyxfunc.C: don't check for isp_command == "none" any more, it
6710 didn't make any sense
6712 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6717 * makefile.am: move counters functionality over
6718 from text2.C/paragraph.[Ch] to counters.[Ch], and
6720 2002-08-02 John Levon <levon@movementarian.org>
6722 * buffer.C: s/lyxconvert/lyx2lyx/
6724 2002-08-02 Angus Leeming <leeming@lyx.org>
6726 * lyxlex.C: revert John's change as it breaks reading of the user
6729 2002-08-02 Angus Leeming <leeming@lyx.org>
6731 * importer.C (Import):
6732 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6733 changes due to LyXView::view() now returning a boost::shared_ptr.
6735 2002-08-02 John Levon <levon@movementarian.org>
6737 * lyxlex.C: small cleanup
6739 2002-08-02 John Levon <levon@movementarian.org>
6741 * text2.C (status): small cleanup, no logic change
6743 2002-08-01 John Levon <levon@movementarian.org>
6746 * buffer.C (writeFile): don't output alerts, caller
6750 * lyx_cb.C: from above
6752 * lyxfunc.C: allow to open non-existent files
6754 2002-07-31 John Levon <levon@movementarian.org>
6756 * lyxserver.C: don't let incidental errors get
6759 2002-07-30 John Levon <levon@movementarian.org>
6761 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6763 2002-07-30 John Levon <levon@movementarian.org>
6766 * lyxserver.C: remove I/O callback too
6768 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6770 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6773 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * many files: strip,frontStrip -> trim,ltrim,rtrim
6777 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * PrinterParams.h: remove extern containsOnly, and include
6780 support/lstrings.h instead.
6782 * LaTeX.C (scanAuxFile): modify because of strip changes
6784 * buffer.C (makeLaTeXFile): ditto
6785 * bufferparams.C (writeFile): ditt
6786 * lyxfont.C (stateText): ditto
6787 * lyxserver.C (read_ready): ditto
6788 * vc-backend.C (scanMaster): ditto
6790 * BufferView_pimpl.h: ws changes
6792 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6794 2002-07-26 André Pönitz <poenitz@gmx.net>
6796 * kb_sequence.C: remove unnedred usings
6798 2002-07-26 Juergen Vigna <jug@sad.it>
6800 * lyxfind.C (LyXReplace): we have to check better if the returned
6801 text is not of theLockingInset()->getLockingInset().
6803 2002-07-25 Juergen Vigna <jug@sad.it>
6805 * lyxfind.C (LyXReplace): don't replace if we don't get the
6808 * undo_funcs.C (createUndo): remove debugging code.
6810 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6812 * buffer.C (parseSingleLyXformat2Token): Use default placement
6813 when reading old floats.
6815 * FloatList.C (FloatList): Change the default placement of figure
6816 and tables to "tbp".
6818 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6820 * MenuBackend.C: using std::max
6822 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * MenuBackend.C (expandToc):
6825 (expandToc2): code moved from xforms menu frontend. It is now
6826 generic and TOCs are transparent to menu frontends.
6828 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6830 * toc.C (getTocList): protect against buf=0
6832 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6833 Menu as first parameter. Now, this calls itself recursively to
6834 expand a whole tree (this will be useful for TOC handling)
6835 (expandFloatInsert): remove 'wide' version of floats
6837 * MenuBackend.h (submenuname): returns the name of the submenu.
6838 (submenu): returns the submenu itself, provided it has been
6839 created by MenuBackend::expand
6841 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6843 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6844 insets which have noFontChange == true. (bug #172)
6846 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6848 * BufferView_pimpl.C: add connection objects and use them...
6851 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6853 * MenuBackend.C (expandLastfiles):
6856 (expandFloatListInsert):
6857 (expandFloatInsert):
6858 (expand): split expand in parts
6860 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6862 * lyx_gui.C: use lyx_gui::exit()
6864 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6866 * LyXAction.C: show the failing pseudo action
6868 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6870 * buffer.C (readFile): Run the lyxconvert script in order to read
6873 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6877 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6879 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6883 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6885 2002-07-22 Herbert Voss <voss@lyx.org>
6888 * lyxlength.[Ch]: add support for the vertical lengths
6890 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6892 * toc.[Ch]: std:: fixes
6894 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6896 * lyxrc.C: do not include lyx_main.h
6898 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6904 * BufferView2.C: include "lyxlex.h"
6907 * bufferparams.h: do not #include "lyxlex.h"
6909 * lyxtextclasslist.C (Add): remove method
6910 (classlist): renamed to classlist_
6912 * paragraph_pimpl.C:
6916 * bufferview_funcs.C:
6921 * toc.C (getTocList): use BufferParams::getLyXTextClass
6923 * toc.C (getTocList): use InsetFloat::addToToc
6925 * toc.[Ch]: new files, containing helper functions to handle table
6928 * lyxfunc.C (dispatch): no need to remove spaces around command
6930 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6931 first command of the sequence; it is not very clever, but I do not
6932 have a better idea, actually
6934 * LyXAction.C (LookupFunc): make sure to remove space at the
6935 beginning and end of the command
6937 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6939 * MenuBackend.C (getMenubar): new method: return the menubar of
6941 (read): treat differently reading of menu and menubar (in
6942 particular, the menubar has no name now)
6943 (Menu::menubar): remove
6945 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6948 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6950 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6951 a bibitem inset in a RTL paragraph.
6953 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6955 * paragraph_pimpl.C: constify
6957 * BufferView_pimpl.C:
6959 * lyxfunc.C: fix dispatch in a nicer way
6961 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6963 * lyxfunc.C (dispatch):
6964 * BufferView_pimpl.C:
6965 * BufferView_pimpl.h:
6967 * BufferView.h: rename Dispatch() to dispatch()
6969 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6971 * lyxlayout.C (Read): honor DependsOn tag
6973 * lyxlayout.[Ch] (depends_on): new method
6975 * version.C.in: update lyx_docversion
6977 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6979 * paragraph.C (validate): remove from here...
6980 * paragraph_pimpl.C (validate): ... and move here
6981 (isTextAt): make it const
6983 * buffer.C (getLists): ws cleanup
6985 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6987 * language.C (read): Use iso8859-1 encoding in latex_lang
6988 (this prevents LyX from crashing when using iso10646-1 encoding).
6990 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6992 * text2.C (toggleInset): if cursor is inside an inset, close the
6993 inset and leave cursor _after_ it
6995 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6997 * lyxfunc.C: move minibuffer completion handling out of here
6999 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7001 * BufferView_pimpl.C:
7002 * LaTeX.C: fix dispatch calls
7004 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7006 * text.C (drawChars): Fix Arabic text rendering.
7008 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7012 * lyxfunc.C: remove message-push/pop
7016 * lyxfunc.C: rationalise some code by removing verboseDispatch
7017 in favour of a bool argument to dispatch()
7019 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7021 * lyx_main.C (init): make sure to read symlinks as absolute paths
7023 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7026 * lyxfunc.C: no need for commandshortcut to be a member
7028 2002-07-15 André Pönitz <poenitz@gmx.net>
7030 * converter.C: add support for $$s (scripts from lib/scripts dir)
7031 * lyx_main.C: white space
7033 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7037 * lyxrc.C: remove second exit confirmation
7039 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7044 * BufferView_pimpl.h:
7045 * BufferView_pimpl.C:
7046 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7048 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7050 * MenuBackend.C (expand): add numeric shortcuts to document menu
7052 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7054 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7056 * lyxfont.C (setLyXFamily):
7063 * buffer.C (asciiParagraph): use ascii_lowercase
7065 2002-07-15 Mike Fabian <mfabian@suse.de>
7067 * lyxlex_pimpl.C (search_kw):
7068 * lyxlex.C (getLongString):
7069 * converter.h (operator<):
7070 * converter.C (operator<):
7071 * buffer.C (parseSingleLyXformat2Token):
7073 * ToolbarDefaults.C (read):
7074 * MenuBackend.C (checkShortcuts):
7076 * LColor.C (getFromGUIName):
7077 (getFromLyXName): use the compare_ascii_no_case instead of
7078 compare_no_case, because in turkish, 'i' is not the lowercase
7079 version of 'I', and thus turkish locale breaks parsing of tags.
7081 2002-07-16 Angus Leeming <leeming@lyx.org>
7083 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7084 now takes a Buffer const & argument.
7086 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7088 * BufferView.C (resize): check there's a buffer to resize
7090 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7092 * lyxfunc.C: remove dead code
7095 * lyxserver.C: use lyx_guii::set_read_callback
7097 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7099 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7100 an inset in a RTL paragraph.
7102 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7104 * lyxfunc.C: repaint after a font size update
7106 2002-07-15 André Pönitz <poenitz@gmx.net>
7108 * lyxlength.C: inBP should be able to return negative values
7110 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7112 * lyxfunc.C: use lyx_gui::update_fonts()
7114 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7116 * lyxfunc.C: use lyx_gui::update_color()
7118 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7124 * lyxrc.C: remove file->new asks for name option, and let
7125 buffer-new take an argument
7127 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7129 * BufferView_pimpl.C: remove unneeded extra repaint()
7131 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7133 * LyXAction.C: allow command-sequence with NoBuffer
7135 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7137 2002-07-10 Angus Leeming <leeming@lyx.org>
7139 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7141 2002-07-09 Angus Leeming <leeming@lyx.org>
7143 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7145 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7147 * lengthcommon.h: whitespace
7149 * lyxfunc.C: update scrollbar after goto paragraph
7151 * lyxtext.h: factor out page break drawing, and fix it so
7152 page break/added space paints as selected nicely
7154 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7156 * BufferView_pimpl.C: add FIXMEs, clean up a little
7158 2002-07-09 André Pönitz <poenitz@gmx.net>
7160 * lyxfont.[Ch]: support for wasy symbols
7162 2002-07-08 André Pönitz <poenitz@gmx.net>
7164 * BufferView_pimpl.C: apply John's patch for #93.
7166 2002-07-05 Angus Leeming <leeming@lyx.org>
7168 * BufferView_pimpl.C (buffer): generate previews if desired.
7170 * LColor.h: add "preview" to the color enum.
7172 * LColor.C (LColor): add a corresponding entry to the items array.
7174 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7177 2002-07-05 Angus Leeming <leeming@lyx.org>
7179 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7180 The body of the code is now in the method that is passed an ostream &
7181 rather than a file name.
7182 Pass an additional only_preamble parameter, useful for the forthcoming
7185 2002-07-03 André Pönitz <poenitz@gmx.net>
7187 * lyxfunc.C: simplify getStatus() a bit for math stuff
7189 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7191 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7193 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7195 * text.C (changeRegionCase): do not change case of all the
7196 document when region ends at paragraph end (bug #461)
7198 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7200 * paragraph.C (startTeXParParams):
7201 (endTeXParParams): add \protect when necessary
7203 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7205 * BufferView_pimpl.C (workAreaExpose): remove warning
7207 2002-06-27 Angus Leeming <leeming@lyx.org>
7209 * Makefile.am: add lyxlayout_ptr_fwd.h.
7211 2002-06-26 André Pönitz <poenitz@gmx.net>
7213 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7215 2002-06-25 Angus Leeming <leeming@lyx.org>
7217 * lyxfunc.C (dispatch): Comment out the call to
7218 grfx::GCache::changeDisplay. The method no longer exists now that the
7219 pixmap generation part of the graphics loader has been moved into
7222 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7224 * text2.C: layout as layout
7226 * text.C: layout as layout
7228 * tabular.C (OldFormatRead): layout as layout
7230 * paragraph_pimpl.C (TeXDeeper): layout as layout
7231 (realizeFont): layout as layout
7233 * paragraph.C (writeFile): layout as layout
7234 (validate): layout as layout
7235 (getFont): layout as layout
7236 (getLabelFont): layout as layout
7237 (getLayoutFont): layout as layout
7238 (breakParagraph): layout as layout
7239 (stripLeadingSpaces): layout as layout
7240 (getEndLabel): layout as layout
7241 (getMaxDepthAfter): layout as layout
7242 (applyLayout): layout as layout
7243 (TeXOnePar): layout as layout
7244 (simpleTeXOnePar): layout as layout
7245 (TeXEnvironment): layout as layout
7246 (layout): layout as layout
7247 (layout): layout as layout
7249 * lyxtextclass.C (compare_name): new functor to work with
7250 shared_ptr, layout as layout
7251 (Read): layout as layout
7252 (hasLayout): layout as layout
7253 (operator): layout as layout
7254 (delete_layout): layout as layout
7255 (defaultLayout): layout as layout
7257 * lyxlayout_ptr_fwd.h: new file
7259 * lyxlayout.C (Read): layout as layout
7261 * lyx_cb.C (MenuInsertLabel): layout as layout
7263 * bufferlist.C (newFile): layout as layout
7265 * buffer.C (readLyXformat2): layout as layout
7266 (parseSingleLyXformat2Token): layout as layout
7267 (insertStringAsLines): layout as layout
7268 (asciiParagraph): layout as layout
7269 (latexParagraphs): layout as layout
7270 (makeLinuxDocFile): layout as layout
7271 (simpleLinuxDocOnePar): layout as layout
7272 (makeDocBookFile): layout as layout
7273 (simpleDocBookOnePar): layout as layout
7274 (getLists): layout as layout
7276 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7278 * CutAndPaste.C (cutSelection): layout as layout
7279 (pasteSelection): layout as layout
7280 (SwitchLayoutsBetweenClasses): layout as layout
7282 * BufferView_pimpl.C (Dispatch): layout as layout
7283 (smartQuote): layout as layout
7285 * BufferView2.C (unlockInset): layout as layout
7287 2002-06-24 André Pönitz <poenitz@gmx.net>
7289 * lyxfunc.C: fix #487
7291 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7295 * lyxfunc.C: remove display_shortcuts, show_banner
7297 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7299 * Buffer_pimpl.C: oops, update on resize
7301 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7308 * BufferView.C: use repaint()
7310 * BufferView_pimpl.h:
7311 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7312 as it's a clearer description. Remove superfluous
7315 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7317 * text.C: fix bug 488. Not ideal, but getting
7318 getWord() to work properly for the insets that
7319 matter is more difficult ...
7321 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7323 * BufferView_pimpl.C:
7326 * lyxfunc.C: remove the six million index lyxfuncs to just
7327 one, and DTRT (bug 458)
7329 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7333 * BufferView_pimpl.h:
7334 * BufferView_pimpl.C: clean up resize() stuff,
7335 and unnecessary updateScreen()s
7337 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7341 * BufferView_pimpl.h:
7342 * BufferView_pimpl.C:
7345 * minibuffer.C: remove focus management of workarea,
7346 not needed. Use screen's greyOut()
7348 2002-06-17 Herbert Voss <voss@lyx.org>
7350 * converter.C: (convert) do not post a message, when converting
7351 fails, let the calling function decide what to do in this case
7353 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7355 * lyxfunc.C: tidy up a little
7357 2002-06-16 <alstrup@diku.dk>
7359 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7360 Got rid of FORMS_H_LOCATION include. Now we are
7363 2002-06-15 LyX Development team <lyx@rilke>
7365 * buffer.[Ch] (sgmlOpenTag):
7366 (sgmlCloseTag): Added support for avoiding pernicious mixed
7367 content. Return number of lines written.
7370 (makeDocBookFile): Fixed calls to sgml*Tag.
7371 Simple white space clean.
7373 (simpleDocBookOnePar): Simple white space clean.
7375 * tabular.[Ch] (docBook): Renamed to docbook and got another
7376 argument to related with the pernicious mixed content.
7378 (docbookRow): Fixed calls for docbook inset method.
7380 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7382 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7383 so it's X11 independent.
7387 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7389 2002-06-15 Lyx Development team <lyx@electronia>
7391 * intl.h: Renamed getTrans to getTransManager.
7393 2002-06-14 Angus Leeming <leeming@lyx.org>
7395 * Makefile.am: nuke forgotten stl_string_fwd.h.
7397 2002-06-12 Angus Leeming <leeming@lyx.org>
7399 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7401 2002-06-13 Angus Leeming <leeming@lyx.org>
7404 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7406 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7408 * kbmap.C (getiso): add support for cyrillic and greek
7410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7414 * BufferView_pimpl.h:
7415 * BufferView_pimpl.C: move bogus scrolling logic
7418 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7421 * BufferView_pimpl.C: view->resize() change
7423 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7425 * BufferView_pimpl.C: topCursorVisible
7428 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7432 * lyx_gui.C: move to frontends/
7436 * lyx_main.C: changes from above
7438 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7445 * lyx_main.C: minor tidy
7447 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7449 * BufferView_pimpl.h:
7450 * BufferView_pimpl.C:
7452 * BufferView.C: make painter() const,
7455 * BufferView2.C: use screen() accessor
7458 * lyx_main.C: some minor cleanup
7460 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7462 * BufferView_pimpl.h:
7463 * BufferView_pimpl.C: remove enter/leaveView,
7466 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7471 * BufferView_pimpl.h:
7472 * BufferView_pimpl.C: only construct screen once,
7475 * lyxrc.C: remove pointless comment
7477 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7480 * BufferView.C: remove active() and belowMouse()
7482 * BufferView_pimpl.h:
7483 * BufferView_pimpl.C: use workarea() not workarea_,
7484 and make it use a scoped_ptr instead
7486 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7488 * lyx_gui.C: add debug message on BadWindow
7490 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7492 * sp_spell.C: fdopen is not part of the C++ standard.
7494 * paragraph.C (InsetIterator): use >= instead of ==
7496 2002-06-07 Angus Leeming <leeming@lyx.org>
7498 Fixes needed to compile with Compaq cxx 6.5.
7499 * BufferView_pimpl.C:
7506 * lyxtextclasslist.C:
7511 all c-library variables have been moved into namespace std. Wrap
7512 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7517 Add a using std::abs declaration.
7519 * kbmap.h (modifier_pair):
7520 * paragraph.h (InsetTable, InsetList):
7521 * lyxfont.h (FontBits):
7522 type definition made public.
7524 * bufferlist.C (emergencyWriteAll): the compiler complains that
7525 there is more than one possible lyx::class_fun template to choose from.
7526 I re-named the void specialisation as lyx::void_class_fun.
7528 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7530 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7531 the compiler is is unable to find tostr in write_attribute.
7533 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7535 * buffer.C (sgmlError): hide #warning
7537 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7539 * xtl/*: get rid of xtl, which is not in use anyway
7541 * LyXAction.C (init):
7542 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7543 were unimplemented xtl experimentation
7545 2002-06-04 André Pönitz <poenitz@gmx.net>
7547 * lyxfunc.C: disable array operation on simple formulae
7549 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7551 * converter.C: constify a bit
7553 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7555 * lyx_gui.C: check xforms version correctly
7557 2002-04-30 Herbert Voss <voss@lyx.org>
7559 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7562 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7564 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7565 attempt to register it with a VCS)
7567 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7569 * lyx_main.C (init): honor variables LYX_DIR_13x and
7572 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7576 * lyx_main.C: fix a crash on bad command line,
7577 and give a useful exit status on error
7579 * lyxfunc.C (doImport): allow -i lyx to work
7581 2002-03-30 André Pönitz <poenitz@gmx.net>
7583 * lyxfunc.C: mathed font changes
7585 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7600 * trans_mgr.h: srcdocs, and some minor cleanups
7602 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7604 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7605 call getFont all the time)
7607 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * switch from SigC signals to boost::signals
7611 2002-05-29 André Pönitz <poenitz@gmx.net>
7613 * paragraph_pimpl.C (getChar): don't call size() too often...
7615 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7617 * paragraph_pimpl.C (insertChar): do not try to update tables when
7618 appending (pos == size())
7620 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7621 in order to reduce drastically the number of comparisons needed to
7622 parse a large document
7624 2002-05-29 André Pönitz <poenitz@gmx.net>
7630 * textclasslist.[Ch]:
7631 * sp_ispell.h: whitespace change
7633 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7635 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7636 lyxaction directly now.
7638 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7642 * lyxvc.C: remove unused headers
7644 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7651 * undo_funcs.C: some cleanups. Use shared_ptr
7652 and a template for the undo stacks.
7654 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7656 * BufferView_pimpl.h:
7657 * BufferView_pimpl.C:
7664 * text2.C: use key_state/mouse_state
7666 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7668 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7671 * chset.C: change include order
7672 (loadFile): use boost regex and get rid of LRegex and LSubstring
7674 * Makefile.am (BOOST_LIBS): new variable
7677 * LaTeX.C: change include order.
7678 (scanAuxFile): use boost regex and get rid of LRegex and
7682 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7687 * FontInfo.C: moved to frontends/xforms/
7690 * FontLoader.C: moved into frontends for GUIIzation
7695 * lyxfunc.C: changes from above
7697 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7699 * LColor.C: remove spurious X include
7701 * BufferView_pimpl.C:
7706 * text2.C: move font metrics to frontends/
7708 2002-05-24 Juergen Vigna <jug@sad.it>
7710 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7711 setting the undo_cursor.
7713 * ParagraphParameters.h: include local includes first.
7715 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7717 * BufferView_pimpl.C:
7718 * BufferView_pimpl.h:
7722 * screen.C: move WorkArea into frontends/
7728 * BufferView2.C: move LyXScreen into frontends/
7732 * lyx_gui.C: move lyxlookup into frontends/xforms/
7734 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7737 * BufferView_pimpl.C:
7747 * bufferview_funcs.C:
7760 * vc-backend.C: move LyX/XFormsView into frontends/
7762 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7774 * text2.C: move Painter to frontends/
7776 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7778 * buffer.C: comment out some some code that depend upon lyx_format
7781 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7782 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7784 * buffer.h (NO_COMPABILITY): turn off compability
7786 * ColorHandler.C: include scoped_array.hpp
7788 * font.C: Use more specific smart_ptr header.
7791 * ShareContainer.h: ditto
7795 * BufferView_pimpl.h: ditto
7796 * ColorHandler.h: ditto
7798 * kbmap.C (defkey): change call to shared_ptr::reset
7800 2002-05-21 Juergen Vigna <jug@sad.it>
7802 * buffer.C (insertErtContents): fix to insert ert asis if it is
7803 non empty. Skip it completely if it contains only whitespaces.
7805 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7807 * BufferView_pimpl.C:
7808 * BufferView2.C: clear selection on paste (bug 393)
7810 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7812 * DepTable.C: include ctime
7814 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7816 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7818 2002-05-14 Juergen Vigna <jug@sad.it>
7820 * text.C (breakParagraph): fixed function to honor the keepempty
7821 layout in the right maner and also to permit the right breaking
7822 algorithm on empty or non empyt keepempty paragraphs.
7824 * paragraph.C (breakParagraph): we have to check also if the par
7825 is really empty (!size()) for isempty otherwise we do the wrong
7828 2002-05-10 Juergen Vigna <jug@sad.it>
7830 * buffer.[Ch] : The following are only changes to the ert
7831 compatibility read reading old LaTeX layout and font stuff and
7832 convert it to ERTInsets.
7834 * buffer.h: added isErtInset().
7836 * buffer.C (struct ErtComp): add a fromlayout bool to check
7837 if we're inside a LaTeX layout.
7838 (isErtInset): new helper function.
7839 (insertErtContents): look for other ert insets before this one
7840 and insert the contents there, so that we don't have subsequent
7841 ERT insets with nothing between them. This way we create only one
7842 inset with multiple paragraphs. Also check if we don't insert only
7843 spaces ' ' as they are ignored anyway afterwards in the .tex file
7844 so if we have only spaces we will ignore this latex part in the
7846 (parseSingleLyXformat2Token \\layout): better compatibility when
7847 reading layout-latex stuff.
7848 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7850 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7851 stuff after reading the inset only get the information back from
7854 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7856 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7858 * LaTeXFeatures.C (getBabelOptions): New method.
7860 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * BufferView_pimpl.C (Dispatch): work around missing argument for
7865 2002-05-08 Juergen Vigna <jug@sad.it>
7867 * text.C (leftMargin): handle paragraph leftindent.
7869 * paragraph.C (writeFile): write the new \\leftindent tag.
7870 (validate): handle leftindent code.
7871 (TeXEnvironment): handle paragraphleftindent code again.
7873 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7875 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7876 for paragrap_extra indent code and new token \\leftindent.
7877 (latexParagraphs): handle the leftindent as environment.
7879 * ParameterStruct.h: added leftindent support.
7881 * ParagraphParameters.C (leftIndent): added support functions for
7882 the paragraph left indent.
7884 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7887 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7889 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7892 * text.C (computeBidiTables): No bidi in insetERT.
7894 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7897 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7899 * version.C.in: pre 5
7901 2002-05-02 José Matos <jamatos@fep.up.pt>
7902 * buffer.C (makeDocBookFile): white space changes, add newline to
7904 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7906 * tabular.C (docBook): fix typo.
7908 2002-05-03 Juergen Vigna <jug@sad.it>
7910 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7911 change in LyXText as we can not be sure it was not freed.
7912 (drawOneRow): remove unused code.
7914 * text.C (drawInset): redo the calculation of the need_break_row as
7915 it could have a row which was already freed.
7916 (draw): look at the return value of drawInset and return false if
7917 it also returned false.
7918 (paintRowText): look at the return value of draw and return false if
7919 it also returned false.
7921 * lyxtext.h: added bool return type to drawInset() and draw() so that
7922 if we have a change in the row so that the rowbreak has to be redone
7923 we abort drawing as it will be called again.
7925 2002-05-02 Juergen Vigna <jug@sad.it>
7927 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7928 a change in the maintext also if we're inside an inset.
7929 (Dispatch): set the cursor again after a break line and after the
7930 screen has been updated as it could be we're in a different row.
7932 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7933 to set the cursor behind the pargraph with > size().
7934 (setCursor): check also for the same paragraph when checking where
7935 to put the cursor if we have a NFR inset.
7937 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7938 parts of layout read further up as it still was in the wrong
7941 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7943 * screen.C (drawFromTo): change sine fullRebreak always return
7946 * buffer.C (parseSingleLyXformat2Token): reindent some
7948 * BufferView_pimpl.C (update): change since fullRebreak always
7950 (Dispatch): git rid of the last hardcoded "Standard"s.
7952 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7954 * text2.[Ch] (fullRebreak): make it return void now that we always
7957 2002-04-30 Juergen Vigna <jug@sad.it>
7959 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7960 ert compatibility check for "latex" layout.
7962 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7964 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7965 minipages: use col% instead of p%, and also use the current font.
7966 (makeLaTeXFile): Fix use babel condition.
7967 (parseSingleLyXformat2Token): Correct font when reading old floats.
7969 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7971 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7972 inserting list of floats.
7974 2002-04-25 Herbert Voss <voss@lyx.org>
7976 * MenuBackend.C (expand): don't add the graphics extensions to the
7979 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7981 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7982 non-existing layout, do not complain if it was the default layout
7983 of the original class (bug #342)
7985 2002-04-24 Juergen Vigna <jug@sad.it>
7987 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7988 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7990 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7992 * buffer.C (getBibkeyList): If using \bibliography, return the
7993 option field with the reference itself. Enables us to provide natbib
7994 support when using \bibliography.
7996 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7998 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8000 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8001 natbib is provided by the LaTeX class.
8003 2002-04-23 Juergen Vigna <jug@sad.it>
8005 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8008 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8010 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8012 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8014 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8015 ensuremath around textordmasculine, textordfeminine and
8018 2002-04-19 Juergen Vigna <jug@sad.it>
8020 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8021 reinitializing the buffer otherwise row-dimensions may be wrong.
8022 (update): reset also the selection cursors if they do exits otherwise
8023 their x/y positions may be wrong.
8025 * text2.C (cursorDown): don't enter the inset if we came from a row
8026 above and are one row over the inset.
8028 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8029 really leaving an inset.
8031 2002-04-18 Juergen Vigna <jug@sad.it>
8033 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8034 of the selected paragraph does not have the selected layout also if
8037 * text2.C (setLayout): fixed bug which did not change last selected
8040 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8041 changed the read and substituted \\end_float with \\end_inset!
8043 * BufferView_pimpl.C (cursorPrevious):
8044 (cursorNext): fixed to make it work with rows heigher than the work
8045 area without moving the cursor only the draw of the row.
8046 (workAreaMotionNotify): fix jumping over high rows.
8048 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8050 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8053 2002-04-16 Juergen Vigna <jug@sad.it>
8055 * text2.C (setCursor): set also the irow().
8056 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8058 (cursorDown): support for locking an inset if the x_fix value goes
8059 inside it. That way I can transverse insets too with cursor up/down.
8061 * lyxrow.h: added irow helper function same as other (i) functions.
8063 * BufferView_pimpl.C (cursorPrevious):
8064 (cursorNext): fixed for insets!
8066 2002-04-15 Juergen Vigna <jug@sad.it>
8068 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8069 position otherwise it is wrong in some cases.
8071 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8072 inside the inset before the call.
8074 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8076 * buffer.[Ch] (getBibkeyList): make it const.
8078 2002-04-12 Juergen Vigna <jug@sad.it>
8080 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8082 * text2.C (getCursorX): new helper function
8083 (setCursor): compute also ix_
8084 (setCursorFromCoordinates): set also ix.
8086 * lyxcursor.h: added ix_ and helper functions.
8088 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8090 * buffer.C (insertStringAsLines): dont break paragraph if the this
8091 paragraph is inside an inset which does not permit it!
8093 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8094 also with no chars on this paragraph.
8095 (paintRowText): only paint stuff if it's inside the workarea!
8097 * paragraph.C (breakParagraph): honor keepempty flag and break the
8098 paragraph always below not above.
8100 * BufferView2.C (unlockInset): update the paragraph layout on inset
8101 unlock as we changed paragraph in such a case.
8103 * lyxfind.C (LyXFind): clear the former selection if not found!
8105 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8106 again called in insertChar().
8108 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8109 an inset which uses the whole row!
8110 (rightMargin): ditto.
8111 (insertChar): force a rebreak if we inserted an inset!
8113 2002-03-28 Herbert Voss <voss@lyx.org>
8115 * lyxlength.[Ch]: add inBP() to get the right PS-point
8116 units (BigPoint). With inPixels we have rounding errors
8118 2002-04-11 Juergen Vigna <jug@sad.it>
8120 * text2.C (setCursorFromCoordinates): set iy to the right value.
8121 (setCursor): add check if row->previous exists!
8123 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8124 an old float_type as this was the case in the old code!
8126 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8128 * BufferView2.C (showLockedInsetCursor): use iy
8129 (fitLockedInsetCursor): ditto
8131 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8132 locked insets as there we have the right value now.
8134 * lyxcursor.C: added iy_ variable and iy functions to set to the
8135 baseline of cursor-y of the locked inset.
8137 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8138 (setCursor): fixed for insets which need a full row.
8140 * text.C (rowLastPrintable): don't ignore the last space when before
8141 an inset which needs a full row.
8142 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8143 as last character of a row when before a inset which needs a full row.
8145 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * version.C.in: update date
8149 * text2.C (fullRebreak): try to always return true and see what
8152 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8154 * MenuBackend.C (expand): use Floating::listName
8156 * FloatList.C (FloatList): add listName argument to the built-in
8159 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8160 text associated with the float.
8162 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8164 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8166 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8168 * ShareContainer.h: add a couple of missing typenames.
8170 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8172 * lyxrc.C (getDescription): use _() correctly rather than N_().
8174 2002-03-28 Herbert Voss <voss@lyx.org>
8176 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8177 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8179 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8181 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8182 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8184 2002-03-29 Juergen Vigna <jug@sad.it>
8186 * lyxfunc.C (dispatch): add a missing fitCursor call.
8188 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8189 it was scrolled by a cursor move, so return the bool status.
8191 * BufferView.C (fitCursor): return the bool flag also to the outside
8192 world as this is needed.
8194 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8196 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8197 call the edit() as it is not needed (and wrong) IMO.
8198 (workAreaButtonPress): set the screen_first variable before evt.
8199 unlock the inset as this may change screen_first and then we have
8200 a wrong y position for the click!
8202 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8204 * MenuBackend.C (expand): another translation that I missed
8206 2002-03-28 Juergen Vigna <jug@sad.it>
8208 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8210 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8212 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8214 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8216 * MenuBackend.C (expand): fix export/view/update when there is no
8219 2002-03-27 Herbert Voss <voss@lyx.org>
8221 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8224 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * bufferview_funcs.C (currentState): only show paragraph number
8227 for is DEVEL_VERSION is set.
8229 * lyxfunc.C (dispatch): put warning in INFO channel
8231 * MenuBackend.C (expand): translate the name of floats
8233 * FloatList.C (FloatList): mark the float names for translation
8235 * converter.C (convert): use LibScriptSearch
8237 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8239 * MenuBackend.C (defaults): fix default menu (we might as well get
8242 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8244 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8247 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8249 * lyxvc.C: reorder includes.
8251 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8253 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8256 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8258 * CutAndPaste.C: change layouts earlier on paste
8259 to avoid crashing when calling getFont()
8261 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8263 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8266 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8268 * WorkArea.C: remove 'Pending' debug message.
8270 * most files: ws cleanup
8272 * buffer.[Ch]: ws changes
8274 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8276 2002-03-21 Juergen Vigna <jug@sad.it>
8278 * tabular.C (SetMultiColumn): collapse also the contents of the
8279 cells and set the last border right. Added a Buffer const * param.
8281 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8283 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8286 2002-03-19 Juergen Vigna <jug@sad.it>
8288 * text2.C (clearSelection): reset also xsel_cache.
8290 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8291 where it needs to be called (John tells us to do so too :)
8292 (selectionLost): reset sel_cache.
8294 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8296 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8298 * text2.C (setCursorIntern): put debuging code in INSETS channel
8300 2002-03-19 André Pönitz <poenitz@gmx.net>
8302 * lyxfunc.C: tiny whitespace change
8304 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8306 * ToolbarDefaults.C (init):
8307 * LyXAction.C (init):
8309 * BufferView_pimpl.C (Dispatch):
8310 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8312 2002-03-19 Allan Rae <rae@lyx.org>
8314 * exporter.C (Export): removeAutoInsets before doing anything else.
8315 While I've just introduced a dependency on BufferView this really is
8316 the best place to clean the buffer otherwise you need to cleanup in
8317 a dozen places before calling export or cleanup in a dozen functions
8320 * converter.C (runLaTeX):
8321 (scanLog): Better handling of removeAutoInsets and screen updates.
8323 * lyxfunc.C (dispatch): small whitespace changes
8325 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8327 * WorkArea.C (C_WorkAreaEvent): return a value.
8328 (event_cb): return 1 if we handled the event, 0 otherwise.
8330 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8332 2002-03-18 Juergen Vigna <jug@sad.it>
8334 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8335 (GetAdditionalWidth): ditto.
8339 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8340 inset if we're there actually (probably not used right now but this
8341 is the direction to go for unifying code).
8342 (paste): disable code to clear the selection.
8344 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8345 inside an InsetText and move the check further up as it is in the
8348 * text2.C (pasteSelection): set a selection over the pasted text.
8350 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8352 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8353 and libgraphics to build on Cygwin.
8355 2002-03-15 Juergen Vigna <jug@sad.it>
8357 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8358 inserting an Inset into the paragraph. I know this is not the best
8359 fix but we already use current_view in CutAndPaste so we will remove
8360 all of it's using at the same time.
8362 * buffer.C (sgmlError): deactivated function till it is rewritten in
8363 the right mode, now it can create problems.
8365 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8366 before accessing it.
8368 2002-03-14 Juergen Vigna <jug@sad.it>
8370 * undo_funcs.C (textHandleUndo): do the right thing when updating
8371 the inset after the undo/redo.
8373 * text2.C (setCursor): just some testcode for #44 not ready yet.
8375 * undo_funcs.C (textHandleUndo): set the next() and previous()
8376 pointers of the paragraph to 0 before deleting otherwise we have
8377 problems with the Paragraph::[destructor].
8379 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8380 on a paragraph insertion.
8382 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8384 * buffer.C (asciiParagraph): use += operator for char append to
8387 * paragraph.C (getFontSettings): compare >= not just >
8388 (highestFontInRange): ditto
8391 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8393 * paragraph.C: change several algorithm to be more appripriate for
8394 the problem domain. This is lookip in FontList and in the InsetList.
8396 2002-03-13 André Pönitz <poenitz@gmx.net>
8399 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8401 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8406 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8408 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * Painter.C (display): anon helper function, adjust code for this
8412 (pixmap): remove function.
8414 * Painter.h: remove private display variable.
8416 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8418 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8420 * WorkArea.[Ch]: remove figinset_canvas cruft.
8422 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8424 * lyxtextclass.C (operator): add one item cache optimization.
8426 * bufferlist.h: doxy changes
8428 * bufferlist.C: ws changes
8430 * DepTable.[Ch] (ext_exist): place const in the right spot.
8432 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8434 (workAreaExpose): call resizeInsets when the with BufferView changes.
8435 (Dispatch): adjust for protectedBlank removal
8436 (specialChar): call updateInset if the insert went ok.
8438 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8439 specialChar instead.
8441 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8443 * BufferView.h: doxy change
8445 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8447 * lyxtextclass.C (operator[]): remove non-const version
8448 (defaultLayout): remove non-const version
8450 2002-03-12 Juergen Vigna <jug@sad.it>
8452 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8453 did resize the LyXText too.
8455 * buffer.C (readLyXformat2): set layout information on newly allocated
8458 * tabular.C (OldFormatRead): set layout information on the paragraph.
8460 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8462 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8464 2002-03-11 Juergen Vigna <jug@sad.it>
8466 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8468 (resizeCurrentBuffer): force also the insets to resize themselfes.
8469 (moveCursorUpdate): fixed up for InsetText.
8471 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8474 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8475 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8476 value of Dialogs::tooltipsEnabled().
8477 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8479 2002-03-08 Juergen Vigna <jug@sad.it>
8481 * BufferView_pimpl.C (updateInset): update inset inside inset also
8482 if it isn't inside theLockingInset().
8484 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8486 * buffer.C (asciiParagraph): redo some of the word and line length
8488 (getLists): look for Caption instead of caption.
8490 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8492 * buffer.C (Buffer): initialize niceFile to true
8495 (makeDocBookFile): make sure niceFile is true on exit
8497 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8499 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8501 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8503 * LyXSendto.C: remove.
8504 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8505 * lyx_gui.C: remove now-redundant comment.
8506 * ColorHandler.h: remove forward declaration of class WorkArea.
8507 * lyxfunc.C: remove #include "WorkArea.h".
8509 2002-03-07 Juergen Vigna <jug@sad.it>
8511 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8512 got moved away with the DEPM and also set the inset_owner always
8513 right which before could have been omitted.
8515 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8517 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8518 wanted layout is not found.
8520 2002-03-07 Juergen Vigna <jug@sad.it>
8522 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8524 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8526 * paragraph.C (breakParagraph): use default layout not layout of
8528 (Paragraph): clear ParagraphParameters.
8530 2002-03-06 Juergen Vigna <jug@sad.it>
8532 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8533 otherwise it would not be a valid lenght. Fixed a special case in
8534 the minipage compatibility read where we end the document with a
8537 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8538 was set as it could be 0 for InsetTexts first entry.
8540 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8542 * paragraph.C (writeFile): if layout is empty write out
8543 defaultLayoutName().
8545 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8546 file without named layout we set layout to defaultLayoutName().
8548 2002-03-06 Juergen Vigna <jug@sad.it>
8550 * CutAndPaste.C (copySelection): set layout for new paragraph.
8552 * text.C (prepareToPrint): leave ERT inset left aligned
8553 (leftMargin): don't indent paragraphs inside ERT insets
8555 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8557 * paragraph.C (breakParagraph): dont call clear do the work manually
8559 * paragraph.[Ch] (clear): remove function
8561 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8563 * paragraph.C (Paragraph): dont call clear, the work has already
8566 * lyxtextclass.C (operator): assert if n is empty
8568 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8569 work manually instead.
8571 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8573 * BufferView_pimpl.C: protect selectionLost against text == 0
8575 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8577 * text.C (breakParagraph): fix a setting layout to '0' problem.
8579 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8581 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8582 final location of file, for the included files, and graphics.
8584 2002-03-05 Juergen Vigna <jug@sad.it>
8586 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8588 2002-03-04 Juergen Vigna <jug@sad.it>
8590 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8592 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8593 last column of multicolumn cells.
8594 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8596 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8598 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8599 file if it doesn't go to a temporary file.
8601 * buffer.C (sgmlOpenTag):
8602 (sgmlCloseTag): remove extra newline insertion.
8604 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8606 * text.C (getRowNearY): comment out debug msg
8608 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8610 * text2.C: first -> first_y
8612 * text.C (getRowNearY): add some attemts at a possible
8613 optimization, not working.
8615 * tabular.[Ch]: add BufferParams to several function so that newly
8616 created paragraph can be initialized to he default layotu for the
8619 * tabular-old.C (ReadOld): add buf->params to call of Init
8621 * screen.C: rename text->first to text->first_y
8623 * paragraph.C (breakParagraph): always set layout in the broken
8626 * lyxtextclass.C (Read): remove lowercase
8629 (delete_layout): ditto
8631 * lyxtext.h: rename first -> first_y
8633 * lyxlayout.C (Read): remove lowercase
8636 (obsoleted_by): ditto
8638 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8640 * buffer.C (insertErtContents): add params are to InsetERT
8641 (parseSingleLyXformat2Token): add code to check if a paragraphs
8642 layout really exist.
8643 (parseSingleLyXformat2Token): add params to several inset
8645 (asciiParagraph): remove lowercase, do the layout comparisons with
8648 * BufferView_pimpl.C (cursorNext): first -> first_y
8649 (resizeCurrentBuffer): first -> first_y
8650 (updateScrollbar): first -> first_y
8651 (scrollCB): first -> first_y
8652 (workAreaMotionNotify): first -> first_y
8653 (workAreaButtonPress): first -> first_y
8654 (checkInsetHit): first -> first_y
8655 (cursorPrevious): first -> first_y
8656 (cursorNext): first -> first_y
8657 (Dispatch): add buffer_->params to severl inset contructors
8659 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8661 * lyxlayout.C (Read): remove some debug info that I forgot.
8663 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8664 clean up the code slightly.
8665 (makeLinuxDocFile): ditto
8666 (makeDocBookFile): ditto
8668 * text2.C: layout as string
8670 * text.C: layout as string
8672 * paragraph_pimpl.C: layout as string
8674 * paragraph.[Ch]: layout as string
8676 * lyxtextclasslist.[Ch]: layout as string
8678 * lyxtextclass.[Ch]: layout as string
8680 * lyxtext.h: layout as string
8682 * lyxlayout.[Ch]: layout as string
8684 * lyx_cb.C: layout as string
8686 * bufferview_funcs.C: layout as string
8688 * bufferparams.C: layout as string
8690 * buffer.C: layout as string
8692 * LyXView.[Ch]: layout as string
8694 * LaTeXFeatures.[Ch]: layout as string
8696 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8698 * BufferView_pimpl.C: change current_layout to string, remove
8703 (workAreaButtonRelease): layout as string
8705 * BufferView2.C (unlockInset): adjust
8707 * vspace.C (asLatexCommand): use an explict temp variable.
8709 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8711 * Makefile.am: use FRONTEND_*
8713 2002-03-01 Juergen Vigna <jug@sad.it>
8715 * tabular.C (SetWidthOfMulticolCell): changed to something better
8716 I hope but still work in progress.
8717 (recalculateMulticolumnsOfColumn): renamed function from
8718 recalculateMulticolCells as it is more appropriate now.
8719 (SetWidthOfCell): calculate multicols better.
8721 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8723 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8725 * lyxfunc.C (processKeySym): print sequence also if it is
8726 `deleted' (complete)
8728 * kbsequence.C (print): print sequence even if it is deleted
8729 (complete would be a better word, actually).
8731 * lyxfunc.C (dispatch): print complete options after a prefix key
8733 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8735 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8737 * text2.C (setCharFont): eliminate setCharFont code duplication.
8739 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8741 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8742 LFUN_TABULAR_FEATURE (bug #177)
8744 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8746 * Makefile.am: remove figure.h
8748 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8750 * Bufferview_pimpl.C:
8762 * text2.C: remove #include "lyx_gui_misc.h".
8764 * LaTeX.C: added #include <cstdio>
8766 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8768 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8769 that the paragraph following this one can have.
8771 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8773 * vspace.C (asLatexCommand): fix bogus gcc warning
8775 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8777 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8779 * text2.C (setLayout): get rid of redundant code
8781 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8783 * text2.C (incDepth): make sure depth cannot be increased beyond
8786 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8788 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8789 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8791 * PainterBase.h (image):
8792 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8795 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8799 * BufferView_pimpl.C:
8800 * BufferView_pimpl.h:
8820 * sp_spell.C: remove fig inset, and the crap house of
8821 cards that follows it
8823 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8829 * nt_defines.h: move .h into support/
8831 * vms_defines.h: remove
8833 * WorkArea.C: add space in debug output
8837 * buffer.C: add WITH_WARNINGS
8841 * bufferlist.C: s/retrive/retrieve/, add docs
8852 * lyxgui.C: add ID to X error handler
8854 * lyxtestclass.c: fix typo
8856 2002-02-26 Juergen Vigna <jug@sad.it>
8858 * tabular_funcs.C (write_attribute): changed so that some default
8859 attributes are not written at all.
8860 (getTokenValue): set default values before trying to read the
8861 value so we have the return value always set as default if we don't
8862 find the token we search for.
8864 * tabular.C (Write): write bools as bools not as strings!
8866 2002-02-22 Juergen Vigna <jug@sad.it>
8868 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8869 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8871 * text.C (leftMargin): don't add an indent for paragraphs inside
8872 tabular cells (fix #208).
8874 2002-02-21 José Matos <jamatos@fep.up.pt>
8876 * tabular.C (docBook): fixed support for long tables.
8878 2002-02-20 Juergen Vigna <jug@sad.it>
8880 * text2.C (getFont): get the drawing font of the Inset if this
8881 paragraph is inside an inset (only important for InsetERT for now).
8883 * buffer.C (insertErtContents): use new lanugage params in ERT
8886 * CutAndPaste.C: commenting out seemingly uneeded code.
8888 2002-02-19 Allan Rae <rae@lyx.org>
8890 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8891 Iterators might be simple to use but they also get invalidated.
8892 (removeAutoInsets): renamed saved cursor tracking variables and added
8893 some comments to clarify what everything does.
8895 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8902 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8903 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8906 * vc-backend.h: remove #include "support/syscall.h"
8910 * converter.C: rearrange #includes in Lars' approved fashion.
8912 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8913 forward declare class Timeout in the header file.
8915 * XFormsView.C: changes due to the above.
8917 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8920 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8921 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8923 2002-02-18 José Matos <jamatos@fep.up.pt>
8925 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8928 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8930 * a lot of small ws changes
8931 * add a lot of using std::XXX
8932 * use std construcs some places where approp.
8933 * use some exisint stuff from lyxfunctional where approp.
8934 * Make file changes to use partial linking (lets test this now...)
8936 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8940 remove #include "support/syscontr.h" as it's redundant. Always has been.
8948 change Systemcalls::System to Systemcalls::Wait and
8949 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8950 No change of functionality, just reflects the stripped down Systemcalls
8953 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8955 * debug.[Ch]: add a GRAPHICS type to the enum.
8957 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8959 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8961 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8964 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8967 match the changes below.
8969 * text2.C (toggleInset): if there is not editable inset at cursor
8970 position, try to see if cursor is _inside_ a collapsable inset
8973 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8975 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8976 document menu has a nice checkbox
8978 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8980 * lyxlength.C (asLatexString): change PW to output as percent of
8983 * lengthcommon.C: change '%' to 't%'
8985 * lyxfunc.C (dispatch): a few comments from Martin
8987 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8991 * BufferView_pimpl.h:
8992 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8995 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8997 * vspace.C (inPixels): fix compiler warning
8999 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * lyxfunc.C (getStatus): fix status message for disabled commands.
9003 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9005 * BufferView_pimpl.C: fix crash on close buffer
9006 during selection (#227)
9008 2002-01-27 Herbert Voss <voss@lyx.org>
9010 * buffer.C: link old Figure to new graphic inset
9012 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9014 * FontLoader.C (getFontinfo): Change the latex font names in order
9015 to match the names of type1inst.
9017 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9019 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9021 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9024 (remove_files_with_extension): ditto
9025 (remove_file): ditto
9028 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9029 document is smaller than the work area height. Do not initialize
9030 static variables to 0.
9032 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9036 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9037 LFUN_LAYOUT_PARAGRAPHS.
9039 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9040 tabular. It is possible to provide a possible cell, which will
9041 typically be the actcell from the corresponding insettabular
9043 * lyxfunc.C (getStatus): small cleanup; disable
9044 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9047 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9049 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9051 * paragraph.C (startTeXParParams):
9052 (endTeXParParams): new methods. The LaTeX code to
9053 start/end paragraph formatting
9054 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9055 empty (fixes bug #200)
9057 * vspace.C (inPixels): adapt to the change below
9058 (inPixels): [later] more cleanups (remove unused variables)
9060 * lyxlength.C (inPixels): change to use a width and a height as
9063 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9066 Replaced with \paperwidth
9068 * DepTable.C (insert): add std:: qualifier
9070 2002-01-18 Allan Rae <rae@lyx.org>
9072 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9075 * text.C (drawInset): Turned out I didn't know enough about how
9076 rebreaking worked. This fixes most of the redraw problems. I see
9077 an occasional cursor trail when a line is broken now and the cursor
9078 placement can seem out by a few pixels also after a rebreak.
9080 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9082 * buffer.C (parseSingleLyXformat2Token): update because minipage
9083 width is now a LyXLength
9085 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9087 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9090 2002-01-17 Juergen Vigna <jug@sad.it>
9092 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9094 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9095 is set correctly and the inset is updated correctly.
9097 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9099 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9100 the beginning of the loop.
9102 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9104 * lyxrc.C: improve help for use_scalable_fonts
9106 2002-01-17 Allan Rae <rae@lyx.org>
9108 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9110 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9112 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9113 make sure to set their inset_owner to the right value (bug #171)
9115 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9118 * DepTable.C: Implement mtime checking to reduce time spent doing
9121 2002-01-16 Juergen Vigna <jug@sad.it>
9123 * tabular.C (GetAdditionalHeight): one of error fixed.
9125 * lyxrc.C (output): small fix in writing use_pspell.
9127 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9129 * sp_base.h: #include LString.h
9131 2002-01-16 Allan Rae <rae@lyx.org>
9133 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9134 Can someone check this please?
9136 * text.C (drawInset): It was possible that p.row would be removed by
9137 breakAgainOneRow upsetting a few other settings. There may be another
9138 small tweak possible by setting need_break_row = 0 when p.row has been
9139 removed but I don't know enough about the logic here.
9141 2002-01-15 Allan Rae <rae@lyx.org>
9143 * text.C (insertChar): removed conditional truism.
9145 * BufferView2.C (removeAutoInsets): More tweaks.
9146 cur_par_prev could be a stray pointer. Check for trailing empty line
9147 in case last line was cur_par and only had an error inset on it.
9149 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9151 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9154 * vc-backend.C (most methods):
9155 * exporter.C (Export):
9156 * converter.C (convert):
9158 * LyXSendto.C (SendtoApplyCB):
9159 * lyxfunc.C (dispatch):
9163 * lyx_cb.C (AutoSave):
9165 * BufferView_pimpl.C (MenuInsertLyXFile):
9166 * buffer.C (runChktex): use Buffer::filePath().
9168 * buffer.h: rename filename to filename_; rename filepath to
9169 filepath_ and make it private
9170 (filePath): new method
9172 * buffer.C (writeFile): use fileName()
9175 * lyx_main.C (init): fix starting of LyX when the binary is a
9176 link from so,ewhere else.
9178 * minibuffer.C: include <cctype> for isprint
9180 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9182 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9183 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9184 name clash with InsetCollapsable's width function.
9186 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9188 * lastfiles.C: include <iterator>
9190 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9192 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9195 * buffer.C (makeLaTeXFile): ditto.
9196 Also make loop operation more transparent.
9198 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9200 * ToolbarDefaults.C: remove trailing comma closing namespace.
9202 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9204 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9207 * trans.C (Load): comment out unused variable, allowed.
9209 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9211 * minibuffer.[Ch] (append_char): new method to recieve input from the
9212 drop-down completion browser. If a key was pressed, then recieve this
9213 char and append it to the existing string.
9214 (peek_event): modify the positioning data passed to the completion
9215 browser so that it can be placed above the minibuffer rather than below.
9216 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9218 * LyXAction.C (init): alloe error-next for readonly documents.
9220 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9223 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * bufferlist.C (readFile): create the buffer _after_ checking that
9228 * lyxfunc.C (verboseDispatch): fix handling of arguments
9230 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9232 * lyxrc.C: use string::erase() instead of initializing to "".
9235 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9237 * BufferView_pimpl.h:
9238 * BufferView_pimpl.C:
9241 * text2.C: tell X when we have made a selection for copying
9243 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9245 * BufferView_pimpl.C (MenuInsertLyXFile):
9246 * lyxfunc.C (menuNew):
9248 (doImport): add shortcuts to directory buttons
9250 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9253 * lyxfunc.C (setStatusMessage):
9254 (getStatusMessage): new methods
9255 (getStatus):use setStatusMessage instead of setErrorMessage
9256 (dispatch): when function is disabled, set error message here
9257 [instead of in getStatus previously]
9259 * BufferView_pimpl.C (workAreaButtonRelease): update
9260 toolbar/menubar here too.
9262 2002-01-13 Allan Rae <rae@lyx.org>
9264 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9265 Now seems indestructible. Remaining task is to audit all other
9266 code affected by deleteEmptyParagraphMechanism. One small quirk
9267 left is that an empty document with an error in the preamble can
9268 be made to report an error but no error box appears. I don't know
9270 (removeAutoInsets): Improved comments.
9272 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9275 * Thesaurus.C: update for Aiksaurus 0.14
9277 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * text2.C (firstParagraph): removed member function, all uses
9280 replaces with ownerParagraph
9281 (redoParagraphs): here
9283 (toggleAppendix): here
9284 * BufferView2.C (insertErrors): here
9285 (setCursorFromRow): here
9287 2002-01-13 Allan Rae <rae@lyx.org>
9289 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9290 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9291 There is still a way to segfault this although you may have to do this
9292 multiple times: Have an InsetERT with an unknown command in it.
9293 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9294 <down-arrow>, <Enter> again, View->DVI, BANG!
9296 * text2.C (setCursor):
9297 (deleteEmptyParagraphMechanism):
9298 * lyxtext.h (setCursor):
9299 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9300 Making use of the return value may help fix other bugs.
9302 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9304 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9306 * LyXView.C (updateMenubar): call MenuBar::update here
9307 (updateToolbar): but not here
9308 (showState): do not update toolbar/menubar
9310 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9311 should need to care about that.
9313 * lyxfunc.C (verboseDispatch): simplify a bit
9314 (getStatus): have a version which takes a pseudoaction, and
9315 another which requires a (kb_action,string).
9317 * LyXAction.C (retrieveActionArg): make it work also when action
9318 is not a pseudo-action.
9319 (getActionName): simplify a bit
9322 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9324 * lyxfunc.C (verboseDispatch): new families of methods with
9325 several ways to specify a command and a bool to indicate whether
9326 the command name and shortcut should be displayed in minibuffer
9327 (eventually, we could extend that to a finer bitmask like
9328 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9329 (dispatch): the pristine dispatch command which just, well,
9330 dispatchs! Note it still sets its result to minibuffer; I'm not
9333 * lyxfunc.h: remove setHintMessage
9335 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9337 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9339 * BufferView_pimpl.C (specialChar): delete new inset if we have
9340 not been able to insert it.
9342 * kbmap.C: revert to using int instead of kb_action, since all we
9343 are dealing with is pseudo-actions.
9345 * LyXAction.C (searchActionArg): change to return int instead of
9346 kb_action, since the result is a pseudoaction.
9348 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9350 * buffer.C (insertErtContents): Fix (partially) the font bug.
9352 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9354 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9355 as the other one is broken on my machine!
9357 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9360 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9362 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9364 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9365 reflect their actual use. Provide compatibility code for older lyxrc
9368 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9370 change names of popup font variables in line with the changes to lyxrc.C
9372 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * buffer.C (asciiParagraph): avoid outputing a word twice after
9377 * lyxrc.C (getDescription): document that document_path and
9378 template_path can be empty.
9380 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9382 * LaTeXFeatures.C (getMacros):
9383 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9385 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9387 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9389 (getPackages): rename feature "floats" to "float". Use an array to
9390 iterate over 'simple' features (i.e. just a \usepackage). Add
9391 handling of "amsmath" (renamed from "amsstyle").
9393 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9395 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9398 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9400 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9401 FuncStaus::FuncStatus & FuncStaus::some_method().
9403 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9405 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9406 of the func_satus stuff. Edited and massaged in various ways by
9409 * lyxfunc.C (getStatus): use FuncStatus
9411 2002-01-08 Juergen Vigna <jug@sad.it>
9413 * text.C (nextBreakPoint): use function Inset::isChar().
9415 * paragraph.C (TeXOnePar): use function
9416 Inset::forceDefaultParagraphs.
9418 * buffer.C (latexParagraphs): use function
9419 Inset::forceDefaultParagraphs.
9421 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9423 * lyx_gui.C (init): set the style of the menu popups to
9424 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9426 2002-01-07 Juergen Vigna <jug@sad.it>
9428 * text.C (setHeightOfRow): small fix
9429 (prepareToPrint): don't look at alignment if we don't have the place
9432 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9434 * box.C: New file. Move the Box methods and functions out of box.h,
9435 following Lars' suggestion.
9437 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9439 * box.h: #include "support/LOstream.h", needed for inlined function.
9442 * lyxtextclasslist.C: added some using std declarations.
9444 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9446 * box.h: make signed dimensions to allow insets wider than
9447 the screen (bug #162)
9449 * BufferView_pimpl.C: add some insetHit debug
9451 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9453 * vc-backend.C: add FIXME
9455 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9457 * lyxfunc.C (getStatus): enable code for showing math font status
9460 2002-01-07 Juergen Vigna <jug@sad.it>
9462 * text.C (nextBreakPoint): removed debug output not needed anymore.
9464 2002-01-06 Juergen Vigna <jug@sad.it>
9466 * text.C (nextBreakPoint): fixed up this function we had this bug
9467 since ever but now hopefully we break row better.
9468 (insertChar): we have to check if an inset is the next char as it
9469 could now happen that a large inset is causing a break.
9471 2002-01-05 Juergen Vigna <jug@sad.it>
9473 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9474 if it doesn't like to be drawed.
9476 2002-01-04 Juergen Vigna <jug@sad.it>
9478 * BufferView2.C (lockInset): forgot to set a cursor.
9480 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9482 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9487 * form_maths_panel.C:
9488 * form_maths_panel.h:
9489 * form_maths_panel.fd: implemented sub- and super- buttons in math
9492 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9493 (or ^ space) to be used as in TeX (req'd by André).
9495 * lyxfunc.C: Allow ^ and _ again to be used both as
9496 super/subscript (mathed) and as themselves (in text).
9498 2002-01-03 Allan Rae <rae@lyx.org>
9500 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9501 "LyX" or the filename of the current buffer if it has one. This is a
9502 modified form of John Levon's patch.
9504 * XFormsView.C (setWindowTitle): also set icon title.
9506 * LyXView.h (setWindowTitle): signature changed.
9507 * XFormsView.h (setWindowTitle): ditto.
9509 2002-01-02 Juergen Vigna <jug@sad.it>
9511 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9513 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9515 * screen.C (topCursorVisible): introduce a temp var for
9516 text->cursor.row(), handle the case where this row is null. (kindo
9519 * text2.C (setCursor): add a couple of asserts.
9521 * paragraph.h (inset_iterator): add -> operator
9523 * paragraph.[Ch] (autoDeleteInsets): remove member function
9525 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9526 cursor pos correctly and handle inset deletion by itself.
9527 (insertErrors): move iterator declaration out of for expression
9529 * lyxtextclass.C: add <algorithm>
9531 * Makefile.am: added the new files to sources, removed layout.C
9533 * layout.C: removed file
9535 * layout.h: remove LYX_DUMMY_LAYOUT
9537 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9541 * lyxtextclass.[Ch]:
9542 * lyxtextclasslist.[Ch]: new files
9544 * include order changes to a lot of files, also changes because of
9547 2001-12-27 Juergen Vigna <jug@sad.it>
9549 * buffer.C (asciiParagraph): more fixes.
9551 * tabular.C (ascii): make ascii export support export of only the
9552 data separated by a column-delimiter.
9553 (ascii): better support for ascii export.
9555 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9557 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9559 * tabular_funcs.C: use a "using std::getline" instead of the
9560 previous fix from Angus (necessary for cxx + lyxstring)
9562 2001-12-24 Juergen Vigna <jug@sad.it>
9564 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9566 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9567 problems. First check a minipage also if we have some ert-contents
9568 (not only on par->size(), second set the right depth of the paragraph
9569 on the relink to the root-paragraph-list!
9571 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9572 which then did not anymore update the main paragraphs on undo/redo!
9574 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9576 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9577 code. Support all font-changing funcs (even those which are not in
9578 menu currently). Support for reporting font settings in
9579 mathed (disabled until Andre provides a function on mathed's side).
9581 * func_status.h (toggle): small helper function to set toggle
9584 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9586 * tabular_funcs.C: getline -> std::getline
9588 2001-12-21 Juergen Vigna <jug@sad.it>
9590 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9591 accessed and could be 0 (I couldn't generate this but it seems
9594 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9596 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9597 * tabular_funcs.h: here and include iosfwd
9599 2001-12-20 Juergen Vigna <jug@sad.it>
9601 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9602 inside inset but undo_par was.
9604 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * Thesaurus.C: always include <config.h> in sources.
9610 * box.h: do not include <config.h> in header files
9612 * text.C (paintLastRow): remove unused variable
9614 * text.C (transformChar):
9616 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9619 * font.C (width): rewrite to use uppercase() instead of
9622 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9624 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9626 * lyxfind.C: clean up of find failure position change
9628 2001-12-20 Juergen Vigna <jug@sad.it>
9630 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9632 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9633 (TeXRow): added to LaTeX a single tabular row.
9634 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9635 (Latex): simplified and finally good LT-h/f support.
9636 (various_functions): just small adaptions for LT-h/f support.
9638 * tabular_funcs.[hC]: added and moved here all not classfunctions
9641 2001-12-19 Juergen Vigna <jug@sad.it>
9643 * tabular.[Ch]: better support for longtabular options (not finished
9646 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9648 * text.C (paintLastRow): use the label font instead of the font of
9649 the last character to compute the size of *_BOX. This makes more
9650 sense and avoids a crash with empty paragraphs.
9651 Use Painter::rectangle to draw EMPTY_BOX.
9653 2001-12-19 Juergen Vigna <jug@sad.it>
9655 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9656 the paragraphs if the replaced paragraph is not the first one!
9657 Tried to delete not used paragraphs but does not work yet so for
9658 now it's inside #ifdef's and by default off!
9660 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9662 * MenuBackend.C: include "lyx_main.h" instead of declaring
9663 lastfiles (actually was declared as LastFiles* instead of a
9666 2001-12-17 Juergen Vigna <jug@sad.it>
9668 * tabular.C (AppendColumn): applied John's fix
9670 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9674 * BufferView_pimpl.h:
9675 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9678 * box.h: new start of class for above
9680 * lyxfunc.C: ignore space-only minibuffer dispatches.
9681 Show the command name when it doesn't exist
9683 * minibuffer.C: don't add empty lines to the history
9685 * minibuffer.C: add a space on dropdown completion
9687 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9689 * text.C: fix line above/below drawing in insets
9691 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9693 * lyxlength.C (LyXLength): Initialize private variables.
9695 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9697 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9698 when inserting error insets.
9700 2001-12-13 Juergen Vigna <jug@sad.it>
9702 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9703 actually sometimes the before-paragraph.
9704 (setUndo): don't clear the redostack if we're not actually undoing!
9706 2001-12-06 Juergen Vigna <jug@sad.it>
9708 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9709 and fixed redoing of main paragraph, so we can use it now ;)
9711 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9713 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9718 2001-12-13 André Pönitz <poenitz@gmx.net>
9721 * undo_func.C: minor cleanup
9723 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9725 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9726 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9727 font in urw-fonts package which is marked as -urw-fontspecific and
9728 does not work (incidentally, changing the encoding in the
9729 fonts.dir of this package to -adobe-fontspecific fixes the
9732 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9733 is a crash when undoing first paragraph (Juergen, please take a
9734 look). THis does not mean the undo fix is wrong, just that it
9737 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9738 the (Paragraph*) version when needed instead of duplicating the
9741 * text.C (workWidth): use Inset::parOwner to find out where the
9742 inset has been inserted. This is a huge performance gain for large
9743 documents with lots of insets. If Inset::parOwner is not set, fall
9744 back on the brute force method
9746 * paragraph_pimpl.C (insertInset):
9747 * paragraph.C (Paragraph):
9748 (cutIntoMinibuffer): set parOwner of insets when
9749 inserting/removing them
9751 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9753 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9759 * mathed/formulabase.C:
9760 * mathed/math_cursor.[Ch]:
9761 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9764 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * lyxlength.[Ch] (operator!=): new function
9768 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9770 * text.C (workWidth): use Inset::parOwner to find out where the
9771 inset has been inserted. This is a huge performance gain for large
9772 documents with lots of insets. If Inset::parOwner is not set, fall
9773 back on the brute force method
9775 * paragraph_pimpl.C (insertInset):
9776 * paragraph.C (Paragraph):
9777 (cutIntoMinibuffer): set parOwner of insets when
9778 inserting/removing them
9780 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9782 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * tabular-old.C (getTokenValue):
9785 * tabular.C (getTokenValue):
9786 (write_attribute): new versions for LyXLength
9787 (everywhere): adjust the use of widths
9789 * tabular.h: change the type of widths from string to LyXLength
9791 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9793 * paragraph.C: fixed missing line number count when exporting
9794 Environments to LaTeX file
9796 * buffer.C: added informational message for checking line numbers.
9798 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9800 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9801 paragraph, do the 'double space' part, but not the 'empty
9804 * text.C (workWidth): small optimization
9805 (getLengthMarkerHeight): use minimal size for negative lengths.
9807 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9809 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9811 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9813 2001-12-11 André Pönitz <poenitz@gmx.net>
9816 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9818 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9820 * text2.C: keep selection on a setFont()
9822 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9824 * lyx_cb.C: another bv->text misuse, from insert label
9826 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9829 * kbsequence.C: re-instate nmodifier mask
9831 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9833 * lyx_main.h: make lyxGUI private.
9835 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9837 * lyxfind.C: place the cursor correctly on failed search
9839 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9841 * text.C (getLengthMarkerHeight): for small heights, the arrows
9842 are not always on top/bottom of the text
9843 (drawLengthMarker): smaller arrows; take the left margin in
9844 account; draw also vfills.
9846 (paintLastRow): remove special code for vfill and standard spaces,
9847 since everything is handled in drawLengthMarker now.
9849 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9851 * buffer.C (insertErtContents): try to handle font and language
9852 interaction a bit better.g
9854 * ColorHandler.C (updateColor): change the hash to cover the whole
9855 LColor enum, ws cleanup
9856 (getGCLinepars): ditto
9857 (getGCLinepars): only lookup in the linecache once.
9859 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9861 * iterators.C (operator++): Make the iterator more robust
9863 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9867 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9870 * text.C: better added space drawing
9872 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9875 * BufferView2.C: fix layout combo update on inset unlock
9877 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9879 * Makefile.am: don't compile unused files
9881 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9885 * LyXAction.C: remove old LFUN_LAYOUTNO
9887 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9889 * paragraph_pimpl.h:
9890 * paragraph_pimpl.C: isTextAt() doesn't need font param
9892 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9895 * lyxlex.C: little cleanup
9897 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9899 * BufferView_pimpl.C: fix insertAscii for insets
9901 2001-12-05 Juergen Vigna <jug@sad.it>
9903 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9904 set the right font on the "multi" paragraph paste!
9906 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9912 * lyxlength.C: remove out-commented code.
9928 * vc-backend.C: change "while(" to "while ("
9930 * lyxlength.[Ch]: add zero function to check if length is zero or
9932 * lyxgluelength.C: use it
9934 2001-12-05 Allan Rae <rae@lyx.org>
9936 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9937 Works for 2.95.3, from what I understand of Garst's reports this should
9938 work for other g++ versions. We're screwed if the abs(int) definition
9939 changed between bugfix releases of gcc.
9941 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9943 * text.C: fix chapter label offset !
9945 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9948 * text.C: fix hfill at end of line, clean up
9950 2001-12-04 Juergen Vigna <jug@sad.it>
9952 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9953 that we force an update of the inset and it's owners if neccessary.
9955 2001-12-03 Juergen Vigna <jug@sad.it>
9957 * text.C (rowLast): simplified code
9959 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9961 * lyxfunc.C: fix show options on timeout
9963 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9965 * screen.C (topCursorVisible): scroll half a page when the cursor
9966 reached top of bottom of screen
9968 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9970 * minibuffer.C: deactivate on loss of focus
9972 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * vspace.[Ch] (operator!=): add operator.
9976 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9978 * BufferView_pimpl.C: refuse to open an inset when
9979 there's a selection.
9981 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9983 * BufferView_pimpl.C: allow to click on RHS of full row insets
9985 2001-11-30 Juergen Vigna <jug@sad.it>
9987 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9988 insets for undo reasons.
9990 2001-11-28 André Pönitz <poenitz@gmx.net>
9992 * vspace.[Ch]: cosmetical changes
9994 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10004 * kbsequence.C: part re-write of old kb code
10007 * WorkArea.C: remove Lgb_bug_find_hack
10009 2001-11-30 José Matos <jamatos@fep.up.pt>
10011 * buffer.C (makeDocBookFile): add a comment to point a hack.
10012 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10013 Fixed a double write of labels.
10015 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10018 * LaTeX.h Fixed bug in LaTeX class where it would not
10019 re-run latex if no depfiles were changed, but the .dvi was removed.
10021 2001-11-28 André Pönitz <poenitz@gmx.net>
10023 * all the files from the change on 2001/11/26:
10024 use lyx::layout_type instead of LyXTextClass::size_type
10025 use lyx::textclass_type instead of LyXTextClassList::size_type
10027 2001-11-29 Juergen Vigna <jug@sad.it>
10029 * text.C: added support for paragraph::isFreeSpacing()
10031 * buffer.C: same as above
10033 * paragraph.h: inserted isFreeSpacing() function to enable
10034 FreeSpacing inside InsetERT.
10036 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10037 of the paragraph's in the cut/copy buffer to 0!
10039 * text2.C (removeRow): remove the assert as it can!
10041 * lyxtext.h: added helper function firstRow returning firstrow and
10042 made firstrow private again.
10044 * BufferView2.C (lockInset): don't relock if we're already locked!
10046 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10047 the only paragraph.
10048 (removeRow): added Assert::(firstrow)
10050 * debug.C: forgot to add INSETTEXT here.
10052 2001-11-28 Juergen Vigna <jug@sad.it>
10054 * sp_spell.C (initialize): changed error text to more general
10055 spellchecker command use (not only ispell!)
10057 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10059 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10061 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10063 * vspace.C: initialise lyxgluelength on failure
10065 2001-11-28 Allan Rae <rae@lyx.org>
10067 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10068 declaration & definition that looks like a function declaration.
10070 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10072 * BufferView2.C (copy):
10073 (copyEnvironment): do not clear the selection when doing a copy.
10075 * text.C (paintFirstRow): compilation fix
10077 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10079 * tabular.C (Latex): correct line count when writing latex.
10081 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10083 * paragraph_pimpl.h:
10084 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10087 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10091 * LColor.C: change vfillline->added_space
10093 * text.C: add markers and text for added space
10095 * vspace.C: fix comment
10097 2001-11-28 André Pönitz <poenitz@gmx.net>
10099 * paragraph.C: whitespace changes
10100 * all the other files from the change on 2001/11/26:
10101 change *::pos_type into lyx::pos_type
10103 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10105 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10106 language of the document when inserting error insets.
10108 2001-11-26 André Pönitz <poenitz@gmx.net>
10110 * BufferView_pimpl.[Ch]:
10118 * paragraph_pimpl.[Ch]:
10121 * text2.C: reduce header dependencies, introduce type for positions
10123 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10125 * <various>: change to use Alert.h
10127 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10129 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10130 when encountering an unknown token.
10131 (readLyXformat2): Show an error message if there were unknown tokens.
10133 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10136 * BufferView_pimpl.C:
10140 * text2.C: use par->isInset()
10142 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10144 * paragraph_pimpl.h:
10145 * paragraph_pimpl.C: cleanup
10147 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10149 * text2.C (removeRow):
10150 * text.C (setHeightOfRow): remove useless (and costly) call to
10153 2001-11-20 Allan Rae <rae@lyx.org>
10155 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10156 Now need Inset*::checkInsertChar() to return true for appropriate
10157 cases so that the characters in the minibuffer will actually be
10160 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10162 * text.C: change the order of the includes.
10163 (workWidth): initialize it at once.
10164 (workWidth): make maxw unsigned
10165 (setHeightOfRow): remove unused variable (inset)
10166 (selectSelectedWord): remove unused variable (inset)
10167 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10169 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10171 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10172 server is not running.
10174 (closeConnection): add debug info when server is disabled.
10176 * ColorHandler.C (getGCForeground): send debug message to GUI
10179 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10181 * kbmap.C (bind): modify because return conventions of
10182 kb_sequence::parse have changed.
10184 * kbsequence.C (parse): only ignore spaces and not any stupid
10185 control character. This avoids tests like s[i] <= ' ', which are
10186 guaranteed to fail with 8bit characters and signed chars.
10187 Change return code to string::npos when there have been no error
10188 (0 was a bad idea when error is at first character)
10190 2001-11-14 José Matos <jamatos@fep.up.pt>
10193 * buffer.C (simpleDocBookOnePar): removed unused argument.
10195 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10197 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10198 insets which are part of a word. Paragraph::isLetter takes care of
10199 that now. Use Paragraph::isInset to identify insets.
10200 (selectSelectedWord): do not test for hyphenation break.
10202 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10203 that protected spaces are considered as spaces.
10205 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10208 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10211 * lyxserver.C: fix it. and small cleanup.
10213 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10215 * BufferView_pimpl.C: use inline helpers
10218 * LaTeXFeatures.C: fix typos
10221 * Spacing.C: move spacing_string into class
10223 * ToolbarDefaults.C: move stuff into namespace anon
10225 * layout.h: update enum
10227 * lyxfunc.C: use better debug
10229 * minibuffer.h: fix typo
10233 * WorkArea.C: add and use Debug::WORKAREA
10237 * text2.C: code re-organisation, inline helpers
10239 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10241 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10242 std::vector.empty().
10244 2001-11-09 Allan Rae <rae@lyx.org>
10246 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10247 '\n's after tables. Tabular and ERT inset work now makes this no
10250 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10253 * minibuffer.C: fix crash, improve drop-down completion
10255 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10258 * lyxserver.C: invalidate fd's when doing endPipe()
10260 2001-11-08 José Matos <jamatos@fep.up.pt>
10262 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10263 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10266 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10268 2001-11-07 José Matos <jamatos@fep.up.pt>
10271 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10274 * buffer.C (sgmlOpenTag):
10275 * buffer.C (sgmlCloseTag): removed debug info.
10277 * buffer.h (sgmlOpenTag):
10278 * buffer.h (sgmlCloseTag): made public.
10280 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10282 * buffer.C (saveParamsAsDefaults):
10283 * lyx_cb.C (MenuLayoutSave): remove
10285 * LyXAction.C (init):
10287 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10289 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10291 * buffer.C (setPaperStuff): removed from here...
10293 * bufferparams.C (setPaperStuff): ... and moved there.
10295 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10299 * XFormsView.C: add support for drop-down completion
10301 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10303 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10306 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10308 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10311 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10313 * lyx_main.C: change ref to known bugs
10315 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10317 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10318 to work around older babel problems.
10320 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10322 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10324 2001-10-24 Juergen Vigna <jug@sad.it>
10326 * tabular-old.C (ReadOld): below variable changes reflected.
10328 * tabular.[Ch]: added ltType struct for longtable header/footer
10329 defines and changed all instances where they are used. Added
10330 future support for double top/bottom rows.
10332 2001-10-24 José Matos <jamatos@fep.up.pt>
10334 * buffer.h (docbookHandleCaption):
10335 * buffer.C (docbookHandleCaption): removed unused function.
10336 (makeDocBookFile): moved docbook supported version to v4.1.
10338 2001-10-24 José Matos <jamatos@fep.up.pt>
10341 * tabular.C (docbookRow): new function to export docbook code of a row.
10342 (DocBook): now honors the longtable flags.
10344 2001-10-23 José Matos <jamatos@fep.up.pt>
10347 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10348 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10350 * buffer.C (makeLinuxDocFile):
10351 (makeDocBookFile): reworked the preamble, more clean, and with
10352 support for lyx defined entities. Changed the document declaration
10353 to be more XML friendly.
10355 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10356 if we need to output XML that should be done with a filter.
10358 2001-10-22 Juergen Vigna <jug@sad.it>
10360 * sp_pspell.h (class PSpell): add alive function needed in the
10361 controller to see if the spellchecker could be started.
10363 2001-10-22 Juergen Vigna <jug@sad.it>
10365 * buffer.C (insertStringAsLines): modify the font for inserting
10366 chars in certain conditions by calling checkInsertChar(font).
10368 2001-10-19 Juergen Vigna <jug@sad.it>
10370 * text.C (workWidth): use getRow instead of wrong algorithm.
10371 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10373 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10378 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10380 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10382 * text.C (workWidth): do not search for the exact row when
10383 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10384 optimization for big documents.
10386 2001-10-18 Juergen Vigna <jug@sad.it>
10388 * text.C (workWidth): new function with added Inset * parameter.
10390 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10392 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10394 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10395 change return type of getColumnNearX.
10398 * text.C (changeRegionCase): use uppercase/lowercase instead of
10401 (rightMargin): simplify code by factoring out the uses of
10406 (appendParagraph): use Paragraph::size_type
10408 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10410 * vspace.C (asLatexString): add a missing break
10412 2001-10-15 Herbert Voss <voss@perce.de>
10414 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10416 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10421 2001-10-10 André Pönitz <poenitz@gmx.net>
10423 * lyxfunc.C: removed greek_kb_flag.
10425 2001-10-10 Herbert Voss <voss@perce.de>
10427 * lyx_main.C: delete global string help_lyxdir.
10429 2001-10-09 Herbert Voss <voss@perce.de>
10431 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10433 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10435 * lyx_main.C: added global string help_lyxdir.
10437 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10439 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10441 * lyxrc.C (set_font_norm_type): support iso8859-4
10443 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10445 * LaTeX.C (deplog): add another regex for MikTeX
10447 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10449 * lyxrc.C (set_font_norm_type): support iso8859-3
10451 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10453 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10455 * LaTeXFeatures.C: remove special case of french and index
10457 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10458 before \begin{document}). This solves several incompatibilities.
10460 2001-10-03 Garst Reese <reese@isn.net>
10462 * lyx_cb.C: change CheckTex error msg.
10464 2001-10-03 José Matos <jamatos@fep.up.pt>
10466 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10468 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10470 * .cvsignore: update
10472 * lyx_main.C (commandLineVersionInfo): use new style version info.
10474 * buffer.C (writeFile):
10476 (makeLinuxDocFile):
10477 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10479 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10481 * version.h: update to use stuff in version.C
10483 * version.C.in: new file. Contains version information determined
10484 at compile time. This is a merging of version.h and
10487 2001-10-03 Juergen Vigna <jug@sad.it>
10489 * BufferView_pimpl.C (update): don't change "dirty" status in
10492 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10494 * WorkArea.C (c-tor): re-position version string slightly.
10496 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10498 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10499 revert to previous code.
10501 WorkArea.[Ch]: (show, destroySplash): methods removed.
10503 WorkArea.C: rework code so that it's an amalgam of the codes before and
10504 after the splash screen was moved to WorkArea.
10506 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10509 * vspace.C (inPixels):
10512 * buffer.C (insertStringAsLines):
10513 (asciiParagraph): fix types to be large enough
10515 * lyxlex_pimpl.h: change member status from short to int
10517 * layout.h: fix type of endlabeltype
10520 * kbsequence.C (parse): change return type to string::size_type
10522 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10525 * Bullet.C (bulletSize):
10526 (bulletEntry): do not use short ints as parameters
10528 * BufferView2.C (insertLyXFile): change a char to an int.
10530 * WorkArea.C (WorkArea): remove unneeded floats in computation
10532 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10534 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10536 * paragraph.C (asString): Do not ignore newline/hfill chars when
10537 copying to the clipboard.
10539 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10541 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10542 after a multi-line inset.
10544 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10546 * paragraph.C (validate): Set NeedLyXFootnoteCode
10548 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10550 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10551 and decrease-error to decrease.
10553 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10555 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10556 it more readable (should be equivalent)
10558 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10560 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10562 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10564 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10565 of a cursor (row, etc.) after a character has been deleted
10566 (deleteEmptyParagraphMechanism): call the method above on _all_
10567 cursors held by the LyXText when a double space has been
10570 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10572 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10574 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10576 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10577 background. Use greyOut() and the new show() methods to toggle between
10578 the foreground and background. Add code to remove the splash after
10579 its initial showing.
10581 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10582 (create_forms): no longer call Dialogs::showSplash.
10584 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10586 * .cvsignore: add version_info.h
10588 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10590 * version_info.h.in: new file
10592 * Makefile.am: add version_info.h.in
10594 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10595 version_info.h instead of VERSION_INFO
10597 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10599 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10600 The ERT inset now returns string().
10602 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10604 * lyxtext.h, text.C (selectNextWord): renamed as
10605 selectNextWordToSpellcheck.
10607 * text.C (selectNextWordToSpellcheck): Modified to not select
10608 words inside an ERT inset.
10610 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10612 * lyx_cb.C (MenuLayoutSave): change a bit the question
10614 * sp_base.h: include <sys/types.h>
10616 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10618 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10620 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10622 * several files: fix typos in user-visible strings
10624 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * text2.C (pasteSelection): do not set the selection, since it
10627 will be cleared later. Actually, the intent was to fix the way the
10628 selection was set, but I figured rmoving the code was just as good.
10630 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10632 * FontLoader.C (available): Check if font is available without
10635 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10637 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10639 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10641 * lyxrc.[Ch]: added display_graphics variable and associated code.
10643 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10645 * bufferparams.C (hasClassDefaults): new method. Returns true if
10646 the buffer parameters correspond to known class defaults
10648 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10650 * XFormsView.C (show): set minimum size to the main window.
10652 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10654 * text2.C (copySelection):
10656 * lyxfind.C (LyXReplace):
10657 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10658 LyXText::selectionAsString.
10660 * paragraph.C (asString): add "label" argument to the second form
10662 * text2.C (selectionAsString): add "label" argument and pass it to
10663 Paragraph::asString.
10665 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10667 * lyx_main.C (commandLineHelp): remove version information
10669 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10671 * lyx_main.C: add -version commandline option
10673 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10675 * paragraph.h: make the optional constructor arg required instead.
10676 some modifications to other files because of this.
10678 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10680 * lyxserver.C (C_LyXComm_callback): make it static
10682 * lyx_main.C (error_handler): make it static
10684 * lyx_gui.C (LyX_XErrHandler): make it static
10686 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10688 * WorkArea.C: make the extern "C" methods static.
10690 * Makefile.am (lyx_LDADD): simplify
10692 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10694 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10695 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10697 * LyXAction.C (init):
10698 * lyxfunc.C (dispatch): associated code removal.
10700 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10702 * lyxfont.h (isSymbolFont): shut off warning
10704 * text.C (setHeightOfRow):
10705 (getVisibleRow): fix crash with empty paragraphs which have a
10708 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10710 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10713 2001-09-04 José Matos <jamatos@fep.up.pt>
10716 * tabular.C (docbook): rename docBook method to docbook.
10718 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10720 * Makefile.am: add dependencies to main.o.
10722 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10724 * FontLoader.C (available): Return false if !lyxrc.use_gui
10726 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10728 * FontInfo.C (query):
10729 * converter.C (view):
10730 * importer.C (Import):
10731 * exporter.C (Export): Can not -> cannot.
10733 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10735 * BufferView_pimpl.C: allow to create index inset even if
10738 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10740 * buffer.C (getLists): replace boost::tie code with an explicit pair
10741 as boost::tie can break some compilers.
10743 * iterators.h: Added a std:: declaration to the return type of
10746 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10748 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10751 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10753 * iterators.[Ch]: New files. Provide paragraph iterators.
10755 * buffer.C (changeLanguage): Use paragraph iterators.
10756 (isMultiLingual): ditto
10758 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10760 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10762 * FontLoader.C: Support for cmr font.
10764 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10766 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10767 (available): New method.
10769 * FontInfo.C (getFontname): Use scalable fonts even when
10770 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10773 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10775 * converter.C (Formats::view): reverted! Incorrect fix.
10777 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10779 * converter.C (Formats::view): only output the -paper option
10780 if the dvi viewer is xdvi, thereby fixing bug #233429.
10782 2001-08-23 Herbert Voss <voss@perce>
10784 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10786 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10788 * Spacing.h (Spacing): Set space to Default on in the default
10791 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * vc-backend.h (RCS::versionString): add RCS to version
10794 (CVS::versionString): add CVS to version
10796 * vc-backend.C (scanMaster): do not add CVS to version.
10797 (scanMaster): do not add RCS to version
10799 * lyxvc.C (versionString): new method
10801 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10803 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10805 * Spacing.C (set): initialize fval
10807 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10809 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10812 2001-08-16 Juergen Vigna <jug@sad.it>
10814 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10816 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10818 * BufferView_pimpl.C:
10821 * text2.C: setParagraph takes linespacing now
10823 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10825 * LyxAction.C: add internal LFUN_CITATION_INSERT
10827 * LyXView.C: actually apply fix
10829 * bufferlist.C: fix open non-existent file
10831 * lyxfind.C: fix indentation
10833 * lyxfunc.C: remove unneeded assert, fix typo
10835 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10837 * MenuBackend.C: use "Floatname List"
10839 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10841 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10842 when converting LaTeX layout to insetERT.
10843 Generate a non-collapsed float when reading old float
10845 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10847 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10850 2001-08-13 Juergen Vigna <jug@sad.it>
10852 * text.C (fill): return 0 instead of 20 as this seems to be the more
10855 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10857 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10860 2001-08-13 Juergen Vigna <jug@sad.it>
10862 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10864 (SearchBackward): comment out the unlocking of the inset_owner this
10865 should not be needed!
10867 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10869 * Many files: Remove inherit_language, and add latex_language
10871 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10872 collapsible insets.
10874 2001-08-10 Juergen Vigna <jug@sad.it>
10876 * text.C (prepareToPrint): fixed hfill-width in draw!
10878 * BufferView2.C (selectLastWord): save the selection cursor as this
10879 now is cleared in the function LyXText::clearSelection!
10881 2001-08-08 Juergen Vigna <jug@sad.it>
10883 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10884 BACKSPACE type functions.
10886 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10887 is only cutted from the document but not put in the cut-buffer, where
10888 still the old stuff should be.
10890 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10892 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10894 * tabular.C (SetWidthOfCell): fixed special case where the width
10896 (LeftLine): handle '|' in align_special.
10898 (LeftAlreadyDrawed): ditto
10899 (SetWidthOfCell): ditto
10901 2001-08-07 Juergen Vigna <jug@sad.it>
10903 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10905 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10907 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10908 * lyxlex.[hC]: ditto
10910 2001-08-06 Juergen Vigna <jug@sad.it>
10912 * text.C (getVisibleRow): fix up row clearing a bit.
10914 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10916 * minibuffer.C: make sure the X server sees the changes in the input.
10918 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10920 * paragraph.C (getFont): split into...
10921 (getLabelFont): this
10922 (getLayoutFont): and this
10923 * paragraph_pimpl.C (realizeFont): calling this
10925 * text2.C (getFont): split into...
10926 (getLayoutFont): this
10927 (getLabelFont): and this
10928 (realizeFont): all three calling this
10930 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10933 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10935 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10937 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10939 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10940 layouts from the Quote inset insertion.
10942 2001-08-03 Juergen Vigna <jug@sad.it>
10944 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10946 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10947 only if status not is already CHANGED_IN_DRAW (second level).
10949 * text.C (draw): don't set the need_break_row when inside an
10952 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * buffer.C (parseSingleLyXformat2Token): handle more latex
10957 * bufferview_funcs.[hC]: change function names to
10958 begin with small char, adjust other files.
10960 2001-08-02 André Pönitz <poenitz@gmx.net>
10963 BufferView_pimpl.C: remove broken special code for math-greek
10965 2001-08-02 Juergen Vigna <jug@sad.it>
10967 * BufferView_pimpl.C (update): redone this function so that we
10968 update the text again if there was a CHANGE_IN_DRAW.
10970 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10971 (drawFromTo): added a new internal bool which is used by draw() and
10973 (general): some cursor drawing problems fixed.
10975 2001-08-01 Juergen Vigna <jug@sad.it>
10977 * lyxfind.C (LyXFind): fixed
10978 (SearchForward): ditto
10979 (SearchBackward): ditto
10981 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10982 spurius drawing of the cursor in the main area.
10984 * text2.C (status): small fix which could lead to a segfault!
10985 (clearSelection): remove unneeded BufferView param.
10987 2001-08-01 André Pönitz <poenitz@gmx.net>
10989 * lyxfunc.C: small change due to changed mathed interface
10991 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10993 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10995 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10997 * lyxfunc.c: fail gracefully if file doesn't exist
11002 * BufferView_pimpl.C: IsDirWriteable() proto changed
11004 * LyXView.C: fix updateWindowTitle() to store the last title
11006 2001-07-31 Juergen Vigna <jug@sad.it>
11008 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11009 the font (wrong since using of Paragraph::highestFontInRange).
11011 * paragraph.C (highestFontInRange): added a default_size parameter.
11013 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11014 (setHeightOfRow): reformat
11016 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * converter.[hC] + affected files: move to (inital-char)lowercase
11021 * ParagraphParameters.C (ParagraphParameters): remove commented code
11023 * PainterBase.[Ch]: remove commented code
11025 * LaTeXFeatures.h: add "bool floats" for float.sty
11027 * LaTeXFeatures.C (LaTeXFeatures): init floats
11028 (require): handle float
11029 (getPackages): do it with floats
11031 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11033 * BufferView_pimpl.C (Dispatch): improve handling of
11034 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11036 * commandtags.h: #include lyxfont.h here temporarily to avoid
11039 * bufferlist.h: include LString.h here.
11041 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11043 * text2.C (getStringToIndex): new method.
11045 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11047 * *: Reduced header file dependencies all over.
11049 2001-07-30 Baruch Even <baruch@lyx.org>
11051 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11053 2001-07-29 Baruch Even <baruch@lyx.org>
11055 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11057 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11059 * ParameterStruct.h (endif): add a default constructor to make
11060 sure that all variables is initialized.
11062 * ParagraphParameters.C (ParagraphParameters): adjust
11064 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11066 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11067 index; also, check that there is something to index, and that it
11068 does not span over several paragraphs.
11069 (doubleClick): use WHOLE_WORD_STRICT for double click.
11071 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11073 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11076 2001-07-26 Baruch Even <baruch@lyx.org>
11078 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11079 an InsetFig figure, backwards compatible reading of old figure code.
11081 2001-07-27 Juergen Vigna <jug@sad.it>
11083 * text2.C: font.realize function adaption.
11085 * text.C (draw): add a warnings lyxerr text if needed.
11087 * layout.C: font.realize function adaption.
11089 * language.C: add inherit_language and implement it's handlings
11091 * bufferview_funcs.C (StyleReset): remove language parameter from
11092 font creation (should be language_inherit now).
11094 * bufferparams.C (writeFile): handle ignore_language.
11096 * paragraph.C (getFontSettings): the language has to be resolved
11097 otherwise we have problems in LyXFont!
11099 * lyxfont.C (lyxWriteChanges): added document_language parameter
11100 (update): removed unneeded language parameter
11102 * paragraph.C (validate): fixed wrong output of color-package when
11103 using interface colors for certain fonts in certain environments,
11104 which should not seen as that on the final output.
11106 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11108 * BufferView_pimpl.C:
11113 * LyXAction.C: add thesaurus support
11116 * lyxfind.C: add "once" parameter, for thesaurus, to not
11117 move to the next match
11119 2001-07-26 Juergen Vigna <jug@sad.it>
11121 * lyxfont.C (realize): honor ignore_language too!
11124 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11126 * text.C (draw): one place more for ignore_language to not draw
11129 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11131 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11133 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11135 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11136 the minipage conversion problem.
11138 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11143 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11145 * BufferView.h: don't forward declare WorkArea
11147 * BufferView.C: don't include WorkArea.h
11149 2001-07-25 André Pönitz <poenitz@gmx.net>
11153 * lyxfunc.C: new LFUN 'math-space'
11155 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11157 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11159 * text2.C (toggleInset): call open/close
11161 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11163 * lyxfunc.C (dispatch): add debug for the disabled case
11165 * font.C (buttonText): make similar to rectText
11167 * buffer.C (readInset): comment out parsing of insetlist and
11170 * PainterBase.C (rectText): small correction
11172 * BufferView_pimpl.C: comment out insettheorem and insetlist
11173 * LyXAction.C: ditto
11174 * commandtags.h: ditto
11176 2001-07-24 Juergen Vigna <jug@sad.it>
11178 * text.C (draw): honor the ignore_language.
11180 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11182 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11184 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11187 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11189 * lyxtext.h: remove unused (and unimplemented) methods
11191 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11193 * text.C (getVisibleRow): honor background color
11196 * Painter.h: remove default color argument for fillRectangle
11198 * text.C (backgroundColor): new method
11200 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * text.C (getVisibleRow): adjust
11204 * font.[Ch] (rectText): new method, metrics
11205 (buttonText): new method, metrics
11207 * PainterBase.[hC]: make rectText and buttonText always draw and take
11210 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11212 * ToolbarDefaults.C (read):
11213 * MenuBackend.C (read): allow escaping in all strings
11215 * BufferView_pimpl.C (insertAndEditInset): new method.
11216 (Dispatch): use insertAndEditInset whenever appropriate.
11218 * BufferView_pimpl.C (insertNote): removed
11220 * BufferView_pimpl.C (smartQuote): new method, moved from
11221 BufferView; if an insetquote cannot be inserted, insert a '"'
11224 * BufferView2.C: remove insertCorrectQuote();
11226 * lyxfunc.C (getStatus): Add support for all remaingin
11227 inset-insert lfuns.
11229 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11231 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11232 command (necessary to pass " as parameter of self-insert.
11234 * text.C (selectWordWhenUnderCursor):
11235 (selectWord): add word_location parameter
11236 (selectWordWhenUnderCursor): same + remove special code for word
11238 (selectNextWord): use kind() to guess type of insetspecialchar,
11241 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11242 (insertErtContents): create ert insets as collapsed.
11243 (readInset): better compatibility code for Info inset.
11245 2001-07-20 Juergen Vigna <jug@sad.it>
11247 * lyxfunc.C (dispatch): use always LyXFind now!
11249 * text2.C (init): add a reinit flag so that the LyXText can be
11250 reinited instead of deleted and reallocated (used in InsetText).
11252 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11258 2001-07-18 Juergen Vigna <jug@sad.it>
11260 * text.C (selectNextWord): handle insets inside inset by calling
11261 always the bv->text functions so that we can go up the_locking_inset!
11263 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11264 in strange locations when inside an inset!
11266 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11267 handling to include insets.
11269 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11271 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11273 * LyXAction.C (init):
11275 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11276 LIGATURE_BREAK, since the name is so stupid.
11278 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11280 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11283 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11285 * sp_form.[Ch]: remove.
11287 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11289 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11292 * src/buffer.C (readInset): ditto.
11294 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11296 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11297 menuSeparator(), endOfSentenceDot(), ldots() and
11298 hyphenationPoint(), which are therefore removed.
11299 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11301 * LyXAction.C (init):
11302 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11304 * paragraph.C (getWord): removed.
11306 * BufferView_pimpl.C (Dispatch): use last word or selection for
11307 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11309 * lyx_main.C (queryUserLyXDir): do not ask before creating
11310 user_dir, except if it has been named explicitely.
11312 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11314 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11315 a document of zero size.
11317 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11319 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11320 approriately in the c-tor and in require().
11321 (getPackages): output the appropriate LaTeX for natbib support.
11323 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11324 variables "use_natbib" and "use_numerical_citations" when reading the
11326 (readInset): read the various natbib cite commands.
11327 (validate): white-space change.
11329 * bufferparams.[Ch]: new variables "bool use_natbib" and
11330 "bool use_numerical_citations".
11331 (writeFile): output them in the LyX file.
11333 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11335 * lyxfunc.C (getStatus): add support for all the inset insertion
11338 * text2.C (insertInset):
11339 * paragraph.C (insetAllowed):
11340 * BufferView_pimpl.C (insertInset): update to take in account the
11341 renaming of insertInsetAllowed
11343 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11345 * text2.C (getInset): new method. returns inset at cursor position.
11347 * BufferView_pimpl.C (Dispatch): changes because of this.
11349 * LyXAction.C (init): rename open-stuff to inset-toggle.
11351 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11353 * text2.C (toggleInset): renamed from openStuff; use
11356 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11358 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11360 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11362 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11364 * buffer.C (readLyXformat2): Add filename to the error dialog
11366 2001-07-18 Juergen Vigna <jug@sad.it>
11368 * tabular.C (GetCellNumber): put an assert here instead of the check!
11370 2001-07-17 Juergen Vigna <jug@sad.it>
11372 * BufferView_pimpl.C (toggleSelection): adapted too.
11374 * text.C (selectNextWord): adapted for use with insets.
11375 (selectSelectedWord): ditto
11377 2001-07-17 Juergen Vigna <jug@sad.it>
11379 * sp_spell.C (PSpell): fix initialitation order.
11381 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11383 * paragraph.C: spacing
11385 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11387 * sp_spell.C: repair language selection for pspell
11389 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11391 * lyxfunc.h: change more methods to begin with lower char.
11393 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11395 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11396 for unknown layouts.
11398 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11400 * buffer.C (readLyXformat2): Generate an error dialog if there are
11403 2001-07-16 Juergen Vigna <jug@sad.it>
11405 * sp_spell.C: always compile ISpell part.
11407 * lyxrc.C: added use_pspell entry and it's handling.
11409 2001-07-13 Juergen Vigna <jug@sad.it>
11411 * sp_spell.C: removed double includes.
11413 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11415 Consistent use of Lsstream.h:
11416 * Lsstream.h: added using std::stringstream for consistencies sake.
11418 * buffer.C: removed using std::stringstream
11420 * lyxfont.C (stateText):
11421 * paragraph.C (asString):
11422 * text.C (selectNextWord, selectSelectedWord):
11423 * text2.C (setCounter):
11424 * vspace.C (asString, asLatexString):
11425 std::ostringstream -> ostringstream.
11427 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11429 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11430 * commandtags.h: add LFUN_HELP_ABOUTLYX
11431 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11433 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11435 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11437 * lyx_gui_misc.C: remove spellchecker
11438 * lyxfunc.C: showSpellchecker
11440 * sp_ispell.h: added
11441 * sp_pspell.h: added
11442 * sp_spell.C: added
11443 * sp_form.[Ch]: removed
11444 * spellchecker.[Ch]: removed
11446 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11448 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11450 (simpleTeXSpecialChars): Simply print the input character without
11451 any special translation if pass_thru is set.
11453 * layout.h: Added bool pass_thru to layout class for being able to
11454 implement pass through of a paragraph for Literate Programming.
11456 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11457 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11458 * layout.C (Read): add "passthru" to list of layout tags and add
11459 code to set the pass_thru boolean when it is read.
11461 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * trans_decl.h: remove allowed from KmodInfo
11465 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11466 remove allowed code
11469 * paragraph_pimpl.C (erase): use boost::prior
11471 * Painter.C (text): use data() instead of c_str() when length is
11473 * WorkArea.C (putClipboard): ditto
11474 * font.h (width): ditto
11476 * BufferView2.C: use it-> instead of (*it). for iterators
11478 * paragraph_pimpl.C: ditto
11479 * paragraph.C: ditto
11480 * minibuffer.C: ditto
11481 * language.C: ditto
11483 * encoding.C: ditto
11484 * counters.C: ditto
11485 * converter.C: ditto
11487 * Variables.C: ditto
11488 * TextCache.C: ditto
11489 * MenuBackend.C: ditto
11490 * LyXAction.C: ditto
11492 * FloatList.C: ditto
11493 * DepTable.C: ditto
11494 * ColorHandler.C (LyXColorHandler): ditto
11496 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11498 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11500 * text2.C (openStuff): reintroduce this method (which had been
11501 nuked in NEW_INSETS frenzy).
11503 * lyxfunc.C (Dispatch): when an action has not been handled, use
11504 its name in the error message, not its number.
11506 * paragraph.C (inInset): change method name to begin with lowercase.
11509 * text2.C: updates because of this.
11511 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11513 * ToolbarDefaults.C (add): add spaces in error message
11515 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11518 (readLyXformat2): rename return_par to first_par, use lyxlex's
11519 pushToken and remove the manual push handling.
11520 (parseSingleLyXformat2Token): add another ert comp. variable:
11521 in_tabular, rename return_par to first_par. handle newlines better
11523 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11525 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11527 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * text2.C (getParFromID): removed
11531 * buffer.C (getParFromID): new method moved form lyxtext.
11532 * BufferView2.C (insertErrors): adjust
11533 (setCursorFromRow): adjust
11534 * BufferView_pimpl.C (restorePosition): adjust
11535 * lyxfunc.C (Dispatch): adjust
11536 * undo_funcs.C (textUndo): adjust
11538 (textHandleUndo): adjust
11539 (textHandleUndo): adjust
11541 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * buffer.C: up' the LYX_FORMAT
11545 * lyxfont.h: turn NO_LATEX on as default
11547 * buffer.C (insertErtContents): new methods of tex style compability.
11548 (parseSingleLyXformat2Token): use it several places.
11549 * tabular.C (OldFormatRead): and here
11551 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * text2.C: remove some commented code.
11556 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11557 * trans.C: changes because of the above.
11559 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11561 * text2.C (setCounter): Fix counters bug with bibliography layout.
11563 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11566 own member functions
11567 (simpleTeXSpecialChars): ditto
11569 2001-07-06 Juergen Vigna <jug@sad.it>
11571 * a lot of files: changed the access to LyXText::status and the
11572 call of undo-functions.
11574 * undo.[Ch]: added a inset_id to the undo informations.
11576 * undo_funcs.[Ch]: added and moved here all undo functions.
11578 * lyxtext.h: give the status enum a weight, made status_ a private
11579 variable and made accessor functions for it, removed the whole bunch
11580 of undo-functions as they are now in their own file, make some
11581 functions publically available. Added function ownerParagraph with
11584 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11585 made InInset() a const function, added getParFromID() function.
11587 * buffer.[Ch]: added const version for inset_iterator functions,
11588 added getInsetFromID() function.
11590 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11591 changed undo functions for new version.
11593 2001-07-05 Juergen Vigna <jug@sad.it>
11595 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11596 unknow mechanism does not call the proper constructor but only this
11597 one also if I request the other!?
11599 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11601 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11603 * text2.C (LyXText): use initialization lists.
11605 * lyxtext.h (Selection): initialize set_ and mark_
11606 (init): remove method
11608 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11610 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11612 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * screen.[Ch]: change method names to begin with lowercase
11616 * BufferView_pimpl.C (updateScrollbar): simplify further and
11617 hopefully make it a bit faster.
11619 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11621 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11622 calling directly xforms functions.
11624 * Painter.C (Painter):
11625 * lyx_cb.C (MenuWrite):
11626 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11629 * lyx_gui.C: remove bogus guiruntime extern declaration.
11631 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11635 (redoDrawingOfParagraph): ditto
11636 (redoParagraphs): ditto
11637 (cutSelection): don't create a object for CutAndPaste use the
11638 static method directly
11639 (pasteSelection): ditto
11641 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11644 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * modifications to some other files because of this.
11648 * Makefile.am (lyx_SOURCES): add XFormsView
11650 * XFormsView.[Ch]: new files
11652 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11653 the main window. Move the gui dependent stuff to XFormsView
11655 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * tabular.C (GetCellInset): update cur_cell also in the row/col
11658 version of this function.
11660 * lyxfunc.C: no need to include figure_form.h here.
11666 * lyxvc.C: no need to include forms.h here.
11668 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11670 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11672 * lyxfunc.C (Dispatch):
11674 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11675 constructor argument.
11677 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * paragraph.C (Paragraph): dont't clear, and just set layout.
11680 (makeSameLayout): use params's copy contructor.
11682 * ParagraphParameters.[Ch] (makeSame): delete method
11684 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11686 * Variables.[Ch]: fix indentation, rename set to isSet
11688 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * lyxfunc.C (Dispatch): fix typo
11692 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11694 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11697 * bufferlist.C: include assert.h for emergencyWrite().
11699 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11701 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11702 give up at last (bug #425202) !
11704 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11710 * spellchecker.C: strip spellchecker options and bring up
11711 preferences tab instead
11713 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11716 the istringstream constructor
11718 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11720 * paragraph.C (getLayout): fix return value
11722 * paragraph.h: do not declare getLayout as inline.
11724 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11726 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * lyxcursor.h (operator<): new func
11729 (operator>): new func
11730 (operator>=): new func
11731 (operator<=): new func
11733 * text.C (changeCase): use selection.start and selection.end
11734 (changeRegionCase): require from to be <= to. Require par to be a
11737 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11739 2001-06-27 Juergen Vigna <jug@sad.it>
11741 * text.C (cursorLeftOneWord): changed to return the cursor and added
11742 overlay with BufferView * parameter which calls this one.
11744 (selectWord): use new getWord function.
11745 (changeCase): renamed from changeWordCase as and extended to work
11746 also on selections.
11748 * lyxtext.h: added enum word_location
11750 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11751 changeCase as this operates now also on selections.
11753 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11755 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11757 * many files: send debug output to Debug::INFO instead of
11760 * converter.C (View):
11762 (Move): send debug output to Debug::FILES instead of console.
11764 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11766 * lyxfunc.C (getStatus): use func_status
11768 * func_status.h: new header, describing the results of
11769 LyXFunc::getStatus;
11771 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11774 2001-06-25 The LyX Project <jug@sad.it>
11776 * buffer.C (sgmlOpenTag):
11778 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11780 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * text2.C: remove some dead code
11784 * tabular.C (GetCellInset): store the last cell checked (gotten)
11786 * tabular.h: add the helper for the speedup
11788 * lyxtext.h: remove some dead code
11790 2001-06-26 The LyX Project <Asger>
11792 * paragraph.C: Change export to LaTeX of alignment to
11793 \begin{center} and family for better roundtrip work with reLyX.
11795 * Tune the math drawing a bit.
11797 2001-06-25 The LyX Project <Asger>
11799 * LColor.C (LColor): New color for math background. New color
11802 2001-06-25 The LyX Project <jug@sad.it>
11804 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11806 * lyxfunc.C (Open):
11807 * bufferlist.C (newFile): do not restrict to files ending with
11810 * BufferView_pimpl.C (MenuInsertLyXFile):
11812 2001-06-24 The LyX Project <jug@sad.it>
11814 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11817 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11819 * lyxtext.h: rename most methods to begin with a small char.
11820 Lots of changes because of this.
11822 * paragraph.C (Paragraph): do not call fitToSize
11823 (erase): call Pimpl::erase
11824 (insertChar): call Pimpl::insertChar
11825 (insertInset): call Pipl::insertInset
11826 (breakParagraph): do not call fitToSize
11827 (breakParagraphConservative): do not call fitToSize
11828 (fitToSize): remove method
11830 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11832 2001-06-24 The LyX Project <Asger>
11834 * Fix Qt compilation^2
11836 2001-06-24 The LyX Project <jug@sad.it>
11838 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11839 depthHook(getDepth()-1).
11842 * ParagraphParameters.h:
11843 * ParameterStruct.h: change type of depth to unsigned int ==
11844 depth_type. Many adaptations to other files before of that.
11846 2001-06-24 The LyX Project <Asger>
11848 * Fix Qt compilation.
11850 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * paragraph.h: renamed several methods to begin with small letter.
11853 several changes to many parts of the code because of this.
11855 2001-06-23 The LyX Project <jug@sad.it>
11857 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11858 rewritten to discard all double spaces when KeepEmpty is off
11859 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11860 to only handle newlines but not fiddle with spaces and friends.
11862 * lyxfunc.C (MenuNew): when doing 'new from template', use
11863 template_path as default directory
11865 2001-06-23 The LyX Project <Asger>
11867 * Clean-up of header file includes all over
11868 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11870 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * paragraph.h: renamed from lyxparagraph.h
11874 2001-06-23 Asger <lyx@violet.home.sad.it>
11876 * Buffer.h: Removed Buffer::resize
11877 * BufferList.h: Removed BufferList::resize
11878 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11879 the document lazily when we change the width, or the font settings.
11881 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11883 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11885 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11887 * buffer.h: remove out of date comment
11889 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11892 * screen.C: fix "theoretical" GC leak
11894 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11896 * LaTeX.C (scanAuxFile):
11897 (deplog): remove trailing \r when reading stream (useful under
11900 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11902 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11903 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11904 and BufferView::theLockingInset(Inset*), so should use them and not
11905 access bv_->text->the_locking_inset directly.
11907 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11909 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11912 * tex-defs.h: remove old unused file
11914 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11916 * BufferView_pimpl.C: fix typo, remove minibuffer message
11917 when buffer has loaded
11919 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11921 * lyxfunc.C (Dispatch): use stringstream
11922 (MenuNew): use stringstream
11923 (Open): use stringstream
11925 * importer.C (Import): use stringstream
11927 * bufferview_funcs.C (CurrentState): use stringstream
11929 * LaTeX.C (run): use stringstream
11931 * BufferView_pimpl.C (savePosition): use stringstream
11932 (restorePosition): use stringstream
11933 (MenuInsertLyXFile): use stringstream
11935 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11948 * vspace.C: removed // -*- C++ -*- as first line.
11951 * version.h: added // -*- C++ -*- as first line.
11953 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11955 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11957 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11960 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11962 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11965 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11967 * gettext.C: include LString.h even when --disable-nls is on.
11969 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11971 * converter.h (Get): changed argument type from int to
11972 FormatList::size_type to avoid unnecessary conversion.
11974 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11977 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11979 * gettext.h: include LString.h even when --disable-nls is on.
11981 2001-06-07 Juergen Vigna <jug@sad.it>
11983 * text.C (BreakAgain): subst spaces with tabs.
11985 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11986 (resizeInsetsLyXText): set force on resizeLyXText.
11988 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11990 * gettext.h (gettext_init):
11991 (locale_init): use a real definition instead of a macro
11993 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11995 * Bufferview_pimpl.C:
11997 * LColor.C: further lcolor tidies
11999 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * BufferView_pimpl.C (updateScrollbar): simplify.
12003 * BufferView2.C: don't include insets/insetinfo.h, change
12004 prototype for insertInset and call the Pimpl version. let
12005 updateInset call Pimpl version.
12007 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12008 gotoInset to BufferView::Pimpl
12010 2001-06-01 Juergen Vigna <jug@sad.it>
12012 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12013 inside a LockingInset (is the update needed at all?).
12015 2001-05-31 Juergen Vigna <jug@sad.it>
12017 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12018 here not the old one otherwise how should we compare it afterwards
12021 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12026 * FontInfo.C: bring C functions into global namespace when
12029 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12031 * LString.h: make sure config.h has been loaded before LString.h.
12033 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12034 (one for each char read by EatLine!).
12036 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12039 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12042 to the same as the par we break from
12044 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12046 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12048 * MenuBackend.C (expand): also create menu entries for wide
12049 versions of the floats.
12051 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12053 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12055 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12056 frontends/Makefile.am
12062 * tabular.C (getTokenValue): add std::
12064 * tabular-old.C (getTokenValue): add std::
12065 (getTokenValue): ditto
12066 (getTokenValue): ditto
12068 * screen.C (ToggleSelection): adjust
12070 * lyxtext.h: put selection cursors inside a Selection struct.
12072 * lyxfunc.C (moveCursorUpdate): adjust
12074 * lyxfont.C (latexWriteStartChanges): add std::
12076 * lyxfind.C: adjust
12078 * font.h: delete with(char const *, LyXFont const &)
12080 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12082 * FontInfo.C (getFontname): add std::
12084 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12085 (workAreaButtonPress): adjust
12086 (tripleClick): adjust
12088 (moveCursorUpdate): adjust
12091 * BufferView2.C (gotoInset): adjust
12093 2001-05-30 Juergen Vigna <jug@sad.it>
12095 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12096 to check pspell I add this as default as I now have new pspell
12097 libraries and they seem to use this.
12099 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * text2.C (CutSelection): make the cursor valid before the call to
12104 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12106 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12107 relied on 0 terminated strings and other horrors. Bug found due to
12108 the new assert in lyxstring!
12110 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12113 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12115 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12118 * lyxfunc.C (processKeySym): change method of getting to the
12121 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12122 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12123 * BufferView_pimpl.[Ch]: here as private methods.
12125 2001-05-28 Juergen Vigna <jug@sad.it>
12127 * text.C (SetHeightOfRow): added the update() call again as it is
12128 needed to initialize inset dimensions!
12130 2001-05-16 Juergen Vigna <jug@sad.it>
12132 * text2.C (SetCharFont): Add new function with BufferView * and
12133 bool toggleall parameters for setting insets internal fonts.
12134 (SetFont): Freeze the undo as we may change fonts in Insets and
12135 all this change should be inside only one Undo!
12137 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12138 setting font's in insets as for them we have the SetFont function!
12140 2001-05-15 Juergen Vigna <jug@sad.it>
12142 * text2.C (ClearSelection): to be sure we REALLY don't have any
12145 * tabular.C (TeXCellPreamble): fixed the left border problem for
12148 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12150 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12153 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12156 LFUN_BREAKPARAGRAPH.
12158 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12159 help test to "internal only", similar for LFUN_INSERT_URL
12161 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12162 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12163 auto_region_delete and deadkeys.
12165 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12168 * LColor.C: remove some dead entries, tidy a little
12170 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12172 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12174 (Dispatch): implement LFUN_ESCAPE
12176 * commandtags.h: add LFUN_ESCAPE
12178 * LyXAction.C (init): add entry for LFUN_ESCAPE
12180 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12181 Remove commented code.
12182 (insertNote): moved here
12183 (open_new_inset): moved here
12185 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12188 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12190 * kbmap.C (findbinding): clean it up and make it work correctly.
12192 * lyx_main.C (init): do not pass argc and argv as parameters
12194 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12196 * buffer.C: fix path for OS/2 & Win32
12200 * lyx_main.C: Added os:: class.
12202 * os2_defines.h: update
12204 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12207 better by trying again with reduced state.
12209 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12211 * lyxrc.C (read): print error about invalid key sequence only when
12212 debugging (because not all latinX keysyms are known to some X
12215 * kbsequence.C (getiso): add a few std:: qualifiers
12216 (getiso): comment out extra return statement.
12218 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12222 (Dispatch): enhance the accent inset a bit. (not perfect)
12224 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12228 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * bufferlist.C (emergencyWrite): fix assert() call
12232 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12234 * text.C (InsertChar): Added trivial patch to only send the "you
12235 can not do multiple spaces this way" message once during a
12238 2001-05-08 Baruch Even <baruch@lyx.org>
12240 * Makefile.am: Changed order of libraries to get LyX to link properly
12241 with the gnome frontend.
12243 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12245 * LaTeXFeatures.h: add a std:: qualifier
12247 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12249 * paragraph.C (String): use stringstream
12251 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * paragraph.C (writeFile): remove footflag arg
12255 * buffer.C (makeLaTeXFile): use stringstream
12256 (latexParagraphs): remove footnot gurba
12258 * LaTeXFeatures.C (getPackages): use stringstream
12259 (getMacros): likewise
12260 (getTClassPreamble): likewise
12261 (getFloatDefinitions): new method
12263 * paragraph.C (writeFile): reindent
12266 * WorkArea.h: revert the xpos + etc changes.
12268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12270 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12272 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12273 (pasteSelection): likewise
12274 * text2.C (CreateUndo): likewise
12276 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * minibuffer.C (peek_event): temporarily reduce the functionality
12279 of the minibuffer (to allow args on lfuns)
12281 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12282 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12284 * buffer.C (readInset): add compability reading of old float
12285 lists, add reading of new style float list.
12286 (readInset): avoid reevaluation of inscmd.getCmdName()
12287 (getLists): reindent
12289 * MenuBackend.C (MenuItem): implement parsing of
12290 md_floatlistinsert and md_floatinsert.
12291 (expand::LastFiles): move initalizaton of iterators out of loop,
12292 avoid reevaluation.
12293 (expand::Documents): introduce typdedef vector<string> Strings,
12295 (expand::ExportFormats): introduce typedef vector<Format const *>
12296 Formats, and use it.
12297 (expand): implement FloatListInsert and FloatInsert.
12299 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12300 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12301 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12303 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12305 (Dispatch::LFUN_FLOAT_LIST): implement
12307 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12309 * LaTeX.C (run): Fix problem with --export code.
12311 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12313 * BufferView.[Ch] (workarea): removed.
12314 (getClipboard) new method; wrapper for workarea()->getClipboard()
12316 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12319 * WorkArea.h (width, height, xpos, ypos): These methods all
12320 returned the dimensions of the work_area sub-area of WorkArea,
12321 resulting in a position error if the WorkArea were resized. Now
12322 return the dimensions of the entire WorkArea.
12324 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12326 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12328 * LaTeX.C (deplog): correct the syntax of regex reg1
12330 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * undo.C: remove !NEW_INSETS cruft
12334 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * text2.C: remove !NEW_INSETS cruft
12338 * text.C: remove !NEW_INSETS cruft
12340 * tabular.C: remove !NEW_INSETS cruft
12342 * spellchecker.C: remove !NEW_INSETS cruft
12344 * lyxtext.h: remove !NEW_INSETS cruft
12346 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12348 * lyxfunc.C: remove !NEW_INSETS cruft
12350 * lyxfind.C: remove !NEW_INSETS cruft
12352 * lyx_cb.C: remove !NEW_INSETS cruft
12354 * figureForm.C: remove !NEW_INSETS cruft
12356 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12358 * buffer.[Ch]: remove !NEW_INSETS cruft
12360 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12362 * CutAndPaste.C: remove !NEW_INSETS cruft
12364 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12366 * BufferView2.C: remove !NEW_INSETS cruft
12368 * BufferView.h: remove !NEW_INSETS cruft
12370 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12372 * Lsstream.h: include LString.h before the sstream headers to
12373 fix problem with gcc 2.95.3 and lyxstring
12375 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12377 * lyx_main.C: add using directives when needed for C functions
12378 declared in std:: namespace.
12380 2001-04-27 Juergen Vigna <jug@sad.it>
12382 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12383 (SetHeightOfRow): comment out the update call should not be needed!
12385 2001-04-13 Juergen Vigna <jug@sad.it>
12387 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12388 (LyXTabular): tried to minimize operator= operations (and realized
12389 hopfully Lars wish).
12391 2001-04-27 Juergen Vigna <jug@sad.it>
12393 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12395 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12399 * buffer.C (readInset): hack to make listof algorithm work
12401 * BufferView_pimpl.C: hack to make listof algorithm work
12403 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * LyXAction.C: removed all !NEW_INSETS cruft
12406 (init): moved lfun_item in method
12408 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12410 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12412 * BufferView2.C (theLockingInset): white space.
12414 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * minibuffer.C: include <iostream>
12418 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12420 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12422 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12424 * text.[Ch] (TransposeChars): new method
12426 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * call message directly through LyXView instead of through LyXFunc
12429 * BufferView2.C: adjust
12430 * BufferView_pimpl.C: adjust
12431 * FontLoader.C: adjust
12433 * bufferview_funcs.C: adjust
12434 * converter.C: adjust
12435 * figureForm.C: adjust
12436 * importer.C: adjust
12438 * lyx_gui_misc.C: adjust
12439 * lyxfunc.C: adjust
12442 + more files in subdirs
12444 * lyxparagraph.h (size): move up int file
12447 * adjust all uses of Assert to lyx::Assert.
12449 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12450 lyxfunctional in namespace lyx
12451 * layout.C (hasLayout): ditto
12454 (delete_layout): ditto
12455 (NumberOfClass): ditto
12456 * converter.C (GetFormat): ditto
12461 * bufferlist.C (getFileNames): ditto
12462 (emergencyWriteAll): ditto
12465 * MenuBackend.C (hasSubmenu): ditto
12468 * BufferView_pimpl.C (getInsetByCode): ditto
12470 2001-04-18 Juergen Vigna <jug@sad.it>
12472 * vspace.C (asLatexString): fixed the 100% problem.
12474 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12476 * lyxfunc.C (Dispatch):
12478 * minibuffer.h: add a few std:: qualifiers
12480 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12482 * minibuffer.[Ch]: reimplement so that commands is initiated and
12483 run from lyxfunc, simplified som handling, and made the completion
12484 and history code for complete. wip.
12486 * lyxfunc.C (processKeySym): call message
12487 (miniDispatch): new temporary method
12488 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12489 (LFUN_MESSAGE): implement
12490 (LFUN_MESSAGE_PUSH): implement
12491 (LFUN_MESSAGE_POP): implement
12492 (initMiniBuffer): the initial/defualt minibuffer message.
12494 * lyxfont.[Ch]: inline some more getters
12496 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12498 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12500 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12501 (AutoSave): use LFUN_MESSAGE
12502 (Reconfigure): ditto
12504 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12506 * figureForm.C: use LFUN_MESSAGE
12508 * converter.C (runLaTeX): use LFUN_MESSAGE
12510 * bufferview_funcs.C: use LFUN_MESSAGE
12512 (changeDepth): ditto
12514 * bufferparams.h: use boost::
12516 * bufferlist.h: inherit privately from noncopyable
12518 * bufferlist.C (loadLyXFile): remove some commented code.
12520 * buffer.C (runChktex): use LFUN_MESSAGE
12522 * ShareContainer.h: inherit privately from noncopyable
12524 * ParagraphParameters.[hC] (depth): inline it.
12526 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12528 (message): new method
12529 (messagePush): ditto
12530 (messagePop): ditto
12531 (show): init minibuffer
12532 (showState): direct call
12534 * LaTeX.[Ch]: inherit privately from noncopyable
12535 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12536 instead of WriteStatus.
12538 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12540 * BufferView_pimpl.C (buffer): don't init minibuffer
12541 (workAreaButtonPress): use LFUN_MESSAGE
12542 (workAreaButtonRelease): ditto
12543 (savePosition): ditto
12544 (restorePosition): ditto
12545 (MenuInsertLyXFile): ditto
12546 (workAreaExpose): don't init minibuffer
12547 (update): remove commented code, simplify
12549 * BufferView2.C (openStuff): use LFUN_MESSAGE
12550 (toggleFloat): ditto
12553 (copyEnvironment): ditto
12554 (pasteEnvironment): ditto
12559 (updateInset): remove some commented code
12561 * lastfiles.h: inherit privately from noncopyable
12564 * lyx_main.h: ditto
12566 * lyxlex_pimpl.h: ditto
12568 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12569 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12570 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12572 * LyXAction.h: inherit privately from noncopyable, add methods
12573 func_begin, func_end, returning iterators to the func map.
12575 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12576 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12577 (func_begin): new method
12578 (func_end): new method
12580 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12582 (copySelection): ditto
12583 (pasteSelection): ditto
12585 * BufferView.C: whitespace change
12586 * BufferView.h: inherit privately from noncopyable
12588 2001-04-16 Allan Rae <rae@lyx.org>
12590 * tabular-old.C (l_getline):
12591 * spellchecker.C (sc_check_word):
12592 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12593 an unrecognised preprocessor directive. So ensure they're wrapped.
12595 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12597 * src/exporter.C (Export): Give an error message when path to file
12600 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12602 * LaTeX.C (deplog): Always check that foundfile exists.
12604 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12607 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12609 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * tabular.[Ch] (getLabelList): implement new method
12613 * minibuffer.h: comment ouf setTiimer
12615 * minibuffer.C (ExecutingCB): constify res
12616 (peek_event): constify s
12617 (Set): constify ntext
12618 (Init): constify nicename
12620 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12622 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12623 (savePosition): use two params to Minibuffer::Set
12624 (restorePosition): ditto
12626 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12628 * lyx_main.C: include language.h
12630 * Makefile.am (lyx_main.o): add language.h
12632 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12638 * CutAndPaste.C: include gettext.h
12640 * lyxfont.h: remove old hack with ON and OFF.
12643 * lyxfont.h: do not include language.h...
12648 * bufferview_funcs.C:
12654 * paragraph.C: ... but do it here instead
12656 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12658 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12660 * tabular.C: small reformat
12662 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12665 (BreakParagraph): ditto
12666 (SetOnlyLayout): ditto
12669 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12672 * lastfiles.C: removed most using decl, add std:: where needed
12674 * buffer.C: ws changes
12676 * MenuBackend.C (class compare_format): put into anon namespace
12677 (expand): constify label, names, action, action2
12680 * text.C (SingleWidth): constify font
12681 (IsBoundary): constify rtl2
12682 (GetVisibleRow): constify ww
12684 * LaTeX.C (deplog): constify logfile
12686 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12688 (workAreaExpose): constify widthChange, heightChange
12690 * lyxrow.C (par): moved
12693 * lyxrow.h: as inlines here
12695 * lyxfont.h (shape): moved from lyxfont.C
12696 (emph): moved from lyxfont.C
12698 * lyxfont.C (LyXFont): use initialization list for all
12700 (shape): move to lyxfont.h as inline
12701 (emph): move to lyxfont.h as inline
12704 2001-04-04 Juergen Vigna <jug@sad.it>
12706 * vspace.C: had to include stdio.h for use of sscanf
12708 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12711 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12712 independent of xforms.
12714 2001-04-02 Juergen Vigna <jug@sad.it>
12716 * spellchecker.C: fixed namespace placing!
12718 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12720 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12721 the LyXParagraph * is 0.
12723 2001-03-29 Juergen Vigna <jug@sad.it>
12725 * vspace.C: added support for %, c%, p%, l%.
12726 (stringFromUnit): added helper function.
12727 (asLatexString): changed to give right results for the %-values.
12729 * buffer.C: convert the widthp in a width%.
12731 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12733 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12736 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12737 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12739 * lyx_cb.[Ch]: see above.
12741 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12745 * lyx.[Ch]: replaced by figure_form.[Ch].
12749 * lyxfunc.C: changed headers associated with above changes.
12751 2001-03-27 Juergen Vigna <jug@sad.it>
12753 * BufferView_pimpl.C: set the temporary cursor right!
12755 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12757 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12759 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12761 * LString.h: removed "using std::getline"!
12763 * BufferView_pimpl.C (Dispatch): changes due to changes in
12764 InsetInclude::Params.
12766 * buffer.C (tag_name): removed redundant break statements as they were
12767 producing lots of warnings with my compiler.
12769 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12771 * LString.h: add "using std::getline" when using the real <string>.
12773 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12775 * buffer.C: removed bitset usage.
12776 PAR_TAG moved to an anonymous name space.
12777 (tag_name): new funtion, also in the anonymous namespace.
12778 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12779 (makeDocBookFile): clean code. Completed transition from string arrays
12781 (SimpleDocBookOnePar): code clean.
12783 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12785 * tabular.C: add some comments.
12787 2001-03-22 Juergen Vigna <jug@sad.it>
12789 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12790 compatibility read a bit and fixed bug with minipage in different
12793 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12795 * buffer.C (pop_tag): removed.
12796 (push_tag): removed.
12797 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12798 array replaced with vector. Added support for CDATA sections.
12799 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12801 (makeDocBookFile): XML conformant declaration of CDATA section,
12802 fixed bug related to <emphasis> in the first paragraph char.
12803 (sgmlOpenTag): exclude empty tags.
12804 (sgmlCloseTag): ditto.
12806 * buffer.h (pop_tag): removed.
12807 (push_tag): removed.
12809 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12811 * language.h (Languages): added size_type and size().
12813 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12815 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12816 response on compability reading of minipages. One probliem is that
12817 the old usage of minipages was «flertydig»
12819 * several files here and in subdirs: don't use static at file
12820 scope use anon namespaces instead.
12822 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12824 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12825 LaTeX output. This is necessary for Literate document
12828 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12830 * buffer.C: insert hfill when needed.
12832 * tabular.C (l_getline): use string::erase, small whitespace change.
12834 * BufferView_pimpl.C: try the anon namespace.
12835 * WorkArea.C: ditto
12837 2001-03-16 Juergen Vigna <jug@sad.it>
12839 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12840 otherwise it won't open options-dialogs.
12842 * buffer.C: honor pextraWidth(p) on converting minipages.
12844 * tabular.C (l_getline): changed the functions to strip trailing \r.
12846 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12848 * BufferView_pimpl.C:
12849 * minibuffer..C: added "using SigC::slot" declaration.
12851 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12853 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12859 * paragraph.C: ditto
12861 * lyxtext.h: NO_PEXTRA
12863 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12865 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12866 * ParameterStruct.h: ditto
12867 * ParagraphParameters.h: ditto
12868 * lyxparagraph.h: ditto
12870 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12872 * buffer.C: add compability for minipage alignment.
12873 (latexParagraphs): remove unwanted pextra check.
12875 * several files: remove CXX_WORKING_NAMESPACES
12877 * buffer.C (pop_tag): tie is in namespace boost
12879 * BufferView.h: noncopyable is in namespace boost
12881 * lyx_main.h: ditto
12884 * lastfiles.h: ditto
12885 * bufferlist.h: ditto
12886 * ShareContainer.h: ditto
12888 * LyXAction.h: ditto
12891 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12893 * Merging changes from BRANCH_MVC back into HEAD.
12895 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12897 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12899 * BufferView_pimpl.C: change from intl.C
12903 * Makefile.am: move combox.*
12909 * intl.C: remove dialog (covered by prefs)
12911 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12913 * lyxfunc.C (Dispatch): removed redundant break statement.
12915 2001-03-14 Juergen Vigna <jug@sad.it>
12917 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12919 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12921 * buffer.C: add hack to fix compability reading of minipages.
12923 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12925 * buffer.C (getLists): Cleanup.
12927 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12929 * lyxfont.C (update): don't honor toggleall on font size.
12931 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12935 * Makefile.am: moved to frontends/xforms/
12939 * BufferView_pimpl.C: changes for moved mathpanel
12941 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12943 * gettext.h: fix gettext_init() in --disable-nls
12945 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12947 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12949 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12952 * lyx.h: strip external form
12954 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12956 * BufferView_pimpl.C: add comment, destroySplash()
12958 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12960 * BufferView_pimpl.C:
12964 * lyxfunc.C: use re-worked insetinclude
12966 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12968 * buffer.C: add using std::stringstream.
12970 * lyx_cb.C: readd using std::ios.
12972 * buffer.C: add using std::map.
12974 * BufferView_pimpl.C: add using std::vector.
12976 * ShareContainer.h: add std:: to swap.
12978 * buffer.h: add some typedefs
12979 * buffer.C (getLists): use them
12980 (getLists): renamed from getTocList.
12981 add a counter for the different float types and use it in the
12983 (getLists): use the same counter for the NEW_INSETS and the "non"
12986 * lyx_cb.h: remove unused items, includes, using etc.
12988 * ShareContainer.h: remove some commented code, add more comments
12989 and "documentation".
12991 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12993 * buffer.C (getTocList): make the list also when NEW_INSETS is
12996 * buffer.h: remove TocType
12998 * buffer.C (getTocList): change to return a map<string,
12999 vector<TocItem> >, implement for dynamic number of list.
13001 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13002 * text2.C (PasteSelection): adjust
13003 * CutAndPaste.C (pasteSelection): adjust
13005 * FloatList.C (FloatList): update from the new_insets branch.
13006 * Floating.[Ch]: ditto
13007 * LaTeXFeatures.C: ditto
13009 * lyxlex_pimpl.C: ditto
13011 * paragraph.C (Last): remove when NEW_INSETS is defined.
13013 * other file: changes because of the above.
13015 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13017 * lyxparagraph.h: rename next to next_, previous to previous_,
13018 make them private for NEW_INSETS. Rename Next() to next(),
13019 Previous() to previous().
13021 * other files: changes because of the above.
13023 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13026 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13029 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13031 * main.C (main): pass lyx_localedir to gettext_init().
13033 * gettext.h: remove locale_init and gettext_init macros
13035 * gettext.C (locale_init): new function
13036 (gettext_init): new function
13038 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13041 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13043 * Moved credits to frontends:
13044 * credits.[Ch]: removed
13045 * credits_form.[Ch]: removed
13046 * lyx_gui_misc.C: remove credits stuff
13049 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13051 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13053 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13054 unneeded destructor.
13056 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13057 a standalone pointer again.
13059 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13061 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13067 * ToolbarDefaults.C:
13076 * BufferView_pimpl.C: use new file dialog in GUII
13079 * lyx_cb.C: remove LayoutsCB to Toolbar
13081 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13083 * ShareContainer.h (get): add std:: qualifier
13085 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * ShareContainer.h: define a proper ShareContainer::value_type
13088 type (and use typename to please compaq cxx)
13090 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13092 * lyxparagraph.h: move serveral local vars to
13093 ParameterStruct/ParagraphParameters., use ShareContainer in
13094 FontTable., make vars in FontTable private and add getter and
13097 * paragraph.C: changes because of the above.
13099 * lyxfont.h: remove copy constructor and copy assignment. (the
13100 default ones is ok), move number inside FontBits. move inlines to
13103 * lyxfont.C: add number to initializaton of statics, move several
13104 inlines here. constify several local vars. some whitespace
13105 cleanup. Dont hide outerscope variables.
13107 * Spacing.h: add two new constructors to match the set methods.
13109 * ShareContainer.h: new file, will perhaps be moved to support
13111 * ParameterStruct.h: new file
13113 * ParagraphParameters.h: new file
13115 * ParagraphParameters.C: new file
13117 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13118 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13120 * BufferView_pimpl.C: ParagraphParameter changes.
13121 * buffer.C: Likewise.
13122 * bufferview_funcs.C: Likewise.
13123 * text.C: Likewise.
13124 * text2.C: Likewise.
13126 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13128 * lyxfind.C (LyXReplace): do not redefine default argument in
13130 (IsStringInText): ditto
13131 (SearchForward): ditto
13132 (SearchBackward): ditto
13134 2001-03-06 Juergen Vigna <jug@sad.it>
13136 * lyxfind.C (IsStringInText): put parentes around expressions.
13138 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13140 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13142 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13144 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13146 * stl_string_fwd.h: add comment
13148 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13151 * tabular.C: remove unused DocBook methods
13157 killed DO_USE_DEFAULT_LANGUAGE
13159 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13161 * lyx_gui.C: do not include language.h.
13163 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13164 arguments in function implementation.
13166 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13168 * BufferView_pimpl.C: add <ctime>
13170 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13172 * BufferView_pimpl.C: add using std::find_if
13174 2001-02-27 José Matos <jamatos@fep.up.pt>
13176 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13179 2001-02-11 José Matos <jamatos@fep.up.pt>
13181 * buffer.C (makeDocBookFile): command styles now have a parameter as
13182 "title" by default.
13184 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13186 * layout_forms.[Ch]: removed
13187 * lyx_cb.[Ch]: out character
13188 * lyx_gui.C: out character
13189 * lyx_gui_misc.C: out character
13190 * bufferview_funcs.C: : out character,
13191 added toggleall as parameter in ToggleAndShow
13193 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13195 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13197 * text2.C (SetCurrentFont): Disable number property at boundary.
13199 2001-02-26 Juergen Vigna <jug@sad.it>
13201 * lyxfunc.C (getStatus): added a string argument override function so
13202 that this is correctly called from LyXFunc::Dispatch if it contains a
13203 do_not_use_argument which is used!
13204 (Dispatch): added check for "custom" export and call appropriate func.
13206 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13208 * lyxrc.C: Add language_command_local, language_use_babel and
13209 language_global_options.
13211 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13213 * buffer.C (makeLaTeXFile): Use language_use_babel and
13214 language_global_options.
13216 2001-02-23 Juergen Vigna <jug@sad.it>
13218 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13219 which works with LyXText and putted it inside BufferView. Here now we
13220 only call for that part the BufferView::Dispatch() function.
13222 * BufferView.C (Dispatch): added.
13224 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13225 functions which needs to use a LyXText over from LyXFunc.
13226 (MenuInsertLyXFile): added
13227 (getInsetByCode): added
13228 (moveCursorUpdate): added
13229 (static TEXT): added
13231 2001-02-22 Juergen Vigna <jug@sad.it>
13233 * BufferView_pimpl.C (update): call a status update to see if LyXText
13236 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13238 * vc-backend.C (revert): implement for CVS
13239 (getLog): implement for CVS
13241 2001-02-20 Juergen Vigna <jug@sad.it>
13243 * text2.C (ClearSelection): added BufferView param for inset_owner call
13245 * lyxfunc.C (TEXT): added this function and use it instead of
13246 directly owner->view()-text of getLyXText().
13248 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13250 * src/layout_forms.C: out preamble
13251 * src/layout_forms.h: out preamble
13252 * src/lyx_cb.C: out preamble
13253 * src/lyx_cb.h: out preamble
13254 * src/lyx_gui.C: out preamble
13255 * src/lyx_gui_misc.C: out preamble
13256 * src/lyxfunc.C: connect with guii preamble
13258 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13260 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13262 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13264 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13265 whether to run bibtex.
13267 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13269 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13271 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13273 * Makefile.am (lyx_SOURCES): removed bibforms.h
13275 * vspace.h: doxygen
13277 * text.C (GetVisibleRow): make several local vars const
13279 * tabular.C: small cleanup.
13281 * lyxserver.C (callback): use compare instead of strncmp
13283 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13284 inlines to after class or to paragraph.C
13286 * lyxfont.h: remove friend operator!=
13288 * converter.h: move friend bool operator< to non friend and after
13291 * combox.h: small cleanup
13293 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13294 to inlines after class def.
13296 * buffer.C (pop_tag): use string operations instead of strcmp
13298 * bmtable.c: doxygen, small cleanup
13300 * LaTeX.h: remove friend operator==
13302 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13314 * BufferView_pimpl.C:
13315 * BufferView.[Ch]: remove cruft
13317 2001-02-14 Juergen Vigna <jug@sad.it>
13319 * lyxfunc.C: removed #if 0 unused code
13321 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13323 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13325 * text2.C (SetSelection): added a BufferView * parameter
13327 2001-02-13 Juergen Vigna <jug@sad.it>
13329 * lyxfunc.C (Dispatch): fixed protected blank problem.
13330 * BufferView2.C (protectedBlank): added LyxText * parameter.
13332 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13333 (AppendColumn): same as above for column_info.
13335 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13336 (moveCursorUpdate): use a LyXText param for support of InsetText.
13338 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13339 (tripleClick): ditto
13341 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13343 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13345 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13347 * text2.C (SetSelection): set correct update status if inset_owner
13348 (ToggleFree): ditto
13350 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13352 * tabular.C: remove some commented code.
13354 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13356 * BufferView_pimpl.C: call hideSplash()
13358 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13361 * bibforms.h: remove
13364 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13365 add LFUN_CHILD_CREATE
13367 * counters.h: fix tiny typo
13372 * lyx.C: move splash to frontends/xforms/
13374 * lyx_gui_misc.C: move Include and Bibform to frontends
13376 * lyxvc.h: clarify comment
13378 * vspace.C: tiny housekeeping
13380 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13382 * text.C (PrepareToPrint): RTL Fix.
13384 * paragraph.C (GetUChar): New method.
13385 (String): Use GetUChar.
13387 * buffer.C (asciiParagraph): Use GetUChar.
13389 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13391 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13393 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13396 * buffer.C: rename to getLogName(), handle
13397 build log / latex log nicely
13399 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13402 * MenuBackend.h: remove support for reference menuitem type.
13404 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13406 * BufferView_pimpl.C: housekeeping
13407 * BufferView_pimpl.h:
13412 * minibuffer.h: move Timeout GUI-I
13414 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13416 * lyxrc.C (read): Update converters data-structures.
13418 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13420 * LaTeX.h (operator!=): add operator != for Aux_Info
13422 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13424 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13426 * LaTeXLog.C: deleted, useful code moved to Buffer
13429 * buffer.C: new function getLatexLogName()
13435 * lyxfunc.C: use frontends for LaTeX and VC logs
13437 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13439 * LaTeX.h: yet another std:: that Allan forgot.
13441 * Variables.C (set): renamed from isset(), because this clashes
13442 with some HP-UX macros (grr).
13444 2001-02-06 Allan Rae <rae@lyx.org>
13446 * LaTeX.h: Another bug fix. Missing std:: this time.
13448 2001-02-04 Allan Rae <rae@lyx.org>
13450 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13451 floats problem. I've left it commented out because it's not quite
13452 correct. It should also test that the current object is a table or
13453 figure inset. But I haven't gotten around to figuring out how to do
13454 that. I *think* it'll be something like: "table" == inset.type()
13456 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13459 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13461 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13462 all the citation/databases/styles in the auxilary file.
13463 (run): Rerun latex if there was a babel language error.
13465 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13467 * text.C (Backspace): Preserve the font when changing newline char
13469 (BreakParagraph): If the cursor is before a space, delete the space.
13471 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13473 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13475 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13476 new argument (code).
13477 (ChangeCitationsIfUnique): New method.
13479 * paragraph.C (GetPositionOfInset): Handle bibkey.
13481 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13483 * BufferView_pimpl.h: change type of Position::par_pos to
13484 LyXParagraph::size_type.
13486 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13488 * BufferView_pimpl.C (savePosition, restorePosition): Write
13489 messages to minibuffer.
13491 2001-01-28 José Matos <jamatos@fep.up.pt>
13493 * buffer.C (makeDocBookFile): adds support for document language.
13494 A silly restriction on the name of LatexCommand types where removed.
13495 Added support for CDATA sections, allows to chars unescaped, used
13496 among others in code, to avoid escape < and >.
13498 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13500 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13501 saved positions instrad of a stack. Furthermore, a position is
13502 stored using paragraph id/paragraph position.
13504 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13505 Remove LFUN_REF_BACK.
13507 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13509 * converter.C (dvipdfm_options): New method.
13511 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13513 * vspace.C (isValidLength): Fix for empty input string.
13515 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * LyXAction.C (init): change description of LFUN_FIGURE to
13520 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13522 * LaTeX.C: add using directive
13524 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13526 * MenuBackend.C (expand): Fix the sorting of the formats.
13528 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13530 * lyx_main.C: tiny error message fix
13532 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13534 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13535 calling fl_initialize(). This fixes the problem with ',' as
13536 decimal separator in text files.
13538 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13540 * trans.C (process): Fix the keymap bug.
13542 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13544 * LaTeX.C (scanAuxFiles): New method. Provides support for
13545 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13546 (scanLogFile) Scan for "run BibTeX" messages.
13548 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13549 OT1 font encoding. Also, load the aecompl package if the ae
13552 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13554 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13556 * texrow.C (increasePos): turn two error messages into debug
13559 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13561 * LaTeX.C (scanAux): Handle the \@input macro.
13562 (runBibTeX): Use scanAux().
13564 * language.C (latex_options_): New field.
13566 * LaTeXFeatures.C (getMacros): Add language macros.
13568 * buffer.C (makeLaTeXFile): Small fix.
13570 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13572 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13574 * text2.C: add a using directive.
13576 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13581 * lyxfunc.C: kill LyXBell.
13583 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13585 * text.C (IsBoundary): Remove the error message
13587 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13589 * lyxrc.C (setDefaults): Correct initialization value for
13592 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13594 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13597 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13598 and GotoNextNote().
13600 * src/LyXAction.C: Added reference-next.
13602 * text.C (InsertChar): Use contains instead of strchr.
13604 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13606 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13608 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13609 alignment commands (when needed).
13611 * text.C (InsertChar): Add ':' to number separator chars.